:root {
  color-scheme: dark;
  --bg: #07100f;
  --panel: #0d1917;
  --panel-2: #11211e;
  --line: #23413a;
  --text: #e6f4ef;
  --muted: #87a59b;
  --green: #56e39f;
  --yellow: #f7c85b;
  --red: #ff6b6b;
  --cyan: #62d8f4;
  --purple: #aa8cff;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 80% -10%, #17372f 0, var(--bg) 35%); color: var(--text); font: 14px/1.5 Inter, "Noto Sans KR", system-ui, sans-serif; }
button, a { font: inherit; }
button { color: var(--text); }
.topbar { max-width: 1500px; margin: auto; padding: 28px 24px 14px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(22px, 3vw, 35px); letter-spacing: -.04em; }
h2 { margin-bottom: 0; font-size: 19px; }
h3 { color: var(--muted); font-size: 13px; font-weight: 600; }
.eyebrow { color: var(--green); margin-bottom: 5px; font: 700 11px/1.2 ui-monospace, monospace; letter-spacing: .14em; }
.live { color: var(--muted); white-space: nowrap; }
.live span { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
main { max-width: 1500px; padding: 14px 24px 60px; margin: auto; display: grid; gap: 18px; }
.panel { background: color-mix(in srgb, var(--panel) 94%, transparent); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 18px 45px #0003; }
.hero { display: grid; grid-template-columns: minmax(220px, .75fr) 2fr; gap: 25px; align-items: center; }
.status-copy h2 { font-size: clamp(30px, 5vw, 54px); letter-spacing: -.06em; }
.status-copy p:last-child { color: var(--muted); margin: 8px 0 0; }
.status-good { color: var(--green); }.status-warning { color: var(--yellow); }.status-critical { color: var(--red); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(100px, 1fr)); gap: 10px; }
.metric { padding: 14px; background: var(--panel-2); border-radius: 10px; min-width: 0; }
.metric label { display: block; color: var(--muted); font: 700 10px ui-monospace, monospace; letter-spacing: .08em; }
.metric strong { display: block; margin-top: 6px; font-size: clamp(17px, 2vw, 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric small { color: var(--muted); }
.warning { padding: 14px 18px; border: 1px solid #765b1a; border-radius: 10px; color: var(--yellow); background: #2b240f; }
.public-notice { padding: 11px 16px; border: 1px solid #265e70; border-radius: 10px; color: var(--cyan); background: #0b242c; } .public-notice a { margin-left: 8px; color: var(--green); font-weight: 800; }
.hidden { display: none !important; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.section-title span { color: var(--muted); font-size: 12px; }
.graph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bar-row { display: grid; grid-template-columns: 104px 1fr 70px; gap: 9px; align-items: center; margin: 9px 0; font-size: 12px; }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 8px; background: #08110f; border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; min-width: 1px; background: linear-gradient(90deg, var(--green), var(--cyan)); border-radius: inherit; }
.bar-value { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); padding: 18px 0; }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.chart-wrap { min-width: 0; padding: 12px; background: #091411; border-radius: 10px; }
.chart-wrap canvas { width: 100%; height: 160px; display: block; }
.memory-stack { height: 18px; display: flex; overflow: hidden; border-radius: 8px; background: #07100f; }
.memory-stack span:nth-child(1) { background: var(--purple); }.memory-stack span:nth-child(2) { background: var(--cyan); }.memory-stack span:nth-child(3) { background: var(--green); }
.memory-legend { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 12px; color: var(--muted); }
.memory-legend b { color: var(--text); }
.service-table-head, .service-row { display: grid; grid-template-columns: 34px minmax(150px, 1fr) 52px 74px 74px 88px 106px; gap: 8px; align-items: center; }
.service-table-head { padding: 0 12px 8px; color: var(--muted); font: 700 10px ui-monospace, monospace; }
.service-row { min-height: 48px; padding: 7px 12px; border-top: 1px solid #1b302b; font-variant-numeric: tabular-nums; }
.service-row:hover { background: var(--panel-2); }
.service-rank { color: var(--muted); font: 700 11px ui-monospace, monospace; }
.service-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.core-lock { margin-right: 7px; color: var(--cyan); font-size: 8px; }
.state { font: 700 13px ui-monospace, monospace; }.running { color: var(--green); }.stopped { color: var(--red); }
.row-actions { display: flex; justify-content: end; gap: 5px; }
.row-actions button, .row-actions a, .button-grid button, .profile-buttons button, .danger { border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; background: #0a1513; color: var(--text); text-decoration: none; cursor: pointer; }
button:hover, .row-actions a:hover { border-color: var(--green); }.row-actions button:disabled { opacity: .25; cursor: not-allowed; }
.control-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 18px; }.button-grid { display: flex; flex-wrap: wrap; gap: 8px; }.danger-panel p { color: var(--muted); }.danger { width: 100%; border-color: #873939; background: #2b1414; color: #ffaaaa; font-weight: 700; }.danger:hover { border-color: var(--red); }
.profile-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.profile-buttons button { text-align: left; font-weight: 700; }.profile-buttons small { display: block; color: var(--muted); margin-top: 4px; font-weight: 400; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quick-links { display: grid; gap: 10px; }
.web-shortcuts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.web-shortcut, .shortcut-card { border: 1px solid var(--line); border-radius: 9px; background: var(--panel-2); padding: 12px; }
.web-shortcut { color: var(--text); text-decoration: none; }.web-shortcut span { display: block; margin-top: 3px; color: var(--green); font-size: 11px; }
.shortcut-title { display: flex; justify-content: space-between; }.shortcut-title span { color: var(--muted); font: 700 10px ui-monospace, monospace; }.shortcut-card p { margin: 7px 0; color: var(--muted); font-size: 12px; }.shortcut-card code { display: block; margin: 5px 0; padding: 6px 8px; border-radius: 5px; background: #07100f; overflow-wrap: anywhere; }.shortcut-actions { display: flex; gap: 6px; margin-top: 9px; }.shortcut-actions a, .shortcut-actions button { border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; background: #0a1513; color: var(--text); text-decoration: none; cursor: pointer; }
.event-log { list-style: none; padding: 0; margin: 0; max-height: 240px; overflow: auto; font-family: ui-monospace, monospace; }.event-log li { display: grid; grid-template-columns: 75px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid #172824; }.event-log time { color: var(--muted); }.event-log .error { color: var(--red); }.event-log .action { color: var(--cyan); }
.toast { position: fixed; right: 20px; bottom: 20px; max-width: 390px; padding: 13px 17px; background: #142822; border: 1px solid var(--green); border-radius: 10px; box-shadow: 0 15px 40px #0008; z-index: 10; }.toast.error { border-color: var(--red); }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; }.graph-grid, .control-grid { grid-template-columns: 1fr 1fr; }.timeline-grid { grid-template-columns: 1fr; }.split-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .topbar { align-items: start; flex-direction: column; }.metric-grid { grid-template-columns: 1fr 1fr; }.graph-grid, .control-grid { grid-template-columns: 1fr; }.profile-buttons { grid-template-columns: 1fr; }.panel { padding: 15px; }.bar-row { grid-template-columns: 90px 1fr 62px; }.service-table-head, .service-row { grid-template-columns: 25px minmax(105px, 1fr) 25px 57px 72px; gap: 5px; }.service-table-head span:nth-child(5), .service-row > span:nth-child(5), .service-table-head span:last-child { display: none; }.row-actions { grid-column: 2 / -1; justify-content: start; padding-bottom: 3px; } }
/* Cinematic operations interface: terminal cues without terminal-only readability. */
:root { --bg: #03070a; --panel: #081117; --panel-2: #0b171e; --line: #1c3b43; --text: #e8f1f2; --muted: #8ba0a8; --green: #55e6a5; --yellow: #ffbf5b; --red: #ff6577; --cyan: #4dd9d1; --purple: #9a8cff; }
::selection { background: #4dd9d155; color: #fff; }
html { background: var(--bg); }
body { position: relative; isolation: isolate; min-height: 100vh; background: radial-gradient(circle at 78% -15%, #12313a 0, transparent 36%), linear-gradient(180deg, #061015 0, #03070a 70%); color: var(--text); font-family: Inter, "Noto Sans KR", system-ui, sans-serif; font-size: 14.5px; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(#4dd9d109 1px, transparent 1px), linear-gradient(90deg, #4dd9d109 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, #000 0, transparent 85%); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, #03070add 0, transparent 22%, transparent 78%, #03070add 100%); }
.topbar { position: relative; max-width: 1540px; padding: 30px 28px 20px; border-bottom: 1px solid #25515a; align-items: center; }
.topbar::after { content: ""; position: absolute; left: 28px; bottom: -2px; width: 150px; height: 3px; background: var(--cyan); box-shadow: 0 0 16px #4dd9d177; }
.topbar h1 { color: #f4fbfb; font-size: clamp(23px, 3vw, 38px); font-weight: 720; letter-spacing: -.035em; text-shadow: 0 0 28px #4dd9d122; }
.eyebrow { color: var(--cyan); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: .18em; }
.live { padding: 8px 11px; border: 1px solid #24464d; background: #071217cc; color: #9bb1b8; border-radius: 2px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 11px; letter-spacing: .05em; }
.live span { width: 7px; height: 7px; background: var(--green); box-shadow: 0 0 10px var(--green); }
main { max-width: 1540px; padding: 20px 28px 72px; gap: 16px; }
.panel { position: relative; overflow: hidden; border: 1px solid #1b3b43; border-radius: 3px; background: linear-gradient(135deg, #10202899 0, transparent 34%), #071015ed; box-shadow: 0 16px 44px #0007, inset 0 1px #ffffff08; }
.panel::before { content: ""; position: absolute; inset: 7px; pointer-events: none; border-top: 1px solid #4dd9d11f; border-left: 1px solid #4dd9d112; }
.panel::after { content: ""; position: absolute; top: -1px; right: -1px; width: 18px; height: 18px; pointer-events: none; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); opacity: .78; }
.panel > * { position: relative; z-index: 1; }
.hero { grid-template-columns: minmax(265px, .72fr) 2fr; padding: 24px; background: linear-gradient(105deg, #0d2529 0, #081318 43%, #071015 100%); }
.status-copy { padding-right: 24px; border-right: 1px solid #25505a; }
.status-copy h2 { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(31px, 4.7vw, 56px); font-weight: 720; letter-spacing: -.065em; }
.status-copy p:last-child { max-width: 330px; color: #9aacb2; }
.status-good { color: #68f0b5; text-shadow: 0 0 24px #55e6a52b; }.status-warning { color: var(--yellow); text-shadow: 0 0 24px #ffbf5b24; }.status-critical { color: var(--red); text-shadow: 0 0 24px #ff657727; }
.metric-grid { gap: 8px; }
.metric { position: relative; min-height: 82px; padding: 13px 14px 12px 16px; border: 1px solid #18343b; border-left: 2px solid #3b8089; border-radius: 2px; background: linear-gradient(90deg, #0b1d23 0, #081318 100%); }
.metric::after { content: ""; position: absolute; top: 7px; right: 7px; width: 4px; height: 4px; background: #4dd9d155; }
.metric label { color: #7f969e; font-size: 9px; letter-spacing: .16em; }
.metric strong { margin-top: 7px; color: #f0f7f7; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: clamp(17px, 2vw, 23px); font-weight: 650; }
.metric small { color: #82969d; font-size: 10px; }
.section-title { min-height: 30px; padding-bottom: 10px; border-bottom: 1px solid #1e3b42; }
.section-title h2 { color: #eaf4f4; font-size: 16px; font-weight: 680; letter-spacing: .015em; }
.section-title h2::before { content: "//"; margin-right: 8px; color: var(--cyan); font-family: ui-monospace, monospace; }
.section-title span { color: #7f949c; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .07em; }
.graph-grid { gap: 16px; }.ranked { min-height: 350px; }
.bar-row { grid-template-columns: 112px 1fr 72px; min-height: 22px; color: #dce8e9; }
.bar-track { height: 6px; background: #020709; border: 1px solid #142b31; border-radius: 0; }
.bar-fill { background: linear-gradient(90deg, #2e777c, var(--cyan)); border-radius: 0; box-shadow: 0 0 10px #4dd9d122; }
.bar-value { color: #a8b9be; font-family: ui-monospace, monospace; }
.chart-wrap { border: 1px solid #142e35; border-radius: 2px; background: #03090d; }
.chart-wrap h3 { color: var(--cyan); font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .14em; }
.memory-stack { height: 14px; border: 1px solid #1b3b43; border-radius: 0; background: #020608; }
.memory-legend { font-family: ui-monospace, monospace; font-size: 11px; }
.service-table-head { color: #71919a; letter-spacing: .1em; }
.service-row { min-height: 50px; border-top-color: #19343b; color: #cbd9dc; }
.service-row:nth-child(even) { background: #0a171c66; }
.service-row:hover { background: #10262c; box-shadow: inset 2px 0 var(--cyan); }
.service-name { color: #eff6f6; font-weight: 650; }.service-rank { color: #58747c; }.core-lock { color: var(--yellow); }
.row-actions button, .row-actions a, .button-grid button, .profile-buttons button, .danger, .shortcut-actions a, .shortcut-actions button { border-color: #26515a; border-radius: 2px; background: #09161b; color: #dbe8e9; font-family: ui-monospace, monospace; font-size: 11px; }
button:hover, .row-actions a:hover, .shortcut-actions a:hover { border-color: var(--cyan); background: #10272d; color: #fff; box-shadow: inset 0 -2px var(--cyan); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.danger { border-color: #7b3540; background: #261116; color: #ff9aa7; }.danger:hover { border-color: var(--red); box-shadow: inset 0 -2px var(--red); }
.web-shortcut, .shortcut-card { border-color: #1c3d44; border-radius: 2px; background: linear-gradient(135deg, #0d2026 0, #081318 75%); }
.web-shortcut:hover { border-color: var(--cyan); box-shadow: inset 3px 0 var(--cyan); }.web-shortcut span { color: var(--cyan); font-family: ui-monospace, monospace; }
.shortcut-title span { color: var(--yellow); letter-spacing: .12em; }.shortcut-card p { color: #95a7ad; }.shortcut-card code { border: 1px solid #163138; border-radius: 1px; background: #02080b; color: #bce7e5; font-family: ui-monospace, monospace; }
.event-log { color: #c4d4d6; }.event-log li { border-bottom-color: #163138; }.event-log time { color: #66848c; }
.toast { border-radius: 2px; background: #0b1b20; font-family: ui-monospace, monospace; }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; }.status-copy { padding-right: 0; padding-bottom: 18px; border-right: 0; border-bottom: 1px solid #25505a; } }
@media (max-width: 650px) { .topbar, main { padding-left: 14px; padding-right: 14px; }.topbar::after { left: 14px; }.panel { padding: 14px; }.metric { min-height: 76px; }.status-copy h2 { font-size: 34px; }.service-row { font-size: 12px; } }
/* Cinematic v3: structural HUD redesign. */
:root { --cyan: #18dff2; --green: #5cffad; --yellow: #ffad42; --red: #ff4e69; --panel: #080e18; --panel-2: #0b1420; --line: #274655; --text: #edf7fa; --muted: #92a8b2; }
body { background: radial-gradient(circle at 82% 0, #142943 0, transparent 30%), linear-gradient(135deg, #02050a 0, #070d16 55%, #020509 100%); }
body::before { background-image: linear-gradient(#18dff20b 1px, transparent 1px), linear-gradient(90deg, #18dff20b 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, #000 0, #0008 55%, transparent 100%); }
.topbar { max-width: none; min-height: 132px; margin: 0; padding: 24px max(28px, calc((100vw - 1484px) / 2)); border: 0; border-bottom: 2px solid #18dff2; background: linear-gradient(90deg, #050a12 0, #0c1724 68%, #07111c 100%); box-shadow: 0 12px 44px #000b, inset 0 -1px #b9f8ff44; }
.topbar::before { content: ""; position: absolute; left: 0; bottom: -8px; width: 44%; height: 6px; background: linear-gradient(90deg, var(--yellow) 0 18%, var(--cyan) 18% 84%, transparent 84%); }
.topbar::after { left: auto; right: 0; bottom: -2px; width: 22%; height: 2px; background: var(--yellow); box-shadow: none; }
.brand-block { display: flex; align-items: center; gap: 18px; }
.brand-mark { width: 82px; height: 82px; padding: 9px; display: grid; grid-template-rows: auto 1fr; border: 2px solid var(--cyan); background: #071722; color: var(--cyan); clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px)); box-shadow: inset 0 0 24px #18dff21c; font-family: ui-monospace, monospace; }
.brand-mark span { font-size: 9px; letter-spacing: .2em; }.brand-mark strong { align-self: end; font-size: 43px; line-height: .9; letter-spacing: -.08em; }
.brand-copy h1 { font-size: clamp(21px, 2.2vw, 31px); letter-spacing: -.035em; }.brand-copy .eyebrow { margin-bottom: 6px; }
.header-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }.header-tags span { padding: 3px 7px; border-left: 2px solid var(--yellow); background: #111c29; color: #9eb2bc; font: 700 9px ui-monospace, monospace; letter-spacing: .1em; }
.live-block { display: grid; justify-items: end; gap: 9px; }.live { min-width: 142px; text-align: center; border-color: #2e7180; color: #c5f9f5; }.sync-time { color: #6f8e9a; font: 700 10px ui-monospace, monospace; letter-spacing: .1em; }.sync-time b { color: var(--yellow); }
main { max-width: 1484px; padding: 0 24px 80px; border-left: 1px solid #17303c; border-right: 1px solid #17303c; background: linear-gradient(90deg, #08111b66, transparent 12%, transparent 88%, #08111b66); }
.ops-strip { height: 38px; margin: 0 -24px 18px; padding: 0 24px; display: flex; align-items: center; gap: 0; overflow: hidden; border-bottom: 1px solid #244652; background: #050b13; color: #7895a0; font: 700 9px ui-monospace, monospace; letter-spacing: .12em; }
.ops-strip span { height: 100%; padding: 13px 22px 0 12px; border-right: 1px solid #244652; }.ops-strip span:first-child { padding-left: 2px; color: var(--cyan); }.ops-strip span:last-child { margin-left: auto; color: var(--yellow); }
.panel { --module-color: var(--cyan); border: 1px solid #294955; border-left: 3px solid var(--module-color); border-radius: 0; background: linear-gradient(115deg, #0e1b2988 0, transparent 38%), #060c14f2; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); box-shadow: 0 18px 36px #0008; }
.panel::before { inset: 0; border: 0; border-top: 3px solid var(--module-color); width: 90px; }.panel::after { top: 0; right: 0; width: 22px; height: 22px; border: 0; background: linear-gradient(45deg, transparent 48%, var(--module-color) 49% 52%, transparent 53%); opacity: .8; }
.graph-grid .panel:nth-child(2), .memory-panel { --module-color: var(--yellow); }.graph-grid .panel:nth-child(3), .danger-panel { --module-color: var(--red); }
.section-title { min-height: 48px; margin: -20px -20px 18px; padding: 14px 20px 11px; align-items: center; border: 0; border-bottom: 1px solid #264752; background: linear-gradient(90deg, #102332 0, #09131e 70%, transparent 100%); }
.section-title::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--module-color); box-shadow: 0 0 14px var(--module-color); }
.section-title h2 { font-size: 15px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }.section-title h2::before { content: "["; margin-right: 7px; }.section-title h2::after { content: "]"; margin-left: 7px; color: var(--cyan); }
.hero { min-height: 265px; padding: 0; grid-template-columns: minmax(310px, .72fr) 2fr; gap: 0; border-width: 1px 1px 1px 4px; background: #060d16; }
.hero::before { width: 42%; }.hero .status-copy { min-height: 263px; padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; border: 0; border-right: 1px solid #2a4c58; background: radial-gradient(circle at 20% 45%, #123a4144 0, transparent 62%), #07121b; }
.hero .status-copy::after { content: "STATUS / LIVE"; position: absolute; left: 30px; bottom: 18px; color: #587b86; font: 700 9px ui-monospace, monospace; letter-spacing: .18em; }
.status-copy h2 { font-size: clamp(29px, 3.7vw, 46px); line-height: .95; }.status-copy p:last-child { font-size: 13px; }
.metric-grid { padding: 18px; counter-reset: hudmetric; grid-template-columns: repeat(4, minmax(115px, 1fr)); align-content: stretch; }
.metric { counter-increment: hudmetric; min-height: 104px; padding: 24px 13px 12px 17px; border: 1px solid #254653; border-bottom: 3px solid #2e6470; background: linear-gradient(155deg, #102331 0, #071019 72%); }
.metric::before { content: "0" counter(hudmetric); position: absolute; top: 6px; left: 8px; color: #416774; font: 700 9px ui-monospace, monospace; }.metric::after { top: 0; right: 0; width: 18px; height: 3px; background: var(--yellow); }
.metric label { color: #87a4ae; }.metric strong { font-size: clamp(18px, 2vw, 25px); color: #f4fbff; }.metric small { display: block; margin-top: 4px; line-height: 1.35; }
.ranked { min-height: 370px; padding-top: 20px; }.bar-row { margin: 12px 0; }.bar-track { height: 9px; border-color: #21434f; }.bar-fill { background: linear-gradient(90deg, #167789, var(--module-color)); box-shadow: 0 0 12px #18dff244; }
.timeline-grid { gap: 10px; }.chart-wrap { padding: 14px; border: 1px solid #294955; border-bottom: 2px solid #315e6a; background: linear-gradient(180deg, #061018, #03070c); }.chart-wrap canvas { height: 190px; }
.memory-panel { padding-bottom: 24px; }.memory-stack { height: 22px; }.memory-legend { margin-top: 14px; }
.service-table-head { min-height: 32px; padding: 0 14px 9px; color: #6e949f; }.service-row { min-height: 55px; padding: 8px 14px; }.service-row:nth-child(even) { background: #0a1622aa; }.service-row:hover { background: #122735; box-shadow: inset 4px 0 var(--cyan); }
.row-actions button, .row-actions a { min-width: 29px; min-height: 29px; border-bottom: 2px solid #316674; }.control-grid .panel { min-height: 215px; }.button-grid button, .profile-buttons button { min-height: 48px; border-left: 3px solid var(--cyan); text-align: left; }.profile-buttons small { color: #79939c; }
.web-shortcut, .shortcut-card { border: 1px solid #284a56; border-left: 3px solid var(--cyan); background: linear-gradient(135deg, #102331, #071019 72%); }.web-shortcut { min-height: 65px; }.shortcut-card { padding: 15px; }.event-log { min-height: 180px; }
@media (max-width: 1000px) { .topbar { padding-left: 20px; padding-right: 20px; }.brand-mark { width: 68px; height: 68px; }.hero { grid-template-columns: 1fr; }.hero .status-copy { min-height: 210px; border-right: 0; border-bottom: 1px solid #2a4c58; }.metric-grid { grid-template-columns: repeat(4, 1fr); }.ops-strip span:nth-child(3) { display: none; } }
@media (max-width: 650px) { .topbar { min-height: 0; padding: 18px 14px; align-items: flex-start; }.brand-mark { width: 56px; height: 56px; }.brand-mark strong { font-size: 30px; }.brand-copy h1 { font-size: 21px; }.header-tags { display: none; }.live-block { width: 100%; justify-items: stretch; }.live { min-width: 0; }.ops-strip { margin-left: -14px; margin-right: -14px; padding: 0 14px; }.ops-strip span { padding-right: 10px; padding-left: 8px; }.ops-strip span:nth-child(2) { display: none; }.metric-grid { padding: 10px; grid-template-columns: 1fr 1fr; }.metric { min-height: 90px; }.section-title { margin: -14px -14px 14px; padding-left: 14px; }.hero .status-copy { padding: 28px 20px; }.status-copy h2 { font-size: 30px; }.ranked { min-height: 0; } }
/* Semicircular telemetry gauges. */
.metric-grid { gap: 10px; }
.metric { --gauge-color: var(--cyan); min-height: 164px; padding: 10px 10px 12px; display: flex; flex-direction: column; align-items: center; border-bottom-color: var(--gauge-color); text-align: center; }
.metric.gauge-good { --gauge-color: var(--green); }.metric.gauge-warn { --gauge-color: var(--yellow); }.metric.gauge-danger { --gauge-color: var(--red); }.metric.gauge-cool { --gauge-color: var(--cyan); }
.metric::after { background: var(--gauge-color); box-shadow: 0 0 10px var(--gauge-color); }
.metric-head { width: 100%; min-height: 18px; display: flex; justify-content: center; }.metric label { color: #a5bac2; font-size: 9px; letter-spacing: .18em; }
.gauge-shell { position: relative; width: min(132px, 100%); height: 77px; margin: 2px auto 0; }
.gauge-shell svg { width: 100%; height: 100%; overflow: visible; }.gauge-shell path { fill: none; stroke-width: 10; stroke-linecap: butt; }
.gauge-track { stroke: #172a35; }.gauge-fill { stroke: var(--gauge-color); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--gauge-color) 52%, transparent)); transition: stroke-dasharray .25s ease-out; }
.gauge-shell strong { position: absolute; left: 0; right: 0; bottom: 3px; margin: 0; overflow: visible; color: #f4fbff; font: 700 clamp(17px, 1.7vw, 23px) ui-monospace, monospace; text-overflow: clip; }
.metric small { min-height: 28px; margin-top: 5px; color: #8da3ab; font: 9px/1.4 ui-monospace, monospace; }
@media (max-width: 650px) { .metric { min-height: 150px; padding: 9px 7px 10px; }.gauge-shell { width: min(118px, 100%); height: 69px; }.gauge-shell strong { font-size: 18px; }.metric small { font-size: 8px; } }

/* Service impact: sustained cost translated into readable operational grades. */
.impact-panel { --module-color: var(--yellow); }
.impact-guide { margin: -5px 0 16px; color: #91a8b1; font-size: 12px; }
.impact-guide b { color: #dcebed; }
.impact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.impact-card { min-width: 0; padding: 14px; border: 1px solid #294955; border-left: 3px solid #476c78; background: linear-gradient(135deg, #102331, #071019 72%); }
.impact-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.impact-head > strong { overflow: hidden; color: #f3fafc; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.activity-live, .activity-idle { flex: none; font: 700 10px ui-monospace, monospace; }
.activity-live { color: var(--green); text-shadow: 0 0 8px #5cffad55; }
.activity-idle { color: #718c96; }
.impact-grades { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.impact-grade { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 8px 9px; border: 1px solid #294955; background: #050c13; }
.impact-grade span { color: #829ba5; font-size: 10px; }
.impact-grade strong { font-size: 12px; white-space: nowrap; }
.grade-minimal strong { color: #8da6af; }.grade-low strong { color: var(--green); }.grade-medium strong { color: var(--yellow); }
.grade-high strong, .grade-very-high strong { color: var(--red); }.grade-very-high { border-color: #7a3341; background: #1c0c13; }
.grade-unknown strong { color: var(--cyan); }
.impact-shares { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 9px; border: 1px solid #23434f; }
.impact-shares span { min-width: 0; padding: 8px; border-right: 1px solid #23434f; color: #748f99; font-size: 9px; line-height: 1.35; }
.impact-shares span:last-child { border-right: 0; }
.impact-shares b { display: block; overflow: hidden; color: #e9f5f7; font: 700 15px ui-monospace, monospace; text-overflow: ellipsis; }
.impact-detail { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 9px; color: #8fa5ad; font: 10px ui-monospace, monospace; }
.impact-factor { margin-top: 10px; padding-top: 9px; border-top: 1px solid #203c47; color: #849ca5; font-size: 11px; }
.impact-factor b { margin-left: 5px; color: var(--yellow); }
.impact-factor small { float: right; color: #587782; font: 9px ui-monospace, monospace; }
.event-log .session-entry { display: block; margin-bottom: 8px; padding: 10px; border: 1px solid #244550; background: #08151e; }
.session-title { display: flex; align-items: center; gap: 8px; }
.session-title > strong { color: #f0f8fa; }.session-title > b { color: #78939c; font-size: 10px; }.session-title .session-live { color: var(--green); }
.session-title time { margin-left: auto; color: var(--yellow); font-weight: 700; }
.session-stats { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-top: 7px; color: #8099a2; font-size: 10px; }
.session-stats b { color: #dcebed; }
.event-log .plain-event { grid-template-columns: 75px 1fr; }
.event-log .session { color: var(--yellow); }
@media (max-width: 900px) { .impact-list { grid-template-columns: 1fr; } }
@media (max-width: 650px) {
  .impact-shares { grid-template-columns: 1fr 1fr; }
  .impact-shares span:nth-child(2) { border-right: 0; }
  .impact-shares span:nth-child(-n+2) { border-bottom: 1px solid #23434f; }
  .impact-factor small { display: block; float: none; margin-top: 4px; }
}
/* Simplified service-impact list. */
.impact-list { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid #294955; background: #050c13; }
.impact-row { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(240px, 1.25fr) minmax(240px, 1.25fr) minmax(130px, .7fr); gap: 18px; align-items: center; min-height: 62px; padding: 10px 14px; border-bottom: 1px solid #203d47; }
.impact-row:last-child { border-bottom: 0; }
.impact-row:hover { background: #0d1c27; box-shadow: inset 3px 0 var(--yellow); }
.impact-service { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.impact-service > strong { overflow: hidden; color: #f2f8fa; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.impact-meter { display: grid; grid-template-columns: 70px minmax(90px, 1fr) 72px; gap: 9px; align-items: center; min-width: 0; }
.impact-meter > span, .impact-cause > span { color: #829aa4; font-size: 10px; }
.impact-meter > strong { text-align: right; font-size: 11px; white-space: nowrap; }
.impact-segments { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.impact-segments i { height: 9px; border: 1px solid #29444e; background: #111f28; transform: skewX(-12deg); }
.grade-low .impact-segments i.on { border-color: #3eaf7c; background: var(--green); box-shadow: 0 0 7px #5cffad44; }
.grade-medium .impact-segments i.on { border-color: #bb7a25; background: var(--yellow); box-shadow: 0 0 7px #ffad4244; }
.grade-high .impact-segments i.on, .grade-very-high .impact-segments i.on { border-color: #b6384d; background: var(--red); box-shadow: 0 0 7px #ff4e6944; }
.impact-cause { min-width: 0; padding-left: 13px; border-left: 1px solid #294955; }
.impact-cause span { display: block; }
.impact-cause strong { display: block; overflow: hidden; margin-top: 3px; color: #dce9ec; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1050px) {
  .impact-row { grid-template-columns: 130px 1fr 1fr; gap: 12px; }
  .impact-cause { grid-column: 2 / -1; padding: 0; border: 0; }
  .impact-cause span, .impact-cause strong { display: inline; margin: 0 7px 0 0; }
}
@media (max-width: 700px) {
  .impact-guide { margin-bottom: 11px; }
  .impact-row { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .impact-service { padding-bottom: 3px; }
  .impact-meter { grid-template-columns: 62px 1fr 67px; gap: 7px; }
  .impact-cause { grid-column: auto; padding-top: 7px; border-top: 1px solid #1e3943; }
}
