:root{--bg:#ffffff;--panel:#f3f6f7;--gold:#946b2d;--text:#171d22;--muted:#52626c;--line:#d9e1e5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:4px}header{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 6%}.brand{font-size:20px;letter-spacing:3px;font-weight:700}.brand span{display:block;font-size:9px;letter-spacing:3px;color:var(--gold);margin-top:3px}nav{padding:0 6%;border-block:1px solid var(--line);display:flex;gap:28px;overflow:auto;position:sticky;top:0;background:#fffffff5;z-index:5}nav button{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);padding:18px 0;white-space:nowrap;font-size:13px}nav button[aria-selected=true]{border-color:var(--gold);color:var(--gold)}main{max-width:1440px;margin:auto;padding:0 6%}.tab{display:none}.tab.active{display:block}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:5%;padding:65px 0 45px;align-items:center}.eyebrow{font-size:11px;font-weight:bold;letter-spacing:2.5px;color:var(--gold)}h1{font-family:Georgia,serif;font-size:clamp(40px,4.4vw,66px);font-weight:400;line-height:1.12;letter-spacing:-1.8px;margin:24px 0}h1 em{font-weight:400;color:var(--gold)}.lead{font-size:17px;color:var(--muted);max-width:490px}.credentials{font-size:12px;margin:27px 0;color:var(--muted)}.actions{display:flex;gap:12px;flex-wrap:wrap}.contact{display:inline-block;background:#102f40;color:#ffffff;border:1px solid #102f40;padding:13px 20px;font-size:12px;font-weight:bold;border-radius:3px}.small{padding:10px 17px}.outline{border:1px solid #5b6b73;color:var(--text);background:none;padding:13px 18px;border-radius:3px;font-size:12px}.location{font-size:11px;color:var(--muted);margin-top:26px}figure{margin:0;position:relative}figure img{width:100%;height:510px;object-fit:cover;object-position:50% 65%;display:block;border-radius:4px}figcaption{position:absolute;bottom:0;padding:35px 20px 16px;background:linear-gradient(transparent,#061522c9);width:100%;font-family:Georgia,serif;font-style:italic;font-size:19px}.proof{display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid var(--line);padding:26px 0;gap:25px}.proof div+div{border-left:1px solid var(--line);padding-left:35px}.proof strong{font-family:Georgia,serif;font-size:31px;font-weight:400}.proof span{display:block;color:var(--muted);font-size:12px}.about{padding:85px 0;display:grid;grid-template-columns:1fr 1.15fr;gap:10%}h2{font-family:Georgia,serif;font-size:clamp(31px,3vw,43px);line-height:1.2;font-weight:400;margin:17px 0 24px}.about p{color:var(--muted);font-size:14px;margin-top:0}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:25px 0 80px}.services article{border-top:1px solid var(--gold);padding:24px 0}.services article>span{font-size:10px;letter-spacing:2px;color:var(--gold)}h3{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:15px 0}.services p{color:var(--muted);font-size:14px}.services a{font-size:12px;color:var(--gold)}.connect{background:var(--panel);padding:45px;display:grid;grid-template-columns:1fr 1fr;gap:7%;margin-bottom:65px;border-radius:4px}.connect p{font-size:13px;color:var(--muted)}.socials a{display:block;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.socials span{display:block;color:var(--gold);font-size:13px}footer{border-top:1px solid var(--line);padding:30px 6%;display:flex;align-items:center;justify-content:space-between;gap:30px}footer p{font-size:10px;color:var(--muted)}footer button{color:var(--gold);background:none;border:0;font-size:12px}.market,#calculadora{padding:60px 0 90px;min-height:70vh}.intro{color:var(--muted);max-width:680px}.empty{padding:50px;background:var(--panel);margin:28px 0;border:1px solid var(--line);border-radius:4px}.empty p{max-width:640px;color:var(--muted);font-size:14px}.status{font-size:10px;color:var(--gold);letter-spacing:1.5px}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:30px 0}.filters button{background:none;color:var(--muted);border:1px solid var(--line);border-radius:25px;padding:8px 17px;font-size:12px}.filters .chosen{background:var(--gold);color:var(--bg);border-color:var(--gold)}.notice{background:var(--panel);border-left:2px solid var(--gold);padding:14px 20px;font-size:12px;color:var(--muted)}.profiles{display:grid;grid-template-columns:repeat(5,1fr);gap:15px;margin:35px 0}.profiles article{border:1px solid var(--line);padding:22px 15px}.profiles span{color:var(--gold);font-size:12px}.profiles h3{font-size:20px}.calculator{display:grid;grid-template-columns:300px 1fr;gap:40px;margin:35px 0;background:var(--panel);padding:30px;border-radius:4px}label{display:block;color:var(--muted);font-size:12px;margin-bottom:15px}input,select{width:100%;display:block;margin-top:7px;background:#ffffff;color:var(--text);border:1px solid #b7c6ce;padding:10px;border-radius:3px}form button{width:100%;margin-top:8px}.calc-result>strong{font-family:Georgia,serif;font-size:44px;font-weight:400;color:var(--gold)}.totals{display:flex;gap:40px;font-size:11px;color:var(--muted)}.totals b{display:block;color:var(--text);font-size:18px;font-weight:400}svg{width:100%;margin-top:20px}.legend{font-size:11px;color:var(--gold)}.legend span{color:#24768c;margin-left:20px}.fine{font-size:11px;color:var(--muted)}.rule{max-width:500px;border-top:1px solid var(--line);margin-top:40px;padding-top:15px}.rule input{width:150px}.rule p{font-size:14px}.rule strong{color:var(--gold)}@media(max-width:800px){header{padding:20px 5%}.brand{font-size:16px;letter-spacing:2px}.brand span{font-size:8px;letter-spacing:2px}nav{padding:0 5%;gap:23px}main{padding:0 5%}.hero{grid-template-columns:1fr;padding-top:35px;gap:30px}figure img{height:440px}.hero-copy{padding-bottom:5px}.proof{gap:10px}.proof div+div{padding-left:12px}.proof strong{font-size:25px}.proof span{font-size:10px}.about{grid-template-columns:1fr;gap:15px;padding:50px 0}.services{grid-template-columns:1fr;gap:0;margin-bottom:40px}.connect{grid-template-columns:1fr;padding:25px;gap:25px}footer{display:block}footer p{margin:20px 0}.calculator{grid-template-columns:1fr;padding:20px;gap:30px}.profiles{grid-template-columns:1fr 1fr}.empty{padding:27px}.calc-result>strong{font-size:36px}}@media(prefers-reduced-motion:no-preference){button,a{transition:background .2s,color .2s}.contact:hover{background:#1e4c60}.outline:hover{background:var(--panel)}}

.footer-credentials{font-size:11px;color:var(--muted);line-height:1.8;margin:13px 0 0}.milestones{margin:36px 0;border-top:1px solid var(--line);padding-top:26px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:14px}th,td{padding:15px 18px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}th:first-child,td:first-child{text-align:left}th{background:var(--panel);font-size:11px;color:var(--muted);font-weight:600}td:last-child{color:#155766;font-weight:700}td:nth-child(3){color:var(--gold)}tbody tr:nth-child(even){background:#fafbfc}tbody tr:last-child{background:#edf4f5;font-weight:700}.proof strong{font-size:29px}.legend{color:#946b2d}.legend span{color:#24768c}@media(max-width:800px){.proof strong{font-size:22px}th,td{padding:12px;font-size:12px}.footer-credentials{font-size:10px}.totals{gap:22px}}
tbody th{background:transparent;color:var(--text);font-size:14px;font-weight:400}tbody tr:last-child th{font-weight:700}@media(max-width:800px){tbody th{font-size:12px}}

.socials a{display:flex;align-items:center;gap:15px}.social-icon{width:24px;height:24px;flex:0 0 24px;margin:0}.socials .social-copy{color:var(--text);font-size:12px;display:block}.socials .social-copy>span{color:var(--gold);font-size:13px;display:block}.social-icon.instagram{color:#b93878}.social-icon.youtube{color:#e52121}.social-icon.tiktok,.social-icon.x{color:#171d22}.social-icon.whatsapp{color:#168447}.socials .whatsapp-row{margin-top:8px;border-bottom:0}.whatsapp-row .social-copy>span{color:#167343}
.macro-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:25px 0 45px}.macro-card{text-align:left;border:1px solid var(--line);border-radius:5px;background:white;padding:22px;color:var(--text);min-width:0}.macro-card:hover{background:var(--panel);border-color:#8caeb8}.macro-card span{display:block}.macro-label{font-size:12px;color:var(--muted);min-height:22px}.macro-card strong{font-family:Georgia,serif;font-size:27px;font-weight:400;display:block;line-height:1.3;margin:12px 0;color:#155766}.macro-unit{font-size:10px;min-height:30px;color:var(--muted)}.macro-date{font-size:11px;margin-top:10px}.macro-explore{font-size:11px;color:var(--gold);margin-top:12px}.history-panel{border:1px solid var(--line);border-radius:5px;padding:30px;margin-bottom:30px;background:#fafcfc}.history-head{display:flex;justify-content:space-between;gap:25px;align-items:flex-start}.history-head h3{margin-top:10px}.history-controls{display:flex;gap:14px}.history-controls label{max-width:230px}.history-controls select{font-size:12px}.history-table{max-height:350px;overflow:auto}.history-panel summary{cursor:pointer;font-size:13px;color:#155766;margin:15px 0}.history-panel svg{margin:5px 0}.notice.error{border-color:#ab3434;color:#8e2424}@media(max-width:900px){.macro-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.history-head{display:block}.history-controls label{max-width:100%;flex:1}.history-panel{padding:20px}.macro-card strong{font-size:24px}}@media(max-width:480px){.macro-cards{grid-template-columns:1fr}.macro-card{padding:19px}.macro-card .macro-unit{min-height:0}.history-controls{display:block}.history-controls select{width:100%}}
.context-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:30px 0}.context-strip article{padding:17px 20px;background:#f3f6f7;border:1px solid var(--line);border-radius:4px}.context-strip span,.inflation-strip article>span{display:block;color:var(--muted);font-size:11px}.context-strip strong{display:block;font-family:Georgia,serif;font-size:23px;font-weight:400;color:#155766;margin:6px 0}.context-strip small{font:10px Arial,sans-serif;color:var(--muted)}.inflation-strip{padding:20px 24px;border-block:1px solid var(--line);margin-bottom:30px}.inflation-strip h3{font-size:23px;margin:0 0 15px}.inflation-strip>div{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.inflation-strip strong{font-family:Georgia,serif;font-size:25px;font-weight:400}.inflation-strip small{font:11px Arial,sans-serif;color:var(--muted)}.market-toolbar{display:flex;gap:20px;justify-content:space-between;align-items:flex-start}.market-toolbar .filters{margin:8px 0 20px;gap:7px}.ticker-search{min-width:190px;max-width:230px}.market-table{max-height:610px;overflow:auto;border:1px solid var(--line);border-radius:4px;margin-top:5px}.market-table thead th{position:sticky;top:0;z-index:1}.market-table th,.market-table td{font-size:12px}.market-table tbody th{background:white}.asset-name{display:block;font-weight:600}.asset-symbol{display:block;font-size:10px;color:var(--muted);font-weight:400}.up{color:#167343!important}.down{color:#b13f47!important}.view-chart{background:none;color:#155766;border:1px solid #c1d1d7;border-radius:3px;font-size:11px;padding:6px 10px}.asset-detail{margin-top:30px}.asset-detail .history-head label{min-width:180px}.asset-detail svg,.comparison-panel svg{touch-action:pan-y;min-height:160px}.chart-tooltip{font-size:12px;padding:12px 16px;background:#edf4f5;color:#155766;min-height:45px;border-radius:3px;margin:10px 0;line-height:1.8}.comparison-panel{margin-top:55px;border-top:1px solid var(--line);padding-top:35px}.compare-controls{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:15px;align-items:end}.compare-controls select{font-size:12px}.compare-chips{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.compare-chips button{display:flex;gap:10px;align-items:center;background:white;border:1px solid var(--line);border-radius:25px;padding:8px 14px;font-size:12px;color:var(--text)}.compare-chips i{width:9px;height:9px;border-radius:100%;background:var(--curve)}.compare-chips span{font-size:18px;color:var(--muted)}.unavailable-panel{margin:40px 0;padding:20px;border:1px solid var(--line);border-radius:4px;font-size:12px}.unavailable-panel summary{cursor:pointer;color:#946b2d}.unavailable-panel p{border-top:1px solid var(--line);padding-top:12px}.comparison-panel tbody tr:last-child{background:transparent;font-weight:400}#compare-chart{margin:0;width:100%}@media(max-width:900px){.compare-controls{grid-template-columns:1fr 1fr}.market-toolbar{display:block}.ticker-search{max-width:none}.context-strip{grid-template-columns:1fr 1fr}.asset-detail .history-head label{min-width:0}}@media(max-width:480px){.context-strip{grid-template-columns:1fr 1fr;gap:8px}.context-strip article{padding:12px}.context-strip strong{font-size:19px}.inflation-strip{padding:18px 0}.inflation-strip>div{grid-template-columns:1fr;gap:15px}.compare-controls{grid-template-columns:1fr 1fr}.compare-controls .ticker-picker{grid-column:1/-1}.history-head label{width:100%}.market-table th,.market-table td{padding:12px 10px}.chart-tooltip{font-size:11px}}
.asset-performance{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}.asset-performance div{padding:12px 16px;background:white;border:1px solid var(--line);border-radius:4px}.asset-performance span{display:block;font-size:11px;color:var(--muted)}.asset-performance strong{font-size:18px;font-weight:500}@media(max-width:480px){.asset-performance{grid-template-columns:1fr 1fr}.asset-performance strong{font-size:16px}}
.ticker-link{background:none;border:0;padding:0 0 3px;color:#155766;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-align:left}.ticker-link:hover{color:#946b2d}.market-table .asset-name{font-size:11px;color:var(--muted);font-weight:400}.asset-chart-controls{display:flex;gap:15px}.chart-legend{font-size:12px;color:#155766;padding:4px 0 10px}.asset-chart-controls label{min-width:160px}@media(max-width:800px){.asset-chart-controls{flex-wrap:wrap}.asset-chart-controls label{flex:1;min-width:140px}}
.asset-chart-controls{flex-wrap:wrap;justify-content:flex-end;max-width:720px}.asset-chart-controls label{min-width:135px;max-width:185px;flex:1}.asset-chart-controls select{font-size:12px}.asset-chart-controls select:disabled{opacity:.5}.date-controls{display:flex;gap:15px;margin:15px 0}.date-controls[hidden]{display:none}.date-controls label{max-width:240px;flex:1}.chart-actions{display:flex;gap:20px;align-items:center;margin:10px 0 20px}.chart-actions button{background:white;border:1px solid var(--line);color:#155766;border-radius:4px;padding:8px 14px;font-size:12px;white-space:nowrap}.chart-actions span{font-size:11px;color:var(--muted)}.chart-expanded{position:fixed!important;inset:10px;z-index:50;background:white!important;overflow:auto;margin:0!important;padding:25px!important;border:1px solid var(--line)}.chart-expanded>svg{height:58vh;min-height:300px}.chart-expanded .history-head h3{font-size:24px}.chart-expanded .compare-controls{max-width:1000px}.asset-performance{grid-template-columns:repeat(7,minmax(0,1fr))}.asset-performance div{padding:12px 10px}.asset-performance strong{font-size:16px}.asset-performance span{font-size:10px}.market-table{max-height:650px}.market-table table{min-width:1020px}.market-table th,.market-table td{padding:14px 10px}.market-table thead th:first-child{left:0;z-index:3}.market-table tbody th:first-child{position:sticky;left:0;z-index:2;box-shadow:1px 0 0 var(--line);min-width:145px}.market-table tbody tr:nth-child(even) th:first-child{background:#fafbfc}.asset-detail .history-head{flex-wrap:wrap}#asset-history td{font-size:12px}.candlestick:hover{filter:brightness(.8)}.chart-expanded .asset-performance{grid-template-columns:repeat(7,1fr)}@media(max-width:900px){.asset-performance{grid-template-columns:repeat(4,1fr)}.asset-chart-controls{justify-content:flex-start}.chart-expanded .asset-performance{grid-template-columns:repeat(4,1fr)}}@media(max-width:480px){.asset-performance,.chart-expanded .asset-performance{grid-template-columns:repeat(2,1fr)}.chart-actions{align-items:flex-start;flex-wrap:wrap;gap:8px}.asset-chart-controls{width:100%}.asset-chart-controls label{min-width:calc(50% - 15px);max-width:none}.chart-expanded{inset:0;padding:15px!important}.date-controls{flex-wrap:wrap}.market-table tbody th:first-child{min-width:120px}.market-table table{min-width:970px}}
.candle-tooltip-heading{font-size:12px;font-weight:600;color:#263e4b}.ohlc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:10px 0}.ohlc-grid span{font-size:11px;color:var(--muted)}.ohlc-grid b{display:block;color:var(--text);font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.candle-daily-change{font-size:14px;font-weight:700;color:var(--muted)}.candle-change-reference{font-size:10px;color:var(--muted);margin-top:4px}@media(max-width:480px){.ohlc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.candle-daily-change{font-size:12px}}

/* Mercados globales: jerarquía, controles y lectura de datos. */
#mundo {
  --market-ink: #173f50;
  --market-soft: #f5f8f9;
  --market-border: #d5e0e5;
}
#mundo > h2 { margin-bottom: 16px; }
#mundo > .intro { max-width: 720px; margin-bottom: 24px; }
#mundo .fine { line-height: 1.7; }
#mundo .notice {
  border: 1px solid #e5dfd1;
  border-left: 3px solid var(--gold);
  border-radius: 5px;
  background: #faf8f3;
  color: #4b5962;
  padding: 14px 18px;
  line-height: 1.65;
}
#mundo .context-strip { gap: 16px; margin: 28px 0 24px; }
#mundo .context-strip article {
  background: #fff;
  border: 1px solid var(--market-border);
  border-top: 2px solid #8ba9b5;
  border-radius: 6px;
  padding: 20px 22px;
}
#mundo .context-strip strong {
  font-size: 27px;
  line-height: 1.3;
  margin: 10px 0;
  font-variant-numeric: tabular-nums;
}
#mundo .context-strip article > span:first-child {
  color: #354e5b;
  font-size: 12px;
  font-weight: 600;
}
#mundo .context-strip article > span:last-child { font-size: 10px; }
#mundo .inflation-strip {
  border: 1px solid var(--market-border);
  border-radius: 6px;
  padding: 22px 24px;
  background: #fcfdfd;
  margin-bottom: 36px;
}
#mundo .inflation-strip h3 { margin-bottom: 18px; }
#mundo .inflation-strip > div { gap: 24px; }
#mundo .inflation-strip article + article {
  border-left: 1px solid var(--market-border);
  padding-left: 24px;
}
#mundo .inflation-strip strong {
  display: block;
  margin: 5px 0;
  font-size: 27px;
  font-variant-numeric: tabular-nums;
}
#mundo .market-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
  gap: 24px;
  align-items: end;
  margin-bottom: 14px;
}
#mundo .market-toolbar .filters { margin: 0; gap: 8px; }
#mundo .filters button {
  min-height: 40px;
  padding: 8px 16px;
  background: #fff;
  border-color: var(--market-border);
  color: #435b67;
  font-weight: 500;
}
#mundo .filters button:hover { background: #f0f5f7; border-color: #9eb5c0; }
#mundo .filters button.chosen {
  background: var(--market-ink);
  border-color: var(--market-ink);
  color: #fff;
}
#mundo .ticker-search { max-width: none; min-width: 0; margin: 0; }
#mundo label { font-size: 11px; font-weight: 600; color: #425864; }
#mundo input, #mundo select {
  min-height: 44px;
  border-color: #bccdd5;
  border-radius: 5px;
  background-color: #fff;
  color: #203744;
  font-size: 13px;
  font-weight: 400;
}
#mundo input:hover, #mundo select:hover { border-color: #7d9eae; }
#mundo button:focus-visible, #mundo input:focus-visible,
#mundo select:focus-visible, #mundo svg:focus-visible,
#mundo summary:focus-visible, #mundo a:focus-visible {
  outline: 3px solid #9a742e;
  outline-offset: 3px;
}
#mundo .market-table {
  border-color: var(--market-border);
  border-radius: 6px;
  max-height: 650px;
  overscroll-behavior: contain;
  scrollbar-color: #9ab0bb #eff3f5;
  scrollbar-width: thin;
}
#mundo .market-table table { border-collapse: separate; border-spacing: 0; }
#mundo .market-table th, #mundo .market-table td {
  padding: 15px 12px;
  border-bottom-color: #e2e9ed;
}
#mundo .market-table thead th {
  background: #edf3f5;
  color: #415965;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 1px 0 #cbd9e0;
}
#mundo .market-table tbody td { color: var(--text); font-weight: 400; font-size: 12px; }
#mundo .market-table tbody td:nth-child(2) { font-weight: 600; }
#mundo .market-table tbody td:last-child { color: #5d6d76; font-size: 11px; }
#mundo .market-table tbody td.no-history { color: #78858e; font-size: 10px; }
#mundo .market-table tbody th:first-child {
  min-width: 155px;
  max-width: 195px;
  white-space: normal;
  border-right: 1px solid #dbe5e9;
  box-shadow: 3px 0 6px -5px #657d89;
  background: #fff;
}
#mundo .market-table tbody tr:nth-child(even) th:first-child { background: #fafbfc; }
#mundo .market-table tbody tr:last-child { background: #fff; font-weight: 400; }
#mundo .market-table tbody tr:last-child:nth-child(even) { background: #fafbfc; }
#mundo .market-table tbody tr:last-child th { font-weight: 400; }
#mundo .market-table tbody tr:hover > * { background: #eef5f7; }
#mundo .ticker-link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  font-size: 14px;
  letter-spacing: .2px;
  color: #155d74;
  text-decoration-thickness: 1px;
}
#mundo .market-table .asset-name {
  color: #5e717d;
  font-size: 10.5px;
  line-height: 1.45;
  margin-top: 2px;
}
#mundo #global-count { margin: 12px 0 32px; }
#mundo .asset-detail, #mundo .comparison-panel {
  background: #fff;
  border: 1px solid var(--market-border);
  border-radius: 7px;
  padding: 28px;
  margin-top: 32px;
  scroll-margin-top: 90px;
}
#mundo .asset-detail .history-head { display: block; }
#mundo .asset-detail .history-head h3 { margin: 9px 0 8px; font-size: 29px; }
#mundo #asset-unit { margin: 0 0 22px; }
#mundo .asset-chart-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
}
#mundo .asset-chart-controls label { min-width: 0; max-width: none; margin-bottom: 0; }
#mundo .asset-chart-controls select:disabled { opacity: .6; background: #f3f6f7; }
#mundo .date-controls { gap: 14px; margin: 18px 0 0; }
#mundo .date-controls label { max-width: 260px; }
#mundo .chart-actions { margin: 20px 0; gap: 16px; }
#mundo .chart-actions button {
  min-height: 40px;
  border-color: #a7bec9;
  color: #20566c;
  background: #f7fafb;
  border-radius: 5px;
  font-weight: 600;
}
#mundo .chart-actions button:hover { background: #eaf2f5; border-color: #7398aa; }
#mundo .chart-actions span { max-width: 580px; line-height: 1.5; }
#mundo .asset-performance { gap: 9px; margin: 22px 0 18px; }
#mundo .asset-performance > div {
  min-width: 0;
  background: #f7f9fa;
  border-color: #e0e8ec;
  padding: 14px 11px;
}
#mundo .asset-performance > div:first-child { background: #edf5f6; border-color: #c9dde2; }
#mundo .asset-performance strong { display: block; margin-top: 6px; font-size: 16px; line-height: 1.3; }
#mundo .asset-performance > div:first-child strong { color: #155766; font-size: 20px; }
#mundo #asset-chart, #mundo #compare-chart {
  display: block;
  background: #fff;
  border: 1px solid #e4ebef;
  border-radius: 5px;
  margin: 14px 0;
}
#mundo .chart-legend { color: #4a6573; font-size: 11px; line-height: 1.65; }
#mundo .chart-tooltip {
  border: 1px solid #d0e0e6;
  border-top: 2px solid #7396a5;
  background: #f8fbfc;
  color: #294e60;
  border-radius: 5px;
  padding: 16px 18px;
  min-height: 52px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
