@charset "UTF-8";

/* Owner-only terminal. Values, signals and chart data are never generated here. */
body.owner-terminal {
  --ink: #edf3fc;
  --muted: #a0aec1;
  --green: #74dfbc;
  --green-soft: #17372f;
  --paper: #0b101a;
  --white: #131c2b;
  --line: #29364a;
  --orange: #f3bd79;
  --danger: #ff929d;
  --shadow: 0 16px 40px #02050b35;
  --desk-surface: #121b29;
  --desk-raised: #172234;
  --desk-cyan: #8bd9e8;
  --desk-radius: 18px;
  --motion-ease-out: cubic-bezier(.23, 1, .32, 1);
  --motion-ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --motion-select: 160ms;
  --motion-press: 100ms;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "tnum";
  -webkit-font-smoothing: antialiased;
}

body.owner-terminal :where(button, input, select, textarea) { font: inherit; }
body.owner-terminal :where(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--desk-cyan);
  outline-offset: 4px;
}
body.owner-terminal ::selection { background: #315b70; color: #fff; }
body.owner-terminal .app-shell { background: var(--paper); }
body.owner-terminal .sidebar {
  width: 208px;
  padding: 28px 14px 18px;
  background: #0e1623;
  border-right: 1px solid #243044;
  color: #dbe5f4;
}
body.owner-terminal .main-content { margin-left: 208px; min-width: 0; }
body.owner-terminal .brand { margin: 0 10px 42px; letter-spacing: -.5px; }
body.owner-terminal .brand-mark {
  width: 30px;
  height: 32px;
  color: #a4e6ec;
  background: #20364a;
  border: 1px solid #3d6078;
  border-radius: 9px;
}
body.owner-terminal .brand-os { color: #91a2b9; }
body.owner-terminal .sidebar-label { color: #8a9cb7; letter-spacing: 1.5px; }
body.owner-terminal .nav-item { color: #a4b3c8; border: 1px solid transparent; }
body.owner-terminal .nav-item.active {
  color: #d9f4fb;
  background: #1c2f42;
  border-color: #36546a;
}
body.owner-terminal .nav-item.active svg { color: #8bd9e8; }
body.owner-terminal .nav-count { background: #2c4158; color: #d5edfa; }
body.owner-terminal .nav-new { color: #cfb991; }
body.owner-terminal .advisor-nav { border-top-color: #2b374a; }
body.owner-terminal .sidebar-safety strong { color: #bac9dc; }
body.owner-terminal .sidebar-safety small { color: #8f9fb6; }
body.owner-terminal .user-switch { background: #162234; border-color: #304159; color: #e4edfa; }
body.owner-terminal .avatar { background: #2a4257; color: #bfe8f2; }
body.owner-terminal .user-details small { color: #9aaec5; }
body.owner-terminal .topbar {
  height: 72px;
  padding: 0 30px;
  background: #0f1724ed;
  border-bottom: 1px solid #243145;
  backdrop-filter: blur(16px);
}
body.owner-terminal .breadcrumb { color: #c8d3e4; }
body.owner-terminal .breadcrumb span { color: #71849f; }
body.owner-terminal .today-label { color: #91a2ba; }
body.owner-terminal .local-badge { background: #17283a; border-color: #30475e; color: #c5d9e9; }
body.owner-terminal .page-content { max-width: 1680px; padding: 26px 30px 40px; }
body.owner-terminal .page-heading { margin-bottom: 24px; }
body.owner-terminal .eyebrow { color: #91a6c0; font-size: 10px; letter-spacing: 1.6px; }
body.owner-terminal .muted { color: var(--muted); }
body.owner-terminal .button {
  border-radius: 10px;
  min-height: 42px;
  transition: background-color var(--motion-select) var(--motion-ease-out), border-color var(--motion-select) var(--motion-ease-out), box-shadow var(--motion-select) var(--motion-ease-out);
}
body.owner-terminal .button-primary {
  background: #99e4ed;
  border-color: #b7edf4;
  color: #102630;
  font-weight: 700;
  box-shadow: 0 4px 16px #71c1d314;
}
body.owner-terminal :where(.button-secondary, .icon-button) {
  background: #192638;
  color: #d8e5f5;
  border-color: #35465d;
}
body.owner-terminal .text-button { color: var(--desk-cyan); }
body.owner-terminal :where(input, select, textarea) { background: #101a29; color: #edf3fc; border-color: #42536d; }
body.owner-terminal :where(input, select, textarea)::placeholder { color: #8b9db6; }
body.owner-terminal :where(input, select):disabled { background: #192130; color: #94a4bb; }
body.owner-terminal .panel {
  background: var(--desk-surface);
  border: 1px solid #2a384e;
  border-radius: var(--desk-radius);
  box-shadow: var(--shadow);
}
body.owner-terminal :where(.source-banner, .workspace-toolbar, .activity) { color: #c3d2e5; border-color: #2b3c52; }
body.owner-terminal :where(.source-banner, .source-switch, .account-control, .activity) { background: #131f30; }
body.owner-terminal .source-option { color: #b3c2d7; background: transparent; }
body.owner-terminal .source-option.selected { color: #d9f6f9; background: #263b51; }
body.owner-terminal :where(.notice-info, .notice, .planner-step) { color: #c8d8e9; background: #1a2a3d; border-color: #354d67; }
body.owner-terminal .notice-danger { color: #ffb5bd; background: #381f2c; border-color: #754252; }
body.owner-terminal .field-error { color: #ffabb4; }
body.owner-terminal .pill-neutral { background: #1a273a; color: #b8c8dc; border-color: #34475f; }
body.owner-terminal .pill-good { background: #15382f; color: #9de8cc; border-color: #346754; }
body.owner-terminal .pill-wait { background: #342d23; color: #efd09d; border-color: #65533a; }
body.owner-terminal .pill-danger { background: #3a2230; color: #ffb1ba; border-color: #734455; }
body.owner-terminal :where(.planner-strategy, .rf-proposal-card, .issuer-metric, .owner-pilot-card, .owner-review) { background: #152132; border-color: #33445c; }
body.owner-terminal .planner-why { color: #adc7d9; }
body.owner-terminal :where(.planner-facts, .planner-feedback, .issuer-fact, .issuer-dividends, .issuer-range) { border-color: #304158; }
body.owner-terminal :where(.rf-free-text summary, .issuer-source a) { color: #9bdbe8; }
body.owner-terminal .basis-estimate { color: #d7bd90; }
body.owner-terminal .pnl-positive { color: #84e1bd !important; }
body.owner-terminal .pnl-negative { color: #ff9ca7 !important; }
body.owner-terminal .login-screen { background: #0b111c; }
body.owner-terminal .login-visual { background: #132238; border: 1px solid #2b425c; }
body.owner-terminal .login-caption { color: #b0c3da; }
body.owner-terminal :where(.login-candle, .login-grid, .login-orbit) { display: none; }
body.owner-terminal .nav-scrim { background: #030811b8; }

/* Portfolio desk hierarchy: evidence stays close to each live value. */
body.owner-terminal .owner-desk {
  min-width: 0;
  width: 100%;
  color: var(--ink);
  padding-bottom: 28px;
}
body.owner-terminal .owner-desk :where(h1, h2, h3, p) { overflow-wrap: anywhere; }
body.owner-terminal .desk-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  padding: 6px 2px 28px;
  margin-bottom: 22px;
  border-bottom: 1px solid #2b3a50;
}
body.owner-terminal .desk-hero > * { min-width: 0; max-width: 100%; }
body.owner-terminal .desk-hero h1 { color: #aebed3; font-size: 14px; line-height: 1.5; font-weight: 500; letter-spacing: 0; margin: 0 0 10px; }
body.owner-terminal .desk-total {
  display: block;
  font-size: clamp(35px, 4.1vw, 64px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums lining-nums;
  overflow-wrap: anywhere;
}
body.owner-terminal .desk-total :where(strong, span) { font: inherit; letter-spacing: inherit; }
body.owner-terminal .desk-pnl { margin-top: 12px; font-size: clamp(16px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
body.owner-terminal .desk-pnl :where(small, .muted) { display: inline-block; font-size: 12px; font-weight: 400; letter-spacing: 0; margin-left: 9px; color: #a0aec1; }
body.owner-terminal :where(.desk-meta, .desk-source) { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; font-size: 11px; line-height: 1.6; color: #a6b8cf; overflow-wrap: anywhere; }
body.owner-terminal .desk-meta { margin-top: 14px; }
body.owner-terminal .desk-source { padding: 8px 11px; border: 1px solid #34475e; border-radius: 9px; background: #152337; max-width: 100%; }
body.owner-terminal .desk-source :where(strong, a) { color: #c7e8ef; font-weight: 500; }
body.owner-terminal .desk-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(265px, 305px); align-items: start; gap: 20px; min-width: 0; }
body.owner-terminal .desk-layout > * { min-width: 0; max-width: 100%; }
body.owner-terminal :where(.desk-chart-panel, .desk-watchlist, .desk-detail) {
  background: var(--desk-surface);
  border: 1px solid #2b3b51;
  border-radius: var(--desk-radius);
  box-shadow: 0 10px 35px #03070d28;
  overflow: hidden;
}
body.owner-terminal .desk-chart-panel { padding: 20px 20px 14px; }
body.owner-terminal .desk-chart-panel > :where(header, .panel-heading) { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
body.owner-terminal .desk-chart-panel h2 { font-size: 16px; font-weight: 600; letter-spacing: -.25px; margin: 0; }
body.owner-terminal .desk-chart { position: relative; width: 100%; height: 420px; min-width: 0; overflow: hidden; border-radius: 10px; background: #101927; }
body.owner-terminal .desk-candle-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin: 16px 0 12px; }
body.owner-terminal .desk-candle-source { order: 3; flex-basis: 100%; margin: 0; color: #acbfd5; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
body.owner-terminal .desk-marker-note { margin: 12px 0; color: #b5c7dc; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
body.owner-terminal .desk-auto-status { margin: 8px 0 0; max-width: 40ch; color: #9fb4ce; font-size: 11px; line-height: 1.65; }
body.owner-terminal .desk-candle-tools ~ .desk-chart { height: 340px; border: 1px solid #2b3b51; }
body.owner-terminal .desk-candle-tools .text-button { min-height: 34px; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
body.owner-terminal .desk-trade > small { display: block; color: #a8bad0; font-size: 11px; line-height: 1.7; }
body.owner-terminal .desk-chart :where(canvas, table) { max-width: 100%; }
body.owner-terminal .desk-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid #2d4058; border-radius: 10px; background: #0e1827; max-width: 100%; }
body.owner-terminal .desk-tabs button { min-width: 36px; min-height: 34px; padding: 6px 10px; border: 1px solid transparent; border-radius: 7px; color: #a6b9d1; background: transparent; font-size: 11px; font-weight: 600; transition: color var(--motion-select) var(--motion-ease-out), background-color var(--motion-select) var(--motion-ease-out), border-color var(--motion-select) var(--motion-ease-out); }
body.owner-terminal .desk-tabs :where(.is-active, .active, [aria-selected="true"], [aria-pressed="true"]) { color: #c9f5fa; background: #28475c; border-color: #41677f; }
body.owner-terminal .desk-watchlist { padding: 8px; max-height: 620px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #455b73 transparent; }
body.owner-terminal .desk-watchlist > :where(h2, h3, header) { margin: 0; padding: 14px 12px 16px; font-size: 13px; font-weight: 600; letter-spacing: -.15px; }
body.owner-terminal .desk-position {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px 12px;
  width: 100%;
  min-height: 72px;
  margin: 2px 0;
  padding: 12px 13px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #d4e1f1;
  background: transparent;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  transition: background-color var(--motion-select) var(--motion-ease-out), border-color var(--motion-select) var(--motion-ease-out);
}
body.owner-terminal .desk-position.is-selected { background: #20354c; border-color: #466b85; box-shadow: none; }
body.owner-terminal .desk-position-symbol { color: #f0f6ff; font-size: 13px; font-weight: 650; letter-spacing: .25px; }
body.owner-terminal .desk-position-symbol :where(small, span) { display: block; color: #9eafc6; font-size: 11px; font-weight: 400; line-height: 1.55; letter-spacing: 0; }
body.owner-terminal .desk-position-price { color: #e2edfb; text-align: right; font-size: 13px; font-weight: 500; }
body.owner-terminal .desk-position-pnl { text-align: right; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
body.owner-terminal .desk-position > .desk-position-pnl { grid-column: 2; }
body.owner-terminal .desk-detail { grid-column: 1 / -1; padding: 24px; }
body.owner-terminal .desk-detail h2 { font-size: 23px; letter-spacing: -.6px; margin-bottom: 5px; }
body.owner-terminal .desk-conclusion { max-width: 74ch; margin: 18px 0 0; color: #c9d8ea; font-size: 14px; line-height: 1.75; }
body.owner-terminal .desk-detail h3 { font-size: 14px; margin: 22px 0 12px; color: #d4e1f1; }
body.owner-terminal .desk-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 22px 0; border: 1px solid #2b3b51; border-radius: 12px; overflow: hidden; background: #2b3b51; }
body.owner-terminal .desk-metric { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 9px; padding: 17px 18px; background: #172438; overflow-wrap: anywhere; }
body.owner-terminal .desk-metric > :where(span, small, dt) { color: #a7b9d0; font-size: 11px; line-height: 1.5; }
body.owner-terminal .desk-metric > :where(strong, dd) { margin: 0; color: #ecf4ff; font-size: 21px; font-weight: 500; line-height: 1.25; letter-spacing: -.45px; font-variant-numeric: tabular-nums; }
body.owner-terminal .desk-plan { padding: 4px 0; }
body.owner-terminal .desk-plan-row { display: grid; grid-template-columns: minmax(110px, .45fr) minmax(0, 1.2fr) minmax(110px, .6fr); align-items: start; gap: 14px 20px; padding: 17px 0; border-bottom: 1px solid #293a50; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
body.owner-terminal .desk-plan-row:last-child { border-bottom: 0; }
body.owner-terminal .desk-level { display: inline-block; color: #d7edf7; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .1px; }
body.owner-terminal .desk-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: fit-content; max-width: 100%; min-height: 30px; padding: 5px 10px; border: 1px solid #405b74; border-radius: 7px; background: #20354b; color: #cce8f6; font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .55px; }
body.owner-terminal .desk-action:is(.buy, .is-buy, [data-action="BUY"]) { background: #153a30; border-color: #346c57; color: #9be7c8; }
body.owner-terminal .desk-action:is(.sell, .is-sell, [data-action="SELL"], [data-action="REDUCE"]) { background: #3b2431; border-color: #714252; color: #ffb5c0; }
body.owner-terminal .desk-action:is(.wait, .is-wait, [data-action="WAIT"]) { background: #302d28; border-color: #5a5141; color: #e1c79d; }
body.owner-terminal .desk-timeline { display: grid; gap: 0; margin: 12px 0 0; padding-left: 15px; border-left: 1px solid #40566c; }
body.owner-terminal .desk-trade { padding: 13px 4px 15px 8px; color: #bacce1; border-bottom: 1px solid #29384d; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
body.owner-terminal .desk-trade:last-child { border-bottom: 0; }
body.owner-terminal .desk-trade :where(strong, time) { color: #e4effc; font-weight: 500; }
body.owner-terminal .desk-empty { padding: 24px 20px; border: 1px dashed #40546c; border-radius: 11px; background: #142033; color: #aec1d9; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
body.owner-terminal .desk-empty strong { display: block; margin-bottom: 6px; color: #ddebf9; font-size: 14px; font-weight: 500; }

/* Motion connects a user's selection, never a financial amount or a panel entrance. */
body.owner-terminal .desk-tab-list { position: relative; display: inline-flex; flex-wrap: nowrap; isolation: isolate; vertical-align: middle; }
body.owner-terminal .desk-tab-list > button { position: relative; z-index: 1; flex: 0 0 auto; }
body.owner-terminal .desk-tab-list > button[aria-selected="true"] { background: transparent; border-color: transparent; }
body.owner-terminal .desk-tabs-active-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: inherit;
  background: #2b4960;
  color: #e2f9fc;
  pointer-events: none;
  user-select: none;
  transition: clip-path var(--motion-select) var(--motion-ease-in-out);
}
body.owner-terminal .desk-tab-copy { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 34px; padding: 6px 10px; border: 1px solid transparent; border-radius: 7px; font-size: 11px; font-weight: 600; white-space: nowrap; }
body.owner-terminal .desk-tabs-active-copy[data-instant="true"],
body.owner-terminal .desk-tab-list[data-instant="true"] .desk-tabs-active-copy { transition: none; }
body.owner-terminal .desk-tab-list > button:focus-visible { z-index: 3; outline-offset: -2px; }
body.owner-terminal .desk-watchlist [data-positions] { position: relative; }
body.owner-terminal .desk-selection-rail { position: absolute; top: 0; left: 0; z-index: 2; width: 3px; border-radius: 3px; background: #93dce7; pointer-events: none; transition: transform var(--motion-select) var(--motion-ease-in-out); }
body.owner-terminal .desk-selection-rail[data-instant="true"] { transition: none; }
body.owner-terminal :where(.desk-position, .desk-tabs button, .button):active:not(:disabled) { transition-duration: var(--motion-press); background-color: #294059; }
body.owner-terminal .button-primary:active:not(:disabled) { background-color: #80d1dd; color: #102630; }
body.owner-terminal .button:not(:disabled):active { transform: none; }
body.owner-terminal .desk-refresh-feedback { margin: 9px 0 0; max-width: 38ch; color: #b6c5d8; font-size: 11px; line-height: 1.6; }
body.owner-terminal .desk-refresh-feedback[data-state="error"] { color: #ffb1ba; }
body.owner-terminal .desk-refresh-feedback[data-state="stale"] { color: #efd09d; }
body.owner-terminal .desk-refresh-feedback[data-state="success"] { color: #9de8cc; }
body.owner-terminal .desk-market-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; color: #a6dfe9; font-size: 11px; text-decoration: underline; text-decoration-color: #456676; text-underline-offset: 4px; }
body.owner-terminal .desk-chart-empty-hint { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #34475e; border-radius: 9px; background: #152337; color: #b5c7dc; font-size: 12px; line-height: 1.7; }
body.owner-terminal .desk-chart-empty-hint strong { display: block; color: #e2edf9; font-weight: 500; margin-bottom: 4px; }
body.owner-terminal .desk-chart-single .desk-chart { height: 260px; }
body.owner-terminal .desk-chart[hidden], body.owner-terminal .desk-chart-empty-hint[hidden] { display: none; }
body.owner-terminal .desk-level-map { margin: 8px 0 20px; padding: 20px 18px 16px; border: 1px solid #30425b; border-radius: 12px; background: #101b2b; }
body.owner-terminal .desk-level-map > :where(h3, p) { margin: 0 0 12px; }
body.owner-terminal .desk-level-map > h3 { color: #dceaf8; font-size: 13px; font-weight: 500; }
body.owner-terminal .desk-level-scale { position: relative; height: 40px; margin: 12px 8px 18px; border-bottom: 2px solid #455d77; }
body.owner-terminal .desk-level-scale::before, body.owner-terminal .desk-level-scale::after { position: absolute; bottom: -5px; width: 1px; height: 8px; content: ""; background: #698099; }
body.owner-terminal .desk-level-scale::before { left: 0; }
body.owner-terminal .desk-level-scale::after { right: 0; }
body.owner-terminal .desk-level-pin { position: absolute; bottom: -6px; width: 10px; height: 10px; border: 2px solid #101b2b; border-radius: 50%; background: #a4e6ed; box-shadow: 0 0 0 1px #a4e6ed; transform: translateX(-50%); }
body.owner-terminal .desk-level-pin[data-kind="cancel"], body.owner-terminal .desk-level-pin.is-cancel { background: #ff929d; box-shadow: 0 0 0 1px #ff929d; }
body.owner-terminal .desk-level-pin[data-kind="entry"], body.owner-terminal .desk-level-pin.is-entry { background: #84e1bd; box-shadow: 0 0 0 1px #84e1bd; }
body.owner-terminal .desk-level-pin.current { background: #a4e6ed; box-shadow: 0 0 0 1px #a4e6ed; }
body.owner-terminal .desk-level-pin.entry { background: #f3bd79; box-shadow: 0 0 0 1px #f3bd79; }
body.owner-terminal .desk-level-pin.buy { background: #84e1bd; box-shadow: 0 0 0 1px #84e1bd; }
body.owner-terminal .desk-level-tick { position: absolute; bottom: -5px; width: 1px; height: 8px; background: #92a9c0; transform: translateX(-50%); }
body.owner-terminal .desk-level-legend { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 18px; margin: 0; font-size: 12px; line-height: 1.5; color: #acbfd5; }
body.owner-terminal .desk-level-legend > :where(div, li) { display: contents; }
body.owner-terminal .desk-level-legend :where(strong, dd, [data-price]) { margin: 0; text-align: right; color: #e2edf9; font-weight: 500; font-variant-numeric: tabular-nums; }
body.owner-terminal .desk-level-legend :where(dt, span, p) { margin: 0; min-width: 0; overflow-wrap: anywhere; }
body.owner-terminal .desk-level-legend .current strong { color: #a4e6ed; }
body.owner-terminal .desk-level-legend .entry strong { color: #f3bd79; }
body.owner-terminal .desk-level-legend .buy strong { color: #84e1bd; }
body.owner-terminal .desk-plan-status { margin: 16px 0; padding: 12px 14px; border: 1px solid #66543b; border-radius: 9px; background: #302b23; color: #f1d4a4; font-size: 12px; line-height: 1.7; }
body.owner-terminal .desk-checkpoints { display: grid; gap: 10px; list-style: none; padding: 0; margin: 16px 0; }
body.owner-terminal .desk-checkpoints > :where(li, div) { display: grid; grid-template-columns: minmax(90px, .3fr) minmax(0, 1fr); align-items: baseline; gap: 10px 16px; padding: 10px 0; border-bottom: 1px solid #293a50; color: #b8c9dc; font-size: 12px; }
body.owner-terminal .desk-checkpoints time { color: #d7e8f7; font-variant-numeric: tabular-nums; }
body.owner-terminal .desk-checkpoints > p { margin: 0; padding: 11px 0; border-bottom: 1px solid #293a50; color: #b8c9dc; font-size: 12px; line-height: 1.75; }
@media (hover: hover) and (pointer: fine) {
  body.owner-terminal .nav-item:hover { color: #f2f7ff; background: #182437; }
  body.owner-terminal .user-switch:hover { background: #1d2d43; }
  body.owner-terminal .button-primary:hover:not(:disabled) { background: #b7f0f5; border-color: #d5f8fc; box-shadow: 0 4px 16px #71c1d326; }
  body.owner-terminal :where(.button-secondary, .icon-button):hover:not(:disabled) { background: #25364d; border-color: #52677f; }
  body.owner-terminal .desk-position:hover { background: #1b2b40; border-color: #3d526a; }
  body.owner-terminal .desk-position.is-selected:hover { background: #20354c; border-color: #628aa4; }
  body.owner-terminal .desk-tabs button:hover { color: #e1f5fb; background: #1e3046; }
  body.owner-terminal .desk-tab-list > button[aria-selected="true"]:hover { background: transparent; }
  body.owner-terminal .desk-market-link:hover { color: #d8f8fc; text-decoration-color: currentColor; }
}
@media (hover: none), (pointer: coarse) {
  body.owner-terminal .button-primary:hover:not(:disabled) { background: #99e4ed; border-color: #b7edf4; }
  body.owner-terminal .button-secondary:hover:not(:disabled) { background: #192638; border-color: #35465d; }
  body.owner-terminal .button-primary:active:not(:disabled) { background: #80d1dd; }
  body.owner-terminal .button-secondary:active:not(:disabled) { background: #294059; }
}

@media (min-width: 1600px) {
  body.owner-terminal .desk-layout { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr) minmax(290px, .9fr); }
  body.owner-terminal .desk-detail { grid-column: auto; padding: 22px; }
  body.owner-terminal .desk-detail .desk-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.owner-terminal .desk-detail .desk-plan-row { grid-template-columns: minmax(0, 1fr); gap: 7px; }
}
@media (max-width: 1150px) {
  body.owner-terminal .desk-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, 275px); gap: 16px; }
  body.owner-terminal .page-content { padding: 24px; }
  body.owner-terminal .topbar { padding: 0 24px; }
  body.owner-terminal .desk-total { font-size: 44px; }
  body.owner-terminal .desk-chart-panel { padding: 16px 12px 12px; }
  body.owner-terminal .desk-chart { height: 380px; }
}
@media (max-width: 1000px) {
  body.owner-terminal .desk-layout { grid-template-columns: minmax(0, 1fr); }
  body.owner-terminal .desk-detail { grid-column: 1; }
  body.owner-terminal .desk-watchlist { max-height: 430px; }
  body.owner-terminal .desk-position { min-height: 64px; }
  body.owner-terminal .desk-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.owner-terminal .desk-hero { gap: 20px; }
}
@media (max-width: 700px) {
  body.owner-terminal .sidebar { width: min(280px, 85vw); }
  body.owner-terminal .main-content { margin-left: 0; width: 100%; }
  body.owner-terminal .topbar { height: 64px; padding: 0 16px; gap: 8px; }
  body.owner-terminal .topbar-heading { min-width: 0; gap: 10px; }
  body.owner-terminal .breadcrumb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
  body.owner-terminal .topbar-right { gap: 7px; }
  body.owner-terminal .local-badge { font-size: 9px; padding: 5px 7px; }
  body.owner-terminal .page-content { padding: 20px 14px 32px; }
  body.owner-terminal .desk-hero { display: block; padding-bottom: 23px; margin-bottom: 18px; }
  body.owner-terminal .desk-hero > :last-child:not(:first-child) { margin-top: 20px; }
  body.owner-terminal .desk-hero h1 { font-size: 12px; }
  body.owner-terminal .desk-total { font-size: clamp(33px, 9vw, 44px); letter-spacing: -.055em; }
  body.owner-terminal .desk-pnl { font-size: 17px; }
  body.owner-terminal .desk-pnl :where(small, .muted) { display: block; margin: 6px 0 0; }
  body.owner-terminal .desk-meta { margin-top: 12px; font-size: 11px; }
  body.owner-terminal .desk-layout { gap: 15px; }
  body.owner-terminal :where(.desk-chart-panel, .desk-watchlist, .desk-detail) { border-radius: 14px; }
  body.owner-terminal .desk-chart-panel { padding: 16px 10px 10px; }
  body.owner-terminal .desk-chart-panel > :where(header, .panel-heading) { padding: 0 4px; gap: 12px; }
  body.owner-terminal .desk-chart { height: 310px; }
  body.owner-terminal .desk-candle-tools ~ .desk-chart { height: 320px; }
  body.owner-terminal .desk-watchlist { max-height: 456px; }
  body.owner-terminal .desk-position { min-height: 68px; padding: 12px; }
  body.owner-terminal .desk-detail { padding: 20px 16px; }
  body.owner-terminal .desk-detail h2 { font-size: 21px; }
  body.owner-terminal .desk-metric { padding: 14px 12px; }
  body.owner-terminal .desk-metric > :where(strong, dd) { font-size: 19px; }
  body.owner-terminal .desk-plan-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 0; }
  body.owner-terminal .desk-source { align-items: flex-start; padding: 9px 10px; font-size: 11px; }
  body.owner-terminal .desk-tabs button { min-width: 32px; padding: 5px 8px; }
  body.owner-terminal .login-screen { padding: 0; }
  body.owner-terminal .login-form-wrap { padding: 48px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  body.owner-terminal *, body.owner-terminal *::before, body.owner-terminal *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
