#terminal .left-native {min-height:0}
#terminal .left-native .nav-top,#terminal .left-native>[data-action=trade],#terminal .left-native .nav-lower,#terminal .left-native .nav-foot{flex:none}
#terminal #watch-dock {flex:1;min-height:0;overflow:auto;scrollbar-width:thin}
#terminal .watch-search {display:grid;grid-template-columns:minmax(5em,1fr) 21% 21% 21%;gap:0;padding:4px 2px}
#terminal .watch-search input {width:100%;box-sizing:border-box}
#terminal .watch-search span {text-align:right;padding-right:5px;font-variant-numeric:tabular-nums}
#terminal #watch-group {height:27px;display:block;padding-left:10px}
#terminal #watch-group[hidden]{display:none}
#terminal .watch {table-layout:fixed;border-collapse:collapse}
#terminal .watch td {height:29px;padding:1px 5px;box-sizing:border-box;border-bottom:1px solid var(--soft);font-variant-numeric:tabular-nums}
#terminal .watch td:first-child {width:37%;padding-left:8px}
#terminal .watch td:nth-child(2) {width:21%;color:var(--dim)}
#terminal .watch td[data-quote] {width:21%}
#terminal .watch tr[data-quote-fresh=false] td[data-quote]{color:var(--dim)}
#terminal .watch button {max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
#terminal .watch button::before {content:"";display:inline-block;vertical-align:middle;width:3px;height:12px;margin-right:8px;background:currentColor;opacity:.55}
#terminal .watch [aria-current=true] {color:var(--fg);font-weight:600}
#terminal .watch [aria-current=true]::before {background:var(--accent);opacity:1}
#terminal .left-native .nav-lower {margin-top:0}
#terminal .left-native .nav-foot {display:flex;flex-direction:column;align-items:stretch;height:auto;gap:0;border-top:1px solid var(--base)}
#terminal .left-native .nav-foot button {display:flex;align-items:center;gap:12px;height:37px;text-align:left;padding:3px 6px}
#terminal .left-native .nav-foot button .win-icon {margin-left:4px}
#terminal .left-native .nav-foot button span:last-child {display:inline}
#terminal .left-native .nav-lower button,#terminal .left-native .nav-foot button {border-radius:0}
#terminal .hide-watch .left-native .nav-foot button span:last-child,#terminal .hide-watch .left-native .nav-lower button span:last-child {display:none}
#terminal .hide-watch .left-native .nav-lower {margin-top:auto}
#terminal .left-native [data-icon=FooterSettings],#terminal .left-native [data-icon=Withdrawal] {mask:none;background:none}
#terminal .left-native [data-icon=FooterSettings] svg,#terminal .left-native [data-icon=Withdrawal] svg {width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linejoin:round}
#market-sidebar-dialog {width:min(350px,90vw);background:var(--soft);border:1px solid var(--box);color:var(--fg);padding:12px;box-shadow:0 12px 35px #0009;font-size:13px}
#market-sidebar-dialog::backdrop {background:#0006}
#market-sidebar-dialog header {display:flex;align-items:center;justify-content:space-between}
#market-sidebar-dialog h2 {margin:0;font-size:15px;line-height:1.4;font-weight:600}
#market-sidebar-dialog p {margin:12px 0}
#market-sidebar-dialog dd {margin:0 0 8px 0;color:var(--dim)}
#market-sidebar-dialog dt {font-weight:600}
#market-sidebar-dialog label {display:flex;align-items:center;gap:8px;margin:14px 0 6px}
#market-sidebar-dialog .sidebar-markets {display:flex;gap:5px;flex-wrap:wrap}
#terminal #market-sidebar-content button {background:var(--box);padding:5px 8px}
@media(max-width:730px){#terminal .left-native .nav-lower,#terminal .left-native .nav-foot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}#terminal .left-native .nav-lower button,#terminal .left-native .nav-foot button{height:30px;background:var(--soft);gap:3px;padding:2px;font-size:10px}#terminal .left-native .nav-lower button .win-icon,#terminal .left-native .nav-foot button .win-icon{display:none}#terminal #watch-dock{flex:auto;max-height:260px}}
#terminal[data-guest=true] .left-native [data-analyze],#terminal:not([data-guest=true]) .left-native [data-market-panel=analyze]{display:none}

/* Market Watch keeps its search and column labels above the independently scrolling list. */
#terminal #watch-dock {display:flex;flex-direction:column;overflow:hidden}
#terminal #watch-dock[hidden],#terminal .watch-heading[hidden],#terminal #watch-groups [hidden]{display:none}
#terminal #watch-groups {overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#888 transparent}
#terminal #watch-dock .native-tabs,#terminal #watch-dock .watch-search {flex:none}
#terminal #watch-dock .watch-search {display:grid;grid-template-columns:minmax(0,1fr) 18% 18%;padding:4px 0;align-items:center}
#terminal .watch-search-field {min-width:0;position:relative;margin-right:3px}
#terminal .watch-search-field::before,#terminal .watch-search-field::after {content:'';position:absolute;right:8px;top:50%;pointer-events:none}
#terminal .watch-search-field::before {width:7px;height:7px;border:1.5px solid var(--dim);border-radius:50%;transform:translateY(-65%)}
#terminal .watch-search-field::after {width:5px;height:1.5px;background:var(--dim);transform:translate(-5px,4px) rotate(-45deg)}
#terminal .watch-search-field:focus-within::before,#terminal .watch-search-field:focus-within::after {display:none}
#terminal #watch-search {width:100%;min-height:20px;padding-inline:5px 19px;border-radius:3px}
#terminal #watch-groups .watch-heading {display:grid;grid-template-columns:11px minmax(0,1fr) auto auto;align-items:center;background:var(--box);margin:2px 0;border-radius:3px;padding-inline:3px}
#terminal .watch-heading .watch-grip {cursor:grab;justify-self:center;width:5px;height:65%;background:radial-gradient(circle,#aaa 1px,transparent 1.3px) 0 0/3px 3px}
#terminal #watch-groups .watch-heading button {margin:0;border:0;background:transparent;box-shadow:none;line-height:1}
#terminal #watch-groups .watch-heading button:hover {background:#ffffff17}
#terminal #watch-groups .watch-list-title {font:inherit;text-align:left;color:var(--fg);width:100%;min-width:0;height:clamp(27px,1.7vw,35px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px}
#terminal .watch-list-title::before {content:'▸';display:inline-block;width:15px;color:var(--dim);text-align:center;margin-right:3px}
#terminal .watch-list-title[aria-expanded=true]::before {content:'▾'}
#terminal .watch-list-menu,#terminal .watch-list-add {width:23px;height:23px;padding:0;color:var(--dim)}
#terminal #watch-groups .watch-list-add {font-size:21px;font-weight:300}
#terminal .watch-list-menu::before {content:'';width:12px;height:9px;display:inline-block;background:linear-gradient(to bottom,currentColor 44%,transparent 45% 56%,currentColor 57%)}
#terminal #watch-groups .watch td:first-child {width:29%;padding-left:4px;overflow:hidden}
#terminal #watch-groups .watch td:nth-child(2) {width:35%;font-size:clamp(10px,.65vw,13px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#terminal #watch-groups .watch td[data-quote] {width:18%;padding-right:5px}
#terminal #watch-groups .watch td:first-child button {font-weight:500}
#terminal #watch-groups .watch td:first-child [aria-current=true]{font-weight:700}
#terminal #watch-groups .watch button::before {width:4px;height:16px;margin-right:9px;background:radial-gradient(circle,currentColor 1px,transparent 1.3px) 0 0/3px 3px}
#terminal #watch-groups .watch [aria-current=true]::before {color:var(--accent)}
#terminal #watch-groups .watch [data-day-change="1"] {color:var(--win-AccentPositiveTextIcons,var(--dim))}
#terminal #watch-groups .watch [data-day-change="-1"] {color:var(--win-AccentNegativeTextIcons,var(--dim))}
#terminal .watch-foot-seam {position:relative;flex:none;z-index:1;height:1px;background:var(--box)}
#terminal #watch-foot-toggle {position:absolute;inset-inline-end:6px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:19px;height:19px;background:var(--box);padding:0;color:var(--dim)}
#terminal #watch-foot-toggle::before {content:'';width:5px;height:5px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg) translate(-1px,-1px)}
#terminal #watch-foot-toggle[aria-expanded=false]::before {transform:rotate(225deg)}
#terminal .hide-watch .watch-foot-seam {display:none}
@media(min-width:731px){
  #terminal .left-native {--nav-icon-column:clamp(37px,2.34vw,48px);--nav-label-gap:clamp(12px,.82vw,17px)}
  #terminal .left-native .nav-lower button,#terminal .left-native .nav-foot button,#terminal .left-native>button[data-action=trade] {display:grid;grid-template-columns:var(--nav-icon-column) minmax(0,1fr);align-items:center;gap:var(--nav-label-gap);padding:0}
  #terminal .left-native .nav-lower button {background:linear-gradient(90deg,var(--accent) var(--nav-icon-column),var(--soft) 0)}
  #terminal .left-native .nav-foot button {background:var(--soft)}
  #terminal .left-native .nav-lower button .win-icon,#terminal .left-native .nav-foot button .win-icon,#terminal .left-native>button[data-action=trade] .win-icon {justify-self:center;margin:0}
  #terminal .left-native .nav-lower button:not(:disabled):hover,#terminal .left-native .nav-foot button:not(:disabled):hover {filter:brightness(1.17)}
  #terminal[data-guest=true] .left-native .nav-lower [data-analyze],#terminal:not([data-guest=true]) .left-native .nav-lower [data-market-panel=analyze] {display:none}
}
@media(max-width:730px){#terminal #watch-groups {max-height:170px}#terminal .watch-foot-seam{height:16px}}

/* Keep the original four tab stops and handlers in both footer presentations. */
#terminal #watch-account-menu[data-compact=true] {
  display:grid;grid-template-columns:repeat(4,minmax(0,39px));align-content:center;
  height:41px;box-sizing:border-box;border-top:1px solid var(--base);padding:1px 0 0;
}
#terminal #watch-account-menu[data-compact=true] button,
#terminal .hide-watch #watch-account-menu button {
  display:grid;place-items:center;grid-template-columns:1fr;width:100%;height:39px;padding:0;gap:0;
}
#terminal #watch-account-menu[data-compact=true] button .win-icon,
#terminal .hide-watch #watch-account-menu button .win-icon {
  display:inline-block;justify-self:center;margin:0;transform:scale(1.1111);
}
#terminal #watch-account-menu[data-compact=true] button span:last-child,
#terminal .hide-watch #watch-account-menu button span:last-child {display:none}
#terminal #watch-account-menu button:focus-visible,#terminal #watch-foot-toggle:focus-visible {
  outline:2px solid currentColor;outline-offset:-2px;
}
@media(min-width:731px){
  #terminal .hide-watch .left-native .nav-lower {margin-top:0}
  #terminal .hide-watch #watch-account-menu,#terminal .hide-watch #watch-account-menu[data-compact=true] {
    display:grid;grid-template-columns:minmax(0,1fr);height:auto;margin-top:auto;
  }
}
@media(min-width:731px) and (max-height:450px){
  #terminal .left-native .nav-lower {max-height:max(36px,calc(100dvh - 255px));overflow-y:auto}
  #terminal .left-native {overflow-y:auto}
  #terminal .win-shell:not(.hide-watch) .left-native:has(#watch-account-menu[data-compact=true]) .nav-lower {
    flex:0 1 auto;min-height:0;max-height:none;
  }
}
#terminal #watch-editor {width:min(345px,92vw);max-height:min(580px,86dvh);overflow:auto;padding:12px;background:var(--soft);color:var(--fg);border:1px solid var(--box);box-shadow:0 12px 35px #0009}
#watch-editor::backdrop{background:#0007}
#watch-editor header,#watch-editor .watch-options label {display:flex;align-items:center;justify-content:space-between;gap:8px}
#watch-editor h2 {font:600 14px "Segoe UI",sans-serif;margin:3px 0 9px}
#watch-editor>div,#watch-editor form,#watch-editor form label {display:grid;gap:6px}
#terminal #watch-editor input:not([type=checkbox]) {min-width:0;width:100%;padding:5px;background:var(--deep);border:1px solid var(--box)}
#terminal #watch-editor button {background:var(--box);padding:6px 8px;text-align:left}
#terminal #watch-editor .watch-options {overflow:auto;max-height:46vh}
#terminal #watch-editor .watch-options label {padding:5px 0;justify-content:start}
#watch-editor .watch-options small {color:var(--dim);margin-left:auto}
#watch-editor p:empty {display:none}
#terminal #watch-groups .watch-heading[hidden]{display:none}

