
:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #101932;
  background: #eaf7ff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 12% 45%, #d8efff 0, transparent 32%), linear-gradient(145deg, #e9f7ff, #f4fbff); }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
.icon { display: block; flex: 0 0 auto; }
.app { display: grid; grid-template-columns: 34.5% 65.5%; gap: 16px; width: 100%; min-height: 100vh; padding: 26px 20px 22px; }
.login-panel, .dashboard-shell { border: 1px solid rgba(218,232,243,.9); border-radius: 14px; background: rgba(255,255,255,.72); box-shadow: 0 5px 24px rgba(56,130,180,.05); overflow: hidden; }

/* Login */
.login-panel { position: relative; min-height: 950px; padding: 28px 36px 18px; background: radial-gradient(circle at 10% 34%, rgba(215,238,255,.85), transparent 28%), linear-gradient(145deg, rgba(255,255,255,.9), rgba(242,250,255,.78)); }
.language { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #dce8f2; border-radius: 7px; background: rgba(255,255,255,.7); font-size: 12px; }
.flag { display:inline-block; width:16px; height:11px; border-radius:50%; background:linear-gradient(#fff 0 33%,#1769dc 33% 66%,#ef3147 66%); box-shadow:0 0 0 1px #dce5ec; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 13px; }
.brand > div:last-child { text-align: center; }
.brand strong { display: block; font-size: 29px; letter-spacing: -1.3px; color: #090b2d; }
.brand small { display: block; margin-top: 1px; font-size: 15px; color: #70809e; }
.brand-mark { position: relative; width: 74px; height: 67px; filter: drop-shadow(0 8px 12px rgba(0,91,255,.18)); }
.brand-mark span { position: absolute; width: 38px; height: 32px; border-radius: 8px; transform: rotate(30deg) skew(-5deg); background: linear-gradient(145deg,#05d4ff,#0067f4); }
.brand-mark span:nth-child(1){left:7px;top:3px}.brand-mark span:nth-child(2){right:3px;top:11px;background:linear-gradient(145deg,#08c8ff,#0754eb)}.brand-mark span:nth-child(3){left:17px;bottom:1px;background:linear-gradient(145deg,#0074ff,#043dd9)}
.brand-mark i { position:absolute; z-index:2; left:27px; top:22px; width:24px; height:24px; border:2px solid white; border-radius:5px; background:linear-gradient(145deg,#02d8f5,#1382ff); box-shadow:0 0 0 3px rgba(255,255,255,.28); }
.hero-art { position: relative; height: 360px; margin: 5px -17px 1px; overflow: hidden; }
.orbit { position:absolute; border:1px solid rgba(15,139,255,.3); border-radius:50%; transform:rotate(-13deg); }
.orbit.one { width:390px;height:220px;left:33px;top:94px}.orbit.two { width:305px;height:300px;left:88px;top:55px;transform:rotate(36deg) }
.server-stack { position:absolute; left:50%; top:123px; width:190px; transform:translateX(-52%) rotate(-2deg); filter:drop-shadow(0 25px 22px rgba(21,108,207,.23)); }
.server-unit { position:relative; height:52px; margin-top:-4px; border-radius:12px 18px 20px 12px; transform:skewY(5deg); background:linear-gradient(160deg,#f9fdff 5%,#b7e0fc 52%,#56aafb); border:1px solid rgba(255,255,255,.9); box-shadow:0 6px 9px rgba(0,98,205,.14); }
.server-unit i { position:relative; display:inline-block; width:9px;height:9px;margin:21px 0 0 14px;border-radius:50%;background:#078cff;box-shadow:16px 0 0 #18d9f1}.server-unit b{position:absolute;right:22px;top:19px;width:48px;height:5px;border-radius:5px;background:#eaf8ff;box-shadow:0 8px 0 #eaf8ff}
.shield { position:absolute; z-index:2; left:56%; top:170px; display:flex; align-items:center; justify-content:center; width:102px;height:116px; color:white; clip-path:polygon(50% 0,93% 17%,88% 69%,50% 100%,12% 69%,7% 17%); background:linear-gradient(145deg,#24b5ff,#0066ef 65%,#0051db); border:5px solid white; filter:drop-shadow(0 12px 10px rgba(0,89,208,.3));}
.floating { position:absolute; z-index:3; display:flex; align-items:center; gap:11px; padding:13px 17px; border:1px solid white; border-radius:12px; background:rgba(255,255,255,.88); box-shadow:0 12px 30px rgba(47,124,180,.09); color:#284064; font-size:12px; line-height:1.45; transform:rotate(3deg)}
.floating .icon { color:#148eff; stroke-width:2.8}.f1{left:2px;top:53px}.f2{right:0;top:72px;transform:rotate(-5deg)}.f3{left:5px;bottom:9px;transform:rotate(6deg)}.f4{right:8px;bottom:0;transform:rotate(1deg)}
.sphere { position:absolute;width:21px;height:21px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#75d8ff,#0079eb 70%);box-shadow:0 8px 15px rgba(0,100,220,.25)}.s1{left:66px;top:218px}.s2{right:63px;top:185px}.s3{left:250px;bottom:0;width:17px;height:17px}
.login-card { position:relative; z-index:5; max-width:410px; margin:0 auto; padding:20px 29px 25px; border:1px solid #edf2f6;border-radius:13px;background:rgba(255,255,255,.93);box-shadow:0 14px 35px rgba(42,112,168,.08)}
.login-title { font-size:20px;font-weight:750;color:#0c1236}.login-card>p{margin:3px 0 17px;color:#8290a8;font-size:13px}
.field { display:flex;align-items:center;gap:12px;height:40px;margin-bottom:12px;padding:0 12px;border:1px solid #dce7ef;border-radius:6px;background:#f8fbfd;color:#172a50}
.field input { width:100%;height:100%;border:0;outline:0;background:transparent;color:#111936;font-size:13px}.field button{padding:4px;border:0;background:transparent;color:#52627b}
.login-options{display:flex;justify-content:space-between;align-items:center;margin:11px 0 15px;font-size:11px}.login-options label{display:flex;align-items:center;gap:7px;color:#455675}.login-options input{position:absolute;opacity:0}.checkbox{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:4px;background:#1186f8;color:white}.login-options button{border:0;background:none;color:#087ff2;font-size:11px}
.login-button{display:flex;align-items:center;justify-content:center;gap:145px;width:100%;height:39px;border:0;border-radius:6px;background:linear-gradient(90deg,#078afb,#0877ec);color:#fff;box-shadow:0 7px 14px rgba(0,117,244,.18);font-size:13px}
.divider{display:flex;align-items:center;gap:12px;margin:17px 0 13px;color:#8695aa;font-size:11px}.divider:before,.divider:after{content:"";height:1px;flex:1;background:#dce7ee}
.socials{display:flex;justify-content:center;gap:13px}.socials button{width:80px;height:41px;border:1px solid #dce7ef;border-radius:7px;background:#fff;font-size:22px}.google{font-weight:800;color:#4285f4}.github{color:#10162c}.windows{color:#087fec}
.login-panel footer{text-align:center;margin-top:15px;color:#7d8fa5;font-size:11px}

/* Dashboard */
.dashboard-shell { display:grid;grid-template-columns:208px minmax(0,1fr); min-height:950px;background:rgba(250,253,255,.9)}
.dashboard-shell aside { display:flex;flex-direction:column;border-right:1px solid #e5eef5;background:rgba(245,251,255,.88)}
.aside-brand{height:67px;padding:14px 16px;border-bottom:1px solid #e4eef5;background:rgba(255,255,255,.56)}
.brand.compact{flex-direction:row;align-items:center;gap:9px;margin:0}.brand.compact .brand-mark{width:36px;height:34px}.brand.compact .brand-mark span{width:20px;height:17px;border-radius:4px}.brand.compact .brand-mark span:nth-child(1){left:2px;top:2px}.brand.compact .brand-mark span:nth-child(2){right:0;top:7px}.brand.compact .brand-mark span:nth-child(3){left:8px}.brand.compact .brand-mark i{left:12px;top:10px;width:12px;height:12px;border-radius:2px;border-width:1px;box-shadow:0 0 0 1px rgba(255,255,255,.3)}.brand.compact strong{font-size:14px;letter-spacing:-.5px}
nav{padding:12px 8px}nav button{display:flex;align-items:center;gap:14px;width:100%;height:40px;padding:0 13px;border:0;border-left:2px solid transparent;border-radius:5px;background:transparent;color:#182440;font-size:12px;text-align:left}nav button:hover{background:#edf7ff}nav button.active{border-left-color:#0787f8;background:#e7f4ff;color:#037cf2}nav button.active .icon{stroke-width:2.3}
.server-status{display:flex;align-items:flex-start;gap:10px;margin:auto 12px 23px;padding:13px;border:1px solid #ccefe1;border-radius:7px;background:#f4fffa;font-size:11px}.server-status .status-check{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#04bf72;color:white}.server-status div{display:flex;flex-direction:column;gap:4px}.server-status strong{color:#09a865;font-size:14px}.server-status small{font-size:10px;color:#5d6d80}.server-status>i{margin-left:auto;width:8px;height:8px;border-radius:50%;background:#03c67a}
.dashboard{min-width:0}.topbar{display:flex;align-items:center;height:67px;padding:0 16px;border-bottom:1px solid #e4edf4;background:rgba(255,255,255,.7)}.search{display:flex;align-items:center;gap:10px;height:34px;max-width:370px;flex:1;padding:0 10px;border:1px solid #dce8f0;border-radius:5px;color:#49607f}.search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:10px}.search kbd{padding:2px 5px;border:1px solid #dce7ef;border-radius:3px;color:#8191a7;font-size:8px}.icon-button{margin-left:14px;padding:5px;border:0;background:transparent}.top-language{display:flex;align-items:center;gap:7px;height:34px;margin-left:10px;padding:0 10px;border:1px solid #dce8f0;border-radius:5px;background:white;font-size:11px}.profile{display:flex;align-items:center;gap:10px;margin-left:15px;padding-left:15px;border-left:1px solid #e4edf4;font-size:10px}.avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(145deg,#078cf9,#0465df);color:#fff;font-size:18px}.profile>div:nth-child(2){display:flex;flex-direction:column;gap:2px}.profile strong{font-size:11px}.profile small{color:#61718b}.profile>span{margin-left:14px}
.content{padding:15px 16px 14px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.page-title{font-size:23px;font-weight:780;letter-spacing:-.6px}.page-head p{margin:2px 0 0;color:#7e8da5;font-size:12px}.date{display:flex;align-items:center;gap:10px;height:35px;padding:0 12px;border:1px solid #dce8f0;border-radius:5px;background:#fff;font-size:10px;font-weight:600}.date span{margin-left:20px}
.metrics{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin-bottom:14px}.metric{display:flex;align-items:flex-start;gap:9px;min-width:0;height:93px;padding:13px 10px;border:1px solid #e5edf3;border-radius:7px;background:rgba(255,255,255,.92);box-shadow:0 5px 15px rgba(52,116,164,.04)}.metric-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px;color:white;box-shadow:inset 0 0 0 4px rgba(255,255,255,.25)}.metric-icon.blue{background:#0b89fb}.metric-icon.green{background:#0ab578}.metric-icon.orange{background:#fb8a13}.metric-icon.red{background:#f24359}.metric-icon.purple{background:#8a35dc}.metric>div:last-child{display:flex;flex-direction:column;min-width:0}.metric span{white-space:nowrap;color:#4b5c77;font-size:9px}.metric strong{margin-top:2px;font-size:19px}.metric small{margin-top:3px;color:#07b765;font-size:9px}.metric:nth-child(3) small,.metric:nth-child(4) small{color:#17233b}
.card{border:1px solid #e5edf3;border-radius:7px;background:rgba(255,255,255,.94);box-shadow:0 4px 14px rgba(57,114,155,.035)}.charts-row{display:grid;grid-template-columns:2.2fr 1fr 1.08fr;gap:10px;margin-bottom:14px}.line-card,.status-card,.products-card{height:216px;padding:11px}.card-head{display:flex;align-items:center;justify-content:space-between;min-height:26px}.card-head strong,.status-card>strong,.products-card>strong{font-size:13px}.card-head button{border:1px solid #e1ebf2;border-radius:4px;background:white;padding:6px 10px;color:#374862;font-size:9px}.line-chart{position:relative;height:168px;margin-top:4px;padding:4px 0 18px 22px;background:repeating-linear-gradient(to bottom,#e7eff5 0,#e7eff5 1px,transparent 1px,transparent 31px)}.line-chart:after{content:"";position:absolute;inset:4px 0 18px 22px;background:repeating-linear-gradient(to right,#edf2f6 0,#edf2f6 1px,transparent 1px,transparent 47px);pointer-events:none}.line-chart svg{position:relative;z-index:1;width:100%;height:128px;overflow:visible}.line-chart svg path:not(.area){fill:none;stroke:#0788fb;stroke-width:2}.line-chart .area{fill:url(#area);stroke:none}.y-labels{position:absolute;left:0;top:0;bottom:17px;display:flex;flex-direction:column;justify-content:space-between;font-size:8px;color:#53647a}.x-labels{display:flex;justify-content:space-between;margin-top:3px;font-size:7px;color:#55667d}
.status-card{font-size:9px}.donut-row{display:flex;align-items:center;justify-content:center;gap:17px;margin:15px 0 8px}.donut{position:relative;width:91px;height:91px;border-radius:50%;background:conic-gradient(#16bf91 0 75%,#ffad3e 75% 89%,#fa5968 89%)}.donut span{position:absolute;inset:20px;border-radius:50%;background:white}.donut-row b{font-size:10px}.status-card ul{margin:0;padding:0 5px;list-style:none}.status-card li{display:flex;align-items:center;gap:7px;margin:6px 0;color:#526078}.status-card li b{margin-left:auto}.status-card li i{width:9px;height:9px;border-radius:50%}.green-dot{background:#16bf91}.orange-dot{background:#ffad3e}.red-dot{background:#fa5968}
.products-card{font-size:9px}.product{display:grid;grid-template-columns:64px 1fr 22px;align-items:center;gap:7px;margin-top:19px}.product>div{height:12px;border-radius:4px;background:#e9f2f8;overflow:hidden}.product i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#078cff,#0874eb)}.product:nth-child(3) i{background:#4ba9ff}.product:nth-child(4) i{background:#72baff}.product:nth-child(5) i{background:#5caef7}
.table-card{height:230px;padding:9px 11px;margin-bottom:14px;overflow:hidden}.table-card .card-head{margin-bottom:3px}.link{border:0!important;background:transparent!important;color:#087fea!important}.primary{display:inline-flex;align-items:center;gap:7px;margin-left:8px;border-color:#0985f5!important;background:#0786f4!important;color:white!important;box-shadow:0 4px 9px rgba(0,112,230,.17)}
table{width:100%;border-collapse:collapse;table-layout:auto;font-size:8px;color:#42536c}th{text-align:left;font-weight:600;color:#374861;background:#f3f8fb}th,td{height:28px;padding:4px 8px;border-bottom:1px solid #e5edf3;white-space:nowrap}.badge{display:inline-block;padding:3px 5px;border-radius:3px}.badge.ok{background:#dff8ec;color:#05a765}.badge.warn{background:#fff0d8;color:#ec8517}.badge.bad{background:#ffe2e5;color:#e83146}.actions{display:flex;gap:4px}.actions button{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:1px solid #dce8f0;border-radius:4px;background:white;color:#087fea}
.bottom-row{display:grid;grid-template-columns:1.25fr 1fr;gap:10px}.mini-table,.activity{height:207px;padding:9px 11px;overflow:hidden}.mini-table .card-head,.activity .card-head{margin-bottom:4px}.mini-table th,.mini-table td,.activity th,.activity td{height:28px;padding:4px 6px;font-size:7px}.mini-table .primary{padding:6px 8px}.activity table{table-layout:fixed}.activity th:nth-child(1){width:30%}.activity th:nth-child(2){width:31%}

@media (max-width: 1200px) {
  .app{grid-template-columns:1fr;padding:12px}.login-panel{min-height:940px}.dashboard-shell{min-height:950px}.metrics{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 760px) {
  .login-panel{padding-left:18px;padding-right:18px}.dashboard-shell{grid-template-columns:62px minmax(650px,1fr);overflow:auto}.aside-brand{padding:16px 12px}.brand.compact>div:last-child,nav button span,.server-status div,.server-status>i{display:none}nav button{justify-content:center;padding:0}.server-status{padding:8px;justify-content:center}.topbar{min-width:650px}.content{min-width:650px}.charts-row{grid-template-columns:1fr}.line-card,.status-card,.products-card{height:220px}.bottom-row{grid-template-columns:1fr}.login-button{gap:100px}
}

/* Application adaptation: actual screens, readable density and narrow viewports. */
:root{--ink:#18243b;--muted:#7b8ba3;--line:#e4edf5;--blue:#0b87f8;--green:#12b985}
body{color:var(--ink);font-size:14px;line-height:1.45}
[hidden]{display:none!important}button:disabled{opacity:.55;cursor:wait}
button,input,select,textarea{font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #65b8ff;outline-offset:3px}
input:focus,select:focus,textarea:focus{outline:2px solid #8acaff;outline-offset:1px}
a{color:inherit;text-decoration:none}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{margin:0}
.login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1540px;margin:auto;padding:40px}
.login-visual{padding:40px 65px;background:radial-gradient(circle at 30% 30%,#e1f3ff,transparent 70%);display:flex;align-items:center;justify-content:center;flex-direction:column}
.login-visual .brand{margin-top:0}.login-visual .hero-art{width:470px;max-width:100%;height:370px;margin:20px 0 0}
.login-caption{text-align:center;margin-top:25px}.login-caption h1{font-size:30px;letter-spacing:-1px}.login-caption p{font-size:16px;color:#7d90aa;line-height:1.7}
.login-form-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px}
.login-card{width:100%;max-width:430px;padding:38px 34px;border-radius:18px;background:#fff;box-shadow:0 20px 60px #237cc31a;border:1px solid #e4eff8}
.login-title{font-size:27px;font-weight:750;letter-spacing:-.6px}.login-card>p{color:#8291a8;margin:6px 0 30px;font-size:14px}
.input-label{display:block;font-weight:600;font-size:13px;margin-bottom:8px}.field{height:50px;margin-bottom:20px;display:flex;align-items:center;gap:12px;background:#f9fcff;border:1px solid #dce8f2;border-radius:9px;padding:0 14px;color:#9baac0}
.field input{border:0;background:none;width:100%;min-width:0;outline:0;color:#2b3a55;font-size:14px}.field input[readonly]{color:#73849d}
.field .eye-button{border:0;background:none;color:#8ca1bb;padding:5px}.login-options{font-size:12px;color:#8da0b7;display:flex;justify-content:space-between;align-items:center;margin:4px 0 25px}
.login-button{width:100%;height:49px;display:flex;align-items:center;justify-content:center;gap:15px;background:linear-gradient(110deg,#099aff,#086ce7);color:white;border:0;border-radius:8px;font-weight:650;box-shadow:0 8px 15px #1688f52b}
.login-security{display:flex;justify-content:center;gap:8px;color:#8da3bb;font-size:12px;margin-top:23px}.login-security svg{width:16px;height:16px}
.login-form-side footer{margin-top:32px;color:#8da3bb;font-size:12px}.form-error,.error-banner{padding:12px;border-radius:8px;background:#fff0f2;color:#b7384c;border:1px solid #ffd9df}
.workspace{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh;background:#f6faff}
.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#f8fcff}
.aside-brand{display:block;height:88px;padding:26px 24px;border-bottom:1px solid var(--line)}.brand.compact strong{font-size:18px}.brand.compact small{font-size:10px;color:#93a4b9;letter-spacing:.3px;text-align:left}
.nav-label{font-size:9px;letter-spacing:1.5px;font-weight:650;color:#a7b5c9;margin:29px 24px 7px}
nav{padding:0 13px}nav button{height:44px;font-size:13px;gap:13px;padding:0 14px;margin:4px 0;border-radius:7px;color:#5b6e89}
nav button.active{color:#087cee;background:linear-gradient(90deg,#e4f3ff,#eaf7ff);font-weight:600}
.sidebar-bottom{margin-top:auto;padding:25px 17px 20px}.server-status{margin:0 0 14px;padding:13px 11px;font-size:11px}.server-status strong{font-size:13px}.server-status small{font-size:10px}
.logout-button{display:flex;gap:13px;align-items:center;background:transparent;border:0;width:100%;padding:10px;color:#8497af;font-size:12px}
.topbar{height:88px;padding:0 32px;background:#ffffffc9;gap:10px}.search{height:40px;max-width:450px;padding:0 13px;border-radius:7px;background:#fbfdff}.search input{font-size:12px}.search kbd{font-size:10px}.topbar-spacer{flex:1}.icon-button{margin:0;color:#8aa0ba;padding:8px;border-radius:6px}.icon-button:hover{background:#edf6ff}.profile{font-size:12px;margin-left:12px;padding-left:22px;gap:11px}.profile strong{font-size:12px}.profile small{font-size:10px}.avatar{width:38px;height:38px;font-size:17px}
.content{padding:28px 32px 20px;max-width:1720px;margin:auto;min-width:0}.page-head{margin-bottom:26px;gap:18px}.page-title{font-size:27px;letter-spacing:-.8px}.page-head p{font-size:12px;margin-top:6px;color:#93a1b5}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid #dce8f2;border-radius:7px;background:white;font-size:12px;white-space:nowrap}
.primary{margin:0;padding:11px 15px}.primary svg{width:16px;height:16px}.link{border:0;background:none;color:#0785ed;padding:4px;font-size:12px;cursor:pointer}
.metrics{gap:12px;margin-bottom:20px}.metric{height:110px;padding:19px 14px;gap:12px;border-radius:10px;align-items:flex-start}.metric-icon{width:36px;height:36px;border-radius:9px;flex:none}.metric span{font-size:11px;color:#8090a8}.metric strong{font-size:26px;line-height:1.3}.metric small{font-size:10px;color:#96a6ba}
.card{border-radius:10px;box-shadow:0 3px 10px #398bc405}.charts-row{grid-template-columns:2fr 1fr 1.05fr;gap:15px;margin-bottom:20px}.line-card,.status-card,.products-card{height:290px;padding:18px}.card-head{min-height:30px;gap:15px;margin-bottom:15px}.card-head strong,.status-card>strong,.products-card>strong{font-size:14px;font-weight:650}.card-head button{font-size:12px}
select{background:#fff;border:1px solid #dde8f2;border-radius:6px;padding:7px 10px;color:#6c809c;min-width:0}
.live-chart{height:185px;margin-top:15px}.live-chart svg{width:100%;height:150px;overflow:visible}.chart-labels{display:flex;justify-content:space-between;font-size:10px;color:#a3b0c3;margin-top:3px}.chart-total{font-size:11px;color:#8a9db5;margin-bottom:5px}
.donut-row{margin:20px 0 13px;gap:16px}.donut{width:94px;height:94px;display:grid;place-items:center}.donut span{inset:15px}.donut b{position:relative;font-size:18px;color:#273d5b}.status-card ul{font-size:10px}.status-card li{margin:7px 0;color:#8c9db2}.status-card li i{width:7px;height:7px;flex:none}.status-card li b{color:#667e9a}
.product{grid-template-columns:minmax(75px,1fr) 1fr 25px;font-size:11px;margin-top:23px;color:#8194ae}.product>div{height:8px}.product b{font-size:11px;text-align:right;color:#42648e}
.data-card{padding:18px 20px;margin-bottom:20px;overflow:hidden}.table-scroll{overflow-x:auto;max-width:100%}table{font-size:12px;width:100%}th,td{padding:14px 12px;height:46px}th{font-size:10px;color:#8a9bb1;font-weight:600;background:#f7fbfe}td{color:#5d7390}td code{font-size:11px;color:#4f709a}.key-cell{max-width:250px;overflow:hidden;text-overflow:ellipsis}.badge{font-size:10px;padding:4px 8px;border-radius:5px}.badge.info{color:#2486ce;background:#e9f5ff}.badge.neutral{color:#8393ab;background:#eff3f8}
.actions{gap:5px}.actions button{width:29px;height:29px;color:#7c9bbb;border-radius:5px;font-size:13px}.actions button:hover{background:#eaf5ff;color:#087fee}.actions button.danger:hover{background:#fff0f2;color:#c93b55}
.cell-note{display:block;font-size:10px;color:#9eacc0;white-space:normal;max-width:230px;margin-top:4px}.empty{text-align:center;padding:36px;color:#9aaec3}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.table-footer{font-size:11px;color:#9cabc0;margin-top:13px}
.bottom-row{gap:20px;grid-template-columns:1fr 1fr}.bottom-row .data-card{min-height:245px}.activity-item{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid #edf3f8;font-size:11px;color:#758ba5}.activity-dot{width:8px;height:8px;flex:none;border-radius:50%;background:#1c9bfc;margin-top:4px}.activity-item time{display:block;color:#a0aec0;font-size:10px;margin-top:4px}.activity-item .activity-result{margin-left:auto;white-space:nowrap;font-size:10px}
.section-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;color:#8597af;font-size:13px}.section-tools label{display:flex;gap:12px;align-items:center}.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-tile{padding:25px}.product-tile h2{font-size:17px;margin:12px 0 6px}.product-tile p{font-size:12px;color:#8ca0b7}.product-tile .product-total{font-size:30px;color:#3c618d;margin:16px 0 8px}
.help-text{font-size:12px;color:#8297b0;line-height:1.8;margin:10px 0 18px}.button-row{display:flex;gap:8px;flex-wrap:wrap}.maintenance-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.status-detail{padding:20px}.status-detail h2{font-size:15px;margin-bottom:15px}.status-detail dl{display:grid;grid-template-columns:140px 1fr;gap:14px;margin:0;font-size:12px}.status-detail dt{color:#97a8bc}.status-detail dd{margin:0;color:#5c7898;overflow-wrap:anywhere;min-width:0}.command-list{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:20px}.command-list strong{display:block;font-size:13px}.command-list code{display:block;margin-top:10px;padding:12px;background:#f5faff;border:1px solid #e2edf6;border-radius:7px;font-size:11px;color:#4a739e;overflow-wrap:anywhere}.command-list p{font-size:11px;color:#94a6bb;line-height:1.7}.dashboard-footer{display:flex;justify-content:space-between;gap:15px;color:#a8b5c7;font-size:10px;margin-top:20px}.error-banner{margin-bottom:20px;font-size:12px}
dialog{width:min(540px,calc(100vw - 30px));padding:27px;border:1px solid #dceaf5;border-radius:15px;color:var(--ink);box-shadow:0 25px 100px #123e6940;max-height:90vh;overflow:auto;background:white}
dialog::backdrop{background:#183a5d70;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dialog-head h2{font-size:19px}.close-button{background:#f3f8fd;border:0;border-radius:6px;color:#8ba0b9;width:29px;height:29px;font-size:19px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-group{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#7d91ab}.form-group.full{grid-column:1/-1}.form-group input,.form-group textarea,.form-group select{border:1px solid #dce8f2;border-radius:7px;padding:10px;color:#425e80;width:100%;min-width:0;background:#fcfeff}.form-group textarea{resize:vertical;min-height:90px}.form-group input[type=checkbox]{width:auto}.dialog-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.modal-message{font-size:13px;line-height:1.8;color:#6b819c}.key-result{padding:18px;background:#f0f8ff;border:1px solid #d6eaff;border-radius:9px;margin-top:15px}.key-result code{display:block;font-size:15px;overflow-wrap:anywhere;color:#087ce7;margin-bottom:13px}
#toast{position:fixed;bottom:25px;right:25px;z-index:1000;max-width:min(430px,calc(100vw - 40px));padding:14px 20px;border-radius:9px;background:#f0fff8;border:1px solid #bee9d7;color:#158157;box-shadow:0 7px 30px #20456726;font-size:13px;overflow-wrap:anywhere}#toast.error{background:#fff1f3;border-color:#ffd5dd;color:#ba3652}
@media(min-width:1600px){.content{padding:32px 42px}.topbar{padding:0 42px}.page-head{margin-bottom:32px}.charts-row{grid-template-columns:2.2fr 1fr 1.1fr}}
@media(max-width:1350px){.workspace{grid-template-columns:218px minmax(0,1fr)}.content{padding:24px}.metrics{grid-template-columns:repeat(3,1fr)}.metric{height:96px}.charts-row{grid-template-columns:1.7fr 1fr}.products-card{grid-column:1/-1;height:auto;min-height:140px}.products-card #productChart{display:grid;grid-template-columns:1fr 1fr;gap:0 35px}.product{margin-top:18px}}
@media(max-width:1000px){.login-layout{padding:15px;grid-template-columns:1fr}.login-visual{padding:30px}.login-visual .hero-art,.login-caption{display:none}.login-visual .brand{flex-direction:row;gap:15px}.login-visual .brand-mark{transform:scale(.7);margin:-8px}.login-visual .brand>div:last-child{text-align:left}.login-visual .brand strong{font-size:25px}.login-form-side{padding:15px 15px 35px}.workspace{grid-template-columns:76px minmax(0,1fr)}.sidebar .aside-brand{padding:26px 19px}.sidebar .brand>div:last-child,.nav-label,nav button span,.logout-button span,.server-status div,.server-status>i{display:none}nav{padding:14px 10px}nav button{justify-content:center;padding:0}.sidebar-bottom{padding:15px 10px}.server-status{justify-content:center;padding:10px}.logout-button{justify-content:center}.topbar{padding:0 23px;height:76px}.profile{padding-left:13px}.profile>div:last-child{display:none}.products-grid{grid-template-columns:1fr 1fr}.maintenance-grid{grid-template-columns:1fr}}
@media(max-width:760px){.content{min-width:0;padding:20px 16px}.topbar{min-width:0;padding:0 13px;gap:4px}.search{max-width:none}.search kbd{display:none}.profile{margin-left:3px;padding-left:8px}.avatar{width:31px;height:31px}.workspace{grid-template-columns:60px minmax(0,1fr)}.sidebar .aside-brand{padding:23px 11px;height:76px}nav{padding:10px 6px}nav button{height:41px}.sidebar-bottom{padding:12px 7px}.server-status{padding:8px}.page-head{align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-title{font-size:24px}.page-head p{font-size:11px}.metrics{grid-template-columns:1fr 1fr;gap:9px}.metric{padding:13px 10px;gap:9px;height:100px}.metric-icon{width:27px;height:27px}.metric-icon svg{width:17px;height:17px}.metric strong{font-size:24px}.metric span{font-size:10px;white-space:normal}.metric small{font-size:9px}.charts-row{grid-template-columns:1fr}.products-card{grid-column:auto}.products-card #productChart{grid-template-columns:1fr}.line-card{height:250px}.status-card{height:290px}.bottom-row{grid-template-columns:1fr;gap:0}.data-card{padding:15px}.card-head{flex-wrap:wrap}.card-head strong{font-size:13px}.section-tools{align-items:flex-start;flex-direction:column}.products-grid,.command-list{grid-template-columns:1fr}.status-detail dl{grid-template-columns:1fr;gap:7px}.status-detail dd{margin-bottom:8px}.dashboard-footer{flex-direction:column;gap:5px}dialog{padding:22px}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Keep the mobile header inside its grid column. */
@media(max-width:760px){.topbar .search{min-width:0;flex:1 1 0}.topbar-spacer{display:none}.topbar .profile{flex-shrink:0}.line-card{height:290px}}
