:root{--bg:#f4f7f5;--surface:#fff;--ink:#17231f;--muted:#66756e;--line:#dce5e0;--brand:#126b4b;--brand-dark:#0c4e38;--brand-soft:#e4f3eb;--danger:#b42318;--warn:#9a6700;--shadow:0 16px 45px rgba(20,48,37,.08)}
*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}body{margin:0;min-height:100vh}a{color:inherit}button,input,select{font:inherit}.muted{color:var(--muted)}.small{font-size:13px}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.nowrap{white-space:nowrap}
.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:#10271f;color:#dcebe4;padding:26px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.logo{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:800;font-size:20px;padding:0 10px 28px}.logo-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#2aa675;color:white;font-size:14px}.logo small{display:block;color:#92b0a3;font-weight:500;font-size:11px;letter-spacing:.4px}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;text-decoration:none;color:#bcd1c8;font-size:14px}.nav a:hover,.nav a.active{background:rgba(255,255,255,.09);color:#fff}.nav-icon{width:20px;text-align:center}.side-bottom{margin-top:auto;padding:18px 8px 0;border-top:1px solid rgba(255,255,255,.1)}.side-bottom strong{display:block;color:#fff;font-size:14px;overflow:hidden;text-overflow:ellipsis}.side-bottom span{font-size:12px;color:#92b0a3}.logout{margin-top:12px;width:100%;padding:9px;border:1px solid rgba(255,255,255,.2);border-radius:9px;background:transparent;color:#e6f2ec;cursor:pointer}.logout:hover{background:rgba(255,255,255,.08)}
.main{min-width:0}.topbar{height:72px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.88);backdrop-filter:blur(12px);position:sticky;top:0;z-index:3}.topbar h1{font-size:18px;margin:0}.topbar p{font-size:12px;color:var(--muted);margin:2px 0 0}.menu-button{display:none;border:0;background:var(--brand-soft);color:var(--brand);border-radius:9px;padding:8px 10px}.content{padding:30px 34px 55px;max-width:1440px;margin:0 auto}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.hero h2{font-size:30px;letter-spacing:-1px;margin:0 0 8px}.hero p{margin:0;color:var(--muted)}
.grid{display:grid;gap:16px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.stat,.card{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.stat{padding:20px}.stat-label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.7px}.stat-value{display:block;font-size:27px;letter-spacing:-.7px;margin-top:8px}.stat-note{font-size:12px;color:var(--muted);margin-top:6px}.card{overflow:hidden}.card-head{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:14px}.card-head h3{margin:0;font-size:16px}.card-body{padding:20px}.two-col{grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;border:1px solid transparent;border-radius:10px;padding:10px 15px;font-weight:700;font-size:13px;cursor:pointer}.button.primary{background:var(--brand);color:#fff}.button.primary:hover{background:var(--brand-dark)}.button.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.button.danger{background:#fff;border-color:#f0c7c3;color:var(--danger)}.button.small{padding:7px 10px;font-size:12px}.button:disabled{opacity:.55;cursor:not-allowed}
.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;font-size:13px}.table th{text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.55px;padding:12px 16px;background:#f8faf9}.table td{padding:14px 16px;border-top:1px solid var(--line);vertical-align:middle}.table tr:hover td{background:#fbfdfc}.badge{display:inline-flex;border-radius:99px;padding:4px 9px;font-size:11px;font-weight:800}.badge.ok{background:#e4f6eb;color:#157347}.badge.off{background:#f8e9e7;color:var(--danger)}.badge.warn{background:#fff2cf;color:var(--warn)}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:700}.input,.select{width:100%;border:1px solid #ccd9d2;background:#fff;border-radius:10px;padding:11px 12px;color:var(--ink);outline:none}.input:focus,.select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(18,107,75,.12)}.help{font-size:12px;color:var(--muted);margin:0}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.alert{padding:13px 15px;border-radius:11px;margin-bottom:17px;font-size:13px}.alert.success{background:#e7f6ed;color:#12613f;border:1px solid #bfe4cf}.alert.error{background:#fff0ee;color:#9e241b;border:1px solid #f2c8c4}.alert.warn{background:#fff7df;color:#805b00;border:1px solid #f1dda0}.secret-box{background:#10271f;color:#eaf7f1;border-radius:13px;padding:16px;margin:13px 0}.secret-box code{display:block;overflow-wrap:anywhere;font-size:13px}.copy-row{display:flex;gap:10px;align-items:center;margin-top:12px}.empty{padding:40px;text-align:center;color:var(--muted)}
.filters{display:grid;grid-template-columns:1.4fr repeat(2,minmax(150px,.6fr)) auto;gap:10px}.price{font-weight:800;white-space:nowrap}.pagination{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-top:1px solid var(--line);font-size:13px}.code{background:#10271f;color:#dcf2e8;border-radius:12px;padding:15px 17px;overflow:auto;font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.docs h3{margin:28px 0 8px}.docs p,.docs li{color:#4f6259;line-height:1.65}.docs code:not(.block){background:#e8efeb;padding:2px 5px;border-radius:4px;font-size:.9em}
.login-page{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.75fr);min-height:100vh}.login-brand{background:linear-gradient(145deg,#0d2b21,#126b4b);color:white;padding:64px;display:flex;flex-direction:column;justify-content:space-between}.login-brand h1{font-size:clamp(38px,5vw,68px);line-height:1.03;letter-spacing:-2.5px;max-width:620px;margin:28px 0}.login-brand p{color:#c4dbd1;max-width:520px;font-size:17px}.login-facts{display:flex;gap:30px;color:#c4dbd1;font-size:13px}.login-facts strong{display:block;color:#fff;font-size:20px}.login-panel{display:grid;place-items:center;padding:35px;background:#fff}.login-box{width:min(390px,100%)}.login-box h2{font-size:28px;margin:0 0 8px}.login-box>p{margin:0 0 28px;color:var(--muted)}.login-box form{display:grid;gap:15px}.login-box .button{width:100%;margin-top:3px;padding:12px}.login-note{font-size:12px;color:var(--muted);margin-top:22px;line-height:1.6}
@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}.filters .button{width:100%}.login-page{grid-template-columns:1fr}.login-brand{display:none}}
@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;z-index:10;inset:0 auto 0 0;width:260px;transform:translateX(-105%);transition:.2s}.sidebar.open{transform:translateX(0)}.menu-button{display:block}.topbar{padding:0 18px}.content{padding:22px 17px 40px}.hero{align-items:flex-start;flex-direction:column}.hero h2{font-size:25px}.stats{grid-template-columns:1fr 1fr}.form-grid,.filters{grid-template-columns:1fr}.field.full{grid-column:auto}.login-panel{padding:24px}}
@media(max-width:430px){.stats{grid-template-columns:1fr}.stat{padding:16px}.login-facts{gap:16px}.topbar p{display:none}}

