
:root{--navy:#0c1830;--navy2:#13233d;--ink:#13243c;--muted:#69788d;--line:#e1e7ed;--bg:#f5f7f8;--white:#fff;--teal:#0d8e7a;--mint:#d9f2ea;--gold:#d6b87e;--red:#bf5e60;--blue:#528bc5;--shadow:0 10px 30px rgba(19,36,60,.045)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--teal);text-decoration:none}.app-shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;width:246px;min-width:246px;height:100vh;background:var(--navy);display:flex;flex-direction:column;color:#f8fbff;padding:31px 15px 20px;overflow:auto}.brand{display:flex;align-items:center;gap:12px;margin:0 9px 54px}.brand-symbol{width:38px;height:38px;border:1px solid rgba(214,184,126,.6);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:30px;font-weight:200}.brand b{font-size:13px;letter-spacing:.11em;white-space:nowrap}.brand i{font-style:normal;color:var(--gold)}.brand small{display:block;font-size:10px;color:#8ea1b9;letter-spacing:.11em;margin-top:4px;text-transform:uppercase}.side-label{font-size:10px;letter-spacing:.18em;color:#7c91ad;margin:0 16px 12px}.nav{display:flex;flex-direction:column;gap:5px}.nav-link{appearance:none;border:0;background:transparent;color:#a9b8ce;min-height:44px;border-radius:9px;display:flex;align-items:center;text-align:left;gap:14px;padding:0 14px;font-size:13px;white-space:nowrap}.nav-link span{font-size:19px;width:19px;line-height:1}.nav-link:hover{background:rgba(255,255,255,.045)}.nav-link.active{color:#fff;background:#1e324c}.nav-link.active:after{content:"";width:3px;height:20px;border-radius:2px;background:var(--gold);margin-left:auto}.sidebar-bottom{margin-top:auto;padding:18px 10px 4px}.sidebar-note{font-size:11px;line-height:1.7;color:#8da1ba;border-top:1px solid #2b3a51;padding-top:18px}.sidebar-note b{color:#dae5f2;font-weight:500}.soft-inverse{border:1px solid #45536a;color:#d5e2ed;background:transparent;border-radius:9px;width:100%;padding:10px;margin-top:14px;font-size:12px}.main-area{flex:1;min-width:0}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 39px}.breadcrumbs{font-size:10px;letter-spacing:.15em;font-weight:700;color:#8491a1;white-space:nowrap}.breadcrumbs span{color:#b6bfc9;margin:0 6px}.breadcrumbs span:last-child{color:var(--ink)}.top-actions{display:flex;align-items:center;gap:11px}.top-tag{border:1px solid #d9e2e6;color:#60758a;border-radius:4px;font-size:9px;letter-spacing:.1em;padding:7px 9px;font-weight:700}.top-button{background:transparent;border:1px solid #d9e0e6;color:#3b5670;border-radius:8px;padding:9px 12px;font-size:12px}.top-button:hover{background:#f4f7f8}.profile-button{background:#ddeae4;border:0;border-radius:50%;width:33px;height:33px;color:#54746c;font-size:11px;font-weight:700}.page{max-width:1460px;margin:auto;padding:32px 39px 56px}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;gap:15px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:700;color:var(--teal);margin:0 0 7px}.page-head h1{font-size:28px;letter-spacing:-.035em;margin:0;font-weight:650}.page-sub{color:var(--muted);font-size:13px;margin:8px 0 0;line-height:1.6}.head-buttons{display:flex;gap:8px;flex-wrap:wrap}.btn{padding:10px 14px;border:1px solid #ccd8df;border-radius:9px;background:#fff;color:var(--ink);font-weight:600;font-size:12px}.btn:hover{border-color:#86a8a0}.btn.primary{color:#fff;background:var(--teal);border-color:var(--teal)}.btn.primary:hover{background:#0b786a}.btn.tiny{font-size:11px;padding:7px 10px}.btn.danger{color:#a13e42}.btn.secondary{background:#eaf3f1;color:#116c5d;border-color:#d9eeea}.card{background:#fff;border:1px solid #e4e9ed;border-radius:14px;box-shadow:var(--shadow)}.grid2{display:grid;grid-template-columns:1.15fr .85fr;gap:19px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stack{display:flex;flex-direction:column;gap:17px}.hero{background:linear-gradient(112deg,#10213d,#0d2b42 62%,#06483f);color:#fff;padding:27px 30px;border-radius:15px;display:grid;grid-template-columns:1fr 1fr;gap:20px;min-height:221px;position:relative;overflow:hidden}.hero:after{content:'◌';position:absolute;right:-9px;top:-118px;font-size:440px;line-height:1;color:rgba(255,255,255,.034);font-weight:100}.hero-label{color:#a8c4d4;font-size:11px;letter-spacing:.14em;text-transform:uppercase}.hero .money{font-size:39px;letter-spacing:-.045em;font-weight:550;margin:9px 0 10px;font-variant-numeric:tabular-nums}.hero-meta{font-size:12px;color:#bed3d9;line-height:1.7}.hero-right{align-self:end;justify-self:end;text-align:right;padding-right:12px;position:relative;z-index:1}.hero-right .hero-big{font-size:21px;font-weight:600;color:#f3e5cb}.hero-right small{font-size:10px;color:#a8c4d4;display:block;margin:4px 0 12px;letter-spacing:.06em}.hero-foot{font-size:11px;color:#9ebec5}.metric{padding:19px 20px}.metric .label{color:#758599;font-size:11px;letter-spacing:.03em}.metric .number{font-size:22px;font-weight:650;margin:12px 0 5px;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.metric .hint{font-size:11px;color:var(--muted)}.up{color:var(--teal)}.down{color:var(--red)}.section-card{padding:22px 24px}.card-title{font-size:15px;font-weight:700;margin:0}.card-note{color:#8391a0;font-size:11px;margin:5px 0 0;line-height:1.5}.title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px}.table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.table th{font-size:10px;color:#8a97a8;text-transform:uppercase;letter-spacing:.07em;font-weight:700;padding:0 9px 12px;border-bottom:1px solid var(--line)}.table td{border-bottom:1px solid #edf0f2;padding:13px 9px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table td strong{font-weight:650}.muted{color:var(--muted)}.small{font-size:11px}.status-tag{display:inline-flex;align-items:center;border-radius:4px;padding:5px 7px;background:#e8f2ee;color:#287765;font-size:10px;font-weight:700}.status-tag.blue{background:#e8f0f8;color:#4779ab}.status-tag.neutral{background:#edf0f3;color:#6d7a88}.status-tag.gold{background:#f7f1e5;color:#977239}.status-tag.red{background:#fceeee;color:#a95054}.mini-line{margin-top:7px;color:#90a0b0;font-size:10px}.pill{display:inline-block;background:#f0f4f6;color:#4f6477;border-radius:30px;font-size:10px;padding:6px 9px}.pill.green{background:#e6f6f1;color:#0b8a73}.property-row{display:grid;grid-template-columns:45px 1.2fr 1fr 1fr 1fr auto;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.property-row:last-child{border:0}.property-icon{width:39px;height:39px;border-radius:11px;background:#edf2f5;display:flex;justify-content:center;align-items:center;font-size:20px;color:#577188}.row-name{font-weight:650;font-size:12px;line-height:1.5}.row-sub{font-size:10px;color:#8191a1;margin-top:2px}.row-figure{font-size:12px;font-weight:650}.row-figure small{font-size:10px;color:#91a0ae;display:block;font-weight:400;margin-bottom:5px}.btn-arrow{border:1px solid #e1e8eb;background:#fff;color:#8291a0;border-radius:8px;padding:7px 11px;font-size:16px}.btn-arrow:hover{color:var(--teal);border-color:#a2c6bd}.donut-layout{display:flex;gap:22px;align-items:center}.donut{width:165px;height:165px;min-width:165px;border-radius:50%;background:conic-gradient(#e7edf2 0 100%);position:relative;display:grid;place-items:center}.donut:after{content:"";position:absolute;inset:30px;background:#fff;border-radius:50%}.donut-center{z-index:1;text-align:center;font-size:22px;font-weight:700}.donut-center small{display:block;font-size:10px;font-weight:500;color:#8b98a5}.legend{flex:1;min-width:0}.legend-row{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin:11px 0}.legend-label{display:flex;align-items:center;gap:8px;color:#617084}.legend-value{color:#23384c;font-weight:700}.dot{height:9px;width:9px;border-radius:3px;display:inline-block;flex:none}.tip{border:1px solid #e1e9eb;border-radius:11px;padding:14px 16px;background:#fafcfb;font-size:12px;color:#627b86;line-height:1.6}.tip b{color:#174f52}.empty{border:1px dashed #d4dfe4;border-radius:12px;text-align:center;padding:25px 17px;color:#8291a0;font-size:12px;line-height:1.7}.empty strong{display:block;color:#334e60;font-size:13px;margin-bottom:4px}.note-line{font-size:11px;color:#8493a1;line-height:1.6}.property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.property-card{padding:20px 22px}.property-card .top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.property-card h3{font-size:16px;margin:9px 0 2px}.property-card p{font-size:11px;color:#8a9bad;margin:0;line-height:1.5}.property-fig{display:grid;grid-template-columns:1fr 1fr;gap:15px;border-top:1px solid #e8eef1;border-bottom:1px solid #e8eef1;padding:15px 0;margin:19px 0}.property-fig small{display:block;font-size:10px;color:#8997a6;margin-bottom:6px}.property-fig b{font-size:16px;letter-spacing:-.02em}.property-flow{font-size:12px;color:#687c8e;display:flex;justify-content:space-between;align-items:center}.property-flow b{font-weight:700}.statement{border:1px solid #e0e7ec;border-radius:12px;overflow:hidden;background:#fff}.statement .table td:first-child,.statement .table th:first-child{padding-left:18px}.statement .table td:last-child,.statement .table th:last-child{padding-right:18px}.table-scroll{overflow:auto}.table button{white-space:nowrap}.scenario-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.74fr);gap:18px;align-items:start}.scenario-controls{padding:22px}.control-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 19px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:11px;font-weight:650;color:#5c7083}.field input,.field select,.field textarea{border:1px solid #d7e0e6;border-radius:8px;background:#fff;padding:10px 10px;font-size:13px;width:100%;color:var(--ink);outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4ca38e;box-shadow:0 0 0 3px #b8eadc66}.field .help{font-size:10px;color:#91a0ab;line-height:1.5}.control-section{font-size:10px;font-weight:700;letter-spacing:.12em;color:#97a3b0;text-transform:uppercase;margin:22px 0 13px;padding-bottom:8px;border-bottom:1px solid #edf0f2}.flexline{display:flex;gap:8px;align-items:center;justify-content:space-between}.preset-select{padding:9px 10px;border:1px solid #dce5e9;border-radius:8px;background:#fff;color:#597086;font-size:12px;max-width:235px}.projection-hero{padding:23px;background:#10344a;border-radius:12px;color:#fff}.projection-hero small{color:#a9c6ce;font-size:11px}.projection-hero h2{margin:11px 0 6px;font-size:31px;letter-spacing:-.04em;font-weight:600}.projection-hero .delta{font-size:12px;color:#b5d2cb}.scenario-bars{display:flex;flex-direction:column;gap:17px;margin-top:20px}.bar-label{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px}.bar-track{height:7px;background:#edf2f4;border-radius:10px;overflow:hidden}.bar-track span{height:100%;display:block;background:var(--teal);border-radius:10px;min-width:1px}.bar-track span.negative{background:var(--red)}.range-note{margin-top:16px;color:#8999a6;font-size:11px;line-height:1.6}.scenario-kpi{padding:15px;border:1px solid #e6edef;border-radius:9px;background:#fff}.scenario-kpi small{display:block;color:#8494a1;font-size:10px;margin-bottom:9px}.scenario-kpi b{font-size:17px}.chat-intro{background:linear-gradient(120deg,#0f203b,#1b4951);border-radius:15px;padding:25px;color:#fff}.chat-intro .eyebrow{color:#8cdbc9}.chat-intro h2{font-size:23px;font-weight:600;letter-spacing:-.02em;margin:6px 0 9px}.chat-intro p{font-size:12px;color:#bdcfd7;line-height:1.7;max-width:690px;margin:0}.ask-card{padding:22px 24px}.textarea{resize:vertical;min-height:105px}.qa-actions{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:13px}.checkboxline{display:flex;align-items:center;gap:8px;font-size:11px;color:#697989;line-height:1.5}.checkboxline input{width:15px;height:15px;accent-color:var(--teal)}.answer-box{padding:22px 24px;line-height:1.7;font-size:13px;color:#35485b;white-space:pre-wrap;overflow-wrap:break-word}.answer-box h3{margin:0 0 10px;font-size:13px}.answer-box p{margin:0 0 10px}.source-row{display:flex;gap:7px;flex-wrap:wrap}.source-row a{border:1px solid #e0e9ed;border-radius:6px;padding:7px;font-size:11px}.modal-backdrop{position:fixed;inset:0;background:#0d1a2f96;z-index:10;display:flex;align-items:center;justify-content:center;padding:18px}.modal-backdrop.hidden{display:none}.modal-window{background:#fff;border-radius:16px;width:min(630px,100%);max-height:91vh;overflow:auto;padding:24px;box-shadow:0 25px 80px #05111f50}.modal-window header{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:17px}.modal-window h2{font-size:20px;margin:0;letter-spacing:-.02em}.modal-window .sub{font-size:11px;color:#8797a6;margin:5px 0}.modal-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.modal-fields .wide{grid-column:1 / -1}.modal-footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #edf1f3;margin-top:20px;padding-top:18px}.close-btn{background:none;border:0;font-size:22px;color:#8696a3}.toast{position:fixed;right:24px;bottom:24px;background:#193a42;color:#fff;max-width:360px;border-radius:9px;padding:13px 18px;font-size:12px;line-height:1.5;box-shadow:0 9px 26px #08243345;z-index:20;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.footer{font-size:10px;color:#91a0ad;text-align:center;padding:0 15px 20px}.mini-banner{font-size:12px;padding:12px 15px;border:1px solid #ead9b0;background:#fff9ec;color:#876c38;border-radius:8px;margin-bottom:18px;line-height:1.6}.mini-banner.teal{border-color:#c8e8df;background:#f4fbf8;color:#407567}.separator{height:1px;background:#e5ebef;margin:15px 0}.trade-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.trade-list{border:1px solid #e6ebee;border-radius:10px;overflow:hidden}.trade-list .trade-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;padding:9px 12px;align-items:center;font-size:11px;border-bottom:1px solid #edf1f4}.trade-list .trade-row:last-child{border:0}.code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11px;background:#f0f4f5;border-radius:5px;padding:3px 5px}.sticky-summary{position:sticky;top:15px}.legend-simple{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.legend-simple>span{font-size:11px;color:#778898}.inline-value{font-weight:650;color:#213549}.mobile-menu{display:none}.good-focus{border-left:3px solid var(--teal);padding-left:12px}.warning-note{border-left:3px solid #c79d58;padding-left:12px}.lower{text-transform:lowercase}
@media(max-width:1200px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid2{grid-template-columns:1fr 1fr}.scenario-grid{grid-template-columns:1fr}.sticky-summary{position:static}.page{padding:30px 25px}.topbar{padding:0 25px}.property-row{grid-template-columns:42px 1.2fr 1fr 1fr auto}.property-row .optional{display:none}}
@media(max-width:900px){.sidebar{width:72px;min-width:72px;padding:23px 8px}.brand{margin:0 auto 42px}.brand>span:last-child,.side-label,.sidebar-bottom,.nav-link{font-size:0}.nav-link{justify-content:center;padding:0}.nav-link span{font-size:22px}.nav-link.active:after{display:none}.grid2{grid-template-columns:1fr}.topbar{height:66px}.property-grid{grid-template-columns:1fr}}
@media(max-width:650px){.app-shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;left:0;right:0;height:66px;z-index:6;width:100%;padding:3px 7px;min-width:0;display:block;border-top:1px solid #2d4055}.sidebar .brand,.sidebar .side-label,.sidebar .sidebar-bottom{display:none}.nav{display:flex;flex-direction:row;justify-content:space-between;height:100%}.nav-link{font-size:8px;display:flex;flex-direction:column;gap:2px;justify-content:center;min-width:0;flex:1;min-height:58px;padding:3px 2px;line-height:1.2}.nav-link span{font-size:21px;width:auto}.main-area{padding-bottom:75px}.topbar{padding:0 17px;height:60px}.breadcrumbs{font-size:8px}.top-actions{gap:6px}.top-tag{display:none}.top-button{padding:6px 8px;font-size:10px}.profile-button{width:29px;height:29px}.page{padding:22px 14px 32px}.page-head{align-items:flex-start}.page-head h1{font-size:23px}.page-sub{font-size:12px}.grid4,.grid3,.property-grid,.control-grid,.modal-fields{grid-template-columns:1fr}.hero{grid-template-columns:1fr;padding:21px;min-height:0}.hero .money{font-size:32px}.hero-right{text-align:left;justify-self:start;padding-right:0}.hero-right .hero-big{font-size:17px}.metric{padding:16px}.section-card,.scenario-controls,.ask-card{padding:18px}.donut-layout{flex-direction:column;align-items:stretch}.donut{margin:auto}.donut-layout .legend{width:100%}.property-row{grid-template-columns:39px 1fr 1fr auto}.property-row .extra{display:none}.property-fig b{font-size:15px}.modal-window{padding:19px}.modal-fields .wide{grid-column:1}.source-row{flex-direction:column}}
@media(max-width:650px){
 .topbar{gap:4px;padding:0 11px}
 .topbar .breadcrumbs{display:none}
 .top-actions{margin-left:auto;gap:4px;max-width:100%;justify-content:flex-end;min-width:0}
 .top-button{font-size:10px;padding:7px 8px}
 .profile-button{flex:none;width:26px;height:26px}
 .page-head{flex-wrap:wrap}
}


/* Family Office · Módulo Benchmarks */
.date-compact{width:145px;max-width:100%;border:1px solid #dbe3e8;border-radius:8px;background:#fff;padding:8px 6px;font-size:11px;color:#1c3348}
.num{font-variant-numeric:tabular-nums;white-space:nowrap}.mini-banner:not(.teal){background:#fffaf0;border:1px solid #eedbb4;border-radius:9px;padding:11px 14px;color:#856a3e;font-size:12px;line-height:1.7}.bench-bars{display:grid;gap:17px;margin:8px 0 20px}.bench-bar-row{display:grid;grid-template-columns:150px minmax(50px,1fr) 75px;align-items:center;gap:12px;font-size:11px;color:#526578}.bench-bar-row>b{text-align:right}.bench-track{background:#edf2f4;height:11px;border-radius:20px;overflow:hidden}.bench-bar{height:11px;border-radius:20px;background:#07917e}.bench-bar.negative{background:#cc7175}.data-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.data-source{padding:18px;border:1px solid #e4eaef;border-radius:12px}.data-source b{display:block;font-size:12px}.data-source .note-line{min-height:36px}.link-button{border:0;background:none;padding:0;color:#067e74;text-decoration:underline;font-weight:700}.ref-date{border:1px solid #dbe4ea;border-radius:8px;padding:11px;font-size:12px;color:#425b71;background:#f9fbfb}
@media(max-width:1050px){.data-source-grid{grid-template-columns:1fr}.bench-bar-row{grid-template-columns:105px 1fr 67px;gap:6px}}
@media(max-width:750px){.date-compact{width:135px}.bench-bars{gap:13px}.bench-bar-row{grid-template-columns:95px 1fr 62px}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 0.3 - Responsive assets, no detached benchmarks */
html,body,.app-shell,.main-area,#screen,.page{max-width:100%;min-width:0}
.page,.card,.metric,.number,.page-head,.topbar{min-width:0}
.metric .number,.asset-kpi strong,.asset-hero strong{overflow-wrap:anywhere;word-break:normal;font-variant-numeric:tabular-nums}
.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.app-shell{overflow-x:clip}
.asset-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.asset-intro h2{font-size:16px;margin:3px 0 0;letter-spacing:-.03em}
.asset-intro p{margin:4px 0 0;font-size:12px;color:#83909c;line-height:1.5}
.asset-search{max-width:220px;border:1px solid #dfe7eb;border-radius:10px;padding:10px 12px;background:#fff;color:#20364a;font-size:12px;min-width:0;width:100%}
.asset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.asset-tile{display:block;width:100%;max-width:100%;text-align:left;background:#fff;border:1px solid #e2e9ec;border-radius:13px;padding:16px;min-width:0;transition:border-color .15s,transform .15s}
.asset-tile:hover{border-color:#3da490;transform:translateY(-2px)}.asset-tile:focus-visible{outline:3px solid #58bda8}
.asset-tile .asset-name{font-size:15px;font-weight:750;color:#10233c;letter-spacing:-.02em}
.asset-tile .asset-price{font-size:17px;font-weight:700;color:#172f45;margin:10px 0 5px;overflow-wrap:anywhere}
.asset-tile .asset-caption{font-size:10px;color:#8997a5;line-height:1.6}
.asset-tile .asset-return{font-size:11px;font-weight:700}
.asset-back{border:0;background:transparent;color:#0c8a77;padding:0;font-size:12px;font-weight:700;display:flex;gap:7px;align-items:center;margin-bottom:17px}
.asset-titlebar{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:18px}
.asset-titlebar h1{font-size:32px;font-weight:720;margin:4px 0 4px;letter-spacing:-.05em}
.asset-titlebar .subtle{font-size:12px;color:#728395}
.asset-hero{padding:24px 27px;background:linear-gradient(115deg,#10243e,#1a4051 67%,#136a61);border-radius:16px;color:#fff;display:grid;grid-template-columns:1.3fr 1fr;gap:22px;margin-bottom:17px}
.asset-hero .cap{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#b8d3d5}
.asset-hero .big{font-size:32px;line-height:1.23;font-weight:700;margin:7px 0 8px;letter-spacing:-.045em;overflow-wrap:anywhere}
.asset-hero .hero-side{align-self:center;text-align:right}.asset-hero .hero-side strong{display:block;font-size:21px;line-height:1.3;margin:6px 0 3px}
.asset-hero .foot{color:#a7cbd0;font-size:11px;line-height:1.6}
.asset-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:17px}
.asset-kpi{padding:17px 18px;border:1px solid #e4eaed;border-radius:12px;background:#fff;min-width:0}
.asset-kpi label{font-size:10px;color:#7a8a9b;display:block;margin-bottom:9px}
.asset-kpi strong{display:block;font-size:18px;color:#21364e;line-height:1.3}
.asset-kpi strong.down{color:#bf5e60}.asset-kpi strong.up{color:#0c8e79}
.asset-kpi small{display:block;margin-top:8px;font-size:10px;color:#8c9ba7;line-height:1.4}
.asset-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;margin-top:17px}
.asset-panel{padding:20px 22px;min-width:0}
.asset-panel h2{font-size:16px;margin:0 0 3px}.asset-panel h3{font-size:13px;margin:0 0 8px}
.asset-panel .help-line{font-size:11px;color:#82929e;line-height:1.65;margin:7px 0 16px}
.compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.compare-card{background:#f7faf9;padding:17px 18px;border:1px solid #e3eeeb;border-radius:12px;min-width:0}
.compare-card.bova{background:#f6f8fb;border-color:#e4eaf2}
.compare-card .tag{font-size:11px;font-weight:750;color:#28495a;margin-bottom:9px}
.compare-card strong{font-size:22px;line-height:1.25;display:block;color:#078b71;overflow-wrap:anywhere}
.compare-card .rs{font-size:14px;font-weight:680;color:#2a4658;margin:8px 0 2px;overflow-wrap:anywhere}
.compare-card small{font-size:10px;color:#7c8d9a;line-height:1.55;display:block}
.mock-tag{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;color:#75592b;background:#fff3d9;border:1px solid #f4dfaf;border-radius:6px;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.045em}
.asset-doc{font-size:10px;color:#718596;line-height:1.65;margin-top:12px}
.asset-doc a{font-weight:650;text-decoration:underline}
.asset-lot{padding:11px 0;border-top:1px solid #edf1f3;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}
.asset-lot:first-child{border:0}.asset-lot b{font-size:11px}.asset-lot span{color:#738395}
.asset-position-info{font-size:12px;line-height:1.6;margin-bottom:14px}
.asset-simple-input{height:41px;padding:9px;border:1px solid #dce6e9;border-radius:8px;max-width:100%;font-size:12px}
.asset-inline{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.asset-sideheading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
@media(max-width:1170px){.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.asset-detail-grid{grid-template-columns:1fr}}
@media(max-width:650px){
 body{overflow-x:hidden}.app-shell{width:100%;max-width:100vw}
 .page{padding:16px 12px 28px}.page-head h1{font-size:23px}.page-head{margin-bottom:17px}
 .nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));justify-content:stretch;gap:0;width:100%;height:100%}
 .sidebar{height:68px;padding:3px 2px 5px;max-width:100vw}
 .nav-link{width:100%;min-width:0;min-height:0;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal;font-size:9px;font-weight:500;padding:4px 0;line-height:1.17;gap:2px;letter-spacing:-.02em;text-align:center}
 .nav-link span{font-size:18px;line-height:1.2}.nav-link.active{background:#1e324c}
 .main-area{padding-bottom:84px}.footer{padding-bottom:12px}
 .grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:1fr}.grid2{grid-template-columns:1fr}
 .metric{padding:13px}.metric .number{font-size:clamp(14px,3.7vw,20px);letter-spacing:-.045em;line-height:1.3}
 .asset-search{max-width:100%;width:100%}.asset-intro{display:block}.asset-grid{grid-template-columns:1fr;gap:9px}
 .asset-tile{padding:14px}.asset-tile .asset-price{font-size:17px}
 .asset-hero{grid-template-columns:1fr;padding:18px;gap:15px}.asset-hero .big{font-size:clamp(21px,6vw,28px)}.asset-hero .hero-side{text-align:left}.asset-hero .hero-side strong{font-size:18px}
 .asset-stat-grid{gap:9px}.asset-kpi{padding:13px}.asset-kpi strong{font-size:clamp(13px,4vw,18px)}
 .asset-detail-grid{gap:10px}.asset-panel{padding:17px 15px}.compare-grid{grid-template-columns:1fr;gap:9px}
 .asset-titlebar h1{font-size:27px}.asset-titlebar{gap:8px}
 .topbar{padding:0 10px;height:54px}.top-actions{width:100%;justify-content:flex-end}
 .top-button{font-size:9px;padding:7px 6px}.profile-button{display:none}
 .modal-window{max-width:calc(100vw - 22px);max-height:87dvh}.modal-fields{grid-template-columns:1fr}
 .toast{max-width:calc(100vw - 30px);bottom:80px;right:15px}
 .property-row{grid-template-columns:36px 1fr auto;gap:6px}.property-row .row-figure{display:none}
 .trade-list .trade-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}.trade-row span{overflow-wrap:anywhere}
}
@media(max-width:365px){.nav-link{font-size:8px}.nav-link span{font-size:17px}.asset-kpi strong{font-size:13px}}


/* v0.4: investimento por cards, ações diretas por ativo */
.portfolio-section{margin:12px 0 23px}
.portfolio-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:13px;padding:0 2px}
.portfolio-section-head h2{font-size:18px;margin:0;color:#142c43;letter-spacing:-.025em}
.portfolio-section-head p{font-size:11px;color:#8998a6;line-height:1.5;margin:5px 0 0}
.portfolio-count{display:inline-block;vertical-align:middle;font-size:10px;font-weight:650;color:#458473;background:#e8f6f0;padding:4px 8px;border-radius:99px;margin-left:7px}
.portfolio-section-total{display:flex;align-items:flex-end;flex-direction:column;gap:3px}
.portfolio-section-total span{font-size:10px;color:#8799a9}.portfolio-section-total strong{font-size:16px;letter-spacing:-.02em}
.portfolio-card{display:flex;flex-direction:column;gap:12px;padding:17px 16px;cursor:pointer}
.portfolio-card:focus-visible{outline:3px solid #72b4a9;outline-offset:2px}
.portfolio-card-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-top:1px solid #edf1f4;padding-top:13px}
.portfolio-card-values span{display:block;font-size:10px;color:#8193a0;margin-bottom:6px}
.portfolio-card-values strong{font-size:clamp(13px,1.2vw,17px);line-height:1.35;display:block;color:#1b344a;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.portfolio-card-foot{display:flex;gap:6px;justify-content:space-between;flex-wrap:wrap;align-items:center;min-height:20px}
.portfolio-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #edf1f4;padding-top:12px;margin-top:auto}
.portfolio-card-actions button{min-height:38px}
.detail-header-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.portfolio-bond-list{display:flex;flex-direction:column;gap:0;max-height:350px;overflow:auto;border:1px solid #e5eaed;border-radius:10px}
.portfolio-bond-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 12px;border-bottom:1px solid #edf0f3}
.portfolio-bond-row:last-child{border-bottom:0}.portfolio-bond-row strong{font-size:11px;display:block}.portfolio-bond-row small{font-size:10px;color:#8093a0;display:block;margin-top:4px;line-height:1.5}
.portfolio-bond-actions{margin:13px 0 0;display:flex;justify-content:flex-end}
@media(max-width:650px){
 .portfolio-section-head{align-items:flex-start}.portfolio-section-total{align-items:flex-start}
 .portfolio-card{padding:15px;gap:11px}
 .portfolio-card-values strong{font-size:16px}
 .detail-header-actions{width:100%;justify-content:flex-start}.detail-header-actions .pill{margin-right:auto}
 .portfolio-bond-row{padding:9px 8px}
}

/* v0.5 — posições em dólar, sem converter moedas automaticamente */
.portfolio-card.us-market{border-left:3px solid #6f87b9}
.us-market .portfolio-card-values strong{font-size:clamp(13px,1.2vw,17px)}
.us-section-note{color:#7a8e9e;font-size:11px;line-height:1.6;margin:10px 2px 0}
.us-position-sub{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:#7990a0;font-size:11px;margin-top:10px}
.us-asset-price{font-variant-numeric:tabular-nums}
.us-alert{font-size:11px;line-height:1.65;color:#6c7885;padding:12px;border:1px solid #e4e9ef;background:#f9fbfd;border-radius:10px;margin:10px 0}
@media(max-width:650px){.us-asset-price{font-size:14px}.us-section-note{line-height:1.55}}


.hero .money{overflow-wrap:anywhere;font-size:clamp(23px,3.3vw,39px)}
.asset-kpi strong{overflow-wrap:anywhere;word-break:break-word}
.portfolio-card-values strong{overflow-wrap:anywhere}
.property-card p{min-height:0;overflow-wrap:anywhere}
@media(max-width:650px){.hero{grid-template-columns:1fr!important;gap:14px}.hero-right{justify-self:start!important;text-align:left!important}.page{overflow-x:hidden}.page-head{align-items:flex-start}.property-fig{gap:8px}.asset-grid{grid-template-columns:1fr}}

[hidden]{display:none!important}body{font-size:16px}.auth-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at top right,#105e58,#0c1830 65%);padding:24px}.auth-card{background:white;border-radius:20px;width:min(460px,100%);padding:38px;box-shadow:0 24px 90px #00121c55}.auth-brand{font-size:16px;font-weight:700;letter-spacing:.08em;margin-bottom:46px;color:var(--navy)}.auth-brand span{color:#b8914f}.auth-card h1{font-size:28px;letter-spacing:-.04em;margin:8px 0 16px}.auth-sub{font-size:16px;color:var(--muted);line-height:1.6;margin-bottom:28px}.auth-card form{display:grid;gap:18px}.auth-card .field label{font-size:14px}.auth-card .field input{font-size:16px;min-height:46px}.auth-card .btn{font-size:16px;min-height:46px}.auth-error{font-size:14px;color:#a13e42;margin:0}.auth-note{font-size:14px;color:var(--muted);text-align:center;margin:24px 0 0}#syncStatus{font-size:12px;color:#526d78;max-width:140px}.sync-conflict{position:fixed;z-index:30;bottom:24px;left:50%;transform:translateX(-50%);background:#fff8eb;border:1px solid #c6a564;padding:22px;border-radius:14px;width:min(570px,94vw);box-shadow:0 12px 40px #0c183033}.sync-conflict p{font-size:14px;line-height:1.6}.sync-conflict .btn{margin:4px}.nav-link,.btn,.top-button,.page-sub,.table,.field label{font-size:14px}.table th{font-size:12px}.page-sub,.help-line,.asset-doc,.note-line{font-size:14px;line-height:1.6}.row-sub,.asset-caption,.card-note,.property-card p{font-size:13px}.metric .label,.metric .hint,.property-fig small{font-size:14px}.profile-button{width:auto;min-width:34px;border-radius:8px;padding:6px}.app-shell{font-size:16px}@media(max-width:650px){.auth-card{padding:28px 24px}#syncStatus{max-width:100px;font-size:11px}.nav-link{font-size:10px}.top-button{font-size:12px}.page{padding-bottom:85px}}

.auth-brand{display:flex;align-items:center;gap:15px;margin-bottom:36px;text-transform:none;letter-spacing:-.035em}.auth-brand span{color:var(--navy);font-family:Georgia,serif;font-size:27px;font-weight:400}.auth-card{width:min(500px,100%)}.auth-card h1{font-size:26px}.brand b{font-size:12px;letter-spacing:.065em}.brand small{font-size:9px;letter-spacing:.06em}.auth-screen{background:radial-gradient(ellipse at 85% 10%,#15534c 0,transparent 45%),linear-gradient(135deg,#0c1830,#132c42)}
.family-window{width:min(740px,100%)}.family-form{display:grid;gap:13px;grid-template-columns:1fr;align-items:end;margin:16px 0}.family-form .field label,.family-member{font-size:14px}.family-form input,.family-form select{font-size:16px}.family-member{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.family-member small{display:block;color:var(--muted);margin-top:5px}.family-window h3{font-size:16px}#familyButton{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:650px){#familyButton{max-width:100px}.top-actions{flex-wrap:wrap}.topbar{min-height:76px;height:auto;padding-top:10px;padding-bottom:10px}}

.topbar{min-height:77px;height:auto;gap:12px;padding-top:14px;padding-bottom:14px}.top-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0}.brand img{flex-shrink:0}.top-actions [data-action="demo"]{display:none}
@media(max-width:1200px){.topbar .breadcrumbs{display:none}.top-actions{margin-left:auto}}
@media(min-width:651px) and (max-width:900px){.brand>span{display:none}.nav-link{font-size:0!important}.nav-link span{font-size:22px}.sidebar-bottom{display:none}}
@media(max-width:650px){.topbar{padding:12px 14px}.top-actions{gap:7px;justify-content:flex-start;margin-left:0;width:100%}.nav-link{font-size:10px;white-space:normal;text-align:center}.top-button{font-size:13px;padding:8px}#familyButton{max-width:155px}.page-head h1{font-size:25px}}
/* Market sources and contractual fixed-income accrual. */
.market-section{margin-top:1.25rem}.market-date{font-size:1.1rem!important}.market-table{overflow:auto;margin-top:1rem}.market-table table{width:100%;border-collapse:collapse;font-size:.875rem;min-width:720px}.market-table th,.market-table td{text-align:left;padding:.8rem;border-bottom:1px solid #dce6e8;vertical-align:top}.market-table th{color:#47616d}.market-table small{display:block;max-width:20rem;margin-top:.25rem;color:#526771}.market-contract-buttons{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.market-section summary{cursor:pointer;padding:.7rem 0;font-size:.95rem}.market-section li{margin:.6rem 0}
