:root{color-scheme:dark;--bg:#0a0e14;--surface:#111821;--surface2:#151e28;--stroke:#293341;--text:#e9eef3;--muted:#8391a0;--faint:#5d6c7c;--blue:#5ba8ff;--cyan:#45d2df;--green:#4bd4a0;--red:#ff6474;--amber:#f4ba63;--radius:9px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;font-size:12px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}button:disabled{opacity:.45;cursor:not-allowed}.app-shell{max-width:2050px;margin:0 auto}.topbar{height:66px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 22px;border-bottom:1px solid #24303e;background:#0f151d}.brand{display:flex;align-items:center;gap:12px;min-width:260px}.brand-mark{height:32px;width:32px;border:2px solid #55a4ff;transform:rotate(45deg);border-radius:6px;display:grid;place-items:center;box-shadow:0 0 0 4px #55a4ff12}.brand-mark-inner{width:12px;height:12px;border:2px solid #5bdbce;border-radius:2px}.brand-text{display:flex;flex-direction:column;line-height:1.1;letter-spacing:1.7px}.brand-text strong{font-size:17px;letter-spacing:2px;font-weight:800}.accent{color:var(--blue)}.brand-text small{font-size:8px;color:#7f93a8;letter-spacing:2.5px;margin-top:5px;font-weight:700}.release{border:1px solid #384452;border-radius:3px;color:#7991a4;padding:3px 5px;margin-left:4px;font-size:9px}.topnav{height:100%;display:flex;align-items:center;gap:30px}.topnav a{height:100%;display:grid;place-items:center;color:#8c9aaa;font-size:12px;font-weight:650;white-space:nowrap;position:relative}.topnav a:hover,.topnav .nav-active{color:#f1f6fb}.topnav .nav-active:after{content:"";position:absolute;height:2px;background:var(--blue);bottom:0;left:0;right:0}.topright{display:flex;align-items:center;gap:16px}.clock{display:flex;flex-direction:column;border-left:1px solid #2a3848;padding-left:11px;gap:2px}.clock span{font-size:9px;color:#718296;letter-spacing:1px;font-weight:700}.clock strong{font-family:Consolas,monospace;font-size:13px;font-weight:700}.state-pill{border:1px solid #7c6434;background:#3c311c;color:#f0c578;padding:8px 10px;font-size:9px;font-weight:800;letter-spacing:.6px;white-space:nowrap;border-radius:5px}.state-pill.live{background:#183f32;border-color:#2a775b;color:#67e6b5}.status-dot,.pulse-dot,.mini-live{width:6px;height:6px;display:inline-block;border-radius:50%;background:#f2bd62;margin-right:4px;box-shadow:0 0 0 3px #f2bd6215}.state-pill.live .status-dot{background:#64e4b0}.state-pill.failed{background:#452327;border-color:#974a53;color:#ffa2a8}.state-pill.failed .status-dot{background:#ff6474}.header-button{border:1px solid #304055;background:#182434;color:#cee0f1;border-radius:6px;padding:9px 12px;white-space:nowrap;font-weight:650}.header-button:hover{border-color:#5a8bbf;background:#20334a}
main{padding:14px 16px 10px}.market-overview{height:76px;border:1px solid #253241;border-radius:8px;display:flex;align-items:stretch;background:#111923;overflow:hidden}.overview-label{min-width:174px;padding:0 18px;border-right:1px solid #273545;display:flex;gap:9px;align-items:center}.pulse-dot{background:#54d9a5;margin-right:0;flex-shrink:0}.overview-label strong{display:block;font-size:11px;letter-spacing:1px}.overview-label small{display:block;font-size:9px;color:var(--muted);padding-top:4px}.ticker-row{display:grid;grid-template-columns:repeat(8,minmax(100px,1fr));width:100%;overflow:auto}.ticker-card{padding:13px 14px 8px;border-right:1px solid #223140;min-width:100px;display:flex;flex-direction:column;gap:5px}.ticker-card:hover{background:#162333}.ticker-name{color:#92a3b5;font-size:10px;font-weight:750;letter-spacing:.5px}.ticker-main{display:flex;align-items:baseline;justify-content:space-between;gap:4px}.ticker-main strong{font-size:18px;font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.ticker-main span{font-weight:750;font-size:11px}.pos{color:var(--green)!important}.neg{color:var(--red)!important}.neutral-text{color:var(--muted)!important}
.section-heading{height:44px;display:flex;justify-content:space-between;align-items:center;gap:8px}.section-heading>div:first-child{display:flex;align-items:center;gap:8px;min-width:0}.section-line{width:3px;height:17px;background:var(--blue);border-radius:4px}.section-heading strong{font-size:10px;color:#cdd6df;letter-spacing:1.3px;white-space:nowrap}.section-caption{color:#6c7e91;font-size:10px;white-space:nowrap}.heading-actions{display:flex;align-items:center;gap:9px}.sample-label{font-size:9px;color:#cfaa6d;letter-spacing:.4px}.small-quiet{color:#a3b4c4;border:1px solid #2f3c4a;background:#15202c;padding:6px 10px;border-radius:4px;font-size:10px;white-space:nowrap}
.dashboard-grid{display:grid;grid-template-columns:minmax(430px,5fr) minmax(275px,2.7fr) minmax(335px,3.4fr);grid-template-rows:minmax(440px, min(38vw,520px)) minmax(400px,43vh);gap:10px}.panel{min-width:0;min-height:0;overflow:hidden;background:var(--surface);border:1px solid var(--stroke);border-radius:var(--radius);display:flex;flex-direction:column;box-shadow:0 4px 15px #00000016}.panel-header{height:56px;flex-shrink:0;border-bottom:1px solid #263440;padding:0 12px 0 14px;display:flex;justify-content:space-between;align-items:center;gap:6px;background:linear-gradient(180deg,#16202b 0%,#121a23 100%)}.panel-title{display:flex;align-items:center;gap:9px;min-width:0}.panel-icon{color:#67b7ef;background:#15374c;border:1px solid #285672;border-radius:5px;width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;font-size:19px}.panel-title h2{font-size:13px;letter-spacing:.15px;font-weight:750;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-title p{font-size:9px;color:#8999ab;margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-name{color:#6588a7;font-size:9px;letter-spacing:.8px;font-weight:800}.panel-tools{display:flex;gap:7px;align-items:center;flex-shrink:0}.panel-tools select{background:#1d2936;border:1px solid #344355;border-radius:5px;padding:6px 6px;color:#dbe8f5;font-size:10px}.icon-btn{border:1px solid #304052;border-radius:5px;background:#1b2632;color:#9fb0bf;min-width:28px;height:28px;font-size:17px;line-height:1}.icon-btn:hover{color:#fff;border-color:#5a86b0}.panel-footer{height:30px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #2a3644;color:#788a9a;padding:0 13px;font-size:9px;gap:8px}.panel-footer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-footer>span:last-child{color:#ad997a}.text-control{border:0;background:none;color:#8cb5da;font-size:10px;padding:0;white-space:nowrap}.text-control:hover{text-decoration:underline}.external{color:#87a3b8;font-size:10px;white-space:nowrap}.external:hover{color:#ecf8ff}.segmented{display:flex;gap:2px;padding:2px;border:1px solid #314154;background:#17212b;border-radius:5px;flex-shrink:0}.segmented button{background:none;border:0;color:#7f93a4;padding:4px 10px;font-size:10px;border-radius:3px;white-space:nowrap}.segmented button.active{background:#29445e;color:#c5e5ff;font-weight:800}.segmented.micro button{padding:4px 7px;font-size:9px}
.heatmap-panel .panel-tools{gap:5px}.heatmap-panel #mapPeriods button{padding-inline:7px}.heatmap-panel .panel-title p{max-width:220px}.heatmap-body{flex:1;min-height:0;padding:8px;position:relative}.heatmap-demo{height:100%;width:100%;display:grid;grid-template-columns:1.25fr 1fr .92fr .9fr;grid-template-rows:1.18fr .9fr .68fr;gap:5px;overflow:hidden}.sector{min-width:0;min-height:0;display:flex;flex-direction:column;border:1px solid #263844;border-radius:4px;background:#152029;overflow:hidden}.sector.tech{grid-area:1/1/3/3}.sector.health{grid-area:1/3/2/4}.sector.financial{grid-area:1/4/2/5}.sector.consumer{grid-area:2/3/3/4}.sector.industrials{grid-area:2/4/3/5}.sector.energy{grid-area:3/1/4/2}.sector.communication{grid-area:3/2/4/3}.sector.utilities{grid-area:3/3/4/4}.sector.realestate{grid-area:3/4/4/5}.sector-head{height:19px;background:#202e37;display:flex;align-items:center;justify-content:center;color:#d7e0e9;font-size:10px;font-weight:750;flex-shrink:0;white-space:nowrap;overflow:hidden;letter-spacing:.1px}.sector-head small{color:#94a4b5;font-weight:500;font-size:8px;margin-left:4px}.sector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(13px,1fr);flex:1;min-height:0;gap:2px;padding:2px}.sector.tech .sector-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr))}.tile{border-radius:2px;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;text-align:center;color:white;overflow:hidden;text-shadow:0 1px 2px #0009;cursor:default;border:1px solid #ffffff11}.tile strong{font-size:clamp(7px,.7vw,12px);letter-spacing:-.2px;line-height:1}.tile span{font-size:clamp(7px,.65vw,11px);line-height:1;font-weight:650}.sector.tech .tile.major strong{font-size:clamp(13px,1.75vw,27px)}.sector.tech .tile.major span{font-size:clamp(12px,1.4vw,22px)}.sector .tile.major strong{font-size:clamp(10px,1vw,17px)}.sector .tile.major span{font-size:clamp(9px,.9vw,14px)}.tile:hover{box-shadow:inset 0 0 0 2px #fff9;filter:brightness(1.18)}.heatmap-body>iframe,.chart-inner>iframe,.treasury-content>iframe{width:100%;height:100%;border:0;background:#0b111a}.legend{width:9px;height:9px;display:inline-block;margin:0 4px;border-radius:2px}.legend.red{background:#94454c}.legend.neutral{background:#41454d}.legend.green{background:#246e55}
.watch-toolbar{height:42px;flex-shrink:0;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:6px 12px}.watch-search{display:flex;align-items:center;gap:6px;color:#95a6b9;background:#0d141c;border:1px solid #2d3c4c;border-radius:5px;padding:4px 9px;max-width:185px;min-width:0}.watch-search input{width:100%;background:none;border:0;color:#dde8f3;font-size:11px;outline:none}.watch-search input::placeholder{color:#70849a}.watch-toolbar>span{color:#62788d;font-size:9px;white-space:nowrap}.watch-table-wrap{flex:1;min-height:0;overflow:auto}.watch-table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.watch-table thead{position:sticky;top:0;background:#17222d;z-index:1}.watch-table th{text-align:left;padding:11px 12px;font-size:9px;font-weight:800;letter-spacing:.75px;color:#8094a7}.watch-table th:nth-child(n+2),.watch-table td:nth-child(n+2){text-align:right}.watch-table tbody tr{height:auto;border-bottom:1px solid #24303b;cursor:pointer}.watch-table tbody tr:hover{background:#1c2936}.watch-table tbody tr.selected{background:#223349;box-shadow:inset 3px 0 var(--blue)}.watch-table td{padding:8px 12px;font-size:12px}.watch-table td:nth-child(1){font-weight:750}.watch-table td:nth-child(2){color:#ccd9e6;font-family:Consolas,monospace;font-size:12px}.watch-table td:nth-child(3){font-weight:800;font-size:12px}.symbol-dot{display:inline-grid;place-items:center;margin-right:7px;background:#26384a;width:18px;height:18px;border-radius:5px;color:#b9d2e8;font-size:9px;font-weight:700}.watch-bottom{height:32px;border-top:1px solid #263440;display:flex;align-items:center;justify-content:space-between;padding:0 12px;color:#8497a9;font-size:9px;flex-shrink:0}.watch-bottom button{border:0;background:none;color:#8fb5d9;font-size:10px}.mini-live{background:#d5a052}
.chart-panel .panel-header h2{font-size:12px}.chart-panel{position:relative}.chart-inner{flex:1;min-height:0;padding:12px 8px 4px}.chart-svg-wrap{height:100%;min-height:0}.chart-svg-wrap svg,.yield-svg-wrap svg{height:100%;width:100%;overflow:visible}.chart-legend{height:45px;flex-shrink:0;border-top:1px solid #293542;display:flex;justify-content:space-around;flex-wrap:wrap;align-items:center;gap:3px;padding:5px 10px}.chart-legend .item{display:flex;align-items:center;gap:5px;font-size:9px;font-weight:750;color:#93a7b9}.swatch{display:inline-block;width:14px;height:3px;border-radius:2px}.chart-time{color:#8aa0b0;font-size:10px}.grid-line{stroke:#263645;stroke-width:.65}.axis-text{font-family:Consolas,monospace;fill:#61788e;font-size:10px}.zero-line{stroke:#8191a5;stroke-width:.8;stroke-dasharray:5 4;opacity:.7}.chart-line{fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.chart-selected{stroke-width:3.6}
.embedded-body{flex:1;min-height:0;background:#101923;position:relative}.embedded-body iframe{height:100%;width:100%;border:0;display:block}.news-embed{background:#1e222d}.calendar-panel .panel-header h2,.news-panel .panel-header h2{font-size:12px}.treasury-content{flex:1;min-height:0;display:flex;flex-direction:column;padding:16px 12px 6px;position:relative}.treasury-stats{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;gap:10px}.treasury-stats small{display:block;color:#778d9e;font-size:9px;letter-spacing:.7px;font-weight:750}.treasury-stats strong{display:block;font:750 31px/1.3 Consolas,monospace;color:#e5ecf5;margin-top:4px;letter-spacing:-1px}.treasury-stats strong span{color:#839db0;font-size:18px}.yield-change{font:700 13px Consolas,monospace;color:var(--green)}.yield-svg-wrap{flex:1;min-height:0;margin-top:3px}.bottom-strip{min-height:43px;display:flex;align-items:center;justify-content:space-between;color:#708498;gap:10px;font-size:9px}.bottom-strip>div:first-child{color:#69b0e6;font-size:11px;white-space:nowrap}.bottom-strip strong{letter-spacing:1px}.bottom-strip span{color:#698096}.bottom-strip>div:last-child{white-space:nowrap}
.config-dialog{position:fixed;inset:0;max-height:min(90vh,830px);width:min(675px,calc(100vw - 28px));border:1px solid #37506a;background:#121b27;color:#e6eef7;padding:0;border-radius:12px;box-shadow:0 25px 90px #000c}.config-dialog::backdrop{background:#030810ca;backdrop-filter:blur(3px)}#configForm{display:flex;flex-direction:column;max-height:min(90vh,830px)}.modal-head{display:flex;justify-content:space-between;gap:15px;padding:22px 26px 15px;border-bottom:1px solid #2d4052}.modal-kicker{font-size:9px;font-weight:800;color:#64b8ff;letter-spacing:1.8px}.modal-head h2{font-size:21px;margin:6px 0 7px}.modal-head p{margin:0;font-size:11px;color:#9badbf;line-height:1.6}.modal-head code{background:#25384a;padding:2px 4px;border-radius:3px}.modal-close{align-self:flex-start;background:#1f2a39;border:1px solid #3d5166;border-radius:5px;color:#c4d5e4;width:29px;height:29px}.modal-scroll{overflow:auto;padding:16px 26px 8px}.config-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.config-field>span{font-size:10px;letter-spacing:.6px;font-weight:850}.config-field>span small{color:#879eaf;font-weight:600;font-size:10px;letter-spacing:0;margin-left:8px}.config-field input{height:39px;border:1px solid #364b60;background:#0b131e;padding:0 12px;color:#ddecf7;border-radius:5px;font-size:11px}.config-field>small{font-size:10px;line-height:1.5;color:#8498aa}.config-field a{color:#85c4f0;text-decoration:underline}.modal-note{border:1px solid #695432;background:#28271f;padding:12px;color:#d5c29b;border-radius:6px;font-size:10px;line-height:1.6}.modal-error{color:#ff8b8e;min-height:15px;font-size:11px}.modal-actions{border-top:1px solid #304154;padding:15px 26px;display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-actions>div{display:flex;gap:9px}.primary-btn,.secondary-btn{padding:10px 14px;border-radius:5px;font-weight:750;font-size:11px}.primary-btn{background:#2471ad;color:#fff;border:1px solid #379de9}.secondary-btn{background:#1c2a38;color:#b2c6d9;border:1px solid #344b60}#toast{position:fixed;right:20px;bottom:20px;z-index:1000;max-width:360px;background:#234e44;color:#d0f5e9;border:1px solid #348d75;border-radius:8px;padding:12px 16px;box-shadow:0 8px 26px #0008;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translateY(0)}.panel:fullscreen{width:100vw;height:100vh;border-radius:0;padding:0}.panel:fullscreen .heatmap-body,.panel:fullscreen .chart-inner,.panel:fullscreen .treasury-content{flex:1}.panel:fullscreen .tile strong{font-size:clamp(12px,1.8vw,25px)}.panel:fullscreen .tile span{font-size:clamp(10px,1.2vw,18px)}
@media (max-width:1350px){.topnav{gap:15px}.topright{gap:8px}.clock-br{display:none}.dashboard-grid{grid-template-columns:minmax(360px,5fr) minmax(260px,3fr) minmax(300px,3.7fr)}.panel-header{padding-left:10px;padding-right:8px}.panel-title h2{font-size:11px}.ticker-card{padding-left:11px;padding-right:11px}.ticker-main strong{font-size:16px}.section-caption{display:none}}
@media (max-width:1100px){.topnav{display:none}.dashboard-grid{grid-template-columns:minmax(330px,1.55fr) minmax(260px,1fr);grid-template-rows:minmax(420px,480px) minmax(380px,440px) minmax(350px,430px)}.heatmap-panel{grid-column:1}.watch-panel{grid-column:2}.chart-comparison{grid-column:1;grid-row:2}.treasury-panel{grid-column:2;grid-row:2}.calendar-panel{grid-column:1;grid-row:3}.news-panel{grid-column:2;grid-row:3}.ticker-row{grid-template-columns:repeat(8,minmax(112px,1fr))}.overview-label{min-width:160px}.sample-label{display:none}.panel-title h2{font-size:12px}}
@media (max-width:700px){.topbar{padding:0 12px;height:59px}.brand{min-width:0;gap:9px}.brand-mark{width:26px;height:26px}.brand-text strong{font-size:13px}.brand-text small{font-size:7px}.release,.topright .clock,.state-pill{display:none}.header-button{padding:8px}.header-button span{display:none}main{padding:9px}.market-overview{height:72px}.overview-label{min-width:116px;padding:0 8px}.overview-label strong{font-size:9px}.dashboard-grid{display:flex;flex-flow:row wrap;align-items:flex-start;gap:9px}.panel{flex:initial}.heatmap-panel{height:420px}.heatmap-panel #mapPeriods button:disabled{display:none}.heatmap-panel .panel-tools select{max-width:118px}.watch-panel{height:390px}.chart-comparison{height:380px}.calendar-panel{height:430px}.news-panel{height:430px}.treasury-panel{height:350px}.panel-header{height:54px}.sector-head{font-size:8px}.sector.tech .tile.major strong{font-size:16px}.sector.tech .tile.major span{font-size:14px}.sector .tile strong{font-size:8px}.sector .tile span{font-size:7px}.bottom-strip{flex-wrap:wrap;padding:10px 0;justify-content:center;text-align:center}.bottom-strip>div:nth-child(2){order:3;width:100%}.modal-head{padding:17px}.modal-scroll{padding:14px 17px}.modal-actions{padding:12px 17px}.modal-actions>div{gap:5px}.primary-btn,.secondary-btn{padding:10px 9px}}
@media (max-width:410px){.panel-title h2{font-size:11px}.panel-title p{font-size:8px}.source-name{font-size:8px}.heatmap-panel{height:370px}.market-overview{height:69px}.sector-head{height:17px}.watch-toolbar{height:39px}}
@media (max-width:700px){.overview-label small{font-size:8px}.ticker-row{grid-template-columns:repeat(8,minmax(108px,1fr))}.ticker-card{padding:13px 10px}.section-heading{height:42px}.section-heading strong{font-size:9px}.heatmap-panel .panel-icon{display:none}.heatmap-panel .panel-tools select{max-width:100px;padding-inline:4px;font-size:9px}}

/* Official third-party widgets are opt-in because providers may require a
   generated embed code, account acceptance or a published web domain. */
.embed-placeholder{width:100%;height:100%;min-height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:24px;background:radial-gradient(ellipse at 50% 25%,#172b3a 0%,#111b27 45%,#0d141e 100%);border:1px dashed #2b4458}
.embed-emblem{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;background:#183345;border:1px solid #346184;color:#64c0ee;font-size:25px}
.embed-placeholder strong{font-size:15px;color:#d6e8f7;letter-spacing:.25px}.embed-placeholder p{max-width:315px;font-size:11px;line-height:1.65;color:#92a4b7;margin:0}
.embed-actions{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap}.embed-actions a{font-size:11px;color:#8abfe4;text-decoration:underline;text-underline-offset:3px}.embed-actions button{padding:8px 12px}
@media(max-width:700px){.embed-placeholder{min-height:160px}.embed-placeholder strong{font-size:13px}.embed-placeholder p{font-size:10px}}

/* Assistente de primeira visita para a extensão de referências. */
.london-install-control{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 17px}
.london-install-control small{color:#8fa9bd;font-size:10px;line-height:1.5}
.london-install-dialog{position:fixed;inset:0;width:min(610px,calc(100vw - 26px));max-height:min(90vh,790px);padding:0;border:1px solid #37506a;border-radius:12px;background:#121b27;color:#e6eef7;box-shadow:0 25px 90px #000c;overflow:auto}
.london-install-dialog::backdrop{background:#030810c9;backdrop-filter:blur(3px)}
.london-install-head{display:flex;justify-content:space-between;gap:15px;padding:22px 24px 17px;border-bottom:1px solid #2d4052}
.london-install-head h2{font-size:20px;margin:7px 0 8px}
.london-install-head p{margin:0;color:#a5b9cc;font-size:11px;line-height:1.65}
.london-install-head .modal-close{flex-shrink:0}
.london-install-body{padding:18px 24px 10px;color:#cfdeea;font-size:11px;line-height:1.7}
.london-install-body>p:first-child{margin:0 0 12px;color:#89c9f0;font-weight:750}
.london-install-body ol{margin:0;padding-left:23px}
.london-install-body li{padding:0 0 12px 3px}
.london-install-body code{background:#233346;border:1px solid #344b61;border-radius:4px;padding:2px 4px;overflow-wrap:anywhere}
.london-install-body .london-install-hint{color:#9badbf;font-size:10px;margin:6px 0 0}
.london-install-notice{min-height:17px;color:#e9b779;font-size:10px;margin:10px 0 0}
.london-install-notice.error{color:#ff969a}
.london-install-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;padding:15px 24px;border-top:1px solid #304154}
.london-install-actions a.primary-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:700px){.london-install-head{padding:17px}.london-install-head h2{font-size:17px}.london-install-body{padding:15px 17px 7px}.london-install-actions{justify-content:flex-start;padding:12px 17px}}

/* V0.2 — dashboard de blocos organizáveis e redimensionáveis. */
[hidden]{display:none!important}
.layout-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;border:1px solid #2b3a48;border-radius:8px;background:#121b25;margin:0 0 10px;padding:7px 11px;flex-wrap:wrap}
.layout-toolbar-main,.layout-buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.layout-toolbar-main{flex:1;min-width:260px}
#layoutHint{color:#8399aa;font-size:10px}
.layout-primary{border:1px solid #448eb9;border-radius:5px;background:#1b394e;color:#d1ecff;padding:8px 12px;font-size:11px;font-weight:800;white-space:nowrap}
.layout-primary.editing{background:#215745;border-color:#4bbd8d;color:#dbfff2}
.layout-buttons .small-quiet{padding:7px 9px}
.panel-picker-container{position:relative}
.panel-picker{position:absolute;right:0;top:calc(100% + 8px);width:235px;padding:10px;background:#15212c;border:1px solid #3e5b72;border-radius:7px;box-shadow:0 15px 35px #0009;z-index:60}
.picker-row{display:flex;align-items:center;gap:10px;padding:9px 5px;border-bottom:1px solid #2a3b48;cursor:pointer;font-size:11px}
.picker-row:hover{background:#223445}.picker-row input{accent-color:#5ba8ff}
.panel-picker p{font-size:10px;color:#8ba1b4;line-height:1.5;margin:11px 5px 3px}
.dashboard-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:70px;gap:10px;position:relative;align-content:start}
.dashboard-grid>.panel{height:auto;max-width:none;min-height:0}
.dashboard-grid .panel-header{position:relative}
.dashboard-editing .panel{border-style:dashed;border-color:#407da8}
.dashboard-editing .panel-header{cursor:grab;touch-action:none;background:#193449;user-select:none;padding-right:10px}
.dashboard-editing .panel-header:active{cursor:grabbing}
.dashboard-editing .panel-tools{visibility:hidden}
.dashboard-editing iframe{pointer-events:none}
.layout-card-controls{display:none;align-items:center;gap:5px;margin-left:auto;flex-shrink:0;position:absolute;right:10px;top:12px;z-index:2}
.dashboard-editing .layout-card-controls{display:flex}
.layout-card-controls button{border:1px solid #45718c;background:#243e51;color:#ddf1ff;border-radius:4px;width:28px;height:27px;display:grid;place-items:center;cursor:pointer}
.layout-card-controls .hide-panel:hover{background:#863c49}
.layout-card-controls .move-arrow{display:none}
.resize-grip{position:absolute;right:0;bottom:0;z-index:4;width:28px;height:28px;border:0;border-radius:0 0 8px 0;background:linear-gradient(135deg,transparent 35%,#335c77 36%);color:#b5e4ff;display:none;place-items:end;padding:0 4px 2px 0;font-size:15px;cursor:nwse-resize;touch-action:none}
.dashboard-editing .resize-grip{display:grid}
.dashboard-editing .panel.is-dragging{z-index:50;opacity:.75;border:2px solid #71c9ff;box-shadow:0 16px 45px #0009;pointer-events:none}
.layout-preview{border:2px dashed #6dd5ff;background:#3d9bc32a;border-radius:8px;z-index:40;pointer-events:none}
.layout-drag-active{user-select:none;cursor:grabbing}
.region-panel .panel-header{height:53px}
.region-panel .panel-title h2{font-size:13px}
.region-panel .panel-title p{font-size:9px}
.region-symbol{color:#fa5269;font-size:23px;font-weight:800;display:grid;place-items:center;width:24px;height:29px}
.region-table-wrap{flex:1;min-height:0;overflow:auto}
.region-table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.region-table th{background:#111923;color:#c5d6e7;height:31px;position:sticky;top:0;z-index:1;font-size:10px;white-space:nowrap}
.region-table th:first-child,.region-table td:first-child{text-align:left;padding-left:9px;width:38%}
.region-table th:nth-child(2),.region-table td:nth-child(2){width:25%;text-align:right}
.region-table th:nth-child(3),.region-table td:nth-child(3){width:19%;text-align:right}
.region-table th:nth-child(4),.region-table td:nth-child(4){width:18%;text-align:right;padding-right:8px}
.region-table td{height:31px;font-weight:750;padding:4px 5px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.region-table tbody tr:nth-child(odd){background:#1d252e}
.region-table tbody tr:nth-child(even){background:#171f28}
.region-table tbody tr:hover{background:#273845}
.region-table td:nth-child(2){font-family:Consolas,monospace;color:#e5edf3}
.region-table td:nth-child(3){font-family:Consolas,monospace}
.region-table .region-time{color:#a3b0be;font-size:9px;font-weight:500}
.region-flag{display:inline-block;margin-right:6px;font-size:15px;vertical-align:-2px}
.region-name{vertical-align:0}
.region-footer{height:28px;display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:8px;background:#121c27;color:#899aaa;padding:0 10px;border-top:1px solid #293645;font-size:9px}
.region-footer span:last-child{color:#a8e5d2;font-weight:750}
@media(max-width:1100px){
  .dashboard-grid{display:flex;flex-flow:row wrap;align-items:flex-start;gap:10px}
  .dashboard-grid>.panel{flex:none;width:100%;min-height:280px;height:410px}
  .dashboard-grid>.heatmap-panel{height:450px}
  .dashboard-grid>.region-panel{height:320px}
  .layout-card-controls .move-arrow{display:grid}
  .dashboard-editing .resize-grip{display:none}
  .layout-toolbar{gap:6px}
}
@media(max-width:700px){
  .dashboard-grid>.panel{height:390px}
  .dashboard-grid>.heatmap-panel{height:410px}
  .dashboard-grid>.treasury-panel{height:345px}
  .dashboard-grid>.region-panel{height:315px}
  .layout-toolbar{padding:9px}
  .layout-toolbar-main{min-width:0;width:100%;flex-wrap:wrap}
  #layoutHint{font-size:9px}
  .layout-buttons{width:100%;gap:5px}
  .layout-buttons .small-quiet{font-size:9px;flex:1;padding:7px 6px}
  .region-table th:first-child,.region-table td:first-child{width:37%}
}
.dashboard-grid>.panel:fullscreen{width:100vw;height:100vh}

/* Two lines per asset, matching Panorama's mobile market cards. */
.watch-panel,.region-panel{container-type:inline-size}
.watch-table,.region-table{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;border-spacing:0}
.watch-table thead,.region-table thead{display:block;position:sticky;top:0;z-index:2;flex:0 0 auto;background:#202d39}
.watch-table tbody,.region-table tbody{display:flex;flex:1 1 auto;min-height:0;flex-direction:column}
.watch-table tr,.region-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,28%) minmax(62px,24%);height:auto}
.watch-table th,.region-table th{display:block;width:auto!important;text-align:left!important;padding:7px 9px!important;font-size:9px;letter-spacing:.3px;height:auto;border-right:1px solid #344250}
.watch-table th:nth-child(4),.region-table th:nth-child(4){grid-column:1/-1;border-top:1px solid #344250;border-right:0;padding:5px 9px!important;color:#aab8c6;font-size:9px}
.watch-table tbody tr,.region-table tbody tr{height:62px;min-height:62px;grid-template-rows:34px 26px;align-items:stretch;border-bottom:2px solid #2e3c49;background:#101821;cursor:pointer}
.watch-table tbody tr:nth-child(even),.region-table tbody tr:nth-child(even){background:#19222d}
.watch-table td,.region-table td{display:block;min-width:0;width:auto!important;height:auto;padding:7px 9px!important;font-size:12px!important;line-height:18px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.watch-table td:first-child,.region-table td:first-child{position:relative;text-align:left;border-bottom:1px solid #2e3c49;padding-left:12px!important}
.watch-table td:first-child::before,.region-table td:first-child::before{content:'';position:absolute;left:0;top:6px;bottom:6px;width:3px;background:#659bd0}
.watch-table td:nth-child(2),.region-table td:nth-child(2){text-align:right;border-bottom:1px solid #2e3c49;font-family:Consolas,monospace;color:#e5edf3}
.watch-table td:nth-child(3),.region-table td:nth-child(3){text-align:right;border-bottom:1px solid #2e3c49;font-family:Consolas,monospace}
.watch-table td.compact-range-cell,.region-table td.compact-range-cell{grid-column:1/-1;width:auto;padding:4px 10px!important;overflow:visible}
.watch-table td[colspan]{grid-column:1/-1}
.watch-table .flow-row td.sm-flow-state{grid-column:2/-1;text-align:right;font-size:8px!important;letter-spacing:.15px;border-bottom:1px solid #2e3c49;color:#aab8c6}
.watch-table .nq-flow-row td:first-child::before{background:#20aee8}.watch-table .sm-flow-row td:first-child::before{background:#8269af}
.flow-range span{width:47px}
.watch-table-wrap,.region-table-wrap{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#567388 #14202a}
.dashboard-grid>.watch-panel,.dashboard-grid>.region-panel{height:auto;min-height:0}
.watch-table tbody tr.selected{box-shadow:none;background:#1b2b3c}
.watch-table tbody tr:hover,.region-table tbody tr:hover{background:#223141}
.symbol-dot{display:none}
.compact-range{display:flex;align-items:center;gap:7px;height:18px;font-variant-numeric:tabular-nums}
.compact-range-track{position:relative;flex:1;min-width:0;height:6px;border-radius:3px;background:#82878f}
.compact-range-track::after{content:'';position:absolute;top:-2px;height:10px;left:50%;width:2px;background:#48e9f0;z-index:2}
.compact-range-track b{position:absolute;top:1px;height:4px;border-radius:2px;background:#32d13b}
.compact-range-track b.negative{background:#ff4c62}
.compact-range-track i{position:absolute;top:-2px;height:10px;width:2px;z-index:3}
.compact-open-mark{background:#d4d445}.compact-vwap-mark{background:#48e9f0}
.compact-arrow{font-style:normal;font-size:12px;width:12px;text-align:center}
.compact-arrow.pos{color:#32d13b}.compact-arrow.neg{color:#ff4c62}.compact-arrow.warming{color:#8b9aa8}
.compact-range span{width:30px;text-align:right;font-size:10px;color:#aab5c3}
.quote-asset-label{display:flex;align-items:baseline;min-width:0;max-width:100%;white-space:nowrap;overflow:hidden}
.quote-asset-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quote-asset-prefix{flex:none;margin-right:4px;font:800 8px/1 Consolas,monospace;letter-spacing:-.15px;font-variant-numeric:tabular-nums}
.quote-asset-prefix[hidden]{display:none}
.quote-asset-prefix.warning{color:#e6a92f}
.quote-asset-prefix.stale{color:#ff4d57}
.quote-asset-prefix.closed,.quote-asset-prefix.indeterminate{color:#8795a3}
.state-pill.warning{background:#42361d;border-color:#8a6c2b;color:#f2c66d}.state-pill.closed{background:#29323c;border-color:#4c5c6b;color:#aab7c3}
.region-flag{font-size:12px;margin-right:4px}
.region-name{font-size:11px}
.price-tick-up{background:#197636;animation:price-rise .7s ease-out forwards}
.price-tick-down{background:#9b2429;animation:price-fall .7s ease-out forwards}
@keyframes price-rise{from{background-color:#197636}to{background-color:transparent}}
@keyframes price-fall{from{background-color:#9b2429}to{background-color:transparent}}
@media(prefers-reduced-motion:reduce){.price-tick-up,.price-tick-down{animation:none}}
.watch-bottom{gap:5px}.watch-bottom>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@container(max-width:300px){.region-flag{display:none}.watch-table td,.region-table td{font-size:11px!important;padding-inline:7px!important}}

/* Quote geometry: compact fixed fields; only the range absorbs horizontal growth. */
.watch-table,.region-table{min-width:max(100%,var(--quote-table-width,324px))}
.watch-table tr,.region-table tr{grid-template-columns:var(--quote-grid-template,84px 76px 68px minmax(96px,1fr))}
.watch-table th,.region-table th{padding:4px 6px!important;font-size:8px;line-height:14px}
.watch-table th:nth-child(4),.region-table th:nth-child(4){grid-column:auto;border-top:0;padding:4px 6px!important;font-size:8px}
.watch-table tbody tr,.region-table tbody tr{position:relative;height:auto;min-height:27px;grid-template-rows:minmax(26px,1fr);flex:1 1 30px;border-bottom:1px solid #2e3c49}
.watch-table td,.region-table td{padding:4px 6px 5px!important;font-size:11px!important;line-height:18px;border-bottom:0!important}
.watch-table td:first-child,.region-table td:first-child{padding-left:9px!important}
.watch-table td:first-child::before,.region-table td:first-child::before{top:5px;bottom:7px;width:2px}
.watch-table td.compact-range-cell,.region-table td.compact-range-cell{position:static;inset:auto;grid-column:auto;padding:0!important;pointer-events:none;overflow:hidden}
.compact-range{position:relative;width:100%;height:100%;display:block}
.compact-range-track{position:absolute;left:7px;right:57px;top:50%;height:6px;transform:translateY(-50%);border-radius:3px;background:#71808fb3}
.compact-range-track b{top:1px;height:4px;border-radius:2px}
.compact-range-track::after,.compact-range-track i{top:-2px;height:10px;width:2px}
.compact-arrow{position:absolute;right:36px;top:5px;font-size:10px;width:11px;line-height:17px}
.compact-range span{position:absolute;right:5px;top:5px;width:28px;font-size:8px;line-height:17px}
.flow-range span{width:38px}.flow-range .compact-arrow{right:44px}
.watch-table .flow-row td.sm-flow-state{grid-column:2/4;font-size:7px!important;padding-right:4px!important}
.region-name{font-size:10px}.region-flag{display:none}
.watch-panel .panel-header,.region-panel .panel-header{height:38px;min-height:38px;padding:4px 8px}
.watch-panel .panel-title p,.region-panel .panel-title p{display:none}
.watch-panel .panel-title h2,.region-panel .panel-title h2{font-size:11px}
.watch-panel .panel-icon,.region-panel .region-symbol{font-size:15px;width:21px;height:23px}
.watch-panel .watch-bottom,.region-panel .region-footer{height:21px;padding:0 7px;font-size:8px}
@container(max-width:300px){.watch-table td,.region-table td{font-size:10px!important}}

/* One compact application header; layout tools stay inside its menu. */
.compact-topbar{height:40px;min-height:40px;padding:0 10px;gap:10px}
.compact-topbar .brand{min-width:0;gap:8px;flex-shrink:0}
.compact-topbar .brand-mark{width:20px;height:20px;border-radius:4px;box-shadow:none}
.compact-topbar .brand-mark-inner{width:8px;height:8px}
.compact-topbar .brand-text strong{font-size:13px;letter-spacing:1px;white-space:nowrap}.compact-topbar .brand-domo{color:#71c9ff}
.compact-topbar .topright{gap:6px;min-width:0}
.compact-topbar .clock{display:flex;flex-direction:row;align-items:center;gap:4px;border:0;padding:0 5px;font-size:10px}
.compact-topbar .clock span{font-size:7px;letter-spacing:.5px}.compact-topbar .clock strong{font-size:10px}
.compact-topbar .state-pill{padding:4px 7px;font-size:8px;white-space:nowrap}
.compact-topbar .header-button{height:27px;min-width:28px;padding:3px 7px;font-size:13px}
.header-layout-menu{position:relative;font-size:10px}
.header-layout-menu>summary{list-style:none;cursor:pointer;white-space:nowrap;padding:6px 8px;border:1px solid #344b60;border-radius:5px;background:#1c2a38}
.header-layout-menu>summary::-webkit-details-marker{display:none}
.header-layout-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:100;width:235px;display:flex;flex-direction:column;gap:6px;padding:10px;background:#15212c;border:1px solid #3e5b72;border-radius:7px;box-shadow:0 12px 30px #0009}
.header-layout-popover button{width:100%;text-align:left;padding:7px 8px;font-size:10px}
.header-layout-popover #layoutHint{font-size:10px;line-height:1.5}
.header-layout-popover .panel-picker{position:static;width:auto;padding:4px;margin-top:5px;box-shadow:none}
main{padding:6px 10px 10px}
.dashboard-grid .panel-header{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.dashboard-grid .panel-title{touch-action:none}
.dashboard-grid .panel-header:active{cursor:grabbing}
.dashboard-grid .panel-header button,.dashboard-grid .panel-header select,.dashboard-grid .panel-header a{touch-action:auto}
.panel.is-dragging{z-index:50;opacity:.75;outline:2px solid #71c9ff;box-shadow:0 16px 45px #0009;pointer-events:none}
.panel.is-drop-target{outline:2px solid #4bd4a0;outline-offset:1px}
.dashboard-grid .panel.is-dragging{will-change:transform}
.layout-drag-active iframe{pointer-events:none}
@media(max-width:700px){
  .compact-topbar{height:38px;min-height:38px;padding:0 8px;gap:5px}
  .compact-topbar .clock,.compact-topbar .state-pill{display:none}
  .compact-topbar .brand-text strong{font-size:11px}
  .compact-topbar .brand-mark{width:17px;height:17px}
  .compact-topbar .topright{gap:4px}.header-layout-menu>summary{padding:6px}
  main{padding:6px}
}

/* Market Pulse lives inside the same compact header. */
.compact-topbar .header-tickers{flex:1;min-width:0;display:flex;align-items:center;gap:3px;height:100%;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
.header-tickers::-webkit-scrollbar{display:none}
.header-tickers-label{font-size:6px;letter-spacing:.3px;color:#d6ae69;writing-mode:vertical-rl;flex-shrink:0}
.header-ticker-row{display:flex;align-items:stretch;min-width:max-content;flex:1;height:100%}
.header-ticker{flex:1 0 94px;min-width:94px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:13px 20px;align-content:center;gap:0 3px;padding:1px 7px;border-left:1px solid #263847;white-space:nowrap;font-variant-numeric:tabular-nums}
.header-ticker-symbol{grid-column:1;grid-row:1;overflow:hidden;text-overflow:ellipsis;font-size:clamp(9px,.5vw,10px);line-height:13px;font-weight:800;color:#8eabc4;letter-spacing:.15px}
.header-ticker strong{grid-column:1/-1;grid-row:2;justify-self:center;font-size:15px;line-height:20px;letter-spacing:.1px}.header-ticker>span:last-child{grid-column:2;grid-row:1;font-size:clamp(9px,.48vw,10px);line-height:13px;align-self:center;font-weight:800}.header-ticker.is-stale strong{color:#9aa9b7}
.compact-topbar .topright{flex-shrink:0}
.global-freeze-status{padding:3px 6px;border:1px solid #6d5d2b;border-radius:4px;background:#3a3321;color:#f0d77a;font-size:8px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
.freeze-market-button.is-frozen{border-color:#c69b38;background:#493c1d;color:#ffe083}
.freeze-control{position:relative;display:flex;align-items:stretch;width:30px;height:27px;flex:0 0 30px}.freeze-control .freeze-market-button{flex:1 1 auto;min-width:19px!important;padding:3px 2px;border-radius:5px 0 0 5px}.freeze-columns-button{width:11px;flex:0 0 11px;padding:0;border:1px solid #34485b;border-left:0;border-radius:0 5px 5px 0;background:#172330;color:#9eb3c6;font-size:8px;cursor:pointer}.freeze-columns-button:hover,.freeze-columns-button[aria-expanded="true"]{background:#263849;color:#fff}.freeze-columns-menu{position:absolute;z-index:80;top:calc(100% + 6px);right:0;width:190px;padding:9px;border:1px solid #465e72;border-radius:6px;background:#111d28;box-shadow:0 10px 28px #000b;color:#c7d7e4}.freeze-columns-menu[hidden]{display:none}.freeze-columns-menu>strong{display:block;margin-bottom:7px;color:#e2bb68;font-size:8px;letter-spacing:.65px}.freeze-columns-menu>small{display:block;margin-top:7px;padding-top:6px;border-top:1px solid #293b4b;color:#8195a7;font-size:8px}.freeze-columns-menu label{display:flex;align-items:center;gap:7px;padding:4px 3px;border-radius:3px;font-size:9px;cursor:pointer}.freeze-columns-menu label:hover{background:#203142}.freeze-columns-menu input{accent-color:#d2a849}
@media(max-width:1350px){.compact-topbar .clock{display:none}}
@media(max-width:1100px){.compact-topbar .state-pill{display:none}.global-freeze-status{font-size:0;padding-inline:5px}.global-freeze-status::before{content:'CONG.';font-size:8px}}
@media(max-width:700px){.header-ticker{padding-inline:5px;min-width:94px;flex-basis:94px}.compact-topbar{gap:5px}.compact-topbar .brand{gap:5px}}

/* The provider owns the complete US 10Y chart area and its data. */
#treasuryBody{padding:0;overflow:hidden}
#treasuryBody>iframe{display:block;flex:1;min-height:0;width:100%;height:100%;border:0}

/* Native treasury chart: preferences and data belong to the site. */
#treasuryBody.native-treasury{padding:0;display:flex;flex-direction:column;position:relative;min-height:180px;background:#131313}
.treasury-chart-tools{display:flex;align-items:center;gap:5px;min-height:27px;padding:3px 7px;background:#18212b;color:#d1d4dc;flex-shrink:0}
.treasury-chart-tools button{border:1px solid #354351;border-radius:3px;background:#202c38;color:#b5c8da;padding:2px 6px;font-size:9px;line-height:15px;white-space:nowrap}
.treasury-chart-tools button.active{border-color:#b27c35;color:#ffc16e;background:#3b3021}
.treasury-chart-summary{font-variant-numeric:tabular-nums;font-size:11px;color:#ffff00;margin-left:auto}
.treasury-chart-canvas{flex:1;min-height:150px;position:relative;overflow:hidden}
.treasury-chart-canvas>svg{display:block;width:100%;height:100%;position:absolute;inset:0;touch-action:pan-y}
.treasury-chart-empty{position:absolute;inset:20px;display:flex;align-items:center;justify-content:center;text-align:center;color:#a9b5c3;font-size:11px;line-height:1.6;pointer-events:none}
.treasury-chart-hover{position:absolute;top:3px;left:8px;right:60px;color:#efbd74;font-size:9px;line-height:15px;background:#131313d9;pointer-events:none;font-variant-numeric:tabular-nums}
.treasury-settings-dialog{width:min(520px,calc(100vw - 24px));max-height:90vh;overflow:auto;border:1px solid #466078;border-radius:8px;background:#16212d;color:#d8e5f1;padding:17px}
.treasury-settings-dialog::backdrop{background:#030810bf}
.treasury-settings-dialog h3{margin:0 0 6px;font-size:15px}.treasury-settings-dialog p{font-size:10px;color:#9aafc0;line-height:1.5}
.treasury-settings-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;margin:16px 0}
.treasury-settings-fields label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;min-width:0}
.treasury-settings-fields input,.treasury-settings-fields select{max-width:78px;background:#243447;color:#dce8f3;border:1px solid #42607b;border-radius:3px;padding:3px}
.treasury-settings-fields input[type=color]{width:42px;height:25px;padding:2px}
.treasury-settings-actions{display:flex;justify-content:flex-end;gap:6px;border-top:1px solid #304355;padding-top:12px}
.treasury-settings-actions button{padding:6px;font-size:10px;background:#233b50;color:#d9e8f5;border:1px solid #4c7293;border-radius:4px}
.treasury-panel .panel-footer>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
@media(max-width:400px){.treasury-settings-fields{grid-template-columns:1fr}.treasury-settings-dialog{padding:13px}}

/* Comparativo nativo; todos os controles cabem no cartão compacto. */
.chart-inner.native-comparison{padding:0;display:flex;flex-direction:column;min-height:150px;overflow:hidden}
.comparison-legend{height:auto;min-height:30px;justify-content:flex-start;align-items:center;display:flex;flex-wrap:wrap;gap:3px 7px;padding:4px 7px;flex-shrink:0}
.comparison-legend button{display:inline-flex;align-items:center;gap:4px;background:none;border:0;color:#d1d4dc;padding:1px;font-size:9px;font-variant-numeric:tabular-nums;cursor:pointer}
.comparison-legend button.muted{opacity:.4;text-decoration:line-through}
.comparison-legend i{width:7px;height:7px;border-radius:1px}
.comparison-feed-note{padding:1px 7px 4px;font-size:8px;color:#92a9be;flex-shrink:0;overflow-wrap:anywhere}
.comparison-hover{position:absolute;top:3px;left:6px;right:85px;background:#131313ed;color:#d1d4dc;font-size:9px;line-height:15px;pointer-events:none}
.comparison-reset-btn{position:absolute;top:4px;right:8px;z-index:5;background:#182836d9;border:1px solid #324c64;border-radius:4px;color:#9cc8eb;font-size:9px;line-height:1;padding:3px 6px;cursor:pointer;backdrop-filter:blur(3px);display:inline-flex;align-items:center;gap:3px;user-select:none}
.native-comparison .treasury-chart-canvas{touch-action:none;user-select:none;-webkit-user-select:none}
.native-comparison .treasury-chart-canvas svg{cursor:crosshair;touch-action:none;user-select:none}
.native-comparison .treasury-chart-canvas.is-panning, .native-comparison .treasury-chart-canvas.is-panning *{cursor:grabbing !important;user-select:none}
.chart-comparison .panel-tools{gap:3px}.chart-comparison .panel-title{min-width:0}
.single-asset-panel .comparison-legend{min-height:25px}.single-asset-panel .chart-time{font-size:8px}.single-asset-panel .panel-header{padding-right:7px}
@media(max-width:460px){.chart-comparison .panel-title h2{font-size:10px}.chart-comparison .panel-title p{font-size:8px}.chart-comparison .panel-icon{display:none}.chart-comparison .segmented button{padding-inline:4px}.chart-comparison .icon-btn{width:21px;min-width:21px}}

.fj-translations{position:absolute;z-index:4;inset:0;max-height:none;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:#0d1720;box-shadow:none}
.news-sound-toggle{height:28px;padding:0 8px;border:1px solid #304052;border-radius:5px;background:#1b2632;color:#9fb0bf;font:600 9px Helvetica,Arial,sans-serif;white-space:nowrap}.news-sound-toggle:hover{border-color:#5a86b0;color:#fff}.news-sound-toggle.is-active{border-color:#238a68;background:#15382f;color:#62e0b5}
.fj-translations[hidden]{display:none}.fj-translations-head{height:28px;flex:0 0 28px;display:flex;align-items:center;justify-content:space-between;padding:0 8px;border-bottom:1px solid #2d4559;color:#8fcaf3;font-size:8px;font-weight:850;letter-spacing:.65px}.fj-translations-head i{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#2cce96;box-shadow:0 0 8px #2cce96}.fj-translations-head button{width:22px;height:21px;padding:0;border:1px solid #39566e;border-radius:4px;background:#152636;color:#9fc8e7;line-height:17px}.fj-translations-list{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#45657b #101a23}.fj-translations article{padding:9px 10px;border-top:1px solid #253747;font-family:Helvetica,Arial,sans-serif}.fj-translations article:first-child{border-top:0}.fj-translations article small,.fj-translations article strong{display:block}.fj-translations article small{overflow:hidden;color:#8398aa;font-size:9px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.fj-translations article strong{margin-top:3px;color:#ccc;font-size:14px;line-height:1.35;font-weight:400}.fj-translations article.fj-news-critical{border-color:#8f0000;background:#b80101}.fj-translations article.fj-news-critical small,.fj-translations article.fj-news-critical strong{color:#fff}.fj-translations.is-collapsed{inset:auto 0 0;max-height:29px}.fj-translations.is-collapsed .fj-translations-list{display:none}

/* Every card can be resized directly, without entering layout edit mode. */
.dashboard-grid>.panel{position:relative}
.dashboard-grid .panel>.resize-grip{display:grid;width:18px;height:18px;font-size:11px;padding:0 2px 1px 0;opacity:.8}
.dashboard-grid .panel>.resize-grip:hover,.dashboard-grid .panel>.resize-grip:focus-visible{opacity:1;outline:1px solid #71c9ff;outline-offset:-2px}
.layout-drag-active iframe{pointer-events:none}
.dashboard-grid .panel.is-dragging{z-index:50}
.dashboard-grid .panel>.panel-footer,.dashboard-grid .panel>.watch-bottom,.dashboard-grid .panel>.region-footer,.comparison-feed-note{padding-right:22px}

/* Large semiconductor universe: compact quote rows inside a resizable scroll area. */
#semiconductorsTableWrap{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#567388 #14202a}
#semiconductorsTableWrap thead{position:sticky;top:0;z-index:5;background:#1e2d39}
.semiconductor-panel .panel-header{height:38px;min-height:38px;padding:4px 8px}
.semiconductor-panel .panel-title h2{font-size:11px}
.semiconductor-panel .panel-icon{font-size:15px;width:21px;height:23px}
.semiconductor-panel .watch-bottom{flex-shrink:0;height:21px;padding:0 22px 0 7px;font-size:8px}

.region-footer>span:first-child{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Keep the macro quotes compact as groups expand and collapse. */
.dashboard-grid>.macro-panel{height:auto;max-height:none;min-height:0;align-self:stretch;overflow:hidden}
.macro-panel .macro-table-wrap{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#567388 #14202a}
.macro-panel .macro-table thead{position:sticky;top:0;z-index:5;background:#1e2d39}
.macro-panel .macro-table tbody tr[hidden]{display:none!important}
.macro-panel .macro-table tbody tr.macro-asset-row{flex:0 0 27px}
.macro-panel .macro-table tbody tr.macro-group-row{display:block;height:22px;min-height:22px;flex:0 0 22px;border-top:1px solid #395066;border-bottom:1px solid #304456;background:#1a2a38;cursor:default}
.macro-panel .macro-table tbody tr.macro-group-row td{display:block;position:static;width:100%!important;padding:0!important;border:0!important;height:100%}
.macro-panel .macro-table tbody tr.macro-group-row td:before{display:none}
.macro-group-toggle{display:flex;align-items:center;gap:5px;width:100%;height:100%;border:0;background:transparent;color:#b7d2e9;text-align:left;padding:0 7px;font-size:9px;letter-spacing:.45px}
.macro-group-toggle:hover{background:#294055;color:#f3f7fd}
.macro-group-toggle strong{font-weight:800;letter-spacing:.75px}
.macro-group-toggle small{margin-left:auto;font-size:9px;color:#7e9bb2;letter-spacing:0}
.macro-chevron{width:10px;color:#60b8f0;font-size:13px}
.macro-panel .watch-bottom{flex-shrink:0;height:21px;padding:0 22px 0 7px;font-size:8px}
.dashboard-grid>.macro-panel:fullscreen{height:100vh;max-height:none;min-height:100vh;align-self:stretch}
@media(max-width:1100px){.dashboard-grid>[data-panel="watch"]{height:440px}.dashboard-grid>.macro-panel{min-height:0;height:1000px;max-height:none}.dashboard-grid>.semiconductor-panel{height:800px}.dashboard-grid>[data-panel="sp500-sectors"]{height:430px}.dashboard-grid>.region-panel{height:270px}}

/* Global freeze keeps fixed comparisons compact and gives all spare room to both ranges. */
.freeze-comparison{min-width:max(100%,var(--quote-table-width,598px))!important}
.freeze-comparison tr:not(.macro-group-row){grid-template-columns:var(--quote-grid-template,84px 78px 78px 70px 70px 100px minmax(110px,1fr))!important}
.freeze-comparison tbody tr:not(.macro-group-row){height:auto;min-height:27px;grid-template-rows:minmax(26px,1fr);flex:1 1 30px}
.freeze-comparison th{grid-column:auto!important;border-top:0!important;padding:4px 6px!important;white-space:nowrap}
.freeze-comparison .frozen-column{background:rgba(245,190,65,.06);color:#dbc987!important}
.freeze-comparison .current-column{background:#182d35;color:#8eeaf0!important}
.freeze-comparison td{position:static!important;inset:auto!important;padding:4px 6px 5px!important;pointer-events:auto!important;border-right:1px solid #2e3c49}
.freeze-comparison td.compact-range-cell{grid-column:auto!important;overflow:hidden}
.freeze-comparison td.compact-range-cell .compact-range{position:relative;height:100%}
.freeze-comparison .frozen-value{background:rgba(245,190,65,.06)}
.freeze-comparison .frozen-value.quote-price{color:#e6d59a!important}
.freeze-comparison .frozen-value.pos{color:#36d98a!important}.freeze-comparison .frozen-value.neg{color:#ff6577!important}
.watch-table tbody .flow-row{flex:0 0 28px;min-height:28px;grid-template-rows:28px}
.freeze-comparison .freeze-flow-row{height:28px;min-height:28px;grid-template-rows:28px;flex:0 0 28px}
.freeze-comparison .freeze-flow-row .flow-compare-cell{display:flex;align-items:center;justify-content:center;min-height:0;padding:2px 6px!important;overflow:hidden}
.freeze-comparison .freeze-flow-row .flow-compare-cell>span{font-size:10px;font-variant-numeric:tabular-nums}
.freeze-comparison .flow-compare-cell small{display:block;width:100%;font-size:7px;line-height:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#9db1c2}
.freeze-comparison .flow-compare-cell .compact-range{position:relative;height:28px}
.market-freeze-active .watch-table-wrap,.market-freeze-active .region-table-wrap{scrollbar-color:#b08c3d #14202a}

/* Keep the asset identity visible while the quote columns scroll horizontally. */
.watch-table th:first-child,.region-table th:first-child{position:sticky!important;left:0;z-index:8;background:#202d39;box-shadow:1px 0 #344250;transform:translateX(var(--quote-scroll-x,0px))}
.watch-table tbody tr:not(.macro-group-row) td:first-child:not([colspan]),.region-table tbody tr td:first-child:not([colspan]){position:sticky!important;left:0;z-index:3;background:#101821;box-shadow:1px 0 #344250;transform:translateX(var(--quote-scroll-x,0px))}
.watch-table tbody tr:nth-child(even):not(.macro-group-row) td:first-child:not([colspan]),.region-table tbody tr:nth-child(even) td:first-child:not([colspan]){background:#19222d}
.watch-table tbody tr:hover:not(.macro-group-row) td:first-child:not([colspan]),.region-table tbody tr:hover td:first-child:not([colspan]){background:#223141}
.watch-table tbody tr.selected td:first-child:not([colspan]){background:#1b2b3c}
.watch-table th,.region-table th{position:relative;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap}
.column-resize-handle{position:absolute;z-index:12;top:0;right:0;width:8px;height:100%;min-height:20px;cursor:col-resize;touch-action:none;user-select:none}
.column-resize-handle::after{content:'';position:absolute;top:3px;right:0;bottom:3px;width:1px;background:transparent}
.column-resize-handle:hover::after,.column-resize-handle:focus-visible::after,.column-resizing .column-resize-handle::after{background:#71c9ff;box-shadow:0 0 5px #71c9ff}
.column-resize-handle:focus-visible{outline:1px solid #71c9ff;outline-offset:-2px}.column-resizing{cursor:col-resize!important;user-select:none!important}.column-resizing *{cursor:col-resize!important}
/* Price/change figures remain compact but readable in normal and frozen comparison modes. */
.watch-table tbody tr:not(.flow-row):not(.macro-group-row) td:nth-child(2),.watch-table tbody tr:not(.flow-row):not(.macro-group-row) td:nth-child(3),.region-table tbody tr td:nth-child(2),.region-table tbody tr td:nth-child(3),.freeze-comparison tbody tr:not(.freeze-flow-row):not(.macro-group-row) td:nth-child(4),.freeze-comparison tbody tr:not(.freeze-flow-row):not(.macro-group-row) td:nth-child(5){font-size:13px!important;font-weight:400!important}
.freeze-comparison tbody tr:not(.freeze-flow-row):not(.macro-group-row) td.quote-price,.freeze-comparison tbody tr:not(.freeze-flow-row):not(.macro-group-row) td.quote-change{font-size:13px!important;font-weight:400!important}
.header-button.is-refreshing{cursor:wait;opacity:.75;animation:panorama-refresh-spin .8s linear infinite}@keyframes panorama-refresh-spin{to{transform:rotate(360deg)}}
.access-gate{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:20px;background:#07101b}.access-card{width:min(360px,100%);display:grid;gap:12px;padding:30px;border:1px solid #2d506b;border-radius:12px;background:#111d2a;box-shadow:0 24px 80px #000a}.access-card .brand-mark{margin:4px auto 8px}.access-card h1{margin:0;text-align:center;font-size:20px;letter-spacing:1.5px}.access-card p{margin:0;color:#9db1c4;line-height:1.55;text-align:center}.access-card label{font-size:11px;color:#b9cce0;font-weight:700}.access-card input{width:100%;padding:11px;border:1px solid #36506b;border-radius:6px;background:#0b141e;color:#f1f6fb}.access-card button{margin-top:5px}.access-error{min-height:18px!important;color:#ff9aa1!important;font-size:11px}.access-gate[hidden]{display:none}
.demo-notice{position:fixed;z-index:100;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;gap:4px;align-items:center;width:max-content;max-width:calc(100vw - 28px);padding:12px 22px;border:1px solid #e6a83e;border-radius:8px;background:rgba(29,22,12,.88);color:#ffe2a0;text-align:center;box-shadow:0 6px 30px #000a;pointer-events:none}.demo-notice strong{font-size:clamp(16px,2vw,24px);letter-spacing:.08em}.demo-notice span{font-size:clamp(11px,1.1vw,14px);font-weight:600}.demo-notice[hidden]{display:none}
.demo-access-button{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #bd8c35;border-radius:5px;background:#3c2e17;color:#ffe3a2;font-weight:700;white-space:nowrap}.demo-access-button[hidden]{display:none}.demo-embed-note{margin:16px;color:#aab9c8;line-height:1.5}
.connection-led{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%;background:#e35a62;box-shadow:0 0 6px #e35a6270}.connection-led.blue{background:#44aaff;box-shadow:0 0 7px #44aaff90}.connection-led.green{background:#42d68a;box-shadow:0 0 7px #42d68a80}.connection-led.yellow{background:#f2c352;box-shadow:0 0 7px #f2c35280}.connection-led.demo{display:none}
.chart-comparison,.single-asset-panel{container-type:inline-size}
.chart-comparison .panel-title,.single-asset-panel .panel-title{flex:1;overflow:hidden}
.chart-comparison .panel-title>div,.single-asset-panel .panel-title>div{min-width:0;overflow:hidden}
.chart-comparison .panel-tools,.single-asset-panel .panel-tools{gap:3px}
.chart-comparison .segmented.micro button,.single-asset-panel .segmented.micro button{min-width:20px;padding:4px 5px}
@container(max-width:380px){.single-asset-panel .chart-time{display:none}}
@container(max-width:260px){.chart-comparison .panel-icon,.single-asset-panel .panel-icon{display:none}}
.freshness-groups{display:inline-flex;align-items:center;gap:4px;flex:none}
.freshness-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 6px;border:1px solid #526272;border-radius:4px;background:#26323d;color:#b5c5d4;font:11px Consolas,monospace;white-space:nowrap;cursor:help;line-height:16px}
.freshness-badge.live{background:#183f32;border-color:#2a775b;color:#67e6b5}
.freshness-badge.failed{background:#452327;border-color:#974a53;color:#ffa2a8}
.freshness-badge.warning{background:#42361d;border-color:#8a6c2b;color:#f2c66d}
.freshness-badge.closed{background:#29323c;border-color:#4c5c6b;color:#aab7c3}
.freshness-badge.demo{background:#3c2e17;border-color:#bd8c35;color:#ffe3a2}
.freshness-badge:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.freshness-group-icon{font:16px/16px "Segoe UI Symbol",sans-serif}
@media(max-width:700px){.freshness-badge{padding:2px 4px;font-size:10px;gap:2px}.freshness-groups{gap:3px}}

.fj-translations article time{font-size:11px;font-variant-numeric:tabular-nums;color:#adc6d9}.fj-translations article.fj-news-critical time{color:#fff}

.automatic-demo{position:fixed;inset:0;z-index:9000;display:flex;flex-direction:column;background:#0b141e}.automatic-demo-status{flex:0 0 auto;padding:9px 14px;background:#302510;color:#ffe2a0;text-align:center;font-size:12px;line-height:1.4;border-bottom:1px solid #a87a30}.automatic-demo iframe{display:block;flex:1;width:100%;min-height:0;border:0}.automatic-demo-active{overflow:hidden}

.comparison-legend.comparison-legend-overlay{position:absolute;z-index:3;top:5px;left:8px;width:max-content;max-width:calc(100% - 16px);height:auto;min-height:0;margin:0;padding:3px 6px;flex-wrap:nowrap;gap:0;border:1px solid #34495a;border-radius:4px;background:#17232ee8;overflow:hidden}
.comparison-legend-overlay button{gap:3px;padding:0;font-size:11px;line-height:16px;white-space:nowrap}
.has-overlay-legend.compact-overlay-legend .comparison-legend-overlay{padding:2px 4px}
.has-overlay-legend.compact-overlay-legend .comparison-legend-overlay button{gap:2px;font-size:10px}
.has-overlay-legend .comparison-hover{top:34px;right:8px;z-index:4}

.watch-table tbody tr.flow-row{isolation:isolate}
.watch-table tbody tr.flow-row::before{content:'';position:absolute;top:0;bottom:0;left:var(--flow-bar-left,50%);width:var(--flow-bar-width,0%);background:var(--flow-bar-color,transparent);pointer-events:none;z-index:0}
.watch-table tbody tr.flow-row::after{content:'';position:absolute;left:50%;top:4px;bottom:4px;width:1px;background:rgba(118,211,227,.55);pointer-events:none;z-index:0}
.watch-table tbody tr.flow-row>td{background:transparent!important;z-index:1}
.watch-table tbody tr.flow-row .compact-range-track{display:none}

.heatmap-treemap{position:relative;width:100%;height:100%;min-height:0;overflow:hidden}
.heatmap-treemap .sector{position:absolute;min-width:0;min-height:0;grid-area:auto;overflow:hidden;border-radius:2px}
.heatmap-treemap .sector-head{width:100%;min-height:0;line-height:1;letter-spacing:0}
.heatmap-treemap .sector-grid,.heatmap-treemap .sector.tech .sector-grid{position:absolute;left:0;display:block;padding:0;gap:0;min-height:0;width:100%}
.heatmap-treemap .tile{position:absolute;min-height:0;min-width:0;padding:0;border:0;border-radius:1px;box-shadow:inset 0 0 0 .5px #ffffff20}
.heatmap-treemap .tile strong,.heatmap-treemap .tile span{max-width:100%;white-space:nowrap}
.heatmap-treemap .sector[hidden],.heatmap-treemap .tile[hidden]{display:none!important}
.heatmap-panel .panel-header{flex-wrap:wrap;height:auto;min-height:42px;padding-block:6px;gap:4px}
.heatmap-panel .panel-tools{margin-left:auto;min-width:0;gap:4px}
.heatmap-panel .panel-tools select{min-width:0;max-width:126px;padding-inline:5px;font-size:10px}
@media(max-width:700px){.heatmap-panel .panel-tools select{max-width:115px}}

.heatmap-treemap .sector-head-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
