/* Same palette, denser product surfaces; guidance is separate navy chrome. */
.mt-page{display:grid;gap:16px;min-width:0}.mt-readable{max-width:920px}
.mt-box{min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:16px}
.mt-box>header,.mt-portfolio-area>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.mt-box h2,.mt-portfolio-area h2{font-size:16px!important;margin:0 0 6px}
.mt-box h3{font-size:14px;margin:8px 0}.mt-box p{font-size:13px;line-height:1.6;margin:8px 0}
.mt-box header p{margin:0;color:var(--muted)}
.mt-icon{width:20px;height:20px;flex:none;color:var(--hc-ink);vertical-align:middle;margin-right:6px}
.mt-trading-icon{color:var(--primary)}
.mt-label{display:inline-flex;font-size:12px;white-space:nowrap;padding:3px 7px;border:1px solid var(--border);border-radius:4px;color:var(--muted);font-weight:500}
.mt-eyebrow{font-size:11px!important;font-weight:600;letter-spacing:.05em;color:var(--muted)}
.mt-steps{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 4px}
.mt-steps a{display:flex;gap:6px;align-items:center;text-decoration:none;color:var(--muted);font-size:12px;min-height:36px;padding:4px 8px;border-bottom:2px solid transparent}
.mt-steps a[aria-current]{color:var(--primary);border-color:var(--primary)}
.mt-steps a>span{font-size:11px;border:1px solid var(--border);width:20px;height:20px;border-radius:50%;display:grid;place-items:center}
.mt-terminal{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) 340px;align-items:start}
.mt-market-context{display:grid;gap:16px;min-width:0}.mt-ticket{position:sticky;top:18px}
.mt-market-context canvas{width:100%;height:220px}
.mt-quotes{display:flex;gap:28px;align-items:center;padding:18px 0}
.mt-quotes small{display:block;font-size:12px;color:var(--muted)}.mt-quotes strong{font-size:28px;font-weight:600}.mt-quotes b{font-size:14px}
.mt-form{display:grid;gap:12px}.mt-form label,.mt-filters label,.mt-health-scope label,.mt-scenarios label{display:grid;gap:6px;font-size:12px;color:var(--muted)}
.mt-form input,.mt-form select,.mt-filters select,.mt-health-scope select,.mt-scenarios select{width:100%;min-width:0;max-width:100%;height:40px;padding:8px 10px;border:1px solid var(--control);border-radius:5px;background:var(--surface);color:var(--text);font:inherit;font-size:13px}
.mt-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.mt-order-total{display:grid;gap:8px;padding:16px 0;margin:12px 0;border-block:1px solid var(--border);font-size:12px}
.mt-order-total b{font-size:27px;font-weight:600;font-variant-numeric:tabular-nums}.mt-order-total small{color:var(--muted);line-height:1.5}
.mt-full{width:100%;justify-content:center;min-height:44px}.mt-secondary{display:block;text-align:center;padding:14px;font-size:12px}
.mt-scenarios{margin-top:12px!important}.mt-scenarios summary{font-size:12px!important}
.mt-monitors{border-color:var(--hc-line)}.mt-monitors>header h2{color:var(--hc-ink)}
.mt-monitor-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--border)}
.mt-monitor-row>div{flex:1;min-width:0}.mt-monitor-row b{font-size:13px;font-weight:550}
.mt-monitor-row small{display:block;font-size:12px;margin-top:4px;line-height:1.4}
.mt-toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;white-space:nowrap}
.mt-toggle input{width:18px;height:18px;accent-color:var(--hc-ink)}
.mt-info{display:grid;place-items:center;min-width:44px;min-height:44px;color:var(--hc-ink);font-size:13px;text-decoration:none;border-radius:6px;background:var(--hc-fill)}
.mt-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px;font-size:13px}
.mt-footnote{color:var(--muted);font-size:12px!important;line-height:1.5}
.mt-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.mt-stats small{display:block;font-size:12px;color:var(--muted)}.mt-stats b{display:block;font-size:18px;margin-top:6px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mt-portfolio-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mt-portfolio-cards .mt-stats{grid-template-columns:1fr 1fr}.mt-coverage{display:flex;gap:5px;align-items:center;font-size:12px;color:var(--hc-ink);line-height:1.5}
.mt-portfolio-area{margin:16px 0}.mt-view-switch{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:16px}
.mt-view-switch button{font:inherit;font-size:13px;border:0;background:none;color:var(--muted);padding:12px 14px;min-height:44px;border-bottom:2px solid transparent;cursor:pointer}
.mt-view-switch button[aria-pressed=true]{color:var(--text);border-color:var(--primary);font-weight:600}
.mt-manual-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mt-manual-summary>div{display:flex;flex-direction:column;gap:8px;font-size:13px;padding:12px;background:var(--bg);border-radius:6px}
.mt-home-manual{margin:14px 0}.mt-home-manual .mt-empty{margin:14px 0 0}.mt-home-manual .mt-footnote{margin-bottom:0}
.mt-order-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:20px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border);font-size:13px}
.mt-order-list small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.mt-order-list b{font-weight:550}
.mt-order-list article:last-child{border-bottom:0}.mt-empty{font-size:13px;color:var(--muted)}
.mt-filters{display:flex;gap:12px;flex-wrap:wrap}.mt-filters>label{min-width:145px}
.mt-health-scope{margin-bottom:16px;max-width:420px}
.mt-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.mt-check-grid>div{display:flex;align-items:center;gap:8px;padding:12px;background:var(--bg);border-radius:6px;font-size:12px}
.mt-check-grid>div>span{flex:1}.mt-check-grid small{display:block;margin-top:4px;line-height:1.5;color:var(--muted)}
.mt-plain-order{font-size:19px!important;line-height:1.5!important;max-width:65ch}
.mt-review-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;font-size:13px;margin:24px 0}
.mt-review-facts dt{color:var(--muted);font-size:12px}.mt-review-facts dd{margin:5px 0 0;font-weight:550}
.mt-finding,.mt-message{padding:14px;border-left:3px solid var(--warning);background:var(--bg);border-radius:3px;font-size:13px}
.mt-finding label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px}
.mt-error{color:var(--error)}.mt-error:empty{display:none}
.mt-thread{display:flex;gap:8px;padding:0;list-style:none;flex-wrap:wrap;margin:24px 0}
.mt-thread li{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);padding:8px}
.mt-thread li>span{border:1px solid var(--border);border-radius:50%;width:22px;height:22px;display:grid;place-items:center}
.mt-thread li[aria-current]{color:var(--primary);background:var(--selected)}
.mt-event-log{list-style:none;padding:0}.mt-event-log li{display:grid;grid-template-columns:70px 1fr;gap:16px;border-left:2px solid var(--border);padding:10px 16px}.mt-event-log span{font-size:12px;color:var(--muted)}.mt-event-log p{margin:0}
.mt-market-entry{display:flex;align-items:center;gap:16px;font-size:13px;padding:12px 0}.mt-market-entry>span{margin-right:auto;color:var(--muted)}
.mt-trade-link{font-weight:600}.mt-shimmer{height:4px;margin-top:12px;background:linear-gradient(90deg,var(--border),var(--surface),var(--border));background-size:200% 100%;animation:mt-load 1s infinite linear}
@keyframes mt-load{to{background-position:-200% 0}}
/* Single compact guide; no yellow warning treatment, duplicate banner or overlay. */
.main .journey-guide.mt-tour{background:#1A2035!important;color:#F4F5F8!important;border:1px solid #35415E!important;border-radius:8px;padding:0!important;box-shadow:none!important;margin:4px 0 20px!important;overflow:visible}
.mt-tour-top{display:flex;align-items:center;gap:12px;min-height:38px;padding:0 14px;border-bottom:1px solid #35415E;font-size:11px;color:#C3CBDA}
.mt-tour-top>a{font-size:10px;letter-spacing:.09em;font-weight:650;color:#D3DEEF;text-decoration:none}
.mt-tour-count{margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}
.main .mt-tour .journey-close{color:#D3DEEF!important;background:transparent!important;border:0!important;width:36px;min-height:36px;font-size:23px;flex:none}
.mt-tour-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:12px 16px 8px}
.main .mt-tour h2{color:#F4F5F8!important;font-size:15px!important;font-weight:600;line-height:1.4;margin:0 0 4px!important}
.main .mt-tour p{color:#C3CBDA!important;font-size:12px;line-height:1.5;max-width:95ch;margin:0}
.mt-tour-controls{display:flex;gap:6px;flex-shrink:0}
.main .journey-guide.mt-tour .button{background:#252E46!important;color:#E6EAF2!important;border:1px solid #52607B!important;min-height:36px;padding:7px 11px;font-size:12px;white-space:nowrap}
.main .journey-guide.mt-tour .button.primary{background:#E8EDF5!important;color:#1A2035!important;border-color:#E8EDF5!important}
.main .journey-guide.mt-tour .button:disabled{opacity:.35}
.mt-tour-foot{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:0 16px 8px;font-size:10px;color:#BCC5D6}
.main .mt-tour-foot details{margin:0!important;border:0!important;background:transparent!important;padding:0!important}
.main .mt-tour-foot summary{font-size:11px!important;min-height:28px!important;padding:4px 0!important;color:#D3DEEF!important;cursor:pointer}
.mt-tour-foot details[open]{flex:1}.mt-tour-foot:has(details[open])>span{display:none}
.mt-tour-foot ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:8px 0}
.mt-tour-foot button{display:flex;gap:6px;align-items:center;font:inherit;font-size:12px;background:#252E46;border:1px solid #52607B;color:#D3DEEF;border-radius:4px;min-height:36px;padding:7px 10px;cursor:pointer}
.mt-tour-foot button[aria-current]{background:#E8EDF5;color:#1A2035}
.main .journey-guide.mt-tour progress{display:block;width:100%;height:2px;border:0;margin:0;background:#35415E;accent-color:#A4B7D6;border-radius:0 0 8px 8px}
.main .journey-guide.mt-tour progress::-webkit-progress-bar{background:#35415E}.main .journey-guide.mt-tour progress::-webkit-progress-value{background:#A4B7D6}.main .journey-guide.mt-tour progress::-moz-progress-bar{background:#A4B7D6}
.main .journey-pointer.mt-tour-marker{display:flex;width:max-content;max-width:100%;gap:8px;padding:0!important;margin:4px 0 8px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--text);font-size:12px}
.main .mt-tour-marker>span:first-child{display:grid!important;place-items:center;width:24px;height:24px;background:#1A2035;color:#F4F5F8;border-radius:50%;font-size:12px;font-weight:600}
.main .mt-tour-marker>b{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:0}
.main .journey-target{outline:1px solid #7183A1!important;outline-offset:3px!important;border-radius:6px;scroll-margin-top:18px}
.top-actions .journey-top-launch{background:#1A2035!important;color:#E8EDF5!important;border:1px solid #52607B!important;border-radius:5px;font-size:12px}
.mt-tour-invite{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;margin-bottom:12px;border-bottom:1px solid var(--border)}
.mt-tour-invite h2{font-size:16px!important;margin:5px 0}.mt-tour-invite p{font-size:12px;color:var(--muted);margin:0}
.mt-tour-options{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1000px;margin-top:24px}
.mt-tour-options article{padding:28px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}
.mt-tour-number{font-size:12px;letter-spacing:.1em;color:var(--muted)}.mt-tour-options h2{font-size:22px;margin:24px 0 12px}
.mt-tour-options p{color:var(--muted);font-size:14px;line-height:1.6;min-height:72px}.mt-tour-options small{display:block;font-size:12px;color:var(--muted);margin-top:14px}
.main .mt-tour :focus-visible{outline:2px solid #D3DEEF!important;outline-offset:3px}
@media(max-width:1100px){.mt-terminal{grid-template-columns:minmax(0,1fr) 310px}.mt-tour-body{grid-template-columns:1fr}.mt-tour-controls{justify-content:flex-end}.mt-tour-options p{min-height:0}}
@media(max-width:850px){.mt-terminal{grid-template-columns:minmax(0,1fr)}.mt-ticket{position:static}.mt-market-context{order:2}.mt-ticket{order:1}.mt-check-grid{grid-template-columns:1fr}.mt-quotes{gap:20px}.mt-market-entry{flex-wrap:wrap}}
@media(max-width:600px){
 .mt-box{padding:14px}.mt-portfolio-cards,.mt-manual-summary,.mt-tour-options{grid-template-columns:1fr}
 .mt-box>header{flex-wrap:wrap;gap:10px}.mt-stats{grid-template-columns:1fr 1fr}
 .mt-form input,.mt-form select,.mt-filters select,.mt-health-scope select,.mt-scenarios select{font-size:16px;min-height:44px}
 .mt-steps{gap:2px}.mt-steps a{font-size:11px;padding:4px 6px;min-height:44px}.mt-steps a>span{display:none}
 .mt-order-list article{grid-template-columns:minmax(0,1fr) auto;gap:12px}.mt-order-list article>a{grid-column:1/-1;min-height:36px;display:flex;align-items:center}
 .mt-order-list article>div:first-child{min-width:0}.mt-filters{display:grid;grid-template-columns:1fr 1fr}.mt-filters>label:first-child{grid-column:1/-1}
 .mt-filters>label{min-width:0}.mt-review-facts{gap:12px}.mt-plain-order{font-size:17px!important}
 .mt-monitors .mt-monitor-row{gap:6px}.mt-monitor-row>.mt-icon{width:18px;margin-right:2px}
 .mt-toggle{gap:5px}.mt-info{min-width:36px}.mt-view-switch button{padding:10px;font-size:12px}
 .mt-tour-top{gap:8px;padding:0 10px}.mt-tour-top>a{font-size:9px}.mt-tour-top>span:nth-child(2){font-size:10px}
 .mt-tour-body{gap:10px;padding:12px}.main .mt-tour h2{font-size:15px!important}.mt-tour-controls{justify-content:stretch}
 .main .journey-guide.mt-tour .button{min-height:44px}.mt-tour-controls>.primary{flex:1;justify-content:center}
 .mt-tour-foot{padding:0 12px 6px;gap:6px}.mt-tour-foot>span{font-size:10px;max-width:65%}
 .mt-tour-foot button{min-height:44px}.mt-tour-options article{padding:22px}.mt-tour-options h2{font-size:20px}
 .mt-tour-invite{align-items:flex-start}.mt-tour-invite .button{font-size:12px}.mt-thread{gap:3px}.mt-thread li{font-size:11px;padding:6px}
}
@media(prefers-reduced-motion:reduce){.mt-shimmer{animation:none}}

/* Health colour is a small identifier, not a page-wide wash. */
:root{--hc-ink:#365F93;--hc-fill:#F0F4F8;--hc-line:#D5DEE8}
[data-theme=dark]{--hc-ink:#A7BEDC;--hc-fill:#1D2631;--hc-line:#374352}
.hc-intro{background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--hc-ink);padding:16px}
.hc-intro h2{font-size:17px}
.hc-intro p{font-size:13px}
.hc-eyebrow{color:var(--muted);font-size:11px;letter-spacing:.04em}
.main .hc-type-group{border-color:var(--border);margin:8px 0}
.main .hc-type-group>summary{background:var(--surface);padding:14px 16px}
.main .hc-type-group[open]>summary{background:var(--bg);border-bottom:1px solid var(--border)}
.hc-type-title b{color:var(--text);font-size:13px;display:flex;align-items:center;gap:6px}
.hc-type-title small{margin-top:3px}
.hc-summary{gap:20px}
.hc-summary a{font-size:12px}
.guard-tile,.main details.run-guard{background:var(--surface);border-color:var(--border)}
.guard-tile-title{color:var(--text)}
.guard-tile-title>span:first-child,.guard-tile-title>span:last-child{color:var(--hc-ink)}
.mt-monitors{border-color:var(--border)}
.mt-monitors>header h2{color:var(--text)}
.mt-info{background:transparent;border:1px solid var(--border)}
.mt-monitor-row .mt-info:hover{background:var(--hc-fill)}
.mt-market-context canvas{display:block;max-width:100%}
.mt-eyebrow,.mt-tour-top,.mt-tour-top>a,.mt-tour-foot,.mt-tour-foot>span{font-size:12px!important}
.mt-tour-top>a{letter-spacing:.03em}
.main .mt-tour-foot summary{font-size:12px!important}
.mt-box details{overflow-wrap:anywhere}
.mt-home-strip{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:0 0 12px}
.mt-invite-close{background:none;border:0;font-size:22px;min-width:44px;min-height:44px;color:var(--muted);cursor:pointer}
.mt-tour-invite>div{flex:1}.mt-tour-invite h2{font-size:14px!important}
.main:has(.mt-tour) #mt-setup [data-mt-tour]{display:none}
.mt-home-manual{scroll-margin-top:20px}
.wb-protection-summary{background:var(--surface);border-color:var(--border);border-left:3px solid var(--hc-ink);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 24px;padding:12px}
.wb-protection-summary h2{color:var(--text)}
.wb-protection-summary>p{grid-column:1/-1;margin:0}
.wb-protection-summary>div>p{margin:3px 0 0}
.wb-protection-counts{justify-content:flex-end;margin:0;gap:20px}
.wb-protection-counts b{font-size:16px}
.wb-protection{background:var(--surface)!important;border-color:var(--border)!important}
@media(max-width:600px){
 .mt-tour-top{flex-wrap:wrap;gap:6px;position:relative;padding:8px 48px 8px 12px}
 .mt-tour-top>a{flex-basis:100%}
 .mt-tour-top .journey-close{position:absolute;right:6px;top:5px;min-height:44px;width:44px}
 .mt-tour-foot>span{max-width:68%}
 .mt-info{min-width:44px}
 .mt-tour-invite{flex-wrap:wrap;position:relative;padding-right:34px}
 .mt-tour-invite>div{flex-basis:100%}
 .mt-tour-invite .mt-invite-close{position:absolute;right:-8px;top:8px}
 .wb-protection-summary{grid-template-columns:1fr;gap:8px}
 .wb-protection-counts{justify-content:flex-start;gap:12px}
}
.workspace-coverage{padding:0!important}
.workspace-coverage>details>summary{display:flex;align-items:center;gap:16px;cursor:pointer;padding:12px 16px;list-style:none;font-size:12px}
.workspace-coverage>details>summary::-webkit-details-marker{display:none}
.workspace-coverage>details>summary>span:first-child{flex:1}
.workspace-coverage>details>summary b{display:block;font-size:13px;color:var(--text)}
.workspace-coverage>details>summary small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.workspace-coverage .guard-tiles{padding:0 16px 12px}
.workspace-coverage .coverage-library{display:block;padding:0 16px 12px;font-size:12px}
.workspace-coverage .coverage-expand{color:var(--muted)}
@media(min-width:1000px){.cc-bot{padding:12px 0}.cc-bot .wb-protection{padding:6px 10px;margin:6px 0}.cc-bot .cc-rules{padding:4px 0 0}.cc-bot .cc-rules>summary{padding:0;min-height:30px}.cc-bot-bottom{margin:6px 0}.cc-bot .wb-protection>summary{min-height:28px;padding:0}}
@media(max-width:600px){.workspace-coverage>details>summary{gap:8px;padding:10px 12px;flex-wrap:wrap}.workspace-coverage>details>summary>span:first-child{flex-basis:55%}.workspace-coverage .coverage-expand{display:none}}
