@font-face{font-family:DM Sans;src:url('/assets/dm-sans.woff2') format('woff2');font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:Manrope;src:url('/assets/manrope.woff2') format('woff2');font-style:normal;font-weight:400 800;font-display:swap}
:root{color-scheme:light;--bg:#f6f7f3;--surface:#fff;--ink:#17231b;--muted:#58645b;--line:#e1e6dd;--green:#294d32;--green-dark:#203a28;--green-light:#e9f1e4;--green-strong:#3d6e34;--focus:#315b49;--radius:17px}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:22px}
body{margin:0;background:var(--bg);color:var(--ink);font:500 1rem/1.5 'DM Sans',system-ui,sans-serif}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
button,select{cursor:pointer}
button{border:0}
button:disabled{cursor:wait;opacity:.62}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
h1,h2,h3,p{margin:0}
h1,h2,h3,.brand,strong{font-family:Manrope,system-ui,sans-serif}
svg{display:block;width:1em;height:1em;flex:none}
[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);border:0}
.skip:focus{position:fixed;left:1rem;top:1rem;z-index:5;background:white;padding:.7rem 1rem;border-radius:.5rem}
.shell{width:min(100% - 88px,1320px);margin-inline:auto}
.site-header{background:var(--surface);border-bottom:1px solid var(--line)}
.header-inner{min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
.brand{font-size:1.43rem;font-weight:800;letter-spacing:-.06em;display:inline-flex;align-items:center;gap:9px;justify-self:start;white-space:nowrap}
.brand-mark{height:36px;width:36px;border-radius:10px;background:#dcead4;color:#315b38;font-size:1.33rem}
.brand-secondary{color:#4a6947}
.site-nav{display:flex;align-items:center;gap:6px;min-width:0}
.site-nav a{padding:9px 13px;border-radius:8px;display:flex;align-items:center;gap:8px;white-space:nowrap;color:#526055;font-size:.9rem;font-weight:700}
.site-nav a:hover,.site-nav a[aria-current]{background:#edf3e8;color:#28432b}
.site-nav a svg{font-size:.98rem}
.nav-count{background:#dcead4;color:#2d4b29;min-width:1.3rem;text-align:center;border-radius:1rem;font-size:.75rem}
.live-pill{justify-self:end;display:flex;align-items:center;gap:8px;padding:6px 11px;border:1px solid #dce8d7;border-radius:100px;background:#f2f7ef;color:#335e34;font-size:.81rem;font-weight:700;white-space:nowrap}
.dot{width:7px;height:7px;border-radius:50%;background:#76a663;flex:none}
.live-pill.warn{border-color:#e9dfc8;background:#fbf6e8;color:#6b542b}
.live-pill.warn .dot{background:#b89545}
.main-shell{min-height:calc(100vh - 169px);padding-top:29px;padding-bottom:58px}
.hero{min-height:365px;display:flex;align-items:center;overflow:hidden;position:relative;isolation:isolate;border-radius:24px;background:#e8f1dc;border:1px solid #dce9d3}
.hero-art{position:absolute;inset:0 0 0 33%;z-index:-1;background-image:linear-gradient(90deg,#e8f1dc 0%,rgba(232,241,220,0) 37%),url('/assets/hero.webp');background-repeat:no-repeat;background-size:cover;background-position:center 55%}
.hero-copy{padding:34px 0 34px clamp(35px,5.25vw,76px);width:min(580px,60%)}
.hero-label{color:#426047;font-size:.75rem;font-weight:700;letter-spacing:.11em;display:flex;align-items:center;gap:8px;margin-bottom:16px}
.hero-label svg{font-size:1.1rem;stroke-width:2}
.hero h1{font-size:clamp(2.6rem,4.6vw,4.18rem);line-height:1.035;letter-spacing:-.07em;font-weight:800;color:#1c2a1e}
.hero h1 em{font-style:normal;color:var(--green-strong)}
.hero p{max-width:380px;color:#425147;margin:16px 0 23px;font-size:1rem;line-height:1.6}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:fit-content;padding:10px 15px;border-radius:9px;border:1px solid transparent;font-size:.89rem;font-weight:700;line-height:1.35;white-space:nowrap;transition:background .16s,border-color .16s;color:inherit}
.button svg{font-size:1.05rem}
.button.primary{background:var(--green-dark);color:#fff;border-color:var(--green-dark)}
.button.primary:hover{background:#365740;border-color:#365740}
.button.secondary{border-color:var(--line);background:#fff;color:#354b3a}
.button.secondary:hover{background:#eef4eb;border-color:#cddcc9}
.button.danger{background:#fff;color:#8a3836;border-color:#edd9d6}
.button.danger:hover{background:#fbefed}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:18px}
.metric{display:flex;align-items:flex-start;gap:13px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:16px 17px;min-width:0}
.metric-icon{width:42px;height:42px;border-radius:10px;font-size:1.17rem}
.tint-lime{background:#e8f1dc;color:#54774b}.tint-mint{background:#e6f4ea;color:#43855d}.tint-blue{background:#e9f0f8;color:#51749b}.tint-lilac{background:#f0edf8;color:#736498}
.metric h2{color:#566258;font:700 .88rem/1.35 'DM Sans',system-ui,sans-serif}
.metric strong{display:block;margin:2px 0;font-size:1.62rem;line-height:1.2;font-weight:800;letter-spacing:-.055em;font-variant-numeric:tabular-nums}
.metric p{color:var(--muted);font-size:.76rem;line-height:1.35}
.catalog{margin-top:37px;scroll-margin-top:0}
.product-list + .load-more{display:flex;margin:24px auto 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:17px}
.section-head h1,.section-head h2{font-size:clamp(1.7rem,2.4vw,2.23rem);font-weight:800;line-height:1.13;letter-spacing:-.06em}
.section-head p{margin-top:6px;color:var(--muted);font-size:.95rem}
.toolbar{padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.category-buttons{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding-bottom:11px}
.category-buttons button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 10px;background:transparent;border-radius:7px;color:#566258;font-size:.83rem;font-weight:700;white-space:nowrap}
.category-buttons button:hover{background:#f3f5ef;color:#29452c}
.category-buttons button[aria-pressed=true]{background:#e7f0e2;color:#2b4d2e}
.category-buttons svg{font-size:1rem;stroke-width:1.8}
.controls{display:flex;align-items:center;gap:10px}
.search-field,.select-field{display:flex;align-items:center;gap:8px;min-width:0;position:relative;border:1px solid #e1e7de;background:#fafbf8;border-radius:8px;min-height:42px;color:#58665b}
.search-field{flex:1;padding:0 11px}
.search-field:focus-within,.select-field:focus-within{border-color:#6c8c68}
.search-field input{padding:8px 0;outline:0;background:none;border:0;width:100%;min-width:0;font-size:.9rem}
.search-field input::placeholder{color:#647267}
.search-field kbd{font:600 .75rem 'DM Sans',sans-serif;min-width:20px;text-align:center;line-height:19px;border:1px solid #e3e7df;border-radius:4px;color:#626e64;background:#fff}
.select-field{flex:none;padding:0 10px;font-size:.88rem}
.select-field > [data-icon]{pointer-events:none}
.select-field select{appearance:none;outline:0;border:0;padding:7px 20px 7px 0;margin-right:-18px;border-radius:8px;background:transparent;font-weight:600;min-width:106px;max-width:205px}
.select-field > [data-icon]:last-child{font-size:.94rem}
.switch-field{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:0 3px 0 5px;color:#4f5c52;font-size:.88rem;font-weight:700;cursor:pointer}
.switch-field input{appearance:none;position:absolute;opacity:0}
.switch-track{width:32px;height:18px;border-radius:100px;background:#d9e3d8;position:relative}
.switch-track::after{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #25352440;transition:transform .16s}
.switch-field input:checked + .switch-track{background:#467b47}
.switch-field input:checked + .switch-track::after{transform:translateX(14px)}
.switch-field input:focus-visible + .switch-track{outline:2px solid var(--focus);outline-offset:3px}
.result-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}
.result-bar p{color:var(--muted);font-size:.88rem}
.result-actions{display:flex;align-items:center;gap:8px}
.sort-field{min-height:34px;background:transparent;border-color:transparent;padding-left:6px}
.sort-field select{min-width:105px;font-size:.83rem}
.layout-buttons{display:flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:8px;background:#fff}
.layout-buttons button{width:30px;height:27px;border-radius:5px;background:none;color:#647167;font-size:1rem}
.layout-buttons button:hover,.layout-buttons button[aria-pressed=true]{background:#e8f0e3;color:#355638}
.product-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.product-card{display:flex;flex-direction:column;min-width:0;background:white;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);transition:box-shadow .16s,border-color .16s}
.product-card:hover{border-color:#cfdcc9;box-shadow:0 6px 18px #2c442311}
.product-media{height:161px;position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden;background:#eaf1e4;color:#547454}
.product-media[data-category=compute]{background:#e9f0ed}.product-media[data-category=pico]{background:#f0eef6;color:#7a6d9d}.product-media[data-category=optics]{background:#eaf0f6;color:#577394}.product-media[data-category=hats]{background:#f1eee8;color:#897646}.product-media[data-category=power]{background:#f2efe9;color:#86704e}
.product-media .picture{position:absolute;inset:16px 28px;width:calc(100% - 56px);height:calc(100% - 32px);object-fit:contain;mix-blend-mode:multiply;pointer-events:none}
.product-media > .placeholder{font-size:3.35rem}
.product-media > .placeholder svg{stroke-width:1.25}
.media-open{position:absolute;inset:0;z-index:1;border:0;background:none}
.status-chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#f0f1ee;color:#536055;padding:4px 8px;border-radius:100px;font-size:.75rem;font-weight:700}
.status-chip .dot{height:6px;width:6px;background:#7e887f}
.status-in{background:#e8f5e7;color:#33683a}.status-in .dot{background:#569850}
.status-out{background:#f9eee9;color:#794a3d}.status-out .dot{background:#b36c58}
.status-preorder{background:#f9f3de;color:#735d2d}.status-preorder .dot{background:#b4964b}
.product-media .status-chip{position:absolute;z-index:2;top:11px;left:11px;pointer-events:none;border:1px solid #ffffffa9}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:#ffffffeb;color:#475c49;border:1px solid #dce6d9;font-size:1.04rem;flex:none}
.icon-button:hover,.icon-button[aria-pressed=true]{background:#dcead5;color:#2b5831;border-color:#d1e0cc}
.icon-button[aria-pressed=true] svg{fill:#8bb182}
.media-bookmark{position:absolute;z-index:2;top:10px;right:10px}
.product-body{padding:13px;flex:1;display:flex;flex-direction:column;gap:5px;min-width:0}
.product-category{font-size:.75rem;font-weight:700;color:#5a705c}
.product-title{font-size:.99rem;font-weight:800;line-height:1.3;letter-spacing:-.027em}
.product-title button{font:inherit;text-align:left;background:none;padding:0}
.product-title button:hover{text-decoration:underline;text-underline-offset:3px}
.product-summary{color:var(--muted);font-size:.79rem;line-height:1.4;margin-top:2px}
.card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf0ea;margin-top:auto;padding-top:9px;color:#58665c;font-size:.75rem}
.card-foot strong{color:#203525;font-size:.91rem;white-space:nowrap}
.card-foot span{white-space:nowrap}
.product-body .card-foot:not(:first-child){margin-top:6px}
.product-list.is-list{grid-template-columns:1fr;gap:7px}
.is-list .product-card{flex-direction:row;align-items:stretch}
.is-list .product-media{width:134px;height:auto;min-height:91px;flex:none;border-right:1px solid var(--line)}
.is-list .product-media .picture{inset:7px 15px;width:calc(100% - 30px);height:calc(100% - 14px)}
.is-list .product-media .status-chip{top:auto;bottom:5px;left:5px;font-size:.66rem}
.is-list .media-bookmark{right:5px;top:5px;width:27px;height:27px;font-size:.86rem}
.is-list .product-body{display:grid;grid-template-columns:1fr auto;align-content:center;column-gap:12px}
.is-list .product-body > :not(.card-foot){grid-column:1}
.is-list .card-foot{grid-column:2;grid-row:1 / span 3;align-self:stretch;border:0;margin:0;padding:0 5px 0 0}
.empty{grid-column:1/-1;min-height:160px;border:1px dashed #d7e0d4;border-radius:var(--radius);background:#fbfcfa;text-align:center;display:grid;justify-items:center;align-content:center;gap:7px;color:var(--muted);padding:19px;font-size:.92rem}
.empty h3{color:var(--ink);font-size:1.05rem}
.empty-icon{width:39px;height:39px;background:#e8f0e3;border-radius:10px;color:#48734d;font-size:1.2rem}
.empty .button{margin-top:6px}
.sources-section{margin:10px 0}
.source-summary{color:var(--muted);margin:10px 0 19px;font-size:.92rem}
.source-summary a,.help a{text-decoration:underline;text-underline-offset:3px}
.source-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.source-card{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:15px;display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:start}
.source-card h2{font-size:1rem;letter-spacing:-.025em}
.source-card p{color:var(--muted);font-size:.82rem;grid-column:1/-1}
.source-card h2 a:hover{text-decoration:underline}
.site-footer{border-top:1px solid var(--line);background:#f9faf7;color:var(--muted)}
.footer-inner{display:flex;align-items:center;gap:16px;padding-block:20px;font-size:.86rem}
.footer-inner .brand{color:var(--ink)}
.footer-inner .brand-mark{width:29px;height:29px;font-size:1rem;border-radius:7px}
.footer-links{margin-left:auto;display:flex;align-items:center;gap:16px}
.footer-links a{display:flex;align-items:center;gap:5px}
.footer-links a:hover{text-decoration:underline;text-underline-offset:2px}
dialog{max-width:min(800px,calc(100% - 28px));width:100%;max-height:calc(100dvh - 30px);border:1px solid #dbe5d8;border-radius:19px;padding:0;background:white;color:var(--ink);box-shadow:0 25px 85px #182e2440}
dialog::backdrop{background:#14291fb3;backdrop-filter:blur(3px)}
.detail-head{position:sticky;z-index:4;top:0;background:#f3f7ef;min-height:98px;padding:17px 20px;display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line)}
.detail-head .detail-image{width:76px;height:61px;object-fit:contain;mix-blend-mode:multiply}
.detail-head h2{font-size:1.55rem;font-weight:800;letter-spacing:-.05em;line-height:1.18}
.detail-head p{color:var(--muted);font-size:.85rem}
.detail-head .close-detail{margin-left:auto}
.detail-inner{padding:17px 20px 20px}
.detail-tools{display:flex;justify-content:space-between;gap:9px;align-items:center;margin-bottom:11px}
.detail-tools p{font-size:.85rem;color:var(--muted)}
.offer-list,.history-list{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.offer-row,.history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;border:1px solid var(--line);border-radius:9px;padding:8px 10px}
.offer-row .offer-name,.history-row .offer-name{font-weight:700;font-size:.91rem}
.offer-row p,.history-row p{color:var(--muted);font-size:.79rem}
.offer-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}
.offer-price{font-size:.88rem;font-weight:700;white-space:nowrap;text-align:right}
.offer-price small{display:block;font:500 .69rem 'DM Sans',sans-serif;color:var(--muted)}
.offer-row .button{font-size:.79rem;padding:6px 9px}
.detail-inner h3{margin:17px 0 6px;font-size:1.03rem}
.detail-note{font-size:.82rem;color:var(--muted);margin:8px 0}
.toast{position:fixed;z-index:5;bottom:20px;right:20px;max-width:calc(100% - 40px);padding:10px 14px;background:var(--green-dark);color:white;border-radius:9px;font-size:.9rem;box-shadow:0 8px 25px #223a2540}
.admin-main{max-width:1060px}
.admin-panel{padding:20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin:16px 0}
.admin-login{max-width:440px;margin-inline:auto}
.admin-panel h2{font-size:1.2rem;letter-spacing:-.036em}
.admin-panel form{display:grid;gap:12px;margin-top:12px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-grid .wide{grid-column:1/-1}
.form-field{display:grid;gap:4px;font-size:.9rem;font-weight:700}
.form-field input:not([type=checkbox]),.form-field select{width:100%;padding:8px 9px;border:1px solid #dce5da;border-radius:7px;background:#fbfcfa;font-weight:500;min-width:0}
.help{color:var(--muted);font-size:.82rem;font-weight:500}
.form-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.form-error{color:#963e39;font-size:.87rem;font-weight:700}
.form-success{color:#346340;font-size:.87rem;font-weight:700}
.admin-list{display:grid;gap:6px}
.admin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:9px 11px;border:1px solid var(--line);border-radius:10px}
.admin-row p{color:var(--muted);font-size:.82rem;overflow-wrap:anywhere}
.admin-row h3{font-size:.97rem}
.admin-row h3 span{margin-left:5px}
.admin-row .button{padding:6px 9px;font-size:.78rem}
.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:10px}
@media (max-width:1100px){
  .shell{width:calc(100% - 56px)}
  .hero-copy{width:64%}
  .metric{padding:12px}
}
@media (max-width:900px){
  .shell{width:calc(100% - 38px)}
  .product-list,.source-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero{min-height:330px}
  .hero-copy{padding-left:29px}
  .hero-art{left:28%}
  .metric{gap:7px}
  .metric-icon{width:33px;height:33px}
  .site-nav a{padding-inline:8px}
}
@media (max-width:690px){
  .header-inner{padding-top:9px;min-height:0;grid-template-columns:1fr auto;gap:6px}
  .site-nav{grid-row:2;grid-column:1/-1;justify-content:space-between;padding-bottom:5px}
  .site-nav a{font-size:.82rem}
  .live-pill{grid-row:1;grid-column:2}
  .brand{font-size:1.24rem}
  .brand-mark{width:31px;height:31px;font-size:1.12rem}
  .main-shell{padding-top:15px}
  .hero{min-height:0}
  .hero-copy{padding:23px 15px 210px 19px;width:100%}
  .hero-art{inset:39% 0 0;background-image:linear-gradient(180deg,#e8f1dc 0%,rgba(232,241,220,0) 27%),url('/assets/hero.webp');background-position:center 59%}
  .hero h1{font-size:clamp(2.45rem,9vw,3.8rem)}
  .hero p{margin:9px 0 13px;font-size:.93rem;max-width:310px}
  .hero-label{font-size:.70rem;margin-bottom:10px}
  .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
  .metric{padding:11px 8px}
  .metric strong{font-size:1.45rem}
  .catalog{margin-top:24px}
  .section-head{align-items:flex-start;flex-wrap:wrap}
  .section-head p{font-size:.88rem}
  .category-buttons{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
  .controls{flex-wrap:wrap}
  .search-field{flex-basis:100%}
  .search-field kbd{display:none}
  .switch-field{margin-left:auto}
  .product-list,.source-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .product-media{height:120px}
  .product-body{padding:9px}
  .card-foot{flex-wrap:wrap;gap:2px 6px}
  .is-list .product-media{width:102px}
  .is-list .card-foot{align-items:flex-start;justify-content:center;flex-direction:column}
  .offer-actions{gap:4px}
  .offer-row .status-chip{order:2}
  .detail-head h2{font-size:1.18rem}
  .detail-head,.detail-inner{padding-inline:12px}
  .footer-inner{flex-wrap:wrap;gap:8px 12px}
  .footer-links{margin:0}
  .form-grid{grid-template-columns:1fr}
}
@media (max-width:375px){
  .shell{width:calc(100% - 24px)}
  .product-media .status-chip{top:7px;left:5px;font-size:.68rem}
  .media-bookmark{right:5px;top:6px;width:29px;height:29px}
  .toolbar{padding:8px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
#logout{justify-self:end}
.admin-search{margin:0 0 7px}
#stores-status{margin:0 0 10px}
#remove-dialog{max-width:min(475px,calc(100% - 28px))}
#remove-dialog h2{font-size:1.2rem}
#remove-dialog .form-actions{margin-top:14px}
@media (max-width:690px){#logout{grid-column:2;grid-row:1}}
.switch-field{position:relative}
.switch-field input{inset:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}
@media(min-width:691px){
  .hero{min-height:347px}
  .hero h1{font-size:clamp(2.6rem,4.35vw,3.8rem)}
  .hero-copy{padding-block:29px}
  .hero p{margin-block:13px 18px;max-width:410px}
  .hero-art{background-size:100% 100%,auto 136%;background-position:center,right 54%}
  .catalog{margin-top:29px}
}
.product-media:has(.picture:not([hidden])) > .placeholder{visibility:hidden}
@media(min-width:1000px){
  .category-buttons{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
  .category-buttons button{padding-inline:7px}
}
