:root { --bg:#f2f6fc; --sidebar:#101f30; --sidebar-muted:#a5b5c7; --text:#182638; --muted:#65778c; --line:#dfe7f1; --panel-alt:#f6f8fc; --accent:#187c64; --shadow:0 3px 14px #233e6a06; }
body { font-size:14px; }
.app-shell { grid-template-columns:248px minmax(0,1fr); }
.sidebar { padding:26px 14px 20px; gap:22px; background:linear-gradient(165deg,#122337,#0e1b2b); scrollbar-width:thin; scrollbar-color:#40516a transparent; }
.brand { padding:0 10px 26px; gap:12px; }
.brand .brand-mark,.login-brand .brand-mark { width:46px; height:46px; border:1px solid #5b7898; border-radius:10px; background:#23374c; color:#f4f8ff; font-size:22px; letter-spacing:-1px; box-shadow:inset 0 1px 0 #ffffff10; }
.brand strong { font-size:17px; letter-spacing:.3px; }
.brand div>span { font-size:11px; margin-top:2px; }
.primary-nav,#zoneNav,.workspace-nav { gap:6px; }
.nav-label { color:#9fb0c5; font-size:11px; margin:22px 13px 9px; letter-spacing:1px; }
.nav-button { position:relative; min-height:45px; padding:10px 12px; grid-template-columns:25px minmax(0,1fr) 6px; gap:11px; border-radius:8px; color:#dbe5f2; font-size:13px; }
.nav-button.active { background:#2a405e; color:#fff; }
.nav-button.active::before { content:''; position:absolute; top:9px; bottom:9px; left:0; width:3px; border-radius:3px; background:#729dc9; }
.nav-symbol,.nav-button.active .nav-symbol { color:inherit; display:flex; align-items:center; }
.ui-icon { width:22px; height:22px; flex:0 0 auto; vertical-align:middle; }
.nav-symbol .ui-icon { width:21px; height:21px; }
.nav-dot { width:5px; height:5px; opacity:.6; }
.management-nav { margin-top:24px; padding-top:15px; border-top:1px solid #ffffff18; }
.management-nav>summary { list-style:none; display:flex; align-items:center; gap:11px; padding:12px; border-radius:8px; cursor:pointer; font-size:13px; color:#dbe5f2; }
.management-nav>summary::-webkit-details-marker { display:none; }
.management-nav>summary::after { content:'⌄'; margin-left:auto; transition:transform .15s; }
.management-nav[open]>summary::after { transform:rotate(180deg); }
.management-nav>summary:hover { background:#ffffff0b; }
.management-nav[open]>summary { margin-bottom:6px; }
.sidebar-user { padding-top:20px; gap:10px; }
.user-avatar { width:35px; height:35px; border-radius:50%; background:#30465e; color:#eef5ff; }
.sidebar-user strong { font-size:13px; }
.sidebar-logout { border-color:#ffffff20; border-radius:6px; }
.topbar { position:relative; min-height:108px; padding:24px max(32px,calc((100% - 1360px)/2 + 32px)); background:transparent; border:0; align-items:center; gap:24px; }
.topbar h1 { font-size:27px; letter-spacing:-.4px; line-height:1.35; }
.topbar p { margin-bottom:7px; font-size:12px; }
.topbar-actions { min-width:0; flex-wrap:wrap; justify-content:flex-end; gap:14px; }
.node-state { max-width:320px; white-space:normal; line-height:1.5; font-size:11px; padding:7px 10px; border:1px solid #e0e7ef; background:#ffffffa6; border-radius:7px; }
.node-state i { flex:0 0 6px; width:6px; height:6px; }
.dashboard-tool-search { position:relative; width:245px; }
.dashboard-tool-search>[data-static-icon] { position:absolute; left:12px; top:11px; display:flex; color:#6c7f98; pointer-events:none; }
.dashboard-tool-search .ui-icon { width:18px; height:18px; }
.dashboard-tool-search input { width:100%; border:1px solid #cedbec; border-radius:9px; background:#ffffffa6; padding:10px 12px 10px 38px; font-size:12px; color:var(--text); }
body:not([data-view="overview"]) .dashboard-tool-search { display:none; }
.market-clock-bar { max-width:1360px; padding:0 32px; margin-bottom:0; }
.market-clocks { gap:0; background:#fff; border:1px solid var(--line); border-radius:14px; padding:23px 10px; box-shadow:var(--shadow); }
.market-clock { background:transparent; border:0; border-right:1px solid #e2e9f3; border-radius:0; padding:0 23px; }
.market-clock:last-child { border-right:0; }
.market-clock-heading { justify-content:flex-start; align-items:center; gap:8px; line-height:1.4; }
.market-clock-heading strong { color:#26364a; font-size:13px; }
.market-clock-date { margin-left:auto; font-size:10px; color:#7c8a9d; }
.country-flag { display:inline-flex; width:22px; height:22px; flex:0 0 22px; overflow:hidden; border:1px solid #00000008; border-radius:50%; }
.country-flag svg { width:100%; height:100%; }
.market-clock-time { margin:9px 0 8px; color:#182638; font-size:26px; font-weight:750; line-height:1.1; letter-spacing:-.6px; }
.market-clock-link { display:flex; align-items:center; gap:8px; font-size:11px; line-height:1.5; color:#63758c; text-decoration:none; }
.market-clock-link::after { content:''; display:block; flex:0 0 17px; width:17px; height:17px; border:0; border-radius:0; box-shadow:none; margin-left:2px; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M16%208V5a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h3%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M16%208V5a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v9a2%202%200%200%200%202%202h3%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat; }
.market-clock-link.is-copied::after,.market-clock-link.is-error::after { display:none; }
#mainContent { max-width:1360px; padding:24px 32px 56px; }
.market-clock-bar:not([hidden])+#mainContent { padding-top:24px; }
.dashboard-root { display:grid; gap:30px; }
.dashboard-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.dashboard-stat { display:flex; align-items:center; gap:20px; min-height:126px; padding:23px 27px; background:#fff; border:1px solid var(--line); border-radius:13px; text-align:left; color:var(--text); box-shadow:var(--shadow); }
.dashboard-stat>.ui-icon { margin-left:auto; width:17px; color:#6a7d95; }
.icon-tile { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; width:56px; height:56px; border-radius:13px; }
.icon-tile>.ui-icon { width:30px; height:30px; stroke-width:1.6; }
.icon-tile.blue { background:#e9f2ff; color:#267fda; }
.icon-tile.green { background:#e4f7ee; color:#129368; }
.icon-tile.orange { background:#fff0e4; color:#d67827; }
.icon-tile.purple { background:#efebff; color:#7860ca; }
.stat-copy { display:grid; gap:5px; min-width:0; }
.stat-copy>span { font-size:14px; font-weight:600; }
.stat-copy>strong { font-size:33px; line-height:1.1; letter-spacing:-.7px; font-variant-numeric:tabular-nums; }
.stat-copy>small { font-size:10px; font-weight:400; color:#7c8b9c; line-height:1.5; }
.dashboard-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.dashboard-section-heading h2 { margin:0; font-size:19px; line-height:1.5; }
.dashboard-section-heading>span { font-size:11px; color:#7a899b; }
.dashboard-entry-grid { display:grid; gap:20px; }
.monitor-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.dashboard-entry { min-width:0; display:grid; align-items:start; gap:16px; padding:25px; background:#fff; border:1px solid var(--line); border-radius:13px; color:var(--text); text-align:left; box-shadow:var(--shadow); transition:border-color .15s,box-shadow .15s,transform .15s; }
.dashboard-entry:hover,.dashboard-stat:hover { border-color:#b7cee5; box-shadow:0 5px 18px #3558800c; }
.dashboard-entry:hover { transform:translateY(-1px); }
.dashboard-entry[hidden],.dashboard-section[hidden],.dashboard-search-empty[hidden] { display:none; }
.monitor-card { grid-template-columns:auto minmax(0,1fr); min-height:207px; }
.monitor-card .icon-tile { width:48px; height:48px; border-radius:12px; }
.monitor-card .icon-tile>.ui-icon { width:27px; height:27px; }
.entry-copy { display:grid; gap:9px; min-width:0; }
.entry-copy>strong { font-size:16px; font-weight:650; line-height:1.4; overflow-wrap:anywhere; }
.entry-description { font-size:12px; color:#748296; line-height:1.7; }
.monitor-counts { display:flex; flex-wrap:wrap; gap:8px 16px; font-size:11px; color:#6e7d90; line-height:1.5; }
.monitor-counts b { color:#23374c; font-size:17px; font-weight:650; }
.monitor-footer { grid-column:1/-1; display:flex; align-items:flex-end; justify-content:space-between; gap:12px; border-top:1px solid #edf1f6; padding-top:16px; margin-top:3px; }
.monitor-update { display:grid; gap:7px; font-size:10px; color:#8591a1; line-height:1.5; }
.data-label { width:fit-content; font-size:10px; color:#718198; }
.data-label.success { color:#168363; }
.data-label.warning { color:#946919; }
.data-label.danger { color:#ae5050; }
.entry-link { display:inline-flex; align-items:center; gap:4px; color:#2671b4; font-size:11px; flex-shrink:0; }
.entry-link>.ui-icon { width:14px; height:14px; }
.tool-card { grid-template-columns:auto minmax(0,1fr) auto; align-items:center; min-height:113px; padding:25px 27px; gap:21px; }
.tool-card .entry-copy { gap:7px; }
.entry-arrow { color:#72829a; }
.entry-arrow>.ui-icon { width:18px; }
.dashboard-execution { padding:24px 27px 26px; border:1px solid var(--line); border-radius:13px; background:#fff; box-shadow:var(--shadow); }
.dashboard-execution .dashboard-section-heading { border-bottom:1px solid #edf1f6; padding-bottom:16px; margin-bottom:22px; }
.dashboard-section-heading .text-button { display:inline-flex; align-items:center; gap:6px; font-size:12px; }
.dashboard-section-heading .text-button .ui-icon { width:15px; height:15px; }
.dashboard-task { display:flex; align-items:center; gap:20px; }
.task-copy { display:grid; gap:7px; min-width:0; flex:1; }
.task-copy strong { font-size:16px; line-height:1.5; }
.task-copy>span { font-size:12px; color:#63758b; overflow-wrap:anywhere; }
.task-copy small { color:#7e8c9d; font-size:11px; line-height:1.6; overflow-wrap:anywhere; max-height:54px; overflow:hidden; }
.dashboard-progress-area { width:38%; min-width:190px; }
.dashboard-progress-caption { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:12px; color:#63758b; margin-bottom:12px; }
.dashboard-progress-caption strong { color:#187c64; font-size:17px; }
.dashboard-progress { height:13px; background:#e9eff5; border-radius:9px; overflow:hidden; }
.dashboard-progress>span { display:block; height:100%; border-radius:inherit; background:#22a477; }
.dashboard-progress.indeterminate>span { width:32%; animation:dashboard-running 2.4s ease-in-out infinite; }
.needs-verification .dashboard-progress-caption { color:#976824; }
.dashboard-task-empty { display:flex; align-items:center; gap:18px; padding:10px 0; color:#8493a4; }
.dashboard-task-empty>.ui-icon { color:#8baba0; width:34px; height:34px; }
.dashboard-task-empty>div { display:grid; gap:8px; }
.dashboard-task-empty strong { color:#456052; font-size:14px; }
.dashboard-task-empty span { font-size:12px; }
.dashboard-search-empty { padding:20px; color:var(--muted); text-align:center; }
.section-block { border-radius:12px; box-shadow:var(--shadow); }
.secondary-button,.primary-button { border-radius:7px; }
button:focus-visible,input:focus-visible,summary:focus-visible { outline:2px solid #3883be; outline-offset:3px; }
@keyframes dashboard-running { 0%,100%{transform:translateX(-80%)}50%{transform:translateX(290%)} }
@media(prefers-reduced-motion:reduce){ .dashboard-progress.indeterminate>span { animation:none; width:100%; opacity:.45; } .dashboard-entry { transition:none; } }
@media(min-width:1700px){ .app-shell { grid-template-columns:258px minmax(0,1fr); } .dashboard-root { gap:34px; } .dashboard-entry-grid { gap:24px; } }
@media(max-width:1250px){ .dashboard-tool-search { width:195px; } .topbar-actions { gap:8px; } .node-state { max-width:190px; } .market-clock { padding:0 13px; } .monitor-card { padding:20px; gap:13px; } .monitor-card .icon-tile { width:38px; height:38px; } .monitor-card .icon-tile>.ui-icon { width:23px; height:23px; } .entry-copy>strong { font-size:14px; } .dashboard-stat { padding:22px; gap:14px; } }
@media(max-width:1050px){ .app-shell { grid-template-columns:218px minmax(0,1fr); } .brand strong { font-size:14px; } .nav-button { font-size:12px; gap:8px; } .topbar { padding:22px 24px; } #mainContent { padding:24px 24px 48px; } .market-clock-bar { padding:0 24px; } .market-clocks { grid-template-columns:repeat(5,145px); overflow-x:auto; padding:20px 0; } .dashboard-stat { padding:20px 16px; gap:12px; } .dashboard-stat .icon-tile { width:40px; height:40px; } .dashboard-stat .icon-tile>.ui-icon { width:24px; height:24px; } .stat-copy>span { font-size:12px; } .stat-copy>strong { font-size:28px; } .dashboard-stat>.ui-icon { display:none; } .monitor-grid { grid-template-columns:1fr; } .monitor-card { min-height:0; grid-template-columns:48px minmax(0,1fr) minmax(160px,auto); align-items:center; padding:22px; gap:18px; } .monitor-card .icon-tile { width:48px; height:48px; } .monitor-footer { grid-column:auto; border:0; border-left:1px solid #edf1f6; padding:0 0 0 18px; margin:0; flex-direction:column; align-items:flex-end; } .tool-card { padding:22px; gap:16px; } .tool-card .icon-tile { width:44px; height:44px; } .tool-card .icon-tile>.ui-icon { width:26px; } .dashboard-tool-search { display:none; } }
@media(max-width:820px){ .app-shell { grid-template-columns:1fr; } .sidebar { position:relative; height:auto; max-height:none; padding:18px; gap:14px; } .brand { padding-bottom:14px; } .primary-nav { display:grid; grid-template-columns:1fr; } .workspace-nav { display:flex; flex-wrap:wrap; gap:6px; } .workspace-nav .nav-label { flex-basis:100%; margin:10px 4px 4px; } .workspace-nav .nav-button { width:auto; min-height:40px; grid-template-columns:22px minmax(0,1fr) 5px; } .nav-button[data-view="overview"] { width:fit-content; } .management-nav { margin-top:6px; padding-top:8px; } .management-links { display:flex; flex-wrap:wrap; } .management-links .nav-button { width:auto; } .sidebar-user { padding-top:12px; margin-top:0; } .topbar { min-height:94px; padding:22px 20px; flex-direction:row; } .topbar h1 { font-size:24px; } .topbar-actions { align-items:flex-end; } .node-state { max-width:180px; font-size:10px; } #mainContent { padding:22px 20px 44px; } .market-clock-bar { padding:0 20px; } .dashboard-root { gap:28px; } .dashboard-stats { gap:12px; } .dashboard-stat { min-height:116px; padding:18px 14px; } .dashboard-stat .icon-tile { display:none; } .dashboard-section-heading>span { display:none; } .tool-card { min-height:116px; } .dashboard-task { flex-wrap:wrap; } .dashboard-progress-area { width:100%; margin-top:8px; } }
@media(max-width:540px){ .dashboard-stats { gap:8px; } .dashboard-stat { padding:16px 12px; min-height:111px; } .stat-copy>small { font-size:9px; } .stat-copy>strong { font-size:26px; } .stat-copy>span { font-size:11px; } .tool-grid { grid-template-columns:1fr; } .monitor-card { grid-template-columns:40px minmax(0,1fr); gap:14px; } .monitor-card .icon-tile { width:40px; height:40px; } .monitor-footer { grid-column:1/-1; border-left:0; border-top:1px solid #edf1f6; padding:14px 0 0; flex-direction:row; align-items:flex-end; } .dashboard-task .icon-tile { width:42px; height:42px; } .dashboard-execution { padding:20px; } .topbar { align-items:flex-start; } .topbar-actions { flex-direction:column; } .topbar-actions .node-state { max-width:145px; } }
