:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,sans-serif;color:#244b70;background:#e6f1f8;font-synthesis:none}*{box-sizing:border-box}html{background:#e6f1f8}body{margin:0;min-width:320px;background:#e6f1f8}button,input,select{font:inherit}button{cursor:pointer}.app-frame,.subpage,.entry-page{position:relative;width:min(100%,480px);min-height:100vh;margin:0 auto;background:#f6fbff;box-shadow:0 0 52px #244b701f}.page{min-height:100vh;padding:22px 18px 108px}.visual-hero{position:relative;height:210px;overflow:hidden;border-radius:24px;background-color:#eaf4fe;background-position:center;background-size:cover;box-shadow:0 10px 26px #2e6ea71a}.hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;padding:24px 22px}.hero-copy>span,.sub-intro>span,.entry-intro>span,.sheet-head span{color:#527b89;font-size:11px;font-weight:650;letter-spacing:.24em}.hero-copy h1{margin:10px 0 4px;color:#315f73;font-size:31px;line-height:1.1}.hero-copy b{max-width:265px;border-radius:10px;background:#eaf4fee0;padding:3px 9px;color:#2e6ea7;font-size:14px}.hero-copy p{margin:11px 0 0;border-radius:8px;background:#ffffff9e;padding:3px 8px;color:#315f73;font-size:13px;font-weight:600}.visual-hero>.avatar-large{position:absolute;z-index:4;top:18px;right:18px}.avatar{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;overflow:hidden;border:2px solid rgba(255,255,255,.92);border-radius:50%;background:#eaf4fe;padding:0;color:#627d91;box-shadow:0 3px 8px #2e6ea724}.avatar img{width:100%;height:100%;object-fit:cover}.avatar-large{width:54px;height:54px;border-width:3px;font-size:18px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:24px 4px 12px}.section-title>div{display:flex;align-items:baseline;gap:8px;min-width:0}.section-title h2{margin:0;color:#315f73;font-size:20px;font-weight:700}.section-title div>span{color:#6d9eae;font-size:15px}.section-title div>span.gold{color:#e8b84f}.section-title small{color:#8a9bb3;font-size:13px}.section-title>button{border:0;background:transparent;padding:4px 0;color:#789bb7;font-size:14px}.home-grid,.store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-product,.store-product,.module-card,.settings-card,.detail-card,.editor-card,.entry-card{border:1px solid rgba(87,139,153,.08);border-radius:22px;background:#fff;box-shadow:0 8px 24px #4d7e8f13}.home-product{display:flex;min-width:0;min-height:188px;flex-direction:column;padding:14px 12px 12px}.home-product-top{display:flex;align-items:center;gap:9px;min-width:0}.home-product h3,.store-product h3{overflow:hidden;margin:0;color:#244b70;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.product-visual{position:relative;display:grid;height:142px;place-items:center;overflow:hidden;border-radius:18px;background:#eaf4fe;color:#789bb7}.product-visual.compact{width:58px;height:58px;flex:0 0 auto;border-radius:14px}.product-visual img{width:100%;height:100%;object-fit:cover}.product-visual i{position:absolute;width:55%;height:36%;bottom:23%;border-radius:5px;background:#9fc7df}.product-visual em{position:absolute;top:18%;right:22%;color:#4fa3e0;font-style:normal}.product-visual span{position:absolute;right:10%;bottom:7%;color:#fff;font-size:13px;font-weight:700}.home-product-meta{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:5px;margin-top:14px;white-space:nowrap}.home-product-meta>span{color:#8a9bb3;font-size:11px}.home-product-meta b{color:#514b45;font-size:13px}mark{justify-self:end;border-radius:999px;padding:5px 7px;background:#f2eadb;color:#93703f;font-size:11px;white-space:nowrap}mark.urgent{background:#fde2e2;color:#c96f67}mark.restock{background:#f2eadb;color:#93703f}mark.enough{background:#eaf4fe;color:#477b9a}.action,.primary-wide,.secondary-wide{width:100%;min-height:42px;border:0;border-radius:999px;background:#dceff5;color:#315f73;font-weight:600}.home-product .action{margin-top:auto}.action.dark,.primary-wide{background:#2e6ea7;color:#fff}.module-card{overflow:hidden}.contribution-row{display:flex;min-height:78px;align-items:center;gap:11px;margin:0 18px;border-bottom:1px solid #edf3f7}.contribution-row:last-child{border-bottom:0}.contribution-row .rank{width:18px;color:#78939c;text-align:center}.contribution-row .rank.first{color:#c5a45b}.contribution-row>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.contribution-row strong,.activity-row strong{overflow:hidden;color:#403b36;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.contribution-row small,.activity-row small{color:#9d958c;font-size:12px}.contribution-row>b{color:#504942;font-size:20px}.activity-list{padding:3px 18px}.activity-row{position:relative;display:flex;min-height:70px;align-items:center;gap:12px}.activity-row:not(:last-child):before{position:absolute;top:54px;bottom:-16px;left:18px;width:1px;background:#d8edf2;content:""}.activity-row>div{display:flex;min-width:0;flex-direction:column;gap:4px}.empty{display:flex;min-height:160px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:24px;color:#315f73;text-align:center}.empty span,.empty-line{color:#8a9bb3;font-size:14px}.empty-line{display:grid;min-height:84px;place-items:center}.store-page .visual-hero{height:172px;background-position:center}.add-fab{position:absolute;right:16px;top:16px;width:48px;height:48px;border:3px solid rgba(255,255,255,.8);border-radius:50%;background:#2e6ea7;color:#fff;font-size:28px;line-height:1}.category-list{display:flex;gap:9px;overflow-x:auto;padding:16px 2px;scrollbar-width:none}.category-list::-webkit-scrollbar{display:none}.category-list button{flex:0 0 auto;min-width:76px;height:40px;border:0;border-radius:999px;background:#fff;padding:0 16px;color:#5e819a}.category-list button.active{background:#2e6ea7;color:#fff}.store-product{position:relative;display:flex;min-width:0;min-height:302px;flex-direction:column;padding:11px}.store-product .more{position:absolute;z-index:3;right:18px;top:16px;border:0;background:transparent;color:#2e6ea7;letter-spacing:1px}.store-product h3{margin:12px 0 8px;color:#191919}.store-product mark{align-self:flex-start;justify-self:auto}.store-product p{margin:9px 0;color:#8a9bb3;font-size:13px}.store-product .action{margin-top:auto}.tabbar{position:fixed;z-index:10;right:50%;bottom:0;display:flex;width:min(100%,480px);height:78px;transform:translate(50%);border-top:1px solid rgba(159,199,223,.28);background:#f7fbfff0;box-shadow:0 -8px 24px #2e6ea70f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding-bottom:env(safe-area-inset-bottom)}.tabbar button{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:0;background:transparent;color:#8a9bb3;font-size:12px}.tabbar button span{font-size:25px;line-height:1}.tabbar button.active{color:#2e6ea7;font-weight:700}.toast{position:fixed;z-index:30;left:50%;bottom:92px;max-width:360px;transform:translate(-50%);border-radius:14px;background:#2d363de6;padding:11px 18px;color:#fff;font-size:14px;box-shadow:0 8px 20px #0000002e}.overlay{position:fixed;z-index:20;inset:0;display:flex;align-items:flex-end;justify-content:center;background:#244b704d}.sheet{width:min(100%,480px);border-radius:28px 28px 0 0;background:#f6fbff;padding:12px 22px calc(26px + env(safe-area-inset-bottom))}.handle{display:block;width:42px;height:5px;margin:0 auto 18px;border-radius:99px;background:#cfe2ef}.sheet-head{display:flex;align-items:center;justify-content:space-between}.sheet-head h2{margin:5px 0 0;font-size:25px}.sheet-head>button{width:38px;height:38px;border:0;border-radius:50%;background:#eaf4fe;color:#527b89;font-size:25px}.sheet-product{display:flex;flex-direction:column;gap:6px;margin:20px 0;border-radius:17px;background:#fff;padding:17px}.sheet-product strong{font-size:19px}.sheet-product small{color:#8a9bb3}.quantity{display:flex;align-items:center;justify-content:space-between;margin:24px 0}.quantity>div{display:flex;align-items:center;gap:14px}.quantity button{width:38px;height:38px;border:0;border-radius:50%;background:#eaf4fe;color:#2e6ea7;font-size:22px}.text-button,.danger-text{width:100%;border:0;background:transparent;padding:15px;color:#6f8eaa}.danger-text{color:#c96f67}.topbar{position:sticky;z-index:9;top:0;display:grid;height:58px;grid-template-columns:48px 1fr 48px;align-items:center;background:#f6fbfff0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.topbar button{border:0;background:transparent;color:#244b70;font-size:38px;line-height:1}.topbar strong{text-align:center}.subpage main{padding:18px 18px 60px}.sub-intro{padding:25px 4px 28px}.sub-intro h1{margin:10px 0 5px;color:#2e6ea7;font-size:34px}.sub-intro p{margin:0;color:#8a9bb3}.detail-card,.settings-card,.editor-card{margin-bottom:18px;padding:20px}.detail-product{display:flex;align-items:center;gap:15px}.detail-product h2{margin:5px 0 0}.detail-product small,.detail-card>small,.task-state>span,.channel{color:#8a9bb3}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0 14px;border-top:1px solid #eaf2f8;padding-top:18px}.facts div{display:flex;flex-direction:column;gap:6px}.facts span{color:#8a9bb3;font-size:12px}.facts b{font-size:14px}.task-state{text-align:center}.task-state h2{margin:10px 0 22px}.channel{display:flex;align-items:flex-start;flex-direction:column;gap:4px;margin:8px 0 20px;border-top:1px solid #eaf2f8;padding-top:18px;text-align:left}.settings-card{display:flex;flex-direction:column;gap:16px}.settings-card h2{margin:0;font-size:21px}.family-name-edit{display:flex;gap:9px}.family-name-edit input{min-width:0;flex:1}.family-name-edit button{border:0;border-radius:999px;background:#eaf4fe;padding:0 18px;color:#2e6ea7}.member-row{display:flex;min-height:46px;align-items:center;gap:12px}.member-row span{margin-left:auto;color:#8a9bb3;font-size:13px}.invite{margin:0 0 18px}.profile>input,.editor-card input,.editor-card select,.entry-card input,.family-name-edit input{width:100%;min-height:46px;border:1px solid #dceaf5;border-radius:12px;background:#fff;padding:0 13px;color:#244b70}.avatar-upload{align-self:flex-start;cursor:pointer}.avatar-upload>input{display:none}.role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.role-grid button{min-width:0;height:39px;border:1px solid #d8eaf7;border-radius:999px;background:#f3f8fc;padding:0 4px;color:#6f8eaa}.role-grid button.selected{border-color:#2e6ea7;background:#2e6ea7;color:#fff}.secondary-wide{border:1px solid #dceaf5;background:#eaf4fe}.editor-card{display:flex;flex-direction:column;gap:19px}.field{display:flex;min-width:0;flex:1;flex-direction:column;gap:8px;color:#6f7880;font-size:13px}.field-row{display:flex;gap:14px}.radio-row{display:flex;gap:24px}.radio-row label{display:flex;align-items:center;gap:6px;color:#244b70}.inline-message{margin:4px 0;border-radius:12px;background:#eaf4fe;padding:10px 12px;color:#2e6ea7;font-size:13px}.entry-page{display:flex;justify-content:center;flex-direction:column;gap:34px;padding:48px 22px}.entry-intro{display:flex;flex-direction:column;gap:8px;padding:0 4px}.entry-intro h1{margin:3px 0;color:#2e6ea7;font-size:34px}.entry-intro p,.entry-card p{margin:0;color:#8a9bb3}.entry-card{display:flex;flex-direction:column;gap:17px;padding:23px}.entry-card h2{margin:0}.entry-card>button{border:0}.loading{display:grid;min-height:100vh;place-items:center;color:#8a9bb3}@media(min-width:720px){.app-frame,.subpage,.entry-page{margin-top:24px;margin-bottom:24px;min-height:calc(100vh - 48px);border-radius:34px;overflow:hidden}.tabbar{bottom:24px;border-radius:0 0 34px 34px}}@media(max-width:390px){.page{padding-right:13px;padding-left:13px}.visual-hero{height:194px}.hero-copy h1{font-size:28px}.home-grid,.store-grid{gap:9px}.home-product{padding:11px 9px 10px}.home-product-meta{gap:3px}.home-product-meta>span{font-size:10px}mark{padding:5px;font-size:10px}}