#mundo .candle-tooltip-heading { color: #294552; font-size: 12px; font-weight: 600; }
#mundo .ohlc-grid { gap: 10px; margin: 12px 0; }
#mundo .ohlc-grid span {
  border: 1px solid #dfe8ec;
  background: #fff;
  border-radius: 4px;
  padding: 9px 11px;
  font-size: 10px;
}
#mundo .ohlc-grid b { font-size: 15px; margin-top: 3px; }
#mundo .candle-daily-change { font-size: 14px; }
#mundo .candle-change-reference { font-size: 10px; line-height: 1.6; margin-top: 6px; }
#mundo details > summary { min-height: 36px; line-height: 1.6; }
#mundo .history-table { border: 1px solid #e1e9ed; border-radius: 4px; }
#mundo .comparison-panel { margin-top: 36px; }
#mundo .comparison-panel > h2 { font-size: 35px; margin-bottom: 14px; }
#mundo .comparison-panel > .intro { font-size: 14px; margin-bottom: 23px; }
#mundo .compare-controls { gap: 14px; }
#mundo .compare-controls label { min-width: 0; }
#mundo .compare-chips { gap: 8px; margin: 20px 0; }
#mundo .compare-chips button {
  min-height: 40px;
  border-color: #ccdae1;
  padding: 7px 13px;
  font-weight: 600;
}
#mundo .compare-chips button:hover { background: #f0f5f7; border-color: #9bb4c0; }
#mundo .compare-chips i { width: 10px; height: 10px; }
#mundo #compare-summary td { color: #314b59; font-size: 12px; font-weight: 400; }
#mundo .chart-expanded {
  border-radius: 7px;
  border-color: #b9cdd7;
  box-shadow: 0 12px 60px #102f4033;
  overscroll-behavior: contain;
}
#mundo .chart-expanded .chart-actions {
  position: sticky;
  top: -25px;
  z-index: 4;
  background: #fff;
  padding: 10px 0;
}
#mundo .chart-expanded .chart-actions button { background: #173f50; border-color: #173f50; color: #fff; }
#mundo .chart-expanded > svg { min-height: 320px; }
@media (max-width: 1050px) {
  #mundo .market-toolbar { grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; }
  #mundo .asset-detail, #mundo .comparison-panel { padding: 23px; }
  #mundo .asset-performance { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #mundo .market-toolbar { grid-template-columns: 1fr; gap: 16px; }
  #mundo .ticker-search { width: 100%; }
  #mundo .context-strip { gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #mundo .context-strip article { padding: 15px 13px; }
  #mundo .context-strip strong { font-size: 23px; }
  #mundo .inflation-strip { padding: 20px; }
  #mundo .inflation-strip article + article { padding-left: 16px; }
  #mundo .asset-chart-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mundo .comparison-panel > h2 { font-size: 31px; }
  #mundo #asset-chart text, #mundo #compare-chart text { font-size: 20px; }
}
@media (max-width: 480px) {
  #mundo { padding-top: 35px; }
  #mundo > h2 { font-size: 34px; }
  #mundo .notice { font-size: 11px; padding: 12px 14px; }
  #mundo .context-strip { grid-template-columns: 1fr; gap: 10px; }
  #mundo .context-strip article { padding: 16px 18px; }
  #mundo .context-strip strong { font-size: 27px; }
  #mundo .inflation-strip { padding: 20px 18px; margin-bottom: 28px; }
  #mundo .inflation-strip > div { gap: 16px; }
  #mundo .inflation-strip article + article { border-left: 0; border-top: 1px solid var(--market-border); padding: 15px 0 0; }
  #mundo .filters { gap: 7px; }
  #mundo .filters button { min-height: 40px; padding: 8px 13px; font-size: 11px; }
  #mundo input, #mundo select { font-size: 16px; min-height: 46px; }
  #mundo .asset-chart-controls select, #mundo .compare-controls select { font-size: 14px; }
  #mundo .market-table tbody th:first-child { min-width: 125px; max-width: 145px; }
  #mundo .market-table th, #mundo .market-table td { padding: 13px 10px; }
  #mundo .market-table .asset-name { font-size: 10px; }
  #mundo .ticker-link { font-size: 13px; min-height: 32px; }
  #mundo .asset-detail, #mundo .comparison-panel { padding: 17px 14px; margin-top: 28px; }
  #mundo .asset-detail .history-head h3 { font-size: 25px; }
  #mundo .asset-chart-controls { gap: 12px; }
  #mundo .asset-chart-controls label { min-width: 0; }
  #mundo .asset-performance, #mundo .chart-expanded .asset-performance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mundo .asset-performance > div { padding: 13px 12px; }
  #mundo .asset-performance > div:first-child { grid-column: 1 / -1; }
  #mundo .asset-performance > div:first-child strong { font-size: 24px; }
  #mundo #asset-chart text, #mundo #compare-chart text { font-size: 28px; }
  #mundo .chart-tooltip { padding: 13px; font-size: 11px; }
  #mundo .ohlc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #mundo .ohlc-grid span { padding: 9px; }
  #mundo .ohlc-grid b { font-size: 14px; }
  #mundo .candle-daily-change { font-size: 13px; }
  #mundo .compare-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #mundo .compare-controls .ticker-picker { grid-column: 1 / -1; }
  #mundo .compare-chips button { min-height: 42px; font-size: 11px; }
  #mundo .comparison-panel > h2 { font-size: 29px; }
  #mundo .chart-expanded { border-radius: 0; }
  #mundo .chart-expanded .chart-actions { top: -15px; }
}
@media (prefers-reduced-motion: reduce) {
  #mundo button, #mundo a, #mundo input, #mundo select { transition: none; }
}