#terminal #watch-market-groups:not([hidden]) {align-self:flex-start;margin:2px 6px;padding:3px 8px;font:inherit;color:var(--fg);background:var(--base);border:1px solid var(--soft);border-radius:2px}
#terminal #watch-market-groups[aria-pressed=true] {border-bottom-color:var(--accent)}
#terminal [data-watch-list=all] col:first-child {width:29%}
#terminal [data-watch-list=all] col:nth-child(2) {width:35%}
#terminal [data-watch-list=all] col:nth-child(n+3) {width:18%}
#terminal #watch-groups .watch th:has([data-market-group]) {padding:0}
#terminal #watch-groups [data-market-group] {background:var(--base);color:var(--fg);width:100%;text-align:left;height:26px;border:0;padding:2px 7px;font:inherit}
#terminal #watch-groups .watch [data-market-group]::before {content:'▸';background:none;height:auto;width:12px;margin:0 4px 0 0}
#terminal #watch-groups .watch [data-market-group][aria-expanded=true]::before {content:'▾'}
#terminal #watch-groups .watch-grip {touch-action:none;user-select:none;cursor:grab}
#terminal #watch-groups.watch-moving-group .watch {display:none}
#terminal #watch-groups.watch-moving-group .watch-grip {cursor:grabbing}

