/* Vista Cartera premium: aislada de Gestión 1 mediante el atributo del documento. */
html[data-gestion2="live"] .g2-holdings{color:#244032;padding-bottom:30px;--g2-olive:#24543b;--g2-line:#e4eae1;--g2-gold:#bd9c64}
html[data-gestion2="live"] .g2-holdings button{cursor:pointer}
html[data-gestion2="live"] .g2-holdings-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:31px 35px;background:linear-gradient(110deg,#152a20,#284633);border-radius:16px;color:#e7eee3;margin-bottom:17px;box-shadow:0 17px 35px #163f231a}
html[data-gestion2="live"] .g2-holdings-hero>div:first-child{max-width:700px}
html[data-gestion2="live"] .g2-holdings-hero .g2-kicker{color:#d9bd86;font-size:10px;letter-spacing:.14em;font-weight:750;margin-bottom:10px}
html[data-gestion2="live"] .g2-holdings-hero h1{font-family:Georgia,serif;color:#fff;font-size:clamp(27px,3vw,40px);line-height:1.14;letter-spacing:-.6px;font-weight:400}
html[data-gestion2="live"] .g2-holdings-hero h1 em{font-weight:400;color:#ddc18b}
html[data-gestion2="live"] .g2-holdings-hero p{font-size:12px;color:#c6d3c7;line-height:1.6;margin-top:12px}
html[data-gestion2="live"] .g2-holdings-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;justify-content:flex-end}
html[data-gestion2="live"] .g2-holdings-hero-actions button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:11px;font-weight:700;padding:12px 14px;border-radius:9px;min-height:42px}
html[data-gestion2="live"] .g2-holdings-outline{border:1px solid #bccea969;background:#ffffff10;color:#e5f0dc}
html[data-gestion2="live"] .g2-holdings-primary{border:1px solid #c9ad78;background:#cfb782;color:#1a3727}
html[data-gestion2="live"] .g2-holdings-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 17px}
html[data-gestion2="live"] .g2-holdings-kpi{position:relative;overflow:hidden;min-width:0;background:#fff;border:1px solid var(--g2-line);border-radius:13px;padding:18px 18px 22px;box-shadow:0 6px 20px #1c42230b}
html[data-gestion2="live"] .g2-holdings-kpi>div{display:flex;justify-content:space-between;align-items:center;gap:7px;color:#7d9182;font-size:10px;font-weight:680}
html[data-gestion2="live"] .g2-holdings-kpi>div svg{color:#b39967;flex:0 0 auto}
html[data-gestion2="live"] .g2-holdings-kpi>strong{display:block;font-size:clamp(19px,2.1vw,28px);color:#234b36;letter-spacing:-.6px;font-weight:700;margin:18px 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
html[data-gestion2="live"] .g2-holdings-kpi>small{display:block;font-size:10px;color:#879589;line-height:1.4}
html[data-gestion2="live"] .g2-holdings-accent{display:block;position:absolute;bottom:0;left:0;right:0;height:3px;background:#3d7453}
html[data-gestion2="live"] .g2-holdings-accent-1{background:#c9a66e}
html[data-gestion2="live"] .g2-holdings-accent-2{background:#82a39a}
html[data-gestion2="live"] .g2-holdings-accent-3{background:#9a8fbb}
html[data-gestion2="live"] .g2-holdings-breakdown{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:17px;margin-bottom:18px}
html[data-gestion2="live"] .g2-holdings-panel,html[data-gestion2="live"] .g2-holdings-directory{min-width:0;background:#fff;border:1px solid var(--g2-line);border-radius:14px;padding:24px 26px;box-shadow:0 6px 20px #1c42230b}
html[data-gestion2="live"] .g2-holdings-panel-head>div>span,html[data-gestion2="live"] .g2-holdings-directory-head>div>span{color:#ae9361;letter-spacing:.13em;font-size:9px;font-weight:800;display:block;margin-bottom:8px}
html[data-gestion2="live"] .g2-holdings-panel h2,html[data-gestion2="live"] .g2-holdings-directory h2{font:400 clamp(20px,2vw,26px)/1.2 Georgia,serif;color:#294734;letter-spacing:-.25px}
html[data-gestion2="live"] .g2-holdings-panel-head p,html[data-gestion2="live"] .g2-holdings-directory-head p{color:#849588;font-size:11px;line-height:1.65;margin-top:7px}
html[data-gestion2="live"] .g2-holdings-sector-visual{display:flex;align-items:center;gap:12px;min-height:218px;margin-top:12px}
html[data-gestion2="live"] .g2-holdings-donut{width:205px;height:205px;flex:0 0 205px;position:relative}
html[data-gestion2="live"] .g2-holdings-donut-center{position:absolute;inset:0;display:grid;place-content:center;text-align:center;pointer-events:none}
html[data-gestion2="live"] .g2-holdings-donut-center strong{color:#365c42;font-size:26px}
html[data-gestion2="live"] .g2-holdings-donut-center small{color:#8da08e;font-size:10px}
html[data-gestion2="live"] .g2-holdings-private-donut{width:205px;height:205px;flex:0 0 205px;border-radius:50%;display:grid;place-items:center;background:#f7f9f4;border:1px dashed #b6ceb6;font-size:11px;color:#7b8b82}
html[data-gestion2="live"] .g2-holdings-sector-legend{list-style:none;margin:0;padding:0;min-width:0;flex:1}
html[data-gestion2="live"] .g2-holdings-sector-legend li{display:flex;align-items:center;gap:8px;border-bottom:1px solid #edf1ea;padding:9px 0;font-size:10px}
html[data-gestion2="live"] .g2-holdings-sector-legend li:last-child{border:0}
html[data-gestion2="live"] .g2-holdings-sector-legend li>i{flex:0 0 8px;width:8px;height:8px;border-radius:50%}
html[data-gestion2="live"] .g2-holdings-sector-legend li>span{flex:1;min-width:0;overflow-wrap:anywhere;color:#60796b}
html[data-gestion2="live"] .g2-holdings-sector-legend li>strong{color:#2b4e39;white-space:nowrap}
html[data-gestion2="live"] .g2-holdings-country-list{display:grid;gap:14px;margin-top:25px}
html[data-gestion2="live"] .g2-holdings-country>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;color:#809084;margin-bottom:9px}
html[data-gestion2="live"] .g2-holdings-country>div:first-child strong{color:#3e5c48}
html[data-gestion2="live"] .g2-holdings-track{width:100%;height:6px;background:#e8ede6;border-radius:8px;overflow:hidden}
html[data-gestion2="live"] .g2-holdings-track>i{display:block;height:100%;max-width:100%;background:linear-gradient(90deg,#7aaf8c,#2f7252);border-radius:8px}
html[data-gestion2="live"] .g2-holdings-no-data{font-size:12px;color:#8a978b;padding:30px 0}
html[data-gestion2="live"] .g2-holdings-directory{padding:25px;margin-bottom:14px}
html[data-gestion2="live"] .g2-holdings-directory-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}
html[data-gestion2="live"] .g2-holdings-directory h2{display:flex;align-items:center;gap:10px}
html[data-gestion2="live"] .g2-holdings-directory h2>small{font:700 11px/1.2 Inter,sans-serif;color:#427454;background:#e9f1e8;border-radius:12px;padding:5px 8px}
html[data-gestion2="live"] .g2-holdings-view{display:flex;gap:4px;border:1px solid #dfe6df;padding:4px;border-radius:10px;flex:0 0 auto}
html[data-gestion2="live"] .g2-holdings-view button{background:transparent;border:0;border-radius:7px;display:flex;align-items:center;gap:7px;padding:9px 11px;font-size:11px;color:#788879;font-weight:680}
html[data-gestion2="live"] .g2-holdings-view button[aria-pressed=true]{background:#224935;color:#fff}
html[data-gestion2="live"] .g2-holdings-filters{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 18px}
html[data-gestion2="live"] .g2-holdings-search,html[data-gestion2="live"] .g2-holdings-sort{min-width:0;border:1px solid #e2e8de;background:#fbfcf9;border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 12px;min-height:43px;color:#728e7a}
html[data-gestion2="live"] .g2-holdings-search{flex:1;max-width:540px}
html[data-gestion2="live"] .g2-holdings-search input{border:0;background:transparent;outline:0;min-width:0;flex:1;color:#2b4f3a;font-size:12px}
html[data-gestion2="live"] .g2-holdings-sort{flex:0 0 auto}
html[data-gestion2="live"] .g2-holdings-sort span{font-size:11px;font-weight:700}
html[data-gestion2="live"] .g2-holdings-sort select{border:0;background:transparent;font-size:11px;color:#3e5c47;max-width:155px;outline:0}
html[data-gestion2="live"] .g2-holdings-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html[data-gestion2="live"] .g2-holdings-card{min-width:0;overflow:hidden;border:1px solid #e4ebe3;border-radius:12px;background:#fff;padding:17px 17px 12px;box-shadow:0 4px 16px #14322008;display:flex;flex-direction:column}
html[data-gestion2="live"] .g2-holdings-card-heading{display:flex;align-items:center;gap:9px;min-width:0;padding-bottom:15px;border-bottom:1px solid #edf1eb}
html[data-gestion2="live"] .g2-holdings-company-avatar{width:39px;height:39px;flex:0 0 39px;background:#eef4ed;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:700;color:#477853;object-fit:contain}
html[data-gestion2="live"] .g2-holdings-card-heading>div{flex:1;min-width:0}
html[data-gestion2="live"] .g2-holdings-card-heading>div strong{display:block;color:#2c4936;font-size:12px;overflow-wrap:anywhere}
html[data-gestion2="live"] .g2-holdings-card-heading>div span{display:block;color:#95a199;font-size:10px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-gestion2="live"] .g2-holdings-card-heading>button{background:#f4f7f3;border:1px solid #e3ebe0;color:#4e7658;display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:7px}
html[data-gestion2="live"] .g2-holdings-card-main{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}
html[data-gestion2="live"] .g2-holdings-card-main>div{min-width:0}
html[data-gestion2="live"] .g2-holdings-card-main span,html[data-gestion2="live"] .g2-holdings-weight span{font-size:9px;color:#8a9c90;display:block;margin-bottom:8px}
html[data-gestion2="live"] .g2-holdings-card-main strong{font-size:clamp(13px,1.2vw,17px);color:#244e37;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-gestion2="live"] .g2-holdings-card-extra{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:17px}
html[data-gestion2="live"] .g2-holdings-card-extra span{font-size:9px;color:#5c7c64;background:#eef4ed;border-radius:14px;padding:6px 9px}
html[data-gestion2="live"] .g2-holdings-weight>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}
html[data-gestion2="live"] .g2-holdings-weight>div:first-child strong{font-size:10px;color:#366d4b}
html[data-gestion2="live"] .g2-holdings-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:auto;padding-top:16px}
html[data-gestion2="live"] .g2-holdings-card-bottom>span{font-size:9px;color:#8d9b91}
html[data-gestion2="live"] .g2-holdings-card-bottom>span strong{font-size:10px;color:#3b7a54}
html[data-gestion2="live"] .g2-holdings-card-bottom>span .g2-holdings-loss{color:#ac5b48}
html[data-gestion2="live"] .g2-holdings-card-bottom>div{display:flex;gap:5px}
html[data-gestion2="live"] .g2-holdings-card-bottom button{border:1px solid #e3eade;border-radius:7px;background:#f9fbf8;color:#477557;font-size:9px;font-weight:700;padding:7px 8px;display:inline-flex;align-items:center;gap:4px}
html[data-gestion2="live"] .g2-holdings-original{padding:0}
html[data-gestion2="live"] .g2-holdings-original .section-toolbar{margin-bottom:18px}
html[data-gestion2="live"] .g2-holdings-empty{display:flex;align-items:center;justify-content:center;gap:15px;min-height:175px;flex-direction:column;color:#8a9e8e;font-size:13px}
html[data-gestion2="live"] .g2-holdings-empty strong{color:#37684b}
html[data-gestion2="live"] .g2-holdings-empty button{background:#244c37;border:0;color:#fff;border-radius:8px;display:flex;align-items:center;gap:6px;padding:10px 14px}
html[data-gestion2="live"] .g2-holdings-disclaimer{display:flex;align-items:center;gap:7px;font-size:10px;color:#84968a;line-height:1.7;padding:0 2px}
html[data-gestion2="live"] .g2-holdings-disclaimer svg{flex:0 0 auto}
@media(max-width:1340px){html[data-gestion2="live"] .g2-holdings-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-gestion2="live"] .g2-holdings-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){html[data-gestion2="live"] .g2-holdings-breakdown{grid-template-columns:1fr}html[data-gestion2="live"] .g2-holdings-hero{flex-direction:column;align-items:flex-start}html[data-gestion2="live"] .g2-holdings-hero-actions{justify-content:flex-start}}
@media(max-width:700px){html[data-gestion2="live"] .g2-holdings-hero{padding:26px 20px}html[data-gestion2="live"] .g2-holdings-panel,html[data-gestion2="live"] .g2-holdings-directory{padding:19px 16px}html[data-gestion2="live"] .g2-holdings-kpis{gap:10px}html[data-gestion2="live"] .g2-holdings-kpi{padding:15px 12px 20px}html[data-gestion2="live"] .g2-holdings-kpi>strong{font-size:19px}html[data-gestion2="live"] .g2-holdings-directory-head{flex-wrap:wrap}html[data-gestion2="live"] .g2-holdings-filters{flex-direction:column;align-items:stretch}html[data-gestion2="live"] .g2-holdings-search{max-width:none}html[data-gestion2="live"] .g2-holdings-sort{justify-content:space-between}html[data-gestion2="live"] .g2-holdings-cards{grid-template-columns:1fr}html[data-gestion2="live"] .g2-holdings-sector-visual{flex-direction:column}html[data-gestion2="live"] .g2-holdings-sector-legend{width:100%}}
@media(max-width:390px){html[data-gestion2="live"] .g2-holdings-hero-actions{gap:6px}html[data-gestion2="live"] .g2-holdings-hero-actions button{padding:11px 9px;font-size:10px}html[data-gestion2="live"] .g2-holdings-card-main strong{font-size:14px}html[data-gestion2="live"] .g2-holdings-directory-head{align-items:flex-start}}
html[data-gestion2="live"][data-theme="dark"] .g2-holdings{color:#e5ebdd}
html[data-gestion2="live"][data-theme="dark"] :is(.g2-holdings-kpi,.g2-holdings-panel,.g2-holdings-directory,.g2-holdings-card){background:#202820;border-color:#3b483d}
html[data-gestion2="live"][data-theme="dark"] :is(.g2-holdings-kpi>strong,.g2-holdings-panel h2,.g2-holdings-directory h2,.g2-holdings-card-heading>div strong,.g2-holdings-card-main strong,.g2-holdings-sector-legend li>strong){color:#f1eee0}
html[data-gestion2="live"][data-theme="dark"] :is(.g2-holdings-search,.g2-holdings-sort,.g2-holdings-card-bottom button,.g2-holdings-card-heading>button){background:#263527;border-color:#465548}
html[data-gestion2="live"][data-theme="dark"] :is(.g2-holdings-search input,.g2-holdings-sort select){color:#f1eee0}