/* Contenido y cursos gratuitos */
#contenido .content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:36px 0 24px}#contenido .content-card{background:#fff;border:1px solid #dbe2dc;border-radius:16px;overflow:hidden;box-shadow:0 6px 24px #173e2810}#contenido .content-heading{display:flex;gap:16px;padding:24px;min-height:145px}#contenido .content-number{font-size:13px;letter-spacing:.1em;color:#97743d;padding-top:8px}#contenido .content-heading h3{font-family:Georgia,serif;font-size:26px;margin:0 0 10px;color:#172c27}#contenido .content-heading p{font-size:15px;line-height:1.6;margin:0;color:#58685f}#contenido .playlist-player{aspect-ratio:16/9;background:#eef3ee;position:relative}#contenido .playlist-start{border:0;border-radius:0;background:linear-gradient(135deg,#eef3ee,#f7f5ef);width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#214d3d;cursor:pointer;padding:20px}#contenido .playlist-start strong{font:24px Georgia,serif}#contenido .playlist-start>span:last-child{font-size:13px;color:#53665b}#contenido .play-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#22523f;color:#fff;font-size:24px;padding-left:4px}#contenido .playlist-start:hover .play-icon{background:#9b773e}#contenido .playlist-start:focus-visible{outline:3px solid #b08746;outline-offset:-5px}#contenido iframe{width:100%;height:100%;border:0;position:absolute;inset:0}#contenido .content-card-footer{padding:18px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:#68756e}#contenido .content-card-footer a{color:#23563f;text-decoration:none;font-weight:650}#contenido .content-card-footer a:hover{text-decoration:underline}@media(max-width:760px){#contenido .content-grid{grid-template-columns:1fr;gap:22px}#contenido .content-heading{padding:20px;min-height:auto}#contenido .content-heading h3{font-size:25px}#contenido .content-card-footer{padding:16px 20px}}

