/* MICTLAN Visual 2 — premium layer, scoped and mobile-first. */
.premium-dashboard{--pg:#e7bb79;--pb:#97bfca;color:#f7ecda;isolation:isolate;line-height:1.5;margin-bottom:25px}
.premium-dashboard *{box-sizing:border-box}
.premium-dashboard :is(h2,h3,p){margin:0}
.premium-hero{padding:24px 23px 27px;border:1px solid #73522e;border-radius:19px;background:linear-gradient(88deg,#09090cfb 0%,#0b0b0df0 44%,#0d0c0c67 100%),url('./umbral-mictlan.webp') center right/cover no-repeat;min-height:235px;box-shadow:0 12px 30px #0009;position:relative;overflow:hidden}
.premium-hero-brand{display:flex;align-items:center;gap:12px;margin:0 0 20px}
.premium-hero-brand img{width:54px;height:54px;object-fit:cover;border-radius:50%;border:1px solid #987447;box-shadow:0 0 20px #a9823944}
.premium-hero-brand span{display:block;font:normal 26px/1 Georgia,serif;letter-spacing:3px;color:#eac58a}
.premium-hero-brand small{display:block;letter-spacing:4px;font-size:8px;color:#d9bc8c;margin-top:6px}
.premium-overline{display:block;color:#cfa765;font-size:9px;letter-spacing:2px;font-weight:750;margin-bottom:10px}
.premium-hero h2{font:normal clamp(32px,6vw,47px)/1.05 Georgia,serif;color:#fff1dc;letter-spacing:-.6px}
.premium-hero h2 em{font-style:italic;color:#e8bb79}
.premium-hero p{margin-top:10px;color:#dbcbb7;font-size:12px;max-width:320px}
.premium-tabs{display:flex;overflow-x:auto;gap:5px;padding:5px;background:#08090b;border:1px solid #624b30;border-radius:14px;margin:14px 0;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.premium-tabs button{min-width:max-content;flex:1;border:1px solid transparent;background:transparent;color:#c9bba7;border-radius:10px;padding:12px 13px;min-height:44px;font-size:12px;cursor:pointer}
.premium-tabs button[aria-pressed=true]{background:linear-gradient(145deg,#ecca8c,#c18b46);color:#241608;border-color:#f0ce92;font-weight:800;box-shadow:0 2px 13px #a46d3655}
.premium-window{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;color:#bba687;font-size:10px;margin:0 1px 13px}
.premium-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.premium-kpis{margin:0 0 14px}
.premium-tile{min-width:0;border:1px solid #60472c;background:linear-gradient(125deg,#292018,#121315 75%);padding:14px;border-radius:14px;box-shadow:inset 0 1px #be92542c}
.premium-tile-head{font-size:11px;color:#d0b899;display:flex;align-items:center;gap:7px}
.premium-tile-head span{color:#edbd72;font-size:15px}
.premium-tile strong{display:block;font:normal clamp(19px,3.5vw,27px)/1.4 Georgia,serif;font-variant-numeric:tabular-nums;color:#ffe3b3;overflow-wrap:anywhere;margin:5px 0}
.premium-tile small{display:block;color:#bfb1a1;font-size:10px;line-height:1.5}
.premium-panel{background:linear-gradient(145deg,#191818,#0d1013 90%);border:1px solid #5c452b;border-radius:16px;padding:18px 16px 14px;margin:0 0 14px;box-shadow:inset 0 1px #bd955920}
.premium-panel-head{border-bottom:1px solid #393126;padding-bottom:13px;margin-bottom:14px}
.premium-panel-head span{font-size:9px;letter-spacing:1.4px;color:#d7ab70;font-weight:700}
.premium-panel-head h3{color:#f8e8ce;font:normal clamp(21px,4vw,27px)/1.25 Georgia,serif;margin:5px 0 0}
.premium-spark{width:100%;height:auto;max-height:310px;display:block;overflow:visible}
.premium-spark text{font:16px system-ui,sans-serif;fill:#baa88f}
.premium-grid{stroke:#40372c;stroke-width:1;stroke-dasharray:4 6}
.premium-line{fill:none;stroke:#e3b66c;stroke-width:3.4;stroke-linejoin:round;stroke-linecap:round}
.premium-area{fill:url(#premium-gold-grad)}.premium-dot{fill:#edc07c;stroke:#22190d;stroke-width:2}
.premium-blue .premium-line{stroke:#9ccbd4}.premium-blue .premium-area{fill:url(#premium-blue-grad)}.premium-blue .premium-dot{fill:#acdbe6}
.premium-captions{display:flex;gap:9px;justify-content:space-between;flex-wrap:wrap;color:#cbbba4;font-size:10px;margin-top:9px}
.premium-session-list{border-top:1px solid #3e3325;margin-top:10px}
.premium-session-list>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #393023;padding:10px 0;font-size:11px}
.premium-session-list>div strong{font-weight:500;color:#f0dab8;text-align:right}
.premium-empty{text-align:center;border:1px dashed #5b452e;background:#151311;padding:20px 12px;border-radius:12px;color:#c5b098;font-size:12px}
.premium-empty b{display:block;color:#dfae69;font-size:28px}.premium-empty p{margin-top:5px}
.premium-select{display:block;font-size:11px;color:#d1b895;margin-bottom:15px}
.premium-select select{display:block;margin-top:6px;min-height:44px;padding:10px;width:100%;color:#f4ddba;background:#161515;border:1px solid #7b5c37;border-radius:10px;font-size:12px}
.premium-muted{font-size:11px;color:#ccbba5;line-height:1.7;margin:14px 0 9px!important}
.premium-set-bars{height:170px;padding:10px 3px 0;display:flex;align-items:end;justify-content:center;gap:11px;border-bottom:1px solid #695235;margin:15px 0 20px}
.premium-set-bar{height:100%;min-width:23px;max-width:46px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px}
.premium-bar-column{height:130px;width:100%;display:flex;align-items:end}
.premium-bar-column i{display:block;width:100%;background:linear-gradient(180deg,#f4d194,#9d6e34);border-radius:5px 5px 0 0}
.premium-set-bar small{color:#c8b9a3;font-size:9px}
.premium-table-scroller{overflow-x:auto;margin-top:12px}.premium-table-scroller table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}.premium-table-scroller caption{color:#af9980;text-align:left;font-size:10px;margin-bottom:7px}
.premium-table-scroller td,.premium-table-scroller th{padding:10px 8px;border-bottom:1px solid #453626;color:#dfceae}
.premium-hbar{margin:15px 0}.premium-hbar>div:first-child{display:flex;justify-content:space-between;gap:10px;color:#e8d6bd;font-size:12px;margin-bottom:6px}.premium-hbar>div:first-child span{color:#bbad96}
.premium-track{height:11px;border-radius:8px;background:#2b2a29;overflow:hidden}.premium-track i{height:100%;display:block;background:linear-gradient(90deg,#97703e,#efd294);border-radius:8px}
.premium-metric-focus{display:flex;align-items:baseline;gap:10px;margin:14px 0}.premium-metric-focus strong{font:normal 30px Georgia,serif;color:#ffdeb0}.premium-metric-focus small{color:#cdbba3;font-size:10px}
.premium-side-pair{border-bottom:1px solid #453828;padding:14px 0}.premium-side-pair b{font-size:13px;color:#f2d5ad}.premium-side-pair div{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#e0ceae;margin:7px 0;flex-wrap:wrap}.premium-side-pair small{color:#bfae96;font-size:11px}
.premium-signoff{text-align:center;padding:12px 11px 17px}.premium-signoff span{font-size:9px;letter-spacing:2px;color:#d9b27a}.premium-signoff p{font-size:11px;color:#ab9e8e;line-height:1.65;margin:8px 0}
.premium-dashboard :is(button,select):focus-visible{outline:2px solid #fad495;outline-offset:3px}
@media(min-width:780px){.premium-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.premium-panel{padding:21px}.premium-hero{padding:30px}.premium-hero h2{font-size:48px}}
@media(max-width:360px){.premium-hero{padding:18px 14px}.premium-hero-brand span{font-size:22px;letter-spacing:2px}.premium-tile{padding:11px}.premium-tabs button{padding:10px 11px}.premium-panel{padding:15px 12px}}

.visual-deep-dive{margin:22px 0;padding:15px;border:1px solid #56442d;border-radius:16px;background:#161414}.visual-deep-dive>summary{cursor:pointer;color:#e9c797;font-weight:650;font-size:13px;min-height:44px;display:flex;align-items:center}.visual-deep-dive[open]>summary{margin-bottom:17px;border-bottom:1px solid #58432b;padding-bottom:12px}

.premium-periods{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:3px 0 14px;padding:4px;border:1px solid #5f4a32;border-radius:11px;background:#0c0d0e}.premium-periods button{min-height:40px;padding:7px 0;border:0;background:transparent;color:#cbb99e;font-size:11px;border-radius:8px;cursor:pointer}.premium-periods button[aria-pressed=true]{color:#1c140d;background:#dcb376;font-weight:800}

/* Visual 3 — dedicated filters, historical progress and left/right balance */
.premium-chart-grid{stroke:#40372c;stroke-width:1;stroke-dasharray:4 6}
.premium-periods{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:4px;background:#101012;border:1px solid #4f3c27;border-radius:12px;margin:0 0 11px}
.premium-periods button{border:0;border-radius:8px;background:transparent;color:#c4b197;min-height:39px;padding:7px 1px;font-size:11px;font-weight:600;cursor:pointer}
.premium-periods button[aria-pressed=true]{background:linear-gradient(145deg,#ecc98b,#b9813b);color:#201508;box-shadow:0 2px 12px #cd90464a}
.premium-week-chart{display:flex;align-items:stretch;justify-content:space-evenly;gap:7px;border-bottom:1px solid #59442b;min-height:205px;padding:12px 3px 0;margin:11px 0 14px}
.premium-week{min-width:0;flex:1;max-width:75px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:192px;color:#d3b887}
.premium-week-total{font:600 11px system-ui;color:#f4d5a6;margin-bottom:5px}
.premium-week-bar{display:flex;flex-direction:column;width:65%;max-width:38px;min-height:3px;border-radius:6px 6px 0 0;overflow:hidden}
.premium-week-known{background:linear-gradient(#efd09a,#b58440);min-height:2px}
.premium-week-unknown{background:linear-gradient(#888f96,#56585a);min-height:2px}
.premium-week small{font-size:9px;color:#ae9c84;white-space:nowrap;padding:8px 0}
.premium-chart-legend{display:flex;align-items:center;flex-wrap:wrap;gap:15px;color:#c9b9a6;font-size:10px;margin-bottom:13px}
.premium-chart-legend>span{display:inline-flex;align-items:center;gap:6px}
.premium-chart-legend i{width:10px;height:10px;border-radius:2px;display:inline-block}
.premium-legend-gold{background:#dfb16c}.premium-legend-muted{background:#7c8285}
.premium-sym-grid{grid-template-columns:repeat(1,minmax(0,1fr));gap:10px}
.premium-sym-card{padding:14px;border:1px solid #5d462a;background:linear-gradient(145deg,#241d17,#121316 77%);border-radius:12px}
.premium-sym-card>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}
.premium-sym-card>header b{font:normal 21px Georgia,serif;color:#f3d6aa}
.premium-sym-card>header small{font-size:10px;color:#c6b69f}
.premium-side-chart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}
.premium-side-chart>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.premium-side-chart label{font-size:11px;color:#aeb9bc}
.premium-side-chart span{font:normal 22px Georgia,serif;color:#fbdfb3}
.premium-side-chart i{height:13px;min-width:3px;border-radius:5px;background:linear-gradient(90deg,#94703e,#efc98a);margin-top:4px}
.premium-side-chart>div:nth-child(2) i{background:linear-gradient(90deg,#667d88,#a9c0c9)}
.premium-heat-guide{display:grid;grid-template-columns:80px 1fr;gap:16px;align-items:center}
.premium-heat-guide strong{color:#f0d9b7;font:normal 19px Georgia,serif}
.premium-heat-guide p{font-size:12px;color:#c7b49d;line-height:1.65;margin-top:7px}
.premium-heat-symbol{font:62px Georgia,serif;color:#ddae6c;text-align:center;line-height:1;position:relative;filter:drop-shadow(0 0 15px #cd8c3933)}
.premium-heat-symbol span{position:absolute;top:18px;left:33px;font-size:18px;color:#fff0d0}
@media(min-width:720px){.premium-sym-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.premium-side-chart{gap:7px}.premium-side-chart span{font-size:19px}}
@media(max-width:350px){.premium-periods button{font-size:10px}.premium-side-chart span{font-size:19px}.premium-heat-guide{grid-template-columns:56px 1fr}}
