:root{--ink:#1c2e52;--muted:#66738a;--line:#dde3ed;--paper:#f4f6fb;--green:#23477c;--mint:#f4cf62;--red:#a52f37;--amber:#87611c}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green);text-underline-offset:4px}button,.button{font:inherit;font-weight:650;display:inline-block;cursor:pointer;text-decoration:none;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:11px 17px;min-height:44px}button:hover,.button:hover{filter:brightness(.94)}.primary{background:var(--green);color:white;border-color:var(--green)}.quiet{background:none;border:0}.topbar{display:flex;justify-content:space-between;align-items:center;padding:22px 4.5%;background:#fff;border-bottom:1px solid var(--line);gap:20px}.logo{display:flex;align-items:center;gap:17px;text-decoration:none;font-size:34px;font-weight:800;letter-spacing:-2px;color:var(--green)}.logo>span{border-left:1px solid var(--line);padding-left:17px;font-size:12px;letter-spacing:2px;color:var(--ink)}.logo small{display:block;font-size:9px;letter-spacing:2px;font-weight:500}.topright{display:flex;align-items:center;gap:20px}.badge,.tag{display:inline-block;border-radius:40px;background:#edf2fa;color:var(--green);font-size:12px;padding:5px 11px;white-space:nowrap}.shell{max-width:1560px;margin:auto;padding:40px 4.5%}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;margin:0 0 10px}h1{font-size:clamp(32px,4vw,48px);line-height:1.1;letter-spacing:-1.8px;margin:0 0 13px;font-weight:650}h2{font-size:21px;line-height:1.35;margin:0 0 15px;letter-spacing:-.5px}h3{font-size:17px}p{margin:0 0 16px}.muted,.fine{color:var(--muted)}.fine{font-size:12px;line-height:1.65}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px}.overview{display:grid;grid-template-columns:1.55fr 1fr;gap:20px;margin:20px 0}.hero{background:var(--ink);color:#fff;border:0}.hero .eyebrow{color:#c8d5e9}.sectionline,.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:16px}.heroValue{font-size:clamp(45px,5vw,70px);font-weight:550;letter-spacing:-3px;line-height:1.2;margin:18px 0 8px}.hero h2{font-size:16px;letter-spacing:0;font-weight:500}.hero p:not(.eyebrow){font-size:13px}.hero .fine{color:#c8d5e9!important;font-size:11px!important;margin-bottom:0}progress{appearance:none;width:100%;height:9px;display:block;border:0;border-radius:10px;overflow:hidden;margin:25px 0 14px;background:#3b4e70}progress::-webkit-progress-bar{background:#3b4e70}progress::-webkit-progress-value{background:var(--mint)}progress::-moz-progress-bar{background:var(--mint)}.nlv{display:flex;flex-direction:column;justify-content:center}.nlv h2{font-size:clamp(25px,3vw,39px);font-weight:600;margin:20px 0 0;letter-spacing:-1.5px}.conversion{font-size:22px;color:var(--muted);margin:0 0 18px}.metricgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.smallmetric{padding:21px}.smallmetric p{font-size:12px;color:var(--muted);margin:0 0 10px}.smallmetric strong{font-size:clamp(17px,1.7vw,25px);font-weight:600;white-space:nowrap;letter-spacing:-.7px}.datafoot{margin:14px 0 35px}.sectionhead{margin-bottom:18px}.sectionhead h2{margin:0}.sectionhead>.muted{font-size:12px}.exposure{margin-bottom:14px}.exposure .card{background:#fff8e5}.tablecard{padding:24px 0 0;overflow:hidden;margin:25px 0}.tablecard .sectionhead{padding:0 24px}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap;text-align:right}th{background:#f0f3f9;font-size:10px;color:#60708b;font-weight:650;padding:13px 15px;text-align:right}td{padding:16px 15px;border-bottom:1px solid #e8edf5;font-variant-numeric:tabular-nums}th:first-child,td:first-child{text-align:left;padding-left:24px}td small{display:block;font-size:10px;color:var(--muted);max-width:230px;white-space:normal}td:first-child strong{font-size:14px}td.empty{text-align:center;padding:42px;color:var(--muted)}tbody tr:last-child td{border-bottom:0}.tablenotes{border-top:1px solid var(--line);padding:18px 24px;font-size:11px;color:var(--muted)}.tablenotes p:last-child{margin:0}.risk{color:var(--red)!important;font-weight:650}.alert{border:1px solid #b7d0be;background:#e8f3e5;border-radius:9px;padding:15px 19px;margin:18px 0;font-size:13px}.danger{background:#fff0ee;border-color:#e8b8b5;color:var(--red)}.warn{background:#fff6df;border-color:#e3d2a1;color:var(--amber)}.editgrid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin:32px 0}.editor{scroll-margin-top:25px}label{display:block;font-size:12px;font-weight:600;color:#445777;margin-bottom:16px}input,select{display:block;width:100%;font:inherit;font-size:14px;font-weight:400;line-height:1.3;color:var(--ink);border:1px solid #c4cfe0;border-radius:6px;background:white;padding:11px;margin-top:7px;min-height:43px}input:focus,select:focus,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ddb343;outline-offset:2px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.check{display:flex;align-items:center;gap:10px;font-weight:400}.check input{width:18px;min-height:18px;margin:0;flex-shrink:0}.deleteform{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.dangerbutton{color:var(--red);border-color:#ddb3b5}.settingsgrid{display:grid;grid-template-columns:1fr 1fr;gap:55px}.settingsgrid p{font-size:13px;color:var(--muted)}details{margin-top:24px}summary{cursor:pointer;color:var(--green);padding:10px 0}details form{padding-top:15px}footer{font-size:10px;letter-spacing:1px;margin:35px 0 0;color:var(--muted);display:flex;justify-content:space-between;gap:20px}footer span{letter-spacing:0}.login{max-width:490px;padding:45px 35px;margin:6vh auto;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 60px #18325e0a}.brandmark{font-size:35px;font-weight:800;color:var(--green);margin-bottom:35px}.brandmark span{font-size:9px;letter-spacing:2px;margin-left:20px;color:var(--muted);font-weight:600}.login h1{margin-bottom:20px}.login form{margin-top:25px}.login button{width:100%;margin:6px 0 20px}.login .fine{margin:0}@media(max-width:1100px){.metricgrid{grid-template-columns:repeat(2,1fr)}.editgrid{grid-template-columns:1fr}.smallmetric strong{font-size:24px}}@media(max-width:680px){.topbar{padding:17px 5%}.topright{gap:0}.badge{display:none}.logo{font-size:28px}.logo>span{font-size:10px;letter-spacing:1px}.shell{padding:28px 5%}.pagehead{align-items:flex-start;flex-direction:column}.overview,.settingsgrid{grid-template-columns:1fr}.card{padding:21px}.heroValue{font-size:56px}.sectionhead{align-items:flex-start;flex-direction:column;gap:7px}.smallmetric{padding:15px}.smallmetric strong{font-size:18px}.formgrid{grid-template-columns:1fr}.tablecard{padding:20px 0 0}.settingsgrid{gap:20px}footer{flex-direction:column}.login{margin:25px 15px;padding:30px 25px}.nlv h2{font-size:32px}}
.depotnav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 35px}.depotnav a{padding:8px 13px;border:1px solid var(--line);border-radius:30px;font-size:12px;text-decoration:none;background:#fff}.depotnav a.active{background:var(--ink);color:#fff;border-color:var(--ink)}.totalUsd{font-size:27px!important;color:var(--mint)}.overview .heroValue{font-size:clamp(33px,4vw,62px)}.depotcards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.depotcard h2{margin:20px 0 8px;overflow-wrap:anywhere}.depotamount{display:block;font-size:23px;letter-spacing:-1px;margin-bottom:12px}.depotcard .button{font-size:12px}.depotcard summary{font-size:12px}.historyintro{padding:0 24px 24px}.historyactions{display:flex;flex-wrap:wrap;gap:12px}.chart{margin-top:25px;background:#f4f6fb;border-radius:10px;padding:20px}.chart svg{display:block;width:100%;max-height:240px;margin-top:15px}.chartgrid{stroke:#d7dfed;stroke-width:1;fill:none}.chartline{stroke:#23477c;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;fill:none}.chart .fine{margin-top:12px;margin-bottom:0}.pagination{padding:18px 24px;display:flex;gap:20px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line)}.pagination .fine{margin-right:auto}.pagehead h1{overflow-wrap:anywhere}.formgrid input{min-width:0}@media(max-width:1200px){.depotcards{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.depotcards{grid-template-columns:1fr}.depotcard .button{width:100%;text-align:center}.chart{padding:12px}.chart .sectionline{align-items:flex-start;flex-direction:column}.chart svg{min-height:100px}.historyintro{padding:0 18px 18px}.pagination{gap:12px}.totalUsd{font-size:23px!important}}
.totalsgrid{grid-template-columns:repeat(3,1fr)}@media(max-width:1100px){.totalsgrid{grid-template-columns:repeat(2,1fr)}}
.snapshotlink{background:none;border:0;border-radius:0;padding:3px 0;min-height:28px;color:var(--green);font-size:10px;font-weight:500;text-decoration:underline;text-underline-offset:3px}
.smallmetric strong{white-space:normal;overflow-wrap:anywhere;display:block;line-height:1.3}.heroValue,.nlv h2,.depotamount{overflow-wrap:anywhere}.overview>*,.editgrid>*,.settingsgrid>*{min-width:0}
/* Compact daily monitoring workspace, inspired by the portfolio sheet. */
.shell{max-width:2400px;padding:26px 2.5%}.pagehead{margin-bottom:20px}.depotnav{margin-bottom:22px}.monitor{margin:18px 0 24px}.monitorbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:10px;font-size:11px;color:var(--muted)}.monitorbar .eyebrow{margin:0;margin-right:auto;color:var(--ink)}.brokerstrip,.nominalstrip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.brokerstrip>div,.nominalstrip>div{padding:15px;border-right:1px solid var(--line)}.brokerstrip>div:last-child,.nominalstrip>div:last-child{border:0}.brokerstrip span,.nominalstrip span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.brokerstrip strong{display:block;font-size:21px;letter-spacing:-.7px;font-weight:650;overflow-wrap:anywhere}.brokerstrip small{display:block;font-size:10px;margin-top:4px;color:var(--muted)}.brokerstrip .marginfocus{background:var(--ink);color:white}.brokerstrip .marginfocus span,.brokerstrip .marginfocus small{color:#d0dbef}.nominalstrip{margin-top:10px;background:#fff7df}.nominalstrip>div{padding:11px 15px}.nominalstrip strong{font-size:15px;display:block;overflow-wrap:anywhere;font-weight:600}.monitorstamp{font-size:10px;color:var(--muted);margin:10px 0 18px}.monitorcolumns{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:16px;align-items:start}.monitorpanel{background:#fff;border:1px solid #ccd6e6;border-radius:10px;overflow:hidden;min-width:0}.monitorheading{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;gap:15px;border-bottom:2px solid var(--ink)}.monitorheading h2{font-size:17px;margin:0}.monitorheading span{font-size:10px;color:var(--muted)}.monitortable{font-size:11px}.monitortable th{font-size:9px;padding:10px 8px}.monitortable td{padding:11px 8px}.monitortable td:first-child,.monitortable th:first-child{padding-left:14px}.monitortable td:first-child strong{font-size:12px}.monitortable td small{font-size:9px}.monitortable tbody tr:nth-child(even){background:#f5f7fb}.monitortable .cellrisk{background:#fde9e5;color:#a32d35}.monitortable .cellwarn{background:#fff3cd;color:#755518}.monitortable .cellgood{background:#e6f2e7;color:#286146}.monitortable .cellrisk small,.monitortable .cellwarn small{color:inherit}.monitorlegend{font-size:9px;line-height:1.6;color:var(--muted);padding:12px 14px;border-top:1px solid var(--line);margin:0}.extendedview{margin:18px 0 28px;border-top:1px solid var(--line);padding-top:8px}.extendedview>summary{font-size:13px;font-weight:600}.extendedview .overview{margin-top:18px}@media(min-width:1900px){.monitortable{font-size:12px}.monitortable th{font-size:10px}.monitortable td{padding:12px 10px}}@media(max-width:1400px){.monitorcolumns{grid-template-columns:1fr}.brokerstrip strong{font-size:18px}.nominalstrip strong{font-size:13px}}@media(max-width:900px){.brokerstrip,.nominalstrip{grid-template-columns:repeat(3,minmax(0,1fr))}.brokerstrip>div,.nominalstrip>div{border-bottom:1px solid var(--line)}.brokerstrip strong{font-size:18px}}@media(max-width:600px){.shell{padding:24px 5%}.brokerstrip,.nominalstrip{grid-template-columns:repeat(2,minmax(0,1fr))}.brokerstrip>div{padding:12px}.brokerstrip strong{font-size:17px}.monitorbar{gap:8px}.monitorstamp{font-size:10px}.nominalstrip>div{padding:10px 12px}.monitorheading span{font-size:10px}}

/* Navy and warm yellow visual identity; semantic red/green only for monitoring states. */
.pagehead .button.primary{background:#f4cf62;border-color:#f4cf62;color:#1c2e52}.hero .tag,.marginfocus .tag{background:#f4cf62;color:#1c2e52}.topbar{border-top:3px solid #f4cf62}.chartline{stroke:#23477c}.nlv>a,.monitorbar>a{font-weight:600}.monitorpage .topbar{padding-top:12px;padding-bottom:12px}.monitorpage .logo{font-size:28px}.monitorpage .shell{padding-top:18px}.monitorpage .depotnav{margin-bottom:14px}.monitorpage .pagehead h1{font-size:34px;margin-bottom:8px}.monitorpage .pagehead{margin-bottom:14px}.monitorpage .alert{margin:10px 0;padding:10px 15px}.monitorpage .pagehead p.muted{margin-bottom:4px}
/* Dark portfolio workspace — navy/slate surfaces and yellow accents. */
:root{color-scheme:dark;--ink:#f4f7fc;--paper:#0d171f;--muted:#a7b4c4;--line:#30404e;--green:#ffd52a;--mint:#ffd52a;--red:#ff7c83}body{background:var(--paper);color:var(--ink)}.topbar{background:#0d171f;border-top:0;border-bottom:1px solid #253440;padding:18px 2.5%}.logo{color:#ffd52a}.logo>span{color:#f4f7fc}.logo small{color:#a7b4c4}.shell{max-width:2200px}.card,.monitorpanel,.brokerstrip,.login{background:#1b2a36;border-color:#334351;box-shadow:none}.card,.monitorpanel{border-radius:18px}.hero{background:#1b2a36;color:#f4f7fc;border:1px solid #334351}.hero .eyebrow,.hero .fine{color:#a7b4c4!important}.nlv,.smallmetric,.tablecard{background:#1b2a36}.primary,.pagehead .button.primary,button.primary{background:#ffd52a;border-color:#ffd52a;color:#15212c}.button,button{background:#253747;color:#f4f7fc;border-color:#415366}.quiet{background:transparent;border:0}.tag,.badge{background:#263b4c;color:#f4cf62}.hero .tag{background:#ffd52a;color:#15212c}.exposure .card,.nominalstrip{background:#22313e}.brokerstrip .marginfocus{background:#263b4c;border-left:3px solid #ffd52a}.brokerstrip .marginfocus span,.brokerstrip .marginfocus small{color:#bbc7d6}.brokerstrip span,.nominalstrip span,.smallmetric p{color:#a7b4c4}.monitorheading{border-color:#405466}.monitortable tbody tr:nth-child(even){background:#1e2e3a}th{background:#20313f;color:#aebfd0}td{border-color:#2c3e4c}td small{color:#acbac9}.monitortable .cellrisk{background:#43232c;color:#ff8589}.monitortable .cellwarn{background:#443a1f;color:#ffda62}.monitortable .cellgood{background:#153b30;color:#6bd5a8}.risk{color:#ff8589!important}.tablenotes,.monitorlegend,.monitorstamp,.fine,.muted{color:#a7b4c4}.depotnav a{background:#1b2a36;border-color:#334351;color:#b8c6d7}.depotnav a.active{background:#ffd52a;border-color:#ffd52a;color:#14212b}.depotcards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0 28px}.depotcard{background:#22323f;padding:24px;border:1px solid #3a4b59;transition:border-color .15s,background .15s}.depotcard:hover{background:#263947;border-color:#8291a1}.depotcard h2{font-size:24px;font-weight:550;margin:20px 0 6px}.depotcard .sectionline{justify-content:flex-start}.depotcard .sectionline>.fine{margin-left:auto}.depoticon{color:#ffd52a;font-size:28px;line-height:1}.depotamount{font-size:27px}.depotcard .button.primary{background:transparent;color:#ffd52a;border:0;padding-left:0}.depotcard summary{color:#aab9c9}.overviewwelcome{background:#1b2a36;border-radius:20px;padding:27px 30px;align-items:center}.overviewwelcome h1{font-size:clamp(30px,4vw,50px)}.overviewwelcome .eyebrow{color:#a7b4c4}.overviewwelcome .muted{margin:0}.overviewwelcome+.sectionhead{display:none}label{color:#b8c7d8}input,select{background:#101d28;border-color:#405365;color:#f4f7fc}input:focus,select:focus{outline-color:#ffd52a}.alert{background:#19372e;border-color:#335e4c;color:#b5e4cb}.alert.danger{background:#3b222c;border-color:#673840;color:#ffb3b6}.alert.warn{background:#3d341d;border-color:#66552c;color:#ffdd80}.chart{background:#12212c}.chartgrid{stroke:#354858}.chartline{stroke:#ffd52a}.dangerbutton{background:#3a252f;color:#ffb4ba;border-color:#76414d}.login .brandmark{color:#ffd52a}progress{background:#405365}progress::-webkit-progress-bar{background:#405365}progress::-webkit-progress-value{background:#ffd52a}progress::-moz-progress-bar{background:#ffd52a}.heroValue,.nlv h2{color:#fff}.yellowicon{color:#ffd52a;margin-right:10px}.strikecard{margin:20px 0 28px;padding:24px}.strikegrid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px;align-items:start}.striketable{font-size:14px}.striketable th{background:none;padding:12px 10px;color:#a7b4c4;font-size:11px;font-weight:500}.striketable td{padding:15px 10px}.striketable td:first-child,.striketable th:first-child{padding-left:0}.striketable td small{display:block;font-size:11px}.striketable a{color:#fff;text-decoration:none}.distancepill{display:inline-block;border-radius:30px;padding:4px 10px;font-size:12px;white-space:nowrap;font-weight:600}.distancepill.negative{background:#43232c;color:#ff8589}.distancepill.near{background:#44321f;color:#ffb562}.distancepill.positive{background:#143b30;color:#68d4a5}.distancepill.neutral{background:#30404e;color:#bdc9d6}.strikefocus{background:#243644;border-radius:16px;padding:23px}.strikefocus h3{font-size:20px;margin:0}.strikefocus>.muted{font-size:12px;margin:13px 0 24px}.strikefocus .sectionline{font-size:13px}.strikefocus progress{margin:18px 0;height:11px}.strikefocus .fine{margin:13px 0 0;font-size:10px}.strikeexplanation{margin:18px 0 0;font-size:10px}.login .brandmark span{color:#a7b4c4}.login .primary{color:#15212c;background:#ffd52a}.totalsgrid .smallmetric strong{color:#fff}.extendedview{border-color:#30404e}@media(max-width:800px){.strikegrid{grid-template-columns:1fr;gap:20px}.overviewwelcome{padding:22px}.depotcard{padding:20px}.depotamount{font-size:23px}}@media(max-width:600px){.depotcards{grid-template-columns:1fr}.strikecard{padding:18px}.striketable{font-size:12px}.striketable th{font-size:10px}.strikefocus{padding:17px}.strikefocus h3{font-size:17px}.overviewwelcome{align-items:flex-start}.overviewwelcome h1{font-size:32px}.depotcard .button.primary{text-align:left}.distancepill{font-size:11px;padding:4px 8px}}
.accesslink{font-size:12px;text-decoration:none}.invitebox{background:#243644;border:1px solid #8b7940;border-radius:12px;padding:20px;margin:20px 0}.invitebox p{font-size:12px}.invitebox input{font-family:ui-monospace,monospace;font-size:12px}#access{margin-top:28px;scroll-margin-top:25px}#access td form{white-space:normal;min-width:175px}#access .check{font-size:11px}#access h3{margin-top:25px}

.quotecontrol{padding:22px 26px;margin:18px 0 28px;border-left:4px solid #ffd52a}.quotecontrol h2{font-size:1.15rem;margin:6px 0 10px}.quotecontrol p{max-width:1100px}.quotecontrol details{margin-top:12px}.quotecontrol #quotes-status{font-size:.9rem;color:#ffd52a}.quotecontrol button[hidden]{display:none}
@media(max-width:600px){.quotecontrol{padding:18px;margin:12px 0 20px}.quotecontrol h2{font-size:1.05rem}}

/* Compact quote status; explanations only occupy space when opened. */
.quotecontrol{position:relative;padding:12px 16px;margin:10px 0 16px;border-left-width:3px;border-radius:10px}.quotestatusrow{display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap;padding-right:64px;min-height:24px}.quotecontrol .quotestatusrow h2{font-size:13px;line-height:1.4;margin:0;white-space:nowrap}.quotecontrol .quotestatusrow h2::first-letter{color:#ffd52a}.quotecontrol #quotes-status{font-size:12px;line-height:1.4;margin:0;flex:1;min-width:180px}.quotecontrol .quoteinfo{margin:0;border:0;padding:0}.quotecontrol .quoteinfo>summary{position:absolute;right:16px;top:14px;font-size:12px;line-height:18px;color:#a7b4c4}.quotecontrol .quoteinfo[open]{padding-top:12px;margin-top:10px;border-top:1px solid #334351}.quotecontrol .quoteinfo p{font-size:12px;margin:8px 0;line-height:1.5}.quotecontrol #quotes-reload{font-size:12px;padding:5px 9px;margin:0}.quotecontrol button[hidden]{display:none}@media(max-width:600px){.quotecontrol{padding:10px 12px;margin:8px 0 12px}.quotestatusrow{gap:5px;padding-right:54px}.quotecontrol .quoteinfo>summary{right:12px;top:11px}.quotecontrol #quotes-status{flex-basis:100%;min-width:0;font-size:11px}.quotecontrol .quotestatusrow h2{font-size:12px}}

/* One distance bar per option; Strike Monitor uses the full card width. */
.strike-list-only{display:block}.striketable .strikebarcell{width:28%;min-width:160px;text-align:left;padding-left:24px}.strike-row-bar{display:block;width:100%;height:9px;margin:4px 0 7px;border:0;border-radius:99px;overflow:hidden;accent-color:#ffd52a}.strike-row-bar::-webkit-progress-bar{background:#405365;border-radius:99px}.strike-row-bar::-webkit-progress-value{background:#ffd52a;border-radius:99px}.strike-row-bar::-moz-progress-bar{background:#ffd52a;border-radius:99px}.striketable .strikebarcell small{font-size:11px;color:#a7b4c4}@media(max-width:600px){.striketable .strikebarcell{min-width:125px;padding-left:14px}.strike-list-only .striketable{min-width:620px}}

/* DTE badge: only the remaining days receive the color treatment. */
table td .dte-pill{display:flex;width:max-content;margin-left:auto;align-items:center;justify-content:center;min-width:62px;gap:4px;padding:4px 10px;margin-top:6px;border:1px solid;border-radius:999px;font-size:11px;font-weight:650;line-height:1.25;white-space:nowrap}table td .dte-urgent{background:#43232c;color:#ff8589;border-color:#7e424d}table td .dte-soon{background:#44321f;color:#ffb562;border-color:#856039}table td .dte-later{background:#143b30;color:#68d4a5;border-color:#306954}@media(max-width:600px){table td .dte-pill{min-width:56px;padding:4px 8px;font-size:10px}}

.flex-admin,.flex-depot{padding:16px 20px;margin:14px 0}.flex-admin>summary{font-weight:650;color:#ffd52a;cursor:pointer}.flex-admin .settingsgrid{margin-top:16px}.flex-admin table td form{min-width:230px;white-space:normal}.flex-admin code{overflow-wrap:anywhere}.flex-depot details{margin-top:10px}.flex-depot>p{margin:10px 0}.flex-admin input[readonly]{font-family:ui-monospace,monospace;font-size:12px}.flex-depot table{font-size:12px}.flex-admin .check{font-size:12px;white-space:normal}

.flex-connection{margin:1.2rem 0;padding:1.25rem;border:1px solid #39505f;border-radius:16px;background:#152631}
.flex-connection>summary{font-weight:700;color:#ffda28;cursor:pointer}
.flex-connection .settingsgrid{margin-top:1rem}

.performance-card{margin:1.5rem 0;padding:1.5rem}.performance-card .sectionhead{padding:0;margin-bottom:1rem}.performance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.performance-depot{min-width:0;padding:1.2rem;background:#152631;border:1px solid #39505f;border-radius:16px}.performance-depot h3{margin:0}.performance-value{font-size:1.7rem;color:#ffda28}.performance-value.risk{color:#ff8188}.performance-svg{display:block;width:100%;height:auto;min-height:150px;overflow:visible}.performance-svg text{fill:#afbecb;font-size:17px}.perf-gridline{stroke:#607281;stroke-dasharray:5 5}.performance-line{fill:none;stroke:#ffda28;stroke-width:3}.performance-dot{fill:#ffda28;stroke:#152631;stroke-width:1}.performance-dot:hover,.performance-dot:focus{r:7;outline:none;stroke:#fff;stroke-width:2}.performance-empty{padding:2rem 0;color:#afbecb}.performance-import{margin-top:1.25rem}.performance-import form{max-width:680px}@media(max-width:760px){.performance-grid{grid-template-columns:1fr}.performance-card{padding:1rem}.performance-value{font-size:1.35rem}}

/* Performance: readable axis labels on phones, no overlapping range extrema. */
.performance-plot{position:relative;margin:1rem 0 0 2.5rem;min-width:0}
.performance-plot .performance-svg{width:100%;height:clamp(180px,22vw,300px);min-height:0;overflow:hidden}
.performance-zero{position:absolute;left:-2.5rem;transform:translateY(-50%);font-size:.85rem;line-height:1;white-space:nowrap;color:#afbecb}
.performance-dates{display:flex;justify-content:space-between;gap:1rem;margin:.5rem 0 1rem 2.5rem;font-size:.85rem;color:#afbecb;font-variant-numeric:tabular-nums}
.performance-depot .sectionline{flex-wrap:wrap;gap:.5rem}
.performance-depot .fine{overflow-wrap:anywhere}
@media(max-width:760px){.performance-depot{padding:1rem}.performance-card .sectionhead{flex-wrap:wrap;gap:.5rem}.performance-depot .performance-value{font-size:1.65rem}.performance-dates{font-size:.75rem}.performance-plot{margin-left:2rem}.performance-zero{left:-2rem;font-size:.8rem}.performance-dates{margin-left:2rem}.performance-depot details .scroll{max-width:100%}}

.goldesel-performance-layout{grid-template-columns:minmax(180px,240px) minmax(0,1fr)}
.goldesel-start .performance-value{display:block;margin:1rem 0}
@media(max-width:760px){.goldesel-performance-layout{grid-template-columns:minmax(0,1fr)}}

/* Compact performance cards in the all-depots administration overview only. */
.performance-overview{padding:1rem;margin:1rem 0}
.performance-overview .sectionhead{margin-bottom:.65rem}
.performance-overview .sectionhead h2{font-size:1.2rem;margin:.25rem 0}
.performance-overview .sectionhead .eyebrow{font-size:.65rem;margin:0}
.performance-overview>.fine{display:none}
.performance-overview .performance-grid{gap:.75rem}
.performance-overview .performance-depot{padding:.8rem;border-radius:12px}
.performance-overview .performance-depot h3{font-size:1rem}
.performance-overview .performance-value{font-size:1.4rem}
.performance-overview .performance-depot>.fine{font-size:.72rem;line-height:1.4;margin:.4rem 0}
.performance-overview .performance-depot>.performance-dates+.fine{display:none}
.performance-overview .performance-plot{margin:.35rem 0 0 2rem}
.performance-overview .performance-plot .performance-svg{height:140px;min-height:0}
.performance-overview .performance-zero{left:-2rem;font-size:.7rem}
.performance-overview .performance-dates{font-size:.7rem;margin:.2rem 0 .4rem 2rem}
.performance-overview .performance-empty{padding:.75rem 0;font-size:.8rem;line-height:1.4}
.performance-overview .performance-depot details{margin-top:.35rem;font-size:.75rem}
.performance-overview .performance-import{margin-top:.75rem;font-size:.8rem}
@media(min-width:1600px){.performance-overview .performance-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.performance-overview .performance-grid{grid-template-columns:minmax(0,1fr)}.performance-overview .performance-depot .performance-value{font-size:1.3rem}.performance-overview .performance-plot .performance-svg{height:125px}.performance-overview .sectionhead .tag{font-size:.7rem}}

.performance-baseline-key{font-size:.72rem;color:#afbecb;margin:.25rem 0 .5rem 2.5rem;line-height:1.4}.performance-baseline-key::before{content:'';display:inline-block;width:20px;border-top:1px dashed #607281;vertical-align:middle;margin-right:7px}.performance-overview .performance-baseline-key{margin-left:2rem;font-size:.68rem}.performance-overview .performance-baseline-key+.fine{display:none}@media(max-width:760px){.performance-baseline-key{margin-left:2rem}}

/* Stretched native link: the source disclosure stays independently interactive. */
.performance-linked{position:relative;isolation:isolate;transition:border-color .15s,background-color .15s}
.performance-dashboard-link{position:absolute;inset:0;z-index:1;border-radius:inherit;color:inherit;text-decoration:none}
.performance-dashboard-link:focus-visible{outline:3px solid #ffda28;outline-offset:3px}
.performance-linked:hover{border-color:#ffda28;background:#1b303d}
.performance-linked details{position:relative;z-index:2}
.performance-link-label{position:absolute;right:.8rem;bottom:.7rem;font-size:.68rem;color:#ffda28;background:#152631;padding:2px 5px;border-radius:4px}
.performance-linked{padding-bottom:2.1rem!important}

/* Compact depot balance cards, with readable mobile touch targets. */
.depotcards{gap:12px;margin:12px 0 20px;align-items:start}
.depotcards .depotcard{padding:15px 17px;border-radius:14px;min-width:0}
.depotcards .depotcard .sectionline{gap:8px}
.depotcards .depotcard .tag{font-size:10px;padding:3px 8px}
.depotcards .depoticon{font-size:21px}
.depotcards .depotcard h2{font-size:19px;margin:10px 0 4px;line-height:1.25}
.depotcards .depotamount{font-size:23px;line-height:1.25;margin:0 0 8px;letter-spacing:-.6px}
.depotcards .depotcard p.fine{font-size:11px;line-height:1.4;margin:0 0 7px}
.depotcards .depotcard .button.primary{font-size:12px;margin:0;padding:6px 0;min-height:36px;line-height:24px}
.depotcards .depotcard details{margin-top:5px;border-top:1px solid #3a4b59}
.depotcards .depotcard summary{font-size:11px;padding:6px 0;min-height:32px}
@media(min-width:1250px){.depotcards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:601px) and (max-width:1249px){.depotcards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.depotcards{grid-template-columns:minmax(0,1fr);gap:9px}.depotcards .depotcard{padding:12px 14px}.depotcards .depotcard .button.primary{min-height:44px}.depotcards .depotcard summary{min-height:44px}}

.long-table{max-height:480px;overflow:auto;position:relative;overscroll-behavior:contain}.long-table thead th{position:sticky;top:0;z-index:3;background:#20313f;box-shadow:0 1px #405466}.chart-readout{font-size:.75rem;color:#ffda28;min-height:1.6em;margin:.25rem 0 .25rem 2rem;pointer-events:none}.striketable th small{display:block;font-size:10px;font-weight:400}td[title]{cursor:help}@media(max-width:600px){.long-table{max-height:360px}}

.performance-svg:focus:not(:focus-visible){outline:none}.performance-svg:focus-visible{outline:2px dashed #ffda28;outline-offset:4px}.performance-crosshair{stroke:#b8c6d7;stroke-width:1;stroke-dasharray:5 5;pointer-events:none}

/* Individual depot: balance sheet beside a full-width performance chart. */
.performance-single .performance-detail-grid{grid-template-columns:minmax(250px,310px) minmax(0,1fr);align-items:start;gap:18px}
.performance-single .performance-detail-grid>.performance-depot{width:100%;min-width:0}
.depot-summary h3{margin:0 0 5px}.summary-broker-link{font-size:11px;display:inline-block;margin-bottom:10px}
.depot-summary .brokerstrip,.depot-summary .nominalstrip{display:grid;grid-template-columns:1fr 1fr;border-radius:9px;margin:0 0 10px}
.depot-summary .brokerstrip>div,.depot-summary .nominalstrip>div{padding:9px 10px;border:0;border-bottom:1px solid #344654;min-width:0}
.depot-summary .brokerstrip>div:first-child{grid-column:1/-1}
.depot-summary .brokerstrip span,.depot-summary .nominalstrip span{font-size:10px;line-height:1.35;display:block}
.depot-summary .brokerstrip strong,.depot-summary .nominalstrip strong{display:block;font-size:15px;line-height:1.4;margin:4px 0;overflow-wrap:anywhere;white-space:normal}
.depot-summary .brokerstrip>div:first-child strong{font-size:24px}
.depot-summary .brokerstrip small{font-size:10px}.depot-summary .monitorstamp{font-size:10px;line-height:1.45;margin:8px 0}
.depot-summary .goldesel-start{border-top:1px solid #344654;padding-top:10px;margin-top:12px}.depot-summary .goldesel-start p{font-size:12px;margin:5px 0}
.performance-single .performance-plot .performance-svg{height:clamp(240px,24vw,380px)}
.performance-months{position:relative;height:38px;margin:0 16px 0 2.5rem;pointer-events:none}
.performance-months span{position:absolute;top:4px;font-size:10px;color:#afbecb;white-space:nowrap;transform:translateX(-50%) rotate(-40deg);transform-origin:center top}
.performance-month-tick{stroke:#607281;stroke-width:1}
.performance-overview .performance-months{display:none}.performance-overview .performance-month-tick{display:none}
@media(max-width:900px){.performance-single .performance-detail-grid{grid-template-columns:minmax(0,1fr)}.performance-single .depot-summary{order:0}.performance-single .performance-plot .performance-svg{height:240px}.performance-months{margin-left:2rem;height:48px}.performance-months span{font-size:9px;transform:translateX(-50%) rotate(-65deg)}}

.performance-hover-dot{fill:#ffda28;stroke:none;pointer-events:none}

/* Keep the pointer readout below the month labels at every viewport width. */
.performance-months+.chart-readout{margin-top:.45rem;margin-left:2.5rem}
@media(max-width:900px){.performance-months+.chart-readout{margin-left:2rem}}

/* Quiet pointer feedback: no layout movement and no sticky touch hover. */
@media (hover:hover) and (pointer:fine){
  tbody td{transition:box-shadow 140ms ease}
  tbody tr:hover>td{box-shadow:inset 0 0 0 9999px rgba(255,255,255,.035)}
  .monitortable tbody tr:hover>td:first-child,.striketable tbody tr:hover>td:first-child{box-shadow:inset 3px 0 #ffda28,inset 0 0 0 9999px rgba(255,255,255,.035)}
  .strike-row-bar{transition:filter 160ms ease}
  .striketable tbody tr:hover .strike-row-bar{filter:brightness(1.15) drop-shadow(0 0 4px rgba(255,213,42,.25))}
  .performance-line{transition:filter 160ms ease}
  .performance-plot:hover .performance-line{filter:drop-shadow(0 0 3px rgba(255,218,40,.3))}
  .performance-linked:hover{box-shadow:0 0 0 1px rgba(255,218,40,.18)}
  button,.button,.depotnav a,summary{transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease}
  button:hover,.button:hover,.depotnav a:hover{box-shadow:0 0 0 2px rgba(255,218,40,.18);filter:brightness(1.06)}
  summary:hover{color:#ffe66d}
}
button:active,.button:active,.depotnav a:active{filter:brightness(.92)}
@media (prefers-reduced-motion:reduce){
  tbody td,.strike-row-bar,.performance-line,.performance-linked,.depotcard,button,.button,.depotnav a,summary{transition:none!important}
}

/* Reserve space between the row accent and instrument labels, also at rest. */
.monitortable tbody td:first-child,.striketable tbody td:first-child{padding-left:18px}
