@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"), url("../fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff2") format("woff2"), url("../fonts/Inter-Bold.ttf") format("truetype"); font-weight: 700; }
@font-face { font-family: "Antonio"; src: url("../fonts/Antonio.woff2") format("woff2"), url("../fonts/Antonio.ttf") format("truetype"); font-weight: 400; }

:root {
  --bg: #171717;
  --panel: #1d1d1d;
  --line: #2a2a2a;
  --rule: #2a2a2a;
  --text: #ffffff;
  --text-2: #d0d0d0;
  --text-3: #a6a6a6;
  --muted: #606060;
  --field: #141414;
  --field-line: #2c2c2c;
  --chip: #232323;
  --chip-line: #373737;
  --raised: #1f1f1f;
  --line-on: #5b5b5b;
  --light: #f4f4f4;
  --amber: #eeb24a;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); }
body { font-family: "Inter", "Segoe UI", sans-serif; color: var(--text); -webkit-font-smoothing: antialiased; user-select: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
button:disabled { cursor: default; }
input { font: inherit; color: inherit; }

.app { position: relative; width: 100vw; height: 100vh; min-width: 1066px; overflow: hidden; background: var(--bg); }

/* sensor strip */
.strip { position: absolute; left: 0; right: 0; top: 0; height: 109px; padding: 14px 24px 0; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; }
.grp { flex: none; display: flex; flex-direction: column; }
.grp-name { height: 19px; font-size: 15.5px; line-height: 19px; color: var(--text-2); white-space: nowrap; }
.grp-row { display: flex; gap: 12px; margin-top: 11px; }
.metric { flex: none; height: 50px; }
.metric-val { display: flex; align-items: center; height: 40px; white-space: nowrap; }
.metric-num { font-family: "Antonio", sans-serif; font-size: 27px; line-height: 40px; color: #fff; }
.metric-unit { font-size: 12.5px; line-height: 14px; color: var(--text-3); margin-left: 4px; }
.metric-bar { height: 5px; margin-top: 5px; background: var(--line); border-radius: 2px; overflow: hidden; }
.metric-bar i { display: block; height: 100%; width: 0; background: var(--text-3); border-radius: 2px; transition: width .6s linear, background-color .3s; }
.metric-bar i.hot { background: var(--amber); }
.grp-sep { flex: none; position: relative; width: 28px; height: 80px; }
.grp-sep::before { content: ""; position: absolute; left: 50%; top: 5px; width: 1px; height: 70px; background: var(--line); }

/* sidebar */
.side { position: absolute; left: 0; top: 109px; bottom: 0; width: 227px; padding: 16px 14px 14px 18px; border-right: 1px solid var(--line); }
.brand { font-family: "Antonio", sans-serif; font-size: 24px; line-height: 32px; color: #fff; white-space: nowrap; letter-spacing: .1px; }
.nav { margin-top: 19px; }
.nav-item { display: flex; align-items: center; width: 100%; height: 46px; margin-bottom: 6px; padding: 0 8px 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 16.5px; color: var(--text-2); text-align: left; white-space: nowrap; transition: background-color .12s, color .12s; }
.nav-item:hover { background: var(--chip); }
.nav-item.on, .nav-item.on:hover { background: #343434; border-color: var(--line-on); color: #fff; }
.nav-item .nav-text { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.nav-item.busy .nav-text { animation: navblink .6s ease-in-out infinite; }
@keyframes navblink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.app.running .nav-item:not(.on) { opacity: .45; pointer-events: none; }
.exit-btn { display: block; width: 100%; height: 40px; margin-top: 12px; border: 1.5px solid var(--light); border-radius: 8px; font-size: 16px; color: #fff; transition: background-color .12s; }
.exit-btn:hover { background: var(--chip); }

/* main area */
.main { position: absolute; left: 227px; top: 109px; right: 0; bottom: 0; }
.page { position: absolute; inset: 0; display: flex; flex-direction: column; }
.scroll { overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: transparent transparent; }
.scroll:hover { scrollbar-color: #3a3a3a transparent; }

h1, h2 { margin: 0; font-weight: 400; color: #fff; }

/* CPU page, idle */
.cp { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16px 28px 18px; }
.cp-body { flex: 1 1 auto; min-height: 0; margin-right: -16px; padding-right: 16px; }
.cp-title { font-size: 26px; line-height: 31px; }
.cp .result { margin-top: 4px; }
.cp-tabs { display: flex; gap: 10px; margin-top: 7px; }
.cp-tab { min-width: 130px; height: 40px; padding: 0 14px; border-radius: 7px; font-size: 16px; }
.pick { background: var(--chip); border: 1px solid var(--chip-line); color: var(--text-2); transition: background-color .12s, border-color .12s, color .12s; }
.pick:hover:not(.on):not(:disabled) { background: var(--raised); }
.pick.on { background: var(--light); border-color: var(--light); color: var(--bg); }
.cp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px 8px; margin-top: 13px; }
.cp-card { display: flex; flex-direction: column; align-items: stretch; padding: 14px 14px 13px; border-radius: 10px; text-align: left; }
.cp-card b { display: block; font-weight: 400; font-size: 17.5px; line-height: 21px; }
.cp-card span { display: block; margin-top: 8px; font-size: 15px; line-height: 18.5px; color: var(--text-3); }
.cp-card.on span { color: #555; }
.cp-rule { height: 1px; margin: 9px 0; background: var(--line); }
.cp-cards + .cp-rule { margin-top: 12px; }
.cp-dur { display: flex; align-items: center; height: 40px; }
.cp-lbl { font-size: 16px; line-height: 19px; color: #fff; }
.cp-dur .cp-lbl { margin-right: 22px; }
.cp-box { width: 88px; height: 36px; border: 1px solid var(--field-line); background: var(--field); border-radius: 6px; text-align: center; font-size: 16px; outline: 0; }
.cp-box:focus { border-color: var(--line-on); }
.cp-box.sm { width: 80px; }
.cp-pills { display: flex; align-items: center; gap: 12px; }
.cp-dur .cp-pills { margin-left: 16px; }
.cp-pill { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--field-line); background: var(--field); border-radius: 6px; font-size: 14px; color: #dedede; white-space: nowrap; transition: background-color .12s, border-color .12s, color .12s; }
.cp-pill:hover:not(.on):not(:disabled) { background: #1a1a1a; border-color: #3a3a3a; }
.cp-pill.on { background: var(--raised); border-color: var(--line-on); color: #fff; }
.cp-pill:disabled { opacity: .35; }
.cp-pill.tile { position: relative; padding-right: 30px; }
.cp-badge { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--light); color: var(--bg); font-size: 11px; line-height: 18px; text-align: center; }
.cp-mode { margin-top: 6px; }
.cp-head { font-size: 16px; line-height: 19px; color: #dedede; margin-bottom: 7px; }
.cp-note { font-size: 14px; line-height: 18px; color: #dedede; }
.cp-note.warn { color: var(--amber); }
.cp-split { display: flex; gap: 24px; align-items: flex-start; }
.cp-temp { display: flex; align-items: center; margin-left: auto; }
.cp-temp .cp-lbl { margin-right: 14px; }
.cp-step { position: relative; display: inline-flex; align-items: center; width: 116px; height: 40px; border: 1px solid var(--line); background: var(--bg); border-radius: 3px; }
.cp-step input { width: 88px; height: 100%; border: 0; outline: 0; background: transparent; text-align: center; font-size: 20px; padding: 0; }
.cp-step.lp { width: 150px; }
.cp-step.lp input { width: 122px; }
.cp-arrows { display: flex; flex-direction: column; gap: 2px; margin-left: 4px; }
.cp-arrows button { width: 18px; height: 14px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--text-3); }
.cp-arrows button:hover:not(:disabled) { background: var(--chip); color: #fff; }
.cp-arrows button:disabled { opacity: .35; }
.cp-arrows svg { width: 8px; height: 5px; fill: currentColor; }
.cp-grid { display: grid; grid-template-columns: repeat(4, 150px); gap: 8px; }
.cp-foot { flex: none; padding-top: 12px; }
.cp-foot .warn { font-size: 12px; line-height: 16px; color: var(--amber); margin-bottom: 7px; }
.cp-foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cp-start, .cp-close { height: 44px; border-radius: 6px; font-size: 12px; transition: background-color .12s, border-color .12s, color .12s; }
.cp-start { background: #e8e8e8; border: 1px solid var(--light); color: #0c0c0c; }
.cp-start:hover:not(:disabled) { background: #fff; }
.cp-start:disabled { background: #7c7c7c; border-color: #888; color: #1a1a1a; }
.cp-close { background: #121212; border: 1px solid var(--line); color: var(--text-2); }
.cp-close:hover { background: var(--raised); border-color: #3a3a3a; color: #fff; }

/* shared controls */
.cap { font-size: 15.5px; line-height: 20px; color: #fff; text-transform: uppercase; }
.lbl { font-size: 15.6px; line-height: 20px; color: #fff; }
.lbl.dim { color: var(--text-3); }
.note { font-size: 13.4px; line-height: 18px; color: var(--text-2); }
.warn { font-size: 12.4px; line-height: 16px; color: var(--amber); }
.row { display: flex; align-items: center; }

.pill { height: 36px; padding: 0 13px; border: 1px solid var(--field-line); background: var(--field); border-radius: 6px; font-size: 14.2px; color: #dedede; white-space: nowrap; transition: background-color .12s, border-color .12s; }
.pill:hover:not(:disabled) { background: #1a1a1a; border-color: #3c3c3c; }
.pill.on { background: #1f1f1f; border-color: #5b5b5b; color: #fff; }
.pill.on:hover { background: #242424; border-color: #6a6a6a; }
.pill:disabled { opacity: .35; }

.seg { height: 42px; padding: 0 14px; border: 1px solid var(--chip-line); background: var(--chip); border-radius: 6px; font-size: 15.2px; color: var(--text-2); white-space: nowrap; transition: background-color .12s; }
.seg:hover:not(:disabled):not(.on) { background: #2b2b2b; }
.seg.on { background: var(--light); border-color: var(--light); color: #171717; }

.num { display: inline-flex; align-items: center; position: relative; width: 111px; height: 41px; border: 1px solid var(--line); background: var(--bg); border-radius: 4px; }
.num input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; text-align: center; padding: 0 22px 0 0; font-size: 12.6px; font-weight: 700; }
.arrows { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 3px; }
.arrows button { width: 14px; height: 11px; display: flex; align-items: center; justify-content: center; color: var(--text-3); border-radius: 2px; }
.arrows button:hover:not(:disabled) { color: #fff; background: #262626; }
.arrows svg { width: 8px; height: 5px; fill: currentColor; }

.dd { position: relative; display: inline-flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 13px 0 12px; border: 1px solid var(--line); background: var(--field); border-radius: 4px; font-size: 15.6px; color: #fff; white-space: nowrap; }
.dd svg { width: 11px; height: 7px; fill: currentColor; margin-left: 10px; flex: none; }
.dd:hover:not(:disabled) { border-color: #444; }
.dd.sm { font-size: 11px; font-weight: 700; }

.menu { position: absolute; z-index: 20; min-width: 96px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.menu button { display: block; width: 100%; text-align: left; padding: 2px 6px; height: 24px; font-size: 15.6px; color: #fff; border-radius: 4px; white-space: nowrap; }
.menu button:hover, .menu button.on { background: #262626; }

.btn { height: 44px; border-radius: 6px; font-size: 11.7px; transition: background-color .12s, border-color .12s; }
.btn-light { background: #e8e8e8; color: #0c0c0c; border: 1px solid #bdbdbd; }
.btn-light:hover:not(:disabled) { background: #fff; }
.btn-dark { background: #121212; color: var(--text-2); border: 1px solid #1e1e1e; }
.btn-dark:hover:not(:disabled) { background: #1b1b1b; color: #fff; }
.btn-stop { background: #8b232e; color: #fff; border: 1px solid #f66874; }
.btn-stop:hover { background: #9c2834; }
.btn-light:disabled { background: #818181; border-color: #878787; color: #131313; }
.btn-outline { background: var(--bg); color: #fff; border: 1px solid var(--line); font-size: 15.5px; height: 48px; min-width: 242px; padding: 0 40px; }
.btn-outline:hover:not(:disabled) { background: #1f1f1f; }
.btn-chip { background: var(--chip); color: #fff; border: 1px solid var(--chip-line); font-size: 15.7px; height: 48px; min-width: 242px; padding: 0 40px; }
.btn-chip:hover:not(:disabled) { background: #2b2b2b; }
.btn-chip.active { background: #353535; border-color: #c4c4c4; }
.btn:disabled:not(.btn-light) { background: #1d1d1d; border-color: #242424; color: var(--muted); }

.result { font-size: 13.4px; line-height: 18px; font-weight: 700; color: #fff; }
.result.bad { color: var(--amber); }

.status { display: flex; align-items: center; justify-content: space-between; height: 22px; }
.status-l { display: flex; align-items: center; font-size: 18.4px; color: #fff; }
.status-l::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #c4c4c4; margin-right: 12px; }
.status-r { font-size: 18px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.progress { height: 5px; margin-top: 8px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--light); border-radius: 3px; transition: width .2s linear; }

.locked { opacity: .5; pointer-events: none; }

/* CPU page */
.sheet { position: absolute; left: -1px; top: 0; right: 0; max-height: calc(100% - 14px); display: flex; flex-direction: column; background: var(--bg); }
.sheet-body { flex: 0 1 auto; min-height: 0; padding: 22px 17px 39px 21px; scrollbar-gutter: stable; }
.sheet-foot { flex: none; margin: 0 27px 0 21px; padding-top: 15px; border-top: 1px solid var(--line); }
.sheet-foot .row { gap: 7px; }
.sheet-foot .btn { flex: 1; }
.cpu-title { font-size: 26px; line-height: 30px; margin-left: 1px; }
.tabs { display: flex; gap: 9px; margin-top: 4px; }
.tabs .seg { width: 131px; font-size: 15.6px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px 7px; margin-top: 11px; }
.card { display: flex; flex-direction: column; justify-content: flex-start; text-align: left; padding: 9px 12px 10px 13px; background: var(--chip); border: 1px solid var(--chip-line); border-radius: 7px; transition: background-color .12s, border-color .12s; }
.card:hover { background: #292929; }
.card.on { background: #2c2c2c; border-color: #7a7a7a; }
.card b { display: block; font-weight: 400; font-size: 15.6px; line-height: 19px; min-height: 38px; color: var(--text-2); }
.card.on b { color: #fff; }
.card span { display: block; margin-top: 4px; font-size: 12px; line-height: 15px; color: var(--text-3); }
.workload { font-size: 13.9px; line-height: 18px; color: #dedede; margin-top: 10px; }
.sec { padding: 8px 0 8px; border-bottom: 1px solid var(--line); }
.sec.top { border-top: 1px solid var(--line); margin-top: 8px; }
.dur-row { gap: 11px; }
.dur-row .lbl { width: 107px; }
.box { height: 37px; width: 89px; border: 1px solid var(--field-line); background: var(--field); border-radius: 4px; text-align: center; font-size: 15.6px; outline: 0; }
.box:focus { border-color: #5b5b5b; }
.pills { display: flex; gap: 8px; margin-top: 6px; }
.mini { width: 36px; padding: 0; }
.temp { width: 111px; height: 40px; }
.temp input { font-weight: 400; font-size: 15.4px; padding-right: 22px; }
.lp { width: 133px; height: 33px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 151px); gap: 7px; margin-top: 6px; }
.grid4 .pill { font-size: 13.6px; }
.tile { position: relative; }
.badge { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--light); color: #171717; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.two { display: flex; gap: 35px; align-items: flex-start; }
.mt6 { margin-top: 6px; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt16 { margin-top: 16px; }
.cpu-run-note { font-size: 13.4px; color: var(--text-2); margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }

/* GPU page */
.gpu { padding: 19px 27px 0 20px; }
.gpu h1 { font-size: 20.2px; line-height: 24px; }
.sub { font-size: 12.3px; line-height: 16px; color: var(--text-2); margin-top: 4px; }
.gpu .pill { height: 38px; width: 111px; padding: 0; border-color: var(--line); background: #121212; color: #fff; font-size: 14.3px; }
.gpu .pill:hover:not(.on) { background: #1b1b1b; }
.gpu .pill.on { background: #343434; border-color: #525252; }
.gpu .pill.auto { width: auto; padding: 0 23px; font-size: 14px; }
.gpu .desc { font-size: 13.4px; line-height: 16px; color: var(--text-2); margin-top: 12px; }
.gpu .profile b { display: block; font-size: 13.3px; line-height: 18px; }
.gpu .profile span { display: block; font-size: 12.4px; line-height: 16px; color: var(--text-2); }
.grow { display: flex; align-items: center; min-height: 57px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.grow.tall { align-items: flex-start; padding: 18px 0 0; }
.grow.tall .gnum { margin-top: 6px; }
.grow:last-of-type { border-bottom: 0; }
.grow .lbl { font-size: 15.5px; }
.grow .gl { width: 227px; }
.grow .gl small { display: block; width: 200px; font-size: 12.4px; line-height: 15px; color: var(--text-2); margin-top: 1px; }
.gnum { position: relative; display: inline-flex; align-items: center; height: 41px; border: 1px solid var(--line); background: #121212; border-radius: 6px; }
.gnum input { width: 64px; height: 100%; border: 0; outline: 0; background: transparent; font-size: 19px; text-align: center; padding: 0 4px 0 2px; }
.gnum .gu { font-size: 19px; width: 34px; }
.gnum .arrows { position: static; transform: none; margin-right: 8px; }
.gnum .arrows button { color: #818181; }
.gnum .split { width: 1px; align-self: stretch; background: var(--line); }
.gnum .dd { height: 100%; border: 0; background: transparent; width: 82px; padding: 0 12px 0 10px; }
.gpu .acts { display: flex; gap: 6px; margin-top: 20px; }
.gpu .acts .btn { flex: 1; height: 48px; font-size: 15.4px; }
.gpu .acts .btn-stop { height: 59px; }

/* simple pages: DRAM, VRAM, Power */
.simple { padding: 0 20px 0 28px; }
.simple-body { flex: 1; min-height: 0; padding-top: 27px; }
.simple h1 { font-size: 24.2px; line-height: 28px; }
.simple .lbl { font-size: 15.4px; }
.simple .num.short { width: 89px; }
.simple .segs { display: flex; gap: 9px; }
.simple .segs .seg { width: 73px; font-size: 15.1px; }
.simple .segs.wide .seg { width: 111px; font-size: 15.4px; }
.simple .note { margin-top: 9px; }
.simple-foot { flex: none; border-top: 2px solid var(--rule); padding: 13px 0 28px; }
.simple .dd { height: 41px; width: 89px; font-size: 19px; padding: 0 10px 0 5px; }
.simple .dd.sm { width: 113px; height: 43px; font-size: 11px; background: var(--bg); }
.simple .status { margin-top: 0; }
.unit-after { font-size: 14px; color: var(--text-2); margin-left: 12px; }
.chipbox { height: 42px; width: 89px; border: 1px solid var(--chip-line); background: var(--chip); border-radius: 6px; text-align: center; font-size: 15.6px; outline: 0; }
.chipbox.sm { width: 65px; height: 31px; }
.temps { display: flex; gap: 28px; }

/* combined */
.combo-body { flex: 1; min-height: 0; padding: 26px 9px 24px 28px; border-bottom: 1px solid var(--rule); }
.combo-body h1 { font-size: 25.8px; line-height: 30px; }
.combo-body > .note { font-size: 15.1px; margin-top: 7px !important; }
.toggles { display: flex; gap: 9px; margin-top: 12px; }
.toggles .seg { height: 38px; font-size: 14px; padding: 0; }
.lane { margin-top: 16px; padding: 17px 18px 18px; border: 1px solid var(--line); border-radius: 8px; }
.lane.first { margin-top: 28px; }
.lane h2 { font-size: 17.5px; line-height: 22px; }
.lane .note { margin-top: 0; line-height: 16px; }
.lane-cap { font-size: 12.2px; line-height: 14px; color: var(--text-3); text-transform: uppercase; margin-top: 20px; }
.lane .seg { height: 40px; font-size: 15.2px; padding: 0 4px; min-width: 86px; border-radius: 6px; }
.lane .pillset { display: flex; gap: 9px; margin-top: 6px; }
.lane .cols { display: flex; gap: 27px; }
.lane .cols .lane-cap { margin-top: 17px; }
.lane .cols > div { flex: none; }
.lane .pillset.k { gap: 27px; }
.lane .dd { height: 36px; width: 130px; font-size: 14.3px; font-weight: 700; padding: 0 9px 0 5px; }
.lane-foot { margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.4px; color: var(--text-3); }
.cores8 { display: grid; grid-template-columns: repeat(4, 112px); gap: 7px; margin-top: 8px; }
.core { display: flex; align-items: center; gap: 4px; height: 36px; padding: 0 5px 0 9px; border: 1px solid var(--chip-line); border-radius: 6px; background: var(--chip); font-size: 13px; color: var(--text-3); }
.core b { flex: 1; font-weight: 400; color: var(--text-2); }
.core button { width: 32px; height: 24px; border-radius: 4px; border: 1px solid var(--chip-line); background: var(--field); font-size: 12px; color: var(--text-2); }
.core button:hover:not(.on) { background: #1f1f1f; }
.core button.on { background: var(--light); border-color: var(--light); color: #171717; }
.combo-foot { flex: none; display: flex; align-items: flex-start; justify-content: space-between; padding: 10px 20px 28px 28px; }
.combo-foot b { display: block; font-size: 15.2px; line-height: 20px; margin-top: 1px; }
.combo-foot span { display: block; font-size: 13.3px; line-height: 18px; color: var(--text-3); }
.combo-foot .btn { width: 262px; height: 54px; font-size: 15.5px; margin-top: 7px; }

/* run screens: the cell word, time and temperature, Stop and Pause */
.run { display: flex; flex-direction: column; align-items: center; width: 100%; }
.cellword { display: block; flex: none; }
.run-facts { margin-top: 16px; font-size: 24px; line-height: 29px; color: var(--text-2); white-space: nowrap; }
.run-facts .sep { color: var(--text-3); white-space: pre; }
.run-facts .hot { color: var(--amber); }
.run-extra { margin-top: 8px; font-size: 18px; line-height: 22px; color: var(--text-2); }
.run-extra:empty { display: none; }
.run-note { margin-top: 14px; font-size: 38px; line-height: 46px; font-weight: 700; text-align: center; }
.run-btns { display: flex; justify-content: center; gap: 10px; }
.rbtn { position: relative; z-index: 0; width: 168px; height: 54px; border-radius: 8px; font-size: 17px; overflow: hidden; transition: color .12s ease-out, border-color .12s ease-out; }
.rbtn::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 8px; transform: scaleX(0); transition: transform .12s ease-out, background-color .08s; }
.rbtn:hover:not(:disabled)::before { transform: scaleX(1); }
.rbtn.stop { background: #f0f0f0; color: #141414; }
.rbtn.stop::before { background: #8b232e; }
.rbtn.stop:hover:not(:disabled) { color: #fff; }
.rbtn.stop:active:not(:disabled)::before { background: #6f1c25; }
.rbtn.pause { background: transparent; border: 1px solid #3a3a3a; color: #d8d8d8; }
.rbtn.pause::before { background: #d9801a; }
.rbtn.pause:hover:not(:disabled) { color: #141414; border-color: #d9801a; }
.rbtn.pause:active:not(:disabled)::before { background: #b3680f; }
.rbtn.stop:disabled { background: #3e3e3e; color: #b2b2b2; }
.rbtn.pause:disabled { border-color: #2e2e2e; color: #848484; }

.run-page .cp-body { margin-right: 0; padding-right: 0; }
.ok-row { display: flex; justify-content: center; }
.ok-btn { width: 240px; font-weight: 700; }

/* live core view */
.topo { width: 100%; margin-top: 28px; }
.topo-title { font-size: 16px; line-height: 20px; font-weight: 700; color: #fff; }
.topo-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 14px; line-height: 18px; color: var(--text-2); }
.topo-legend span { display: flex; align-items: center; gap: 6px; }
.topo-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--chip); border: 1px solid var(--chip-line); }
.topo-legend i.on { background: var(--light); border-color: var(--light); }
.topo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding-bottom: 16px; }
.tcard { padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.tcard.on { border-color: var(--light); }
.tcard b { display: block; font-size: 16px; line-height: 20px; color: #fff; }
.tthreads { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 12px; }
.tthreads span { display: flex; align-items: center; justify-content: center; height: 32px; border-radius: 5px; background: var(--chip); border: 1px solid var(--chip-line); font-size: 14px; font-weight: 700; color: var(--text-2); }
.tthreads span.on { background: var(--light); border-color: var(--light); color: var(--bg); }
.topo.compact { margin-top: 14px; }
.topo.compact .topo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.topo.compact .tcard { padding: 8px; }
.topo.compact .tcard b { font-size: 14px; line-height: 18px; }
.topo.compact .tthreads { margin-top: 8px; }
.topo.compact .tthreads span { height: 26px; font-size: 13px; }

/* combined run */
.combo-run { flex: 1; min-height: 0; padding: 22px 28px 20px; }
.combo-run h1 { font-size: 24px; line-height: 30px; font-weight: 700; }
.combo-sum { margin-top: 4px; font-size: 14px; line-height: 18px; color: var(--text-2); }
.back-row { display: flex; justify-content: center; margin-top: 34px; }
.back-btn { width: 240px; height: 52px; border-radius: 8px; background: var(--light); color: var(--bg); font-size: 16px; font-weight: 700; transition: background-color .12s; }
.back-btn:hover { background: #fff; }

/* power result */
.modal-back { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .6); }
.modal { width: 568px; padding: 18px 20px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.modal h2 { font-size: 24px; line-height: 30px; font-weight: 700; }
.modal p { margin: 16px 0 0; min-height: 66px; font-size: 16px; line-height: 20px; color: #fff; }
.modal button { display: block; width: 100%; height: 42px; margin-top: 16px; background: var(--chip); border: 1px solid var(--chip-line); border-radius: 8px; font-size: 16px; color: #fff; transition: background-color .12s; }
.modal button:hover { background: #2b2b2b; }