#contenido .youtube-subscribe{text-align:center;background:#f5f6f1;border:1px solid #dce2d7;border-radius:16px;padding:38px 20px;margin:32px 0}#contenido .youtube-subscribe h3{font:30px Georgia,serif;color:#1b352a;margin:10px 0}#contenido .youtube-subscribe p{color:#5c6c60}#contenido .youtube-subscribe a{display:inline-flex;align-items:center;justify-content:center;gap:14px;background:#bd211c;color:white;font-size:18px;font-weight:700;padding:20px 30px;border-radius:9px;text-decoration:none;margin-top:14px;min-height:64px}#contenido .youtube-subscribe a:hover{background:#9f1a16}#contenido .youtube-subscribe a:focus-visible{outline:3px solid #96743e;outline-offset:4px}#contenido .youtube-subscribe svg{width:30px;height:24px;flex-shrink:0}@media(max-width:600px){#contenido .youtube-subscribe a{font-size:16px;padding:18px;width:100%}}

/* Bonos · curvas y datos de renta fija */
#bonos {
  --bond-ink: #172e2a;
  --bond-teal: #1f665b;
  --bond-gold: #986f31;
  --bond-border: #dbe4df;
  --bond-soft: #f5f8f5;
  --bond-muted: #5d706a;
}
#bonos > h2 { color: var(--bond-ink); letter-spacing: -.8px; margin-bottom: 18px; }
#bonos > .intro { font-size: 16px; max-width: 740px; line-height: 1.75; }
#bonos #bond-status { border-radius: 7px; border-left: 3px solid var(--bond-gold); background: #f7f6ef; color: #665b44; padding: 15px 20px; margin: 25px 0; font-size: 12px; }
#bonos .bond-overview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 28px 0 34px; }
#bonos .bond-stat { min-width: 0; border: 1px solid var(--bond-border); border-radius: 10px; background: #fff; padding: 19px 21px; position: relative; }
#bonos .bond-stat:first-child { background: var(--bond-ink); border-color: var(--bond-ink); color: #fff; }
#bonos .bond-stat span { display: block; color: var(--bond-muted); font-size: 11px; letter-spacing: .3px; }
#bonos .bond-stat strong { display: block; font-family: Georgia,serif; font-size: 28px; line-height: 1.25; font-weight: 400; margin-top: 10px; color: var(--bond-teal); }
#bonos .bond-stat:first-child span { color: #cbdcd4; }
#bonos .bond-stat:first-child strong { color: #fff; }
#bonos .bond-stat small { font-size: 11px; color: var(--bond-muted); display: block; margin-top: 6px; }
#bonos .bond-toolbar { display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: 22px; align-items: end; margin-bottom: 22px; }
#bonos #bond-categories { gap: 8px; margin: 0; align-items: center; }
#bonos #bond-categories button { border: 1px solid var(--bond-border); background: #fff; color: #455e55; min-height: 42px; padding: 10px 17px; font-size: 12px; border-radius: 24px; line-height: 1.35; }
#bonos #bond-categories button:hover { background: #edf4ef; border-color: #a6c2b3; color: var(--bond-ink); }
#bonos #bond-categories button.chosen,
#bonos #bond-categories button[aria-pressed="true"],
#bonos #bond-categories button[aria-selected="true"] { background: var(--bond-ink); border-color: var(--bond-ink); color: #fff; box-shadow: 0 3px 8px #173b2814; }
#bonos .bond-search { width: 100%; margin: 0; color: var(--bond-muted); font-size: 11px; }
#bonos .bond-search input { min-height: 44px; margin-top: 7px; background: #fff; border: 1px solid #c4d4cb; border-radius: 7px; padding: 11px 14px; font-size: 13px; color: var(--bond-ink); }
#bonos .bond-search input::placeholder { color: #82918a; }
#bonos .bond-table-wrap { border: 1px solid var(--bond-border); border-radius: 10px; max-height: 560px; overflow: auto; background: #fff; scrollbar-color: #afc3b6 #f2f6f3; scrollbar-width: thin; }
#bonos #bond-table { font-size: 12px; min-width: 890px; }
#bonos #bond-table th,
#bonos #bond-table td { padding: 16px 17px; border-bottom: 1px solid #e6ece8; color: #263e34; font-weight: 400; }
#bonos #bond-table thead th { position: sticky; top: 0; z-index: 2; background: #eef3ee; color: #53685d; font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
#bonos #bond-table thead th button { background: transparent; border: 0; border-radius: 3px; padding: 3px 0; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; }
#bonos #bond-table thead th button:hover { color: var(--bond-teal); }
#bonos #bond-table tbody tr { background: #fff; font-weight: 400; }
#bonos #bond-table tbody tr:nth-child(even) { background: #fafcf9; }
#bonos #bond-table tbody tr:last-child { background: #fff; font-weight: 400; }
#bonos #bond-table tbody tr:hover { background: #eff5ef; }
#bonos #bond-table tbody tr[aria-selected="true"],
#bonos #bond-table tbody tr.selected { background: #edf4e9; }
#bonos #bond-table th:first-child,
#bonos #bond-table td:first-child { position: sticky; left: 0; z-index: 1; background: inherit; border-right: 1px solid #e2e9e3; min-width: 140px; }
#bonos #bond-table thead th:first-child { z-index: 3; background: #eef3ee; }
#bonos #bond-table .ticker-link { color: var(--bond-teal); font-size: 14px; font-weight: 700; border-bottom: 1px solid transparent; min-height: 30px; }
#bonos #bond-table .ticker-link:hover { border-bottom-color: var(--bond-teal); }
#bonos #bond-table .bond-name { display: block; font-size: 10px; font-weight: 400; line-height: 1.5; max-width: 260px; color: #738178; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 3px; }
#bonos #bond-table .bond-yield { color: var(--bond-teal); font-size: 14px; font-weight: 650; }
#bonos #bond-table .bond-missing { color: #829087; font-size: 11px; }
#bonos .bond-curve-panel { margin: 32px 0; border: 1px solid var(--bond-border); border-radius: 13px; padding: 27px 28px 22px; background: #fff; box-shadow: 0 5px 20px #173b2807; }
#bonos .bond-curve-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding-bottom: 18px; border-bottom: 1px solid #e8ede7; }
#bonos .bond-curve-head h3 { margin: 7px 0; color: var(--bond-ink); font-size: 28px; line-height: 1.3; letter-spacing: -.4px; }
#bonos .bond-curve-head p { margin: 5px 0 0; font-size: 12px; color: var(--bond-muted); line-height: 1.6; }
#bonos #bond-axis-note { max-width: 390px; }
#bonos .bond-curve-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #afc3b6 #f2f6f3; margin-top: 16px; }
#bonos #bond-curve { display: block; width: 100%; margin: 0; min-height: 250px; overflow: visible; }
#bonos #bond-curve text { font-family: Arial,Helvetica,sans-serif; }
#bonos #bond-curve .bond-point { fill: var(--bond-teal); stroke: #fff; stroke-width: 2.5px; cursor: pointer; transition: r .15s,fill .15s; }
#bonos #bond-curve .bond-point:hover,
#bonos #bond-curve .bond-point:focus { fill: var(--bond-gold); stroke: #fff; stroke-width: 3px; outline: none; r: 7px; }
#bonos #bond-curve .bond-point-label { fill: #355e4e; font-size: 13px; font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; }
#bonos .bond-tooltip { display: block; border: 1px solid #d7e4d8; border-left: 3px solid var(--bond-teal); background: #f1f6ef; border-radius: 7px; padding: 15px 19px; min-height: 52px; color: #355244; font-size: 12px; line-height: 1.8; margin-top: 15px; }
#bonos .bond-tooltip strong { color: var(--bond-ink); }
#bonos .bond-detail { background: #f8faf6; border: 1px solid #d7e2d4; border-radius: 12px; padding: 25px 28px; margin: 30px 0; scroll-margin-top: 90px; }
#bonos .bond-detail[hidden] { display: none; }
#bonos .bond-detail h3 { margin: 8px 0 12px; font-size: 29px; color: var(--bond-ink); }
#bonos .bond-detail p { color: var(--bond-muted); font-size: 13px; }
#bonos .bond-detail > button,
#bonos .bond-detail .bond-close { border: 1px solid #bdcdbd; border-radius: 6px; background: #fff; color: #426146; padding: 8px 14px; font-size: 12px; }
#bonos .bond-detail table { background: #fff; border: 1px solid var(--bond-border); font-size: 12px; }
#bonos .bond-detail th { background: #ecf2e8; color: #53644d; font-size: 10px; }
#bonos .bond-detail td { color: #314a37; font-weight: 400; }
#bonos .bond-detail tbody tr:last-child { background: inherit; font-weight: 400; }
#bonos .bond-footnote { font-size: 11px; line-height: 1.8; color: #6c796f; max-width: 1020px; margin-top: 17px; }
#bonos .bond-footnote strong { color: #4f6255; font-weight: 600; }
#bonos button:focus-visible,
#bonos a:focus-visible,
#bonos input:focus-visible,
#bonos select:focus-visible { outline: 3px solid #b28949; outline-offset: 3px; }
@media (max-width: 1000px) {
  #bonos .bond-toolbar { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  #bonos .bond-search { max-width: 380px; }
  #bonos .bond-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #bonos .bond-curve-head { display: block; }
  #bonos #bond-axis-note { max-width: none; }
}
@media (max-width: 760px) {
  #bonos .bond-curve-panel { padding: 22px 18px 18px; }
  #bonos .bond-curve-head h3 { font-size: 25px; }
  #bonos .bond-curve-scroll #bond-curve { min-width: 850px; }
  #bonos .bond-detail { padding: 22px 18px; }
  #bonos .bond-detail h3 { font-size: 25px; }
  #bonos .bond-stat { padding: 17px 18px; }
  #bonos .bond-stat strong { font-size: 26px; }
}
@media (max-width: 480px) {
  #bonos { padding-top: 35px; }
  #bonos > h2 { font-size: 34px; }
  #bonos .bond-overview { gap: 10px; margin-top: 24px; }
  #bonos .bond-stat { padding: 16px 14px; }
  #bonos .bond-stat strong { font-size: 23px; }
  #bonos .bond-stat span { font-size: 10px; }
  #bonos .bond-search { max-width: none; }
  #bonos .bond-search input { font-size: 16px; min-height: 46px; }
  #bonos #bond-categories { gap: 7px; }
  #bonos #bond-categories button { min-height: 42px; font-size: 11px; padding: 9px 13px; }
  #bonos #bond-table th,
  #bonos #bond-table td { padding: 13px 12px; }
  #bonos #bond-table th:first-child,
  #bonos #bond-table td:first-child { min-width: 115px; }
  #bonos .bond-curve-panel { padding: 19px 14px 16px; }
  #bonos .bond-tooltip { padding: 13px 14px; font-size: 11px; }
  #bonos .bond-detail { padding: 20px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #bonos #bond-curve .bond-point { transition: none; }
}

