:root{--ink:#25372f;--muted:#727b72;--accent:#18483f;--accent-soft:#e7eee8;--paper:#faf9f5;--card:#fff;--line:#e7e8df;--warm:#ebe2d4;--danger:#963f38;--radius:22px;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.65}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);padding:10px 17px;font-weight:600;line-height:1.4}button:hover:not(:disabled){border-color:#91a59a;background:#f2f5f0}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--accent);color:white;border-color:var(--accent)}button.primary:hover:not(:disabled){background:#235e52}button.danger{color:var(--danger)}button.text-button{border-color:transparent;background:transparent;padding:8px;color:var(--accent)}button.soft{background:var(--accent-soft);border-color:transparent}a{color:var(--accent);text-underline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,4vw,38px);line-height:1.35;letter-spacing:-1px;margin-bottom:12px}h2{font-size:22px;line-height:1.4;margin-bottom:12px}h3{font-size:17px;line-height:1.45;margin-bottom:8px}p{margin-bottom:14px}small,.muted{color:var(--muted)}small{font-size:12px}img{max-width:100%;display:block;object-fit:contain;background:#f5f4ef;border-radius:12px}input,select,textarea{width:100%;min-height:44px;border:1px solid #d9ded5;border-radius:11px;background:#fff;color:var(--ink);padding:11px 13px;max-width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #18483f12}textarea{resize:vertical;min-height:90px}label{display:block;font-size:14px;margin:0 0 16px}label>input,label>select,label>textarea{margin-top:6px}label small{display:block;margin-top:5px}.check{display:flex;gap:10px;align-items:flex-start}.check input{width:20px;min-height:20px;flex:none;margin:3px 0 0}.check label{margin:0}fieldset{border:0;padding:0;margin:0}legend{font-weight:600;margin-bottom:10px}[hidden]{display:none!important}:focus-visible{outline:3px solid #759885;outline-offset:3px}.skip-link{position:absolute;left:8px;top:-80px;background:white;z-index:20;padding:10px}.skip-link:focus{top:8px}
.app-shell{max-width:1240px;margin:auto;padding:0 38px 100px}.app-header{height:106px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:24px;font-weight:700;letter-spacing:2px}.brand-mark{display:grid;place-items:center;width:43px;height:48px;border:1px solid var(--accent);border-radius:16px 4px 16px 4px;font-size:27px;font-family:serif;font-weight:400}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:3px;line-height:1.4;margin-top:2px}.header-right{display:flex;gap:14px;align-items:center}.local-label{font-size:12px;color:var(--muted)}.avatar{border-radius:50%;width:42px;height:42px;min-height:42px;padding:0;background:var(--warm)}.tab-bar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);display:flex;justify-content:center;width:min(100%,620px);padding:7px 16px calc(7px + env(safe-area-inset-bottom));background:#fffefbf5;backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:24px 24px 0 0;z-index:5;box-shadow:0 -10px 35px #22352805}.tab-bar button{border:0;background:transparent;min-width:100px;flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;line-height:1.4;padding:6px;color:var(--muted);font-weight:400}.tab-bar button[aria-current=page]{color:var(--accent);font-weight:700}.nav-symbol{font-size:24px;height:30px;line-height:30px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:20px 0 26px}.page-heading p{color:var(--muted);margin-bottom:0}.eyebrow{font-size:11px;letter-spacing:2px;color:#738075;text-transform:uppercase;margin-bottom:12px}.hero{background:#ebece2;border-radius:var(--radius);padding:40px;display:grid;grid-template-columns:1.15fr 1fr;gap:36px;align-items:center;overflow:hidden}.hero p{max-width:440px;color:#647364}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hero-art{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:12px;transform:rotate(-4deg);max-width:330px;margin:auto}.illustration-piece{display:flex;align-items:center;justify-content:center;min-height:130px;background:#f8f7f2;border-radius:16px;box-shadow:0 12px 18px #3645300b;font-size:60px;color:#6c8677}.illustration-piece:last-child{transform:translateX(30%);min-height:90px;font-size:40px}.illustration-caption{font-size:11px;text-align:center;color:var(--muted);margin:19px 0 0}.content-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.8fr);gap:22px;align-items:start;margin-top:24px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px;margin-bottom:22px}.panel.subtle{background:#f2f3ed;border:0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-title h2,.section-title h3{margin:0}.section-title .text-button{font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.actions.end{justify-content:flex-end}.actions.spread{justify-content:space-between}.actions.sticky{position:sticky;bottom:-20px;background:#fff;padding:14px 0 4px;border-top:1px solid var(--line);margin-top:20px}.full-width{width:100%}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.segmented{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.segmented button{font-size:13px;font-weight:400}.segmented button.active,.choice-button.selected{background:var(--accent-soft);color:var(--accent);border-color:#a6baaa}.helper{font-size:13px;color:var(--muted);line-height:1.7}.notice{padding:14px 17px;background:var(--accent-soft);color:var(--accent);border-radius:13px;font-size:14px;margin-bottom:16px;overflow-wrap:anywhere}.notice.error{background:#f9eae6;color:#8d3830}.notice.warning{background:#f6efda;color:#796127}.badge{display:inline-flex;align-items:center;font-size:11px;line-height:1.5;padding:4px 9px;background:var(--accent-soft);color:var(--accent);border-radius:8px;white-space:nowrap}.badge.pending{background:#f4ecd7;color:#876b2d}.badge.muted{background:#f1f1ed;color:#75786e}.badge.error{background:#f8e8e2;color:#9d4d3e}.small-stats{display:flex;gap:26px;flex-wrap:wrap;margin:18px 0}.small-stats strong{display:block;font-size:24px;line-height:1.4;font-weight:500}.small-stats span{font-size:12px;color:var(--muted)}.empty-state{padding:44px 22px;text-align:center;border:1px dashed #cfd7cd;border-radius:var(--radius);background:#f7f7f1}.empty-state h3{font-size:20px}.empty-state p{max-width:410px;margin:0 auto 20px;color:var(--muted)}.empty-symbol{font-size:40px;color:#9aac9c;margin-bottom:8px}.filters{position:sticky;top:0;z-index:2;display:flex;gap:10px;background:var(--paper);padding:12px 0;margin-bottom:8px}.filters input{max-width:290px}.filters select{width:auto;max-width:180px}.item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.item-card{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden;position:relative;text-align:left;padding:0;display:block;font-weight:400;min-width:0}.item-card img{width:100%;height:220px;border-radius:0;padding:14px;background:#f2f2ed}.item-card .item-info{padding:12px 14px 15px}.item-card .item-info strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:7px}.item-meta{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:12px;color:var(--muted)}.item-card .required{position:absolute;right:10px;top:10px;background:white;border-radius:8px;padding:3px 8px;font-size:11px}.image-row{display:flex;gap:10px;overflow:auto;padding:5px 0 12px}.image-row img{height:130px;width:105px;flex:none}.image-row button{flex:none;padding:0;border:0}.outfit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.outfit-card{border:1px solid var(--line);border-radius:20px;background:white;overflow:hidden;min-width:0;margin-bottom:18px}.outfit-collage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;background:#eeeee6;padding:15px}.outfit-collage button{border:0;background:#faf9f5;padding:0;overflow:hidden;font-weight:400;border-radius:10px;min-width:0}.outfit-collage img{width:100%;height:150px;padding:9px;border-radius:0}.outfit-collage span{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px 7px}.outfit-body{padding:21px}.outfit-body p{font-size:14px}.outfit-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.outfit-head h3{font-size:19px}.outfit-head .badge{background:transparent;color:var(--muted);padding:4px 0}.outfit-body .actions{margin-top:16px}.outfit-body .actions button{font-size:13px}.text-list{padding-left:19px;font-size:13px;color:var(--muted);margin-top:5px}.result-summary{font-size:14px;color:var(--muted)}.mini-outfit{display:flex;gap:14px;align-items:center;margin-bottom:16px}.mini-outfit img{width:75px;height:85px}.mini-outfit>div{flex:1}.mini-outfit p{margin:3px 0;font-size:12px;color:var(--muted)}.mini-outfit h3{font-size:15px;margin:0}.task-card{padding:18px;border:1px solid var(--line);background:#fff;border-radius:16px;margin-bottom:14px}.task-heading{display:flex;gap:12px;align-items:center}.task-heading h3{font-size:15px;margin:0}.task-heading p{margin:3px 0;font-size:13px;color:var(--muted)}.task-card .actions{margin-top:10px}.task-card .actions button{font-size:12px;min-height:38px}.task-meta{font-size:11px;color:var(--muted);margin-top:8px}.task-stage{font-size:13px;margin:12px 0 0;line-height:1.7}.spinner{display:inline-block;width:23px;height:23px;border:2px solid #d6dfd3;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite;flex:none}.initial-loading{text-align:center;padding:80px}.initial-loading p{margin-top:14px;color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}.sheet{width:min(720px,calc(100% - 30px));max-height:calc(100dvh - 44px);padding:26px;border:0;border-radius:24px;color:var(--ink);background:white;box-shadow:0 28px 100px #12261e35}.sheet::backdrop,.photo-dialog::backdrop{background:#172b2366;backdrop-filter:blur(3px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.sheet-head h2{margin:0;font-size:22px}.icon-button{width:44px;padding:0;border:0;background:transparent;font-size:27px;font-weight:400}.photo-dialog{border:0;background:#faf9f5;border-radius:18px;padding:16px;max-width:95vw;max-height:95dvh}.photo-dialog .icon-button{display:block;margin-left:auto}.photo-dialog img{max-height:80dvh;max-width:85vw}.toast{position:fixed;left:50%;bottom:110px;transform:translateX(-50%);z-index:20;max-width:min(90vw,500px);padding:12px 22px;border-radius:13px;background:#243e33;color:white;box-shadow:0 8px 25px #0002;font-size:14px;text-align:center}.upload-zone{border:1px dashed #abb9a7;border-radius:16px;background:#f7f8f1;padding:24px;text-align:center;margin:16px 0}.upload-zone p{font-size:13px;color:var(--muted);margin:9px 0 0}.upload-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.upload-preview{position:relative}.upload-preview img{height:130px;width:100%}.upload-preview button{position:absolute;right:3px;top:3px;min-height:28px;width:28px;border:0;border-radius:50%;padding:0;background:#fff;font-size:18px}.upload-preview small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.details-photo{max-height:350px;width:100%;background:#f2f3ed;padding:10px;margin-bottom:16px}.disclosure{border-top:1px solid var(--line);padding:14px 0;margin-top:12px}.disclosure summary{cursor:pointer;min-height:36px;font-size:14px;line-height:1.7}.tag-group{padding:12px 0;border-bottom:1px solid var(--line)}.tag-group>h3{font-size:14px;margin:0 0 10px}.tag-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.tag-grid label{font-size:12px;color:var(--muted);margin-bottom:12px}.tag-grid input{font-size:13px}.observation{padding:15px 0;border-bottom:1px solid var(--line)}.observation-head{display:flex;gap:10px;align-items:center;justify-content:space-between}.observation h3{font-size:14px;margin:0}.observation p{font-size:12px;color:var(--muted);margin:8px 0}.observation textarea{min-height:70px;font-size:13px}.observation .actions button{font-size:12px;min-height:38px}.question{background:#f3f5ee;border-radius:12px;padding:13px;margin-bottom:13px}.question label{margin-bottom:0}.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.check-tile{position:relative;border:1px solid var(--line);border-radius:13px;overflow:hidden;margin:0;padding:8px;font-size:12px}.check-tile input{position:absolute;top:10px;left:10px;width:19px;min-height:19px;margin:0;z-index:1}.check-tile img{height:100px;width:100%;margin-bottom:6px}.check-tile:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.record-row,.order-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--line);padding:14px 0}.record-row p,.order-row p{margin:2px 0;font-size:12px;color:var(--muted)}.record-row h3,.order-row h3{font-size:14px;margin:0}.record-row button,.order-row button{font-size:12px;flex:none}.record-row img{width:58px;height:66px}.record-row>div{flex:1}.account-card{display:flex;align-items:center;gap:16px}.account-card .avatar{width:54px;height:54px;font-size:20px;display:grid;place-items:center}.account-card h2{margin:0;font-size:20px}.account-card p{margin:3px 0 0;font-size:13px;color:var(--muted)}.menu-list{display:grid;gap:0}.menu-list>button{display:flex;justify-content:space-between;align-items:center;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 0;text-align:left;font-weight:400}.menu-list>button:last-child{border:0}.menu-list small{display:block;margin-top:2px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice-button{text-align:left;font-weight:400}.choice-button small{display:block;margin-top:4px}.crop-wrap{position:relative;touch-action:none;background:#f2f3ed;max-width:500px;margin:10px auto}.crop-wrap canvas{display:block;max-width:100%;width:100%;touch-action:none}.crop-tools{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.crop-tools input{padding:8px;font-size:12px}.trial-mark{background:#f5ebd9;color:#8b6b29;font-size:12px;padding:9px 12px;border-radius:10px;margin-bottom:15px}.inline-link{border:0;background:none;font-weight:400;padding:0;min-height:30px;text-decoration:underline}.profile-summary{display:flex;flex-wrap:wrap;gap:8px}.timeline-empty{color:var(--muted);font-size:13px;margin:12px 0}
@media(min-width:1000px){.app-shell{padding-bottom:45px}.app-header{height:120px}.tab-bar{position:absolute;top:38px;bottom:auto;border:0;box-shadow:none;background:transparent;width:510px;padding:0;border-radius:0}.tab-bar button{flex-direction:row;justify-content:center;gap:7px;font-size:14px;padding:10px;min-width:100px}.tab-bar button[aria-current=page]{background:var(--accent-soft);border-radius:12px}.nav-symbol{font-size:20px}.hero{min-height:310px}}
@media(max-width:760px){.app-shell{padding:0 19px 110px}.app-header{height:86px}.brand{font-size:22px}.brand-mark{height:42px;width:37px;font-size:23px}.hero{padding:27px;grid-template-columns:1fr;gap:20px}.hero-art{grid-template-columns:1fr 1fr 1fr;gap:8px;transform:none;max-width:none}.illustration-piece{min-height:105px;font-size:42px}.illustration-piece:last-child{transform:none;min-height:105px;font-size:38px}.hero-art-container{margin-top:6px}.illustration-caption{margin-top:8px}.hero h1{font-size:29px}.hero p{font-size:14px}.hero-actions{margin-top:19px}.content-grid{grid-template-columns:1fr;gap:0}.panel{padding:21px}.page-heading{margin:14px 0 18px;gap:12px}.page-heading h1{font-size:27px}.page-heading p{font-size:13px}.page-heading>.primary{font-size:13px;padding:10px 13px;flex:none}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.item-card img{height:190px;padding:10px}.item-card .item-info{padding:10px 11px 12px}.item-meta{font-size:11px}.filters{flex-wrap:wrap;gap:7px}.filters input{max-width:none;flex:1;min-width:130px}.filters select{max-width:45%;font-size:13px;padding:10px}.filters select:last-child{flex:1}.outfit-list{grid-template-columns:1fr;gap:4px}.outfit-collage img{height:140px}.outfit-body{padding:18px}.outfit-head h3{font-size:18px}.sheet{padding:22px 20px;width:100%;max-width:100%;margin:auto 0 0;max-height:92dvh;border-radius:24px 24px 0 0;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.sheet-head h2{font-size:21px}.upload-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.upload-preview img{height:120px}.tab-bar button{min-width:0}.small-stats{gap:20px}.local-label{font-size:10px}.header-right{gap:10px}.tag-grid{grid-template-columns:1fr}.photo-dialog{max-width:100%;width:100%;padding:8px}.photo-dialog img{max-width:100%;width:100%}.actions.sticky{bottom:-24px}.page-heading .actions{justify-content:flex-end}.check-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.check-tile img{height:85px}}
@media(max-width:760px){.section-title>button{flex-shrink:0;white-space:nowrap}.section-title>div{min-width:0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.spinner{animation-duration:2s}}
.mt-12{margin-top:12px}.mt-18{margin-top:18px}.mt-20{margin-top:20px}.mt-22{margin-top:22px}.mt-24{margin-top:24px}.mt-26{margin-top:26px}
#itemGrid{max-height:620px;overflow-y:auto;overscroll-behavior-y:contain;padding:3px 7px 7px 3px;scrollbar-width:thin;scrollbar-color:#a5b7a9 #edf0e9;align-content:start}
@media(max-width:760px){#itemGrid{max-height:60dvh}}
.scope-section{border:1px solid var(--line);background:var(--paper);border-radius:16px;padding:18px;margin-bottom:22px}
.scope-options{display:flex;flex-wrap:wrap;gap:8px 20px}.scope-options legend{font-size:14px}.scope-options .check{align-items:center;margin-bottom:8px}.scope-options input{accent-color:var(--accent)}
.scope-filters{position:static;background:transparent;margin:0;padding:8px 0}.scope-filters input{min-width:0;flex:1}
.scope-grid{max-height:340px;overflow-y:auto;overscroll-behavior-y:contain;padding:3px 5px 5px 3px;scrollbar-width:thin;align-content:start}
.scope-grid .check-tile{min-width:0;overflow-wrap:anywhere;cursor:pointer}.scope-grid .check-tile span{display:block}.scope-grid .check-tile:has(input:disabled){opacity:.55}
.scope-section .helper:last-child,.commute-entry .helper:last-child{margin-bottom:0}
.clamp-two,.recent-panel:not(.is-expanded) .recent-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.recent-panel{scroll-margin-top:20px}.recent-panel .section-title>button{flex-shrink:0}.recent-panel .section-title>div{min-width:0}
.outfit-head h3,.commute-entry .helper{overflow-wrap:anywhere;min-width:0}.outfit-head .badge{flex-shrink:0}.outfit-search{max-width:480px}
@media(max-width:760px){.content-grid>aside{grid-row:1}.scope-section{padding:14px}.scope-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:38dvh}.scope-grid .check-tile img{height:105px}.recent-panel .section-title{align-items:flex-start}.recent-panel .section-title>button{font-size:13px;padding:9px 12px}.recent-panel .section-title .helper{font-size:11px}}
