:root{color-scheme:light;font:17px/1.5 var(--font-body)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--green);outline-offset:3px}svg{width:20px;height:20px;vertical-align:middle;flex:none}small{display:block;color:var(--muted)}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;display:flex;flex-direction:column;background:var(--navigation);border-right:1px solid var(--line);padding:37px 20px 24px}.brand{display:flex;align-items:center;gap:11px;font:29px/1 var(--font-wordmark);margin:0 6px 53px}.brand small{font:11px/1.4 var(--font-slogan);letter-spacing:.035em;margin-top:8px;font-weight:650}.brand-mark{background:var(--green);color:white;display:grid;place-items:center;width:39px;height:39px;border-radius:12px}.brand-mark svg{width:23px;height:23px}.sidebar nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:13px;border-radius:9px;padding:12px;color:var(--nav-text);font-weight:520}.nav-link[aria-current=page]{background:var(--soft);color:var(--green-dark);font-weight:650}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 5px 0;display:flex;gap:11px;align-items:center;font-size:13px;font-weight:650}.sidebar-bottom small{font-weight:400}.profile-icon{background:var(--accent-surface);color:var(--green);display:grid;place-items:center;border-radius:50%;width:35px;height:35px}main{max-width:1460px;margin-left:235px;padding:44px clamp(27px,4vw,70px) 58px}.top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:.17em;text-transform:uppercase;font-weight:700;color:var(--green)}h1,h2,h3{font-family:var(--font-heading);font-weight:400;line-height:1.12;margin:0}h1{font-size:clamp(38px,5.1vw,69px);letter-spacing:-.055em;margin-top:7px}h2{font-size:clamp(27px,3vw,40px);letter-spacing:-.035em}h3{font-size:24px}.subtitle,p{color:var(--muted);margin:8px 0 0}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:9px 15px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-weight:620;font-size:13px}.btn:hover{border-color:var(--border-hover)}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:var(--green-hover)}.btn svg{width:17px;height:17px}.weather{display:grid;grid-template-columns:1fr 1fr;background:var(--paper);border:1px solid var(--line);border-radius:12px;margin:0 0 20px;padding:12px 17px;gap:10px}.weather-part{display:flex;align-items:center;gap:11px;min-width:0}.weather-part:nth-child(2){border-left:1px solid var(--line);padding-left:17px}.weather-icon{border-radius:9px;background:var(--accent-surface);color:var(--green);display:grid;place-items:center;width:35px;height:35px;flex:none}.weather strong{font-size:14px}.weather small{font-size:11px}.weather select,.weather input{max-width:100%;border:0;background:transparent;color:var(--ink);padding:2px 0;font-size:14px;font-weight:650}.hero{display:grid;grid-template-columns:1fr .98fr;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--paper);min-height:370px}.hero-visual{min-width:0;min-height:290px;background:var(--hero-placeholder) url(editorial.jpg) center 46%/cover;position:relative}.hero-visual span{position:absolute;bottom:15px;left:15px;background:var(--hero-caption);border-radius:6px;padding:5px 8px;color:var(--ink);font-size:10px}.hero-copy{align-self:center;padding:clamp(23px,3.8vw,52px)}.hero-copy h2{margin-top:11px}.hero-copy p{margin:13px 0 22px;max-width:36ch;line-height:1.65}.section{margin-top:34px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:14px}.section-head a{color:var(--green);font-size:13px;font-weight:650}.categories,.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.category,.card,.panel{background:var(--paper);border:1px solid var(--line);border-radius:12px}.category{color:var(--ink);text-align:left;padding:14px;min-height:91px}.category:hover,.card:hover{border-color:var(--border-hover)}.category svg{color:var(--green);margin-bottom:7px}.category strong{display:block;font-size:15px}.category small{font-size:11px}.panel{padding:21px;margin-bottom:14px}.panel p:last-child{margin-bottom:0}.actions,.filters{display:flex;flex-wrap:wrap;gap:8px}.filters{margin-bottom:19px}.filters .active{background:var(--soft);border-color:var(--border-selected)}.card{padding:0;text-align:left;overflow:hidden;color:inherit;width:100%}.card img,.placeholder{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:var(--card-placeholder)}.placeholder{display:grid;place-items:center;color:var(--green)}.placeholder svg{width:33px;height:33px}.card-text{display:block;padding:9px 10px}.card-text strong{display:block;font-size:15px;overflow-wrap:anywhere}.card-text small{font-size:11px}.entry{display:flex;justify-content:space-between;align-items:center;gap:12px}.entry img{width:68px;height:68px;object-fit:cover;border-radius:7px}.entry-info{flex:1;overflow-wrap:anywhere}.empty{padding:27px}.empty p{margin-bottom:15px}.outfit .grid{margin:14px 0}.outfit .card img,.outfit .placeholder{aspect-ratio:1.35}.pills{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.pills span{padding:4px 8px;border-radius:5px;background:var(--accent-surface);color:var(--green-dark);font-size:12px}.analysis{display:grid;grid-template-columns:1fr 1fr;gap:12px}.analysis .panel{margin:0}.analysis .section{grid-column:1/-1}.data-list{padding-left:18px;color:var(--muted)}dialog{width:min(500px,calc(100% - 24px));max-height:90dvh;overflow:auto;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:23px}dialog::backdrop{background:var(--overlay)}.dialog-head{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:15px}.close{padding:5px;min-height:36px;width:36px}form{display:grid;gap:12px}form label{display:grid;gap:4px;font-size:15px;font-weight:620}form input:not([type=checkbox]),form select{width:100%;padding:8px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);min-height:41px}form label.check{display:flex;align-items:center;gap:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dialog-image{width:100%;max-height:185px;object-fit:contain;background:var(--photo-placeholder);border-radius:8px}.error{color:var(--error);font-size:13px;margin:0}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:4;background:var(--green);color:white;padding:9px 14px;border-radius:8px;font-size:13px;max-width:90vw;pointer-events:none}#toast:empty{display:none}.record-view{width:100%;max-height:55vh;object-fit:contain;background:var(--photo-placeholder);border-radius:8px}.danger{color:var(--danger)}
@media(max-width:900px){.sidebar{width:178px;padding-inline:12px}.brand{font-size:23px;margin-inline:1px}.brand small{font-size:10px}main{margin-left:178px}.top>.btn{padding-inline:11px}.hero{min-height:330px}.categories{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.sidebar{display:contents}.brand{margin:0;padding:13px 17px;border-bottom:1px solid var(--line);background:var(--navigation);font-size:24px}.brand small{margin-top:3px}.brand-mark{width:32px;height:32px;border-radius:8px}.sidebar-bottom{display:none}.sidebar nav{position:fixed;z-index:3;inset:auto 0 0;background:var(--navigation);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:5px 6px max(5px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}.nav-link{justify-content:center;flex-direction:column;gap:3px;padding:7px 2px;font-size:13px}main{margin:0;padding:20px 14px 94px}.top{align-items:flex-start;margin-bottom:17px}.top>.btn{white-space:nowrap;margin-top:4px}.top .subtitle{font-size:15px}h1{font-size:43px}.hero{grid-template-columns:1fr}.hero-visual{min-height:255px}.hero-copy{padding:21px}.hero-copy p{margin:9px 0 15px}.weather{padding:9px;gap:7px}.weather-part{gap:6px}.weather-part:nth-child(2){padding-left:7px}.weather-icon{width:28px;height:28px}.weather-icon svg{width:16px;height:16px}.section{margin-top:25px}.grid,.analysis{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis{grid-template-columns:1fr}.panel{padding:14px}#toast{bottom:75px}}
@media(max-width:360px){h1{font-size:36px}.top>.btn{font-size:11px}.weather small{font-size:10px}}
.weather-button{background:none;border:0;padding:0;color:var(--ink);text-align:left}.weather-button:hover{text-decoration:underline}details summary{cursor:pointer;margin-bottom:8px}details .check{padding:4px 0}
form textarea{width:100%;padding:8px;font:inherit;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);resize:vertical}.import-example{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--soft);border-radius:8px;padding:12px;font-size:12px}
.source-link{text-decoration:underline;text-underline-offset:2px}
.photo-picker{position:relative;cursor:pointer}.photo-picker input{position:absolute;width:1px!important;height:1px;min-height:0!important;opacity:0;padding:0!important}.photo-picker:focus-within{outline:2px solid var(--green);outline-offset:3px}form label[hidden]{display:none}.picker-status{margin:0;font-size:15px}.picker-status:empty,.item-drafts:empty{display:none}.item-drafts{display:grid;gap:8px}.draft{display:grid;gap:9px;border:1px solid var(--line);border-radius:9px;padding:9px}.draft-summary{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:start;gap:9px}.draft-photo{width:68px;height:68px;object-fit:cover;border-radius:6px}.draft-summary strong{display:block;overflow-wrap:anywhere;margin-bottom:4px}.draft details summary{margin:0}.draft details[open] summary{margin-bottom:8px}.draft .check{margin-top:7px}.draft label select{min-height:38px}

.top-today{align-items:center;margin-bottom:12px}
.hero-guidance{display:block;min-height:0}
@media(max-width:650px){
  main:has(.top-today){padding-top:8px;padding-bottom:calc(65px + env(safe-area-inset-bottom))}
  .top-today{margin-bottom:7px;min-height:24px}
  .top-today .eyebrow{letter-spacing:.11em}
  .weather{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:8px;padding-block:5px}
  .weather-part div,.weather-part label{min-width:0}
  .weather small{line-height:1.25}
  .hero{min-height:0}
  .hero-visual{min-height:0;height:clamp(72px,calc(100dvh - 387px),178px);grid-row:2}
  .hero-copy{padding:12px}
  .hero-copy h2{margin-bottom:9px}
  .hero-copy p{margin:0 0 9px}
  .outfit{padding:10px;margin-bottom:0}
  .outfit .section-head{margin-bottom:6px}
  .outfit .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:6px 0 8px}
  .outfit .card img,.outfit .placeholder{height:clamp(34px,calc((100dvh - 435px) / 2),105px);aspect-ratio:auto}
  .outfit .card-text{padding:5px}
  .outfit .card small{overflow-wrap:anywhere}
  .outfit .actions{gap:5px}
  .outfit .actions .btn{padding-inline:9px}
}
@media(max-width:650px){
  .outfit .card-text strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .outfit .card-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(max-width:650px) and (max-height:720px){
  .outfit .grid:has(.card:nth-child(4)){grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:650px) and (max-height:590px){
  body:has(.top-today) .brand{padding-block:7px}
  main:has(.top-today){padding-top:6px}
  .hero-visual{height:clamp(54px,calc(100dvh - 420px),178px)}
  .outfit .card-text strong{-webkit-line-clamp:1}
  .outfit .card-text small,.outfit .section-head .eyebrow,.weather-icon{display:none}
  .outfit h2{font-size:24px}
  .outfit .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}

.nav-add{display:grid;place-items:center;justify-self:start;align-self:center;margin-inline:4px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--green);color:var(--bg)}
.nav-add svg{width:24px;height:24px;stroke-width:1.75}
.nav-add:hover{background:var(--green-hover)}
.quick-add-sheet{inset:auto 0 0;margin:0 auto;width:min(420px,100%);border-radius:16px 16px 0 0;padding:14px 14px calc(14px + env(safe-area-inset-bottom))}
.quick-add-sheet .dialog-head{margin-bottom:10px}
.quick-add-actions{display:grid;gap:7px}
.quick-add-actions .btn{justify-content:flex-start;font-size:15px}
@media(max-width:650px){.nav-add{justify-self:center;margin:0}}
.replacement{padding:10px 0;border-top:1px solid var(--line)}
.history-calendar{max-width:530px}.history-calendar .section-head{align-items:center}.history-calendar h2{font-size:clamp(22px,5vw,32px);text-align:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.calendar-day{min-height:37px;border:1px solid transparent;border-radius:6px;padding:2px;background:transparent;color:var(--ink)}.calendar-day.has-entry{background:var(--soft);font-weight:650}.calendar-day[aria-pressed=true]{background:var(--green);color:var(--bg)}.usage-list{list-style:none;padding:0;margin:8px 0 0}.usage-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 0;border-bottom:1px solid var(--line)}.usage-list li span{color:var(--muted);font-size:13px;text-align:right}
.top h1{font-size:clamp(28px,3.55vw,48px)}
.section-head h2{font-size:clamp(21px,2.1vw,28px)}
.history-calendar .section-head h2{font-size:clamp(20px,4.2vw,25px)}
.calendar-day[aria-current=date]{background:var(--green);color:var(--bg);font-weight:650}
.calendar-day[aria-pressed=true]:not([aria-current=date]){background:var(--soft);border-color:var(--green);color:var(--ink)}
.calendar-day.has-plan::after{content:'';display:block;width:4px;height:4px;border-radius:50%;background:currentColor;margin:1px auto 0}
.calendar-plan{margin-bottom:16px}.calendar-plan .section-head p{margin-top:4px}
.plan-occasion{display:flex;align-items:center;gap:8px;font-size:14px}
.plan-occasion select{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:5px 8px;min-height:36px}
.calendar-history .section-head{align-items:center}
@media(max-width:650px){.top h1{font-size:30px}}
@media(max-width:360px){.top h1{font-size:26px}}
.today-welcome .hero-copy h2{font-size:25px}
.today-welcome .hero-copy p{margin-bottom:0}
.outfit-status{line-height:1.25;margin-top:3px}
@media(max-width:650px) and (max-height:590px){
  .today-welcome .hero-copy h2{font-size:24px}
}
.city-form{gap:9px}
.city-subtitle{margin:-6px 0 5px}
.city-status{font-size:13px;margin:0}
.city-status:empty,.city-form .error:empty{display:none}
.city-results{list-style:none;padding:0;margin:0;border:1px solid var(--line);border-radius:8px;max-height:176px;overflow:auto}
.city-results li+li{border-top:1px solid var(--line)}
.city-results button{width:100%;min-height:44px;background:var(--paper);color:var(--ink);border:0;text-align:left;padding:7px 10px}
.city-results button:hover,.city-results button:focus-visible{background:var(--soft)}
.text-action{justify-self:center;min-height:38px;border:0;background:transparent;color:var(--green);font-size:14px;text-decoration:underline;text-underline-offset:3px}
.city-locate{justify-self:start;padding:0}
.profile-skip{font-size:13px}
.wardrobe-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:760px}
.wardrobe-category{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:53px;padding:8px 10px;text-align:left;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:11px}
.wardrobe-category:hover{border-color:var(--green)}
.wardrobe-category strong{font-size:14px;line-height:1.2}
.wardrobe-all{grid-column:1/-1;background:var(--soft);border-color:var(--border-selected)}
.category-icon{display:grid;place-items:center;background:var(--soft);color:var(--green);width:28px;height:28px;border-radius:7px}
.wardrobe-all .category-icon{background:var(--paper)}
.category-icon svg{width:17px;height:17px}
.category-count{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.wardrobe-back{margin-bottom:12px}
@media(max-width:360px){.wardrobe-category{gap:5px;padding-inline:6px}.category-icon{width:24px;height:24px}}
@media(max-width:650px) and (max-height:720px){.outfit .grid:has(.card:nth-child(6)){grid-template-columns:repeat(6,minmax(0,1fr))}}
