:root {
    --bg: #080d1c;
    --panel: #10172a;
    --panel-light: #151e35;
    --border: rgba(139, 157, 207, .16);
    --text: #f4f7ff;
    --muted: #8c98b7;
    --blue: #5c8dff;
    --purple: #a36bff;
    --green: #35d79b;
    --red: #ff6682;
    --shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 10% 0%, #17244a 0, transparent 34%), var(--bg); color: var(--text); font-family: Tahoma, Arial, sans-serif; line-height: 1.5; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.page-shell { max-width: 1480px; margin: auto; padding: 34px clamp(18px, 4vw, 62px) 20px; }
.hero { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 35px 44px; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(115deg, rgba(40, 71, 150, .43), rgba(91, 54, 148, .32)), var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.eyebrow, .section-kicker { color: #75a2ff; font-size: .7rem; font-weight: 700; letter-spacing: .17em; }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 8px; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.04em; }
.hero p { color: #b6c1df; margin-top: 10px; font-size: 1.05rem; }
.hero-mark { width: 125px; height: 125px; display: grid; place-items: center; border: 1px solid rgba(151, 124, 255, .32); border-radius: 30px; transform: rotate(7deg); background: rgba(125, 92, 255, .13); color: #b291ff; font-size: 3rem; font-weight: 700; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 26px 0; }
.stat-card, .panel { border: 1px solid var(--border); background: rgba(16, 23, 42, .86); box-shadow: var(--shadow); }
.stat-card { display: flex; align-items: center; gap: 13px; padding: 19px; border-radius: 16px; }
.stat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; font-size: 1.25rem; font-weight: 700; }
.blue { color: #7ca5ff; background: rgba(92, 141, 255, .15); }.green { color: var(--green); background: rgba(53, 215, 155, .15); }.red { color: var(--red); background: rgba(255, 102, 130, .15); }.purple { color: var(--purple); background: rgba(163, 107, 255, .15); }.orange { color: #ffb765; background: rgba(255, 183, 101, .15); }
.stat-label { display: block; color: var(--muted); font-size: .77rem; }.stat-card strong { display: block; margin-top: 2px; font-size: 1.35rem; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(290px, .72fr); gap: 20px; align-items: start; }.catalog-column, .side-column { min-width: 0; }.side-column { display: grid; gap: 20px; }
.panel { border-radius: 18px; padding: 23px; }.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.section-heading h2 { margin-top: 3px; font-size: 1.35rem; }.compact { align-items: flex-start; }.button { border: 0; border-radius: 10px; padding: 10px 15px; color: white; font-weight: 700; transition: transform .2s, filter .2s; }.button:hover { transform: translateY(-1px); filter: brightness(1.1); }.button-primary { background: linear-gradient(110deg, #4d7fff, #7953e8); }.button-danger { background: #9f3452; font-size: .8rem; }
.refresh-symbol { font-size: 1.15rem; margin-left: 4px; }.filters { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 10px; margin-top: 20px; }.filters label { display: flex; align-items: center; min-width: 0; }.filters input, .filters select { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; outline: none; color: var(--text); background: #0b1224; }.filters input:focus, .filters select:focus { border-color: var(--blue); }.search-field { position: relative; }.search-field span { position: absolute; right: 12px; color: var(--muted); font-size: 1.25rem; }.search-field input { padding-right: 35px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 14px; margin-top: 20px; }.product-card { position: relative; padding: 20px; border: 1px solid var(--border); border-radius: 15px; background: linear-gradient(145deg, rgba(21, 30, 53, .96), rgba(13, 19, 36, .96)); }.product-number { color: #7081a8; font-size: .72rem; }.product-card h3 { margin: 12px 0 7px; font-size: 1.1rem; }.product-category { color: var(--muted); font-size: .8rem; }.product-footer { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: 20px; }.price { color: #a9c1ff; font-size: 1.35rem; font-weight: 700; }.availability { display: inline-block; margin-top: 12px; padding: 4px 9px; border-radius: 20px; font-size: .72rem; }.available { color: var(--green); background: rgba(53, 215, 155, .12); }.unavailable { color: var(--red); background: rgba(255, 102, 130, .12); }.add-button { padding: 7px 10px; border: 1px solid rgba(92, 141, 255, .45); border-radius: 8px; color: #b6caff; background: transparent; font-size: .75rem; }.add-button:hover { background: rgba(92, 141, 255, .15); }
.cart-icon { font-size: 1.35rem; }.count-badge { display: inline-grid; place-items: center; width: 23px; height: 23px; margin-right: 3px; border-radius: 50%; color: #c5d2ff; background: rgba(92, 141, 255, .2); font-size: .75rem; vertical-align: middle; }.cart-items { min-height: 125px; margin-top: 20px; }.cart-empty { padding: 18px; text-align: center; color: var(--muted); }.cart-empty span { display: block; margin-bottom: 8px; font-size: 2rem; opacity: .7; }.cart-empty small { font-size: .75rem; }.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); }.cart-row strong { display: block; font-size: .85rem; }.cart-row small { color: var(--muted); }.remove-item { border: 0; color: var(--red); background: transparent; font-size: 1.2rem; }.cart-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 17px; border-top: 1px solid var(--border); }.cart-summary span { display: block; color: var(--muted); font-size: .75rem; }.cart-summary strong { font-size: 1.05rem; }.request-status { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 10px; color: var(--muted); font-size: .85rem; }.request-status strong { color: var(--green); }.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px currentColor; }.status-dot.loading { color: #ffc263; background: #ffc263; }.status-dot.success { color: var(--green); }.status-dot.failure { color: var(--red); background: var(--red); }.request-details { margin: 0; }.request-details div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(139, 157, 207, .1); font-size: .76rem; }.request-details dt { color: var(--muted); }.request-details dd { max-width: 62%; margin: 0; overflow: hidden; color: #c7d1ec; text-align: left; text-overflow: ellipsis; white-space: nowrap; direction: ltr; }.url-value { color: #8dacff !important; }.json-toggle { width: 100%; margin-top: 17px; padding: 10px; border: 1px solid var(--border); border-radius: 9px; color: #c6d2f0; background: #0b1224; }.json-toggle span { float: left; }.json-response { max-height: 260px; overflow: auto; margin: 10px 0 0; padding: 12px; border-radius: 8px; color: #9fe5c9; background: #080d18; direction: ltr; text-align: left; font: .72rem/1.5 Consolas, monospace; }.alert { display: flex; align-items: center; gap: 13px; margin: 20px 0; padding: 13px 17px; border: 1px solid rgba(255, 102, 130, .35); border-radius: 12px; background: rgba(130, 35, 61, .2); }.alert p { color: #e6afba; font-size: .8rem; }.alert .button { margin-right: auto; }.alert-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: white; background: var(--red); font-weight: 700; }.hidden { display: none !important; }.empty-state { padding: 50px 20px; color: var(--muted); text-align: center; }.empty-state span { font-size: 2.3rem; }.empty-state h3 { color: var(--text); }.skeleton { min-height: 190px; background: linear-gradient(90deg, #121a2e 25%, #1b2742 50%, #121a2e 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }.skeleton-line { height: 13px; margin: 15px 0; border-radius: 5px; background: rgba(163, 181, 226, .13); }.skeleton-line.short { width: 55%; }@keyframes shimmer { to { background-position: -200% 0; } }footer { display: flex; justify-content: space-between; margin-top: 28px; padding: 15px 4px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .75rem; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) { .stats-grid { grid-template-columns: repeat(3, 1fr); }.workspace-grid { grid-template-columns: 1fr; }.side-column { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .page-shell { padding: 15px 12px; }.hero { min-height: 170px; padding: 26px 22px; }.hero-mark { width: 76px; height: 76px; border-radius: 19px; font-size: 1.8rem; }.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }.stat-card { padding: 13px 10px; }.stat-icon { width: 32px; height: 32px; }.filters { grid-template-columns: 1fr; }.section-heading { align-items: flex-start; flex-direction: column; }.side-column { grid-template-columns: 1fr; }.alert { align-items: flex-start; flex-wrap: wrap; }.alert .button { margin-right: 0; }footer { flex-direction: column; gap: 5px; } }
