/* Tadeo's desktop/mobile HTML: shared light palette and app surfaces.
   Loaded after each page's legacy styles. Existing data and interactions are retained. */
:root {
  --artifact-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
  --jn:#0A2540; --jt:#0A2540; --jb:#635BFF; --jbg:#F6F9FC; --jc:#fff;
  --jbd:#E3E8EE; --jm:#425466; --jf:#8792A2;
  --jrojo:#DB4A4F; --jverde:#0A9E63; --jamb:#E08A2E;
  --p-bg:#F6F9FC; --p-card:#fff; --p-border:#E3E8EE; --p-radius:12px;
  --p-data:#635BFF; --p-num:#0A2540; --p-title:#68788D;
  --p-label:#425466; --p-meta:#68788D; --p-red:#DB4A4F; --p-green:#0A9E63;
}
/* Atomic period selector: native buttons, separated pills; no joined segments. */
body #jrCatSeg{display:flex;justify-content:center;gap:5px;border:0;background:transparent;padding:0;max-width:100%;flex-wrap:nowrap}
body #jrCatSeg button{appearance:none;position:relative;box-sizing:border-box;min-width:0;min-height:0;padding:4px 13px;border:0;border-radius:999px;background:#EBF0F6;color:var(--jm);font:400 11.5px/1.4 var(--artifact-font);cursor:pointer}
body #jrCatSeg button::before{content:'';position:absolute;inset:-10px 0;min-height:44px}
body #jrCatSeg button.on{background:var(--jb);color:#fff}
body #jrCatSeg button:hover:not(.on){background:#E3E8EE}
body :is(.noti-chip,.sig-filter){box-sizing:border-box;position:relative;border:0;border-radius:999px;background:#EBF0F6;color:var(--jm);font:400 11.5px/1.4 var(--artifact-font);min-height:0;padding:5px 11px;cursor:pointer}
body :is(.noti-chip,.sig-filter)::before{content:'';position:absolute;inset:-8px 0;min-height:44px}
body .noti-filters{margin-bottom:12px}
body .noti-pagination{display:flex;justify-content:center;gap:5px;margin-top:11px}
body .noti-pagination span{width:6px;height:3px;border-radius:2px;background:#EBF0F6}
body .noti-pagination span.on{width:16px;background:var(--jb)}
body :is(.noti-chip.on,.sig-filter[aria-pressed="true"]){background:var(--jb);color:#fff}
body :is(.noti-chip,.sig-filter):focus-visible{outline:2px solid var(--jb);outline-offset:3px}
body .sig-filters{justify-content:flex-start}
body .main #jrSenales .sig-balance{align-items:stretch;gap:9px;margin-bottom:0}
body .sig-bal-count{display:flex;align-items:baseline;gap:8px;color:#8792A2;font-size:12px}
body .sig-bal-count b{font-size:30px;font-weight:500;line-height:1;color:var(--jt)}
body .sig-bal-track{height:8px;border-radius:4px;background:#EBF0F6}
body .sig-bal-risk{background:#DB4A4F}
body .sig-bal-opp{background:#0ACF83}
body .sig-bal-info{background:#8792A2}
body .main #jrSenales .sig-row1{padding:10px 0;border-bottom-width:.5px}
body #jrSenales .sig-row1-summary{gap:10px;min-height:44px}
body #jrSenales .sig-row1-summary::after{content:none}
body #jrSenales .sig-row1-summary:focus-visible{outline:2px solid var(--jb);outline-offset:3px;border-radius:4px}
body #jrSenales .sig-row1-t{font-size:13px;font-weight:400;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4;color:var(--jt)}
body #jrSenales .sig-row1-when{font-size:10.5px;color:#8792A2;white-space:normal;overflow:visible;text-overflow:clip}
body #jrSenales .sig-chip{border-width:1px;padding:2px 7px;font-weight:400;letter-spacing:0;margin-left:0}
body #jrSenales .sig-row1-detail{margin:8px 0 2px;background:#F7FAFC;color:var(--jm);font-size:12px;line-height:1.6}
body #jrSenales .sig-row1-detail b{color:var(--jt);font-weight:500}
body #jrSenales .sig-actions{flex-wrap:wrap}
body :is(.noti-tema,.noti-ask,.noti-arrow){color:var(--jb)}
body .noti-tema{font-size:10px;font-weight:600;letter-spacing:.08em;margin-bottom:4px}
body .noti-titulo{font-size:13.5px;color:var(--jt);font-weight:500;line-height:1.4;margin-bottom:4px}
body .noti-resumen{font-size:12px;line-height:1.6;margin-bottom:4px}
body .noti-actions{margin-top:0}
body :is(.noti-source,.noti-ask){font-size:12px;font-weight:400;line-height:1.4}
body .noti-meta{font-size:11px;margin:0 0 9px;padding-top:0}
body :is(.noti-source,.noti-resumen){color:var(--jm)}
body :is(.noti-meta,.sig-row1-sub){color:#8792A2}
body .noti-filters{justify-content:center}
body .noti-arrow{display:none}
body .noti-track{gap:12px}
body .noti-card{flex:0 0 calc((100% - 36px)/4);min-width:0;border:1px solid var(--jbd);border-radius:9px;padding:12px}
body .noti-source{display:inline-flex;align-items:center;gap:4px}
body .noti-source svg{width:14px;height:14px;flex-shrink:0}
body .noti-viewport:focus-visible{outline:2px solid var(--jb);outline-offset:3px}
@media(max-width:980px){body .noti-card{flex-basis:calc((100% - 12px)/2)}}
@media(max-width:768px){body .noti-card{flex-basis:100%}body .noti-filters{justify-content:center}}
/* Tadeo category footer: native selection inside the shared neutral pill. */
body .main #jrIndic #jrCatSel{border-top:.5px solid var(--jbd);margin:14px 0 0;padding-top:13px;justify-content:center}
body .main #jrIndic .pulse-ind-head{margin:0 0 16px!important}
body #jrIndic>.j-foot:has(>#jrCatDate){min-height:0;padding:0;margin-top:10px}
body #jrIndic>.j-foot:has(>#jrCatDate:empty){display:none}
body #jrCatSel .cat-select-wrap{min-width:0;max-width:100%;gap:10px}
body #jrCatSel .cat-select-lbl{font-size:11px;font-weight:400;color:#8792A2}
body #jrCatSel .cat-select-box{min-width:0;max-width:100%}
body #jrCatSel .cat-select{min-width:0;max-width:100%;width:230px;min-height:44px;border:0;border-radius:999px;background:#EBF0F6;color:var(--jm);padding:8px 34px 8px 14px;font-size:12px;font-weight:500;text-overflow:ellipsis}
@media(max-width:768px){
 body .main #jrIndic #jrCatSel{justify-content:stretch;margin-top:13px;padding-top:12px}
 body .main #jrIndic .pulse-ind-head{margin-bottom:14px!important}
 body #jrCatSel .cat-select-wrap{width:100%;justify-content:space-between}
 body #jrCatSel .cat-select-box{max-width:calc(100% - 80px)}
 body #jrCatSel .cat-select{width:190px}
}
@media(max-width:360px){body #jrCatSeg button{min-width:48px;padding:8px 10px}}
body { background:var(--jbg); color:var(--jt); font-family:Inter,system-ui,sans-serif; line-height:1.6; }
/* Financial content grows with its data; only the conversation owns an inner scroller. */
html:has(#zonaScore),body:has(#zonaScore),html:has(#jrMatriz),body:has(#jrMatriz){height:auto;min-height:100vh;overflow-x:clip!important}
body:has(#zonaScore) .main,body:has(#jrMatriz) .main{overflow:visible!important}
body .main { background:var(--jbg); height:auto!important; max-height:none!important; min-height:0; padding:24px 28px 100px!important; }
body .main > .j-grid, body .j-grid { gap:20px; background:transparent; }
body .main .j-card, body .j-card { background:#fff; border:1px solid var(--jbd)!important; border-radius:12px!important; padding:22px!important; height:auto!important; min-height:0; min-width:0; }
body .j-card > h3, body .main .j-card > h3 { color:var(--jf)!important; font-size:12px; line-height:1.5; letter-spacing:.08em; margin-bottom:20px; justify-content:center; }
body .j-card h3 svg { color:inherit; }
body :is(.desktop-app-title,.hub-title,.page-head-title,.header h1){font-family:var(--artifact-font);font-size:20px;font-weight:600;line-height:normal;color:var(--jt);letter-spacing:-.01em}
body :is(.j-card>h3,.p2-model-card h3,.p2-group-title,.p2-chart-h,.banking-panel>h2){font-family:Inter,system-ui,sans-serif;font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.08em;text-transform:uppercase;color:var(--jf)}
body :is(.desktop-app-context,.page-head-sub,.hub-subtitle){font-family:Inter,system-ui,sans-serif;font-size:13px;line-height:1.6;color:var(--jm)}
body #analisisRoot .j-card:has(>.card-source-help) .j-src:not(.financial-info){display:none}
/* Shared card rhythm: help belongs to the card, not the final content row. */
body .j-card,body .p2-model-card{position:relative}
body .main .j-card:has(>.j-foot),body .j-card:has(>.j-foot),body .main .j-card:has(>.financial-info),body .j-card:has(>.financial-info),body .p2-model-card:has(>.financial-info){padding-bottom:76px!important}
body .j-card>.j-foot,body .j-card>.financial-info,body .p2-model-card>.financial-info{position:absolute;left:18px;bottom:14px;margin:0;padding:0;min-height:44px}
body .j-foot .j-info{width:auto;min-height:44px;gap:8px;opacity:1;color:#7560A5;background:#F5F0FA;border-radius:8px;font:500 13px/1.4 Inter,system-ui,sans-serif}
body .j-info::after,body .financial-info>summary::after{content:'Más información';font:500 13px/1.4 Inter,system-ui,sans-serif;white-space:nowrap}
body .j-foot .j-info,body .pulse-tile .pt-help .j-info,:root body .financial-info>summary{background:transparent!important;padding:8px 12px;gap:8px;color:#7560A5;box-sizing:border-box;min-height:44px}
body .pulse-tile .pt-help{margin-top:auto;padding-top:12px}
body .pulse-tile .pt-help .j-info{display:inline-flex;align-items:center;gap:8px;width:auto;min-height:44px;color:#7560A5;background:#F5F0FA;border-radius:8px;opacity:1}
body #jrMatriz .mtx-2col{align-items:stretch;flex:none}
body #jrMatriz .mtx-panel{position:relative;padding-bottom:64px;min-width:0}
body #jrMatriz .mtx-panel>.j-foot{position:absolute;left:0;bottom:0;margin:0;padding:0;min-height:44px}
body #jrMatriz .mtx-right>.j-foot{left:28px}
body #jrMatrizBody,body #jrMatriz .mtx-scroll{overflow:visible;flex:none;min-height:0;max-height:none;height:auto}
:root body .financial-info>summary{width:auto;justify-content:flex-start;gap:8px;color:#7560A5;background:#F5F0FA;border-radius:8px}
.card-info-dialog{position:fixed;box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;margin:auto;padding:28px;border:1px solid var(--jbd);border-radius:16px;background:#fff;color:var(--jt);box-shadow:0 24px 80px #0A254033;font-family:Inter,system-ui,sans-serif}
.card-info-dialog::backdrop{background:#0A254066}
.card-info-dialog h2{font-size:20px;line-height:1.4;font-weight:600;margin:0 44px 20px 0;color:var(--jt)}
.card-info-copy{font-size:14px;line-height:1.75;white-space:pre-line;color:var(--jm)}
.card-info-close{position:absolute;right:12px;top:12px;width:44px;height:44px;border:0;border-radius:8px;background:#F6F9FC;color:var(--jt);font-size:26px;cursor:pointer}
body .j-foot .j-info svg{width:18px;height:18px;stroke-width:1.7}
body .j-foot .j-info:hover{background:#EEEBFF;color:var(--jb)}
body .j-card>.financial-info[open],body .p2-model-card>.financial-info[open]{z-index:10}
body .j-card>.financial-info>.financial-info-text,body .p2-model-card>.financial-info>.financial-info-text{position:absolute;bottom:52px;left:0;width:min(320px,calc(100vw - 84px));box-sizing:border-box;border:1px solid var(--jbd);box-shadow:0 8px 24px #0A254018;background:#fff}
body .brand{padding:10px 22px 24px;min-height:76px;box-sizing:border-box}
body .brand-logo-img{width:148px;height:auto;max-width:100%;object-fit:contain}
body .mobile-header-brand{padding:4px 0}
body .mobile-header-brand img{width:108px;height:auto;max-height:36px;object-fit:contain}
body .j-card :is(b,strong),body .p2-titular-big{font-family:Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums}
body .j-expl, body .j-sg .im { font-size:14px; line-height:1.75; color:var(--jm); }
body .j-ind { font-size:14px; padding:13px 0; gap:16px; border-bottom:1px solid var(--jbd); }
body .j-src, body .j-date, body .j-path { font-size:12px; line-height:1.6; color:var(--jf); }
body .j-nm { font-size:17px; color:var(--jt); line-height:1.5; }
body .pulse-2col { gap:20px; }
body .next-action { border-color:var(--jbd); border-left-color:var(--jb); box-shadow:none; }
body .next-action h2 { color:var(--jt); }
body .next-action p { font-size:14px; color:var(--jm); line-height:1.65; }
body .next-action-cta, body .rail-btn, body .send-btn { background:var(--jb); color:#fff; }
body .next-action-eyebrow, body .next-action-proof > span { color:var(--jb); }
body .view-tlx-toolbar { display:flex; justify-content:flex-end; flex:none; margin:0 0 16px; }
body .proy-col > .view-tlx-toolbar { margin:24px 28px 0; }
body .view-tlx-cta { position:static; z-index:auto; background:var(--jn); border-color:var(--jn); border-radius:12px; box-shadow:none; min-height:44px; max-width:100%; }
body .view-tlx-cta b { font-size:13px; }
body .view-tlx-mark { color:var(--jn); }
body #jrIndic .j-city { gap:16px; padding:12px 0; align-items:flex-start; }
body #jrIndic .j-city .j-cp { white-space:normal; min-width:0; overflow-wrap:anywhere; }
body #jrIndic .j-city .j-cp > div + div { margin-top:8px; }
body #jrIndic .j-city .j-cp small { display:block; color:var(--jf); font-size:10px; line-height:1.5; }
body .block-tlx-action { color:var(--jb); border-color:var(--jbd); min-height:36px; }
body .sidebar { border-right:1px solid var(--jbd); }
/* Reference navigation: shared strokes, clear selected state and readable metadata. */
body .nav-item,body .footer-action{min-height:44px;box-sizing:border-box}
body .nav-item.active,body .mobile-tab.active{color:#5145CD}
body .footer-action,body .desktop-app-context,body .mobile-tab{color:#526277}
body .footer-icon{opacity:1}
body .desktop-app-avatar{width:44px;height:44px}
body .sidebar .ji-nav-ic,body .sidebar .ji-nav-ic .ji-icon{width:20px;height:20px}
body .ji-card,body .ji-icon{stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
body .nav-item:focus-visible,body .footer-action:focus-visible,body .mobile-tab:focus-visible{outline:3px solid #5145CD;outline-offset:-3px;background:#EEEBFF}
body .mobile-avatar { width:44px; height:44px; min-height:44px; flex-shrink:0; padding:0; border:0; background:radial-gradient(circle 16px at center,var(--jb) 98%,transparent 100%); color:#fff; font-family:inherit; font-size:13px; line-height:1; font-weight:600; cursor:pointer; }
body .mobile-header::after { content:''; position:absolute; left:0; right:0; bottom:0; height:3px; background:linear-gradient(90deg,#FF5996,#635BFF,#00D4FF); }
body .mobile-tab.active { color:var(--jb); }
body .mobile-tabs { border-color:var(--jbd); }
body :is(button,a,input,textarea,select):focus-visible { outline:2px solid var(--jb); outline-offset:3px; }
/* Flat conversation surface, history inside TLX as in the supplied mobile design. */
body .layout:has(.consultor-wrap) { height:100dvh; min-height:0; grid-template-rows:auto minmax(0,1fr); }
body .consultor-wrap { height:100%; min-height:0; background:#fff; }
body .consultor-center { padding:0; overflow:hidden; }
body .center-card { border:0; border-radius:0; max-width:none; }
body .center-scroll { padding:24px clamp(20px,4vw,64px); }
body .mascota-zona { position:relative; min-height:64px; }
body .consultor-history-toggle { position:absolute; top:12px; left:16px; display:flex; align-items:center; gap:8px; min-height:44px; padding:8px 12px; border:1px solid var(--jbd); border-radius:22px; color:var(--jm); background:#F7FAFC; cursor:pointer; font:500 13px/1.2 Inter,system-ui,sans-serif; z-index:2; }
body .consultor-history-close { display:none; }
body .consultor-rail.history-closed { display:none!important; }
body .consultor-rail { width:250px; border-color:var(--jbd); }
body .rail-conv-item.active { background:#EEEBFF; }
body .rail-conv-group{min-width:0;margin:8px 0}
body .rail-category-title{display:flex;align-items:center;gap:8px;margin:0 8px 6px;color:var(--jm);font:600 12px/1.4 Inter,system-ui,sans-serif}
body .rail-category-title svg{width:16px;height:16px;flex:none;color:#635BFF}
body .rail-conv-title, body .intent-title, body .tlx-hello h2 { color:var(--jt); }
body .tlx-intro { color:var(--jm); line-height:1.75; }
body .tlx-msg { font-size:15px; line-height:1.8; }
body .tlx-table-scroll{max-width:100%;overflow-x:auto;margin:16px 0;border:1px solid var(--jbd);border-radius:10px}
body .tlx-table-scroll table{border-collapse:collapse;width:100%;min-width:480px;font-size:14px}
body .tlx-table-scroll :is(th,td){padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--jbd)}
body .tlx-table-scroll th{background:var(--jbg);font-weight:600}
body .quick-actions>.tlx-next{width:100%;padding:0;background:none}
body .tlx-msg-user { background:#EEEBFF; border-color:transparent; color:var(--jt); border-radius:15px 15px 5px 15px; }
body .tlx-msg-ai, body .tlx-msg-ai strong { color:var(--jt); }
body .tlx-msg-ai { max-width:760px; width:100%; margin-inline:auto; }
body .intent-card { border-color:var(--jbd); padding:20px; }
body .intent-pill { padding:12px; font-size:14px; line-height:1.6; color:var(--jm); border-color:var(--jbd); }
body .input-bar { border-color:var(--jbd); padding:16px 24px; }
body .input-field { color:var(--jt); background:#F7FAFC; border-color:var(--jbd); font-size:16px; }
body .input-field:focus { border-color:var(--jb); }
body .input-row{position:relative;align-items:flex-end}
body .input-row .input-field{width:100%;height:88px;min-height:88px;max-height:88px;resize:none;overflow-y:auto;padding-right:58px}
body .input-row .send-btn{position:absolute;right:10px;bottom:10px;width:36px;height:36px;border-radius:50%}
body .quick-actions,body .tlx-next-buttons{display:flex;flex-wrap:nowrap;gap:6px;min-width:0}
body .quick-action,body .tlx-next-button{min-width:0;flex:1 1 0;white-space:normal;text-align:center;font-size:12px;line-height:1.4}
body .quick-action{flex:1 1 auto;white-space:nowrap;padding:6px 4px}
body .consultor-history-toggle{width:44px;height:44px;justify-content:center;padding:0;border-radius:50%}
body .cat-select-wrap{max-width:100%;min-width:0;flex-wrap:wrap}
body .cat-select-box{max-width:100%;min-width:0;flex:1}
body .cat-select{width:100%;max-width:100%;min-width:0}
body .pulse-tile .j-up{color:var(--jverde)!important}
body .pulse-tile .j-dn{color:var(--jrojo)!important}
body .pulse-tile .j-neutral{color:var(--jf)}
body .pulse-tile.pt-favorite{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:6px 12px}
body .pt-favorite :is(.pt-label,.pt-val,.pt-unit,.pt-meta){grid-column:1;min-width:0}
body .pt-favorite .pt-label{white-space:normal;overflow-wrap:anywhere}
body .pt-favorite .pt-spark{grid-column:2;grid-row:2;align-self:center;margin:0}
body .pulse-tile.pt-favorite{grid-template-columns:minmax(0,1fr);padding:12px;min-height:0;border:0.5px solid var(--jbd);border-radius:9px;gap:5px 12px}
body .pt-favorite .pt-label{grid-column:1 / -1;font-size:12px;font-weight:400;color:var(--jm)}
body .pt-favorite .pt-val{margin:0;gap:8px}
body .pt-favorite .pt-val b{font-size:24px;font-weight:500;line-height:normal}
body .pt-favorite .pt-val :is(.j-up,.j-dn,.j-neutral){font-size:12.5px;font-weight:500}
body .pt-favorite .pt-details{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:baseline;gap:0 5px;min-width:0}
body .pt-favorite .pt-details :is(.pt-unit,.pt-meta){margin:0;font-size:11px;font-weight:400;line-height:normal;white-space:normal;overflow-wrap:anywhere;color:#8792A2}
body .pt-favorite .pt-details .pt-unit+.pt-meta::before{content:'· ';}
body .pt-favorite .pt-spark{grid-column:1;grid-row:4;width:100%;height:30px;margin-top:3px}
body .pt-favorite .pulse-spark{width:100%;height:100%}
@media(max-width:768px){
  body .pulse-tile.pt-favorite{grid-template-columns:minmax(0,1fr) 84px;gap:4px 12px}
  body .pt-favorite .pt-label{grid-column:1}
  body .pt-favorite .pt-val b{font-size:23px}
  body .pt-favorite .pt-details{grid-column:1}
  body .pt-favorite .pt-spark{grid-column:2;grid-row:1 / 4;align-self:center;width:84px;height:32px;margin:0}
}
body .p2-chart-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;margin:16px 0 4px;font-size:12px;color:var(--jm)}
body .p2-chart-legend span{display:flex;align-items:center;gap:6px}
body .p2-chart-legend span[hidden]{display:none}
body .p2-canvas-wrap{height:auto;min-height:0;aspect-ratio:640/190}
body .p2-canvas-wrap canvas{height:100%!important}
body .p2-canvas-wrap:has(.p2-chart-msg){aspect-ratio:auto;min-height:132px;height:auto}
body .p2-canvas-wrap .p2-chart-msg{position:static;min-height:132px;height:auto;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px}
@media(max-width:767px){body .p2-canvas-wrap{aspect-ratio:320/132}body .p2-chart-legend{gap:14px;font-size:10.5px}}
body .p2-chart-legend i{display:block;width:18px;height:0;border-top:2px solid #0A2540}
body .p2-chart-legend .p2-key-forecast{border-color:#635BFF;border-top-style:dashed}
body .p2-chart-legend .p2-key-band{height:10px;border:0;background:#635BFF22}
body .forecast-method ul{list-style:none;padding:0;margin:16px 0}
body .forecast-method li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;margin:16px 0;font-style:normal}
body .forecast-method li svg{width:18px;height:18px;color:#7560A5;margin-top:3px}
@media(max-width:768px) {
  body #jrMatriz .mtx-right>.j-foot{left:0}
  body.account-page{padding-top:calc(52px + env(safe-area-inset-top,0px));padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
  body .content-col:has(>#perfilHub){padding-top:calc(52px + env(safe-area-inset-top,0px));padding-bottom:80px}
  body .layout:has(.consultor-wrap) { height:auto; }
  body .main { padding:76px 16px 156px!important; }
  body .j-grid, body .main > .j-grid, body .pulse-2col { gap:18px!important; }
  body .j-card, body .main .j-card { padding:20px!important; }
  body .j-ind { align-items:flex-start; }
  body .j-ind b { flex-shrink:0; }
  body .panel { overflow:visible!important; }
  body .proy-col > .view-tlx-toolbar { margin:76px 16px 0; }
  body .consultor-wrap { height:calc(100dvh - 52px - 60px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important; margin-top:calc(52px + env(safe-area-inset-top,0px)); flex-direction:row!important; }
  body .consultor-center { padding:0!important; height:100%; overflow:hidden!important; }
  body .center-card { height:100%!important; flex:1!important; min-height:0!important; overflow:hidden!important; border-radius:0!important; }
  body .center-scroll { padding:20px 18px!important; overflow-y:auto!important; min-height:0; flex:1; }
  body .input-bar { position:static!important; width:auto!important; padding:12px 16px!important; }
  body .consultor-rail.history-open { display:flex!important; position:fixed; inset:calc(56px + env(safe-area-inset-top,0px)) 12px calc(72px + env(safe-area-inset-bottom,0px)); width:auto; z-index:860; border:1px solid var(--jbd); border-radius:16px; box-shadow:0 12px 34px #0A254033; background:#fff; }
  body .consultor-history-close { display:block; align-self:flex-end; min-height:44px; background:#F7FAFC; color:var(--jt); border:1px solid var(--jbd); border-radius:22px; padding:8px 14px; }
  body .intent-grid { gap:14px!important; }
  body .intent-pill { font-size:14px!important; }
  body .mascota-sprite canvas { width:110px!important; height:auto!important; }
}
:root .financial-score{font-size:64px;font-weight:700;text-align:center;color:var(--jn);line-height:1.2;margin:20px 0}
:root .financial-info{display:block;text-align:left;margin-top:20px}
:root .financial-info summary{list-style:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer;border-radius:8px;color:var(--jb)}
:root .financial-info summary::-webkit-details-marker{display:none}
:root .financial-info summary svg{width:18px;height:18px}
:root .financial-info summary:focus-visible{outline:2px solid var(--jb);outline-offset:2px}
:root .financial-info-text{padding:12px;background:var(--jbg);color:var(--jm);font-size:13px;line-height:1.6;border-radius:8px}
:root .sector-grade{font-size:64px;font-weight:700;text-align:center;line-height:1.2;margin:12px auto;color:var(--jn)}
:root .sector-grade-track{height:8px;border-radius:8px;background:linear-gradient(90deg,#DB4A4F,#E08A2E,#0A9E63);margin:0 auto 24px;max-width:420px}
:root .exposure-tariffs{border-top:1px solid var(--jbd);padding-top:20px;margin-top:20px}
:root .an-row-1{grid-template-columns:1fr}
:root .an-titular{background:#0A2540;color:#fff}
/* One forecast surface: selector, observation, chart; evidence underneath. */
html:has(.proy-col),body:has(.proy-col){height:auto;min-height:100%;overflow-x:clip!important}
body .proy-main{overflow:visible!important}
body .p2-wrap{max-width:1600px;margin-inline:auto}
body .p2-row{margin-top:0;gap:24px;align-items:flex-start}
body .p2-titular{background:transparent;color:var(--jt);text-align:center;padding:8px 0 28px}
body .p2-titular-label{display:none}
body .p2-titular-big{color:var(--jt);font-size:40px;font-weight:500;margin:8px 0}
body .p2-titular-range{color:var(--jm);font-size:14px;line-height:1.7}
body .p2-titular-corte{color:var(--jb);font-size:13px}
body .p2-observed-label,body .p2-variable-label{display:block;color:var(--jf);font-size:12px;margin:16px 0 6px}
body #p2Variable{font:600 16px/1.4 Inter,system-ui,sans-serif;color:var(--jt);background:#fff;border:1px solid var(--jbd);border-radius:10px;padding:12px;width:100%;max-width:520px;min-height:44px}
body .p2-chartcard,body .p2-model-card,body .p2-group{border:1px solid var(--jbd);background:#fff;border-radius:14px;padding:24px}
body .p2-chart-head{flex-wrap:wrap;gap:12px}
body .p2-chart-h,body .p2-group-title{color:var(--jf)}
body .p2-hz-btn{min-width:44px;min-height:44px;font-size:13px}
body #p2Hz{display:flex;justify-content:center;gap:10px;margin:20px 0 0;flex-wrap:wrap}
body #p2Hz .p2-hz-btn{background:var(--jb);color:#fff;border:1px solid var(--jb);border-radius:10px;padding:10px 18px}
body #p2Hz .p2-hz-btn.on{outline:2px solid var(--jb);outline-offset:3px}
body #p2Hz .p2-hz-btn:disabled{opacity:.45;cursor:not-allowed}
body .p2-hz-btn.on{background:var(--jb);color:#fff}
body .p2-model-grid{display:grid;grid-template-columns:1fr;gap:20px;margin-bottom:20px}
body .p2-model-card h3{font-size:13px;text-align:center;color:var(--jf);letter-spacing:.06em;margin:0 0 20px}
body .p2-model-row{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--jbd);font-size:14px}
body .p2-model-row strong{text-align:right;font-weight:600}
body .p2-model-note{font-size:13px;line-height:1.65;color:var(--jm);margin:16px 0}
body .p2-compare{display:flex;gap:10px;align-items:center;min-height:44px;color:var(--jt);font-size:14px}
body .p2-compare input{accent-color:var(--jb);width:20px;height:20px}
body .p2-chip{background:#fff;border-color:var(--jbd);padding:14px;min-height:64px}
body .p2-chip-top{flex-wrap:wrap}
body .p2-chip-name{font-size:14px;color:var(--jt);min-width:0;overflow-wrap:anywhere;white-space:normal}
body .p2-sel{display:block;overflow:visible}
body .p2-group{min-width:0;margin-bottom:16px}
body .p2-chip.p2-active{background:#F2F1FF;border-color:var(--jb)}
body .p2-footer{margin-top:20px;line-height:1.7}
body .p2-evidence{margin:16px 0;font-size:13px;color:var(--jm)}
body .p2-evidence>summary{padding:12px 0;min-height:44px;cursor:pointer;color:var(--jb)}
@media(max-width:980px){body .p2-row{flex-direction:column}body .p2-chartcol,body .p2-selcol{width:100%;flex:auto}body .p2-model-grid{grid-template-columns:1fr}body .p2-chartcard,body .p2-model-card,body .p2-group{padding:20px}body .p2-titular-big{font-size:32px}}
@media(max-width:768px){body .proy-col{grid-column:1}body .proy-main{padding-bottom:16px!important}}
body .exposure-row{display:flex;align-items:center;gap:14px;padding:20px 0;border-bottom:1px solid var(--jbd);color:var(--jt);list-style:none}
body .exposure-icon,body .banking-title-icon{display:inline-flex;flex-shrink:0;width:22px;height:22px;color:var(--jf)}
body .exposure-icon svg,body .banking-title-icon svg{width:100%;height:100%}
body .exposure-copy{flex:1;min-width:0}
body .exposure-copy strong{font-size:16px;font-weight:600}
body .exposure-copy p{margin:4px 0 0;font-size:14px;color:var(--jm);line-height:1.65}
body .exposure-state{padding:6px 10px;border-radius:8px;background:var(--jbg);font-size:12px;color:var(--jm);text-align:center}
body .exposure-tariffs{border:0;margin:0;padding:0}
/* Reference geometry, shared by every module rather than legacy page overrides. */
body .main .j-card,body .j-card{padding:16px!important}
body .main .j-card,body .j-card{border-width:.5px!important}
body .p2-chartcard,body .p2-model-card,body .p2-group{border-width:.5px}
body .financial-info>summary svg,body .j-info svg{width:18px;height:18px;flex-shrink:0}
body #analisisRoot .j-card>h3{font-weight:400!important}
body #analisisRoot .card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;width:calc(100% - 36px)}
body #analisisRoot .card-actions .j-info{padding-left:0;padding-right:0}
body #analisisRoot .card-actions .block-tlx-action{margin:0;min-height:44px;padding:8px;font-size:10px;font-weight:500;white-space:nowrap;border-radius:999px}
body .j-card>h3,body .main .j-card>h3,body .p2-model-card h3,body .p2-group-title,body .p2-chart-h{font-size:10.5px!important;font-weight:500!important;color:#8792A2!important;letter-spacing:.09em;margin-bottom:13px}
body .p2-chartcard,body .p2-model-card,body .p2-group{padding:16px;border-radius:12px}
body #p2Hz .p2-hz-btn,body .j-tlx-btn{border-radius:999px}
body :is(#jrCatSeg button,#p2Hz .p2-hz-btn,.j-tlx-btn,.btn-primary){transition:background-color .15s,color .15s,border-color .15s}
body :is(#jrCatSeg button,#p2Hz .p2-hz-btn,.j-tlx-btn,.btn-primary):focus-visible{outline:2px solid var(--jb);outline-offset:3px}
body :is(#jrCatSeg button,#p2Hz .p2-hz-btn,.j-tlx-btn,.btn-primary):disabled{opacity:.45;cursor:not-allowed}
body :is(#p2Hz .p2-hz-btn,.btn-primary):hover:not(:disabled){background:#5145CD;border-color:#5145CD;color:#fff}
body .j-tlx-btn:hover:not(:disabled){background:#EEEBFF;color:#5145CD}
@media(prefers-reduced-motion:reduce){body :is(#jrCatSeg button,#p2Hz .p2-hz-btn,.j-tlx-btn,.btn-primary){transition:none}}
body:has(#zonaScore) .btn-primary{background:var(--jb);border-color:var(--jb);color:#fff;border-radius:999px;min-height:44px;padding:8px 16px}
body #heroSecBody .casc-wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body #heroSecBody .casc-capa{min-width:0;margin:0}
body #heroSecBody .mos-grid{grid-template-columns:1fr}
body #heroSecBody .casc-capa-head{flex-wrap:wrap}
body #analisisGrid{display:flex!important;flex-direction:column}
body #analisisGrid>.an-row:has(#anTitular){order:-1}
body #anTitular{background:#fff;color:var(--jt);border:1px solid var(--jbd);border-radius:12px;padding:16px}
body #anTitular :is(.tit-kicker,.tit-meta){color:var(--jf)}
body #anTitular .tit-ident{color:var(--jt)}
body #anTitular :is(.tit-expl,.tit-scian,.tit-sep){color:var(--jm)}
body #anTitular .tit-scian{background:#EBF0F6}
/* Resumen: each artifact organism owns its surface and information control. */
body .summary-top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;grid-column:1/-1;align-items:stretch}
body .summary-top>#jrMatriz{grid-column:span 7}
body .summary-top>#jrComposCol{grid-column:span 5}
body #jrMatriz .mtx-2col{display:block}
body #jrMatriz .mtx-navy{background:transparent;box-shadow:none;border-radius:0;padding:0;display:flex;flex-wrap:nowrap;gap:20px;max-width:none;margin:0 0 13px;align-items:center}
body #jrMatriz .mtx-etq-big{font-family:Inter,system-ui,sans-serif;font-size:52px;font-weight:500;color:var(--jt);line-height:1;letter-spacing:0}
body #jrMatriz .mtx-ejes{flex:1;min-width:0;gap:11px}
body #jrMatriz .mtx-eje{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px}
body #jrMatriz .mtx-eje-lbl{grid-column:1;grid-row:1;font-size:12px;color:var(--jm);line-height:1.4}
body #jrMatriz .mtx-eje-bar{display:contents}
body #jrMatriz .mtx-eje-val{grid-column:2;grid-row:1;min-width:0;font-family:Inter,system-ui,sans-serif;font-size:13px;font-weight:500;color:var(--jt)}
body #jrMatriz .mtx-eje-track{grid-column:1/-1;grid-row:2;height:8px;border-radius:4px;background:#EBF0F6}
body #jrMatriz .mtx-eje-fill{border-radius:4px}
body #jrMatriz .mtx-eje-fill.sectorial{background:linear-gradient(90deg,#635BFF,#00D4FF)}
body #jrMatriz .mtx-eje-fill.financiera{background:linear-gradient(90deg,#00D4FF,#0ACF83)}
body #jrMatriz .mtx-eje-nd{grid-column:2;grid-row:1;color:#8792A2}
body #jrMatriz .mtx-navy.j-mtx-click:focus-visible{box-shadow:none;outline:2px solid var(--jb);outline-offset:4px;border-radius:4px}
@media(max-width:768px){
 body #jrMatriz .mtx-navy{gap:15px}
 body #jrMatriz .mtx-etq-big{font-size:40px}
 body #jrMatriz .mtx-eje-lbl{font-size:11.5px}
 body #jrMatriz .mtx-eje-val{font-size:12px}
 body #jrMatriz .mtx-ejes{gap:10px}
}
body #jrComposCol,body #jrDriversSection{min-width:0}
body .sector-comparison{display:flex;gap:20px;align-items:flex-end;margin-bottom:14px}
body .sector-comparison-item{display:flex;flex-direction:column;align-items:center;gap:0;font-size:10.5px;color:var(--jm)}
body .sector-comparison-item>span{margin-top:6px}
body .sector-comparison-item b{font-size:13px;font-weight:500;color:var(--jt);margin-top:1px}
body #jrMicro .sector-comparison-explanation{flex:1;min-width:0;font-size:12px;color:var(--jm);line-height:1.6}
body #jrMicro .sector-comparison-explanation b{font-size:inherit;line-height:inherit;font-weight:500}
@media(min-width:769px){body #jrMicro .sector-comparison-explanation{font-size:12.5px;line-height:1.7}}
body .sector-comparison-track{position:relative;width:32px;height:56px}
body .sector-comparison-bar{position:absolute;bottom:0;left:0;width:32px;border-radius:4px;background:linear-gradient(180deg,#635BFF,#00D4FF)}
body .sector-comparison-bar.national{background:#EBF0F6}
body .sector-comparison-track.signed{height:120px;border-bottom:0;background:linear-gradient(transparent calc(50% - .5px),#E3E8EE calc(50% - .5px),#E3E8EE calc(50% + .5px),transparent calc(50% + .5px))}
body .sector-comparison-track.signed .sector-comparison-bar{bottom:50%}
body .sector-comparison-track.signed .sector-comparison-bar.is-negative{bottom:auto;top:50%}
body #jrDriversSection{grid-column:1/-1}
body #jrDriversSection .drv-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body #jrDriversSection .drv-card{grid-template-columns:26px minmax(0,1fr);align-items:start;padding:12px;border:.5px solid var(--jbd);border-radius:9px;gap:9px 11px}
body #jrDriversSection .drv-rank{width:26px;height:26px;border-radius:7px;background:#EEEBFF;color:var(--jb);font:600 11px/1 Inter,system-ui,sans-serif}
body #jrDriversSection .drv-top{gap:5px;margin-bottom:3px}
body #jrDriversSection .drv-kind{font-size:10px;font-weight:600;letter-spacing:.07em;color:var(--jb);line-height:1.4}
body #jrDriversSection .drv-s{font-size:10px;color:#8792A2;line-height:normal;letter-spacing:.07em}
body #jrDriversSection .drv-t{font-family:Inter,system-ui,sans-serif;font-size:13.5px;font-weight:500;color:var(--jt);margin-bottom:4px}
body #jrDriversSection .drv-d{font-size:12px;line-height:1.6;color:var(--jm)}
body #jrDriversSection .drv-go{grid-column:2;justify-self:start;font-size:11.5px;font-weight:400;padding:5px 11px;border:1px solid var(--jb);color:var(--jb);border-radius:7px}
body:has(#jrMatriz) .j-card>h3{font-weight:400!important}
body #jrDriversSection .drv-sec-h{margin-top:0}
body:has(#jrMatriz) .pulse-2col{gap:14px!important;align-items:stretch}
body #jrIndic .pt-val b{font-weight:500}
body #jrComposCol .comp-li .cl-name{font-weight:400;color:var(--jm);line-height:normal}
body #jrComposCol .comp-li .cl-pct{font-weight:500;color:var(--jn);font-size:14px;font-family:inherit;line-height:normal}
body #jrComposCol .comp-donut,body #jrComposCol .comp-donut svg{width:104px;height:104px}
body #jrComposCol .comp-wrap{gap:18px;flex-wrap:nowrap}
body #jrComposCol .comp-legend{flex:1;min-width:0}
body #jrComposCol .comp-li{gap:8px;align-items:center}
body #jrComposCol .comp-dot{margin-top:0}
/* Projection cards use the reference's compact rows and scenario markers. */
body .p2-model-row{font-size:13px;padding:10px 0;align-items:center;border-bottom-width:.5px;color:var(--jm)}
body .p2-model-row:last-of-type{border-bottom:0}
body .p2-model-row strong{font-size:14px;font-weight:500;color:var(--jt)}
body .p2-scenario-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:8px;flex-shrink:0}
body .p2-scenario-hi{background:#0A9E63}body .p2-scenario-mid{background:#635BFF}body .p2-scenario-lo{background:#DB4A4F}
body #p2Model .p2-model-row>span{display:flex;align-items:center}
body #p2Model .p2-model-row strong{font-size:14px}
body .p2-chip-name{font-size:13px;font-weight:500}
body .p2-chip{border-radius:0;border:0;border-bottom:.5px solid var(--jbd);padding:11px 0;min-height:44px;text-align:left}
body .p2-chip:last-child{border-bottom:0;padding-bottom:0}
body .p2-chip.p2-active{background:#fff;border-bottom-color:var(--jb);box-shadow:inset 3px 0 var(--jb);padding-left:10px}
body .p2-chip-unit,body .p2-chip-reason,body .p2-chip-find{font-size:11px;color:var(--jf)}
body .p2-titular .p2-model-note{font-size:11px;margin:8px 0}
body .p2-model-card h3,body .p2-group-title{font-weight:400!important}
body #jrIndic{padding-bottom:16px!important}
body #jrIndic>.j-foot{position:static;min-height:0;margin-top:12px}
body:has(#jrMatriz) .main{padding-left:22px!important;padding-right:22px!important}
@media(max-width:768px){
 body .summary-top{grid-template-columns:1fr;gap:11px}
 body .summary-top>:is(#jrMatriz,#jrComposCol){grid-column:auto}
 body #jrDriversSection .drv-list{grid-template-columns:1fr;gap:9px}
 body:has(#jrMatriz) .pulse-2col{gap:11px!important}
 body #jrComposCol .comp-donut,body #jrComposCol .comp-donut svg{width:94px;height:94px}
 body:has(#jrMatriz) .main{padding-left:11px!important;padding-right:11px!important}
 body #jrIndic{padding-bottom:15px!important}
}
body .p2-chip-spark{display:block;float:right;width:52px;height:24px;margin:6px 0 0 10px}
body .p2-chip-spark svg{width:100%;height:100%}
/* Projection artifact layout: chart + scenarios, then the three priorities. */
body .p2-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
body .p2-row>.p2-chartcol{grid-column:span 8}
body .p2-row>.p2-selcol{grid-column:span 4}
body .p2-sel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body .p2-sel .p2-group{margin:0}
body .p2-titular{padding:0 0 18px}
body .p2-variable-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
body #p2Variable{border:0;border-radius:0;font-size:15px;text-align:center;text-transform:uppercase;padding:4px 24px 4px 8px;max-width:100%;background:transparent}
body .p2-titular>.p2-model-note{display:none}
body .p2-observed-label{margin:8px 0 0;font-size:11px}
body .p2-chart-head{display:none}
body .p2-chip{display:grid;grid-template-columns:minmax(0,1fr) 52px;column-gap:10px;align-items:center}
body .p2-chip-top{display:block;grid-column:1;grid-row:1}
body .p2-chip-unit{display:block;margin-top:4px;white-space:normal}
body .p2-chip-unit.p2-unit-context{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%)}
body .p2-chip-description{display:block;font-size:11px;line-height:1.5;color:var(--jf);margin-top:2px}
body .p2-group-title svg{vertical-align:-2px;margin-right:4px}
body .p2-model-card h3 svg{vertical-align:-2px;margin-right:4px}
body .p2-titular-label{display:block;color:var(--jf);font-size:11px;line-height:1.5;margin:0 0 18px}
body .p2-hz-note{display:none}
body .p2-chip.p2-active{box-shadow:none;padding-left:0;border-bottom-color:var(--jbd)}
body .p2-chip.p2-hero .p2-chip-name{color:var(--jt)}
body .p2-meaning{border-left:2px solid var(--jb);border-radius:0 8px 8px 0;background:#F7FAFC;padding:11px 13px;margin-top:12px}
body .p2-meaning h4{margin:0 0 5px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--jb)}
body .p2-meaning p{margin:0;font-size:12px;line-height:1.7;color:var(--jm)}
@media(max-width:980px){body .p2-titular-big{font-size:36px}}
body .p2-chip-find,body .p2-chip-reason{grid-column:1;grid-row:2}
body .p2-chip-spark{float:none;grid-column:2;grid-row:1 / span 2;margin:0;width:52px}
body .p2-chip.p2-has-change{grid-template-columns:minmax(0,1fr) 52px 54px;gap:8px}
body .p2-has-change .p2-chip-top{grid-row:1 / span 2}
body .p2-has-change .p2-chip-spark{width:52px;grid-row:1 / span 2}
body .p2-has-change .p2-chip-find{grid-column:3;grid-row:1;text-align:right;font-size:14px;font-weight:500;align-self:end}
body .p2-chip-coverage{grid-column:3;grid-row:2;justify-self:end;border:1px solid var(--jbd);border-radius:20px;font-size:9.5px;color:var(--jf);padding:2px 7px;white-space:nowrap}
body .p2-chip-period{grid-column:3;grid-row:2;font-size:9px;color:var(--jf);text-align:right;align-self:start}
@media(max-width:768px){
 body #anExposicion .exposure-row{display:grid;grid-template-columns:15px minmax(0,1fr) auto;gap:6px;padding:10px 0;flex-wrap:nowrap}
 body #anExposicion .exposure-icon{width:15px;height:15px;align-self:start;margin-top:2px}
 body #anExposicion .exposure-copy strong{font-size:13px;font-weight:400}
 body #anExposicion .exposure-copy p{font-size:10.5px;line-height:1.5;margin:1px 0 0}
 body #anExposicion .exposure-state{margin-left:0;padding:5px 8px;border-radius:6px;font-size:11.5px;white-space:nowrap}
 body #anEstatal #anEstatalRank{border:0!important;border-radius:0!important;padding:0!important;margin-top:12px;box-shadow:none}
 body #anEstatal #anEstatalRank>h3,body #anEstatal #anEstatalRank>.j-foot{display:none}
 body #estatalSummary .mos-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 body #estatalSummary .mos{padding:12px}
 body #estatalSummary .mos-val{font-size:14px!important}
 body #anTuSector .mos-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 body #anTuSector .tray-canvas{height:auto;aspect-ratio:300 / 120}
 body #anTuSector .mos-lbl{font-size:10px;letter-spacing:.06em;margin-bottom:3px}
 body #anTuSector .mos-val{font-size:16px;font-weight:500}
 body #anTuSector .mos-meta{font-size:11px;margin-top:1px}
}
@media(max-width:980px){body .p2-sel{grid-template-columns:1fr;gap:11px}body .p2-row{grid-template-columns:1fr;gap:11px}body .p2-row>:is(.p2-chartcol,.p2-selcol){grid-column:auto}}
@media(max-width:768px){
 body .j-card,body .main .j-card{padding:15px!important}
 body .j-card:has(>.j-foot),body .main .j-card:has(>.j-foot),body .j-card:has(>.financial-info){padding-bottom:76px!important}
 body .p2-chartcard,body .p2-model-card,body .p2-group{padding:15px}
 body #heroSecBody .casc-wrap{grid-template-columns:1fr}
 body .proy-col>.view-tlx-toolbar{margin-top:54px}
 body .proy-main{padding-top:76px!important}
}
body .exposure-tariffs summary{cursor:pointer;min-height:44px}
body .exposure-tariffs summary::-webkit-details-marker{display:none}
body .exposure-tariffs[open] .exposure-state{background:#EEEBFF;color:var(--jb)}
body .exposure-tariffs #arancelBody{padding-top:20px}
body .banking-panel>h2{display:flex;align-items:center;justify-content:center;gap:6px;font-size:10.5px;font-weight:400;line-height:1.5;color:var(--jf);letter-spacing:.09em}
/* Native financial components from the approved desktop/mobile artifacts. */
body #zonaScore .j-card>h3,body #zonaCaptura .j-card>h3{font-weight:400!important}
.financial-viz{margin:0 0 12px}
.financial-sales{display:block;width:100%;height:auto;max-height:150px}
.financial-sales text{font:10px Inter,system-ui,sans-serif;fill:#8792A2}
.financial-track{height:8px;background:#EBF0F6;border-radius:4px;overflow:hidden}
.financial-track i{display:block;height:100%;border-radius:4px}
.financial-margin{display:grid;grid-template-columns:74px minmax(0,1fr) 48px;gap:10px;align-items:center;margin-bottom:9px;font-size:12.5px;color:#425466}
.financial-margin:last-child{margin-bottom:0}
.financial-margin b{text-align:right;font-size:14px;font-weight:500;color:#0A2540}
.financial-feature{display:flex;justify-content:space-between;align-items:baseline;gap:10px;color:#425466;font-size:13px;margin-bottom:8px}
.financial-feature>b{font-size:20px;font-weight:500;color:#0A2540}
.financial-volatility-value{margin-bottom:10px}
.financial-volatility-value>b{font-size:28px}
.financial-rating{font-size:11.5px;background:#FDF6E7;color:#E08A2E;border-radius:6px;padding:5px 11px}
.financial-scale{position:relative;height:8px;border-radius:4px;margin:0 0 6px;background:#EBF0F6}
.financial-scale i{position:absolute;height:14px;width:2px;background:#0A2540;top:-3px}
.financial-band{position:absolute;top:0;bottom:0;background:#E08A2E;border-radius:4px;opacity:.85}
.financial-leverage{height:9px;border-radius:5px;background:linear-gradient(90deg,rgba(10,158,99,.55) 0 40%,rgba(224,138,46,.55) 40% 70%,rgba(219,74,79,.55) 70%)}
.financial-leverage i{height:17px;top:-4px}
.financial-scale-labels{display:flex;justify-content:space-between;font-size:9.5px;color:#8792A2;margin-top:6px}
.financial-cash p{margin:0 0 5px;font-size:11px;color:#425466}
.financial-cash .financial-track{height:11px;border-radius:5px;margin-bottom:9px}
.financial-cash-segments{display:flex}
.financial-cash-segments i{border-radius:0}
.financial-cash .financial-cash-cycle{color:#0A2540;font-weight:500}
body #zonaScore .j-card:has(.financial-cash) .j-ind:last-of-type b{color:#E08A2E}
body .expediente-overview{display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;line-height:normal}
body .expediente-overview>h3{font-family:inherit;line-height:normal;margin:0 0 13px}
body .expediente-overview .expediente-body{display:flex;flex-direction:column;align-items:stretch}
body .expediente-overview .expediente-summary b{font-size:17px;font-weight:500;color:#0A2540;margin:0 0 3px}
body .expediente-overview .expediente-summary span{font-size:11.5px;color:#8792A2;margin:0}
body .expediente-overview .yr-list{display:flex;flex-direction:column;gap:8px;margin:13px 0}
body .expediente-overview .yr-pill{display:flex;align-items:center;gap:9px;width:100%;box-sizing:border-box;padding:7px 13px;border:.5px solid var(--jbd);border-radius:20px;background:transparent;color:#425466;font-size:13px;font-weight:400;min-height:0;box-shadow:none}
body .expediente-overview .yr-pill.active{background:#EEEBFF;border-color:var(--jb);color:var(--jb);font-weight:500}
body .expediente-overview .yr-pill>span{margin-right:auto}
body .expediente-overview .yr-pill button{position:relative;display:block;flex:0 0 15px;width:15px;height:15px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:11px}
body .expediente-overview .yr-pill button::before{content:'';position:absolute;width:24px;height:24px;left:50%;top:50%;transform:translate(-50%,-50%)}
body .expediente-overview .yr-pill button:hover{background:transparent;color:var(--jb)}
body .expediente-overview .yr-pill button svg{width:15px;height:15px;display:block}
body .expediente-overview .expediente-guidance{margin:11px 0 0;font-size:10.5px;color:#8792A2;line-height:1.6}
body .expediente-overview #btnToggleCapture{width:100%;min-height:0;border:0;border-radius:9px;padding:11px;font-family:inherit;font-size:13px;font-weight:400;line-height:normal}
@media(max-width:900px){body .expediente-overview>h3{margin-bottom:12px}}
@media(min-width:769px){
 .financial-margin{grid-template-columns:78px minmax(0,1fr) 50px}
 .financial-volatility-value{margin-bottom:12px}
 .financial-volatility-value>b{font-size:30px}
 .financial-volatility{margin-bottom:8px}
 .financial-cash .financial-track{margin-bottom:10px}
}
body .expediente-overview>h3 svg{width:16px;height:16px;stroke-width:2}
@media(min-width:901px){
 body .expediente-overview .expediente-body{flex-direction:row;align-items:center;gap:24px;flex-wrap:wrap}
 body .expediente-overview .expediente-summary{flex:1;min-width:230px}
 body .expediente-overview .expediente-summary b{font-size:18px;font-weight:500;color:#0A2540}
 body .expediente-overview .expediente-summary span{font-size:11.5px;color:#8792A2}
 body .expediente-overview .yr-list{flex-direction:row;flex-wrap:wrap;gap:10px;margin:0}
 body .expediente-overview .yr-pill{width:auto}
 body .expediente-overview #btnToggleCapture{width:auto;padding:11px 20px;white-space:nowrap}
 body .expediente-overview .expediente-guidance{margin-top:13px;padding-top:10px}
}
body #jrCatSel .cat-select-box{flex:0 1 auto;width:190px;position:relative}
body #jrCatSel .cat-select{width:100%}
body #jrMatriz .mtx-micro-nombre{font-size:16px;font-weight:500;color:var(--jt);margin:0 0 2px;line-height:1.4}
body #jrMatriz .mtx-expl{font-size:12.5px;line-height:1.7;color:var(--jm)}
body .p2-group-title svg,body .p2-model-card h3 svg{width:16px;height:16px}
body #jrDriversSection .drv-sec-h .jcard-ic{width:16px;height:16px}
body #heroSecBody .casc-capa{border:1px solid;border-radius:11px;padding:14px}
body #heroSecBody .sector-grade-track{display:flex;width:100%;max-width:none;height:9px;background:#EBF0F6;overflow:hidden;margin:0 0 8px;border-radius:5px}
body #heroSecBody .sector-grade-track i{height:100%;display:block}
body #heroSecBody .sector-grade-legend{display:flex;flex-wrap:wrap;gap:14px;margin:0 0 15px;font-size:10.5px;color:var(--jm)}
body #heroSecBody .sector-grade-legend span{display:inline-flex;align-items:center;gap:5px}
body #heroSecBody .sector-grade-legend i,body #heroSecBody .casc-capa-nm i{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}
body #heroSecBody .casc-capa-nm{display:inline-flex;align-items:center;gap:6px}
body #heroSecBody .casc-micro{background:rgba(99,91,255,.055);border-color:rgba(99,91,255,.22)}
body #heroSecBody .casc-regional{background:rgba(255,159,90,.075);border-color:rgba(255,159,90,.32)}
body #heroSecBody .casc-macro{background:rgba(10,207,131,.065);border-color:rgba(10,207,131,.28)}
body #heroSecBody .casc-capa-head{align-items:center;gap:8px;margin-bottom:7px}
body #heroSecBody .casc-capa-nm{font-size:14px;font-weight:500;color:var(--jt)}
body #heroSecBody .casc-capa-peso{order:3;flex-basis:100%;font-size:11px;color:var(--jf)}
body #heroSecBody .casc-net{font-size:9.5px;font-weight:600;padding:3px 8px}
body #heroSecBody .casc-lectura{font-size:12px;line-height:1.6;color:var(--jm)}
body #heroSecBody .mos{background:#fff;border:.5px solid var(--jbd);border-radius:8px;padding:10px 11px}
body #heroSecBody .mos-lbl{font-size:10px;font-weight:400;color:var(--jf);letter-spacing:.07em}
body #heroSecBody .mos-lbl{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
body #heroSecBody .casc-delta{font-size:12px;font-weight:500;letter-spacing:normal;text-transform:none;white-space:nowrap}
body #heroSecBody .casc-mov{font-size:14px;font-weight:500;color:var(--jt);margin:3px 0 0}
body #heroSecBody .casc-bar{margin:7px 0 6px;background:#EBF0F6}
body #estatalBody .mapx-stage{height:auto;grid-template-columns:minmax(0,1fr);overflow:visible}
body #estatalBody .mapx-drill{display:none}
body #estatalBody .mapx-stage.drilled .mapx-drill{display:flex;min-height:160px}
body #estatalBody .mapx-wrap{flex:none}
body #estatalBody .mapx-cartogram{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin-bottom:12px}
body #estatalBody .mapx-cartogram button{appearance:none;min-width:0;min-height:0;aspect-ratio:1;padding:0;border:0;border-radius:3px;cursor:pointer}
body #estatalBody .mapx-cartogram button:is(.mapx-prio,.mapx-focus){box-shadow:0 0 0 2px var(--jb)}
body #estatalBody .mapx-cartogram button:focus-visible{outline:2px solid var(--jt);outline-offset:2px}
@media(max-width:768px){body #estatalBody .mapx-cartogram{gap:3px;margin-bottom:11px}}
body #heroSecBody .casc-net.fav{color:#0A9E63;background:rgba(10,158,99,.14)}
body #heroSecBody .casc-net.con{color:#DB4A4F;background:rgba(219,74,79,.14)}
body #zonaScore .j-ind{font-size:12.5px;padding:10px 0;border-bottom-width:.5px}
body #zonaScore .j-ind b{font-weight:500}
body #zonaScore .j-expl{font-size:12px;line-height:1.7}
body .proy-col>.view-tlx-toolbar{position:static;right:auto;bottom:auto;margin:16px 22px 22px!important}
@media(max-width:768px){
 body #heroSecBody .casc-capa{padding:13px}
 body #jrComposCol .comp-wrap{flex-direction:row;flex-wrap:nowrap;gap:16px;align-items:center}
 body #jrComposCol .comp-donut,body #jrComposCol .comp-donut svg{width:94px;height:94px}
 body #jrComposCol .comp-legend{flex:1;width:auto;min-width:0;gap:9px}
 body #jrComposCol .comp-center{display:none}
 body #jrComposCol .comp-li{gap:7px}
 body #jrComposCol .cl-name{font-size:12.5px}
 body #jrComposCol .cl-pct{font-size:14px}
 body .proy-col>.view-tlx-toolbar{margin:16px 16px 90px!important}
}
@media(max-width:480px){body .exposure-row{gap:10px;flex-wrap:wrap}body .exposure-copy{flex-basis:calc(100% - 32px)}body .exposure-state{margin-left:32px}}
/* Mi Negocio: dimensions read from Tadeo's desktop/mobile components. */
body:has(#zonaScore){--business-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;--jrojo:#DB4A4F;--jverde:#0A9E63;font-family:var(--business-font)}
body:has(#zonaScore) .main{padding-left:22px!important;padding-right:22px!important}
body #zonaScore .j-grid{gap:14px}
body #zonaScore .j-card{display:flex;flex-direction:column;font-family:var(--business-font);line-height:normal;padding:16px!important}
body #zonaScore .j-card :is(h3,b,strong),body #zonaScore .financial-sales text{font-family:var(--business-font)}
body #zonaScore .j-card>h3,body .main .expediente-overview>h3{line-height:normal}
body #zonaScore .j-card>h3 svg{width:16px;height:16px;stroke-width:2}
body #zonaScore .j-ind b{font-size:14px;font-weight:500}
body #zonaScore .j-ind{font-size:13px}
body #zonaScore .j-ind:has(+.financial-info){border-bottom:0;padding-bottom:0}
body #zonaScore .financial-sales{display:flex;align-items:flex-end;justify-content:space-around;gap:12px;height:100px;max-height:100px;margin:0;font-family:var(--business-font)}
body #zonaScore .financial-sales-column{flex:1;min-width:0;text-align:center}
body #zonaScore .financial-sales-column p{font-size:11px;color:#425466;margin:0 0 5px;line-height:normal}
body #zonaScore .financial-sales-column p:last-child{color:#8792A2;margin:6px 0 0}
body #zonaScore .financial-sales-column.latest p{color:#0A2540;font-weight:500}
body #zonaScore .financial-sales-bar{height:calc(64px * var(--sales-level));border-radius:4px}
body #zonaScore .financial-margin .financial-track i{border-radius:0}
body #zonaScore .financial-viz:has(.financial-margin){margin-bottom:0}
body #zonaScore .financial-viz:has(.financial-leverage){margin-bottom:14px}
body #zonaScore .financial-cash .financial-track{margin-bottom:9px}
body #zonaScore .financial-cash>.financial-track:last-child{margin-bottom:0}
body #zonaScore .financial-viz:has(.financial-cash){margin-bottom:14px}
body #zonaScore .financial-cash .financial-cash-cycle{font-weight:500}
body #zonaScore .j-card>.financial-info{position:absolute;left:auto;right:2px;top:2px;bottom:auto;margin:0;padding:0;min-height:44px}
body #zonaScore .financial-info>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;min-height:44px;padding:0!important;border-radius:4px;color:#7560A5}
body #zonaScore .financial-info>summary:focus-visible{outline:2px solid #7560A5;outline-offset:-4px}
body #zonaScore .financial-info>summary::after{content:none}
body #zonaScore .financial-info>.financial-info-text{display:none}
body #zonaScore .j-card:has(.financial-volatility) .financial-viz{margin-bottom:0}
body #zonaScore .j-card:has(.financial-volatility) .j-expl{margin:0;font-size:12.5px;line-height:1.7}
body #zonaScore .financial-label-mobile{display:none}
body #zonaScore .financial-info>summary{padding-left:0;padding-right:0;font-family:var(--business-font)}
/* Reference typography and gutters, scoped to the three audited modules. */
body:is(:has(#jrMatriz),:has(#analisisRoot),:has(#p2Variable)){font-family:var(--artifact-font)}
body:is(:has(#jrMatriz),:has(#analisisRoot),:has(#p2Variable)) :is(h1,h2,h3,button,select,.p2-group-title,.p2-titular-big,.j-card b,.j-card strong,.mtx-etq-big,.mtx-eje-val,.drv-t){font-family:var(--artifact-font)}
body:is(:has(#jrMatriz),:has(#analisisRoot),:has(#p2Variable)) :is(.j-card>h3,.p2-model-card h3,.p2-group-title){display:flex;align-items:center;justify-content:center;gap:6px;line-height:normal}
body:is(:has(#jrMatriz),:has(#analisisRoot),:has(#p2Variable)) :is(h3,.p2-group-title) .jcard-ic{display:inline-flex;width:16px;height:16px;align-items:center;justify-content:center;flex-shrink:0}
body:is(:has(#jrMatriz),:has(#analisisRoot),:has(#p2Variable)) :is(h3,.p2-group-title) svg{width:16px;height:16px;flex-shrink:0;vertical-align:baseline;margin-right:0}
body:has(#jrMatriz) .j-card>h3 :is(.jcard-ic,svg),body #analisisRoot .j-card h3 :is(.jcard-ic,svg){color:#8792A2}
body #analisisRoot .j-card h3,body #p2Sel .p2-group-title{letter-spacing:.09em}
/* Source HTML surfaces; reserve footer height in flow, not extra card padding. */
body #analisisRoot .j-card,body #p2ModelMethod .p2-model-card{display:flex;flex-direction:column;padding-bottom:16px!important}
body #analisisRoot .j-card>.j-foot,body #p2ModelMethod .p2-model-card>.financial-info{position:static;min-height:44px;margin-top:auto;padding-top:8px}
body #analisisRoot .card-actions{width:100%}
body:is(:has(#analisisRoot),:has(#p2Variable)) :is(.main,.proy-main){padding-left:22px!important;padding-right:22px!important}
body:has(#jrMatriz) .j-card:has(>.j-foot){display:flex;flex-direction:column;padding-bottom:16px!important}
body:has(#jrMatriz) .j-card>.j-foot{position:static;min-height:44px;padding-top:8px;margin-top:auto}
body .an-comparison-row,body .an-state-row{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}
body :is(.an-comparison-row,.an-state-row)>.j-card{grid-column:auto;min-width:0;width:auto}
body .an-comparison-row>#anExposicion{grid-column:span 4}
body .an-comparison-row>#anTuSector{grid-column:span 8}
body .an-state-row>#anEstatal{grid-column:span 5}
body .an-state-row>#anEstatalRank{grid-column:span 7}
body #anEstatal .an-est-inner{display:block}
@media(max-width:768px){
 body #analisisRoot .j-card,body #p2ModelMethod .p2-model-card{padding-bottom:15px!important}
 body:is(:has(#analisisRoot),:has(#p2Variable)) :is(.main,.proy-main){padding-left:11px!important;padding-right:11px!important}
 body:has(#jrMatriz) .j-card:has(>.j-foot){padding-bottom:15px!important}
 body :is(.an-comparison-row,.an-state-row){grid-template-columns:1fr;gap:11px}
 body :is(.an-comparison-row,.an-state-row)>:is(#anExposicion,#anTuSector,#anEstatal,#anEstatalRank){grid-column:auto}
 body:is(:has(#jrMatriz),:has(#analisisRoot),:has(#p2Variable)) :is(.j-card>h3,.p2-model-card h3,.p2-group-title){margin-bottom:12px}
 body:has(#jrMatriz) #jrIndic>h3{margin-bottom:10px}
}
body #zonaScore .financial-feature:not(.financial-volatility-value)>b{font-size:21px}
body #zonaScore .j-dim{gap:10px;font-size:12.5px;margin:0 0 9px}
body #zonaScore .j-dim>span{width:110px;flex-shrink:0}
body #zonaScore .j-dim>b{width:18px;font-size:14px;font-weight:500}
body #zonaScore .j-dim:has(+.financial-score-scale){margin-bottom:4px}
body #zonaScore .j-bar{height:8px;background:#EBF0F6;border-radius:4px}
body #zonaScore .j-bar i{border-radius:0;background:#0A9E63}
body #zonaScore .j-bar i.m{background:#E08A2E}
body #zonaScore .j-bar i.l{background:#DB4A4F}
body #zonaScore .financial-score-scale{display:flex;justify-content:space-between;padding-left:120px;font-size:9.5px;color:#8792A2;margin-bottom:14px}
body #zonaScore .financial-score-scale>span:last-child{margin-right:26px}
body #zonaScore .financial-score-result{border-top:.5px solid #E3E8EE;padding-top:13px;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#425466}
body #zonaScore .financial-score-result>b{font-size:22px;font-weight:500;color:#0A2540}
body #zonaScore .financial-score-result small{font-size:13px;font-weight:400;color:#8792A2}
body #zonaScore .business-sector-path{font-size:11.5px;color:#8792A2;margin:0 0 2px}
body #zonaScore .business-microsector{font-size:17px;font-weight:500;margin:0 0 14px;color:#0A2540}
body #zonaScore .business-matrix-card .j-expl{font-size:12.5px;line-height:1.7;margin:0 0 9px}
body #zonaScore .business-matrix-card .j-expl b{font-weight:500;color:#0A2540}
body #zonaScore .business-confidence{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;font-size:11.5px;border-radius:6px;padding:5px 11px;background:#FDF6E7;color:#E08A2E;margin:2px 0 0}
body #zonaScore .business-matrix-card .j-expl:has(+.business-confidence){margin-bottom:12px}
body #zonaScore .business-confidence{margin-top:0}
body #zonaScore .business-confidence.alta{background:#E5F8F0;color:#0A9E63}
body #zonaScore .business-confidence.baja{background:#FDECEE;color:#DB4A4F}
body #zonaScore .business-confidence svg{width:12px;height:12px;flex-shrink:0}
body #zonaScore .business-matrix-pair{display:flex;gap:12px;margin-bottom:16px}
body #zonaScore .business-matrix-pair>div{flex:1;min-width:0;border:.5px solid #E3E8EE;border-radius:10px;padding:15px;text-align:center}
body #zonaScore .business-matrix-pair>div:last-child{border-color:#635BFF;background:#EEEBFF;color:#635BFF}
body #zonaScore .business-matrix-pair b{display:block;font-size:38px;font-weight:500;line-height:1}
body #zonaScore .business-matrix-pair span{display:block;font-size:10px;letter-spacing:.07em;margin-top:6px}
body #zonaScore .business-matrix-pair span{color:#8792A2;line-height:normal}
body #zonaScore .business-matrix-pair>div:last-child span{color:#635BFF}
body #zonaScore .business-matrix-pair small{display:block;font-size:10.5px;color:#8792A2;margin-top:2px}
body #zonaScore .business-matrix-pair small{line-height:normal}
body #zonaScore .business-matrix-pair>div:last-child small{color:#425466}
body #zonaScore .business-contribution{font-weight:500}
body #zonaScore .business-contribution.up{color:#0A9E63}
body #zonaScore .business-contribution.down{color:#DB4A4F}
@media(max-width:768px){
 body:has(#zonaScore) .main{padding-left:11px!important;padding-right:11px!important}
 body #zonaScore .j-grid{gap:14px!important}
 body #zonaScore .j-card{padding:15px!important}
 body #zonaScore .financial-label-mobile{display:inline}
 body #zonaScore .financial-label-desktop{display:none}
 body #zonaScore .j-card>h3{margin-bottom:12px}
 body .main .expediente-overview>h3{margin-bottom:12px}
 body #zonaScore .j-card>.financial-info{top:1px;right:1px}
 body #zonaScore .j-dim>span{width:92px}
 body #zonaScore .j-dim>b{width:16px}
 body #zonaScore .financial-score-scale{padding-left:102px}
 body #zonaScore .financial-score-scale>span:last-child{margin-right:24px}
 body #zonaScore .financial-score-result{padding-top:12px}
 body #zonaScore .financial-score-result>b{font-size:20px}
 body #zonaScore .financial-sales{height:96px;max-height:96px}
 body #zonaScore .financial-viz:has(.financial-sales){margin-bottom:10px}
 body #zonaScore .financial-sales-bar{height:calc(62px * var(--sales-level))}
 body #zonaScore .financial-sales-column p:last-child{margin-top:5px}
 body #zonaScore .business-matrix-pair{gap:10px;margin-bottom:15px}
 body #zonaScore .business-matrix-card .j-expl:has(+.business-confidence){margin-bottom:11px}
 body #zonaScore .business-matrix-pair>div{padding:13px}
 body #zonaScore .business-matrix-pair b{font-size:34px}
 body #zonaScore .business-matrix-pair span{margin-top:5px}
 body #zonaScore .financial-feature:not(.financial-volatility-value)>b{font-size:20px}
}
@media(min-width:901px){
 body #zonaScore .financial-cash>.financial-track:not(:last-child){margin-bottom:10px}
 body #zonaScore .j-card:has(.financial-leverage) .financial-feature{margin-bottom:9px}
 body #zonaScore .j-grid{grid-template-columns:repeat(12,minmax(0,1fr))}
 body #zonaScore .j-card{grid-column:span 4}
 body #zonaScore .business-matrix-card{grid-column:span 5}
 body #zonaScore .business-score-card{grid-column:span 7}
 body #zonaScore .business-confidence{align-self:stretch}
 body #zonaScore .business-sector-path,body #zonaScore .business-microsector{display:none}
}
/* Tadeo, Oct 7: these explicit revisions supersede the static HTML examples. */
body #jrMicro .j-ind b.j-up{color:#0A9E63}
body #jrMicro .j-ind b.j-dn{color:#DB4A4F}
body #jrMicro .j-ind b.j-neutral{color:#8792A2}
body .view-tlx-cta{position:fixed;right:22px;bottom:22px;z-index:1200;display:flex;align-items:center;gap:7px;padding:7px 12px 7px 7px;min-height:44px;border-radius:999px;background:#0A2540;color:#fff}
body .view-tlx-cta b{font-size:12px;font-weight:500}
body .view-tlx-mark{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#0A2540;padding:0;font-size:10px}
body .proy-col>.view-tlx-toolbar{position:static;margin:0!important}
body .view-tlx-toolbar{height:0;margin:0}
body .p2-compare{justify-content:center;margin:12px 0 0;font-size:12px;min-height:36px}
body .rail-category-toggle{width:calc(100% - 16px);border:0;background:none;padding:8px 0;text-align:left;cursor:pointer}
body .rail-category-toggle .rail-chevron{margin-left:auto;color:#8792A2;width:14px;height:14px;transition:transform .15s}
body .rail-category-toggle[aria-expanded=false] .rail-chevron{transform:rotate(-90deg)}
body .rail-conv-items[hidden]{display:none}
body #anTitular{background:#fff;border:.5px solid #E3E8EE;color:#425466}
body #anTitular .tit-kicker,body #anTitular .tit-scian{color:#8792A2}
body #anTitular .tit-b{color:#0A2540}
body .matrix-grade{font-size:52px;font-weight:500;line-height:1;margin:12px 0}
body #zonaScore .business-matrix-pair>.business-number-grade:last-child{background:#fff;border:.5px solid #E3E8EE;color:#425466}
body #zonaScore .business-number-grade b{font-size:52px}
body #zonaScore .business-matrix-pair>.business-number-grade:last-child span{color:#8792A2}
body .mapx-geographic{display:block;width:100%;height:auto;aspect-ratio:620/380;overflow:visible}
body .mapx-geographic .mapx-st{stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke;cursor:pointer;outline:none}
body .mapx-geographic .mapx-st:is(:hover,:focus-visible,.mapx-focus,.mapx-prio){stroke:#635BFF;stroke-width:2}
body #anExposicion .exposure-row{display:grid;grid-template-columns:15px minmax(0,1fr) auto;align-items:center;gap:1px 4px;padding:10px 0;min-height:0;font-size:13px;color:#425466;line-height:normal}
body #anExposicion .exposure-icon{width:15px;height:15px}
body #anExposicion .exposure-copy{display:contents}
body #anExposicion .exposure-icon{grid-column:1;grid-row:1;margin:0;align-self:center}
body #anExposicion .exposure-copy strong{grid-column:2;grid-row:1;display:block;font-size:13px;font-weight:400;color:#425466;line-height:normal}
body #anExposicion .exposure-copy p{grid-column:1 / 3;grid-row:2;font-size:10.5px;line-height:normal;margin:0;color:#8792A2}
body #anExposicion .exposure-state{grid-column:3;grid-row:1 / 3;font-size:11.5px;padding:5px 11px;border-radius:6px;background:#EBF0F6;margin:0;line-height:normal}
body #anExposicion .exposure-tariffs{margin:0;padding:0;border:0}
body #analisisRoot .mos{padding:12px;border:.5px solid #E3E8EE;border-radius:9px}
body #analisisRoot .mos-lbl{font-weight:400;color:#8792A2;font-size:10px;letter-spacing:.06em;margin-bottom:3px}
body #analisisRoot .mos-val{font-size:17px;font-weight:500}
body #analisisRoot .mos-meta{font-size:11px;color:#8792A2;padding-top:0}
body #trayBody :is(.mos-lbl,.mos-val,.mos-meta){line-height:normal}
body #trayBody .mos-val{margin-top:0}
body #trayBody .mos-meta{margin-top:1px}
body #jrNoticias :is(.noti-tema,.noti-meta){line-height:normal}
body #jrNoticias :is(.noti-source,.noti-ask){line-height:normal}
/* Keep the visible footer compact; its touch target must not stretch the card. */
body #jrNoticias .noti-ask{position:relative;min-height:0}
body #jrNoticias .noti-ask::before{content:'';position:absolute;inset:-13px 0;min-height:44px}
/* Internal artifact typography: preserve explicit narrative leading, normalize labels. */
body #jrMatriz :is(.mtx-eje-lbl,.mtx-micro-nombre),
body :is(.pulse-period button,.pulse-period s,.sig-filter,.noti-chip),
body #jrMicro .sector-comparison-item,
body #jrDriversSection :is(.drv-kind,.drv-t),
body .p2-meaning h4,body .p2-model-row,
body #analisisRoot :is(.mos-lbl,.sector-rank-label,.sector-rank-value){line-height:normal}
body #jrCatSel .cat-select-lbl{font-size:10.5px;line-height:normal}
body #jrCatSeg button{line-height:normal}
body #jrMatriz .mtx-micro-nombre{font-family:var(--artifact-font)}
body #jrDriversSection .drv-go{line-height:normal}
body #analisisRoot .estr-lectura{background:transparent;border:0;border-radius:0;padding:0;color:#425466;line-height:1.7;margin:0 0 12px}
body #analisisRoot .estr-lectura :is(.con,.fav){font-weight:500}
body #analisisRoot .estr-lectura .con{color:#DB4A4F}
body #analisisRoot .estr-lectura .fav{color:#0A9E63}
body #estatalSummary :is(.mos-val,.mos-meta){line-height:normal}
body #estatalSummary .mos-meta{margin-top:1px;padding-top:0;font-size:11px;color:#8792A2}
body #estatalSummary .mos-val{font-size:17px!important;margin-top:0}
body #estatalSummary .state-summary-selected{border-color:#635BFF}
body #analisisRoot .estr-row{padding:10px 0;font-size:13px;line-height:normal;border-bottom:.5px solid #E3E8EE;gap:10px}
body #analisisRoot .estr-pos{width:auto;text-align:left;font-size:inherit;flex-shrink:0}
body #analisisRoot .estr-nm{color:#425466}
body #analisisRoot .estr-val{font-weight:500}
body #analisisRoot .estr-row.mine{margin:5px -9px;padding:10px 9px;border:0;border-radius:7px;background:#EEEBFF;font-weight:500;line-height:17px}
body #analisisRoot .estr-row.mine .estr-pos{color:#635BFF}
body #analisisRoot .estr-row.mine .estr-nm{color:#0A2540}
@media(max-width:768px){
 body #estatalSummary .mos-val{font-size:16px!important}
 body #analisisRoot .estr-row{gap:9px}
 body #analisisRoot .estr-row.mine{margin:4px -8px;padding:9px 8px}
}
body #zonaScore .financial-cash-segments{background:transparent}
body #anTuSector .tray-canvas{height:auto;aspect-ratio:300 / 120}
body #jrMicro .j-ind>div:first-child{font-size:13px;color:#425466;line-height:normal}
body #jrMicro .j-ind b{font-size:14px;font-weight:500;line-height:normal}
body #jrMicro .j-ind:nth-child(3) b{font-size:12px;line-height:1.6}
body .p2-chip-tag{font-weight:600;color:#635BFF;padding:2px 6px;border-radius:4px}
body #rankBody>.mos .mos-lbl{font-weight:600;color:#635BFF}
body #analisisRoot .estr-toggle{font-size:12.5px;font-weight:400;color:#635BFF;padding:0;line-height:normal}
body #zonaScore .j-ind>div:first-child{color:#425466}
body #zonaScore .j-card:has(.financial-cash) .j-ind:last-of-type>div:first-child{font-weight:500;color:#0A2540}
body #zonaScore .business-matrix-pair>.business-number-grade:last-child span{color:#635BFF}
body .matrix-grade-panel{text-align:center;border:.5px solid #E3E8EE;border-radius:10px;padding:15px;background:#fff;margin-bottom:16px}
body :is(#anTitular,#zonaScore .classification-card){padding:16px;background:#fff;border:.5px solid #E3E8EE;border-radius:12px;color:#425466}
body :is(#anTitular,#zonaScore .classification-card)>h3{display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;font-size:10.5px!important;font-weight:400!important;letter-spacing:.09em;color:#8792A2;margin:0 0 13px;text-transform:uppercase}
body .classification-identity{margin:12px 0;text-align:center}
body .classification-primary{display:flex;justify-content:center;align-items:baseline;gap:6px;min-width:0}
body .classification-name{font-size:16px;font-weight:600;color:#0A2540;min-width:0;white-space:nowrap}
body .classification-code{font-size:11px;color:#8792A2;white-space:nowrap;flex-shrink:0}
body .classification-context{font-size:11.5px;color:#8792A2;margin-top:4px}
body .matrix-grade-panel>b{display:block;font-size:52px;font-weight:500;line-height:1;margin:0}
body .matrix-grade-panel>span{display:block;font-size:10px;letter-spacing:.07em;margin-top:6px;color:#635BFF}
body .matrix-grade-panel>small{display:block;font-size:10.5px;line-height:normal;margin-top:2px;color:#425466}
body #zonaScore .business-matrix-pair>.matrix-grade-panel{margin-bottom:0}
body .pt-history-status{font-size:10px;color:#8792A2;line-height:1.4}
body .pulse-pagination{margin-top:12px}
body .pulse-pagination[hidden]{display:none}
body .expediente-overview .expediente-summary b{font-family:inherit}
@media(min-width:769px){
 body #jrMatriz .mtx-micro-nombre{font-size:17px}
 body #jrCatSeg button{padding:4px 14px}
 body #jrMicro .sector-comparison-item{font-size:11px}
 body #jrMicro .j-ind:nth-child(3) b{font-size:12.5px;line-height:1.7}
 body #jrDriversSection .drv-t{font-size:14px}
 body #jrDriversSection .drv-go{padding:6px 12px}
 body #jrNoticias :is(.noti-source,.noti-ask){font-size:11.5px}
 body #analisisRoot .estr-toggle{font-size:13px}
}
body #rankBody>.mos{background:#F7FAFC;border:0;padding:11px 13px;border-radius:8px}
body .pulse-tile.pt-favorite{grid-template-columns:minmax(0,1fr) 96px;gap:0 12px;line-height:normal}
body .pt-favorite .pt-label{grid-column:1;font-weight:400;min-height:0;margin-bottom:5px;line-height:normal}
body .pt-favorite .pt-details{grid-column:1;margin-top:2px}
body .pt-favorite .pt-spark{grid-column:2;grid-row:1 / 4;align-self:center;width:96px;height:32px;margin:0}
body .pt-favorite .pt-help{grid-column:1 / -1;margin:0}
body #jrIndic .pulse-tiles:has(.pt-favorite){padding:0}
body #jrCatSel .cat-select{font-size:11.5px;font-weight:400;padding:5px 28px 5px 11px;min-height:0;border-width:.5px;border-radius:20px}
body .cat-favorite-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:14px;height:14px;color:#6254FF;pointer-events:none}
body #jrCatSel .cat-favorite-icon+.cat-select{padding-left:30px}
body #jrCatSel .cat-select-box.cat-select-favorites{width:auto;flex:none}
body #jrCatSel .cat-select-size{visibility:hidden;white-space:nowrap;font:400 11.5px/normal var(--artifact-font);padding:5px 27px 5px 26px}
body #jrCatSel .cat-select-favorites .cat-select{position:absolute;inset:0;height:100%;padding:5px 27px 5px 26px;border:0;line-height:normal}
body #jrCatSel .cat-select-favorites .cat-favorite-icon{width:11px;height:11px;color:#635BFF;z-index:1}
body #jrCatSel .cat-select-favorites .cat-select-chev{right:11px;width:12px;height:12px;pointer-events:none}
html.krevo-landscape-blocked{overflow:hidden}
body:has(#jrMatriz) .j-tip{display:none!important}
body:has(.view-tlx-cta)::after{content:'';display:block;height:100px;grid-column:1/-1;flex-shrink:0}
@media(max-width:768px){body:has(.view-tlx-cta)::after{height:calc(160px + env(safe-area-inset-bottom,0px))}}
/* Keep the same selector slot across categories; the replaced select must not escape its box. */
body .main #jrIndic #jrCatSel{justify-content:flex-end}
body #jrCatSel .cat-select-wrap{max-width:100%;min-width:0;justify-content:flex-end}
body #jrCatSel .cat-select-box{width:220px;max-width:100%;min-width:0;flex:0 1 220px;box-sizing:border-box}
body #jrCatSel .cat-select-box.cat-select-favorites{width:220px;flex:0 1 220px}
body #jrCatSel .cat-select-size{display:none}
body #jrCatSel .category-picker{display:block;width:100%;min-width:0}
body #jrCatSel button.cat-select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:32px}
body #jrCatSel .cat-select-favorites .cat-select{position:static;height:auto;min-height:44px;padding:10px 32px 10px 30px}
body .main #jrIndic #jrCatContent{height:auto!important;min-height:0;max-height:none!important;overflow:visible}
body .main #jrIndic .pulse-tiles{height:auto;min-width:0;width:100%;box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr}
@media(max-width:1100px){body .main #jrIndic .pulse-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body .main #jrIndic .pulse-tiles{grid-template-columns:minmax(0,1fr)}}
/* Keep control borders and keyboard focus inside clipped card containers. */
body #jrIndic .pt-help .j-info{max-width:100%;white-space:normal}
body #jrIndic .pt-help .j-info::after{white-space:normal}
body #jrIndic :is(.j-info,.cat-select):focus-visible{outline-offset:-3px;border-radius:8px}
body #jrIndic .cat-select-wrap{padding:4px;box-sizing:border-box}
body #jrIndic [data-load-more]{font-size:12px;padding:10px 18px;min-height:44px;max-width:100%;box-sizing:border-box;white-space:normal}
body #p2Variable{cursor:pointer}
body .p2-comparison-cards{display:grid;grid-template-columns:repeat(var(--compare-count,4),minmax(0,1fr));gap:6px;margin:0 auto 10px;width:100%;max-width:calc(var(--compare-count,4)*110px + (var(--compare-count,4) - 1)*6px);text-align:center}
body .p2-comparison-cards[hidden]{display:none}
body .p2-compare-card{aspect-ratio:1;min-width:0;min-height:0;position:relative;padding:6px 4px 24px;background:#fff;border:1px solid var(--jbd);border-top:2px solid var(--serie-color);border-radius:8px;overflow:hidden;color:var(--jt);font-family:var(--artifact-font);line-height:1.15;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
body .p2-compare-card strong,body .p2-compare-card small,body .p2-compare-card>span{display:block;margin-bottom:4px}
body .p2-mini-actions{position:absolute;top:3px;right:3px;display:flex}
body .p2-mini-actions button{background:transparent;border:0;color:#635BFF;font:inherit;font-size:18px;font-weight:600;width:18px;height:18px;min-height:0;min-width:0;padding:0;cursor:pointer;border-radius:0;line-height:18px}
body .p2-mini-info{position:absolute;bottom:1px;left:50%;transform:translateX(-50%);width:28px;height:22px;min-height:0;min-width:0;padding:0;border:0;background:transparent;color:var(--serie-color);font-size:15px;cursor:pointer;border-radius:4px}
body .p2-mini-info:focus-visible{outline:2px solid var(--jb);outline-offset:-2px}
body .p2-mini-actions button:focus-visible{outline:2px solid var(--jb);outline-offset:-2px}
body .p2-compare-card>.p2-mini-icon{color:var(--serie-color);display:block;line-height:0;flex-shrink:0;margin:0}
body .p2-mini-icon svg{width:14px;height:14px}
body .p2-detail-close{float:right;border:1px solid var(--jbd);border-radius:8px;background:#fff;color:var(--jt);width:44px;height:44px;font-size:24px;cursor:pointer}
body .p2-compare-remove:disabled{opacity:.45;cursor:default;text-decoration:none}
body .p2-comparing #p2Variable{border:1px solid var(--jbd);border-radius:8px;background:#F6F9FC;color:var(--jt);font:500 12px/1.4 var(--artifact-font);min-height:44px;padding:10px 30px 10px 12px;text-transform:none;max-width:100%;white-space:normal;cursor:pointer}
body .p2-comparing #p2Variable::after{content:' ▾'}
body #p2CompareNote{margin:0;text-align:center;font-size:11px;box-sizing:border-box}
body #p2CompareNote:empty{display:none}
body .p2-compare-card strong{font-size:9px;line-height:11px;font-weight:600;flex-shrink:0;min-height:0;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body .p2-compare-card .p2-compare-change[data-direction=up]{color:var(--jverde)}
body .p2-compare-card .p2-compare-change[data-direction=down]{color:var(--jrojo)}
body .card-info-dialog .p2-compare-change[data-direction=up]{color:var(--jverde)}
body .card-info-dialog .p2-compare-change[data-direction=down]{color:var(--jrojo)}
body .p2-compare-card small{font-size:9px;line-height:10px;flex-shrink:0;color:var(--jm);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
body .p2-compare-card i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}
body .p2-comparing>:is(.p2-titular-label,.p2-observed-label,.p2-titular-big,.p2-titular-range,.p2-titular-corte){display:none}
body .p2-chart-legend{margin-top:8px!important;padding-top:0!important;padding-bottom:0!important;min-height:20px}
body .p2-chartcard>.p2-compare{margin-bottom:0}
body .p2-comparing+.p2-chart-head{margin:0}
body .p2-canvas-wrap{min-height:220px}
@media(max-width:359px){body .p2-compare-card{padding:3px 2px 19px;gap:1px}body .p2-mini-icon svg{width:10px;height:10px}body .p2-compare-card strong{font-size:7.5px;line-height:8.5px}body .p2-compare-card small{font-size:7.5px;line-height:8px}body .p2-mini-actions button{width:15px;height:15px;line-height:15px;font-size:12px}body .p2-mini-info{height:18px;font-size:13px}}
body .category-picker .category-menu details details>summary{padding-left:46px;font-size:13px}
body .category-picker .category-menu [data-variables]>button{padding-left:54px;font-size:13px;font-weight:400}
body #jrCatSel button.cat-select{text-align:left;cursor:pointer;font-family:inherit}
body .category-picker .category-menu{position:fixed;inset:auto;margin:0;z-index:100;width:320px;box-sizing:border-box;max-width:calc(100vw - 32px);max-height:55vh;overflow:auto;background:#fff;border:1px solid #E3E8EE;border-radius:14px;box-shadow:0 8px 24px #0A254020;padding:8px}
body .category-picker .category-menu[hidden]{display:none}
body .category-picker .category-menu summary,body .category-picker .category-menu button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;color:#0A2540;font:500 14px/1.4 var(--artifact-font);background:transparent;border:0;border-radius:8px;text-align:left;cursor:pointer}
body .category-picker .category-menu summary{list-style:none}
body .category-picker .category-menu summary::-webkit-details-marker{display:none}
body .category-picker .category-menu summary:after{content:'›';margin-left:auto}
body .category-picker .category-menu details[open]>summary:after{transform:rotate(90deg)}
body .category-picker .category-menu svg{width:22px;height:22px;flex:none;color:#635BFF}
body .category-picker .category-menu details>button{padding-left:46px;font-size:13px;font-weight:400}
body .category-picker .category-menu button:hover,body .category-picker .category-menu summary:hover,body .category-picker .category-menu button[aria-pressed=true]{background:#F3F0FF}
body .category-picker .category-menu :focus-visible{outline:2px solid #635BFF;outline-offset:-2px}
body #zonaScore .j-card>.financial-info{position:static;align-self:flex-start;margin-top:auto;min-height:44px;padding-top:8px}
body #zonaScore .financial-info>summary{width:auto;gap:6px;min-height:44px;justify-content:flex-start}
body #zonaScore .financial-info>summary::after{content:'Más información';font-size:12px;font-weight:400}

.financial-capture [hidden]{display:none!important}
.fin-wizard{margin-bottom:20px;padding:16px;border:1px solid var(--jbd);border-radius:12px;background:var(--jbg,#F6F9FC)}
.fin-wizard-top,.fin-wizard-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fin-wizard-top>span{font-size:12px;color:var(--jt);font-weight:600}
.fin-wizard-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;list-style:none;margin:18px 0}
.fin-wizard-steps li{border-top:3px solid var(--jbd);padding-top:8px;font-size:11px;line-height:1.4;color:var(--jf)}
.fin-wizard-steps li[aria-current=step]{border-color:var(--jb);color:var(--jt);font-weight:600}
.fin-wizard h3{font-size:17px;margin:0 0 8px;scroll-margin-top:100px;text-transform:none;letter-spacing:normal;color:var(--jt);font-weight:600}
.fin-wizard p{font-size:13px;line-height:1.6;margin:0;color:var(--jf)}
.fin-wizard-nav{margin:18px 0}
.fin-wizard-nav button,.fin-wizard-top button{min-height:44px}
.fin-wizard-review{font-size:13px;line-height:1.5;margin-bottom:18px}
.fin-wizard-review dl{margin:0}.fin-wizard-review dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--jbd);padding:12px 0}
.fin-wizard-review dt{overflow-wrap:anywhere}.fin-wizard-review dd{margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}
.financial-capture .save-row{flex-wrap:wrap}.financial-capture .save-row .btn{flex-shrink:0;min-height:44px}
body #zonaScore .j-card:has(>.financial-info){display:flex;flex-direction:column;padding-bottom:16px!important}
@media(min-width:769px){body .noti-resumen{display:none}body .noti-titulo{line-height:19.575px;margin-bottom:5px}body .noti-tema{margin-bottom:5px}}
@media(max-width:768px){
 body .matrix-grade-panel{padding:13px;margin-bottom:15px}
 body #zonaScore .j-card:has(>.financial-info){padding-bottom:15px!important}
 body .view-tlx-toolbar{height:0;margin:0}
 body .view-tlx-cta{position:fixed;right:16px;bottom:calc(72px + env(safe-area-inset-bottom,0px))}
 body #analisisRoot .mos-val{font-size:16px}
 body .pt-favorite .pt-label{margin-bottom:4px}
 body .pt-favorite .pt-spark{width:84px}
 body .pulse-tile.pt-favorite{grid-template-columns:minmax(0,1fr) 84px}
 body #jrIndic .pulse-tiles:has(.pt-favorite){gap:9px}
}
@media(max-width:640px){
 body :is(#anTitular,#zonaScore .classification-card){padding:15px}
}