#market-sidebar-dialog.workspace-settings {width:min(680px,94vw);max-width:94vw;box-sizing:border-box;padding:0;background:var(--base);color:var(--fg)}
#market-sidebar-dialog.workspace-settings>header {padding:9px 12px;background:var(--soft);border-bottom:1px solid var(--box)}
#market-sidebar-dialog.workspace-settings #market-sidebar-content {display:grid;grid-template-columns:minmax(112px,28%) minmax(0,1fr);height:min(535px,74vh);padding:0;gap:0}
.workspace-settings nav {display:flex;flex-direction:column;overflow:auto;background:var(--deep);padding:4px}
.workspace-settings nav div {padding:11px 6px 4px;color:var(--dim);font-size:12px}
#terminal .workspace-settings nav button {text-align:left;flex:none;padding:7px 8px;background:transparent;color:var(--fg);border:0;border-left:3px solid transparent}
#terminal .workspace-settings nav [aria-selected=true] {background:var(--soft);border-left-color:var(--accent)}
#workspace-settings-pane {overflow:auto;padding:8px 14px 15px;min-width:0}
#workspace-settings-pane h3 {font-size:1em;margin:12px 0 8px;border-bottom:1px solid var(--box);padding-bottom:6px}
#market-sidebar-dialog #workspace-settings-pane .settings-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,50%);margin:0;padding:6px 0;border-bottom:1px solid var(--soft);gap:8px}
#workspace-settings-pane .settings-row input {justify-self:end;accent-color:var(--accent)}
#workspace-settings-pane select {min-width:0;width:100%;background:var(--deep);color:var(--fg);border:1px solid var(--box);padding:3px}
#terminal[data-private-account=true] .account-chip {display:none}
#terminal[data-daily-change=false] #watch-groups td[data-day-change], #terminal[data-daily-change=false] #watch-groups col:nth-child(2) {display:none}
#terminal[data-daily-change=false] #watch-groups td:first-child {width:60%}
#terminal[data-daily-change=false] #watch-groups td[data-quote] {width:20%}

