
/* White canvas, navy data header, restrained brand ochre. Approved desktop presentation. */
body.compact-bonds{--nav:188px;--blue:#245672;--amber:#A57B38;--ink:#152f49;--line:#e1e8ee;--muted:#60778b;background:#fff;font-size:13px}
.compact-bonds .sidebar{background:#f5f7f9;color:var(--ink);border:0;padding:20px 12px}
.compact-bonds .wordmark{font-size:25px;line-height:1.04}.compact-bonds .wordmark span{color:#A57B38}
.compact-bonds .navitem{color:#29475e}.compact-bonds .navitem.active{background:#f1ece3;color:#163247;border-left:3px solid #A57B38}
.compact-bonds .main{background:#fff;height:auto;min-height:100vh}.compact-bonds .topline{height:46px;background:white;padding:0 24px}
.compact-bonds #bond-app{padding:20px 24px 32px}.compact-bonds .bond-mode-head{display:grid;grid-template-columns:1fr auto;gap:8px;margin:0 0 12px;align-items:end}.compact-bonds .bond-mode-head h1{font-size:32px;margin:0;grid-column:1/-1;line-height:1.2}.compact-bonds .bond-mode-head nav{gap:24px;display:flex;border-bottom:1px solid var(--line)}
.compact-bonds .bond-mode-head nav button{padding:8px 0 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;font-size:14px}.compact-bonds .bond-mode-head nav button[aria-current=page]{color:#906525;border-color:#A57B38}.compact-bonds .small-basis{font-size:12px}
.compact-bonds .screening-panel{border:0;border-radius:0;box-shadow:none;background:white;margin-bottom:10px}.compact-bonds .filter-matrix-heading{display:none}
.compact-bonds .filter-preview-v4.layout-matrix .screen-basic{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 24px;padding:0 0 14px;background:white}
.compact-bonds .filter-preview-v4 .screen-basic>.screen-range,.compact-bonds .filter-preview-v4 .screen-basic>.screen-select{grid-template-columns:minmax(75px,1fr) minmax(138px,1.18fr);gap:7px;min-height:35px;padding:0;border:0}
.compact-bonds .screen-basic .screen-range>span,.compact-bonds .screen-basic .screen-select>span{font-size:12px!important}
.compact-bonds .layout-matrix input,.compact-bonds .screen-multi>summary,.compact-bonds .layout-matrix select{height:32px;min-height:32px;font-size:12px;border:1px solid #d2dfe8;background:white;border-radius:4px;padding:5px 8px}
.compact-bonds .screen-range>div{gap:4px}.compact-bonds .screen-range>div>b{flex:0 0 7px;font-size:11px;text-align:center}.compact-bonds .layout-matrix .screen-range label{margin:0}.compact-bonds .layout-matrix .screen-range label small{display:none}
.compact-bonds .filter-preview-shell{border-top:1px solid var(--line);background:white}.compact-bonds .filter-preview-shell.is-closed .filter-preview-peek{display:none}
.compact-bonds .filter-preview-v4 .filter-preview-matrix{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 24px;padding:0 0 10px}.compact-bonds .filter-preview-matrix .filter-group{border:0}.compact-bonds .filter-preview-matrix .filter-group>h3{font-size:13px;margin:0 0 8px;padding:0;border:0;color:#182f44}.compact-bonds .filter-preview-matrix .filter-group>div{padding:0}
.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-range,.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-select{grid-template-columns:minmax(85px,1fr) minmax(130px,1.12fr);gap:6px;min-height:34px;height:auto;margin:0 0 5px;border:0;padding:0}.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-range>span,.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-select>span{font-size:12px;line-height:1.25}
.compact-bonds .filter-group:last-of-type{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px}.compact-bonds .filter-group:last-of-type>h3{display:none}.compact-bonds .filter-group:last-of-type>div{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.compact-bonds .screen-date{margin:0;padding:0}.compact-bonds .screen-date input{width:100%;font-size:12px}
.compact-bonds .screen-segments{height:32px;min-width:0}.compact-bonds .screen-segments label span{height:30px;min-height:30px;font-size:12px;padding:6px 7px}.compact-bonds .screen-segments label{min-width:0;flex:1}.compact-bonds .screen-filter-foot{background:#fff;padding:8px 0;border-top:1px solid var(--line);gap:22px}.compact-bonds .screen-filter-foot .filter-summary{flex:1}.compact-bonds [data-nx=apply-screen]{background:#896326;border-color:#896326;color:#fff;min-width:116px}.compact-bonds [data-nx=clear-filters]{padding:6px 12px;color:#5e7383}.compact-bonds .filter-result-status{font-size:11px}.compact-bonds .screen-chips:empty{display:none}
.compact-bonds .screener-toolbar{margin:0 0 10px;gap:16px;min-height:32px}.compact-bonds #bond-count{font-size:16px;font-weight:600}.compact-bonds .bond-actions{margin-left:auto;gap:12px}.compact-bonds .bond-actions button{border:1px solid #dce5ed;background:#fff;font-size:12px;color:#31536c;padding:6px 10px}
.compact-bonds .bond-table{font-size:13px;min-width:1100px;width:100%}.compact-bonds .bond-table th{background:#203f53;color:#fff;border-color:#355468;text-align:center;padding:9px 6px}.compact-bonds .bond-table .groupband th{background:#31566c;color:#e5edf2;padding:5px 6px;font-size:11px;font-weight:400}.compact-bonds .bond-table th button{color:inherit;font-size:12px;line-height:1.25;white-space:normal}.compact-bonds .bond-table th.companycol{text-align:center}.compact-bonds .bond-table .head-wrap{justify-content:center}.compact-bonds .bond-table th.companycol .head-wrap{justify-content:center}.compact-bonds .bond-table td{text-align:center;vertical-align:middle;height:48px;padding:4px 6px;background:white;border-bottom:1px solid #e5edf2}.compact-bonds .bond-table td.companycol{text-align:left}.compact-bonds .bond-table tr:nth-child(even) td{background:#f8fafb}.compact-bonds .bond-table tr:hover td{background:#f0f5f8}.compact-bonds .bond-table tr.picked td,.compact-bonds .bond-table tr:has([data-select]:checked) td{background:#edf4f9}.compact-bonds .bond-table input[type=checkbox]{accent-color:#A57B38}.compact-bonds .bond-table .identityline{font-size:10px;color:#637b8e}.compact-bonds .bond-table .company-label{font-size:13px;font-weight:600}.compact-bonds .bond-cell-detail{font-size:13px;color:#183e58;border-radius:4px;padding:4px 6px}.compact-bonds .bond-cell-detail:hover,.compact-bonds .bond-cell-detail:focus-visible{background:#e3edf3;text-decoration:underline;text-underline-offset:3px}.compact-bonds .bond-yield-kind{font-size:10px;font-weight:400;margin-left:4px}.compact-bonds .bond-table td small{font-size:10px;line-height:1.4}
.compact-bonds #bond-detail-tip{z-index:80;max-width:min(420px,calc(100vw - 24px));background:white;border:1px solid #d6e2eb;border-radius:8px;box-shadow:0 10px 35px #18374f24;color:#193c54;padding:14px 16px}.compact-bonds #bond-dialog{border:1px solid #dce5ed;border-radius:10px;max-height:88vh;box-shadow:0 20px 70px #153a5526}.compact-bonds #bond-dialog::backdrop{background:#15344e3b;backdrop-filter:blur(2px)}.compact-bonds #bond-dialog header{background:#fff}.compact-bonds #bond-dialog h2{font-size:20px}.compact-bonds #bond-dialog table th{background:#edf3f7;color:#24475f}
.compact-bonds #bond-drawer{width:520px;max-width:100vw;top:0;height:100dvh;border-left:1px solid #dce5eb;box-shadow:-12px 0 40px #173b5012;background:#fff;z-index:60;padding:0}.compact-bonds #bond-drawer.security-chart-expanded{width:min(1060px,calc(100vw - 200px))}
.compact-bonds .bond-card-head{padding:18px 20px 0;background:#fff;border-bottom:1px solid #e1e8ee}.compact-bonds .bond-card-head h2{font-size:25px;line-height:1.2;margin:0 42px 6px 0;overflow-wrap:anywhere}.compact-bonds .bond-card-head p{font-size:12px;line-height:1.4;margin:3px 0;color:#5c7488;padding-right:30px}.compact-bonds .bond-card-actions{margin:10px 0 5px;gap:8px;flex-wrap:wrap}.compact-bonds .bond-card-actions a.primary{background:#f7f2e9;color:#805a24;border:1px solid #c6a46d;padding:7px 11px;font-size:12px}.compact-bonds .bond-card-actions button{padding:7px 10px;font-size:12px}.compact-bonds .drawer-close{right:12px;top:12px}.compact-bonds .bond-card-tabs{gap:24px;margin:0;justify-content:flex-start}.compact-bonds .bond-card-tabs button{padding:10px 0;font-size:12px}.compact-bonds .bond-card-tabs button[aria-pressed=true]{color:#916727;border-color:#A57B38}
.compact-bonds .bond-card-body{padding:14px 20px 20px;overflow:auto;scrollbar-gutter:stable}.compact-bonds .quote-v4{grid-template-columns:1fr 1fr 1fr;gap:0;background:none;padding:0;margin:0 0 12px}.compact-bonds .quote-v4>div{padding:0 12px;border:0;border-left:1px solid #e1e8ee}.compact-bonds .quote-v4>div:first-child{padding-left:0;border-left:0}.compact-bonds .quote-v4>div:last-child{padding-right:0}.compact-bonds .quote-v4 small{font-size:11px;line-height:1.3;min-height:28px;display:block;margin-bottom:2px}.compact-bonds .quote-v4 strong{font-size:24px;line-height:1.15;white-space:nowrap}.compact-bonds .quote-v4 strong button{font-size:inherit;padding:0}.compact-bonds .quote-v4 .bond-yield-kind{display:block;margin:4px 0 0;font-size:10px;min-height:0}.compact-bonds .quote-v4 span{font-size:10px;line-height:1.4;margin-top:4px}.compact-bonds .quote-v4 .quote-accrued{font-size:10px}.compact-bonds .quote-price-line{gap:0;display:block}.compact-bonds .quote-price-line>span{display:block}
.compact-keyfacts{display:grid;grid-template-columns:1.25fr 1fr .8fr;gap:12px;border-top:1px solid var(--line);padding:10px 0}.compact-keyfacts>div{min-width:0}.compact-keyfacts>div>span,.compact-keyfacts small{display:block;font-size:11px;color:#60778b}.compact-keyfacts strong{display:block;font-size:15px;margin-top:3px}.compact-keyfacts button{padding:0}.compact-bonds .bond-card-section{padding:11px 0;margin:0;border-top:1px solid var(--line)}.compact-bonds .bond-card-section h3{font-size:14px;line-height:1.3;margin:0 0 8px}.compact-bonds .bond-card-section h3 button{font-size:11px;color:#8a632b}.compact-bonds .bond-note{font-size:11px;line-height:1.45;margin:5px 0}.compact-bonds .compact-payments{background:#fcfaf6;padding:10px 12px;border:0;border-radius:5px;margin-bottom:6px}
.compact-bonds .bond-passport{display:grid;grid-template-columns:1fr 1fr;gap:7px 18px;margin:0}.compact-bonds .bond-passport>div{padding:0;min-width:0;display:flex;justify-content:space-between;align-items:baseline;gap:8px}.compact-bonds .bond-passport dt{font-size:11px;line-height:1.35;max-width:60%;color:#64798b}.compact-bonds .bond-passport dd{font-size:12px;margin:0;text-align:right;line-height:1.35;overflow-wrap:anywhere}.compact-bonds .bond-passport dd small{display:block;font-size:10px}
.compact-bonds .analytics-v4{border:0;border-top:1px solid var(--line);border-radius:0;margin-top:4px}.compact-bonds .analytics-pair{grid-template-columns:1fr 1fr}.compact-bonds .analytics-pair>section{background:white;padding:10px 8px 7px}.compact-bonds .analytics-pair h3{font-size:12px;min-height:24px}.compact-bonds .risk-half{border-left:1px solid var(--line)}.compact-bonds .model-scale-v4{max-height:90px}.compact-bonds .coefficient-details{padding:9px 0}.compact-bonds .valuation-potential{margin:3px 0;font-size:11px}.compact-bonds .valuation-difference{font-size:10px}.compact-bonds .calc-inputs{gap:10px;grid-template-columns:1fr 1fr}.compact-bonds .calc-result-grid{grid-template-columns:1fr 1fr}.compact-bonds .calculator-v2{min-width:0}.compact-bonds .bond-card-body table{max-width:100%;min-width:0}.compact-bonds .bond-card-body table td,.compact-bonds .bond-card-body table th{padding:6px;font-size:11px}
@media(min-width:1700px){html:not(.workspace-overlay-document) .compact-bonds .screen-basic>.screen-range,html:not(.workspace-overlay-document) .compact-bonds .screen-basic>.screen-select{grid-template-columns:145px minmax(160px,1fr)!important}.compact-bonds .bond-table th button{font-size:13px}.compact-bonds .bond-table td{font-size:14px}}
@media(prefers-reduced-motion:reduce){.compact-bonds *{scroll-behavior:auto!important;transition:none!important}}

.compact-calendar{position:fixed;inset:auto;margin:0;width:308px;padding:12px;border:1px solid #d6e1e9;border-radius:9px;box-shadow:0 12px 38px #153b5429;background:white;color:#183a54}.compact-cal-head{display:flex;align-items:center;gap:4px;margin-bottom:12px}.compact-cal-head select{border:0;background:#f4f7f9;font-size:13px;padding:5px 2px;min-width:0}.compact-cal-head button{width:30px;height:30px;padding:0;font-size:23px}.compact-cal-week,.compact-cal-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.compact-cal-week span{text-align:center;font-size:11px;color:#607b8e;padding:4px}.compact-cal-days button{padding:6px 0;border:0;background:white;font-size:13px;border-radius:5px}.compact-cal-days button.outside{color:#94a4af}.compact-cal-days button[aria-current=date]{box-shadow:inset 0 0 0 1px #A57B38}.compact-cal-days button[aria-selected=true]{background:#A57B38;color:white}.compact-cal-days button:hover{background:#ecf2f6}.compact-cal-foot{display:flex;justify-content:space-between;border-top:1px solid #e1e8ee;margin-top:10px;padding-top:8px}.compact-cal-foot button{border:0;color:#41647e;background:none;font-size:12px}.compact-bonds .screening-panel input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.6}

/* Explicit overrides for shared catalogue rules; keep the production engine untouched. */
.compact-bonds .site-sidebar .brand{color:#183b53}.compact-bonds .site-sidebar nav .navitem,.compact-bonds .site-sidebar .navitem{color:#29475e}.compact-bonds .site-sidebar nav .navitem.active{color:#193b54;background:#f2ede4;box-shadow:inset 3px 0 #A57B38}.compact-bonds .site-sidebar nav .navitem:hover{background:#e9eff3;color:#193b54}
.compact-bonds .bond-workspace{padding:0}.compact-bonds .bond-scrollnav{display:flex}.compact-bonds .tablewrap{margin:0}.compact-bonds .bond-mode-head{padding:0;margin-bottom:8px}.compact-bonds .screening-panel{margin-inline:0}
.compact-bonds .filter-preview-v4 .screen-basic{padding-bottom:28px}.compact-bonds .filter-preview-v4 .filter-preview-peek{padding-top:0}
.compact-bonds .layout-matrix input[type=checkbox]{height:15px;min-height:15px;width:15px;padding:0;accent-color:#A57B38}.compact-bonds .screen-date-heading{min-height:24px;flex-wrap:nowrap}.compact-bonds .include-offers{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px}.compact-bonds .filter-preview-v4 .screen-date{padding:0;margin:0}.compact-bonds .screen-date input[type=date]{height:32px;min-height:32px}
.compact-bonds .layout-matrix .screen-range input{height:32px;min-height:32px}.compact-bonds .filter-unit{display:inline;margin-left:3px}.compact-bonds .filter-group>h3{background:none}.compact-bonds .filter-group:last-of-type>div{gap:22px}
.compact-bonds .bond-table td{height:48px;padding:3px 6px}.compact-bonds .bond-table td.companycol{padding-left:8px}.compact-bonds .bond-table .personal-security{display:flex;align-items:center;gap:7px;padding-left:0}.compact-bonds .bond-table .personal-security>.personal-star{position:static;flex:none}.compact-bonds .bond-table .company-name{min-width:0}.compact-bonds .bond-table .bond-rating{display:inline-flex;gap:4px}.compact-bonds .bond-table tr.picked td{background:#edf4f9}
.compact-bonds #bond-drawer{display:flex;flex-direction:column}.compact-bonds #bond-drawer[hidden]{display:none}.compact-bonds #bond-drawer>.personal-star{position:absolute;top:14px;right:48px;margin:0;font-size:12px;height:28px;z-index:2}.compact-bonds #bond-drawer .bond-card-head{padding-top:45px;flex:none}.compact-bonds #bond-drawer .drawer-close{top:12px}.compact-bonds #bond-drawer .bond-card-body{flex:1;min-height:0}.compact-bonds #bond-drawer .bond-card-head h2{margin-bottom:4px}.compact-bonds #bond-drawer .quote-v4 strong .bond-yield-value{font-size:24px;line-height:1.15;display:inline-block}.compact-bonds #bond-drawer .quote-v4 strong .bond-yield-value::after{content:'%';font-size:18px}.compact-bonds #bond-drawer .quote-v4 .bond-yield-kind{display:inline;font-size:10px;margin-left:3px}.compact-bonds #bond-drawer .quote-v4 small{min-height:28px}.compact-bonds #bond-drawer .quote-v4 strong .bond-yield-kind{display:none}.compact-bonds #bond-drawer .compact-keyfacts .bond-rating{display:inline-flex;gap:4px;font-size:13px}

.compact-bonds:has(#bond-drawer:not([hidden])) .selection-dock{display:none}

/* Compact controls share one layout; no negative transforms or inherited sticky footer. */
.compact-bonds .compact-search-row{display:flex;align-items:center;gap:16px;margin:12px 0 18px;min-width:0}
.compact-bonds .compact-search-row .search{width:320px;flex:0 1 320px;min-width:240px;height:35px;margin:0}
.compact-bonds .compact-search-row .search input{width:100%;min-width:0;font-size:13px}
.compact-bonds .bond-search-scope{font-size:12px;white-space:nowrap;margin:0}
.compact-bonds .compact-search-row .strategy-bar{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex:1;flex-wrap:nowrap;max-width:none;margin:0;min-width:0}
.compact-bonds .strategy-bar button,.compact-bonds .compact-presets-more>summary{padding:7px 10px;min-height:34px;border:0;background:white;font-size:13px;font-weight:400;white-space:nowrap;border-radius:4px;color:#29475e}
.compact-bonds .strategy-bar button[aria-pressed=true],.compact-bonds .compact-presets-more.has-selection>summary{background:#eaf0f4;color:#183e57;font-weight:600}
.compact-bonds .compact-presets-more,.compact-bonds .compact-views{position:relative}
.compact-bonds .compact-presets-more>summary,.compact-bonds .compact-views>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none}
.compact-bonds summary::-webkit-details-marker{display:none}
.compact-bonds .compact-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:45;min-width:230px;padding:6px;border:1px solid #dce5ed;border-radius:6px;background:white;box-shadow:0 10px 24px #19384d18;display:grid;gap:2px}
.compact-bonds .compact-menu button{text-align:left;width:100%;justify-content:flex-start;white-space:nowrap}
.compact-bonds .compact-menu button:hover{background:#f0f4f7}
.compact-bonds .compact-menu button:disabled{color:#8594a0;cursor:default}
.compact-bonds .filter-preview-v4.layout-matrix .screen-basic{padding:0 0 14px}
.compact-bonds .filter-preview-v4 .filter-preview-shell{border:0;background:white;padding:0}
.compact-bonds .filter-preview-v4 .filter-preview-shell::before{content:'';position:absolute;left:0;right:0;top:18px;border-top:1px solid #e1e8ee}
.compact-bonds .filter-preview-v4 .filter-preview-shell .filter-preview-toggle{position:relative;inset:auto;transform:none;display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;height:36px;min-height:36px;margin:0 auto 12px;padding:6px 19px;border:1px solid #d7ba8b;border-radius:22px;outline:8px solid white;background:white;color:#8b6127;font-size:13px;font-weight:400;box-shadow:none}
.compact-bonds .filter-preview-v4 .filter-preview-toggle svg{width:16px;height:16px;transform:none}
.compact-bonds .filter-preview-v4 .filter-preview-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.compact-bonds .filter-preview-v4 .filter-preview-toggle:hover{background:#fcf9f3;border-color:#A57B38}
.compact-bonds .filter-preview-v4 .filter-preview-toggle:focus-visible{outline:2px solid #245672;outline-offset:3px}
.compact-bonds .filter-preview-v4 .filter-preview-peek{padding-top:0}
.compact-bonds .filter-preview-v4 .screen-filter-foot{position:static;min-height:52px;padding:8px 0;background:#fff;box-shadow:none;gap:26px}
.compact-bonds .filter-preview-v4 .screen-filter-foot [data-nx=apply-screen]{min-width:122px;height:35px;border:1px solid #896326;background:#896326;color:#fff;font-size:13px;font-weight:600;border-radius:4px;opacity:1}
.compact-bonds .filter-preview-v4 .screen-filter-foot [data-nx=apply-screen]:not(:disabled):hover{background:#8b642b;border-color:#8b642b}
.compact-bonds .filter-preview-v4 .screen-filter-foot [data-nx=apply-screen]:disabled{background:#edf0f2;border-color:#e0e5e9;color:#687985;cursor:default}
.compact-bonds .screener-toolbar .bond-actions{display:flex;gap:12px;align-items:center;margin-left:auto}
.compact-bonds .screener-toolbar .bond-actions>button,.compact-bonds .compact-views>summary{display:flex;align-items:center;gap:8px;min-height:34px;border:0;background:white;border-radius:4px;padding:7px 9px;font-size:13px;color:#1d3d58;white-space:nowrap}
.compact-bonds .screener-toolbar .bond-actions>button:hover,.compact-bonds .compact-views>summary:hover{background:#f0f4f7}
.compact-bonds .bond-actions .icon{width:17px;height:17px;flex:none}
.compact-bonds #bond-drawer>.personal-star{top:10px;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap;color:#A57B38}
.compact-bonds #bond-drawer .bond-card-actions{justify-content:flex-end;margin:8px 0 4px}
.compact-bonds #bond-drawer .compact-payments{background:#fff;padding:10px 0 8px;margin:0;border-top:1px solid var(--line);border-radius:0}
.compact-bonds #bond-drawer .compact-payments h3{font-size:13px;margin-bottom:10px}
.compact-payment-summary{display:grid;grid-template-columns:1.15fr 1fr 1fr;align-items:center;gap:12px}
.compact-payment-summary>div{min-width:0;border-left:1px solid #e1e8ee;padding-left:14px}
.compact-payment-summary>div:first-child{padding-left:0;border:0}
.compact-payment-summary strong{font-size:24px;line-height:1.2}
.compact-payment-summary b{font-size:13px;line-height:1.3}
.compact-payment-summary small{display:block;font-size:10px;color:#60778b;margin-top:3px;line-height:1.35}
.compact-bonds #bond-drawer .compact-payments .coupon-chart{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;height:auto;min-height:0;margin:15px 0 0;padding:0}
.compact-bonds #bond-drawer .compact-payments .coupon-chart>div{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-width:0;width:auto;max-width:none;border:0;border-top:1px solid #d9bd8f;padding:8px 0 0}
.compact-bonds #bond-drawer .compact-payments .coupon-chart>div::before{content:'';position:absolute;top:-4px;left:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:#A57B38}
.compact-bonds #bond-drawer .compact-payments .coupon-chart small{font-size:9px;white-space:nowrap;color:#60778b}
.compact-bonds #bond-drawer .compact-payments .coupon-chart span{font-size:11px;font-weight:500;color:#29475e;white-space:nowrap}
.compact-bonds #bond-drawer .compact-payments .coupon-chart>div.projected span{color:#8b6127}
.compact-bonds #bond-drawer .compact-payment-legend{font-size:9px;line-height:1.3;margin:7px 0 0;color:#60778b}
.compact-bonds #bond-drawer .bond-passport .bond-coupon-cell{display:inline-flex;flex-direction:row;align-items:baseline;gap:5px;white-space:nowrap;flex-wrap:nowrap}
.compact-bonds #bond-drawer .bond-passport .bond-coupon-caption{display:inline;margin:0}
.compact-bonds #bond-drawer .bond-passport .bond-coupon-tag{white-space:nowrap}
.compact-bonds .risk-ring-v4{position:relative;width:88px;height:88px;margin:0 auto;text-align:center}
.compact-bonds .risk-ring-v4 svg{display:block;width:100%;height:100%;fill:none}
.compact-bonds .risk-ring-v4>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.compact-bonds .risk-ring-v4 strong{font-size:25px}
.compact-bonds .risk-ring-caption{text-align:center;margin:4px 0 2px}
.compact-bonds .compact-calendar{box-sizing:border-box;width:258px;padding:9px;border-radius:7px}
.compact-bonds .compact-cal-head{margin-bottom:6px;gap:3px}
.compact-bonds .compact-cal-head select{height:28px;min-height:28px;font-size:12px;padding:3px 1px;flex:1}
.compact-bonds .compact-cal-head select[data-cal-year]{flex:0 0 58px}
.compact-bonds .compact-cal-head button{flex:0 0 27px;width:27px;height:28px;min-height:28px}
.compact-bonds .compact-cal-week,.compact-bonds .compact-cal-days{gap:1px}
.compact-bonds .compact-cal-days button{height:28px;min-height:28px;line-height:28px;padding:0;font-size:12px}
.compact-bonds .compact-cal-week span{padding:3px;font-size:10px}
.compact-bonds .compact-cal-foot{margin-top:6px;padding-top:5px}
.compact-bonds .compact-cal-foot button{min-height:26px;padding:3px 5px;font-size:11px}

/* Audit refinement: one density rhythm, quiet rows and reachable overflow. */
.compact-bonds .filter-preview-v4.layout-matrix .screen-basic{gap:6px 20px;padding-bottom:10px}
.compact-bonds .filter-preview-v4.layout-matrix .screen-range>span{display:block;line-height:1.3;font-weight:400}
.compact-bonds .filter-preview-v4 .filter-unit{display:inline;font-size:11px;margin:0 0 0 3px;line-height:inherit}
.compact-bonds .filter-preview-v4 .inline-help{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:3px}
.compact-bonds .filter-preview-v4.layout-matrix .screen-range input[data-number]{height:32px;min-height:32px;padding:4px 7px}
.compact-bonds .filter-preview-v4 .screen-range>div{margin-top:0}
.compact-bonds .filter-preview-v4 .filter-preview-matrix{gap:10px 20px;padding-bottom:6px}
.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-range,.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-select{min-height:32px;margin-bottom:4px;grid-template-columns:minmax(108px,1fr) minmax(130px,1.08fr)}
.compact-bonds .filter-preview-matrix .filter-group>h3{margin-bottom:7px}
.compact-bonds .compact-unit-note{grid-column:1/-1;margin:0;font-size:11px;color:#60778b;line-height:1.3}
.compact-bonds .filter-preview-v4 .filter-preview-shell .filter-preview-toggle{margin-bottom:9px}
.compact-bonds .filter-preview-v4 .screen-filter-foot{min-height:46px;padding:5px 0}
.compact-bonds .filter-current-count{display:none}
.compact-bonds .filter-result-status{font-size:12px}
.compact-bonds .compact-search-row{margin-bottom:14px}
.compact-bonds .screener-toolbar{gap:12px;flex-wrap:wrap;margin-bottom:7px}
.compact-bonds .compact-snapshot{background:none;border:0;padding:4px 0;font-size:11px;color:#60778b;white-space:nowrap}
.compact-bonds #bond-count{font-size:14px;color:#193b54}
.compact-bonds #bond-scroll{position:sticky;top:0;z-index:26;gap:9px;margin:0;padding:5px 0;background:white;border-top:1px solid #e1e8ee;border-bottom:0}
.compact-bonds #bond-scroll[hidden]{display:none}
.compact-bonds #bond-scroll .jump button{font-size:11px;padding:4px 6px;color:#31536c}
.compact-bonds #bond-scroll .hscroll{scrollbar-color:#8a9faa #eff3f6}
.compact-bonds #bond-table{margin:0}
.compact-bonds .bond-table thead th button,.compact-bonds .bond-table .groupband th{font-size:12px;line-height:1.3}
.compact-bonds .bond-table tbody td{background:#fff}
.compact-bonds .bond-table tbody tr:nth-child(even) td{background:#f8fafb}
.compact-bonds .bond-table tbody tr:hover td{background:#eef4f7}
.compact-bonds .bond-table tbody tr.picked td{background:#e5eff6}
.compact-bonds .bond-table tbody tr.picked td.companycol{box-shadow:inset 3px 0 #A57B38}
.compact-bonds .bond-table .identityline,.compact-bonds .bond-table td small,.compact-bonds .bond-table .bond-yield-kind{font-size:11px}
.compact-bonds .bond-table .bond-rating,.compact-bonds .bond-table .bond-yield-value,.compact-bonds .bond-table .bond-yield-badge{background:transparent}
.compact-bonds .bond-table .bond-rating{padding:0 2px}
.compact-bonds #bond-drawer .quote-v4 small{font-size:12px;min-height:31px}
.compact-bonds #bond-drawer .quote-v4 span,.compact-bonds #bond-drawer .quote-v4 .quote-accrued{font-size:12px}
.compact-bonds #bond-drawer .quote-v4 .bond-yield-kind{font-size:11px}
.compact-bonds #bond-drawer .quote-v4{margin-bottom:6px}
.compact-bonds .compact-keyfacts>div>span,.compact-bonds .compact-keyfacts small{font-size:12px}
.compact-bonds .compact-keyfacts strong{margin-top:2px}
.compact-bonds #bond-drawer .bond-passport dt{font-size:12px}
.compact-bonds #bond-drawer .bond-passport dd{font-size:13px}
.compact-bonds #bond-drawer .bond-passport dd small{font-size:11px}
.compact-bonds #bond-drawer .bond-passport{gap:6px 14px}
.compact-bonds #bond-drawer .analytics-pair h3{font-size:13px}
.compact-bonds .valuation-potential{font-size:12px}
.compact-bonds .valuation-difference{font-size:11px}
.compact-bonds .compact-payment-summary small{font-size:11px}
.compact-bonds #bond-drawer .compact-payments .coupon-chart small{font-size:11px;letter-spacing:-.35px}
.compact-bonds #bond-drawer .compact-payments .coupon-chart span{font-size:12px}
.compact-bonds #bond-drawer .compact-payment-legend{font-size:11px}
.compact-bonds button:focus-visible,.compact-bonds summary:focus-visible,.compact-bonds input:focus-visible,.compact-bonds select:focus-visible{outline:2px solid #245672;outline-offset:2px}
.compact-bonds #compact-bond-title:focus{outline:none}

/* Shared catalogue wrappers have their own borders and specificity. */
html body.compact-bonds #bond-table{width:100%;margin:0;border:0;border-radius:4px}
.compact-bonds .tablewrap .head-wrap button[data-sort]{font-size:12px;line-height:1.3}
.compact-bonds .filter-preview-v4 .screen-range>span{display:block;line-height:1.3}
.compact-bonds .filter-preview-v4 .filter-label-text{display:inline}
.compact-bonds .filter-preview-v4 .screen-range label{height:32px;min-height:32px;padding:0;border:0;background:none;box-shadow:none;border-radius:0}
.compact-bonds .filter-preview-v4 .screen-range label>input[data-number]{height:32px;min-height:32px;padding:4px 7px;border:1px solid #d2dfe8;background:white;border-radius:4px;font-size:12px}
.compact-bonds .filter-preview-v4 .screen-range>div{gap:5px;align-items:center}
.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-range,.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-select{grid-template-columns:minmax(116px,1fr) minmax(128px,1fr)}
.compact-bonds #bond-scroll .hscroll{background:#f2f5f7;border-radius:3px}

/* Explicit label/value breathing room, without widening the drawer. */
.compact-bonds #bond-drawer .quote-v4 small{min-height:0;margin-bottom:4px;line-height:16px;white-space:nowrap}
.compact-bonds #bond-drawer .quote-v4{margin-bottom:12px}
.compact-bonds .compact-views .compact-menu{min-width:240px;max-width:320px;max-height:360px;overflow:auto}
.compact-bonds .compact-views .compact-menu>button{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}
.compact-views-note{font-size:12px;color:#60778b;line-height:1.5;margin:12px 0 0}
.compact-menu .compact-views-note,.compact-menu .compact-views-error{padding:6px 10px;margin:0}
.compact-views-error,#compact-view-error{font-size:12px;color:#ad3333;line-height:1.4}
.compact-save-view{display:grid;gap:10px;font-size:14px;line-height:1.5}
.compact-save-view p{margin:0}.compact-save-view label{font-weight:600}
.compact-save-view input{width:100%;box-sizing:border-box;height:40px;border:1px solid #cbdbe6;border-radius:5px;padding:8px 10px;font-size:14px}
.compact-auth-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbdbe6;border-radius:5px;padding:8px 12px;color:#24475f;text-decoration:none;font-size:13px}
.compact-auth-link.primary,.compact-bonds #bond-dialog [form=compact-save-view]{background:#896326;border-color:#896326;color:white}
.compact-auth-link:focus-visible{outline:2px solid #245672;outline-offset:3px}

/* Approved M1 / P1 / V2, September 2026. */
.compact-bonds .sidebar.site-sidebar{background:#1b3546;color:#ccdae3}
.compact-bonds .site-sidebar .brand{color:#fff}
.compact-bonds .site-sidebar .wordmark>span{color:#c8b070}
.compact-bonds .site-sidebar nav .navitem,.compact-bonds .site-sidebar .navitem{color:#c4d3dd}
.compact-bonds .site-sidebar nav .navitem:hover,.compact-bonds .site-sidebar .navitem:hover{color:#fff;background:#27475d}
.compact-bonds .site-sidebar nav .navitem.active{color:#fff;background:#31566c;box-shadow:inset 3px 0 #A57B38}
.compact-bonds .site-sidebar .navlabel{color:#a1b5c3}
.compact-bonds .bond-table .compact-metric-value{text-decoration:underline dotted;text-underline-offset:4px;text-decoration-thickness:1px}
.compact-bonds .bond-table .bond-cell-detail{white-space:nowrap;cursor:pointer}
.compact-bonds .bond-table .bond-cell-detail:hover,.compact-bonds .bond-table .bond-cell-detail:focus-visible{text-decoration:none;background:#e3edf3}
.compact-bonds .bond-table .bond-cell-detail:focus-visible{outline:2px solid #A57B38;outline-offset:2px}
.compact-bonds .bond-table .bond-rating{display:inline-block}
.compact-bonds .bond-table .bond-yield-kind{margin-left:5px}
.compact-flow-summary{padding:0 0 16px;border-bottom:1px solid var(--line);margin-bottom:16px}
.compact-flow-summary h3,.compact-flow-title h3{font-size:13px;margin:0 0 10px;line-height:1.4}
.compact-flow-summary .compact-payment-summary{gap:10px}.compact-flow-summary .compact-payment-summary>div{padding-left:10px}.compact-flow-summary .compact-payment-summary>div:first-child{padding-left:0}
.compact-flow-summary .compact-payment-summary strong{font-size:23px}
.compact-flow-title{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.compact-flow-title h3{margin:0}
.compact-flow-legend{display:flex;gap:12px;color:#60778b;font-size:11px}.compact-flow-legend span{display:flex;align-items:center;gap:5px}.compact-flow-legend i{width:8px;height:8px;border-radius:50%}
.compact-full-flow .coupon{background:#214b63}.compact-full-flow .principal{background:#A57B38}
.compact-flow-plot{display:flex;gap:6px;margin-top:18px;min-height:169px}
.compact-flow-axis{width:30px;flex:none;display:flex;flex-direction:column;justify-content:space-between;height:120px;margin-top:21px;color:#60778b;font-size:10px;text-align:right}
.compact-flow-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;flex:1;min-width:0;background:linear-gradient(to bottom,transparent 20px,#e1e8ee 20px,#e1e8ee 21px,transparent 21px,transparent 80px,#e1e8ee 80px,#e1e8ee 81px,transparent 81px,transparent 140px,#cad9e3 140px,#cad9e3 141px,transparent 141px)}
.compact-flow-bar{text-align:center;min-width:0;border-radius:3px}.compact-flow-bar:focus-visible{outline:2px solid #A57B38;outline-offset:2px}.compact-flow-total{display:block;height:21px;font-size:11px;white-space:nowrap;color:#193c54}
.compact-flow-stack{height:120px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding-bottom:1px}.compact-flow-stack i{display:block;width:72%;max-width:38px;flex:none;min-height:0}.compact-flow-unknown{color:#60778b;margin:auto;font-size:20px}
.compact-flow-bar small{display:block;margin-top:7px;font-size:9px;color:#60778b;white-space:nowrap}.compact-flow-bar em{display:block;font-style:normal;font-size:9px;line-height:1.4;color:#8a632b}
.compact-flow-years{display:flex;gap:7px;overflow-x:auto;margin:14px 0 12px;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:#bacbd7 transparent}
.compact-flow-years button{flex:none;min-width:49px;height:31px;padding:5px 10px;border:1px solid #d2dfe8;border-radius:4px;background:white;color:#25475e;font-size:12px}
.compact-flow-years button[aria-pressed=true]{background:#886329;color:white;border-color:#886329}.compact-flow-years button:hover{border-color:#A57B38}.compact-flow-years button:focus-visible{outline:2px solid #24475f;outline-offset:2px}
.compact-bonds .compact-full-flow .bond-flow-table{width:100%;font-size:12px;table-layout:fixed;border-collapse:collapse}
.compact-bonds .compact-full-flow .bond-flow-table th{background:#edf3f7;color:#25475e;font-size:12px;font-weight:600;padding:10px 6px;border:0;text-align:right}
.compact-bonds .compact-full-flow .bond-flow-table td{padding:10px 6px;border-bottom:1px solid #e1e8ee;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.compact-bonds .compact-full-flow .bond-flow-table td:first-child,.compact-bonds .compact-full-flow .bond-flow-table th:first-child{text-align:left;width:26%;white-space:nowrap}
.compact-bonds .compact-full-flow .bond-flow-table td small{display:block;font-size:10px;color:#8a632b}
.compact-bonds .compact-full-flow .bond-flow-table tr[hidden]{display:none}
.compact-bonds .compact-full-flow .bond-risknote{font-size:12px;line-height:1.45}

.compact-bonds #bond-drawer .quote-v4 .compact-metric-value{font-size:inherit;line-height:inherit;margin:0}

/* Metrics keep the table typography; the dotted underline is their only marker. */
.compact-bonds .bond-table .bond-cell-detail{font:inherit;color:inherit}
.compact-bonds .bond-table .bond-rating{font:inherit;color:inherit;background:none;border:0;padding:0;border-radius:0}
.compact-bonds .bond-table .compact-metric-value{font:inherit;color:inherit}
.compact-bonds #bond-drawer .quote-v4 .bond-cell-detail,
.compact-bonds #bond-drawer .quote-v4 .bond-yield-value,
.compact-bonds #bond-drawer .quote-v4 .compact-metric-value{color:inherit}
.compact-bonds #bond-drawer .quote-v4 .compact-complex-yield .compact-metric-value,
.compact-bonds #bond-drawer .compact-duration .compact-metric-value{text-decoration:underline dotted;text-underline-offset:4px;text-decoration-thickness:1px}
.compact-bonds #bond-drawer .compact-duration{font:inherit;color:inherit;padding:0}
.compact-yield-explanations{font-size:12px;line-height:1.5;margin:7px 0 10px;color:#526c80}
.compact-yield-explanations>summary{cursor:pointer;width:fit-content;color:#25475e;padding:4px 0}
.compact-yield-explanations>summary:focus-visible{outline:2px solid #A57B38;outline-offset:2px}
.compact-yield-explanations[open]>summary{margin-bottom:6px}

.compact-bonds #bond-drawer .compact-duration .compact-metric-value{font:inherit;color:inherit}

/* #285 — desktop audit corrections promoted to production. */
body.compact-bonds{--muted:#526b7e}
.compact-bonds .bond-table .identityline,.compact-bonds .bond-table td small,
.compact-bonds .bond-table .bond-yield-kind,.compact-bonds .filter-unit,
.compact-bonds #screen-filter-state,.compact-bonds .bond-count,.compact-bonds .compact-unit-note,
.compact-bonds .compact-snapshot,.compact-bonds .bond-card-tabs button,
.compact-bonds .screen-segments label span{color:#526b7e}
.compact-bonds .bond-card-tabs button[aria-pressed=true]{color:#805a24}
.compact-bonds .strategy-note,.compact-bonds .scenario-filter-note{display:none}
.compact-bonds .compact-range-error{grid-column:1/-1;color:#a52b2b;font-size:12px;line-height:1.35;padding:2px 0 4px}
.compact-bonds .screening-panel [aria-invalid=true]{border-color:#a52b2b!important;box-shadow:0 0 0 1px #a52b2b}
.compact-bonds .filter-preview-v4 .filter-preview-matrix{gap:8px 16px}
.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-range,
.compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-select{grid-template-columns:minmax(100px,1fr) minmax(124px,1fr);gap:6px;min-height:32px;margin-bottom:3px}
.compact-bonds .filter-preview-matrix .filter-group>h3{margin-bottom:5px}
.compact-bonds .filter-preview-v4 .filter-preview-shell .filter-preview-toggle{margin-bottom:8px}
.compact-bonds .filter-preview-v4 .screen-date-heading{min-height:22px;margin-bottom:3px}
.compact-bonds .filter-preview-v4 .screen-filter-foot{padding:4px 0;min-height:42px}
.compact-bonds #screen-error:empty{display:none}
.compact-bonds .bond-table .groupband th{line-height:1.2}
.compact-bonds .bond-table thead .head-wrap button[data-sort]{line-height:1.25}
/* Preserve readable columns; the existing shared scroll controls remain available. */
.compact-bonds #scenario-results>.tablewrap{overflow-x:auto;max-width:100%;scrollbar-width:thin}
.compact-bonds #scenario-results .bond-table{table-layout:auto;min-width:1860px;width:100%}
.compact-bonds #scenario-results .bond-table th button{overflow-wrap:normal;hyphens:none;word-break:normal;font-size:12px;line-height:1.25}
.compact-bonds #scenario-results .bond-table .numbercol,
.compact-bonds #scenario-results .bond-table .datecol{min-width:110px}
.compact-bonds #scenario-results .bond-table .companycol{width:180px;min-width:180px;position:sticky;left:0;z-index:2;box-shadow:1px 0 #dce5eb;text-align:left}
.compact-bonds #scenario-results .bond-table .checkcol{width:34px;min-width:34px;position:static}
.compact-bonds #scenario-results .bond-table thead .companycol,
.compact-bonds #scenario-results .bond-table thead .checkcol{background:#214557;z-index:4}
.compact-bonds #scenario-results .bond-table .identityline{font-size:11px}
.compact-bonds #scenario-results .bond-table td:not(.companycol){white-space:nowrap;text-align:center}
.compact-bonds .compact-flow-years{overflow:visible;align-items:center;gap:6px}
.compact-bonds .compact-flow-year-list{display:flex;gap:6px;overflow-x:auto;min-width:0;flex:1;padding:3px;scrollbar-width:thin}
.compact-bonds .compact-flow-years [data-flow-scroll]{min-width:28px;width:28px;padding:0;font-size:20px}
.compact-bonds .compact-flow-years>[data-compact-flow-year]{position:relative;flex:none}
@media (min-width:1200px) and (max-width:1550px){
 .compact-bonds .compact-search-row{gap:10px;flex-wrap:wrap;margin:10px 0 12px}
 .compact-bonds .compact-search-row .strategy-bar{flex:1 1 540px}
 .compact-bonds .filter-preview-v4 .screen-basic{gap:6px 16px}
 .compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-range,
 .compact-bonds .filter-preview-v4 .filter-preview-matrix .screen-select{grid-template-columns:minmax(105px,1fr) minmax(122px,1fr)}
}

.compact-bonds .bond-table thead .head-wrap{min-height:32px;padding-top:0;padding-bottom:0}
.compact-bonds .bond-table thead th{padding-top:6px;padding-bottom:6px}
.compact-bonds .bond-table .groupband th{padding-top:4px;padding-bottom:4px}
.compact-bonds .filter-preview-v4 .filter-preview-matrix .filter-group:last-of-type{padding-top:5px}
.compact-bonds .filter-preview-v4 .filter-preview-matrix .filter-group:last-of-type>div{gap:16px}
.compact-bonds .filter-preview-v4 .filter-preview-matrix .filter-group>div .screen-range,
.compact-bonds .filter-preview-v4 .filter-preview-matrix .filter-group>div .screen-select{margin-bottom:2px}
.compact-bonds .filter-preview-v4 .screen-date-heading{font-size:12px}
.compact-bonds .filter-preview-v4 .screen-range .inline-help{white-space:nowrap}
.compact-bonds .filter-preview-v4 .screen-filter-foot{margin-bottom:0}
.compact-bonds .screening-panel{margin-bottom:6px}

.compact-bonds #bond-drawer>.personal-star{color:#805a24}
.compact-bonds #bond-drawer .bond-rating{color:#24475e}
.compact-bonds #bond-drawer .bond-rating .compact-metric-value{font:inherit;color:inherit}

/* #288 — dropdown layering, saved-view states and restrained desktop spacing. */
.compact-bonds .screening-panel:has(.screen-multi[open]){position:relative;z-index:30}
.compact-bonds .screen-multi[open]{z-index:31}
.compact-bonds .compact-views{min-width:0;max-width:230px}
.compact-bonds .compact-views>summary{max-width:230px;min-width:0}
.compact-bonds .compact-views>summary>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-bonds .compact-views>summary>svg{flex:none}
.compact-bonds .compact-view-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:4px}
.compact-bonds .compact-view-row>[data-compact-view]{white-space:normal;overflow-wrap:anywhere;min-width:0}
.compact-bonds .compact-view-row>.compact-view-delete{width:32px;height:32px;padding:7px;justify-content:center;color:#6a7d8c}
.compact-bonds .compact-view-row>.compact-view-delete:hover{background:#fceeed;color:#a33333}
.compact-delete-copy{overflow-wrap:anywhere;line-height:1.5}
.compact-bonds .compact-delete-confirm{background:#a33333;color:white;border-color:#a33333}
#compact-delete-error{color:#a33333;font-size:13px;line-height:1.4}
.compact-bonds .compact-search-row{margin-top:8px;margin-bottom:10px}
.compact-bonds .filter-preview-v4.layout-matrix .screen-basic{padding-bottom:10px}
.compact-bonds .filter-preview-v4 .filter-preview-shell .filter-preview-toggle{margin-bottom:6px}
.compact-bonds .screening-panel{margin-bottom:4px}
.compact-bonds .screener-toolbar{gap:8px;margin-bottom:5px}
.compact-bonds .calculator-v2>button.primary{background:#896326;border-color:#896326;color:white}
.compact-bonds .compact-liquidity-period{font-size:12px;color:#526b7e;line-height:1.5;margin:0 0 10px}

/* Drawer rating uses the same typography as maturity and duration. */
.compact-bonds #bond-drawer .compact-keyfacts strong :is(.bond-cell-detail,.bond-rating,.compact-metric-value){font:inherit;color:inherit;line-height:inherit}
.compact-bonds #bond-drawer .compact-keyfacts .bond-rating{background:none;border:0;border-radius:0;min-width:0;padding:0}
.compact-bonds #bond-drawer .compact-keyfacts .bond-cell-detail{background:none;border:0;padding:0}
.compact-bonds #bond-drawer .compact-keyfacts .compact-metric-value{border-bottom:1px dotted currentColor}

/* #370 — approved quieter table; only indicator text carries a value tone. */
.compact-bonds .bond-table .bond-tone-dark{color:#152f49}
.compact-bonds .bond-table .bond-tone-ochre{color:#886328}
.compact-bonds .bond-table .bond-tone-red{color:#9b4141}
.compact-bonds .bond-table .bond-tone-missing{color:#526b7e}
.compact-bonds .bond-table .bond-approx{font-size:.75em;line-height:1;vertical-align:.08em;margin-right:1px}
.compact-bonds .bond-table .bond-coupon-tag{background:none;border:0;border-radius:0;padding:0;color:#526b7e;font-weight:400}
.compact-bonds .bond-table .bond-premium-note{padding:0;border:0;background:none;color:#526b7e;font-size:11px;line-height:17px}
.compact-bonds .bond-table .bond-premium-note:hover{background:none;text-decoration:underline;text-underline-offset:3px}

.compact-bonds .bond-table tbody td{height:48px;padding-top:3px;padding-bottom:3px;vertical-align:middle}


.compact-bonds .scenario-preview{padding-top:4px}
.compact-bonds .scenario-step{display:flex;align-items:center;gap:9px;white-space:nowrap}
.compact-bonds .scenario-step-number{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border:1px solid #d4bd95;border-radius:50%;color:#856125;background:#fcf9f3;font-size:12px;font-weight:600}
.compact-bonds .scenario-step h2{font-size:14px;line-height:1.3;margin:0;color:#17374d}
.compact-bonds .scenario-panel{border:1px solid #dde6ec;border-radius:6px;background:#fff;padding:9px 14px 7px;margin:0 0 10px}
.compact-bonds .scenario-panel-title{display:flex;align-items:center;gap:14px;margin:0 0 3px -15px}
.compact-bonds .scenario-panel-title>span{font-size:11px;color:#60778b}
.compact-bonds .scenario-preview .scenario-controls{display:grid;grid-template-columns:114px minmax(235px,1fr) 270px 290px;align-items:start;gap:clamp(32px,3.34vw,64px);padding:0 16px;margin:0;border:0;background:transparent}
.compact-bonds .scenario-preview .scenario-current{padding:10px 0 0;display:block}
.compact-bonds .scenario-current small{display:block;font-size:11px;line-height:1.3;color:#526e83;margin:0 0 5px}
.compact-bonds .scenario-current-value{height:31px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;border:1px solid #e2eaf0;border-radius:4px;background:#eef4f7;font-size:12px}
.compact-bonds .scenario-current-value b{font-size:13px;font-weight:600;line-height:1;color:#17374d}
.compact-bonds .scenario-current-value>span{font-size:11px;color:#60778b}
.compact-bonds .scenario-current .scenario-asof{font-size:10px;margin:5px 0 0}
.compact-bonds .scenario-trajectory{height:91px;min-width:0;display:flex;justify-content:center}
.compact-bonds .scenario-trajectory svg{display:block;width:100%;height:91px;overflow:visible}
.compact-bonds .trajectory-line{fill:none;stroke:#A57B38;stroke-width:2;vector-effect:non-scaling-stroke}
.compact-bonds .trajectory-fill{fill:#A57B3818}
.compact-bonds .trajectory-axis path{fill:none;stroke:#edf1f4;stroke-width:1}
.compact-bonds .trajectory-axis text,.compact-bonds .trajectory-date{fill:#60778b;font-size:9px}
.compact-bonds .trajectory-value{fill:#17374d;font-size:11px;font-weight:600}
.compact-bonds .scenario-trajectory circle{fill:#A57B38}
.compact-bonds .scenario-trajectory-empty{align-self:center;font-size:12px;color:#9b4c35}
.compact-bonds .scenario-end-fields{display:grid;grid-template-columns:114px 142px;gap:10px 14px;align-content:start;padding-top:10px}
.compact-bonds .scenario-preview .scenario-controls label,.compact-bonds .scenario-preview .scenario-cash-settings label{gap:5px;font-size:11px;margin:0}
.compact-bonds .scenario-preview .scenario-controls input,.compact-bonds .scenario-preview .scenario-controls select{height:31px;font-size:12px;padding:4px 7px;width:100%;min-width:0}
.compact-bonds .scenario-preview .scenario-add-point{grid-column:1/-1;display:inline-flex;align-items:center;gap:6px;text-align:left;font-size:12px;font-weight:400;padding:0;line-height:20px;min-height:20px;width:fit-content;color:#0066cc;background:none;border:0;border-radius:0;white-space:nowrap}
.compact-bonds .scenario-add-point>span{text-decoration:underline;text-underline-offset:2px}
.compact-bonds .scenario-add-point>svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.4}
.compact-bonds .scenario-preview .scenario-add-point:hover{color:#004a99}
.compact-bonds .scenario-assumptions{padding-top:10px}
.compact-bonds .scenario-spreads{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.compact-bonds .scenario-spreads>section{min-width:0}
.compact-bonds .scenario-setting-title{display:flex;align-items:flex-start;gap:4px;margin-bottom:6px;min-height:28px}
.compact-bonds .scenario-setting-title label{display:block;flex:1;line-height:1.3}
.compact-bonds .scenario-setting-title .inline-help{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:16px;height:16px;padding:0;font-size:11px}
.compact-bonds .scenario-spreads label+label{margin-top:6px!important}
.compact-bonds .scenario-preview .scenario-cash-settings{margin:0;padding:0;border:0}
.compact-bonds .scenario-preview .scenario-cash-settings[open]{margin:4px 0 0;padding:0;border:0}
.compact-bonds .scenario-preview .scenario-cash-settings>summary{display:none}
.compact-bonds .scenario-preview .scenario-cash-grid{margin:9px 0 0;padding-top:9px;border-top:1px solid #edf1f4;gap:14px;align-items:center;flex-wrap:wrap}
.compact-bonds .scenario-preview .scenario-cash-grid>label{flex:0 0 auto;max-width:none;flex-direction:row;align-items:center;gap:10px;font-size:12px}
.compact-bonds .scenario-preview .scenario-cash-grid select{width:290px}
.compact-bonds .scenario-preview .scenario-cash-grid input{width:86px}
.compact-bonds .scenario-dates-head{display:flex;align-items:center;gap:18px;margin-bottom:8px}
.compact-bonds .scenario-dates-head h3{margin:0;font-size:12px;color:#17374d}
.compact-bonds .scenario-collapse-divider{display:flex;align-items:center;gap:12px;margin:0 0 10px}
.compact-bonds .scenario-collapse-divider::before,.compact-bonds .scenario-collapse-divider::after{content:"";height:1px;background:#dce6ed;flex:1}
.compact-bonds .scenario-preview .scenario-collapse{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:34px;padding:7px 20px;border:1px solid #dec295;border-radius:999px;background:#fff;color:#87632b;font-size:12px;font-weight:400;line-height:18px}
.compact-bonds .scenario-collapse>svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
.compact-bonds .scenario-preview .scenario-collapse:hover{background:#fcf8f1;border-color:#A57B38}
.compact-bonds #scenario-path-nodes{display:flex;flex-wrap:wrap;gap:9px 20px;align-items:center}
.compact-bonds .scenario-preview .scenario-path-node{gap:8px;margin:0;align-items:end}
.compact-bonds .scenario-path-node label:first-child{width:132px}
.compact-bonds .scenario-path-node label:nth-child(2){width:88px}
.compact-bonds .scenario-preview .scenario-path-node input{height:31px}
.compact-bonds .scenario-path-node button{height:31px;width:30px;padding:0;background:#fff;border:1px solid #d6e2eb;border-radius:4px;color:#587084}
.compact-bonds .scenario-path-node button:hover{color:#a8382d;border-color:#d8aaa4;background:#fff7f5}
.compact-bonds .scenario-path-empty,.compact-bonds .scenario-reinvest-hint{font-size:11px;color:#60778b;line-height:1.4}
.compact-bonds .scenario-cash-help{margin-top:9px}
.compact-bonds .scenario-cash-help>summary{width:fit-content;font-size:11px;color:#526e83;cursor:pointer}
.compact-bonds .scenario-cash-help .bond-note{margin:7px 0;font-size:11px;max-width:1100px;line-height:1.5}
.compact-bonds .scenario-preview .scenario-model-note{margin:8px 0 2px}
.compact-bonds .scenario-selection-head{margin:0 0 7px}
.compact-bonds .scenario-search-row{display:flex;align-items:center;gap:20px;margin-bottom:10px;min-width:0}
.compact-bonds .scenario-search-row>.search{flex:0 1 340px;min-width:240px;height:34px}
.compact-bonds .scenario-search-row .search input{font-size:12px}
.compact-bonds .scenario-search-row .strategy-bar{margin:0 0 0 auto;flex:0 1 auto;display:flex;flex-wrap:nowrap;gap:6px;min-width:0;padding:0}
.compact-bonds .scenario-preview .scenario-runbar{margin:6px 0 0;padding:8px 0;border-top:1px solid #e1e8ee;gap:12px;flex-wrap:wrap}
.compact-bonds .scenario-run-instructions{margin-right:auto;display:flex;align-items:center;gap:16px}
.compact-bonds .scenario-preview .scenario-runbar>.primary{order:3;min-height:34px;padding:7px 15px;background:#245672;border-color:#245672;font-size:12px}
.compact-bonds .scenario-preview .scenario-runbar>[data-scenario-cancel]{order:4}
.compact-bonds .scenario-preview .scenario-candidate-count{order:2;font-size:12px;color:#526e83}
.compact-bonds .scenario-state{margin:0;font-size:11px;color:#60778b}
.compact-bonds .scenario-state:empty,.compact-bonds .scenario-preview>.screen-error:empty{display:none}
.compact-bonds .scenario-state.is-stale{color:#87632b}
.compact-bonds .scenario-preview>.screen-error{margin:0 0 6px}
.compact-bonds .scenario-preview #scenario-results{margin:0 0 20px}
.compact-bonds .scenario-preview #scenario-results:not(.has-scenario-result) .bond-table{min-width:1350px;table-layout:auto}
.compact-bonds .scenario-preview #scenario-results:not(.has-scenario-result) .bond-table .numbercol,.compact-bonds .scenario-preview #scenario-results:not(.has-scenario-result) .bond-table .datecol{min-width:0}
.compact-bonds .scenario-preview #scenario-results:not(.has-scenario-result) .bond-table .companycol{width:170px;min-width:170px}
.compact-bonds .scenario-preview button:focus-visible{outline:2px solid #245672;outline-offset:3px}
.compact-bonds .scenario-preview .scenario-summary{padding:9px 12px;background:#f1f6f8;border-radius:4px;margin-bottom:12px;font-size:12px}
