:root{
    --bg:#f4f7fb;--surface:#ffffff;--surface-2:#ffffff;--surface-3:#f8faff;
    --line:#dfe6ef;--line-soft:#e8edf4;--text:#071329;--muted:#74849e;
    --primary:#2f70f3;--primary-soft:rgba(47,112,243,.10);--green:#19b879;
    --amber:#eaa03c;--red:#e33434;--shadow:0 10px 28px rgba(36,58,91,.055)
}
*{box-sizing:border-box}html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}
a{color:inherit;text-decoration:none}button,input,select{font:inherit}

.topbar{
    position:sticky;top:0;z-index:30;
    border-top:2px solid #303030;
    border-bottom:1px solid #e4e9f0;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
    box-shadow:0 5px 18px rgba(31,52,85,.045)
}
.topbar-inner{width:min(1180px,calc(100% - 28px));height:66px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-mark{
    width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
    font-size:10px;font-weight:900;letter-spacing:.08em;color:#fff;
    background:linear-gradient(145deg,#3382f6,#1f67e9);
    box-shadow:0 7px 18px rgba(47,112,243,.18)
}
.brand-copy{display:flex;flex-direction:column;line-height:1.1}
.brand-copy strong{font-size:14px;letter-spacing:.03em;color:#17243a}
.brand-copy small{margin-top:4px;color:var(--muted);font-size:9px;letter-spacing:.08em}
.page-badge{
    padding:7px 10px;border:1px solid #d9e3ef;border-radius:10px;
    color:#315f9e;background:#f5f8fd;font-size:11px;font-weight:700
}

.shell{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:24px 0 42px}
.hero{
    display:flex;justify-content:space-between;align-items:flex-start;gap:24px;
    padding:24px 26px;border:1px solid var(--line);border-radius:19px;
    background:#fff;box-shadow:var(--shadow)
}
.eyebrow{display:block;margin-bottom:7px;color:#2f70f3;font-size:10px;font-weight:900;letter-spacing:.13em}
.eyebrow.small{font-size:9px;margin-bottom:5px}
.hero h1{margin:0;font-size:clamp(25px,4vw,36px);letter-spacing:-.035em;color:#071329}
.hero p{max-width:680px;margin:9px 0 0;color:var(--muted);font-size:13px;line-height:1.65}
.live-badge{
    flex:none;padding:8px 11px;border:1px solid #c9eedc;border-radius:999px;
    background:#eefbf5;color:#078b58;font-size:10px;font-weight:800
}
.live-badge i{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(25,184,121,.10)}

.alert{display:flex;gap:8px;margin-top:12px;padding:12px 14px;border-radius:12px;font-size:12px}
.alert.warning{color:#946216;border:1px solid #f0d5aa;background:#fff8ed}
.alert.error{color:#ad2b2b;border:1px solid #efc1c1;background:#fff1f1}

.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}
.stats article{
    padding:15px 16px;border:1px solid var(--line-soft);border-radius:14px;
    background:#fff;box-shadow:0 5px 16px rgba(36,58,91,.03)
}
.stats span{display:block;margin-bottom:4px;color:var(--muted);font-size:10px}
.stats strong{font-size:21px;letter-spacing:-.03em;color:#071329}

.toolbar{
    display:grid;grid-template-columns:.85fr 1.55fr .65fr;gap:10px;margin-top:12px;
    padding:13px;border:1px solid var(--line);border-radius:15px;
    background:#fff;box-shadow:0 8px 22px rgba(36,58,91,.045)
}
.toolbar label>span{display:block;margin:0 0 6px 2px;color:#64738b;font-size:10px}
.toolbar input,.toolbar select{
    width:100%;height:42px;padding:0 12px;border:1px solid #d5dfeb;border-radius:10px;
    outline:none;background:#fff;color:#17253b
}
.toolbar input::placeholder{color:#9aa7b9}
.toolbar input:focus,.toolbar select:focus{border-color:#4382f4;box-shadow:0 0 0 3px rgba(47,112,243,.09)}

.catalog-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:27px 2px 11px}
.catalog-head h2{margin:0;font-size:20px;color:#071329}
.catalog-head p{margin:5px 0 0;color:var(--muted);font-size:10px}
.catalog-head>span{color:#4570a9;font-size:10px}
.catalog-groups{display:grid;gap:14px}

.group-section{
    overflow:hidden;border:1px solid var(--line);border-radius:16px;
    background:#fff;box-shadow:0 7px 20px rgba(36,58,91,.04)
}
.group-section[hidden]{display:none!important}
.group-heading{
    display:flex;align-items:center;justify-content:space-between;gap:14px;
    padding:13px 15px;border-bottom:1px solid var(--line);
    background:#fff
}
.group-heading-copy span{display:block;margin-bottom:3px;color:#2f70f3;font-size:9px;font-weight:900;letter-spacing:.11em}
.group-heading-copy h3{margin:0;font-size:14px;letter-spacing:.01em;color:#071329}
.group-heading>strong{color:#326ecb;font-size:10px;font-weight:700}

.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line-soft)}
.product-card{
    min-width:0;display:flex;align-items:center;justify-content:space-between;gap:16px;
    padding:14px 15px;background:#fff
}
.product-card[hidden]{display:none!important}
.product-left{min-width:0}
.product-meta{display:flex;align-items:center;gap:7px}
.product-meta code{
    padding:4px 7px;border:1px solid #d6e1ef;border-radius:7px;
    background:#f7faff;color:#376fc2;font-size:9px;font-weight:800
}
.status{padding:4px 7px;border-radius:999px;font-size:8px;font-weight:900}
.status.open{color:#078553;border:1px solid #c8eedc;background:#e9faf2}
.status.problem{color:#cf2727;border:1px solid #f0c7c7;background:#ffe9e9}
.product-card h4{margin:7px 0 0;color:#071329;font-size:11px;line-height:1.45;font-weight:650}
.price{flex:none;color:#071329;font-size:15px;letter-spacing:-.025em}

.empty{padding:28px;text-align:center;color:var(--muted);border:1px dashed #cbd6e4;border-radius:14px;background:#fff}
footer{display:flex;justify-content:space-between;gap:18px;padding:24px 2px 0;color:#7d8da4;font-size:10px}
footer a{color:#2f70f3}

@media(max-width:760px){
    .topbar-inner,.shell{width:min(100% - 18px,1180px)}
    .topbar-inner{height:58px}
    .brand-mark{width:35px;height:35px;border-radius:10px}
    .brand-copy small{display:none}
    .shell{padding-top:10px}
    .hero{padding:18px;border-radius:15px}
    .live-badge{display:none}
    .hero h1{font-size:24px}
    .stats article{padding:12px}
    .stats strong{font-size:18px}
    .toolbar{grid-template-columns:1fr}
    .product-grid{grid-template-columns:1fr}
    .product-card{padding:13px}
    .catalog-head{align-items:flex-start}
    .group-heading{padding:12px 13px}
    footer{flex-direction:column;gap:5px}
}
