
.quick-search input[type=search]{font-size:20px;min-height:58px}.quick-result{display:flex!important;justify-content:space-between;align-items:center;gap:16px;width:100%;text-align:left;padding:14px!important;min-height:58px}.quick-result span{flex-shrink:0;font-size:14px}.quick-search .catalog-table tr{display:table-row}.quick-search .catalog-table td{display:table-cell;width:100%}.quick-search .catalog-table thead{display:none}.quick-search .foot{font-size:13px}#item-form [data-location-qty],#item-form .quantity-fields input{font-size:28px;font-weight:700;min-height:68px}#notice{display:flex;flex-wrap:wrap;gap:10px;align-items:center}#notice[hidden]{display:none}#notice small{width:100%}#notice button{min-height:44px}@media(max-width:700px){.quick-result{flex-direction:column;align-items:flex-start;gap:4px}.quick-search .sect-head h2{font-size:18px}.quick-search{padding:14px!important}}

.price-details{padding:12px 0;margin:10px 0;border-bottom:1px solid #dce4df}.price-details>summary{cursor:pointer;font-weight:600;color:#1b5945;padding:8px 0}@media(max-width:700px){#item-form button[name=next]{display:inline-flex}#item-form .dialog-foot{flex-wrap:wrap}#item-form .dialog-foot button{min-height:48px}}

.count-card{padding:18px 0;border-top:1px solid #dce4df}.count-card-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.count-card h3{font-size:17px;line-height:1.4;margin:0 0 6px}.count-card p{margin:4px 0;color:#486258}.count-quantity{white-space:nowrap;font-size:20px}.count-card-foot{display:flex;align-items:start;gap:20px;margin-top:12px}.count-card-foot summary,.count-options>summary{cursor:pointer;padding:12px 0;color:#486258}.count-card-foot details{flex:1}.count-options{margin:12px 0}.count-progress{color:#486258}.on-count #place-context{display:none}.on-count .page-head .head-copy>p{display:none}.on-count .active-location{border:0;padding:0;background:transparent}
@media(max-width:700px){.on-count .top>button{display:none}.on-count .page-head{align-items:center}.on-count .page-head h1{font-size:26px}.on-count .count-panel{padding:16px}.on-count .count-panel .sect-head h2{font-size:19px}.on-count .count-card h3{font-size:16px}.on-count .count-card-foot button{min-height:44px}.on-count .count-options .tools{display:block}.on-count .count-options input,.on-count .count-options select{width:100%}.on-count .count-quantity{font-size:18px}}

.simple-start{max-width:760px;margin:24px auto}.start-guide{padding:clamp(20px,4vw,40px)!important}.start-guide h1{font-size:clamp(26px,4vw,36px);line-height:1.2;margin:0 0 12px}.start-guide>p{max-width:60ch;line-height:1.65}.start-guide .dialog-foot{flex-wrap:wrap}.start-guide .primary{min-height:48px}.start-more{margin:28px 0}.start-more>summary{padding:16px;cursor:pointer;color:#486258}.resume-count{text-align:center}.on-start .top>button{display:none}.on-start #place-context{display:none}.start-guide .setup-steps{margin-bottom:28px}.start-guide select{width:100%}

.setup-steps{display:flex;gap:8px;padding:0;list-style:none;margin:22px 0;flex-wrap:wrap}.setup-steps li{flex:1;min-width:95px;font-size:14px;padding:10px;border-radius:10px;background:#f0f4f1}.setup-steps li[aria-current]{background:#00483e;color:white}.setup-steps span{display:block;font-weight:700;margin-bottom:4px}.place-types{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.place-types button{min-height:64px;font-size:18px}.place-types button[aria-pressed=true]{background:#00483e;color:white;border-color:#00483e}.setup-preview{background:#edf5e7;border-radius:10px;padding:16px;font-weight:600}.existing-places{margin:20px 0}.existing-places summary{cursor:pointer;padding:12px}.setup-check{display:flex!important;align-items:flex-start;gap:12px;margin:24px 0!important}.setup-check input{width:22px!important;height:22px;flex:none}.setup-welcome{border:2px solid #00483e!important}@media(max-width:520px){.place-types{grid-template-columns:repeat(2,1fr)}}

.place-context { padding: 18px; margin: 18px 0; border: 2px solid #286346; background: #edf5e7; border-radius: 14px; }
.place-context p { margin: 6px 0 12px; }
.active-location { border: 2px solid #286346; padding: 12px; border-radius: 12px; background: #edf5e7; }
.place-hint { padding: 12px; background: #edf5e7; border-radius: 8px; }
[hidden] { display: none !important; }
:root {
  color-scheme: light;
  --ink: #152f2b;
  --green: #174638;
  --active: #176449;
  --mint: #e8f3ed;
  --soft: #f4f7f5;
  --line: #d9e2dd;
  --muted: #50645c;
  --lime: #dcf395;
  --rail: 226px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--soft);
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0; font-size: 1rem; line-height: 1.48; -webkit-font-smoothing: antialiased }
h1,h2,h3,p { margin: 0 }
h1 { font-size: clamp(2rem,3.4vw,3.25rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 690 }
h2 { font-size: clamp(1.24rem,2vw,1.52rem); line-height: 1.23; letter-spacing: -.035em }
p,small,.subtle { color: var(--muted) }
small { display: block; font-size: .8125rem; line-height: 1.42; font-weight: 460 }
a { color: var(--active); text-underline-offset: .19em }
button,input,select { font: inherit; color: inherit }
button, a, input, select { touch-action: manipulation }
button,.primary,.secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-align: center;
  min-height: 44px; padding: .58rem 1rem; border: 1px solid #bbc9c0; border-radius: 9px;
  background: white; color: var(--green); font-size: .9375rem; font-weight: 650; line-height: 1.25; cursor: pointer;
}
a.primary,a.secondary { text-decoration: none }
button:disabled { opacity: .47; cursor: default }
button:not(:disabled):hover,.secondary:hover { background: #eff5f1 }
.primary { background: var(--active); border-color: var(--active); color: white; box-shadow: 0 1px 2px #102e2015 }
.primary:not(:disabled):hover { background: var(--green); border-color: var(--green) }
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 3px solid #236cb0; outline-offset: 2px }
textarea { width:100%; min-height:110px; padding:.75rem; border:1px solid var(--line); border-radius:8px; font:inherit; resize:vertical }
.skip { position: fixed; z-index: 10; top: -15rem; left: .6rem; background: white; padding: .8rem 1rem }
.skip:focus { top: .5rem }

.review-warning { color:#82501c }
.invoice-source { border-top:1px solid var(--line); padding-top:.7rem }
.invoice-source[open] { display:grid; gap:.8rem }
.invoice-source summary { font-weight:650; cursor:pointer }
/* Navigation and workspace */
.wordmark { display: inline-flex; align-items: center; font-size: 1.83rem; font-weight: 740; letter-spacing: -.065em; line-height: 1 }
.wordmark>span { font-weight: 460 }
.logo { display: inline-flex; flex-direction: column; justify-content: center; gap: 3px; width: 28px; height: 28px; margin-right: .6rem; transform: skewY(-8deg) }
.logo i { height: 5px; background: var(--lime); border-radius: 1px }
.logo i:nth-child(2) { width: 77% }
.logo i:last-child { width: 55% }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 2; display: flex; flex-direction: column; width: var(--rail); padding: 2rem .85rem 1rem; background: #153a31; color: #fff; overflow-y: auto }
.brandlink { align-self: flex-start; margin-left: .75rem; color: white; text-decoration: none }
.brand-unit { margin: .45rem 0 2.55rem 3.15rem; font-size: .875rem; color: #c4d8ce; letter-spacing: .015em }
.sidebar nav { display: grid; gap: .28rem }
.sidebar nav a,.logout a { display: flex; align-items: center; gap: .68rem; min-height: 45px; border-radius: 8px; padding: .66rem .77rem; color: #dfebe4; text-decoration: none; font-size: .9375rem; font-weight: 540 }
.sidebar nav a:hover,.logout a:hover { background: #214c40; color: white }
.sidebar nav a[aria-current=page] { color: var(--lime); background: #2a5142; font-weight: 680; box-shadow: inset 3px 0 var(--lime) }
.nav-icon { flex: 0 0 auto; position: relative; display: inline-block; width: 18px; height: 18px; color: currentColor }
.nav-icon.grid { width: 7px; height: 7px; border-radius: 1.5px; margin: 0 11px 10px 0; box-shadow: inset 0 0 0 1.5px currentColor,10px 0 currentColor,0 10px currentColor,10px 10px currentColor }
.nav-icon.catalog { height: 14px; border: 1.5px solid; border-radius: 3px; background: repeating-linear-gradient(0deg,transparent 0 3px,currentColor 3px 4.5px,transparent 4.5px 7px) center/11px 8px no-repeat }
.nav-icon.count,.nav-icon.report { width: 16px; height: 17px; margin-right: 2px; border: 1.5px solid; border-radius: 3px }
.nav-icon.count:after { content: ''; position: absolute; width: 7px; height: 4px; top: 4px; left: 3px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) }
.nav-icon.report:after { content: ''; position: absolute; top: 5px; left: 3px; width: 7px; height: 2px; background: currentColor; box-shadow: 0 4px currentColor }
.logout { margin-top: auto; border-top: 1px solid #3b5b4f; padding-top: .6rem }
.logout a { min-height: 40px; font-size: .875rem }
.admin-short { display: none }
.workspace { margin-left: var(--rail); padding: 0 clamp(1.4rem,4vw,4.25rem) 4rem }
.workspace>* { max-width: 1240px; margin-inline: auto }
.top { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); font-size: .9375rem }
.top div { display: flex; align-items: center; gap: .7rem; min-width: 0 }
.top strong { overflow-wrap: anywhere }
.store-icon { flex: none; width: 23px; height: 23px; position: relative; border-radius: 6px; background: #dfede3; color: var(--green) }
.store-icon:before,.store-icon:after { content: ''; position: absolute; left: 5px; width: 11px; border: 1.5px solid; border-radius: 1px }
.store-icon:before { top: 6px; height: 3px; background: #dfede3; z-index: 1 }
.store-icon:after { top: 9px; left: 6.5px; width: 8px; height: 7px }
.top .period-switch { border: 0; background: transparent; padding-inline: .25rem; text-decoration: underline; text-underline-offset: .2em; text-align: right; color: var(--green); font-size: .875rem; padding-block: .68rem }
#view { padding-top: clamp(1.4rem,3.3vw,2.7rem) }
.page-head,.sect-head,.row-between,.foot { display: flex; align-items: center; justify-content: space-between; gap: .9rem }
.page-head { margin-bottom: clamp(1.2rem,2.4vw,1.9rem) }
.head-copy h1 { margin: .27rem 0 }
.kicker,.eyebrow { color: var(--muted); font-weight: 620; font-size: .875rem; letter-spacing: .01em }
.tools,.dialog-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem }
.tools { margin-block: .52rem }
.panel,.tile { background: white; border: 1px solid var(--line); border-radius: 14px }
.panel { margin-bottom: 1.15rem; padding: clamp(1.05rem,2.2vw,1.7rem); box-shadow: 0 2px 5px #133b2510 }
.sect-head { margin-bottom: .85rem }
.sect-head a,.text-link { font-size: .875rem; font-weight: 600; text-align: right }
.empty { padding-block: 1rem }
.tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin: 0 0 1.15rem }
.tile { padding: 1rem 1.14rem }
.tile:first-child { background: #e7f1e4; border-color: #d4e3ce }
.tile span { font-size: .875rem; color: var(--muted); font-weight: 580 }
.tile strong { display: block; font-size: clamp(1.5rem,2.6vw,2.45rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.2; margin-top: .3rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums }
.period-row { padding-block: .9rem; border-top: 1px solid var(--line) }
.period-row a { color: var(--green); font-weight: 650 }
.period-row small { margin-top: .2rem }
.period-progress { max-width: 15rem; width: 100%; height: .4rem; border: none; border-radius: 8px; overflow: hidden; color: var(--active); background: #e3ebe5; accent-color: var(--active) }
.period-progress::-webkit-progress-bar { background: #e3ebe5 }
.period-progress::-webkit-progress-value { background: var(--active) }
.tag { display: inline-block; white-space: nowrap; padding: .25rem .66rem; border-radius: 30px; background: var(--mint); color: #24583e; font-size: .8125rem; font-weight: 650 }
.tag.locked { background: #e8edf1; color: #3c525e }
.tag.wait { background: #f7eedf; color: #735222 }

/* Search and counting */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.search-panel { border-top: 3px solid #6caf8d }
.search-panel .sect-head { margin-bottom: .25rem }
.search-panel .subtle { font-size: .9rem }
.period-row>div { min-width: 10rem }
#catalog-results>a:last-child { display: inline-block; padding: .6rem 0; font-weight: 580 }

.catalog-ai { margin: -.25rem 0 .75rem }
.catalog-ai[hidden] { display: none }
.catalog-ai button { min-height: 44px }
#catalog-ai-suggestions:not(:empty) { margin-top: .5rem; font-size: .95rem; color: var(--ink) }
#catalog-ai-suggestions p { margin: 0 0 .4rem }
.catalog-ai .ai-term { max-width: 100%; white-space: normal; overflow-wrap: anywhere; margin: 0 .4rem .4rem 0; border-radius: 1.5rem }
.catalog-search { margin: .75rem 0 .9rem; max-width: 52rem; position: relative }
.catalog-search input { width: 100%; padding-left: 2.85rem; min-height: 52px; border: 1.5px solid #8ea99c; font-size: 1.05rem; font-weight: 500; background: #fbfdfa }
.catalog-search:before,.catalog-search:after { position: absolute; content: ''; pointer-events: none; color: var(--active) }
.catalog-search:before { left: 1rem; bottom: 1.13rem; width: 12px; height: 12px; border: 2px solid; border-radius: 50% }
.catalog-search:after { left: 1.79rem; bottom: .99rem; background: currentColor; width: 7px; height: 2px; transform: rotate(45deg) }
.table-scroll { overflow-x: auto }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; text-align: left }
th { font-weight: 650; color: var(--muted); font-size: .8125rem; background: var(--soft) }
td,th { padding: .68rem .65rem; border-bottom: 1px solid var(--line); vertical-align: middle }
th:first-child { border-radius: 6px 0 0 0 }
th:last-child { border-radius: 0 6px 0 0 }
tbody tr:last-child td { border-bottom: none }
tbody tr:focus-within,tbody tr:hover { background: #f6faf6 }
td.name { font-weight: 630; overflow-wrap: anywhere }
td small { margin-top: .12rem }
td.numeric,.price-cell,.count-table td { font-variant-numeric: tabular-nums }
.right { text-align: right }
.price-cell { font-weight: 620 }
.product-name,.price-link { display: inline; text-align: left; padding: .25rem 0; min-height: 0; border: none; background: transparent; border-radius: 3px; color: var(--green) }
.product-name { font-weight: 660; overflow-wrap: anywhere }
.price-link { display: block; color: var(--active); font-size: .875rem; text-decoration: underline; text-underline-offset: 2px }
.product-name:hover { text-decoration: underline }
.quiet,.count-action { min-height: 40px; padding: .45rem .75rem; font-size: .875rem; white-space: nowrap }
.count-action { color: #154f39; background: var(--mint); border-color: #c6ddce }
.foot { margin-top: .75rem }
.foot p { font-size: .875rem }
.foot .tools { gap: .35rem }
form { display: grid; gap: .92rem }
label { min-width: 0; display: grid; gap: .3rem; font-size: .875rem; font-weight: 620 }
input, select { min-width: 0; max-width: 100%; min-height: 44px; border: 1px solid #a4b6ab; background: white; border-radius: 8px; padding: .6rem .72rem; font-size: 1rem; font-weight: 480 }
input:read-only:not([type=search]) { background: var(--soft); border-color: var(--line) }
.dialog-foot { justify-content: flex-end; padding-top: .9rem; border-top: 1px solid var(--line); margin-top: .3rem }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem }
.quantity-fields { border-radius: 10px; background: var(--mint); border: 1px solid #d0e1d6; padding: .9rem }
.quantity-fields input { font-size: 1.2rem; font-variant-numeric: tabular-nums; font-weight: 650 }
dialog { width: min(530px,calc(100% - 1.5rem)); max-height: 91svh; overflow: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.15rem,3vw,1.75rem); box-shadow: 0 18px 80px #091f1638 }
dialog::backdrop { background: #0a261bb3 }
dialog h2 { margin: 0 0 1.15rem; overflow-wrap: anywhere }
dialog p,dialog .offers { margin-bottom: .8rem }
.offers { max-height: 45svh; overflow-y: auto }
.offer { padding: .58rem .3rem; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums }
.error,#notice { padding: .74rem .93rem; border-radius: 8px; background: #faeae5; color: #802c1b }
#notice { margin-top: .9rem; background: #dff1e4; color: #205139; border-left: 3px solid var(--active) }

.store-quote,.pack-pricing { border: 1px solid var(--line); border-radius: 8px; padding: .7rem .85rem; font-size: .875rem }
.store-quote { background: var(--soft) }
.store-quote strong,.store-quote small { display:block }
.store-quote .quiet,.pack-pricing button { margin-top: .6rem }
.pack-pricing summary { color: var(--green); font-weight: 650; cursor:pointer }
.pack-pricing[open] summary,.pack-pricing .form-grid { margin-bottom:.7rem }
.pack-pricing small {display:block;margin-top:.4rem}
.remember-price { display:flex; align-items:center; gap:.65rem; min-height:40px }
.remember-price input { min-height:0; width:20px; height:20px; accent-color:var(--green) }

/* Sign-in */
.auth { min-height: 100svh; display: grid; grid-template-columns: minmax(250px,.86fr) minmax(320px,1.14fr); background: #fff }
.auth-art { position: relative; overflow: hidden; background: #163b30; color: white; padding: clamp(2rem,6.8vw,7rem); display: flex; flex-direction: column; align-items: flex-start; gap: 3rem }
.art-title { margin: auto 0 0; z-index: 1 }
.art-title h2 { font-size: clamp(2.9rem,6.6vw,6.5rem); line-height: 1.07; letter-spacing: -.07em }
.shelves { width: 85%; max-width: 360px; height: 125px; display: grid; gap: 8px; transform: skewY(-6deg); margin-bottom: auto }
.shelves>div { border-bottom: 4px solid #759987; background: repeating-linear-gradient(90deg,#86aa93 0 10px,transparent 10px 13px,#b4d1a5 13px 23px,transparent 23px 27px,#759a84 27px 40px,transparent 40px 45px) bottom/100% 77% no-repeat }
.shelves>div:nth-child(2) { width: 86% }
.shelves>div:last-child { width: 68% }
.auth-form { display: grid; place-items: center; padding: clamp(1.5rem,5.5vw,5rem) }
.auth-inner { width: 100%; max-width: 420px }
.auth-inner h1 { margin-top: .6rem }
.auth-inner p { margin: .9rem 0 1.5rem; max-width: 42ch }
.wide { width: 100%; min-height: 50px }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem }
.auth-links a { padding: .3rem 0 }

@media(max-width:940px) {
  :root { --rail: 186px }
  .sidebar { padding-inline: .55rem }
  .workspace { padding-inline: 1.2rem }
  td, th { padding-inline: .42rem }
}
@media(max-width:740px) {
  .sidebar { position: static; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 .4rem; padding: .85rem 1rem .6rem; overflow: visible }
  .brandlink { flex: none; align-self: center; margin: 0 }
  .admin-short { display: inline }
  .admin-long { display: none }
  .wordmark { font-size: 1.55rem }
  .brand-unit { display: none }
  .sidebar nav { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 3px; order: 3; margin-top: .65rem }
  .sidebar nav a { min-height: 40px; padding: .4rem .65rem; gap: .38rem; font-size: .875rem }
  .sidebar nav a[aria-current=page] { box-shadow: inset 0 -2px var(--lime) }
  .sidebar .nav-icon { display: none }
  .logout { margin: 0 0 0 auto; padding: 0; border: none; display: flex; align-items: center; gap: .35rem }
  .logout a { min-height: 38px; padding: .35rem; font-size: .8125rem }
  .workspace { margin: 0; padding: 0 1rem 2.5rem }
  .top { min-height: 48px; gap: .45rem; flex-wrap: wrap; padding-block: .5rem }
  .top > div { flex-basis: 100% }
  .top > button { flex-shrink: 0 }
  .top div { flex: 1 1 auto; gap: .4rem }
  .top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
  .top .period-switch { flex: 0 0 auto; max-width: 47%; font-size: .8125rem; padding-inline: 0 }
  #view { padding-top: 1.15rem }
  .page-head,.sect-head { flex-wrap: wrap }
  .page-head { margin-bottom: 1rem }
  .panel { padding: 1rem; border-radius: 12px }
  .tiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem }
  .tile { padding: .8rem .85rem }
  .tile:first-child { grid-column: 1/-1 }
  .tile strong { font-size: 1.5rem }
  .catalog-search { max-width: none }
  .product-name,.price-link { min-height: 32px; font-size: .9375rem }
  .quiet,.count-action { min-height: 44px }
  .table-scroll { overflow: visible }
  .catalog-table,.catalog-table tbody,.count-table,.count-table tbody { display: block }
  .catalog-table thead,.count-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
  .catalog-table tr,.count-table tr { border-top: 1px solid var(--line); padding: .72rem 0; display: grid; gap: .15rem .6rem }
  .catalog-table tr { grid-template-columns: minmax(0,1fr) auto }
  .catalog-table td,.count-table td { border: none; padding: 0; min-width: 0 }
  .catalog-table .name { grid-column: 1; grid-row: 1 }
  .catalog-table .price-cell,.catalog-table td:nth-child(2) { grid-column: 1; grid-row: 2; color: var(--green); overflow-wrap: anywhere }
  .catalog-table .offer-count { grid-column: 1; grid-row: 3 }
  .catalog-table .right { grid-column: 2; grid-row: 1/4; align-self: center }
  .count-table tr { grid-template-columns: repeat(3,minmax(0,1fr)) }
  .count-table .name { grid-column: 1/3; grid-row: 1; padding-bottom: .5rem }
  .count-table .right { grid-column: 3; grid-row: 1; align-self: start }
  .count-table td[data-label] { display: block; grid-row: 2; overflow-wrap: anywhere }
  .count-table td[data-label]:before { display: block; content: attr(data-label); color: var(--muted); font-size: .8125rem }
  .foot { flex-wrap: wrap }
  .auth { display: flex; flex-direction: column }
  .auth-art { padding: 1.6rem; gap: 1.6rem }
  .art-title { margin: 0 }
  .art-title h2 { font-size: 2.8rem }
  .shelves { display: none }
  .auth-form { padding: 2.25rem 1.5rem }
}
@media(max-width:420px) {
  .sidebar,.workspace { padding-inline: .7rem }
  .sidebar nav a { padding: .4rem .48rem }
  .panel { padding: .8rem }
  .logout { gap: 0 }
  .logout a { font-size: .8125rem }
  .page-head { align-items: flex-start }
  .page-head .primary { min-height: 44px }
  .count-table .name { grid-column: 1/3 }
}

/* A calm, welcoming start, with the next action always within reach. */
.on-start .simple-start{max-width:1040px;margin:32px auto}
.on-start .start-guide{background:transparent;border:0;box-shadow:none;padding:0!important}
.start-welcome{margin-bottom:28px}.start-welcome .eyebrow{color:#6e5c36}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.start-welcome h1,.start-welcome h2{font-size:clamp(28px,3.2vw,42px);letter-spacing:-.045em;margin:10px 0;color:#00332c}.start-welcome p{color:#4c5a54;margin:0;font-size:16px}
.start-actions{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;margin-bottom:36px}.start-actions:has(> :only-child){grid-template-columns:1fr}
.scan-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:linear-gradient(125deg,#00483e,#176554);color:#fff;border:0;border-radius:22px;padding:28px;gap:13px;box-shadow:0 10px 26px #00483e16;min-height:240px;position:relative;overflow:hidden}.scan-tile:hover{background:#003d34;transform:translateY(-2px)}.scan-tile:after{content:'';position:absolute;width:190px;height:190px;border:1px solid #ffffff16;border-radius:50%;right:-60px;top:-70px;pointer-events:none}.scan-tile strong{font-size:24px;letter-spacing:-.025em}.scan-tile>span:not(.scan-symbol){max-width:320px;font-size:14px}.scan-symbol{width:50px;height:50px;padding:10px;border-radius:14px;background:#ffffff18}.scan-symbol svg{width:100%;height:100%}.scan-tile .scan-go{margin-top:auto;font-weight:700;color:#e6edd1}
.start-progress{background:#fff;border:1px solid #e2dfd4;border-radius:22px;padding:28px;display:flex;flex-direction:column;justify-content:center;gap:20px}.start-progress .row-between{font-size:12px;color:#4c5a54;gap:12px;flex-wrap:wrap}.progress-copy{display:flex;align-items:center;justify-content:space-between;gap:12px}.progress-copy strong{font-size:30px}.progress-copy strong span{font-size:14px;display:block;font-weight:400;color:#4c5a54}.start-progress progress{appearance:none;width:100%;height:8px;border:0;border-radius:10px;overflow:hidden;background:#e7ede7}.start-progress progress::-webkit-progress-bar{background:#e7ede7}.start-progress progress::-webkit-progress-value{background:#26785e;border-radius:10px}.start-progress progress::-moz-progress-bar{background:#26785e}.start-progress .primary{display:flex;justify-content:space-between;align-items:center;background:#e7ede7;color:#00483e;border:0;min-height:48px}
.start-places h2{font-size:22px;margin:0}.start-places p{color:#4c5a54;margin:5px 0 0}.start-places>.row-between{gap:12px;margin-bottom:18px}.place-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.place-tile{display:flex;align-items:center;gap:14px;text-align:left;min-height:100px;padding:20px;background:#fff;border:1px solid #e2dfd4;border-radius:16px;color:#0e2320}.place-tile:hover{border-color:#548573;background:#f4f8f2;transform:translateY(-2px)}.place-tile strong{overflow-wrap:anywhere;font-size:16px}.place-symbol{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:13px;background:#f1ebdf;color:#6e5c36}.place-symbol svg{width:25px;height:25px}.cold .place-symbol{background:#e6f0ed;color:#256451}.snow .place-symbol{background:#eaf0f7;color:#3b6482}.stock .place-symbol{background:#eee9f3;color:#705a81}.place-arrow{margin-left:auto;color:#6e8178}.place-search{margin-bottom:16px}.start-more{margin-top:28px}.on-start .workspace{background:radial-gradient(ellipse at top right,#e9eee4 0,transparent 48%),#faf9f5}.scan-tile,.place-tile{transition:transform .15s,background .15s}
@media(max-width:700px){.on-start .simple-start{margin:18px auto}.start-welcome{margin-bottom:20px}.start-actions{grid-template-columns:1fr;gap:14px;margin-bottom:26px}.scan-tile{min-height:210px;padding:23px;border-radius:18px}.start-progress{padding:20px;gap:14px;border-radius:18px}.start-progress .progress-copy strong span{display:inline;margin-left:5px}.place-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.place-tile{padding:15px;gap:10px;min-height:98px;flex-wrap:wrap}.place-tile strong{flex:1 1 60px}.place-arrow{display:none}.start-places>.row-between{align-items:center}.start-places .quiet{font-size:12px;padding:10px}.start-welcome p{font-size:14px}.start-more summary{font-size:13px}}
@media(prefers-reduced-motion:reduce){.scan-tile,.place-tile{transition:none;transform:none!important}}
