/* MiCursoX dedicated desktop shell. No mobile rules. */
@media (min-width:1024px){
  :root{--mx-sidebar:248px;--mx-bg:#f4f7fb;--mx-card:#fff;--mx-line:#e3e9f2;--mx-text:#111827;--mx-muted:#667085;--mx-brand:#5b4cf0;--mx-shadow:0 10px 30px rgba(15,23,42,.065);--mx-content:1440px}
  html,body{min-width:0!important;overflow-x:hidden!important}
  body.mx-desktop-active,body.onboardingPremium{font-family:"Segoe UI Variable Text","Aptos","Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:var(--mx-text)!important;background:var(--mx-bg)!important;font-size:15px!important;font-weight:400!important;letter-spacing:-.012em;line-height:1.45}
  body.mx-desktop-active{padding-left:var(--mx-sidebar)!important}
  body.mx-desktop-active .mxDesktopSourceNav,body.mx-desktop-active nav.bottomNav,body.mx-desktop-active nav.bottomBar,body.mx-desktop-active .apoderado-bottom-nav,body.mx-desktop-active .presBottomNav,body.mx-desktop-active .tesBottomNav,body.mx-desktop-active .bottomBarV7{display:none!important;visibility:hidden!important;pointer-events:none!important}
  .mxDesktopShell{position:fixed;inset:0 auto 0 0;width:var(--mx-sidebar);z-index:90000;background:linear-gradient(180deg,#10172f 0%,#17152e 100%);color:#fff;padding:24px 16px 20px;display:flex;flex-direction:column;box-shadow:14px 0 42px rgba(15,23,42,.14)}
  .mxDesktopBrand{display:flex;align-items:center;padding:5px 10px 22px;border-bottom:1px solid rgba(255,255,255,.1)}
  .mxDesktopBrand img{width:158px;height:auto;filter:brightness(0) invert(1)}
  .mxDesktopRole{margin:22px 12px 9px;color:#9ba8c7;font-size:10px;font-weight:650;letter-spacing:.15em;text-transform:uppercase}
  .mxDesktopNav{display:flex;flex-direction:column;gap:5px}.mxDesktopNavItem{appearance:none;border:0;background:transparent;color:#cbd3e5;border-radius:12px;min-height:46px;padding:10px 12px;display:flex;align-items:center;gap:11px;text-align:left;font:500 14px/1.2 inherit;cursor:pointer}.mxDesktopNavItem.is-active{background:linear-gradient(135deg,#6657f4,#3f6ff5);color:#fff;box-shadow:0 9px 22px rgba(63,111,245,.25);font-weight:600}.mxDesktopIcon{width:20px;height:20px;display:grid;place-items:center;flex:0 0 20px}.mxDesktopIcon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mxDesktopFoot{margin-top:auto;padding:16px 12px 0;border-top:1px solid rgba(255,255,255,.1);color:#8794b3;font-size:11px}
  body.mx-desktop-active>header,body.mx-desktop-active>.tesPremiumHeader{position:sticky!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;z-index:60000!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(18px);border-bottom:1px solid var(--mx-line)!important;box-shadow:0 4px 18px rgba(15,23,42,.045)!important}
  body.mx-desktop-active>header .topbar,body.mx-desktop-active .tesHeaderInner{width:100%!important;max-width:none!important;min-height:78px!important;margin:0!important;padding:12px 34px!important}
  body.mx-desktop-active .marketHeader{width:100%!important;max-width:none!important;min-height:80px!important;margin:0!important;padding:13px 30px!important}
  body.mx-desktop-active>main.container,body.mx-desktop-active .marketApp{width:min(var(--mx-content),calc(100% - 64px))!important;max-width:var(--mx-content)!important;margin:0 auto!important;padding:34px 0 76px!important}
  body.mx-desktop-active #app{width:100%!important;max-width:none!important;margin:0!important}
  body.mx-desktop-active h1,body.mx-desktop-active h2,body.mx-desktop-active h3{font-family:"Segoe UI Variable Display","Aptos Display","Inter",system-ui,sans-serif!important;letter-spacing:-.035em!important;color:var(--mx-text)!important;font-weight:620!important}
  body.mx-desktop-active button,body.mx-desktop-active input,body.mx-desktop-active select,body.mx-desktop-active textarea{font-family:inherit!important}
  body.cursapp-apoderado .mxApoHideDesktop{display:none!important;visibility:hidden!important;pointer-events:none!important}
  body.cursapp-apoderado #avisosBellHost{margin-left:auto!important}
  #app.mx-apo-desktop-home-active> :not(#mxApoderadoDesktopHome){display:none!important}
  .mxApoDesktopHome{width:100%;display:flex;flex-direction:column;gap:22px;color:#152033}
  .mxApoPageHead{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:4px 2px 2px}.mxApoEyebrow{display:block;margin-bottom:8px;color:#635bff;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.mxApoPageHead h1{margin:0;font-size:34px!important;line-height:1.08!important}.mxApoPageHead p{margin:9px 0 0;color:#6b7280;font-size:15px}.mxApoAllPayments,.mxApoTextButton{appearance:none;border:0;background:transparent;color:#635bff;font-weight:650;cursor:pointer}.mxApoAllPayments{padding:11px 16px;border:1px solid #d8d7ff;border-radius:12px;background:#fff}
  .mxApoSection{background:#fff;border:1px solid #e5e9f1;border-radius:22px;box-shadow:0 12px 32px rgba(15,23,42,.055);padding:24px}.mxApoSectionHead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.mxApoSectionHead h2{margin:0;font-size:20px!important}.mxApoSectionHead p{margin:5px 0 0;color:#7a8495;font-size:13px}
  .mxApoDuesGrid{display:grid;grid-template-columns:repeat(var(--mx-due-count),minmax(0,1fr));gap:18px}.mxApoDueCard{display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px;min-height:218px;padding:20px;border:1px solid #e5e9f1;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);box-shadow:0 6px 18px rgba(15,23,42,.035)}.mxApoDate{width:76px;height:92px;border:1px solid #e3e7ef;border-radius:16px;overflow:hidden;background:#fff;display:grid;grid-template-rows:25px 1fr 23px;text-align:center;box-shadow:0 7px 16px rgba(15,23,42,.06)}.mxApoDate b{display:grid;place-items:center;background:#ef476f;color:#fff;font-size:11px;letter-spacing:.08em}.mxApoDate strong{display:grid;place-items:center;font-size:27px;font-weight:700}.mxApoDate span{font-size:10px;color:#667085;text-transform:capitalize}.mxApoDueContent{min-width:0;display:flex;flex-direction:column}.mxApoDueCount{color:#635bff;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.mxApoDueContent h3{margin:6px 0 4px;font-size:18px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mxApoDueContent p{margin:0;color:#6d7788;font-size:12px;line-height:1.45}.mxApoAmount{margin-top:12px;font-size:25px;font-weight:680;letter-spacing:-.035em}.mxApoDueActions{display:flex;gap:10px;margin-top:auto;padding-top:14px}.mxApoDesktopButton{appearance:none;min-height:40px;padding:0 16px;border-radius:11px;font-size:13px;font-weight:650;cursor:pointer}.mxApoDesktopButton.primary{border:1px solid #635bff;background:#635bff;color:#fff;box-shadow:0 8px 18px rgba(99,91,255,.22)}.mxApoDesktopButton.secondary{border:1px solid #dfe3eb;background:#fff;color:#384152}
  .mxApoSummaryGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mxApoMetric{display:flex;align-items:center;gap:15px;min-width:0;padding:20px;border:1px solid #e5e9f1;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}.mxApoMetricIcon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;flex:0 0 44px}.mxApoMetricIcon svg,.mxApoQuickIcon svg,.mxApoNoticeIcon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.mxApoMetricIcon.purple{color:#635bff;background:#f0efff}.mxApoMetricIcon.green{color:#138a64;background:#eaf8f2}.mxApoMetricIcon.orange{color:#e66a18;background:#fff1e6}.mxApoMetricIcon.blue{color:#3076d8;background:#eaf3ff}.mxApoMetric div{display:flex;min-width:0;flex-direction:column}.mxApoMetric span{color:#748094;font-size:12px}.mxApoMetric strong{font-size:22px;font-weight:680;letter-spacing:-.03em;white-space:nowrap}.mxApoMetric small{color:#8b94a4;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mxApoLowerGrid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:22px;align-items:stretch}.mxApoQuickSection,.mxApoNoticeSection{height:100%}.mxApoQuickGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mxApoQuickCard{position:relative;appearance:none;display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:14px;min-height:104px;padding:18px;border:1px solid #e4e8f0;border-radius:16px;background:#fff;text-align:left;cursor:pointer;transition:.16s ease}.mxApoQuickCard:hover{transform:translateY(-2px);border-color:#c9c6ff;box-shadow:0 10px 24px rgba(99,91,255,.09)}.mxApoQuickIcon{width:44px;height:44px;border-radius:13px;background:#f0efff;color:#635bff;display:grid;place-items:center}.mxApoQuickCard b{display:block;font-size:15px;font-weight:620}.mxApoQuickCard small{display:block;margin-top:4px;color:#7b8595;font-size:12px;line-height:1.35}.mxApoQuickCard i{font-style:normal;color:#8b95a5;font-size:24px}.mxApoQuickCard em{position:absolute;right:14px;top:10px;padding:3px 8px;border-radius:999px;background:#e8f8ef;color:#138a64;font-style:normal;font-size:10px;font-weight:700}.mxApoNoticeBody{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:16px;align-items:center;min-height:246px;padding:20px;border:1px solid #e5e9f1;border-radius:16px;background:#fbfcfe}.mxApoNoticeIcon{width:48px;height:48px;border-radius:14px;background:#f0efff;color:#635bff;display:grid;place-items:center}.mxApoNoticeBody h3{margin:0 0 6px;font-size:17px!important}.mxApoNoticeBody p{margin:0;color:#737e8e;font-size:13px;line-height:1.5}.mxApoEmpty{grid-column:1/-1;min-height:150px;border:1px dashed #d7dde7;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7c8797;background:#fafbfd}.mxApoEmpty strong{color:#354052;font-size:17px}.mxApoEmpty.compact{min-height:190px}
  body.cursapp-apoderado #menuDropdown{display:none!important}body.mx-desktop-active .card,body.mx-desktop-active .panel,body.mx-desktop-active .reportCard,body.mx-desktop-active .tableWrap{border:1px solid var(--mx-line)!important;border-radius:18px!important;background:var(--mx-card)!important;box-shadow:var(--mx-shadow)!important}body.cursapp-apoderado [class*="transbank"],body.cursapp-apoderado [class*="Transbank"],body.cursapp-apoderado .mxTransbankStable{animation:none!important;transition:none!important;opacity:1!important;visibility:visible!important}
  body.market-v8.mx-desktop-active .marketApp{padding-top:0!important}body.market-v8.mx-desktop-active .view,body.market-v8.mx-desktop-active .view.active{width:100%!important;max-width:none!important}body.market-v8.mx-desktop-active .productGridV6,body.market-v8.mx-desktop-active .recommendationGrid,body.market-v8.mx-desktop-active #marketGrid{display:grid!important;grid-template-columns:repeat(4,minmax(190px,1fr))!important;gap:18px!important;width:100%!important}body.onboardingPremium main.container#app{width:min(1080px,calc(100% - 64px))!important;max-width:1080px!important;margin:0 auto!important;padding:32px 0 72px!important}
}
@media (min-width:1024px) and (max-width:1240px){.mxApoDuesGrid{grid-template-columns:repeat(min(var(--mx-due-count),2),minmax(0,1fr))}.mxApoLowerGrid{grid-template-columns:1fr}.mxApoSummaryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.mxApoNoticeBody{min-height:150px}}
