:root{color-scheme:light;--ink:#183039;--muted:#4f6271;--bg:#f1f5f7;--line:#c9d6dc;--cyan:#00a7c9;--magenta:#d92782;--yellow:#f6d234;--black:#1c2128}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}.topbar{position:sticky;top:0;z-index:20;min-height:82px;display:grid;grid-template-columns:minmax(0,1fr) minmax(158px,260px) minmax(0,1fr);align-items:center;gap:12px;padding:7px clamp(16px,3vw,37px);background:rgba(255,255,255,.97);border-bottom:2px solid #00AEEF;box-shadow:0 1px 8px #10182008}
.breadcrumb{display:flex;min-width:0;align-items:center;gap:9px;font-size:12px;color:#656970;white-space:nowrap;overflow:hidden}
.breadcrumb a{color:#656970;text-decoration:none;overflow:hidden;text-overflow:ellipsis}
.breadcrumb a:hover{text-decoration:underline;color:#191919}
.breadcrumb-separator{color:#b7c6c8;flex:none}
.breadcrumb strong{color:#1c1c1c;min-width:0;overflow:hidden;text-overflow:ellipsis;font-weight:780}
.header-brand{grid-column:2;display:flex;align-items:center;justify-content:center;justify-self:center;width:100%;max-width:260px;min-width:0}
.header-brand a{display:flex;align-items:center;justify-content:center;width:100%;min-width:0}
.header-brand img{width:100%;height:auto;max-height:66px;object-fit:contain;display:block}
.header-actions{grid-column:3;display:flex;justify-self:end;align-items:center;gap:10px;min-width:0}
.lang-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #e0e2e5;background:#f5f5f6;border-radius:10px;white-space:nowrap}
.lang-switch button{min-width:32px;min-height:31px;padding:5px 8px;border:0;border-radius:7px;background:transparent;color:#272727;font-size:12px;font-weight:800;line-height:1}
.lang-switch button.active,.lang-switch button[aria-pressed="true"]{background:#00AEEF;color:#111}
.lang-switch button:hover:not(.active){background:#e5e7e9}
.logout-btn{min-height:35px;padding:7px 11px;font-size:12px;background:#fff;border:1px solid #dce0e6;color:#1c1c1c}
@media(max-width:980px){.topbar{grid-template-columns:minmax(0,1fr) minmax(120px,180px) minmax(0,1fr);gap:8px}.header-brand img{max-height:52px}}
@media(max-width:680px){.topbar{min-height:72px;grid-template-columns:minmax(0,1fr) minmax(105px,144px) auto;padding:8px 12px;gap:7px}.breadcrumb{font-size:11px;gap:5px}.breadcrumb a{max-width:90px}.header-brand img{max-height:42px}.header-actions{gap:5px}.lang-switch button{min-width:27px;min-height:29px;padding:5px}.logout-btn{min-height:29px;padding:4px 6px;font-size:10px}}
@media(max-width:420px){.topbar{grid-template-columns:minmax(0,1fr) minmax(88px,110px) auto;padding:7px 8px;gap:5px}.breadcrumb{font-size:10px}.breadcrumb a{max-width:47px}.breadcrumb strong{font-size:10px}.header-brand img{max-height:34px}.header-actions{flex-direction:column;gap:2px}.lang-switch{padding:2px}.lang-switch button{min-width:26px;padding:4px 5px}.logout-btn{font-size:9px;min-height:24px}}main{max-width:1050px;margin:auto;padding:24px 16px}.hero{margin-bottom:20px}.eyebrow{font-size:12px;letter-spacing:.1em;font-weight:700;color:#0b6e84}h1{font-size:clamp(24px,4vw,34px);line-height:1.18;margin:0 0 8px}h2{font-size:21px;line-height:1.3;margin:0 0 14px}p{margin:6px 0 12px;color:var(--muted)}.columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:16px;box-shadow:0 4px 14px #24495c0d}.panel .columns{margin:0}label{display:block;font-weight:600;margin:11px 0 4px}input,select,button{font:inherit}input,select{display:block;width:100%;min-height:44px;border:1px solid #92a7b0;border-radius:7px;padding:9px 12px;background:white;color:var(--ink)}input:focus-visible,select:focus-visible,button:focus-visible{outline:3px solid var(--cyan);outline-offset:2px}button{border:1px solid #0b6f86;background:#fff;border-radius:8px;min-height:44px;padding:9px 16px;cursor:pointer;font-weight:650;color:#0b6f86}button:hover{background:#e8f5f8}button.primary{background:#087e99;color:white;border-color:#087e99;margin-top:15px}button.primary:hover{background:#066178}button:disabled{opacity:.5;cursor:not-allowed}.notice{margin-bottom:16px;background:#f4f8fa;border:1px solid #acbfca;padding:14px;border-radius:9px}.notice.error{background:#fff1f4;border-color:#e8a1ae;color:#7e2440}.notice.success{background:#eaf8f0;border-color:#8ac9a9;color:#19633f}.hint{font-size:13px}.flex{display:flex;gap:12px;justify-content:space-between;align-items:center}.tag{white-space:nowrap;border-radius:4px;background:#e5f3f7;color:#0b6378;padding:4px 9px;font-size:11px;font-weight:700}.license{padding:10px 0;color:var(--muted)}.license strong{color:var(--ink)}#orders{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:460px}th,td{text-align:left;padding:9px;border-bottom:1px solid #dfe7eb}th{font-size:13px;color:var(--muted)}footer{font-size:12px;color:var(--muted);margin-top:24px}[hidden]{display:none!important}@media(max-width:680px){.columns{grid-template-columns:1fr}.panel{padding:16px}.flex{flex-wrap:wrap}}
#auditEvents{overflow-x:auto;max-width:100%;margin:14px 0}#auditForm textarea{width:100%;resize:vertical;padding:12px;border:1px solid #92a7b0;border-radius:7px;font:inherit}#auditForm select:disabled{color:#596e75;background:#eaf0f3}
