/* Shared signal hub, scoped to its own surface. */
.s136{--s-bg:#10293b;--s-card:#16354a;--s-line:#42687c;--s-ink:#e6f3f9;--s-muted:#afc7d4;--s-accent:#81e0dc;color:var(--s-ink);font:14px/1.6 system-ui;min-width:0}
html[data-t=light] .s136{--s-bg:#f3f9fc;--s-card:#e6f1f6;--s-line:#aac8d4;--s-ink:#173d52;--s-muted:#4f6b7a;--s-accent:#126b78}
html body #simple#simple#simple .s136 button,.s136 button{background:var(--s-card)!important;background-image:none!important;color:var(--s-ink)!important;border:1px solid var(--s-line)!important;border-radius:10px!important;padding:8px 12px!important;min-height:40px;white-space:normal!important;cursor:pointer;font:600 12px/1.5 system-ui!important;box-shadow:none!important;text-shadow:none!important}
.s136 :focus-visible{outline:2px solid var(--s-accent);outline-offset:2px}
.s136-tabs,.s136-filters,.s136-actions{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.s136-tabs>button{flex:1}.s136-tabs [aria-pressed=true],.s136-filters [aria-pressed=true]{outline:2px solid var(--s-accent);outline-offset:-2px}
.s136-clock{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--s-line);border-radius:14px;background:var(--s-card);margin:12px 0}.s136-clock b{font-size:13px}.s136-clock small{display:block;font-size:10px;line-height:1.6;color:var(--s-muted);margin-top:5px}.s136-ring{flex:none;width:44px;height:44px;border-radius:50%;background:conic-gradient(var(--s-accent) var(--progress,0deg),var(--s-line) 0);mask:radial-gradient(transparent 55%,black 58%)}
.s136-note,.s136-next{font-size:11px!important;line-height:1.7!important;color:var(--s-muted);margin:12px 0}.s136-next{border-top:1px solid var(--s-line);padding-top:14px}
.s136-follow,.s136-settings{padding:12px;border:1px solid var(--s-line);background:var(--s-bg);border-radius:14px;margin:14px 0}.s136 summary{cursor:pointer;min-height:40px;list-style:none;padding:8px 0}.s136 summary::-webkit-details-marker{display:none}.s136-follow>summary,.s136-settings>summary{font-weight:700;color:var(--s-accent)}.s136-follow article{padding:10px 0;border-top:1px solid var(--s-line)}.s136-follow article small{display:block;color:var(--s-muted);margin:4px 0}.s136-follow article button{margin:4px 5px 0 0}
.s136-batch{margin:12px 0}.s136-batch>summary{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--s-line);font-size:12px;color:var(--s-muted)}.s136-batch>summary small{margin-left:auto}.s136-dot{width:7px;height:7px;border-radius:50%;background:#728b9b}.s136-dot.is-new{background:#ea7b9e}
.s136-signal{padding:10px 14px;margin:10px 0;border:1px solid var(--s-line);border-left:3px solid #d77b97;border-radius:12px;background:var(--s-bg)}.s136-signal[data-read=true]{border-left-color:#748d9c}.s136-signal>summary small{display:block;color:var(--s-muted);font-size:10px}.s136-signal>summary strong{display:block;font-size:15px;line-height:1.6;margin:5px 0}.s136-signal-body{border-top:1px solid var(--s-line);padding-top:10px}.s136-signal-body p{font-size:12px!important;line-height:1.7!important}.s136-history>summary{font-size:12px;color:var(--s-accent)}
.s136-streak{display:flex;gap:4px;margin-top:8px}.s136-streak i{width:14px;height:10px;border-radius:3px;background:var(--s-card);border:1px solid var(--s-line)}.s136-streak [data-state=present]{background:#3aaf9d;border-color:#3aaf9d}.s136-streak [data-state=unknown]{background:repeating-linear-gradient(45deg,transparent,transparent 3px,#8594a455 3px,#8594a455 5px)}
.s136-daychart{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;align-items:end;min-height:170px;padding:10px 0;border-bottom:1px solid var(--s-line)}.s136-daychart>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.s136-daychart b{font-size:12px}.s136-daychart small{font-size:9px;white-space:nowrap}.s136-stack{display:flex;flex-direction:column;width:100%;max-width:40px;overflow:hidden;border-radius:5px 5px 0 0}.s136-stack i{display:block;min-height:0}.s136-short{background:#48abc1}.s136-swing{background:#9481cc}.s136-value{background:#c69c52}.s136-legend{display:flex;gap:12px;margin:12px 0;font-size:11px}.s136-legend i{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:5px}.s136-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.s136-stats>div{display:grid;gap:3px;border:1px solid var(--s-line);padding:10px;text-align:center;border-radius:12px;background:var(--s-card)}.s136-stats b{font-size:25px;color:var(--s-accent)}.s136-stats small{font-size:11px}
.s136-timeline{list-style:none;margin:14px 0;padding:0 0 0 12px;border-left:2px solid var(--s-line)}.s136-timeline li{padding:6px 0 12px}.s136-timeline time{color:var(--s-accent);font-size:11px}.s136-timeline p{margin:4px 0}.s136-timeline small{font-size:10px;color:var(--s-muted)}
.s136-settings label{display:flex;align-items:center;gap:8px;font-size:12px;min-height:42px;flex-wrap:wrap}.s136-settings input[type=checkbox]{width:20px;height:20px;accent-color:#248c98}.s136-settings input:not([type=checkbox]){min-width:0;max-width:100%;width:100%;font:16px system-ui;min-height:42px;background:var(--s-card);color:var(--s-ink);border:1px solid var(--s-line);border-radius:8px;padding:8px}.s136-times{display:grid;grid-template-columns:1fr 1fr;gap:12px}.s136-times label{display:block}
.s136-metric-chart{position:relative;height:180px;display:flex;align-items:stretch;gap:8px;padding-top:25px;margin:10px 0 35px}.s136-metric-chart>div:not(.s136-mean){flex:1;position:relative;display:flex;align-items:flex-end;justify-content:center}.s136-metric-chart i{display:block;width:65%;background:#43aa99;border-radius:4px 4px 0 0}.s136-metric-chart b{position:absolute;bottom:5px;font-size:10px}.s136-metric-chart small{position:absolute;bottom:-22px;font-size:9px}.s136-metric-chart .s136-mean{position:absolute;left:0;right:0;border-top:1px dashed var(--s-accent);z-index:1;font-size:10px}.s136-mean span{background:var(--s-bg);padding:2px}
/* The second-round market layout is mobile only; desktop controls retain their layout. */
.s136-mobile{font-variant-numeric:tabular-nums}
.s136-mobile button,.s136-mobile summary{min-height:44px;box-sizing:border-box}
html body #simple#simple#simple .s136-mobile button{min-height:44px}
.s136-mobile-head{background:linear-gradient(145deg,#302235,#211c2c);border:1px solid #81505f;border-radius:16px;padding:12px;color:#e9f5ff}
.s136-mobile-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.s136-mobile-title>b{font-size:17px}.s136-mobile-title button{font-size:11px!important;padding:6px 9px!important}
.s136-markets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:#392537;border-radius:13px;padding:4px}
html body #simple#simple#simple .s136-markets button,.s136-markets button{min-height:54px;background:transparent!important;color:#e9f5ff!important;border:0!important;position:relative;text-align:center;padding:8px 4px!important}
.s136-markets strong{display:block;font-size:14px}.s136-markets button:has(.s136-unread) strong{padding-top:10px}
html body #simple#simple#simple .s136-markets [aria-pressed=true],.s136-markets [aria-pressed=true]{background:#623448!important;color:#fff1f4!important;box-shadow:0 0 0 1px #bc718b!important}
.s136-unread{position:absolute;right:3px;top:2px;min-width:18px;padding:1px 5px;border-radius:12px;background:#a33450;color:white;font:700 10px/16px system-ui}
.s136-mobile-head .s136-note{color:#b6cedc;margin:9px 0 0;font-size:9px!important}
.s136-source-summary{margin:12px 0 5px;font-size:12px}.s136-source-summary small{display:block;color:var(--s-muted);font-size:10px}
.s136-mobile-tabs{display:flex;flex-wrap:nowrap;gap:0;border-bottom:1px solid var(--s-line);margin:10px 0}
html body #simple#simple#simple .s136-mobile-tabs button,.s136-mobile-tabs button{border:0!important;background:transparent!important;border-radius:0!important;padding:8px 5px!important;white-space:normal!important;outline:0;font-size:12px!important;min-height:48px;min-width:0;box-shadow:none!important}
html body #simple#simple#simple .s136-mobile-tabs [aria-pressed=true],.s136-mobile-tabs [aria-pressed=true]{box-shadow:inset 0 -3px 0 var(--s-accent)!important;color:var(--s-accent)!important}
.s136-mobile-tabs .s136-dot{display:inline-block;width:6px;height:6px;margin-left:2px;vertical-align:middle}
.s136-mobile .s136-filters{display:flex;flex-wrap:nowrap;gap:6px;overflow:auto;margin:10px 0;padding:2px}
html body #simple#simple#simple .s136-mobile .s136-filters button,.s136-mobile .s136-filters button{border-radius:22px!important;min-width:58px;padding:7px 10px!important;flex:1;white-space:nowrap!important;font-size:11px!important}
.s136-mobile .s136-filters b{font-size:10px;opacity:.85}
.s136-mobile .s136-signal{padding:8px 11px;margin:9px 0}.s136-mobile .s136-signal>summary strong{font-size:14px}
.s136-global{display:inline-block;font-size:10px;line-height:1.6;margin:4px 0 0;padding:1px 6px;border:1px solid var(--s-line);border-radius:5px;color:var(--s-accent)}
.s136-mobile .s136-other-market{display:block;width:100%;text-align:left;margin:16px 0}
.s136-current-total{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--s-line);border-radius:12px;background:var(--s-card)}.s136-current-total strong{font-size:28px;color:var(--s-accent)}.s136-current-total span{font-size:12px}
.s136-empty{font-size:13px!important;color:var(--s-muted);padding:18px 12px;border:1px dashed var(--s-line);border-radius:12px}
.s136-mobile .s136-pending{padding:10px;border:1px dashed #b99152;border-radius:12px;margin:12px 0}.s136-mobile .s136-pending p{font-size:11px}
.s136-mobile .s136-disclaimer{border-top:1px solid var(--s-line);padding-top:12px}
.s136-mobile{--s-accent:#efa4b9}
html[data-t=light] .s136-mobile{--s-bg:#fffafb;--s-card:#f8f1f3;--s-line:#dcc8ce;--s-ink:#3f3038;--s-muted:#705d68;--s-accent:#963d59}
html[data-t=light] .s136-mobile-head{background:linear-gradient(145deg,#fffafb,#f6edf0);border-color:#d8b9c4;color:#68374b}
html[data-t=light] .s136-markets{background:#efe4e9}
html[data-t=light] body #simple#simple#simple .s136-markets button,html[data-t=light] .s136-markets button{color:#5b4050!important}
html[data-t=light] body #simple#simple#simple .s136-markets [aria-pressed=true],html[data-t=light] .s136-markets [aria-pressed=true]{background:#f8dfe7!important;color:#7e2947!important;box-shadow:0 0 0 1px #bc718b!important}
html[data-t=light] .s136-mobile-head .s136-note{color:#745d69}
html[data-t=light] .s136-mobile .s136-dot.is-new{background:#a33450}
.s136-mobile .s136-settings input[type=checkbox]{accent-color:var(--s-accent)}
@media(max-width:350px){.s136-markets strong{font-size:12px}.s136-mobile-title>b{font-size:15px}.s136-mobile-tabs button{font-size:11px!important}.s136-mobile .s136-filters{gap:4px}}

/* Paired surfaces and text: shared by Base/Plus/Pro, desktop and phone.
   The original brand banner and financial direction semantics are retained. */
.n126-position{--position-head:linear-gradient(125deg,#15394d,#152c48);--position-title:#f1f7fc;--position-muted:#bfd2df;--position-accent:#88e6ef;--position-line:#42657a;--position-field:#102536;--position-input:#081b2b;color-scheme:dark}
html[data-t=light] .n126-position{--position-head:linear-gradient(125deg,#e8f4f8,#edf2fa);--position-title:#153b51;--position-muted:#3f6175;--position-accent:#086c83;--position-line:#aac8d6;--position-field:#f7fbfd;--position-input:#fff;color-scheme:light}
html body #n126-position>header,html body #simple#simple#simple #n126-position>header{background:var(--position-head)!important;color:var(--position-title)!important;border-color:var(--position-line)!important;box-shadow:none!important}
html body #n126-position>header h2,html body #simple#simple#simple #n126-position>header h2{color:var(--position-title)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;background:none!important}
html body #n126-position>header p,html body #simple#simple#simple #n126-position>header p{color:var(--position-muted)!important;opacity:1!important}
html body #n126-position>header small,html body #simple#simple#simple #n126-position>header small{color:var(--position-accent)!important;opacity:1!important}
html body #n126-position .n126-field,html body #n126-position .n126-help{color:var(--position-muted)}
html body #n126-position input,html body #n126-position select{background:var(--position-input);color:var(--position-title);border-color:var(--position-line)}
html body #n126-position input::placeholder{color:var(--position-muted);opacity:1}
html body #n126-position input:focus-visible,html body #n126-position select:focus-visible{outline:3px solid var(--position-accent);outline-offset:2px}
html body #n126-position .n126-position-results small{color:var(--position-muted)}
html body #n126-position .n126-position-empty{background:var(--position-field);color:var(--position-muted)}
/* Base cards must use the same theme for both the card and its descendants. */
body.base135{--base-card-bg:#102b3e;--base-card-ink:#eaf4fa;--base-inset-bg:#0b2031;--base-muted:#b7cbd9;--base-accent:#8be0ec;--base-gold:#f1ce81;--base-gold-bg:#332b1b;--base-up:#95e1bc;--base-down:#ffc0c8;--base-up-bg:#163c32;--base-down-bg:#432b36;--base-selected-ink:#102c3b}
html[data-t=light] body.base135{--base-card-bg:#fff;--base-card-ink:#163b50;--base-inset-bg:#edf4f8;--base-muted:#496579;--base-accent:#096b82;--base-gold:#7b5819;--base-gold-bg:#fff5db;--base-up:#155f46;--base-down:#a22d43;--base-up-bg:#e5f3ec;--base-down-bg:#fbedf0;--base-selected-ink:#fff}
html body.base135 .base-right-card,html body.base135 .base-info-card{background:var(--base-card-bg)!important;color:var(--base-card-ink)!important;border-color:var(--b135-line)!important;box-shadow:0 4px 16px #102a3b0a}
html body.base135 :is(.base-right-card,.base-info-card) h3{color:var(--base-card-ink)!important;background:transparent!important;text-shadow:none!important;-webkit-text-fill-color:currentColor!important}
html body.base135 :is(.base-right-card,.base-info-card) :is(p,.kmut,li),html body.base135 .base-mini-table span{color:var(--base-muted)!important;opacity:1}
html body.base135 .base-mini-table div{background:var(--base-inset-bg);border-color:var(--b135-line)}
html body.base135 .base-mini-table b{color:var(--base-card-ink)}
html body.base135 .base-card-icon{background:var(--base-inset-bg);color:var(--base-accent)}
html body.base135 :is(.base-account-head,.base-upgrade-panel) .eyebrow,html body.base135 .base-info-kicker,html body.base135 .base-glossary th{color:var(--base-accent)}
html body.base135 .base-account-badge,html body.base135 .base-upgrade-panel,html body.base135 .base-info-note{background:var(--base-gold-bg);color:var(--base-card-ink);border-color:var(--base-gold)}
html body.base135 .base-account-badge b,html body.base135 .base-locked .base-card-icon{color:var(--base-gold)}
html body.base135 .base-upgrade-panel h3{color:var(--base-card-ink)}
html body.base135 .base-upgrade-panel p,html body.base135 .base-account-badge span{color:var(--base-muted)}
html body.base135 #b135-nav button[aria-current=page]{color:var(--base-selected-ink)!important}
html body.base135 .kcard :is(h2,h3){color:var(--b135-ink)}
html body.base135 .b135-range h3{color:var(--b135-ink)}
/* Existing theme toolbar's new workspace control uses the original navy button treatment. */
.topbar .rw-banner-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #7793b3;border-radius:12px;background:#203950;color:#f0f6ff;font:700 13px/1.3 var(--sans);cursor:pointer}
.topbar .rw-banner-entry:hover{background:#2a4965}.topbar .rw-banner-entry:focus-visible{outline:3px solid #efca72;outline-offset:3px}
/* Base tools: six navigation buttons, two clear in-page switches. */
.b150-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px;padding:0}
.b150-tabs button{display:flex;gap:9px;align-items:center;justify-content:center;min-height:56px;min-width:0;padding:12px;border:1px solid var(--b135-line);border-radius:14px;background:var(--base-card-bg);color:var(--base-card-ink);font:700 14px/1.5 var(--sans);cursor:pointer;white-space:normal}
.b150-tabs svg{width:20px;height:20px;flex:none}.b150-tabs button[aria-pressed=true]{background:var(--b135-accent);color:var(--base-selected-ink);border-color:var(--b135-accent);box-shadow:inset 0 -3px #e4c679}
.b150-tabs button:focus-visible{outline:3px solid var(--b135-accent);outline-offset:3px}
.b150-heat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px}
.b150-heat{display:flex;flex-direction:column;gap:12px;min-width:0;padding:20px 16px;border-radius:13px;border:1px solid var(--b135-line);background:var(--base-inset-bg);color:var(--base-card-ink);font-size:14px}
.b150-heat strong{font:750 25px/1.3 var(--mono);letter-spacing:-.04em}.b150-heat small{font:12px/1.5 var(--sans);color:inherit}
.b150-heat[data-tone=up]{background:var(--base-up-bg);color:var(--base-up);border-color:var(--base-up)}.b150-heat[data-tone=down]{background:var(--base-down-bg);color:var(--base-down);border-color:var(--base-down)}.b150-heat[data-tone=missing]{border-style:dashed;color:var(--base-muted)}
.b150-legend{margin-top:18px!important;font-size:12px;line-height:1.7}.b150-session{display:flex;gap:12px;align-items:center;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--b135-line)}.b150-session b{background:var(--base-inset-bg);color:var(--base-accent);padding:7px 11px;border-radius:8px}.b150-session time{color:var(--base-muted);font:13px var(--mono)}
html body.base135 .b150-cbbc :is(th,td){padding:14px 12px;white-space:nowrap;word-break:normal;color:var(--base-card-ink)}
html body.base135 .b150-cbbc table{min-width:540px;width:100%;table-layout:auto;background:var(--base-card-bg);border-collapse:collapse}
html body.base135 .b150-cbbc th{background:var(--base-inset-bg);color:var(--base-muted)}
@media(max-width:600px){.b150-heat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.b150-heat{padding:16px 12px;gap:10px;font-size:13px}.b150-heat strong{font-size:22px}.b150-tabs{gap:8px}.b150-tabs button{padding:10px 8px;font-size:12px}.topbar .rw-banner-entry{padding:8px;font-size:12px}}
/* Contrast of the shared original cards outside the Base shell. Do not touch the brand banner. */
html[data-t=light] :is(.page,#simple){--txt3:#52677e;--txt4:#627386}
html[data-t=dark] :is(.page,#simple){--txt3:#adbed1;--txt4:#99abc0}

html body.base135 .b150-cbbc .u{color:var(--on-g)}
html body.base135 .b150-cbbc .d{color:var(--on-r)}
html[data-t=light] .page .n127-kicker{color:#166a7e}
html[data-t=light] body #simple#simple .n127-kicker{color:#166a7e}
html[data-t=light] .page .n127-radar-intro>span{color:#a32949}
html[data-t=light] body #simple#simple .n127-radar-intro>span{color:#a32949}
html[data-t=light] .page .n127-table small{color:var(--txt3);opacity:1}
html[data-t=light] body #simple#simple .n127-table small{color:var(--ink2);opacity:1}
/* Supporting captions use readable ink in the original full, quick and sentiment views. */
html[data-t=light] .page{--gold-lt:#895719}
html[data-t=light] #simple{--ink3:#5b6d81}
html[data-t=dark] #simple{--ink3:#a5b8ca}
#sentApp{--txt3:#adbed1;--txt4:#99abc0}
#sentApp[data-theme=light]{--txt3:#52677e;--txt4:#627386}
