:root{--ink:#15233a;--navy:#10253f;--blue:#194f7a;--sky:#e9f3f8;--gold:#f3b33d;--gold-dark:#c67a0b;--paper:#fff;--mist:#f5f7fa;--line:#dce2e9;--muted:#667085;--success:#176b45;--danger:#9d2f2f;--shadow:0 14px 40px rgba(16,37,63,.10);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--mist);font-size:16px;line-height:1.55}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--mist)}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}button,.button{cursor:pointer}.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;padding:.75rem;z-index:999}.skip-link:focus{left:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.utility{min-height:34px;background:#08182b;color:#dce7f3;display:flex;justify-content:flex-end;align-items:center;gap:1.2rem;padding:.35rem max(1rem,calc((100vw - 1380px)/2));font-size:.82rem}.utility span{margin-right:auto}.header-main{background:var(--navy);color:#fff;display:grid;grid-template-columns:auto minmax(280px,720px) auto;gap:2rem;align-items:center;padding:1.1rem max(1rem,calc((100vw - 1380px)/2))}.wordmark{font-weight:900;letter-spacing:.05em;font-size:1.22rem;white-space:nowrap}.wordmark span{color:var(--gold)}.search-form{display:flex;background:#fff;border-radius:9px;overflow:hidden;border:2px solid transparent}.search-form:focus-within{border-color:var(--gold)}.search-form input{flex:1;border:0;padding:.82rem 1rem;min-width:0;color:var(--ink);outline:0}.search-form button{border:0;background:var(--gold);color:#1d2632;font-weight:800;padding:0 1.25rem}.header-actions{display:flex;gap:1rem;align-items:center;font-weight:650}.header-actions select{background:#fff;color:var(--ink);border:0;border-radius:6px;padding:.45rem}.cart-link span{display:inline-grid;place-items:center;background:var(--gold);color:#172034;border-radius:50%;min-width:1.6rem;height:1.6rem}.department-nav{background:#fff;border-bottom:1px solid var(--line);display:flex;gap:1.45rem;padding:.8rem max(1rem,calc((100vw - 1380px)/2));overflow:auto;white-space:nowrap;font-size:.94rem;font-weight:700}.department-nav a:hover{color:var(--blue)}.site-main{max-width:1380px;margin:0 auto;padding:2rem 1rem 4rem;min-height:65vh}.hero{background:linear-gradient(115deg,#10253f 0%,#164a6b 62%,#307b91 100%);border-radius:20px;color:#fff;padding:clamp(2rem,5vw,4.75rem);min-height:360px;display:grid;align-items:center;position:relative;overflow:hidden;box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;width:420px;height:420px;right:-120px;top:-180px;border:70px solid rgba(243,179,61,.32);border-radius:50%}.hero-copy{max-width:690px;position:relative;z-index:1}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:.78rem;font-weight:850;color:var(--gold-dark);margin:0 0 .6rem}.hero .eyebrow{color:#ffd98f}.hero h1{font-size:clamp(2.5rem,6vw,5rem);line-height:.98;letter-spacing:-.05em;margin:.25rem 0 1.1rem;max-width:12ch}.hero p{font-size:1.1rem;max-width:58ch;color:#e9f3f8}.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.7rem}.button{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:8px;background:var(--gold);color:#162337;font-weight:800;padding:.78rem 1.05rem;min-height:44px}.button:hover{background:#ffc55d}.button.secondary{background:#fff;color:var(--navy);border:1px solid var(--line)}.button.danger{background:var(--danger);color:#fff}.button.small{font-size:.9rem;padding:.5rem .75rem;min-height:36px}.section{margin-top:3rem}.section-header{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}.section h2,.page-header h1{font-size:clamp(1.65rem,3vw,2.4rem);line-height:1.1;letter-spacing:-.035em;margin:0}.page-header{margin-bottom:1.5rem}.page-header p{color:var(--muted);max-width:70ch}.department-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.75rem}.department-tile{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.2rem;font-weight:780;min-height:96px;display:flex;align-items:end;transition:.15s}.department-tile:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:var(--shadow)}.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:1rem}.product-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.product-card:hover{box-shadow:var(--shadow);border-color:#bdc8d5}.product-image,.product-placeholder{aspect-ratio:1.14/1;background:#eef2f5;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.product-placeholder{color:#8a96a6;text-align:center;padding:2rem;font-weight:750}.product-info{padding:1rem;display:flex;flex-direction:column;gap:.45rem;flex:1}.product-meta{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.product-card h3{font-size:1rem;line-height:1.32;margin:0}.price{font-size:1.1rem;font-weight:850;margin-top:auto}.price.missing{color:var(--muted);font-size:.92rem}.badge{display:inline-flex;width:max-content;border-radius:999px;padding:.23rem .55rem;font-size:.76rem;font-weight:800;background:var(--sky);color:var(--blue)}.empty-state{background:#fff;border:1px dashed #b8c3ce;border-radius:14px;padding:2.5rem;text-align:center;color:var(--muted)}.shop-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:1.5rem}.filters{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1rem;height:max-content;position:sticky;top:1rem}.filters label,.form-grid label{display:flex;flex-direction:column;gap:.35rem;font-weight:700;color:#344054}.filters input,.filters select,.form-grid input,.form-grid select,.form-grid textarea,.field{width:100%;border:1px solid #bfc9d4;border-radius:7px;background:#fff;padding:.68rem .75rem;color:var(--ink)}.filters input:focus,.filters select:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.field:focus{outline:3px solid rgba(25,79,122,.16);border-color:var(--blue)}.filters>*+*{margin-top:.85rem}.shop-toolbar{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem}.pagination{display:flex;gap:.45rem;justify-content:center;margin-top:2rem}.pagination a,.pagination span{background:#fff;border:1px solid var(--line);border-radius:6px;padding:.5rem .75rem}.product-detail{display:grid;grid-template-columns:minmax(320px,1fr) minmax(320px,.8fr);gap:3rem;background:#fff;border:1px solid var(--line);border-radius:18px;padding:clamp(1rem,3vw,2.5rem)}.gallery-main{background:#eef2f5;border-radius:12px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden}.gallery-main img{width:100%;height:100%;object-fit:contain}.product-summary h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.05;letter-spacing:-.04em;margin:.5rem 0 1rem}.product-summary .price{font-size:1.65rem}.availability{border-left:4px solid var(--success);padding-left:.7rem}.spec-table,.data-table{width:100%;border-collapse:collapse;background:#fff}.spec-table th,.spec-table td,.data-table th,.data-table td{padding:.7rem .8rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.data-table th{background:#eef3f8;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:1.5rem}.cart-item{display:grid;grid-template-columns:90px 1fr 90px auto;gap:1rem;align-items:center;background:#fff;border-bottom:1px solid var(--line);padding:1rem}.cart-summary,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.2rem;height:max-content}.totals{display:grid;grid-template-columns:1fr auto;gap:.65rem;margin:1rem 0}.totals .grand{font-size:1.15rem;font-weight:850;padding-top:.65rem;border-top:2px solid var(--ink)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.form-grid .full{grid-column:1/-1}.form-grid textarea{min-height:140px;resize:vertical}.check{flex-direction:row!important;align-items:center!important;font-weight:600!important}.check input{width:auto}.auth-card,.content-card,.install-card{max-width:720px;margin:2rem auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(1.25rem,4vw,2.5rem);box-shadow:var(--shadow)}.install-page{min-height:100vh;display:grid;place-items:center;padding:1rem;background:linear-gradient(135deg,#07182a,#1b5572)}.install-card{width:min(760px,100%);margin:0}.credentials{display:grid;grid-template-columns:170px 1fr;gap:.5rem}.credentials dt{font-weight:800}.credentials dd{margin:0}.alert{border-radius:8px;padding:.75rem 1rem;margin:0 0 1rem;background:#e8f2fb;color:#184c73;border:1px solid #b9d5e9}.alert.error{background:#fff0f0;color:#862727;border-color:#efb9b9}.alert.success{background:#edf8f2;color:#145f3d;border-color:#b9dfca}.site-footer{background:#08182b;color:#cbd8e5;display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;padding:3rem max(1rem,calc((100vw - 1380px)/2))}.site-footer div{display:flex;flex-direction:column;gap:.55rem}.site-footer strong{color:#fff}.inverse{color:#fff}.admin-shell{background:#eef2f6}.admin-shell .site-header{position:sticky;top:0;z-index:20}.admin-shell .department-nav{display:none}.admin-sidebar{position:fixed;top:143px;bottom:0;width:240px;background:var(--navy);color:#dce7f3;padding:1.2rem;display:flex;flex-direction:column;gap:.25rem;overflow-y:auto;z-index:10}.admin-sidebar strong{color:#fff;margin-bottom:.65rem}.admin-sidebar a,.admin-sidebar .link-button{padding:.65rem .7rem;border-radius:7px}.admin-sidebar a:hover,.admin-sidebar .link-button:hover{background:rgba(255,255,255,.1)}.link-button{border:0;background:none;color:inherit;width:100%;text-align:left}.admin-main{margin-left:240px;padding:2rem;min-height:calc(100vh - 140px)}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem}.metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.25rem}.metric strong{font-size:2rem;display:block}.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:1rem}.source-note{background:#f8fafc;border:1px solid var(--line);border-radius:8px;padding:.8rem;font-size:.9rem;overflow-wrap:anywhere}.status{display:inline-flex;border-radius:999px;padding:.2rem .5rem;background:#e8eef5;font-size:.78rem;font-weight:800;text-transform:capitalize}.status.paid,.status.published,.status.sent{background:#dff3e8;color:#145f3d}.status.failed,.status.inactive{background:#f8dddd;color:#862727}.status.needs_review,.status.pending,.status.processing{background:#fff2cf;color:#805400}.stack>*+*{margin-top:1rem}.actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.muted{color:var(--muted)}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#eef2f6;border-radius:4px;padding:.15rem .3rem;overflow-wrap:anywhere}.copy-row{display:flex;gap:.5rem}.copy-row input{flex:1}.success-panel h1,.install-card h1{font-size:2.2rem;line-height:1.08;letter-spacing:-.035em}.content-body{overflow-wrap:anywhere}.content-body h2{margin-top:1.6rem}.order-head{display:flex;justify-content:space-between;gap:1rem;align-items:start}.divider{border:0;border-top:1px solid var(--line);margin:1.2rem 0}
@media (max-width:900px){.header-main{grid-template-columns:1fr auto;gap:1rem}.search-form{grid-column:1/-1;grid-row:2}.header-actions{justify-content:flex-end}.shop-layout,.product-detail,.cart-layout{grid-template-columns:1fr}.filters{position:static}.admin-sidebar{position:static;width:auto;height:auto;max-height:230px;display:grid;grid-template-columns:repeat(2,1fr);overflow:auto}.admin-main{margin-left:0;padding:1rem}.site-footer{grid-template-columns:1fr 1fr}.cart-item{grid-template-columns:70px 1fr}.cart-item .qty,.cart-item .line-price{grid-column:2}}
@media (max-width:620px){.utility span{display:none}.utility{justify-content:center}.header-main{grid-template-columns:1fr}.header-actions{justify-content:space-between}.search-form{grid-row:auto}.department-nav{gap:1rem}.site-main{padding-top:1rem}.hero{min-height:330px;border-radius:12px}.hero h1{font-size:2.8rem}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.site-footer{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-info{padding:.75rem}.product-card h3{font-size:.92rem}.product-meta{font-size:.7rem}.order-head{display:block}.credentials{grid-template-columns:1fr}.admin-grid{grid-template-columns:1fr}}
@media (max-width:420px){.product-grid{grid-template-columns:1fr}.header-actions{gap:.5rem;font-size:.9rem}}


.product-filters{display:flex;flex-wrap:wrap;gap:1rem;align-items:end}.product-filters label{display:flex;flex:1 1 190px;flex-direction:column;gap:.3rem;font-size:.88rem;font-weight:700}.product-filters label.check{flex-direction:row;align-items:center;flex:0 1 180px;padding:.6rem 0}.product-filters input:not([type=checkbox]),.product-filters select,.price-input{border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);padding:.6rem;min-height:44px;width:100%}.product-price-table{min-width:960px}.product-price-table td{vertical-align:top}.product-price-table .product-name-cell{min-width:240px;max-width:360px}.price-input{min-width:115px;max-width:155px}.price-input:focus{outline:2px solid var(--blue);outline-offset:2px}.price-edit-link{display:inline-block;color:var(--blue);text-decoration:underline;font-size:.85rem;margin-top:.4rem}.price-save-bar{display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#fff;padding:1rem;border:1px solid var(--line);border-radius:10px;margin:1rem 0}.price-save-bar span{font-size:.88rem;color:var(--muted)}