#bonos .ticker-link + .bond-badge{margin-left:10px}#bonos .bond-badge{margin-top:5px}
#cauciones .filters{margin:24px 0 18px;display:flex;gap:10px}#cauciones .filters button{min-width:130px}#cauciones .caucion-panel{background:#fff;border:1px solid #dce3de;border-radius:14px;padding:24px;max-width:1000px}#cauciones .caucion-panel h3{font:27px Georgia,serif;margin:0 0 22px;color:#1e4035}#cauciones .caucion-panel h3 span{font:12px system-ui;letter-spacing:.1em;color:#677a6d;margin-left:12px}#cauciones table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}#cauciones th,#cauciones td{text-align:right;padding:14px 20px;border-bottom:1px solid #e7ece7}#cauciones th:first-child{text-align:left}#cauciones thead{background:#f0f5ef;color:#274b3b}#cauciones tbody th{font-weight:500}#cauciones tbody td{color:#839086}#cauciones tbody tr:hover{background:#f7f9f5}#cauciones .filters button:focus-visible{outline:3px solid #b48b49;outline-offset:3px}#cauciones [hidden]{display:none!important}@media(max-width:600px){#cauciones .caucion-panel{padding:18px 12px}#cauciones th,#cauciones td{padding:12px;font-size:14px}}
/* Carteras */
#carteras .portfolio-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:30px 0}#carteras .portfolio-tabs button{background:#fff;border:1px solid #d7e0d8;border-radius:10px;text-align:left;padding:18px 14px;font:600 15px system-ui;color:#244c3d;cursor:pointer;min-height:90px}#carteras .portfolio-tabs button span{display:block;font-size:11px;letter-spacing:.15em;color:#a17c3f;margin-bottom:9px}#carteras .portfolio-tabs button.chosen{background:#1d493b;color:#fff;border-color:#1d493b;box-shadow:0 6px 18px #224c3220}#carteras .portfolio-tabs button.chosen span{color:#ddc99d}#carteras .portfolio-tabs button:focus-visible{outline:3px solid #b18b48;outline-offset:3px}#carteras .portfolio-summary{display:grid;grid-template-columns:minmax(250px,.85fr) 1.3fr;gap:40px;background:#fff;border:1px solid #dce4dd;border-radius:16px;padding:32px;margin:25px 0}#carteras .portfolio-chart h3{font:29px Georgia,serif;text-align:center;margin:0 0 10px;color:#244335}#carteras .portfolio-chart svg{width:100%;max-height:320px}#carteras .portfolio-legend{display:grid;align-content:center;gap:14px}#carteras .portfolio-category{display:grid;grid-template-columns:12px 1fr auto;gap:8px 12px;align-items:center;font-size:14px}#carteras .portfolio-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex-shrink:0;margin-right:8px}#carteras .portfolio-track{grid-column:2/4;height:4px;background:#eef2ed;border-radius:4px;overflow:hidden}#carteras .portfolio-track i{display:block;height:100%}#carteras .portfolio-category strong{color:#26483b;font-size:16px}#carteras .portfolio-holdings{background:white;border:1px solid #dce4dd;border-radius:14px;padding:26px;margin-bottom:22px}#carteras .portfolio-holdings h3{font:25px Georgia,serif;margin:0 0 20px}#carteras table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}#carteras th,#carteras td{padding:13px 16px;text-align:left;border-bottom:1px solid #e5ebe5}#carteras td:last-child,#carteras th:last-child{text-align:right}#carteras thead{background:#eef3ed;color:#345244}#carteras tbody th{color:#24533e;font-weight:650}#carteras tbody tr:hover{background:#f7f9f5}#carteras [hidden]{display:none!important}@media(max-width:800px){#carteras .portfolio-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}#carteras .portfolio-tabs button:last-child{grid-column:1/-1}#carteras .portfolio-summary{grid-template-columns:1fr;gap:22px;padding:24px}#carteras .portfolio-chart svg{max-height:270px}#carteras .portfolio-holdings{padding:20px 12px}#carteras th,#carteras td{padding:12px 10px;font-size:13px}}
/* Composición reservada y simulador */
.portfolio-reserved{padding:30px;text-align:center;background:#f2f5ef;border:1px solid #dbe3d9;border-radius:14px;margin:25px 0}.portfolio-reserved h3{font:27px Georgia,serif;color:#254737}.portfolio-reserved p{color:#617365;line-height:1.6}.masked-ticker{font-family:system-ui,sans-serif;letter-spacing:.18em;color:#7a8c7d;font-size:.8em}.portfolio-reserved .contact{display:inline-flex;justify-content:center;margin-top:12px}
#simulador .investment-controls{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:16px;align-items:end;background:#f3f6f1;padding:24px;border:1px solid #d8e3d7;border-radius:12px;margin:30px 0}#simulador label{display:grid;gap:9px;color:#48634f;font-size:13px}#simulador select,#simulador input{width:100%;padding:13px;border:1px solid #becdbf;border-radius:7px;background:white;color:#223e2c;font:16px system-ui}#simulador button{padding:14px 20px;background:#23503c;color:white;border:0;border-radius:7px;font-weight:600;cursor:pointer}#simulador input:focus-visible,#simulador select:focus-visible,#simulador button:focus-visible{outline:3px solid #b18c45;outline-offset:3px}#simulador .investment-summary{display:grid;grid-template-columns:.8fr 1.4fr;gap:30px;border:1px solid #dce4db;background:white;border-radius:14px;padding:30px}#simulador h3{font:30px Georgia,serif;color:#244938}#investment-total{font:34px Georgia,serif;color:#294f3a}#simulador table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}#simulador th,#simulador td{padding:14px 12px;border-bottom:1px solid #e1e8df;text-align:right}#simulador th:first-child{text-align:left}#simulador tbody th{font-weight:500}#simulador tfoot{background:#eef4e9;font-weight:700}#simulador [hidden]{display:none!important}@media(max-width:900px){#simulador .investment-controls{grid-template-columns:1fr 1fr}#simulador .investment-summary{grid-template-columns:1fr}}@media(max-width:550px){#simulador .investment-controls{grid-template-columns:1fr;padding:18px}#simulador .investment-summary{padding:20px 12px}#simulador th,#simulador td{padding:12px 8px;font-size:13px}.portfolio-reserved{padding:24px 18px}}

.direct-contact-list{display:flex;flex-direction:column;gap:12px;margin-top:22px;font-size:13px;color:var(--muted)}.direct-contact-list a{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%}.direct-contact-list span{overflow-wrap:anywhere}.direct-contact-list .social-icon{width:22px;height:22px;flex-basis:22px}.direct-contact-list a:hover span{text-decoration:underline}footer{align-items:flex-start}.footer-identity{flex:0 1 320px}.footer-disclaimer{flex:1 1 540px;max-width:720px}.footer-disclaimer p{font-size:12px;line-height:1.7;margin:0 0 12px}.footer-disclaimer p:last-child{margin-bottom:0}.footer-disclaimer a{text-decoration:underline;text-underline-offset:3px}footer>button{flex-shrink:0;padding-top:3px}@media(max-width:1050px){footer{flex-wrap:wrap}.footer-disclaimer{max-width:none}}@media(max-width:800px){.footer-disclaimer{margin:24px 0}.footer-disclaimer p{font-size:11px}}

#contenido .youtube-subscribe a{line-height:1.3;text-align:center}#contenido .youtube-subscribe svg{margin:0;display:block;align-self:center;flex:0 0 30px}#contenido .youtube-subscribe .subscribe-label{display:block;line-height:1.3}

#bonos #bond-selection-controls[hidden]{display:none}
#bonos [data-bond-curve-toggle]{width:20px;height:20px;padding:0;margin:0 auto;cursor:pointer}
