:root{color-scheme:light;--paper:#f6f3ee;--surface:#fffcf8;--white:#fff;--ink:#252721;--muted:#625c52;--subtle:#ede6dc;--line:#e3dbd0;--accent:#405d49;--accent-dark:#2b4835;--pale:#e9efe8;--warn:#824c21;--r:16px;--serif:"Songti SC","Noto Serif CJK SC",serif;font:16px/1.55 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.52}a{color:var(--accent-dark)}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #456f4e;outline-offset:3px}img{display:block;max-width:100%}h1,h2,h3,p,figure{margin:0}svg{width:20px;height:20px;vertical-align:middle}button{touch-action:manipulation}
.shell{width:min(1040px,calc(100% - 56px));margin-inline:auto}.mast{height:83px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark,.app-name{display:flex;gap:10px;align-items:center;font-weight:750;letter-spacing:.02em}.wordmark small{display:block;font-size:9px;letter-spacing:.18em;color:var(--muted)}.brand-icon{background:var(--accent);color:white;width:38px;height:38px;display:grid;place-items:center;flex:none;border-radius:12px;font:700 20px var(--serif)}.prototype-tag,.app-badge{display:inline-flex;align-items:center;gap:7px;border-radius:99px;background:var(--pale);color:var(--accent-dark);padding:6px 12px;font-size:12px;font-weight:700}.prototype-tag i,.preview-label i,.eyebrow span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#58785c}.layout{display:grid;grid-template-columns:minmax(290px,1fr) minmax(360px,440px);gap:clamp(42px,8vw,108px);align-items:start;padding:40px 0 64px}
.guide{padding-top:30px}.eyebrow{font-size:12px;letter-spacing:.12em;color:var(--accent-dark);font-weight:760;display:flex;align-items:center;gap:8px;margin-bottom:15px}.guide h1{font:700 clamp(39px,5vw,68px)/1.15 var(--serif);letter-spacing:-.07em}.guide h1 span{color:var(--accent)}.guide-intro{max-width:32ch;margin:19px 0 30px;color:var(--muted);font-size:16px;line-height:1.8}.steps-label{display:flex;align-items:center;gap:5px;margin-bottom:8px;font-size:14px}.steps-label span{margin-left:auto;color:var(--muted);font-size:12px}.guide-steps{display:grid;gap:7px}.guide-step{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;padding:11px 12px;border:1px solid var(--line);background:var(--surface);border-radius:13px;width:100%;min-height:66px}.guide-step:hover,.guide-step[aria-current="page"]{background:var(--pale);border-color:#b5c6b7}.guide-step strong,.guide-step small{display:block}.guide-step small{color:var(--muted);font-size:12px;margin-top:1px}.step-number{font-size:11px;letter-spacing:.07em;color:var(--accent-dark);background:var(--pale);border-radius:9px;padding:8px}.guide-step[aria-current="page"] .step-number{background:var(--accent);color:white}.step-arrow{color:var(--accent-dark);font-size:18px}.guide-note{font-size:13px;line-height:1.75;color:var(--muted);margin:16px 0}.guide-note b{color:var(--ink)}.review-guide{font-size:13px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px}.review-guide summary{cursor:pointer;font-weight:700;color:var(--accent-dark)}.review-guide ol{padding-inline-start:22px;margin:8px 0;line-height:1.8}
.preview-label{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin:0 3px 8px}.preview-label span:first-child{font-weight:760;color:var(--accent-dark)}.preview-label i{margin-right:5px}.device{background:var(--surface);border:1px solid #d7cfc3;border-radius:26px;box-shadow:0 16px 42px #52392817;overflow:hidden;display:flex;flex-direction:column;height:min(790px,calc(100dvh - 140px));min-height:540px}.app-head{background:var(--surface);display:flex;justify-content:space-between;align-items:center;padding:11px 17px;border-bottom:1px solid var(--line);flex:none}.app-head .brand-icon{width:29px;height:29px;border-radius:8px;font-size:17px}.app-badge{font-size:11px;padding:4px 9px}.tabs{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding:5px 7px max(5px,env(safe-area-inset-bottom));background:var(--surface);flex:none;z-index:2}.tabs button{display:grid;justify-items:center;gap:1px;padding:5px 3px;border:0;border-radius:10px;font-size:12px;font-weight:680;background:none;min-height:49px;color:var(--muted)}.tabs button[aria-current="page"]{background:var(--pale);color:var(--accent-dark)}.tab-icon svg{width:20px;height:20px}#screen{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:17px;scrollbar-width:thin;outline:none}
.page-heading{margin-bottom:12px}.page-heading h2{font:700 28px/1.23 var(--serif);letter-spacing:-.025em}.page-heading p{font-size:13px;color:var(--muted);margin-top:4px}.between,.actions,.condition-summary{display:flex;align-items:center;justify-content:space-between;gap:8px}.actions{flex-wrap:wrap;justify-content:flex-start}.between>*{min-width:0}
.btn{border:1px solid var(--line);border-radius:10px;background:var(--surface);min-height:42px;padding:8px 12px;font-size:13px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:5px;text-decoration:none}.btn:hover{border-color:var(--accent)}.btn.primary{background:var(--accent);color:white;border-color:var(--accent)}.btn.primary:hover{background:var(--accent-dark)}.btn.quiet{background:var(--pale);border-color:transparent;color:var(--accent-dark)}.btn.grow{flex:1}.btn.compact{min-height:36px;padding:5px 9px;font-size:12px}.link-btn{background:none;border:0;padding:5px 0;color:var(--accent-dark);font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:3px}.condition-summary{font-size:12px;margin-bottom:10px;flex-wrap:wrap}.condition-summary span{color:var(--accent-dark);background:var(--pale);padding:4px 9px;border-radius:7px;font-weight:700}
.look{border:1px solid var(--line);background:var(--white);border-radius:var(--r);overflow:hidden;margin-bottom:14px}.look-image{display:block;border:0;padding:0;position:relative;width:100%;text-align:left;background:#ebdfce}.look-image img{width:100%;aspect-ratio:4/4.35;object-fit:contain}.image-label{position:absolute;top:10px;left:10px;background:#fffdf5eb;color:var(--ink);padding:4px 8px;border-radius:7px;font-size:11px;font-weight:700}.zoom{position:absolute;bottom:10px;right:10px;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fffdf4ed;color:var(--ink)}.look-body{padding:12px}.look-body h3{font-size:18px;line-height:1.3}.look-body p{font-size:13px;margin:5px 0 10px;color:var(--muted)}.look-body .actions{display:grid;grid-template-columns:auto 1fr}.subhead{font-size:15px;margin:12px 0 7px}.hint,.storage-note,.warning{padding:9px 10px;border-radius:9px;background:var(--pale);color:var(--accent-dark);font-size:12px;margin:8px 0}.warning{background:#fbefe0;color:var(--warn)}.storage-note{position:relative;padding:9px 15px;margin:0;border-radius:0;background:#fbefe0;color:var(--warn)}
.filters{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0 12px}.filters button{border:1px solid var(--line);border-radius:99px;background:var(--surface);padding:5px 10px;min-height:35px;font-size:12px}.filters button[aria-pressed="true"]{background:var(--pale);color:var(--accent-dark);border-color:#aabdac;font-weight:750}.closet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.garment{width:100%;background:var(--white);border:1px solid var(--line);border-radius:13px;overflow:hidden;padding:0;text-align:left}.garment:hover{border-color:var(--accent)}.garment img{width:100%;aspect-ratio:1/.9;object-fit:cover;object-position:center 42%;background:var(--subtle)}.garment-meta{padding:8px}.garment-meta strong{font-size:13px;display:block;line-height:1.35;margin-top:4px}.garment-meta .muted{font-size:11px}.status{border-radius:6px;background:var(--pale);color:var(--accent-dark);padding:2px 6px;font-size:11px;white-space:nowrap}.status.wash{background:#f9ecdf;color:var(--warn)}.item-row{display:grid;grid-template-columns:44px 1fr auto;gap:9px;align-items:center;text-align:left;padding:6px;width:100%;background:var(--white);border:1px solid var(--line);border-radius:9px;margin-bottom:5px}.item-row:hover{border-color:var(--accent)}.item-row img{width:44px;height:48px;object-fit:cover;border-radius:5px}.item-row strong,.item-row small{display:block}.item-row strong{font-size:13px}.item-row small,.muted{color:var(--muted);font-size:12px}.item-row b{color:var(--accent-dark)}
.week-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--subtle);padding:3px;border-radius:10px;margin:9px 0}.week-switch button{background:none;border:0;border-radius:8px;min-height:35px;font-size:13px}.week-switch button[aria-pressed="true"]{background:var(--white);font-weight:750;color:var(--accent-dark)}.daystrip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:10px}.daystrip button{min-width:0;padding:4px 0;min-height:58px;border:1px solid var(--line);background:var(--surface);border-radius:9px;display:grid;justify-items:center;align-content:center}.daystrip button[aria-pressed="true"]{border-color:var(--accent);color:var(--accent-dark);background:var(--pale)}.daystrip span{font-size:10px;color:var(--muted)}.daystrip strong{font-size:14px}.daystrip i{width:4px;height:4px;border-radius:50%;background:var(--accent);visibility:hidden}.daystrip i.on{visibility:visible}.plan-card{border:1px solid var(--line);border-radius:var(--r);background:var(--white);overflow:hidden}.plan-body{padding:11px}.plan-body h3{font-size:17px}.plan-body .actions{margin-top:9px}.plan-body .muted{margin-top:3px}.empty{padding:23px 13px;background:var(--white);border:1px dashed #cfc4b6;border-radius:13px;text-align:center}.empty p{color:var(--muted);font-size:13px;margin:6px 0 11px}
dialog{width:min(490px,calc(100% - 24px));max-height:88dvh;overflow:auto;border:1px solid var(--line);padding:0;border-radius:20px;background:var(--surface);color:var(--ink);box-shadow:0 20px 70px #1c1a1866}dialog::backdrop{background:#21251f81}.sheet-head{position:sticky;z-index:1;top:0;background:var(--surface);padding:11px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.sheet-head h2{font-size:18px}.close-btn{width:38px;height:38px;flex:none;border:1px solid var(--line);border-radius:10px;background:var(--white);font-size:21px}.sheet-body{padding:13px 14px 17px}.sheet-art{width:100%;max-height:63dvh;object-fit:contain;background:#ebdfce;border-radius:11px}.photo{width:100%;max-height:46dvh;object-fit:contain;background:var(--subtle);border-radius:11px;margin-bottom:8px}.fields{display:grid;gap:10px;margin-top:8px}.fields label{display:grid;gap:3px;font-size:13px;font-weight:700}.fields input,.fields select{width:100%;background:var(--white);border:1px solid #cfc4b6;border-radius:8px;min-height:42px;padding:6px 8px;color:var(--ink);font-size:16px}.fields input[type=file]{font-size:13px}.fields .actions{margin-top:2px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fields .muted{font-weight:400}.toast{z-index:5;position:fixed;inset:auto auto 20px 50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);padding:9px 13px;border-radius:9px;background:#263d2d;color:white;box-shadow:0 8px 26px #2225;font-size:13px;pointer-events:none}.toast:empty{display:none}.error{font-size:13px;color:#892c2c}
@media(max-width:800px){.layout{gap:25px;grid-template-columns:minmax(225px,1fr) minmax(325px,385px)}.shell{width:calc(100% - 32px)}.guide{padding-top:20px}.guide h1{font-size:clamp(35px,5.6vw,48px)}.steps-label span{display:none}}
@media(max-width:620px){.mast{height:58px}.wordmark .brand-icon{width:33px;height:33px}.layout{display:block;padding:16px 0 26px}.guide{padding:0 0 14px}.eyebrow{display:none}.guide h1{font-size:34px;letter-spacing:-.06em}.guide h1 br{display:none}.guide-intro{margin:7px 0 12px;max-width:none;font-size:13px;line-height:1.65}.steps-label{font-size:12px;margin-bottom:5px}.guide-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.guide-step{display:flex;justify-content:center;padding:4px 2px;min-height:40px;font-size:12px}.step-number,.guide-step small,.step-arrow{display:none}.guide-note{font-size:11px;margin:8px 0;line-height:1.5}.review-guide{display:none}.preview-label{font-size:11px}.device{height:calc(100dvh - 25px);min-height:460px;border-radius:17px}.app-head{padding:8px 12px}#screen{padding:12px}.look-image img{aspect-ratio:4/4.6}.page-heading h2{font-size:25px}}
@media(max-width:350px){.shell{width:calc(100% - 20px)}#screen{padding:9px}.guide h1{font-size:30px}.condition-summary{gap:2px}}
[hidden]{display:none!important}
@media(min-width:621px){
  .device{height:min(790px,calc(100dvh - 166px))}
  .look-image img{aspect-ratio:auto;height:clamp(235px,calc(100dvh - 555px),385px)}
}
.style-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.style-options button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:10px;font-size:13px;font-weight:710;padding:5px 3px}
.style-options i{width:8px;height:8px;border-radius:50%}
.style-options button[aria-pressed="true"]{background:var(--pale);border-color:var(--accent);color:var(--accent-dark)}
.style-detail{margin:6px 0 8px;color:var(--muted);font-size:12px;min-height:1.6em}
.choice-head{margin:7px 0}.choice-head h3{font-size:15px}.choice-head .link-btn{padding:4px 0}
.look-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px}
.look-grid button{position:relative;display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--white);padding:0;min-width:0}
.look-grid button[aria-pressed="true"]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--pale)}
.look-grid button img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--subtle)}
.look-grid button strong{display:block;font-size:11px;padding:5px;line-height:1.35;min-height:39px;overflow-wrap:anywhere}
.tile-number,.tile-heart{position:absolute;top:4px;padding:2px 5px;background:var(--surface);font-size:10px;font-weight:750;border-radius:5px}
.tile-number{left:4px}.tile-heart{right:4px;color:var(--accent-dark)}
.focus-look{margin:9px 0}.focus-look .look-body h3{font-size:16px}.focus-look .look-body .actions{grid-template-columns:1fr 1fr}
.item-details{font-size:13px;padding:8px 0}.item-details summary{cursor:pointer;color:var(--accent-dark);font-weight:700}.item-details[open] summary{margin-bottom:7px}
.week-list,.favorite-list{display:grid;gap:6px;margin:9px 0}.favorite-list{border:0;padding:0;min-width:0}
.week-row,.favorite-row{width:100%;display:grid;gap:8px;align-items:center;min-width:0;text-align:left;border:1px solid var(--line);background:var(--white);border-radius:11px;padding:6px 8px;min-height:56px;font-size:13px}
.week-row{grid-template-columns:63px 34px minmax(0,1fr) auto}.favorite-row{grid-template-columns:39px minmax(0,1fr) auto;cursor:pointer}
.week-row img,.favorite-row img{width:100%;height:43px;object-fit:cover;border-radius:6px;background:var(--subtle)}.favorite-row img{height:49px}
.week-row:hover,.favorite-row:hover{border-color:var(--accent)}.row-date{font-size:11px;font-weight:750}
.row-date small{display:block;color:var(--muted);font-size:10px;white-space:nowrap}
.row-look strong,.row-look small,.favorite-row strong,.favorite-row small{display:block;line-height:1.4}
.row-look small,.favorite-row small{font-size:11px;color:var(--muted)}.week-placeholder{display:grid;place-items:center;background:var(--pale);border-radius:6px;height:35px;color:var(--accent-dark)}
.favorite-row:has(input:checked){border-color:var(--accent);background:var(--pale)}.favorite-row input{width:19px;height:19px;accent-color:var(--accent)}.favorite-row.unavailable{opacity:.6;cursor:default}
.sheet-actions{margin-top:10px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.forecast-card{border:1px solid var(--line);background:var(--white);border-radius:12px;margin-bottom:10px;padding:9px}
.forecast-card .between strong{font-size:14px}.forecast-card .between p{margin:1px 0}
.forecast-card .btn{flex:none}
.forecast-dates,.forecast-fields{display:grid;gap:5px;margin-top:7px}
.forecast-dates{grid-template-columns:repeat(4,minmax(0,1fr))}
.forecast-dates button{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:4px 1px;min-height:42px}
.forecast-dates button[aria-pressed="true"]{border-color:var(--accent);background:var(--pale);color:var(--accent-dark)}
.forecast-dates strong,.forecast-dates small{display:block;font-size:10px;line-height:1.5}
.forecast-dates small{color:var(--muted)}
.forecast-fields{grid-template-columns:1fr 1fr}
.forecast-fields label{display:grid;gap:2px;min-width:0;color:var(--muted);font-size:11px;font-weight:690}
.forecast-fields select{font:inherit;font-size:14px;min-width:0;min-height:40px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:5px}
.forecast-context{font-size:11px;color:var(--accent-dark);margin-top:5px}
.city-results{display:grid;gap:5px;margin-top:10px}.city-results button{justify-content:flex-start}
.look-grid button img,.week-row img,.favorite-row img,.sheet-art{object-fit:contain}
.sheet-art[data-art]{aspect-ratio:4/5}
.look-grid img[data-art]:not([src]){background:var(--subtle)}

.daily-app{max-width:480px;margin:0 auto}
.product .device{height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none}
.product .app-head{padding-top:max(11px,env(safe-area-inset-top))}
.product .app-head a{font-size:13px}
.product .tabs{padding-bottom:max(5px,env(safe-area-inset-bottom))}
.product .toast{bottom:calc(67px + env(safe-area-inset-bottom))}
.setup{max-width:440px;margin:10vh auto 0;padding:24px 20px}
.setup h1{font:700 34px/1.2 var(--serif);margin:13px 0}
.setup p{margin:10px 0;color:var(--muted)}
.setup .review-guide{display:block;margin-top:16px}
.setup #pair-code{color:var(--accent-dark);font-weight:750}
.setup .phone-url{background:var(--pale);padding:10px;border-radius:10px;overflow-wrap:anywhere;user-select:all}
.setup .phone-qr{width:216px;height:216px;object-fit:contain;background:white;padding:16px;border-radius:12px}
@media(min-width:621px){
  .product .daily-app{padding:20px 0}
  .product .device{height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:24px}
}
