:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eef3fb;
  background: #0a0f18;
  font-synthesis: none;
  --bg: #0a0f18;
  --sidebar: #0c121d;
  --panel: #111927;
  --panel-2: #151f30;
  --border: #253247;
  --muted: #93a1b6;
  --subtle: #68768b;
  --accent: #6ba6ff;
  --accent-2: #8d7cff;
  --positive: #52d89a;
  --danger: #ff7180;
}

* { box-sizing: border-box; }
.account-card { padding: 28px; }
#accountIdentity:has(.account-form:not([hidden])) { max-width: 720px; }
.account-card h3 { margin: 18px 0 12px; overflow-wrap: anywhere; }
.account-card p, .account-card small { color: var(--muted); line-height: 1.6; }
.account-message { padding: 14px 16px; border: 1px solid #35557d; border-radius: 10px; color: #bed7f9; background: #14233a; line-height: 1.5; }
.account-form { max-width: 480px; }
.account-form label { display: grid; gap: 8px; margin: 18px 0; color: #bbc8da; font-size: 13px; }
.account-form input { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: #eef3fb; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 20px 0; }
.account-card details { color: var(--muted); font-size: 12px; line-height: 1.7; }
.account-card code { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.prelaunch-ack { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.prelaunch-ack input { flex: 0 0 auto; margin-top: 5px; }
.account-card button:disabled { opacity: .5; cursor: not-allowed; }
.pro-checkout-panel { display: grid; gap: 16px; margin: 24px 0 8px; padding: 22px; border: 1px solid #456b9d; border-radius: 14px; background: linear-gradient(135deg, rgba(37, 70, 111, .52), rgba(18, 30, 48, .94)); }
.pro-checkout-panel h4 { margin: 7px 0 5px; color: #f2f6fd; font-size: 20px; letter-spacing: -.025em; }.pro-checkout-panel p { margin: 0; color: #b2c2d7; font-size: 13px; line-height: 1.55; }
.pro-checkout-panel .prelaunch-ack { margin-top: 2px; border-color: #405878; background: rgba(7, 14, 24, .28); }.pro-checkout-button { width: 100%; min-height: 54px; font-size: 15px; letter-spacing: -.01em; }
.account-primary-actions { margin-bottom: 4px; }.account-utility-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 2px; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { min-width: 1040px; min-height: 100%; margin: 0; }
body { overflow-x: hidden; background: radial-gradient(circle at 65% -18%, rgba(75, 119, 197, .16), transparent 34%), var(--bg); font-size: 15px; }
button, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.app-shell { display: grid; grid-template-columns: 258px 1fr; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 10; display: flex; flex-direction: column; width: 258px; padding: 27px 20px 20px; border-right: 1px solid #1b2637; background: rgba(11, 17, 27, .97); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 13px; padding: 0 8px 31px; }
.brand-icon { display: block; flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; }
.brand strong, .brand span { display: block; }.brand strong { font-size: 17px; letter-spacing: -.02em; }.brand span { margin-top: 3px; color: var(--subtle); font-size: 12px; }
nav { display: flex; flex-direction: column; gap: 6px; }
.nav-label { padding: 0 12px 8px; color: #596980; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.nav-label.lower { padding-top: 22px; }
.nav-item { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; min-height: 48px; padding: 0 12px; border: 1px solid transparent; border-radius: 11px; color: #9ba9bb; background: transparent; cursor: pointer; text-align: left; transition: .18s ease; }
.nav-item b { display: grid; place-items: center; width: 23px; color: #718097; font-size: 18px; font-weight: 500; }.nav-item span { font-size: 14px; font-weight: 650; }.nav-item em { min-width: 24px; padding: 3px 7px; border-radius: 8px; color: #92a2b8; background: #172233; font-size: 11px; font-style: normal; text-align: center; }
.nav-item:hover { color: #d9e2ef; background: #141e2d; }.nav-item.active { border-color: #2b4160; color: #f4f7fc; background: linear-gradient(90deg, rgba(67, 119, 196, .25), rgba(39, 62, 99, .14)); }.nav-item.active b { color: #82b4ff; }.nav-item.active em { color: #b9d4ff; background: rgba(71, 126, 210, .2); }
.pro-card { margin-top: auto; padding: 17px; border: 1px solid #2c3e59; border-radius: 15px; background: linear-gradient(150deg, #17263d, #111a29); }
.pro-card span { color: #8bb9ff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.pro-card strong { display: block; margin: 9px 0 7px; font-size: 14px; line-height: 1.4; }.pro-card p { margin: 0; color: #8d9bae; font-size: 12px; line-height: 1.55; }.pro-card button { width: 100%; margin-top: 14px; padding: 10px; border: 1px solid #354a69; border-radius: 9px; color: #aabbd1; background: #18263a; font-size: 12px; font-weight: 750; }
.local-badge { display: flex; align-items: center; gap: 10px; padding: 18px 8px 1px; }.local-badge > span { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 10px rgba(82,216,154,.52); }.local-badge strong, .local-badge small { display: block; }.local-badge strong { color: #acb8c8; font-size: 12px; }.local-badge small { margin-top: 2px; color: #6f7e91; font-size: 11px; }

.workspace { grid-column: 2; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; min-height: 86px; padding: 0 40px; border-bottom: 1px solid #1d293a; background: rgba(10, 15, 24, .9); backdrop-filter: blur(16px); }
.topbar-heading { display: flex; min-width: 0; align-items: center; gap: 12px; }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; flex: 0 0 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; border: 1px solid #324157; border-radius: 10px; color: #c9dbf4; background: #121c2b; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.mobile-nav-backdrop { display: none; }
.topbar h1 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.035em; }.topbar-heading > div > span { color: #708199; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }.sync-copy { display: flex; align-items: center; gap: 10px; margin-right: 8px; }.sync-copy > span { width: 8px; height: 8px; border-radius: 50%; background: #536175; }.sync-copy > span.live { background: var(--positive); box-shadow: 0 0 10px rgba(82,216,154,.5); }.sync-copy > span.error { background: var(--danger); }.sync-copy strong, .sync-copy small { display: block; text-align: right; }.sync-copy strong { color: #bdc8d7; font-size: 12px; }.sync-copy small { margin-top: 3px; color: #728095; font-size: 11px; }
.topbar-actions > button { flex: 0 0 auto; white-space: nowrap; }
.ghost-button, .primary-button, .link-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 750; text-decoration: none; }
.ghost-button { border: 1px solid #324157; color: #cad4e2; background: #121b29; }.ghost-button:hover { border-color: #506684; background: #172235; }
.primary-button { border: 1px solid #84b7ff; color: #09111f; background: linear-gradient(135deg, #8dbdff, #5f9df8); box-shadow: 0 8px 24px rgba(66, 125, 213, .18); }.primary-button span { margin-left: 5px; }
button:disabled { cursor: not-allowed; opacity: .55; }
button[aria-busy="true"] { cursor: wait; }
.global-notice { margin: 24px 40px 0; padding: 14px 17px; border: 1px solid #6a4b25; border-radius: 11px; color: #f0c482; background: #211a12; font-size: 13px; }

.page-section { display: none; padding: 38px 40px 56px; }.page-section.active { display: block; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }.page-intro h2 { margin: 7px 0 7px; font-size: 30px; line-height: 1.16; letter-spacing: -.045em; }.page-intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }.kicker { color: #7caffb; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.panel { border: 1px solid var(--border); border-radius: 17px; background: rgba(17, 25, 39, .94); box-shadow: inset 0 1px rgba(255,255,255,.025), 0 16px 40px rgba(0,0,0,.1); }
.pro-features { margin-top: 34px; }
.pro-features-heading { max-width: 720px; margin: 0 0 18px; }
.pro-features-heading h3 { margin: 8px 0 7px; font-size: 26px; letter-spacing: -.035em; }
.pro-features-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pro-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.pro-feature { display: flex; min-width: 0; flex-direction: column; margin: 0; overflow: hidden; }
.pro-feature-wide { grid-column: 1 / -1; }
.pro-feature figcaption { min-height: 145px; padding: 20px 22px; }
.pro-feature figcaption > span { color: #83b5ff; font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.pro-feature figcaption strong { display: block; margin: 9px 0 7px; color: #edf4ff; font-size: 17px; }
.pro-feature figcaption p { margin: 0; color: #8797ac; font-size: 12px; line-height: 1.55; }
.pro-feature img { display: block; width: 100%; height: auto; margin-top: auto; border-top: 1px solid var(--border); background: #0a111c; }
.pro-feature-explorer { display: grid; grid-template-columns: minmax(245px, .42fr) minmax(0, 1fr); gap: 15px; align-items: stretch; }
.pro-feature-list { display: grid; gap: 8px; align-content: start; }
.pro-feature-list button { display: grid; grid-template-columns: 29px 1fr; gap: 2px 9px; min-height: 73px; padding: 13px 14px; border: 1px solid #27364b; border-radius: 12px; color: #9aa9bc; background: #101927; cursor: pointer; text-align: left; transition: .18s ease; }
.pro-feature-list button:hover { border-color: #456287; background: #152235; }.pro-feature-list button[aria-selected="true"] { border-color: #5d8dcb; color: #f1f6fd; background: linear-gradient(115deg, rgba(56, 101, 160, .42), rgba(22, 37, 58, .9)); box-shadow: 0 8px 22px rgba(0,0,0,.12); }.pro-feature-list button > span { grid-row: 1 / span 2; color: #78adf8; font-size: 11px; font-weight: 850; letter-spacing: .08em; }.pro-feature-list strong { font-size: 13px; }.pro-feature-list small { color: #77889f; font-size: 11px; }.pro-feature-list button[aria-selected="true"] small { color: #a7bad4; }
.pro-feature-detail { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }.pro-feature-detail > div { padding: 25px 28px 21px; }.pro-feature-detail h4 { margin: 9px 0 8px; color: #f0f5fc; font-size: 22px; letter-spacing: -.035em; }.pro-feature-detail p { max-width: 620px; margin: 0; color: #99a8bb; font-size: 13px; line-height: 1.6; }.pro-feature-detail img { display: block; width: 100%; align-self: end; border-top: 1px solid var(--border); background: #0a111c; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 23px 8px; }.panel-heading span { color: #7d8da4; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.panel-heading h3 { margin: 6px 0 0; font-size: 18px; letter-spacing: -.025em; }.panel-heading small { max-width: 420px; color: #8492a5; font-size: 12px; line-height: 1.45; text-align: right; }
.text-button { padding: 5px; border: 0; color: #87b9ff; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }.text-button.muted { color: #7e8ba0; }

.metrics-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 15px; margin-bottom: 15px; }.metric-card { min-height: 148px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(145deg, #141e2e, #101725); }.metric-card > span { color: #93a2b8; font-size: 13px; font-weight: 700; }.metric-card > strong { display: block; margin: 16px 0 11px; font-size: 31px; letter-spacing: -.05em; }.metric-card > strong small { color: #607086; }.metric-card p { margin: 0; color: #7e8da1; font-size: 12px; line-height: 1.45; }.hero-metric { border-color: #35557d; background: linear-gradient(145deg, #1a3151, #111c2c); }.hero-metric > strong { color: #b9d5ff; }
 .overview-grid { display: grid; grid-template-columns: minmax(560px, 1.55fr) minmax(330px, .85fr); gap: 15px; margin-bottom: 15px; }.chart-total { text-align: right; }.chart-total span, .chart-total strong { display: block; }.chart-total strong { margin-top: 5px; font-size: 20px; }.overview-chart { min-height: 290px; padding: 8px 22px 24px; }.overview-chart svg { display: block; width: 100%; height: 250px; }.overview-bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 14px; height: 235px; padding-top: 20px; }.overview-bar { display: flex; flex-direction: column; justify-content: end; height: 100%; text-align: center; }.overview-bar b { margin-bottom: 8px; color: #b9c9de; font-size: 12px; }.overview-bar i { display: block; min-height: 3px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #72aaff, #4e6fc5); }.overview-bar span { margin-top: 9px; color: #74849a; font-size: 11px; }
.overview-grid.pro-overview { grid-template-columns: minmax(0, 1fr); }
.overview-grid.pro-overview .fleet-panel { min-width: 0; }
.fleet-summary { max-height: 360px; overflow-y: auto; padding: 8px 22px 20px; scrollbar-color: #3d5678 #111927; scrollbar-width: thin; }.fleet-machine { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 50px; border-top: 1px solid #202c3d; }.fleet-machine:first-child { border-top: 0; }.fleet-machine > i { width: 9px; height: 9px; border-radius: 50%; background: #69768a; }.fleet-machine > i.online { background: var(--positive); box-shadow: 0 0 8px rgba(82,216,154,.45); }.fleet-machine > i.idle { background: #f6c563; box-shadow: 0 0 8px rgba(246,197,99,.3); }.fleet-machine > i.down { background: var(--danger); box-shadow: 0 0 8px rgba(255,113,128,.35); }.fleet-machine strong, .fleet-machine small { display: block; }.fleet-machine strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.fleet-machine small { max-width: 180px; margin-top: 4px; overflow: hidden; color: #758399; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.fleet-machine-metrics { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }.fleet-machine b { color: #aebbd0; font-size: 12px; white-space: nowrap; }.fleet-machine-rate.online { color: #72e4b1; }.fleet-machine-rate.idle { color: #f6d68b; }.fleet-machine-rate.down { color: #ff9aa5; }.fleet-machine-power { color: #63d7ef!important; }
.insight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }.insight-grid article { min-height: 119px; padding: 19px 21px; border: 1px solid var(--border); border-radius: 15px; background: #101827; }.insight-grid span { color: #8291a6; font-size: 12px; }.insight-grid strong { display: block; max-width: 100%; margin: 12px 0 7px; overflow: hidden; font-size: 21px; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }.insight-grid p { margin: 0; color: #69788d; font-size: 11px; }

.report-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 13px; margin-bottom: 15px; }.report-summary article, .demand-benchmarks article { min-height: 119px; padding: 19px 20px; border: 1px solid var(--border); border-radius: 15px; background: #111a29; }.report-summary span, .demand-benchmarks span { color: #8998ad; font-size: 12px; font-weight: 650; }.report-summary strong, .demand-benchmarks strong { display: block; margin: 12px 0 7px; font-size: 23px; letter-spacing: -.04em; }.report-summary small, .demand-benchmarks small { color: #6f7e93; font-size: 11px; }
.report-workspace { overflow: visible; margin-bottom: 15px; }.report-toolbar { position: relative; z-index: 6; display: flex; align-items: flex-end; gap: 14px; padding: 18px 24px; border-bottom: 1px solid #253044; border-radius: inherit inherit 0 0; background: #131d2c; }.control-group > span, .report-total > span { display: block; margin-bottom: 9px; color: #8594a9; font-size: 12px; font-weight: 700; }.segmented { display: flex; padding: 4px; border: 1px solid #334158; border-radius: 10px; background: #0e1623; }.segmented button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 7px; color: #8898ad; background: transparent; cursor: pointer; font-size: 13px; font-weight: 700; }.segmented button.active { color: #f4f7fc; background: #2c4770; box-shadow: 0 2px 9px rgba(0,0,0,.16); }.report-total { min-width: 112px; text-align: right; }.report-total strong { display: block; color: #c8dcfa; font-size: 22px; }
.machine-filter { position: relative; min-width: 210px; }.machine-filter > summary { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; min-height: 65px; padding: 12px 14px; border: 1px solid #3a5271; border-radius: 10px; color: #dbe9f9; background: #101f32; box-shadow: inset 3px 0 #4ce0c4; cursor: pointer; list-style: none; }.machine-filter > summary::-webkit-details-marker { display: none; }.machine-filter > summary span, .machine-filter > summary strong { display: block; }.machine-filter > summary span { color: #8da2ba; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.machine-filter > summary strong { grid-column: 1; font-size: 13px; }.machine-filter > summary i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #7fa7d8; font-size: 17px; font-style: normal; transition: transform .16s ease; }.machine-filter[open] > summary { border-color: #5c83b6; }.machine-filter[open] > summary i { transform: rotate(180deg); }.machine-filter-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 10; width: min(460px, calc(100vw - 90px)); padding: 14px; border: 1px solid #3b5271; border-radius: 12px; background: #0d1725; box-shadow: 0 18px 45px rgba(0,0,0,.42); }.machine-filter-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 1px 2px 11px; }.machine-filter-head strong, .machine-filter-head span { display: block; }.machine-filter-head strong { font-size: 13px; }.machine-filter-head span { margin-top: 4px; color: #74869d; font-size: 10px; }.machine-filter-head > div:last-child { display: flex; flex: 0 0 auto; }.machine-series-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; max-height: 260px; overflow-y: auto; padding: 2px; scrollbar-color: #3d5678 #111927; scrollbar-width: thin; }.machine-chip { --series: #6ba6ff; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 9px; border: 1px solid #324158; border-radius: 8px; color: #a5b2c4; background: #101825; cursor: pointer; font-size: 11px; font-weight: 650; }.machine-chip input { position: absolute; opacity: 0; pointer-events: none; }.machine-chip i { flex: 0 0 auto; width: 10px; height: 10px; border: 2px solid var(--series); border-radius: 3px; }.machine-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.machine-chip:has(input:checked) { border-color: color-mix(in srgb, var(--series) 60%, #314159); color: #eef4fc; background: color-mix(in srgb, var(--series) 12%, #111a28); }.machine-chip:has(input:checked) i { background: var(--series); box-shadow: inset 0 0 0 2px #111a28; }.machine-filter-empty { padding: 12px; color: #8291a5; font-size: 11px; }
.report-chart-shell { overflow: hidden; }.report-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; padding: 14px 24px 4px; }.report-chart-heading > div:first-child span, .report-chart-heading > div:first-child strong { display: block; }.report-chart-heading > div:first-child span { color: #73859c; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }.report-chart-heading > div:first-child strong { margin-top: 5px; font-size: 14px; }.report-chart-actions { display: flex; align-items: flex-end; gap: 18px; }.chart-mode-control > span { display: block; margin-bottom: 5px; color: #778aa1; font-size: 10px; font-weight: 750; }.report-chart-heading .segmented { padding: 3px; }.report-chart-heading .segmented button { min-height: 30px; padding: 0 12px; font-size: 11px; }.report-chart-heading .report-total > span { margin-bottom: 3px; font-size: 10px; }.report-chart-heading .report-total strong { font-size: 20px; }
.report-chart { position: relative; min-height: 410px; padding: 6px 19px 5px; }.report-chart svg { display: block; width: 100%; height: 380px; overflow: visible; }.chart-grid { stroke: #27364a; stroke-width: 1; }.chart-axis-label { fill: #8290a3; font-size: 12px; }.chart-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }.chart-line.striped, .chart-overlap-point { stroke-linecap: butt; }.chart-point { stroke: #111927; stroke-width: 1.5; }.chart-overlap-note { position: absolute; top: 10px; right: 25px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #30415a; border-radius: 8px; color: #8f9db1; background: rgba(14, 22, 35, .9); font-size: 10px; pointer-events: none; }.chart-overlap-note i { width: 18px; height: 4px; border-radius: 3px; background: repeating-linear-gradient(90deg, #ff4fb7 0 3px, #4ce0c4 3px 6px, #6ba6ff 6px 9px, #f6be4f 9px 12px); }.chart-hit-area { fill: transparent; cursor: crosshair; }.chart-crosshair { stroke: #8191a9; stroke-width: 1; stroke-dasharray: 4 5; pointer-events: none; }.chart-tooltip { position: absolute; z-index: 4; min-width: 230px; max-width: 340px; padding: 12px 14px; border: 1px solid #3a4b65; border-radius: 11px; color: #eaf0f9; background: rgba(12, 18, 29, .96); box-shadow: 0 15px 38px rgba(0,0,0,.35); pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); }.chart-tooltip > strong { display: block; margin-bottom: 8px; font-size: 12px; }.tooltip-row { display: grid; grid-template-columns: auto minmax(90px, 1fr) auto auto; align-items: center; gap: 8px; margin-top: 5px; color: #aab6c7; font-size: 11px; }.tooltip-row i { width: 8px; height: 8px; border-radius: 50%; }.tooltip-row em { padding: 2px 5px; border-radius: 5px; color: #aab9ce; background: #202c3e; font-size: 9px; font-style: normal; white-space: nowrap; }.tooltip-row b { grid-column: 4; color: #edf3fb; }.chart-empty { display: grid; place-items: center; min-height: 270px; padding: 30px; color: #8291a5; font-size: 14px; line-height: 1.6; text-align: center; }.chart-empty strong { color: #d2dbe7; font-size: 16px; }.chart-note { margin: 0; padding: 0 25px 20px; color: #748297; font-size: 11px; line-height: 1.5; }
.machine-ledger { overflow: hidden; }.table-wrap { overflow-x: auto; padding: 8px 22px 22px; }.table-wrap table { width: 100%; border-collapse: collapse; }.table-wrap th { padding: 12px 12px; color: #77869b; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-align: left; text-transform: uppercase; }.table-wrap td { padding: 15px 12px; border-top: 1px solid #253044; color: #adbacb; font-size: 13px; white-space: nowrap; }.table-wrap td strong, .table-wrap td small { display: block; }.table-wrap td strong { color: #edf2f8; font-size: 13px; }.table-wrap td small { max-width: 230px; margin-top: 4px; overflow: hidden; color: #728196; font-size: 11px; text-overflow: ellipsis; }.overview-machine-table-wrap th, .overview-machine-table-wrap td, .earnings-machine-table th, .earnings-machine-table td { padding-top: 9px; padding-bottom: 9px; }.machine-table-name-cell { min-width: 170px; }.machine-table-name-cell .machine-status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; vertical-align: middle; background: #69768a; }.machine-status-dot.online { background: var(--positive); box-shadow: 0 0 8px rgba(82,216,154,.45); }.machine-status-dot.idle { background: #f6c563; box-shadow: 0 0 8px rgba(246,197,99,.3); }.machine-status-dot.down { background: var(--danger); box-shadow: 0 0 8px rgba(255,113,128,.35); }.machine-table-name-cell strong { display: inline-block!important; max-width: 260px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }.table-wrap td strong.table-value-profit { color: #72e4b1!important; font-variant-numeric: tabular-nums; }.table-wrap td strong.table-value-current { color: #9bc4ff!important; }.table-wrap td strong.table-value-lifetime { color: #c3a6ff!important; }.table-wrap td strong.table-value-power, .table-wrap td strong.telemetry-value-power { color: #63d7ef!important; }.table-wrap td strong.table-value-utilization, .table-wrap td strong.telemetry-value-utilization { color: #5ee0a8!important; }.table-wrap td strong.telemetry-value-memory { color: #c58cff!important; }.table-wrap td strong.telemetry-value-energy { color: #72e4b1!important; }.table-wrap td small.telemetry-value-cost { color: #f6c563!important; }.table-wrap td strong.telemetry-value-samples { color: #a9b9ce!important; }.table-sort { padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; }.table-sort span { color: #8dbbff; }.status-badge { display: inline-flex!important; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px; color: #adb8c7!important; background: #1d2839; font-size: 11px!important; }.status-badge.online { color: #8ce8bd!important; background: rgba(56,173,119,.14); }.status-badge.idle { color: #f6d68b!important; background: rgba(204,156,44,.16); }.status-badge.down { color: #ff99a3!important; background: rgba(217,68,83,.15); }.hide-machine-button { color: #a7b9d2; font-size: 11px; }.gpu-table-actions { display: grid; gap: 3px; justify-items: start; }.hidden-machines-panel { border-top: 1px solid #253044; padding: 0 22px 14px; }.hidden-machines-panel summary { padding: 15px 0 10px; color: #9db0c9; cursor: pointer; font-size: 12px; font-weight: 750; }.hidden-machine-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid #202c3d; }.hidden-machine-row strong, .hidden-machine-row small { display: block; }.hidden-machine-row strong { color: #dfe8f5; font-size: 12px; }.hidden-machine-row small { margin-top: 3px; color: #77879c; font-size: 10px; }
.alias-cell { min-width: 225px; }.alias-edit { display: flex; gap: 7px; }.alias-edit input { width: 155px; min-height: 38px; padding: 0 10px; border: 1px solid #35445b; border-radius: 8px; color: #edf2f8; background: #0d1521; font-size: 12px; }.alias-edit button { min-height: 38px; padding: 0 11px; border: 1px solid #3e5f8c; border-radius: 8px; color: #bbd4f8; background: #1b3150; cursor: pointer; font-size: 11px; font-weight: 750; }
.manual-alias { border-top: 1px solid #253044; }.manual-alias summary { padding: 17px 24px; color: #9facbd; cursor: pointer; font-size: 13px; font-weight: 700; }.manual-alias > div { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 13px; padding: 0 24px 22px; }.manual-alias label span { display: block; margin-bottom: 7px; color: #8291a6; font-size: 11px; }.manual-alias input { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid #35445b; border-radius: 9px; color: #edf2f8; background: #0d1521; }

.select-field span { display: block; margin-bottom: 7px; color: #8291a6; font-size: 11px; font-weight: 700; }.select-field select { min-width: 230px; height: 44px; padding: 0 38px 0 13px; border: 1px solid #35445b; border-radius: 9px; color: #dce4ef; background: #111a28; }.select-field.compact span { display: none; }.select-field.compact select { min-width: 150px; }
.demand-benchmarks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 15px; }.demand-layout { display: grid; grid-template-columns: minmax(600px, 1.5fr) minmax(300px, .68fr); gap: 15px; }.demand-chart-panel { min-height: 456px; }.chart-wrap { min-height: 330px; padding: 12px 18px 20px; }.chart-wrap svg { display: block; width: 100%; height: 290px; }.demand-chart svg { height: 310px; }.demand-chart-legend { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 24px; padding: 0 16px; color: #8291a6; font-size: 10px; }.demand-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }.demand-chart-legend i { display: block; width: 17px; height: 4px; border-radius: 3px; }.demand-chart-legend .legend-demand { height: 8px; background: rgba(82,216,154,.32); }.demand-chart-legend .legend-available { background: #52d89a; }.demand-chart-legend .legend-quoted { height: 2px; background: repeating-linear-gradient(90deg, #8293aa 0 4px, transparent 4px 7px); }.demand-bar { fill: rgba(107,166,255,.14); }.demand-bar.demand-high { fill: rgba(82,216,154,.2); }.demand-bar.demand-mid { fill: rgba(107,166,255,.3); }.demand-bar.demand-none { fill: rgba(255,113,128,.8); }.demand-quoted-line { fill: none; stroke: #8293aa; stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }.demand-available-line { fill: none; stroke: #52d89a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(82,216,154,.22)); }.demand-available-point { fill: #52d89a; stroke: #101827; stroke-width: 1.5; }.demand-available-point.unavailable { fill: #ff7180; }.demand-axis-label { fill: #718299; font-size: 10px; }.demand-insight { padding: 24px; border: 1px solid #34435a; border-radius: 17px; background: linear-gradient(150deg, #17243a, #111a29); }.demand-insight > span { color: #88a6d0; font-size: 12px; font-weight: 750; }.demand-insight > strong { display: block; margin: 15px 0 10px; font-size: 31px; letter-spacing: -.05em; }.demand-insight > p { min-height: 78px; margin: 0 0 18px; color: #a0adbe; font-size: 13px; line-height: 1.55; }.demand-insight > small { color: #74849a; font-size: 11px; line-height: 1.45; }.demand-projections { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 0 10px; }.demand-projections div { padding: 13px; border: 1px solid #31425c; border-radius: 10px; background: rgba(8,15,25,.28); }.demand-projections span, .demand-projections b { display: block; }.demand-projections span { color: #8292a8; font-size: 10px; }.demand-projections b { margin-top: 6px; font-size: 16px; }.retailer-links { display: flex; gap: 9px; margin-top: 18px; }.retailer-links a { flex: 1; padding: 10px; border: 1px solid #3a5478; border-radius: 9px; color: #b6d1fa; background: rgba(40,74,119,.25); font-size: 11px; font-weight: 750; text-align: center; text-decoration: none; }

.deals-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); align-items: center; gap: 36px; overflow: hidden; margin-bottom: 22px; padding: 30px; border-color: #35557d; background: radial-gradient(circle at 82% 10%, rgba(74, 132, 220, .24), transparent 38%), linear-gradient(145deg, #172943, #101827); }.deals-hero h2 { margin: 9px 0 10px; font-size: 31px; letter-spacing: -.045em; }.deals-hero p { max-width: 720px; margin: 0; color: #96a5b8; font-size: 14px; line-height: 1.6; }.deals-hero-actions { display: flex; gap: 10px; margin-top: 20px; }.deal-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.deal-proof-grid div { min-height: 84px; padding: 15px; border: 1px solid rgba(132,183,255,.2); border-radius: 12px; background: rgba(7,14,24,.32); }.deal-proof-grid strong, .deal-proof-grid span { display: block; }.deal-proof-grid strong { color: #d9e8ff; font-size: 18px; }.deal-proof-grid span { margin-top: 7px; color: #8292a8; font-size: 10px; line-height: 1.35; }
.deal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 14px; padding: 0 2px; }.deal-toolbar strong, .deal-toolbar span { display: block; }.deal-toolbar strong { font-size: 15px; }.deal-toolbar span { margin-top: 4px; color: #738298; font-size: 11px; }.deal-filters { display: flex; gap: 4px; padding: 4px; border: 1px solid #2c3a50; border-radius: 11px; background: #0d1521; }.deal-filters button { min-height: 33px; padding: 0 11px; border: 0; border-radius: 7px; color: #7e8ca0; background: transparent; cursor: pointer; font-size: 11px; font-weight: 750; }.deal-filters button:hover { color: #b9c9df; }.deal-filters button.active { color: #eef5ff; background: #29466f; box-shadow: inset 0 0 0 1px rgba(135,185,255,.12); }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(286px, 1fr)); gap: 13px; align-items: stretch; }.deal-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #26364d; border-radius: 15px; background: linear-gradient(180deg, #121c2b, #0f1724); box-shadow: 0 10px 28px rgba(0,0,0,.1); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }.deal-card:hover { border-color: #46658f; box-shadow: 0 16px 34px rgba(0,0,0,.2); transform: translateY(-2px); }
.deal-image { position: relative; display: grid; place-items: center; height: 168px; margin: 10px 10px 0; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 11px; color: #647186; background: linear-gradient(145deg, #fafbfc, #eef1f5); }.deal-image img { display: block; width: 78%; height: 78%; object-fit: contain; object-position: center; transition: transform .22s ease; }.deal-card:hover .deal-image img { transform: scale(1.035); }.deal-image-placeholder { display: flex; position: static; flex-direction: column; align-items: center; gap: 8px; color: #8791a0; font-size: 10px; font-weight: 700; }.deal-image-placeholder i { color: #9fa8b5; font-size: 28px; font-style: normal; }.deal-discount { position: absolute; top: 9px; right: 9px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: #fff; background: #287c5b; box-shadow: 0 5px 16px rgba(22,90,64,.24); font-size: 10px; font-weight: 850; }
.deal-body { display: flex; flex: 1; flex-direction: column; padding: 14px 15px 15px; }.deal-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.deal-card-head > span { overflow: hidden; color: #8090a7; font-size: 9px; font-weight: 850; letter-spacing: .075em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }.deal-card-head em { display: inline-flex; align-items: center; gap: 5px; color: #8fa4bf; font-size: 9px; font-style: normal; font-weight: 800; white-space: nowrap; }.deal-card-head em i { width: 6px; height: 6px; border-radius: 50%; background: #6ba6ff; }.deal-card-head em.score-top { color: #74d9aa; }.deal-card-head em.score-top i { background: #51d899; box-shadow: 0 0 8px rgba(81,216,153,.35); }.deal-card-head em.score-strong i { background: #6ba6ff; }.deal-card-head em.score-good i { background: #f1b95d; }
.deal-body h3 { display: -webkit-box; min-height: 41px; margin: 10px 0 7px; overflow: hidden; font-size: 13px; line-height: 1.48; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.deal-body h3 a { color: #edf3fb; text-decoration: none; }.deal-body h3 a:hover { color: #bcd6ff; }.deal-proof { min-height: 16px; margin: 0 0 12px; color: #73839a; font-size: 10px; }.deal-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 9px; margin-top: auto; padding-top: 2px; }.deal-price { display: flex; min-width: 0; align-items: baseline; gap: 6px; }.deal-price strong { color: #f5f8fc; font-size: 20px; letter-spacing: -.035em; }.deal-price del { overflow: hidden; color: #66758a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.deal-savings { flex: none; padding: 4px 6px; border-radius: 6px; color: #6fdaa8; background: rgba(48,161,108,.12); font-size: 9px; font-weight: 800; white-space: nowrap; }
.deal-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 0; padding: 7px 8px; border: 1px dashed #405677; border-radius: 7px; background: #0c1420; }.deal-code span { color: #8293aa; font-size: 9px; }.deal-code b { overflow: hidden; color: #a9c9f7; font-size: 9px; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }.deal-cta { display: flex; align-items: center; justify-content: space-between; min-height: 36px; margin-top: 12px; padding: 0 11px; border: 1px solid #34557e; border-radius: 8px; color: #c3d9f8; background: rgba(43,85,137,.22); font-size: 10px; font-weight: 800; text-decoration: none; transition: background .18s ease, border-color .18s ease; }.deal-cta b { color: #8db8f5; font-size: 10px; }.deal-cta:hover { border-color: #527aad; background: rgba(51,101,166,.32); }
.loading-card { grid-column: 1 / -1; padding: 48px; border: 1px dashed #314159; border-radius: 15px; color: #8291a6; font-size: 14px; text-align: center; }.loading-card strong, .loading-card span { display: block; }.loading-card strong { color: #c7d3e3; font-size: 16px; }.loading-card span { margin-top: 7px; font-size: 12px; }
.affiliate-disclosure { margin: 0 0 18px; padding: 16px 20px; border: 1px solid #344761; border-radius: 12px; color: #b5c3d5; background: #142033; font-size: 13px; line-height: 1.6; }
.affiliate-disclosure strong { color: #e4edfa; font-size: 14px; }
.affiliate-disclosure p { margin: 6px 0 0; }

.settings-layout { display: grid; grid-template-columns: minmax(590px, 1.35fr) minmax(300px, .65fr); gap: 15px; }.settings-panel { padding: 5px 24px; }.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 95px; border-top: 1px solid #253044; }.setting-row:first-child { border-top: 0; }.setting-row strong { display: block; font-size: 14px; }.setting-row p { margin: 6px 0 0; color: #7f8da1; font-size: 12px; line-height: 1.45; }.setting-row.disabled { opacity: .64; }.setting-status { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #315d4f; border-radius: 8px; color: #6ee7b7; background: rgba(31, 117, 83, .18); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.toggle input { position: absolute; opacity: 0; }.toggle span { position: relative; display: block; width: 48px; height: 27px; border-radius: 20px; background: #2a3648; cursor: pointer; }.toggle span::after { position: absolute; top: 4px; left: 4px; width: 19px; height: 19px; border-radius: 50%; background: #9aa7b9; content: ''; transition: .18s ease; }.toggle input:checked + span { background: #3e6fae; }.toggle input:checked + span::after { left: 25px; background: #e8f1ff; }.pro-tag { padding: 6px 9px; border: 1px solid #4c5271; border-radius: 8px; color: #b8aef8; background: rgba(93,73,160,.18); font-size: 10px; font-weight: 850; }.number-field { display: flex; align-items: center; overflow: hidden; border: 1px solid #35445b; border-radius: 9px; background: #0d1521; }.number-field input { width: 100px; height: 42px; padding: 0 10px; border: 0; color: #edf2f8; background: transparent; text-align: right; }.number-field span { padding-right: 11px; color: #8492a5; font-size: 11px; }.privacy-card { padding: 25px; border: 1px solid #324a6d; border-radius: 17px; background: linear-gradient(150deg, #172844, #111b2c); }.privacy-card > span { color: #8dbbff; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.privacy-card h3 { margin: 14px 0 10px; font-size: 21px; line-height: 1.3; }.privacy-card p { color: #9aa8ba; font-size: 13px; line-height: 1.6; }.privacy-card a { display: inline-block; margin-top: 12px; color: #9dc5ff; font-size: 12px; font-weight: 700; text-decoration: none; }

.forecast-panel, .calendar-panel { margin-bottom: 15px; }
.forecast-panel { background: linear-gradient(120deg, #15243a, #101a29); border-color: #365477; }
.insight-caption { margin: 8px 24px 20px; color: #8796ab; font-size: 12px; line-height: 1.55; }
.forecast-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 24px; }
.forecast-card { min-width: 0; padding: 14px 16px; border: 1px solid #344964; border-radius: 10px; background: rgba(9,17,29,.38); }
.forecast-card > span, .forecast-card > strong, .forecast-card > small { display: block; }
.forecast-card > span { color: #a8b9cf; font-size: 12px; }
.forecast-card > strong { margin: 7px 0 5px; font-size: 25px; letter-spacing: -.04em; }
.forecast-card > small { overflow-wrap: anywhere; color: #8292a8; font-size: 11px; }
.positive { color: #73ddb0; }.negative { color: #ff8e9a; }
.forecast-disclaimer { margin-top: 12px; margin-bottom: 16px; font-size: 11px; }
.forecast-disclaimer .text-button { font-size: 11px; }
.earnings-outlook-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 15px; align-items: stretch; }
.earnings-outlook-grid > .panel { min-width: 0; margin-bottom: 0; }
.earnings-outlook-grid .calendar-metrics { gap: 8px; padding: 12px 18px 14px; }
.earnings-outlook-grid .earnings-calendar { gap: 5px; padding: 0 18px 6px; }
.earnings-outlook-grid .calendar-day { min-height: 54px; padding: 7px; }
.earnings-outlook-grid .calendar-day strong { margin-top: 5px; font-size: 11px; }
.earnings-analytics-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px; margin-bottom: 15px; align-items: stretch; }
.earnings-analytics-grid .panel { min-width: 0; }
.earnings-share { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 18px; min-height: 280px; padding: 18px 24px; }
.share-donut { position: relative; width: 100%; max-width: 205px; margin: auto; }
.share-donut svg { display: block; width: 100%; }
.share-rings { fill: initial; stroke: none; transform: none; }
.share-donut > div { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; pointer-events: none; }
.share-donut strong { font-size: clamp(18px, 1.4vw, 29px); letter-spacing: -.04em; }
.share-donut span { margin-top: 5px; color: #7d8da4; font-size: 10px; }
.share-legend { display: flex; flex-direction: column; gap: 14px; }
.share-legend > div { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; gap: 3px 8px; align-items: center; }
.share-legend i { width: 8px; height: 8px; border-radius: 3px; }
.share-legend span { overflow: hidden; color: #c3cede; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.share-legend b { color: #eef4fc; font-size: 12px; }
.share-legend small { grid-column: 2; color: #7b8ca3; font-size: 11px; }
.daily-bar-segment { pointer-events: none; }
.daily-bar-highlight { fill: #9dbcf0; fill-opacity: .16; pointer-events: none; }
.daily-bar-highlight ~ .chart-hit-area:focus-visible { outline: 2px solid #6ba6ff; outline-offset: 3px; }
.long-chart-tooltip { box-sizing: border-box; min-width: 0; width: 360px; max-width: calc(100% - 16px); max-height: 340px; overflow-y: auto; transform: none; pointer-events: none; }
.long-chart-tooltip .tooltip-row { grid-template-columns: 8px minmax(0, 1fr) auto; }
.long-chart-tooltip .tooltip-row span { overflow-wrap: anywhere; }
.long-chart-tooltip .tooltip-row b { grid-column: 3; white-space: nowrap; }
.long-chart-tooltip > strong { overflow-wrap: anywhere; }
.long-chart-tooltip small { display: block; margin-top: 9px; color: #92a3bb; font-size: 11px; }
.daily-tooltip-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #34465f; font-size: 12px; }
#earningsShare { position: relative; }
.share-sector { cursor: crosshair; pointer-events: visiblePainted; transition: filter .12s; }
.share-sector.share-highlight, .share-sector:focus-visible { filter: brightness(1.3); stroke: #edf3fb; stroke-width: 1.5; outline: none; }
.share-legend .share-highlight, .share-legend [data-share-index]:focus-visible { background: #23324a; border-radius: 4px; outline: 1px solid #6ba6ff; outline-offset: 3px; }
.share-tooltip { pointer-events: none; }
.alert-option { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #c3cede; font-size: 13px; }
.alert-option small, .alert-actions-help { color: #8291a6; font-size: 11px; font-weight: 400; line-height: 1.4; }
.alert-actions-help { flex: 1 1 100%; margin-top: -6px; }
.alert-option input[type="number"] { width: 90px; padding: 8px; border: 1px solid #35445b; border-radius: 6px; background: #0d1521; color: #edf2f8; }
.alert-recent { white-space: pre-line; overflow-wrap: anywhere; }
.demand-range-controls { padding: 0 22px 8px; }
.demand-range-controls > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.demand-range-controls .segmented { flex-wrap: wrap; width: fit-content; }
.demand-range-controls .insight-caption { margin: 9px 0 0; line-height: 1.5; }
.demand-chart-legend { flex-wrap: wrap; justify-content: flex-start; gap: 10px 16px; padding-bottom: 8px; }
.demand-chart-legend .legend-demand-mid { height: 8px; background: rgba(107,166,255,.65); }
.demand-chart-legend .legend-demand-none { height: 3px; background: #ff7180; }
.cloud-panel .collector-status { color: #bed7f9; font-size: 13px; font-weight: 650; }
.insight-empty { grid-column: 1 / -1; padding: 45px 24px; color: #8192a9; font-size: 13px; line-height: 1.6; text-align: center; }
.activity-panel .segmented button, .forecast-panel .segmented button { min-height: 30px; padding: 0 12px; font-size: 11px; }
.activity-legend { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 24px 4px; color: #8c9cb2; font-size: 10px; }
.activity-legend span { display: inline-flex; align-items: center; gap: 6px; }
.activity-legend i { width: 10px; height: 7px; border-radius: 2px; }
.activity-earning { background: #4abf99; }.activity-idle { background: #d8a852; }.activity-offline { background: #e77887; }
.activity-unknown, .activity-track { background: repeating-linear-gradient(135deg, #273345, #273345 4px, #1c2737 4px, #1c2737 8px); }
.machine-activity { padding: 8px 24px 4px; }
.activity-row { padding: 12px 0 7px; }
.activity-row-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; }
.activity-row-label span { display: flex; min-width: 0; gap: 7px; align-items: center; color: #c3cede; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.activity-row-label i { flex: none; width: 7px; height: 7px; border-radius: 3px; }.activity-row-label b { flex: none; color: #c8d6e8; font-size: 11px; }
.activity-track { display: flex; overflow: hidden; height: 9px; border-radius: 5px; }
.activity-track i { display: block; height: 100%; }
.activity-row > small { display: block; margin-top: 6px; color: #74859b; font-size: 10px; }
.calendar-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 14px 24px 20px; }
.calendar-metrics > div { padding-left: 15px; border-left: 2px solid #365477; }
.calendar-metrics span, .calendar-metrics strong, .calendar-metrics small { display: block; }
.calendar-metrics span { color: #8b9cb1; font-size: 11px; }.calendar-metrics strong { margin: 8px 0 5px; font-size: 22px; }.calendar-metrics small { color: #74869d; font-size: 10px; }.calendar-metrics strong small { display: inline; font-size: 15px; }
.earnings-calendar { display: grid; grid-template-columns: repeat(10,minmax(0,1fr)); gap: 7px; padding: 0 24px 6px; }
.calendar-day { min-width: 0; min-height: 71px; padding: 10px; border: 1px solid #314459; border-radius: 9px; background: rgba(44,165,132,var(--heat)); }
.calendar-day span, .calendar-day strong, .calendar-day small { display: block; }.calendar-day span { color: #b0c8c9; font-size: 10px; }.calendar-day strong { margin-top: 8px; color: #e0f5ed; font-size: 12px; }.calendar-day small { margin-top: 4px; color: #92c5b9; font-size: 9px; }.calendar-day.missing { background: #101824; border-style: dashed; }.calendar-day.missing strong, .calendar-day.missing span { color: #61718a; }.calendar-day.today { border-color: #6ba6ff; }
.deal-proof-grid { grid-template-columns: repeat(2, 1fr); }
.single-point-note { margin: -6px 20px 8px; color: #8291a6; font-size: 12px; text-align: center; }

@media (max-width: 1500px) {
  .earnings-analytics-grid { grid-template-columns: 1fr; }
  .earnings-share { grid-template-columns: 240px 1fr; }
  .earnings-calendar { grid-template-columns: repeat(6,minmax(0,1fr)); }
}

@media (max-width: 1280px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insight-grid { grid-template-columns: repeat(2, 1fr); }
  .demand-layout { grid-template-columns: minmax(0,1fr); }
  .pro-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .pro-feature-wide { grid-column: auto; }
}
.cloud-panel { margin-top: 20px; padding: 24px; }
.cloud-panel p { color: var(--text-muted, #9aa8ba); line-height: 1.6; }
.cloud-panel .account-actions { flex-wrap: wrap; }
.cloud-panel [hidden] { display: none !important; }
#account [hidden] { display: none !important; }
.account-notice { color: #a6c7f5; font-size: 13px; }
#accountIdentity h3 { margin: 10px 0 6px; }
.account-contact { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.account-contact a { color: #a9caff; }
.account-utility { margin-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.account-utility > summary { padding: 16px 0 2px; color: #9eafc5; cursor: pointer; font-weight: 700; }
.account-utility > div { padding-top: 2px; }
.account-support { margin-top: 14px; color: var(--muted); font-size: 12px; }
.account-delete { margin-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.account-delete summary { padding: 18px 0; cursor: pointer; }
.account-delete > div { max-width: 560px; padding-bottom: 8px; line-height: 1.6; }
.account-delete label { display: grid; gap: 7px; margin: 14px 0; }
.account-delete input { width: 100%; padding: 11px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: #eef3fb; }
.danger-button { color: #ff9b9b; }
.pro-services-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.pro-services-layout .cloud-panel { margin: 0; min-width: 0; }
.pro-services-layout h3 { margin: 0 0 10px; font-size: 19px; }
.pro-services-layout p { font-size: 13px; }
.pro-services-layout .account-actions { gap: 10px; margin: 16px 0; }
.pro-services-layout .service-status { margin: 18px 0; }
.services-message { grid-column: 1 / -1; margin: 0; color: #aacaff; font-size: 13px; }
.services-message:empty { display: none; }
.service-details { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.service-details summary { padding: 17px 22px; cursor: pointer; color: #a9bedb; font-weight: 650; }
.service-details > div { padding: 0 22px 18px; line-height: 1.6; }
.service-details h4 { color: #dce8f8; margin-bottom: 6px; }
.services-consent { max-width: 520px; padding: 26px; border: 1px solid #425b7b; border-radius: 14px; color: #eaf2ff; background: #111d2e; }
.services-consent::backdrop { background: rgba(0,0,0,.65); }
.services-consent p { color: #b1c0d5; font-size: 14px; line-height: 1.6; }
.services-consent .account-actions { flex-wrap: wrap; }
@media (max-width: 1000px) { .pro-services-layout, .pro-feature-explorer { grid-template-columns: minmax(0, 1fr); } }
.service-status { margin: 0 0 20px; padding: 16px; border: 1px solid #35445b; border-radius: 10px; background: #0c1624; }
.service-badge { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 11px; border-radius: 6px; background: #243249; color: #d0dcee; font-size: 13px; line-height: 1.4; }
.service-badge::before { content: ''; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: currentColor; }
.service-badge[data-tone="active"] { background: #143d32; color: #86efbc; }
.service-badge[data-tone="warning"] { background: #40351d; color: #f6d68b; }
.service-badge[data-tone="down"] { background: rgba(217,68,83,.15); color: #ff99a3; }
.cloud-panel .service-status p { margin: 10px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.cloud-notice { padding: 12px; margin: 12px 0; border: 1px solid #354a69; border-radius: 8px; color: #aacaff; }
#reportRange { flex-wrap: wrap; }
.report-toolbar { flex-wrap: wrap; }
.monitor-overview-panel { margin-top: 15px; padding: 24px; }
.monitor-overview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.monitor-overview-stats > div { --monitor-color: #8dbdff; padding: 16px; border: 1px solid color-mix(in srgb, var(--monitor-color) 42%, #30435d); border-radius: 10px; background: color-mix(in srgb, var(--monitor-color) 7%, #0d1828); }
.monitor-overview-stats > div:nth-child(2) { --monitor-color: #f6c563; }
.monitor-overview-stats > div:nth-child(3) { --monitor-color: #5ee0a8; }
.monitor-overview-stats strong { color: var(--monitor-color); text-shadow: 0 0 22px color-mix(in srgb, var(--monitor-color) 18%, transparent); }
.monitor-overview-stats span, .monitor-overview-stats small { display: block; color: #8d9db4; font-size: 12px; }
.monitor-overview-stats strong { display: block; margin: 8px 0 5px; font-size: 24px; letter-spacing: -.03em; }
.monitor-panel { grid-column: 1 / -1; margin: 18px 0 0; padding: 24px; }
.monitor-panel .panel-heading { margin-bottom: 8px; }
.monitor-summary { max-width: 780px; color: var(--muted); line-height: 1.6; }
.monitor-pairing { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 18px 0; padding: 16px; border: 1px solid #3c5f85; border-radius: 12px; background: #102239; scroll-margin-top: 104px; }
.monitor-pairing > div { display: grid; gap: 5px; }
.monitor-pairing-target { min-width: min(280px, 100%); }
.monitor-pairing-target strong { color: #e6f1ff; font-size: 16px; }
.monitor-pairing code { color: #e6f1ff; font-size: 24px; font-weight: 800; letter-spacing: .12em; user-select: all; }
.monitor-pairing small { color: #aac5e7; }
.monitor-pairing p { flex: 1 1 100%; margin: 0; color: #b3c2d6; font-size: 13px; line-height: 1.55; }
.monitor-device-list { display: grid; gap: 14px; margin-top: 20px; }
.monitor-device { overflow: hidden; border: 1px solid #2f4058; border-radius: 12px; background: #0d1726; }
.monitor-device-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.monitor-device-summary::-webkit-details-marker { display: none; }
.monitor-device-summary::after { flex: 0 0 auto; color: #8ea5c4; content: '⌄'; font-size: 18px; line-height: 1; transition: transform .15s ease; }
.monitor-device[open] > .monitor-device-summary::after { transform: rotate(180deg); }
.monitor-device-summary:hover { background: #111f32; }
.monitor-device-summary-main { min-width: 0; flex: 1 1 auto; }
.monitor-device-summary h4 { margin: 5px 0 4px; overflow-wrap: anywhere; color: #ecf3ff; font-size: 18px; }
.monitor-device-summary p { margin: 0; overflow-wrap: anywhere; color: #95a6bd; font-size: 13px; }
.monitor-device-added { display: block; margin-top: 5px; color: #8199b8; font-size: 11px; }
.monitor-device-summary .service-badge { flex: 0 0 auto; }
.monitor-device-body { padding: 0 18px 18px; border-top: 1px solid #253852; }
.monitor-device-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.monitor-device-stats > div { padding: 12px; border-radius: 8px; background: #111f32; }
.monitor-device-stats span, .monitor-device-stats small { display: block; color: #8798b0; font-size: 11px; }
.monitor-device-stats strong { display: block; margin: 6px 0 4px; overflow-wrap: anywhere; color: #dce9fb; font-size: 18px; }
.monitor-device-form { display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 12px; margin: 15px 0; }
.monitor-device-form label { position: relative; display: grid; gap: 6px; color: #9aabc1; font-size: 12px; }
.monitor-device-form input { width: 100%; min-width: 0; padding: 10px; border: 1px solid #35475f; border-radius: 7px; background: #08111d; color: #edf4ff; }
.monitor-device-form label span { position: absolute; right: 10px; bottom: 11px; color: #71839b; font-size: 11px; pointer-events: none; }
.monitor-device-form input { padding-right: 52px; }
.monitor-device-link { margin: 12px 0 0; color: #aacaff; font-size: 13px; }
.monitor-device-attachment { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.monitor-device-attachment label { display: grid; gap: 6px; min-width: min(320px, 100%); color: #9aabc1; font-size: 12px; }
.monitor-device-attachment select { min-width: 220px; padding: 10px; border: 1px solid #35475f; border-radius: 7px; background: #08111d; color: #edf4ff; }
.monitor-table-cell { min-width: 130px; }
.monitor-table-note { color: #8192a9; font-size: 12px; }
.monitor-linked { color: #86efbc; font-size: 12px; font-weight: 700; }
.monitor-linked-button { color: #86efbc; }
.monitor-connect-button { white-space: nowrap; }
.monitor-empty { padding: 18px; border: 1px dashed #3a4c64; border-radius: 10px; color: #95a6bb; }
.monitor-message { margin: 16px 0 0; color: #aacaff; font-size: 13px; }
.monitor-message[data-tone="active"] { color: #86efbc; }
.monitor-message[data-tone="warning"] { color: #f6d68b; }
.monitor-privacy { margin-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.monitor-privacy summary { padding-top: 16px; cursor: pointer; color: #a9bedb; font-weight: 650; }
.monitor-privacy p { max-width: 800px; line-height: 1.6; }
.monitored-gpu-panel { margin: 4px 0 0; border-top: 1px solid #253044; }
.monitored-gpu-panel .panel-heading { padding-top: 24px; }
.telemetry-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 10px 24px 6px; }
.telemetry-stat { padding: 13px; border: 1px solid #2b3d56; border-radius: 9px; background: #0d1828; }
.telemetry-stat span, .telemetry-stat small { display: block; color: #8798b0; font-size: 11px; }
.telemetry-stat strong { display: block; margin: 6px 0 4px; color: #e7f0ff; font-size: 19px; }
.telemetry-table td { vertical-align: middle; }
.telemetry-table td small { max-width: 190px; }
.gpu-history-button { display: block; min-width: 150px; padding: 0; border: 0; color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.gpu-history-button strong { color: #dce9fb!important; }
.gpu-history-button:hover strong, .gpu-history-button:focus-visible strong { color: #80b4ff!important; text-decoration: underline; }
.data-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 9px; border: 1px solid #35445b; border-radius: 8px; color: #9cacbf; background: #101a29; font-size: 11px; font-weight: 750; white-space: nowrap; }
.data-badge[data-tone="active"] { border-color: #2b7e61; color: #86efbc; background: #143c31; }
.profit-panel { margin-bottom: 15px; overflow: hidden; }
.profit-panel > .insight-caption { margin-top: 0; }
.profit-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0 24px 18px; }
.profit-stat { min-width: 0; padding: 13px; border: 1px solid #2b3d56; border-radius: 9px; background: #0d1828; }
.profit-stat span, .profit-stat small { display: block; color: #8798b0; font-size: 11px; }
.profit-stat strong { display: block; margin: 6px 0 4px; color: #e7f0ff; font-size: 19px; overflow-wrap: anywhere; }
.profit-insights-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 12px; padding: 0 24px 24px; }
.profit-chart-card { min-width: 0; padding: 14px; border: 1px solid #2b3d56; border-radius: 10px; background: #0d1726; }
.mini-panel-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.mini-panel-heading span { display: block; color: #8798b0; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mini-panel-heading h4 { margin: 5px 0 0; font-size: 15px; }
.mini-panel-heading small { color: #8191a5; font-size: 11px; }
.profit-trend-chart { position: relative; min-height: 270px; }
.profit-trend-chart svg { display: block; width: 100%; height: 255px; overflow: visible; }
.profit-chart-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 3px; color: #8798b0; font-size: 10px; }
.profit-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.profit-chart-legend .profit-chart-help { margin-left: auto; color: #62758f; font-style: italic; }
.profit-chart-legend i { width: 8px; height: 8px; border-radius: 2px; }
.profit-chart-grid { stroke: #27364a; stroke-width: 1; }
.profit-chart-zero { stroke: #4c5d74; stroke-width: 1; stroke-dasharray: 3 4; }
.profit-chart-axis { fill: #8290a3; font-size: 10px; }
.profit-chart-bar { opacity: .9; }
.profit-chart-kept { fill: #47e886; }
.profit-chart-power { fill: #ef6674; }
.profit-chart-hit { fill: transparent; cursor: crosshair; outline: none; }
.profit-chart-hit:focus, .profit-chart-hit.is-highlighted { fill: rgba(123, 163, 214, .08); stroke: rgba(145, 187, 240, .45); stroke-width: 1; }
.profit-chart-bar.is-highlighted { opacity: 1; filter: brightness(1.22); }
.profit-chart-tooltip { position: absolute; z-index: 5; display: grid; gap: 3px; width: 300px; max-width: calc(100% - 16px); margin: 0; padding: 10px 12px; border: 1px solid #3c5879; border-radius: 10px; color: #a9bad1; background: rgba(12, 18, 29, .96); box-shadow: 0 15px 38px rgba(0,0,0,.35); font-size: 10px; }
.profit-chart-tooltip strong { color: #f0f5fc; font-size: 11px; }
.profit-chart-tooltip span { display: flex; justify-content: space-between; gap: 14px; }
.profit-chart-tooltip b { color: #e7f0fc; }
.profit-power-mix { min-height: 220px; padding: 8px 2px 4px; }
.mini-range-controls { display: flex; gap: 3px; padding: 3px; border: 1px solid #2e405a; border-radius: 8px; background: #0b1523; }
.mini-range-controls button { padding: 5px 7px; border: 0; border-radius: 5px; color: #8194ad; background: transparent; cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; }
.mini-range-controls button:hover, .mini-range-controls button.active { color: #eef5ff; background: #29466c; }
.standard-range-controls { flex-wrap: wrap; justify-content: flex-end; }
.standard-range-controls button { white-space: nowrap; }
.compact-range-upgrade { margin: 8px 0 10px; padding: 9px 11px; font-size: 10px; }
.earnings-share-heading-controls { display: grid; justify-items: end; gap: 5px; }
.earnings-share-heading-controls small { text-align: right; }
.chart-period-label { display: block; margin: -3px 0 0; color: #6f8198; font-size: 10px; }
.power-pie-layout { display: grid; grid-template-columns: minmax(170px, .9fr) minmax(140px, 1.1fr); align-items: center; gap: 8px; }
.power-pie-graphic { position: relative; min-width: 0; }
.power-pie-graphic svg { display: block; width: 100%; max-width: 205px; margin: 0 auto; overflow: visible; }
.power-pie-hole { fill: #0d1726; stroke: #2b405c; stroke-width: 1; }
.power-pie-total { fill: #edf5ff; font-size: 12px; font-weight: 850; }
.power-pie-cost { fill: #47e886; font-size: 10px; font-weight: 850; }
.power-pie-slice { cursor: pointer; opacity: .86; outline: none; stroke: transparent; stroke-width: 1.5; transition: opacity .16s ease, filter .16s ease, stroke .16s ease; }
.power-pie-slice:hover, .power-pie-slice:focus, .power-pie-slice.is-highlighted { opacity: 1; filter: brightness(1.16); stroke: #f4f8ff; stroke-width: 2.5; }
.power-pie-legend { display: grid; gap: 4px; padding-right: 2px; }
.power-pie-legend-item { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 6px 6px; border: 1px solid transparent; border-radius: 7px; color: #d9e6f5; background: transparent; cursor: pointer; text-align: left; }
.power-pie-legend-item:hover, .power-pie-legend-item:focus, .power-pie-legend-item.is-highlighted { border-color: #385576; background: #152943; outline: none; }
.power-pie-legend-item > i { width: 8px; height: 22px; border-radius: 3px; background: var(--pie-color); }
.power-pie-legend-item span { min-width: 0; }
.power-pie-legend-item strong, .power-pie-legend-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.power-pie-legend-item strong { color: #e5eef9; font-size: 10px; }
.power-pie-legend-item small { margin-top: 2px; color: #71849c; font-size: 9px; }
.power-pie-legend-item b { color: #b9cbe0; font-size: 10px; }
.power-pie-legend-item .power-pie-money { min-width: 54px; text-align: right; }
.power-pie-legend-item .power-pie-money b { color: #47e886; font-size: 12px; }
.report-range-group { padding: 12px 14px; border: 1px solid #3a5271; border-radius: 10px; background: #101f32; box-shadow: inset 3px 0 #6ba6ff; }
.report-range-group > span { color: #dbe9f9; font-size: 12px; }
.report-range-group > small { display: block; margin-top: 7px; color: #8da2ba; font-size: 10px; line-height: 1.45; }
.profit-power-mix { position: relative; }
.power-pie-tooltip { position: absolute; z-index: 5; display: grid; gap: 2px; width: 360px; min-height: 28px; max-width: calc(100% - 16px); margin: 0; padding: 10px 12px; border: 1px solid #3a4b65; border-left: 2px solid #6ba6ff; border-radius: 10px; color: #8fa4bd; background: rgba(12, 18, 29, .96); box-shadow: 0 15px 38px rgba(0,0,0,.35); font-size: 10px; }
.power-pie-tooltip[hidden] { display: none; }
.power-pie-tooltip, .profit-chart-tooltip, .telemetry-chart-tooltip { pointer-events: none; }
.power-pie-tooltip strong { color: #edf4fc; font-size: 10px; }
.power-pie-tooltip span:last-child { color: #b8cbe0; }
.power-mix-item > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.power-mix-item span { color: #aab8ca; font-size: 12px; }
.power-mix-item strong { color: #edf3fb; font-size: 15px; }
.power-mix-item small { display: block; margin-top: 6px; color: #75869c; font-size: 10px; text-align: right; }
.power-mix-track { height: 9px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: #1e2a3b; }
.power-mix-track i { display: block; height: 100%; min-width: 3px; border-radius: inherit; }
.gpu-analytics-page .page-intro { align-items: flex-end; }
.analytics-intro-actions { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.analytics-intro-actions .select-field { min-width: 260px; }
.analytics-empty { max-width: 780px; padding: 30px; background: linear-gradient(145deg, #162840, #101927); }
.analytics-empty h3 { margin: 10px 0 9px; font-size: 23px; }
.analytics-empty p { max-width: 650px; margin: 0 0 20px; color: #9eacc0; line-height: 1.6; }
.analytics-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 15px; }
.analytics-stat { min-height: 112px; padding: 17px; border: 1px solid #2f4561; border-radius: 13px; background: linear-gradient(145deg, #14243a, #101a29); }
.analytics-stat span, .analytics-stat small { display: block; color: #8799b2; font-size: 11px; }
.analytics-stat strong { display: block; margin: 10px 0 5px; color: #e8f2ff; font-size: 22px; letter-spacing: -.035em; overflow-wrap: anywhere; }
.analytics-trend-panel { margin-bottom: 15px; overflow: hidden; }
.analytics-trend-panel > .insight-caption { margin-top: 0; }
.analytics-chart { position: relative; min-height: 190px; padding: 4px 18px 18px; }
.analytics-chart .telemetry-chart { margin-top: 10px; }
.analytics-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 15px; margin-bottom: 15px; }
.analytics-panel { min-width: 0; overflow: hidden; }
.analytics-panel > .insight-caption { margin-top: 0; }
.gpu-health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; padding: 14px 18px 2px; }
.gpu-health-card { display: block; min-width: 0; padding: 14px; border: 1px solid #2b3e58; border-radius: 12px; color: #dce8f7; background: linear-gradient(145deg, #122238, #0e1a2a); cursor: pointer; text-align: left; transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease; }
.gpu-health-card:hover, .gpu-health-card:focus-visible, .gpu-health-card.selected { border-color: var(--gpu-color, #6595d1); background: linear-gradient(145deg, #193353, #12243a); box-shadow: 0 8px 22px rgba(0,0,0,.16); outline: none; transform: translateY(-1px); }
.gpu-card-top { display: flex; align-items: center; gap: 7px; min-width: 0; }
.gpu-card-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--gpu-color, #6ba6ff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gpu-color, #6ba6ff) 16%, transparent); }
.gpu-card-name { overflow: hidden; color: #d9e7f7; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.gpu-card-top em { flex: 0 0 auto; margin-left: auto; padding: 3px 5px; border: 1px solid color-mix(in srgb, var(--gpu-color, #6ba6ff) 65%, transparent); border-radius: 5px; color: #d5e8ff; background: color-mix(in srgb, var(--gpu-color, #6ba6ff) 17%, transparent); font-size: 8px; font-style: normal; font-weight: 850; text-transform: uppercase; }
.gpu-health-card strong { display: block; margin: 11px 0 2px; color: #f0f6fd; font-size: 22px; letter-spacing: -.03em; }
.gpu-health-card small { display: block; overflow: hidden; color: #8194ac; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.gpu-health-meter { height: 6px; margin: 12px 0 8px; overflow: hidden; border-radius: 99px; background: #203047; }
.gpu-health-meter i { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: var(--gpu-color, #47e886); box-shadow: 0 0 8px color-mix(in srgb, var(--gpu-color, #47e886) 35%, transparent); }
.gpu-card-meta { display: flex; justify-content: space-between; gap: 8px; }
.gpu-card-meta span { min-width: 0; overflow: hidden; color: #8194ac; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.gpu-history-panel { margin-bottom: 15px; overflow: hidden; }
.analytics-gpu-selector { display: flex; justify-content: flex-end; gap: 5px; flex-wrap: wrap; }
.analytics-gpu-tab { padding: 7px 9px; border: 1px solid #314258; border-radius: 7px; color: #8c9db1; background: #0f1826; cursor: pointer; font-size: 10px; font-weight: 750; }
.analytics-gpu-tab:hover, .analytics-gpu-tab.active { border-color: #5d88bd; color: #e4efff; background: #1d3453; }
.analytics-recent { padding: 0 18px 18px; }
.analytics-recent-details { margin: 0 18px 18px; border-top: 1px solid #263850; }
.analytics-recent-details > summary { padding: 13px 0 0; color: #86b8ff; cursor: pointer; font-size: 11px; font-weight: 750; }
.analytics-recent-details[open] > summary { margin-bottom: 13px; }
.analytics-recent-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 6px 0 8px; }
.analytics-recent-heading span, .analytics-recent-heading strong, .analytics-recent-heading small { display: block; }
.analytics-recent-heading span { color: #8293aa; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.analytics-recent-heading strong { margin-top: 5px; font-size: 14px; }
.analytics-recent-heading small { color: #778aa1; font-size: 11px; text-align: right; }
.analytics-recent .table-wrap { padding: 0; }
.analytics-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-height: 0; padding-top: 10px; }
.telemetry-chart { position: relative; min-width: 0; padding: 15px 15px 9px; border: 1px solid rgba(101, 132, 169, .28); border-radius: 12px; background: linear-gradient(145deg, rgba(17, 32, 51, .96), rgba(10, 20, 34, .96)); box-shadow: inset 0 1px rgba(255,255,255,.02); }
.telemetry-chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.telemetry-chart-heading div span, .telemetry-chart-heading div strong { display: block; }
.telemetry-chart-heading div span { color: #8fa1b8; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.telemetry-chart-heading div strong { margin-top: 5px; color: #f2f7fd; font-size: 20px; letter-spacing: -.025em; }
.telemetry-chart-heading small { color: #8194ad; font-size: 10px; text-align: right; }
.telemetry-chart svg { display: block; width: 100%; height: 148px; overflow: visible; }
.telemetry-chart-grid { stroke: rgba(148, 163, 184, .11); stroke-width: 1; }
.telemetry-chart-axis { fill: #7d8ea5; font-size: 10px; }
.telemetry-chart-area { pointer-events: none; }
.telemetry-chart-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 4px color-mix(in srgb, var(--chart-color) 24%, transparent)); }
.telemetry-chart-current { stroke: #0d1726; stroke-width: 2; }
.telemetry-chart-point { opacity: .7; pointer-events: none; transition: r .15s ease, opacity .15s ease; }
.telemetry-chart-point.is-highlighted { opacity: 1; r: 4.5; }
.telemetry-chart-hit { fill: transparent; cursor: crosshair; outline: none; }
.telemetry-chart-hit:focus + .telemetry-chart-point, .telemetry-chart-hit.is-highlighted + .telemetry-chart-point { opacity: 1; }
.telemetry-chart-hit:focus { stroke: rgba(238, 246, 255, .35); stroke-width: 1; }
.telemetry-chart-tooltip { position: absolute; z-index: 5; width: 280px; max-width: calc(100% - 16px); margin: 0; padding: 10px 12px; border-left: 2px solid var(--chart-color, #6ba6ff); color: #b9cbe0; background: rgba(12, 18, 29, .96); box-shadow: 0 15px 38px rgba(0,0,0,.35); font-size: 10px; }
.telemetry-chart-tooltip[hidden] { display: none; }
.analytics-history-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 22px; }
.analytics-history-meta p { margin: 0; }
.analytics-history-meta small { flex: 0 0 auto; color: #8395ac; font-size: 10px; }
.analytics-offset-field { display: grid; gap: 5px; min-width: 145px; color: #8191a7; font-size: 10px; font-weight: 700; }
.analytics-offset-input { display: flex; align-items: center; height: 39px; overflow: hidden; border: 1px solid #31435a; border-radius: 9px; background: #0c1624; }
.analytics-offset-input input { width: 100%; min-width: 0; padding: 0 10px; border: 0; outline: 0; color: #e5eef9; background: transparent; font: inherit; font-size: 12px; }
.analytics-offset-input b { align-self: stretch; display: grid; place-items: center; min-width: 38px; border-left: 1px solid #31435a; color: #91a4bc; font-size: 11px; }
.analytics-save-power { height: 39px; white-space: nowrap; }
.analytics-power-message { margin: 0 0 15px; }
.telemetry-recent { margin-top: 18px; }
.telemetry-recent h3 { margin: 0 0 8px; font-size: 16px; }
.telemetry-recent .table-wrap { padding: 0; }

/* Shared metric hierarchy: small labels, bright values, and a quiet color cue. */
.metrics-grid .metric-card, .insight-grid article, .report-summary article, .demand-benchmarks article, .telemetry-stat, .analytics-stat, .profit-stat { position: relative; overflow: hidden; --metric-color: #7ab3ff; }
.metrics-grid .metric-card::before, .insight-grid article::before, .report-summary article::before, .demand-benchmarks article::before, .telemetry-stat::before, .analytics-stat::before, .profit-stat::before { position: absolute; inset: 0 0 auto; height: 2px; background: var(--metric-color); content: ''; opacity: .85; }
.metrics-grid .metric-card > strong, .insight-grid article > strong, .report-summary article > strong, .demand-benchmarks article > strong, .telemetry-stat > strong, .analytics-stat > strong, .profit-stat > strong { color: var(--metric-color); font-variant-numeric: tabular-nums; }
.metrics-grid .metric-card:first-child, .report-summary article:first-child { --metric-color: #9bc4ff; }
.metrics-grid .metric-card:nth-child(2), .metrics-grid .metric-card:nth-child(3), .insight-grid article:nth-child(1), .report-summary article:nth-child(n+2):nth-child(-n+4), .demand-benchmarks article:nth-child(1), .demand-benchmarks article:nth-child(2), .analytics-stat:nth-child(4), .profit-stat:nth-child(1), .profit-stat:nth-child(3), .profit-stat:nth-child(4) { --metric-color: #5ee0a8; }
.metrics-grid .metric-card:nth-child(4), .insight-grid article:nth-child(3), .report-summary article:nth-child(5), .analytics-stat:nth-child(3) { --metric-color: #b19cff; }
.insight-grid article:nth-child(2), .telemetry-stat:nth-child(1), .telemetry-stat:nth-child(2), .analytics-stat:nth-child(1), .analytics-stat:nth-child(5) { --metric-color: #63d7ef; }
.insight-grid article:nth-child(4), .demand-benchmarks article:nth-child(3), .telemetry-stat:nth-child(3), .analytics-stat:nth-child(2), .profit-stat:nth-child(2), .profit-stat:nth-child(5) { --metric-color: #f6c563; }
.demand-benchmarks article:nth-child(4) { --metric-color: #5ee0a8; }
.report-summary article:first-child { border-color: #35557d; background: linear-gradient(145deg, #1a3151, #111c2c); }
.metrics-grid .metric-card > strong, .insight-grid article > strong, .report-summary article > strong, .demand-benchmarks article > strong, .telemetry-stat > strong, .analytics-stat > strong, .profit-stat > strong { text-shadow: 0 0 22px color-mix(in srgb, var(--metric-color) 16%, transparent); }
.telemetry-table tbody tr { transition: background .15s ease; }
.telemetry-table tbody tr:hover { background: rgba(72, 116, 173, .1); }
.telemetry-table td { font-variant-numeric: tabular-nums; }
.gpu-table-name { display: flex; align-items: center; gap: 8px; min-width: 180px; }
.gpu-table-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--gpu-color, #7ab3ff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gpu-color, #7ab3ff) 16%, transparent); }
.gpu-history-button strong { color: var(--gpu-color, #dce9fb)!important; }
.gpu-history-button:hover strong, .gpu-history-button:focus-visible strong { color: color-mix(in srgb, var(--gpu-color, #7ab3ff) 72%, white)!important; }
.gpu-table-specs { color: color-mix(in srgb, var(--gpu-color, #7ab3ff) 66%, #91a0b5)!important; font-size: 10px!important; }
.telemetry-value-power { color: #63d7ef!important; }
.telemetry-value-utilization { color: #5ee0a8!important; }
.telemetry-value-temperature { color: #f6c563!important; }
.metric-card, .insight-grid article, .report-summary article, .demand-benchmarks article, .telemetry-stat, .analytics-stat, .profit-stat { box-shadow: inset 0 1px rgba(255,255,255,.025), 0 10px 24px rgba(0,0,0,.08); }
@media (max-width: 1000px) { .profit-insights-grid, .analytics-grid { grid-template-columns: minmax(0, 1fr); } .analytics-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .monitor-overview-stats, .monitor-device-stats, .monitor-device-form, .telemetry-summary, .profit-summary, .analytics-summary { grid-template-columns: minmax(0, 1fr); } .profit-insights-grid, .analytics-grid, .analytics-chart-grid { grid-template-columns: minmax(0, 1fr); } .analytics-intro-actions { align-items: stretch; } .analytics-intro-actions > * { width: 100%; } .analytics-gpu-selector { justify-content: flex-start; } .gpu-health-grid { grid-template-columns: minmax(0, 1fr); } .analytics-recent-heading, .analytics-history-meta { display: block; } .analytics-recent-heading small, .analytics-history-meta small { display: block; margin-top: 6px; text-align: left; } }

/* Compact shared GPU filters stay visible beside the range controls. */
.report-net-sub { margin: -3px 0 4px!important; color: #5ee0a8!important; font-size: 11px!important; font-weight: 750!important; }
.machine-filter { position: relative; display: block; min-width: 0; flex: 1 1 360px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.machine-filter > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; min-height: 65px; padding: 12px 14px; border: 1px solid #3a5271; border-radius: 10px; color: #dbe9f9; background: #101f32; box-shadow: inset 3px 0 #4ce0c4; cursor: pointer; list-style: none; }
.machine-filter > summary::-webkit-details-marker { display: none; }
.machine-filter > summary span, .machine-filter > summary strong { display: block; }
.machine-filter > summary span { color: #8da2ba; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.machine-filter > summary strong { grid-column: 1; color: #dbe9f9; font-size: 13px; }
.machine-filter > summary i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #7fa7d8; font-size: 17px; font-style: normal; transition: transform .16s ease; }
.machine-filter[open] > summary { border-color: #5c83b6; }
.machine-filter[open] > summary i { transform: rotate(180deg); }
.machine-filter-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 10; width: min(460px, calc(100vw - 90px)); padding: 14px; border: 1px solid #3b5271; border-radius: 12px; background: #0d1725; box-shadow: 0 18px 45px rgba(0,0,0,.42); }
.machine-filter-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.machine-filter-summary span { display: block; color: #8da2ba; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.machine-filter-summary strong { display: block; color: #dbe9f9; font-size: 12px; }
.machine-filter-actions { display: flex; flex: 0 0 auto; gap: 5px; }
.machine-filter-actions .text-button { padding: 0 3px; font-size: 10px; }
.machine-series-controls { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; max-height: 70px; overflow-y: auto; padding: 1px 1px 2px; scrollbar-color: #3d5678 #111927; scrollbar-width: thin; }
.machine-chip { gap: 5px; max-width: 100%; padding: 5px 7px; border-radius: 7px; font-size: 10px; }
.machine-chip i { width: 8px; height: 8px; border-radius: 2px; }
.machine-chip span { max-width: 145px; }
@media (max-width: 900px) { .report-toolbar { align-items: stretch; flex-direction: column; gap: 9px; padding: 12px 14px; } .report-range-group { min-width: 0; } #reportRange { width: 100%; } #reportRange button { flex: 1 1 auto; padding: 0 7px; font-size: 11px; } .machine-filter { flex-basis: auto; } .machine-series-controls { max-height: 82px; } .machine-chip span { max-width: 145px; } }

@media (max-width: 900px) { .earnings-outlook-grid { grid-template-columns: minmax(0, 1fr); } }

/* Hosted dashboard gate and read-only web capabilities. */
.host-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: #0b111b; overflow: auto; }
.host-gate[hidden] { display: none; }
.host-gate-card { width: min(100%, 520px); padding: clamp(24px, 5vw, 52px); border: 1px solid #243248; border-radius: 22px; background: #111b2b; box-shadow: 0 24px 90px rgba(0, 0, 0, .35); }
.host-gate-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 40px; color: #f3f7ff; text-decoration: none; }
.host-gate-brand img { border-radius: 12px; }
.host-gate-brand span { display: grid; gap: 2px; }
.host-gate-brand small { color: #8fa5c4; }
.host-gate-message { min-height: 24px; margin-bottom: 18px; color: #9fb4d0; }
.host-gate-install { margin: 0 0 18px; padding: 11px 13px; border: 1px solid #2e4665; border-radius: 9px; color: #9db5d2; background: rgba(25, 50, 79, .34); font-size: 12px; line-height: 1.55; }
.host-gate-form { display: grid; gap: 14px; margin: 22px 0 12px; }
.host-gate-form label { display: grid; gap: 7px; color: #b9c9df; font-size: 13px; }
.host-gate-form input { width: 100%; }
.host-gate-card > .text-button { display: block; margin-top: 12px; }
html[data-hosted="true"] #proServicesControls .account-actions,
html[data-hosted="true"] #proServicesControls .alert-option,
html[data-hosted="true"] #monitorControls .account-actions,
html[data-hosted="true"] #monitorControls .monitor-device-form,
html[data-hosted="true"] #monitorControls .monitor-device-attachment,
html[data-hosted="true"] #monitorControls #monitorPairing,
html[data-hosted="true"] .alias-edit { display: none !important; }
html[data-hosted="true"] #downtimeMinutes,
html[data-hosted="true"] #electricityRateCents { pointer-events: none; opacity: .65; }
html[data-hosted="true"] #openSalad { display: none; }
html[data-hosted="true"] #fleetEditNames,
html[data-hosted="true"] #manualMachineId,
html[data-hosted="true"] #manualAlias,
html[data-hosted="true"] #saveManualAlias,
html[data-hosted="true"] .manual-alias,
html[data-hosted="true"] #monitorControls .panel-heading .text-button { display: none !important; }
html[data-hosted="true"] .setting-row.hosted-readonly { opacity: .72; }
html[data-hosted="true"] .setting-row.hosted-readonly .text-button { display: none; }
html[data-hosted="true"] .hosted-setting-note { display: inline-flex !important; }
.fleet-demand-shortcut { display: inline-grid; place-items: center; width: 21px; height: 21px; margin-left: 7px; padding: 0; border: 1px solid rgba(246,197,99,.45); border-radius: 6px; color: #f6d68b; background: rgba(204,156,44,.14); cursor: pointer; font: inherit; font-size: 14px; line-height: 1; vertical-align: middle; }.fleet-demand-shortcut:hover, .fleet-demand-shortcut:focus-visible { border-color: #f6c563; color: #fff1be; background: rgba(246,197,99,.24); outline: 0; box-shadow: 0 0 0 3px rgba(246,197,99,.12); }
.efficient-job-badge { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 4px 7px; border: 1px solid rgba(98,226,168,.42); border-radius: 999px; color: #baffd9; background: linear-gradient(135deg, rgba(41,172,117,.2), rgba(20,94,87,.22)); box-shadow: 0 0 0 1px rgba(98,226,168,.07), 0 0 16px rgba(98,226,168,.14); font-size: 10px; font-weight: 850; letter-spacing: .03em; line-height: 1; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }.efficient-job-badge > span { color: #f6d68b; font-size: 13px; line-height: 1; }.efficient-job-badge:hover { border-color: rgba(98,226,168,.72); box-shadow: 0 0 0 2px rgba(98,226,168,.1), 0 0 20px rgba(98,226,168,.22); }

@media (max-width: 900px) {
  html, body { min-width: 0; }
  body.mobile-nav-open { overflow: hidden; }
  .app-shell { display: block; }
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: min(84vw, 300px); height: 100vh; padding: 22px 18px 20px; border-right: 1px solid #2d405b; border-bottom: 0; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 18px 0 45px rgba(0,0,0,.35); }
  .sidebar.mobile-open { transform: translateX(0); }
  .sidebar .brand { margin-bottom: 24px; }
  .sidebar nav { display: flex; flex: 1 1 auto; min-height: 0; gap: 6px; overflow-y: auto; padding-bottom: 2px; scrollbar-width: thin; }
  .sidebar nav .nav-label { display: block; }
  .sidebar .pro-card { display: block; }
  .sidebar .nav-item { flex: 0 0 auto; min-height: 46px; padding: 8px 11px; }
  .sidebar .nav-item em { display: inline-block; }
  .mobile-nav-backdrop { position: fixed; inset: 0; z-index: 25; border: 0; background: rgba(2, 7, 13, .68); cursor: pointer; }
  body.mobile-nav-open .mobile-nav-backdrop { display: block; }
  .workspace { display: block; }
  .topbar { position: sticky; top: 0; z-index: 8; min-height: 72px; padding: 12px 14px; }
  .mobile-menu-toggle { display: inline-flex; }
  .topbar h1 { margin-top: 3px; overflow: hidden; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
  .topbar > .topbar-heading > div > span { font-size: 9px; }
  .topbar-actions { gap: 7px; }
  .topbar-actions .sync-copy { display: none; }
  .topbar-actions > button { min-height: 38px; padding: 0 10px; font-size: 11px; }
  .topbar-actions > button span { display: none; }
  .page-section { padding: 18px 14px 32px; }
  .page-intro { display: block; }
  .page-intro > button { margin-top: 14px; }
  .metrics-grid, .insight-grid, .earnings-analytics-grid, .earnings-outlook-grid { grid-template-columns: minmax(0, 1fr); }
  /* Stack Earnings Pulse and Fleet Health on narrow viewports.  Keeping the Pro fleet
     table in its own full-width panel prevents the desktop two-column minimums
     from squeezing names into "Machin…" while retaining every data column. */
  .overview-grid, .overview-grid.pro-overview { grid-template-columns: minmax(0, 1fr); }
  .settings-layout { grid-template-columns: minmax(0, 1fr); }
  .setting-row { align-items: flex-start; flex-wrap: wrap; gap: 12px 16px; padding: 16px 0; }
  .setting-row > div { min-width: 0; flex: 1 1 210px; }
  .setting-row > label, .setting-row > .setting-status { margin-left: auto; }
  .report-toolbar { align-items: stretch; flex-direction: column; }
  .segmented { overflow-x: auto; max-width: 100%; }
  .segmented button { white-space: nowrap; }
  .deal-toolbar { display: block; }
  .deal-filters { max-width: 100%; margin-top: 12px; overflow-x: auto; }
  .deal-filters button { flex: 0 0 auto; white-space: nowrap; }
  .deals-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .deals-hero h2 { font-size: 25px; }
  .deal-grid { grid-template-columns: minmax(0, 1fr); }
  .table-wrap { overflow-x: auto; }
  .table-wrap table { min-width: 760px; }
  .host-gate { align-items: start; padding: 14px; }
  .host-gate-card { margin-top: 8vh; }
}

/* Long lists remain scrollable, but dashboard page scrolling wins until the
   pointer has rested over the list long enough to signal intent. */
.share-legend, .machine-activity, .power-pie-legend { scrollbar-color: #3d5678 #111927; scrollbar-width: thin; }
.share-legend { max-height: 255px; overflow-y: auto; padding: 3px 9px 3px 0; }
.machine-activity { max-height: 390px; overflow-y: auto; padding-right: 10px; }
.power-pie-legend { max-height: 245px; overflow-y: auto; padding-right: 8px; }
.scroll-intent-target { overscroll-behavior: contain; }

/* Phone layout refinements: keep controls readable and prevent desktop-sized
   minimums from stealing the narrow viewport. */
.alert-service-status { margin: 12px 0 18px; }
.alert-service-status .insight-caption { margin: 10px 0 0; }
.alert-status-badges { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .host-gate-form input,
  .select-field select,
  .number-field input,
  .analytics-offset-input input { font-size: 16px; }

  .panel-heading { flex-wrap: wrap; gap: 10px 14px; padding: 18px 16px 8px; }
  .panel-heading > small { max-width: 100%; text-align: left; }
  .report-chart-heading { display: block; padding: 14px 16px 5px; }
  .report-chart-actions { align-items: stretch; justify-content: space-between; gap: 10px; margin-top: 12px; }
  .report-chart-actions .chart-mode-control { min-width: 0; flex: 1 1 auto; }
  .report-chart-actions .chart-mode-control .segmented { width: 100%; }
  .report-chart-actions .chart-mode-control button { flex: 1 1 0; min-width: 0; padding: 0 7px; }
  .report-chart-actions .report-total { flex: 0 0 auto; min-width: 90px; }

  .earnings-share { grid-template-columns: minmax(0, 1fr); gap: 12px; min-height: 0; padding: 14px 16px 16px; }
  .share-donut { width: min(100%, 205px); }
  .share-legend { max-height: 230px; padding-right: 2px; }
  .share-legend > div { grid-template-columns: 9px minmax(0, 1fr) auto; }
  .share-legend span { min-width: 0; }
  .power-pie-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .power-pie-graphic svg { max-width: 205px; }
  .power-pie-legend { max-height: 230px; padding-right: 2px; }

  .forecast-panel .panel-heading > div:first-child { min-width: 0; flex: 1 1 100%; }
  .forecast-panel .panel-heading > .segmented { width: 100%; }
  #forecastBasis button { flex: 1 1 0; min-width: 0; padding: 0 7px; font-size: 11px; white-space: nowrap; }
  .forecast-grid { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .forecast-card > strong { font-size: 22px; }

  .demand-benchmarks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .demand-benchmarks article { min-height: 104px; padding: 14px 12px; }
  .demand-benchmarks span { font-size: 10px; }
  .demand-benchmarks strong { margin: 10px 0 5px; overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
  .demand-benchmarks small { font-size: 10px; line-height: 1.3; }
  .demand-range-controls { padding: 0 14px 8px; }
  .demand-range-controls .segmented { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; gap: 2px; padding: 3px; }
  .demand-range-controls .segmented button { min-width: 0; min-height: 30px; padding: 0 2px; font-size: 9px; letter-spacing: -.02em; white-space: nowrap; }
  .demand-insight { padding: 18px 16px; }
  .demand-projections { gap: 7px; }
  .demand-projections div { padding: 11px 9px; }
  .demand-projections b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

  .machine-filter { width: 100%; flex: 1 1 auto; }
  .machine-filter > summary { min-height: 54px; padding: 10px 12px; }
  .machine-filter > summary strong { font-size: 12px; }
  .machine-filter-menu { top: calc(100% + 6px); right: 0; left: 0; width: 100%; max-height: min(60vh, 320px); overflow-y: auto; padding: 10px; }
  .machine-filter-head { gap: 8px; padding-bottom: 8px; }
  .machine-filter-head strong { font-size: 12px; }
  .machine-filter-head span { font-size: 9px; }
  .machine-series-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; gap: 5px; }
  .machine-chip { padding: 7px 6px; font-size: 10px; }
  .machine-chip span { max-width: none; }

  .deals-hero { gap: 14px; padding: 18px 16px; }
  .deals-hero h2 { margin-bottom: 0; font-size: 24px; }
  .deals-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 15px; }
  .deals-hero-actions a { min-width: 0; min-height: 38px; padding: 0 7px; font-size: 10px; text-align: center; }
  .deal-toolbar { margin-bottom: 10px; }
  .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .deal-image { height: 118px; margin: 6px 6px 0; border-radius: 8px; background: #edf1f5; }
  .deal-image img { width: 100%; height: 100%; padding: 7px; mix-blend-mode: multiply; }
  .deal-discount { top: 6px; right: 6px; padding: 4px 5px; font-size: 8px; }
  .deal-body { padding: 10px 9px 10px; }
  .deal-card-head { gap: 4px; }
  .deal-card-head > span, .deal-card-head em { font-size: 8px; }
  .deal-card-head em { gap: 3px; }
  .deal-card-head em i { width: 5px; height: 5px; }
  .deal-body h3 { min-height: 32px; margin: 7px 0 5px; font-size: 11px; line-height: 1.45; }
  .deal-proof { min-height: 14px; margin-bottom: 8px; font-size: 9px; }
  .deal-price-row { gap: 4px; }
  .deal-price { gap: 3px; }
  .deal-price strong { font-size: 16px; }
  .deal-price del { font-size: 8px; }
  .deal-savings { padding: 3px 4px; font-size: 8px; }
  .deal-code { gap: 4px; margin-top: 7px; padding: 5px 6px; }
  .deal-code span, .deal-code b { font-size: 8px; }
  .deal-cta { min-height: 31px; margin-top: 8px; padding: 0 7px; font-size: 9px; }
  .deal-cta b { font-size: 8px; }

  .analytics-intro-actions .select-field { min-width: 0; }
  .select-field select { width: 100%; min-width: 0; }
  .analytics-offset-field { min-width: 0; }
  .analytics-save-power { width: 100%; }
  .analytics-chart { padding: 4px 10px 14px; }
  .telemetry-chart { padding: 12px 10px 8px; }
  .telemetry-chart-heading { gap: 7px; }
  .telemetry-chart-heading div strong { font-size: 17px; }
  .telemetry-chart-heading small { max-width: 45%; overflow-wrap: anywhere; }
  .telemetry-chart-tooltip { width: 250px; }

  .table-wrap { padding-right: 14px; padding-left: 14px; }
  .overview-bars { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .overview-bar { min-width: 0; }
  .overview-bar b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .overview-machine-table-wrap { padding-right: 10px; padding-left: 10px; }
  .overview-machine-table-wrap table { min-width: 720px; }
  .overview-machine-table-wrap th, .overview-machine-table-wrap td { padding-right: 8px; padding-left: 8px; }
  .overview-machine-table-wrap .machine-table-name-cell { min-width: 180px; }
  .overview-machine-table-wrap .machine-table-name-cell strong { max-width: 230px; }
}

@media (max-width: 380px) {
  .page-section { padding-right: 11px; padding-left: 11px; }
  .topbar { padding-right: 10px; padding-left: 10px; }
  .mobile-menu-toggle { width: 38px; height: 38px; flex-basis: 38px; }
  .topbar-actions > button { padding: 0 8px; }
  .deal-grid { gap: 7px; }
  .deal-image { height: 104px; }
  .deal-body { padding-right: 7px; padding-left: 7px; }
  .deal-card-head em { display: none; }
  .demand-range-controls .segmented button { font-size: 8px; }
}