#watch-editor.watch-context{position:fixed;margin:0;inset:auto;min-width:170px;width:max-content;max-width:min(92vw,390px);max-height:70vh;padding:3px}
#watch-editor.watch-context::backdrop{background:transparent}#watch-editor.watch-context header{display:none}
#watch-editor.watch-context>div{display:grid;gap:0;padding:0}#watch-editor.watch-context button{text-align:left;min-height:23px;border-radius:0}
.watch-detail td{padding:4px 6px 7px}.watch-detail td>div{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--panel,#383838);padding:5px}
.watch-detail td>div>span{align-self:center}.watch-detail label{text-align:right}.watch-detail input{width:5.5em;text-align:right}
.watch-detail select,.watch-detail button{display:block;width:100%;font:inherit}.watch-detail button{min-height:28px}

.fundax-help-topics{display:flex;flex-wrap:wrap;gap:3px}.fundax-help-topics [aria-pressed=true]{box-shadow:inset 0 -2px #009752}.fundax-help-content p{line-height:1.45}.fundax-help-content button{margin:2px}.fundax-help-content textarea{display:block;width:100%}
.investor-filters,.investor-widget{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.investor-filters input,.investor-filters select,.investor-widget select{min-width:0;padding:4px 6px;background:var(--deep);color:var(--fg);border:1px solid var(--box)}
.investor-filters input{flex:1 1 100px}
.investor-entries{margin-top:8px;display:grid;gap:5px}
.investor-entries details{border:1px solid var(--box);border-radius:3px;padding:5px 8px}
.investor-entries summary{cursor:pointer}
.investor-entries summary small{float:right;color:var(--muted)}
.investor-entries dl{display:grid;grid-template-columns:max-content 1fr;gap:4px 10px}
.investor-entries dd{margin:0;overflow-wrap:anywhere}
.investor-widget h3,.investor-widget .widget-preview,.investor-widget p{width:100%}
.investor-widget .widget-open{color:white;background:var(--accent,#00894c);padding:5px 9px;border-radius:3px;text-decoration:none}

#terminal[data-show-header-balance=false] #header-account-balance,
#header-account-currency:empty {display:none}
@media (max-width:730px) {
  #terminal[data-guest=false] .workspace-command-row .session-controls {max-width:calc(100% - 44px)}
}
#terminal #header-account-balance {white-space:nowrap;font-variant-numeric:tabular-nums}
#terminal[data-chart-pointer=touchpad] .chart-tile img {touch-action:none}
#workspace-settings-pane label[hidden] {display:none!important}

#workspace-settings-pane .keyboard-shortcuts,#nav-preferences-dialog .keyboard-shortcuts {display:grid;grid-template-columns:max-content minmax(0,1fr);gap:0 12px;margin:6px 0}
#workspace-settings-pane .keyboard-shortcuts :is(dt,dd),#nav-preferences-dialog .keyboard-shortcuts :is(dt,dd) {margin:0;padding:5px 0;border-bottom:1px solid var(--box)}
:is(#workspace-settings-pane,#nav-preferences-dialog) .editable-shortcuts {grid-template-columns:minmax(0,1fr) minmax(100px,44%)}
[data-shortcut-status]:not(:empty) {display:block;margin-top:4px;overflow-wrap:anywhere}
[data-bind-shortcut][aria-invalid=true] {outline:1px solid currentColor}

#terminal #watch-groups tr[data-watch-drop=before] > td {box-shadow:inset 0 2px var(--accent)}
#terminal #watch-groups tr[data-watch-drop=after] > td,
#terminal #watch-groups .watch-heading[data-watch-drop=after] {box-shadow:inset 0 -2px var(--accent)}

#terminal #watch-groups{overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable}
#terminal #watch-groups .watch-heading{position:sticky;top:0;z-index:2;min-height:29px;padding-inline:5px 2px}
#terminal #watch-groups .watch-heading .watch-grip{width:6px;height:21px;background:radial-gradient(circle,#aaa 1px,transparent 1.25px) 0 0/3px 3px}
#terminal #watch-groups .watch-list-menu[aria-pressed=true]::before{background:repeating-linear-gradient(to bottom,currentColor 0 2px,transparent 2px 4px)}
#terminal #watch-groups .watch-create-list{display:block;width:100%;margin:3px 0 5px;padding:0 5px;min-height:29px;background:var(--box);color:var(--fg);text-align:center;border:0;border-radius:3px}
#terminal #watch-groups .watch-create-list:hover,#terminal #watch-groups .watch-create-list:focus-visible{background:var(--soft);outline:1px solid var(--dim);outline-offset:-1px}
#terminal #watch-groups .watch{width:100%;table-layout:fixed;border-collapse:collapse}
#terminal #watch-groups .watch tr:not(.watch-detail)>td{height:clamp(32px,2.15vw,41px);vertical-align:middle}
#terminal #watch-groups .watch tr:not(.watch-detail)>td:first-child{position:relative;width:34%;padding-left:4px;overflow:visible}
#terminal #watch-groups .watch td[data-day-change]{width:30%;padding:0 4px 0 0;text-align:right}
#terminal #watch-groups .watch td[data-quote]{width:18%;padding:0 3px;text-align:right}
#terminal #watch-groups .watch .watch-symbol-name{display:flex;min-width:0;align-items:center;gap:4px}
#terminal #watch-groups .watch .watch-symbol-grip{display:block;flex:0 0 6px;height:21px;cursor:move;background:radial-gradient(circle at 1.4px 1.4px,currentColor 1px,transparent 1.23px) 0 0/3.1px 3px;color:#a2a2a2}
#terminal #watch-groups .watch .watch-symbol-grip[data-asset=fx]{color:#05a447}
#terminal #watch-groups .watch .watch-symbol-grip[data-asset=crypto]{color:#cc6aa4}
#terminal #watch-groups .watch .watch-symbol-grip[data-asset=metals]{color:#cfae03}
#terminal #watch-groups .watch .watch-symbol-grip[data-asset=indices]{color:#1798d5}
#terminal #watch-groups .watch .watch-symbol-status{display:grid;place-items:center;flex:0 0 12px;height:18px;color:var(--dim);font:13px/1 "Segoe UI",sans-serif}
#terminal #watch-groups .watch .watch-symbol-status[data-state=open]::before{content:'✓';color:#00aa61}
#terminal #watch-groups .watch .watch-symbol-status[data-state=paused]::before{content:'Ⅱ';color:#e0aa22}
#terminal #watch-groups .watch .watch-symbol-status[data-state=quoted]::before,#terminal #watch-groups .watch .watch-symbol-status[data-state=unknown]::before{content:'';width:5px;height:5px;border:1px solid currentColor;border-radius:50%}
#terminal #watch-groups .watch .watch-symbol-status[data-state=quoted]::before{background:#859f97}
#terminal #watch-groups .watch tr[data-quote-fresh] button::before{display:none}
#terminal #watch-groups .watch .watch-symbol-name [data-select]{padding:0;min-width:0;text-align:left;font:inherit;color:inherit;background:none;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#terminal #watch-groups .watch .watch-price{padding:3px 0;min-width:0;max-width:100%;height:auto;background:transparent;text-align:right;color:inherit;font:inherit;border:0}
#terminal #watch-groups .watch .watch-price:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:3px}
#terminal #watch-groups .watch .watch-price[data-watch-side=SELL]:is(:hover,:focus-visible){color:var(--win-AccentNegativeTextIcons,#ff6a28)}
#terminal #watch-groups .watch .watch-price[data-watch-side=BUY]:is(:hover,:focus-visible){color:var(--win-AccentPositiveTextIcons,#00ab64)}
#terminal #watch-groups .watch-fraction{font-size:.73em;vertical-align:baseline}
#terminal #watch-groups .watch-row-actions{position:absolute;left:100%;top:50%;transform:translateY(-50%);z-index:1;align-items:center;gap:2px;padding-inline:2px;background:var(--base);display:none}
#terminal #watch-groups tr:is(:hover,:focus-within) .watch-row-actions{display:flex}
#terminal #watch-groups .watch-row-actions button,#terminal #watch-groups .watch-card-actions button{width:22px;min-width:16px;height:22px;line-height:1;padding:0;border:0;border-radius:2px;color:var(--fg);background:var(--box);font-size:14px}
#terminal #watch-groups .watch-detail>td{padding:4px;border-bottom:1px solid var(--box);height:auto}
#terminal #watch-groups .watch-detail>td>div{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--soft);padding:6px}
#terminal #watch-groups .watch-detail>td>div>label{grid-column:1/-1;text-align:left}
#terminal #watch-groups .watch-detail .watch-card-actions{display:flex;justify-content:flex-end;gap:3px}
#terminal #watch-groups .watch-detail .watch-card-spread{grid-column:1/-1;text-align:center;color:var(--dim)}
#terminal #watch-groups .watch-detail button::before{display:none}
#terminal #watch-dock .watch-search{grid-template-columns:minmax(0,1fr) 18% 18%;padding:3px 0}
#terminal #watch-dock .watch-search span{padding-right:4px}
#terminal[data-daily-change=false] #watch-groups .watch tr:not(.watch-detail)>td:first-child{width:64%}
@media(max-width:1100px){#terminal #watch-groups .watch .watch-symbol-name{gap:2px}#terminal #watch-groups .watch td[data-quote]{padding-inline:1px}}

#terminal #watch-groups .watch-create-list[hidden]{display:none}
#terminal #watch-groups .watch .watch-symbol-status[data-state=restricted]::before{content:'!';color:#daa22e}
#terminal #watch-groups .watch .watch-symbol-name [data-select][aria-current=true]{font-weight:600}

#terminal #watch-groups .watch td[data-move=up]{color:var(--win-AccentPositiveTextIcons,#00a861)}
#terminal #watch-groups .watch td[data-move=down]{color:var(--win-AccentNegativeTextIcons,#f36528)}
#terminal #watch-editor button[aria-pressed=true]::before{content:'✓';margin-inline-end:.55em;color:var(--accent)}
#terminal #watch-groups .watch-row-actions{left:auto;right:2px;background:var(--base)}
#terminal #watch-groups .watch tr:is(:hover,:focus-within) .watch-symbol-name{padding-right:19px}
#terminal #watch-groups .watch-row-actions button{width:16px;height:14px}
#terminal #watch-groups tr:is(:hover,:focus-within) .watch-row-actions{flex-direction:column;gap:1px}

#terminal #watch-editor.watch-picker{width:min(242px,calc(100vw - 6px));min-width:0;max-height:min(370px,74dvh);padding:5px;box-sizing:border-box}
#watch-editor.watch-picker>div{display:flex;flex-direction:column;gap:3px}
#terminal #watch-editor.watch-picker input{width:100%;border:1px solid var(--box);padding:2px 5px;box-sizing:border-box}
.watch-picker-options{overflow:auto;max-height:min(315px,calc(74dvh - 40px));scrollbar-gutter:stable}
#terminal #watch-editor.watch-picker .watch-picker-options button{display:flex;align-items:center;gap:6px;width:100%;padding:4px 5px;background:transparent;text-align:start}
#terminal #watch-editor.watch-picker .watch-picker-options button:is(:hover,:focus-visible){background:var(--box)}
#terminal #watch-editor .watch-remove-menu{position:fixed;z-index:1;display:grid;min-width:110px;max-width:80vw;max-height:64dvh;overflow:auto;padding:3px;background:var(--soft);border:1px solid var(--box);box-shadow:0 4px 14px #0008}
#terminal #watch-editor .watch-remove-menu button{padding:4px 8px}
.watch-picker-options [data-pick-category]::before{content:'▸';width:12px;color:var(--dim)}
.watch-picker-options [data-pick-category][aria-expanded=true]::before{content:'▾'}
#terminal #watch-editor.watch-picker [data-pick-symbol][aria-pressed=true]::before{content:none}
.watch-picker-options [data-pick-symbol] span:first-child{width:12px;flex:none;color:var(--dim)}
.watch-symbol-window{margin:0;background:var(--panel,#323232);color:var(--fg,#eee);font:13px "Segoe UI",sans-serif;overflow:auto}
.watch-symbol-card{padding:8px}
.watch-symbol-card h1{font-size:15px;margin:0 0 5px}
.watch-symbol-card table{width:100%;border-collapse:collapse}
.watch-symbol-card .watch-card-actions{display:flex;gap:4px;justify-content:flex-end}
.watch-symbol-card .watch-card-actions button{width:26px}
.watch-symbol-card .watch-detail td>div>label,.watch-symbol-card .watch-card-spread{grid-column:1/-1}
