@font-face{font-family:Sofia;src:url("./assets/fonts/sofia-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Sofia;src:url("./assets/fonts/sofia-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Sofia;src:url("./assets/fonts/sofia-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Sofia;src:url("./assets/fonts/sofia-800.woff2") format("woff2");font-weight:800;font-display:swap}
:root{font-family:Sofia,system-ui,sans-serif;color:#2b2924;background:#f5f3ee;color-scheme:light;font-synthesis:none;--ink:#2b2924;--muted:#655e52;--line:#e7e0d5;--gold:#f2d28c;--sage:#385445;--rose:#78424e;--focus:#8c5d1d;--surface:#fffaf0;--ease:170ms cubic-bezier(.16,1,.3,1)}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100dvh;background:radial-gradient(ellipse at 5% 0%,#fffefa 0,transparent 46%),radial-gradient(ellipse at 95% 48%,#eae7dc 0,transparent 68%),#f5f3ee;font-size:16px;line-height:1.42}
h1,h2,h3,p,dl,dd{margin:0}
a{color:inherit}
button,input,select{font:inherit;color:inherit}
button,[role=button]{cursor:pointer}
button:disabled{cursor:not-allowed}
button{transition:background var(--ease),border-color var(--ease),box-shadow var(--ease)}
img{max-width:100%;display:block}
[data-icon]{display:inline-flex;vertical-align:middle;flex:none}
svg{width:20px;height:20px;display:block}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sr,.skip:not(:focus){position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:absolute;z-index:5;left:10px;top:10px;background:white;padding:10px}
.wrap{width:min(1100px,calc(100% - 64px));margin-inline:auto}
.header{min-height:58px;display:grid;place-items:center;padding-inline:10px;border:1px solid #453b2f;border-top:0;border-radius:0 0 15px 15px;background:radial-gradient(ellipse at 50% 130%,#483927,transparent 70%),#29251f;box-shadow:0 3px 12px #46382418}
.brand{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(10px,4vw,21px);width:min(100%,400px);min-height:54px;text-decoration:none}
.brand-lavar,.brand-minimart{display:block;width:min(100%,152px);height:33px;object-fit:contain}
.brand-lavar{justify-self:end;object-position:right center}
.brand-minimart{justify-self:start;object-position:left center}
.brand-cross{display:grid;place-items:center;width:22px;height:30px;color:#e8c788}
.brand-cross svg{width:18px;height:18px}
.tag{margin-left:auto;color:#ffdfa6;background:#ffffff13;border:1px solid #d7ab6b60;border-radius:100px;padding:1px 7px;font-size:11px;font-weight:700;white-space:nowrap}
.workspace{max-width:680px;margin:19px auto 0;display:grid;gap:12px}
.wizard-intro{padding:12px 17px 10px;border-radius:18px;background:radial-gradient(ellipse at 95% 120%,#463726,transparent 71%),#28241e;color:#fff8ed;box-shadow:0 4px 16px #49372421;border:1px solid #44392c}
.wizard-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.wizard-heading h1{font-size:25px;line-height:1.12;letter-spacing:-.035em;font-weight:800}
.step-count{color:#f3d6a2;font-size:13px;font-weight:700;white-space:nowrap}
.progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:11px -3px 0;gap:3px}
.progress li{display:flex;align-items:center;gap:7px;min-width:0;border-top:2px solid #c29a6945;padding:7px 3px 1px;color:#e0d7c8;font-size:13px;font-weight:700}
.step-num{width:20px;height:20px;flex:none;display:grid;place-items:center;border-radius:50%;background:#ffffff16;color:#f7ede0;font-size:12px;line-height:1}
.progress li[aria-current=step]{border-color:#ffd587;color:#ffdf9e}
.progress li[aria-current=step] .step-num{background:#f1d193;color:#30271b}
.progress li.completed{border-color:#c89453;color:#f7e6c9}
.progress li.completed .step-num{background:#e3bf822b;color:#f6d797}
.step-num svg{width:13px;height:13px}
.glass{border:1px solid #fff;background:linear-gradient(140deg,#fffcf8dc,#ffffff9e);backdrop-filter:blur(16px);box-shadow:0 4px 18px #48301f0a,inset 0 1px 0 #ffffffd9}
.card{border-radius:25px;padding:19px 20px}
.card-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.tile-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;flex:none;border:1px solid #fff9}
.gold-tile{background:linear-gradient(143deg,#fae9c3,#f3ddb2);color:#604518}
.sage-tile{background:linear-gradient(143deg,#e7f0e5,#d5e5d3);color:#365744}
.rose-tile{background:linear-gradient(143deg,#fbebea,#f2dce0);color:#734452}
.eyebrow{color:#766041;letter-spacing:.115em;font-size:10px;font-weight:800;line-height:1.3}
h2{font-size:25px;letter-spacing:-.038em;line-height:1.12;font-weight:800}
.card-head h2{margin-top:3px}
.card-head p{font-size:14px;line-height:1.3;color:var(--muted);margin-top:4px}
.card-head h2:focus,.success h2:focus{outline:none}
.field{border:1px solid #e5ddd0;background:#fffdfa;min-height:47px;max-width:100%;border-radius:13px;font-weight:600}
input.field{padding:8px 12px}
.small-btn:not(:disabled):hover,.icon-btn:hover{background:#f8eddb;border-color:#e0c99f}
.pin-label{display:grid;gap:5px;margin-top:12px;font-weight:700;font-size:14px}
.pin-label input, #office-key{font-size:16px}
.store-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:7px}
.store-controls .gps-btn{min-height:45px;padding-inline:11px;white-space:nowrap}
.store-controls .search-field svg{color:#7c6240;width:17px;height:17px}
.location-box{padding:0 1px}
#gps-status{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.3}
#gps-status:empty{margin:0}
#gps-status.ok,.photo-status.ok{color:var(--sage);font-weight:700}
#gps-status.problem,.photo-status.problem{color:#862f40}
#gps-status.caution{color:#715318}
.gps-suggestion{display:grid;grid-template-columns:25px minmax(0,1fr) 18px;align-items:center;gap:7px;width:100%;text-align:left;margin-top:9px;padding:9px 10px;background:#f1f5ee;border:1px solid #d6e1d3;border-radius:12px;color:#365744;min-height:48px}
.gps-suggestion:hover{background:#e7f0e4}
.gps-suggestion svg{width:17px;height:17px}
.gps-suggestion small,.gps-suggestion strong{display:block;font-size:12px;line-height:1.25}
.gps-suggestion strong{font-size:14px}
.chosen-store{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;margin-top:12px;padding:10px 12px;background:linear-gradient(135deg,#e0efe5,#f1f7ef);border:1px solid #779b80;border-left:4px solid #35664a;border-radius:13px;color:#183a29;overflow-wrap:anywhere}
.chosen-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#2d6144;color:white}
.chosen-mark svg{width:18px;height:18px}
.chosen-kicker,.chosen-store strong,.chosen-address{display:block;line-height:1.25}
.chosen-kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.065em;color:#2e6149}
.chosen-store strong{font-size:16px;margin-top:2px}
.chosen-address{font-size:13px;margin-top:2px;color:#315440}
.small-btn,.icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e6dece;border-radius:11px;background:#fffaf0;font-size:14px;font-weight:700;padding:7px 10px;min-height:44px;text-decoration:none;white-space:nowrap}
.small-btn svg,.quiet svg{width:16px;height:16px}
.small-btn:disabled{opacity:.55}
.photo-drop{display:grid;place-items:center;align-content:center;gap:7px;min-height:120px;border:1px dashed #b79b66;border-radius:15px;background:linear-gradient(135deg,#faf1da,#f7ebd3);color:#624c2e}
.photo-drop:hover{background:#f7e9cb}
.photo-drop svg{width:25px;height:25px}
#photo-picker>.quiet{margin-top:2px}
.photo-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:2px}
.photo-actions:has(button[hidden]):has(.photo-status:empty){display:none}
.photo-status{color:var(--muted);font-size:13px}
.photo-status:empty{display:none}
.quiet{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:none;text-decoration:none;border:0;padding:4px 0;min-height:34px;color:#6f542c;font-size:13px;font-weight:700}
.quiet:hover{text-decoration:underline}
.photo-tip,.privacy-note{display:flex;gap:6px;align-items:flex-start;color:var(--muted);font-size:13px;line-height:1.32}
.photo-tip{margin-top:7px}
#demo-photo-note{margin:0 0 9px;color:#715318}
.photo-tip svg,.privacy-note svg{width:14px;height:14px;margin-top:1px}
.photo-preview{display:block;max-height:360px;width:100%;object-fit:contain;border-radius:12px;background:#efe9dd;margin:10px 0}
.summary{padding:21px;background:radial-gradient(ellipse at 105% -10%,#f3e2bcaf,transparent 69%),linear-gradient(150deg,#fdf9ef,#faf7ee)}
.summary-list{margin:12px 0 14px}
.summary-list>div{display:flex;justify-content:space-between;align-items:baseline;gap:7px;padding:10px 0;border-bottom:1px solid #e3d9c8;font-size:14px}
.summary-list dt{color:var(--muted);white-space:nowrap}
.summary-list dd{text-align:right;font-weight:800;min-width:0;overflow-wrap:anywhere}
.summary-address{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-top:2px}
.gold-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid #dbb975;border-radius:13px;min-height:48px;color:#32291e;background:linear-gradient(155deg,#ffe3a9,#efc77a);font-weight:800;padding:8px 15px;box-shadow:inset 0 1px 0 #fff6;text-decoration:none}
.gold-btn:hover:not(:disabled){background:#f9d996;box-shadow:inset 0 1px 0 #fff9,0 3px 8px #bd8a3a28}
.gold-btn:disabled{background:#eee4d0;color:#645743;border-color:#e6dbc4}
.gold-btn svg{width:16px;height:16px}
.submit{width:100%;justify-content:space-between}
.wizard-nav{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0}
.wizard-next{margin-left:auto;min-width:155px;justify-content:space-between}
.wizard-nav .small-btn{padding-inline:13px;background:#fcf9f2}
#step-back svg{transform:rotate(180deg)}
.review-gps{color:var(--sage);font-size:14px;font-weight:700}
.summary .photo-preview{max-height:240px}
.review-items{display:grid;gap:6px;list-style:none;margin:0 0 14px;padding:0}
.review-items li{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #e9ddc8;border-radius:11px;padding:7px 10px;background:#fffaf0;font-size:14px}
.review-items li span{display:block;font-size:12px;color:var(--muted)}
.review-items li b{white-space:nowrap}
.privacy-note{margin-top:11px}
.inline-error{color:#832e39;background:#fae9e9;border:1px solid #efd3d8;border-radius:10px;padding:8px 10px;font-size:14px;margin:9px 0}
.order-intro{color:var(--muted);font-size:14px;margin:12px 0}
.stock-head{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;margin-bottom:7px}
.stock-head p{margin-top:3px;color:var(--muted);font-size:13px;line-height:1.2}
.stock-head h2:focus{outline:none}
.stock-optional{background:#ede5d5;color:#674f28;border-radius:50px;padding:2px 7px;white-space:nowrap;font-size:11px;font-weight:800}
.stock-list{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.stock-row{display:grid;grid-template-columns:minmax(0,1fr) clamp(156px,47%,235px);align-items:center;gap:5px;min-height:44px;border-bottom:1px solid var(--line)}
.stock-row:last-child{border-bottom:0}
.stock-product{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:7px}
.stock-art{display:grid;place-items:center;width:32px;height:34px;background:linear-gradient(150deg,#f9efdc,#eadfc6);border-radius:7px}
.stock-art img{width:100%;height:100%;padding:1px;object-fit:contain}
.stock-caption strong,.stock-caption span{display:block;line-height:1.12}
.stock-caption strong{font-size:14px;font-weight:800;overflow-wrap:anywhere}
.stock-caption span{margin-top:2px;color:var(--muted);font-size:11px}
.stock-switch{display:grid;grid-template-columns:.88fr 1fr 1.43fr;gap:2px}
.stock-btn,.stock-badge{--st-fg:#624b25;--st-bg:#efeadf;--st-tint:#e2d7c5;--st-active:#725627;color:var(--st-fg);background:var(--st-bg);border:1px solid var(--st-tint);font-weight:800}
.in_stock{--st-fg:#23553a;--st-bg:#e7f2e9;--st-tint:#c6dfce;--st-active:#285d3d}
.low{--st-fg:#684c0b;--st-bg:#fbefce;--st-tint:#ead7a3;--st-active:#f2cd62}
.out{--st-fg:#802d3c;--st-bg:#f8e7ea;--st-tint:#e9c8ce;--st-active:#922f44}
.stock-btn{min-height:39px;border-radius:7px;padding:0 1px;font-size:13px;line-height:1.1;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.stock-btn:hover{box-shadow:inset 0 0 0 1px var(--st-fg)}
.stock-btn[aria-pressed=true]{background:var(--st-active);border-color:var(--st-fg);color:white;box-shadow:inset 0 0 0 1px #ffffff60}
.stock-btn.low[aria-pressed=true]{color:#362707}
.stock-badge{display:inline-block;padding:2px 7px;border-radius:7px;font-size:12px;white-space:nowrap}
.footer{border-top:1px solid #ded7c9;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:21px;padding:11px 0 max(13px,env(safe-area-inset-bottom));color:var(--muted);font-size:13px}
.footer span:first-child{font-weight:800;white-space:nowrap;color:var(--ink)}
.footer b{color:#927849}
dialog{color:var(--ink);background:#fffcf6;border:1px solid #fff;border-radius:22px;width:min(480px,calc(100% - 26px));padding:0;box-shadow:0 20px 70px #24180e50;max-height:85dvh}
dialog::backdrop{background:#27201886;backdrop-filter:blur(4px)}
.dialog-inner{padding:18px}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.dialog-head h2{font-size:23px}
.icon-btn{min-width:44px;padding:0}
.icon-btn svg{width:17px;height:17px}
.search-field{display:flex;align-items:center;gap:7px;padding:0 10px}
.search-field input{background:none;border:0;width:100%;min-width:0;min-height:44px;font-size:16px}
.search-field input:focus{outline:none}
.search-field:focus-within{outline:2px solid var(--focus)}
.result-meta{font-size:13px;color:var(--muted);margin:8px 0}
.store-results{max-height:min(34dvh,268px);overflow:auto;overscroll-behavior:contain;display:grid;gap:6px}
.store-result{background:#f8f3e9;border:1px solid #eadfcf;border-radius:10px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:49px;padding:7px 10px}
.store-result:hover{background:#f1e3c9}
.store-result strong,.store-result small{display:block}
.store-result small{color:var(--muted);font-size:13px}
.store-result svg{width:16px;height:16px}
.success,.office{margin-top:17px}
.success{text-align:center;padding:28px 14px;max-width:680px;margin-inline:auto}
.success .tile-icon{margin:0 auto 10px}
.success p{margin:8px 0;color:var(--muted)}
.success .receipt{font-weight:800;letter-spacing:.05em;color:var(--sage);margin:10px 0 15px}
.office{max-width:1000px;margin-inline:auto;min-height:245px}
#office-auth{display:grid;gap:8px;max-width:390px}
.office-locked{max-width:420px;margin-top:clamp(28px,8vh,75px);padding:clamp(22px,6vw,34px);color:#fbf3e4;background:radial-gradient(ellipse at 93% 0%,#534331 0%,transparent 64%),linear-gradient(145deg,#2c2823,#231f1b);border-color:#61513c;box-shadow:0 19px 45px #3f2f2440,inset 0 1px 0 #ffffff1a}
.office-gate-icon{width:45px;height:45px;display:grid;place-items:center;background:#fff2cf15;border:1px solid #e7c98b65;border-radius:14px;color:#f7d591;margin-bottom:18px}
.office-gate-icon svg{width:22px;height:22px}
.office-locked .eyebrow{color:#e9c488;margin-bottom:6px}
.office-locked h2{font-size:clamp(29px,8vw,38px)}
.office-locked p{color:#e1d5c4;font-size:14px;margin-top:9px}
.office-locked #office-auth{margin-top:21px}
#office-auth label{font-size:13px;font-weight:700;color:#f3e2c3}
#office-auth .field{width:100%;color:#fff8ec;background:#1c1916b3;border-color:#aa8b60;font-size:16px}
#office-auth .gold-btn{width:100%;margin-top:5px}
.office-locked .inline-error{background:#fff0ed;color:#842e3b;padding:8px 10px;border-radius:8px}
.office-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}
.office-toolbar select{padding:6px 10px}
.inbox-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.inbox-table th,.inbox-table td{text-align:left;padding:11px 9px;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.inbox-table th{font-size:13px;color:#5b4e3c;background:#eee7d8}
.inbox-table tbody tr:nth-child(even){background:#eee7da70}
.inbox-table small{display:block;color:var(--muted);font-size:12px;margin:3px 0}
.inbox-table .status-action{display:flex}
.row-items{margin-top:4px}
.row-items summary{cursor:pointer;color:#72552a;font-weight:700;padding:5px 0}
.row-items summary.needs-stock{color:#802d3c}
.row-items ul{padding-left:17px;margin:4px 0}
.row-items li{margin:4px 0}
.status-chip{display:inline-block;padding:2px 7px;border-radius:35px;background:#ede1c9;color:#624b25;font-size:12px;white-space:nowrap}
.status-chip.done{background:#e1ebdf;color:#365744}
@media(max-width:780px){
  .wrap{width:calc(100% - 36px)}
  .workspace{margin-top:13px}
}
@media(max-width:540px){
  .wrap{width:calc(100% - 26px)}
  .header{min-height:51px}
  .brand{min-height:49px}
  .brand-lavar,.brand-minimart{height:27px}
  .brand-cross{width:18px}
  .brand-cross svg{width:15px;height:15px}
  .workspace{margin-top:9px;gap:9px}
  .wizard-intro{padding:9px 11px 8px;border-radius:15px}
  .wizard-heading h1{font-size:21px}
  .progress{margin-top:8px}
  .progress li{font-size:11px;gap:4px;padding-top:5px}
  .step-num{width:17px;height:17px;font-size:10px}
  .card{border-radius:20px;padding:13px}
  .card-head{margin-bottom:11px;gap:9px}
  .card-head .tile-icon{width:38px;height:38px;border-radius:12px}
  h2{font-size:23px}
  .field{min-height:45px}
  .small-btn{padding-inline:7px;font-size:13px}
  .small-btn svg{width:14px;height:14px}
  .stock-card{padding:9px}
  .stock-caption strong{font-size:12px}
  .footer{flex-wrap:wrap;margin-top:14px}
  .footer span:nth-child(2){display:none}
  .inbox-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .inbox-table,.inbox-table tbody,.inbox-table tr{display:block}
  .inbox-table tr{border:1px solid var(--line);border-radius:12px;margin:9px 0;overflow:hidden}
  .inbox-table td{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:start;gap:7px;padding:7px 9px}
  .inbox-table td:last-child{border-bottom:0}
  .inbox-table td::before{content:attr(data-label);font-size:12px;color:#5b4e3c;font-weight:700}
  .inbox-table .small-btn{justify-self:start}
}
@media(max-width:340px){.workspace{margin-top:7px;gap:7px}.stock-product{grid-template-columns:25px minmax(0,1fr);gap:4px}.stock-art{width:25px;height:31px}.stock-caption span{font-size:10px}.progress li{gap:2px;font-size:10px}.stock-row{min-height:41px}.stock-btn{min-height:37px}.stock-head p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