/* Professional partner catalog */
.eyebrow{display:inline-block;margin-bottom:8px;color:var(--brand);font-size:11px;font-weight:800;letter-spacing:1.15px;text-transform:uppercase}.catalog-hero{align-items:center;margin-bottom:20px}.catalog-hero h2{margin-bottom:7px}.catalog-hero p{max-width:690px;line-height:1.55}.catalog-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.live-status{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #cde8d8;border-radius:10px;background:#f1faf5;color:#176946;font-size:12px;font-weight:750;white-space:nowrap}.live-status i,.status-dot,.availability i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22a66f;box-shadow:0 0 0 4px rgba(34,166,111,.12)}
.catalog-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}.catalog-metric{display:flex;align-items:center;gap:13px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.8);box-shadow:0 8px 28px rgba(20,48,37,.045)}.catalog-metric-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;font-size:19px;font-weight:800}.catalog-metric-icon.tone-green{background:#e5f5ed;color:#10734d}.catalog-metric-icon.tone-blue{background:#e8f1ff;color:#285fa8}.catalog-metric-icon.tone-purple{background:#f1eafe;color:#7448a8}.catalog-metric strong{display:block;font-size:20px;line-height:1.1;letter-spacing:-.35px}.catalog-metric div span{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.catalog-filter-card{margin-bottom:16px;overflow:visible}.catalog-filter-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:19px 20px 0}.catalog-filter-heading h3{margin:0;font-size:15px}.catalog-filter-heading p,.catalog-list-heading p{margin:4px 0 0;color:var(--muted);font-size:12px}.filter-reset{color:var(--brand);font-size:12px;font-weight:750;text-decoration:none}.filter-reset:hover{text-decoration:underline}.catalog-filters{display:grid;grid-template-columns:minmax(280px,1.5fr) minmax(170px,.7fr) minmax(170px,.7fr) auto;gap:12px;align-items:end;padding:16px 20px}.catalog-filters>label{display:grid;gap:7px}.catalog-filters>label>span{font-size:11px;font-weight:800;color:#40544b}.input-with-icon{position:relative}.input-with-icon i{position:absolute;z-index:1;left:14px;top:50%;width:14px;height:14px;border:1.8px solid #71827a;border-radius:50%;transform:translateY(-57%)}.input-with-icon i:after{content:"";position:absolute;width:6px;height:1.8px;background:#71827a;right:-5px;bottom:-2px;transform:rotate(45deg);border-radius:2px}.input-with-icon .input{padding-left:41px}.catalog-filter-submit{min-height:42px}.catalog-filter-result{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 20px;border-top:1px solid var(--line);background:#fafcfb;color:var(--muted);font-size:12px;border-radius:0 0 16px 16px}.catalog-filter-result strong{color:var(--ink)}.filter-count{padding:4px 8px;border-radius:99px;background:var(--brand-soft);color:var(--brand);font-weight:800}
.catalog-list-card{overflow:hidden}.catalog-list-heading{padding:17px 20px}.catalog-list-heading>div:first-child{min-width:0}.catalog-list-heading .badge{align-items:center;gap:8px;padding:7px 10px;white-space:nowrap}.catalog-table{table-layout:auto}.catalog-table th{padding:12px 14px;background:#f7faf8;color:#6e7d76}.catalog-table td{padding:15px 14px}.catalog-table tbody tr{transition:background .15s ease}.catalog-table tbody tr:hover td{background:#f8fcfa}.product-identity{display:flex;align-items:center;gap:12px;min-width:220px}.product-mark{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;font-size:12px;font-weight:900;letter-spacing:.25px}.product-mark.tone-1{background:#e2f4eb;color:#0f7550}.product-mark.tone-2{background:#e8f1ff;color:#275d9f}.product-mark.tone-3{background:#fff0dd;color:#9b5a08}.product-mark.tone-4{background:#f2eafd;color:#7042a2}.product-mark.tone-5{background:#ffe8ea;color:#a13d49}.product-mark.tone-6{background:#e7f5f6;color:#14717a}.product-identity strong{display:block;max-width:360px;font-size:13px;line-height:1.4}.product-identity div>span{display:block;margin-top:3px;color:var(--muted);font-size:11px}.sku-box{display:inline-flex;align-items:center;max-width:100%;border:1px solid #dce5e0;border-radius:8px;background:#f7faf8;overflow:hidden}.sku-box code{display:block;max-width:145px;padding:7px 8px;color:#3e5148;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sku-box button{align-self:stretch;padding:0 8px;border:0;border-left:1px solid #dce5e0;background:#fff;color:var(--brand);font-size:10px;font-weight:800;cursor:pointer}.sku-box button:hover,.sku-box button.copied{background:var(--brand-soft)}.category-pill{display:inline-flex;max-width:165px;padding:5px 8px;border-radius:7px;background:#eef3f0;color:#43564d;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-type{display:block;max-width:150px;color:#53645c;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catalog-price{display:flex;align-items:baseline;gap:4px;white-space:nowrap}.catalog-price span{color:var(--muted);font-size:10px;font-weight:700}.catalog-price strong{font-size:14px;letter-spacing:-.15px}.availability{display:inline-flex;align-items:center;gap:8px;color:#187047;font-size:11px;font-weight:800;white-space:nowrap}.availability i{width:6px;height:6px;box-shadow:none}.catalog-mobile-list{display:none}
.catalog-pagination{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 18px;border-top:1px solid var(--line);background:#fcfdfc}.catalog-pagination>div:first-child{display:flex;gap:5px;color:var(--ink);font-size:12px}.catalog-pagination>div:first-child span{color:var(--muted)}.page-buttons{display:flex;align-items:center;gap:5px}.page-button{display:grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#405149;font-size:12px;font-weight:750;text-decoration:none}.page-button:hover{border-color:#9ecab7;color:var(--brand)}.page-button.active{border-color:var(--brand);background:var(--brand);color:#fff}.page-button.disabled{opacity:.42}.page-arrow{font-size:19px;line-height:1}.page-ellipsis{padding:0 4px;color:var(--muted)}.catalog-empty{padding:64px 24px;text-align:center}.catalog-empty-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:17px;background:var(--brand-soft);color:var(--brand);font-size:27px}.catalog-empty h3{margin:0 0 7px;font-size:18px}.catalog-empty p{margin:0 auto 18px;color:var(--muted);font-size:13px}
@media(max-width:1180px){.catalog-filters{grid-template-columns:1fr 1fr}.catalog-search-field{grid-column:1/-1}.catalog-filter-submit{width:100%}.catalog-table th,.catalog-table td{padding-left:11px;padding-right:11px}.product-identity{min-width:190px}}
@media(max-width:760px){.catalog-hero{gap:16px}.catalog-hero-actions{justify-content:flex-start}.catalog-overview{grid-template-columns:1fr}.catalog-metric{padding:14px 15px}.catalog-filters{grid-template-columns:1fr;padding:15px}.catalog-search-field{grid-column:auto}.catalog-filter-heading{padding:17px 15px 0}.catalog-filter-result{align-items:flex-start;flex-direction:column;padding:11px 15px}.catalog-desktop-table{display:none}.catalog-mobile-list{display:grid}.product-mobile-card{padding:17px;border-top:1px solid var(--line);background:#fff}.product-mobile-card:first-child{border-top:0}.product-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.product-mobile-head .product-identity{min-width:0}.product-mobile-head .product-identity strong{font-size:13px}.product-mobile-head .availability{padding-top:4px}.product-mobile-meta{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.product-mobile-bottom{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(150px,1fr);gap:12px;padding-top:13px;border-top:1px dashed var(--line)}.mobile-label{display:block;margin-bottom:6px;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.45px}.product-mobile-bottom .sku-box{width:100%}.product-mobile-bottom .sku-box code{flex:1}.catalog-pagination{align-items:flex-start;flex-direction:column}.page-buttons{width:100%;justify-content:center;flex-wrap:wrap}}
@media(max-width:430px){.catalog-hero-actions{width:100%}.catalog-hero-actions .button{flex:1}.live-status{width:100%;justify-content:center}.catalog-list-heading{align-items:flex-start}.catalog-list-heading .badge{display:none}.product-mobile-head{display:block}.product-mobile-head .availability{margin:10px 0 0 52px}.product-mobile-bottom{grid-template-columns:1fr}.page-button{min-width:30px;height:30px}}
