/* Shared Matriz language; structural aliases for existing module markup. */
:root{--ink:#162b40;--nav:#142a40;--green:#1664c0;--lime:#e4effc;--bg:#f1f4f8;--line:#dae2eb;--muted:#526779;color:#162b40;background:#f1f4f8;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{color:var(--ink);background:var(--bg);line-height:1.55}#outlet-navigation{position:sticky;top:0;z-index:30;background:white;border-bottom:1px solid var(--line);padding:12px 24px;display:flex;gap:24px;align-items:center;flex-wrap:wrap}.system-identity{display:flex;align-items:center;gap:10px;color:var(--navy);font-weight:700;text-decoration:none}.system-identity img,.alien-logo{width:44px;height:44px;object-fit:contain;background:white;border-radius:8px;flex:none}.system-identity img{mix-blend-mode:multiply}#outlet-navigation nav,#owner-shortcuts{display:flex;align-items:center;gap:5px;flex-wrap:wrap}#outlet-navigation a:not(.system-identity){padding:9px 11px;border-radius:8px;text-decoration:none;color:var(--navy);font-size:.92rem}#outlet-navigation a.current{background:#e4effc;color:#14589f;font-weight:700}#outlet-navigation summary{cursor:pointer;font-weight:600}#outlet-navigation [hidden]{display:none!important}
.module-links,.platform-links{display:none}.masthead{display:none}.platform{background:white;border-bottom:1px solid var(--line);padding:8px 24px;min-height:0}.platform #session-tools{justify-content:flex-end}.brand img{padding:3px}.shell,.layout{grid-template-columns:235px minmax(0,1fr)}aside,.sidebar{background:var(--navy);color:white;top:var(--outlet-nav-height,110px);height:calc(100vh - var(--outlet-nav-height,110px));border-radius:0;padding:24px 18px}aside .brand,aside h2,.sidebar-title{color:white}.sidebar-title{display:flex;gap:12px;align-items:center;margin-bottom:24px}.sidebar-title h2{margin:0}.side-label,.nav-label,aside small{color:#c4d3e3}.sidebar nav{display:flex;flex-direction:column;gap:6px}aside nav a,.sidebar button.nav{display:flex;width:100%;padding:12px 14px;color:#d5e1ec;background:transparent;border:0;border-radius:8px;font-weight:500;text-decoration:none;text-align:left;justify-content:flex-start}.sidebar button.nav.active,aside nav a.active,aside nav a.selected{background:#25435f;color:white}aside .nav-group summary{padding:12px;color:#d5e1ec}.side-bottom{border-top:1px solid #375065}.side-bottom .module-link{color:#d5e1ec}.main{padding:0;min-width:0}.workspace{padding:32px;min-width:0}.main .topbar{background:white;border-bottom:1px solid var(--line);color:var(--ink);padding:18px 32px}.card,.stat,.module,.panel{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:none}.card,.stat{padding:24px}.stat.primary,.stats .primary{background:#142a40;color:white}.stat.primary small{color:#d1deeb}button,.button{background:white;color:var(--navy);border:1px solid var(--line);border-radius:8px;min-height:48px;padding:11px 16px}.primary,button.checkout,.modal-save,#modal-save,.login-form button:not(.secondary){background:#1664c0;color:white}.secondary,.quiet{background:white;color:var(--navy)}input,select,textarea{border:1px solid #cbd6e2;border-radius:8px;background:white;color:var(--ink);min-height:48px}input[type=checkbox]{min-height:22px;width:22px;height:22px;margin:0;flex:none}.check-options{display:flex;flex-wrap:wrap;gap:18px;padding:18px 0}.check-options label{display:flex;align-items:center;gap:8px}.login-art{background:var(--navy);color:white}.login{background:white}.login-art a{color:white}.table-wrap{overflow-x:auto;max-width:100%}.table-wrap table{min-width:650px}dialog{color:var(--ink);max-height:90vh;overflow:auto;width:min(900px,95vw)}.dialog-head{border-bottom:1px solid var(--line);padding-bottom:16px}.notice{background:#eaf2fc;border:1px solid #ccddf1;color:#234d78}.module:hover{border-color:#1664c0;transform:none}.module-number,.eyebrow{color:var(--blue)}.module strong,.text-link{color:var(--blue)}.hero h1{font-size:3rem;color:var(--navy);letter-spacing:normal}.mascot{mix-blend-mode:multiply;object-fit:contain}.hero{padding:44px 0}.container{max-width:1280px;padding:24px 32px;margin:auto}.modules{gap:20px}.module{padding:28px}.report-head h1{color:var(--navy)}[data-module=portal] footer{padding:28px 0;color:var(--muted)}
@media(min-width:1000px){#outlet-menu>summary{display:none}}
@media(max-width:999px){#outlet-navigation{padding:10px 16px;gap:12px}#outlet-menu{width:100%}#outlet-navigation nav{padding-top:10px}#owner-shortcuts{width:100%}.system-identity img{width:34px;height:34px}.shell,.layout{grid-template-columns:190px minmax(0,1fr)}.workspace{padding:22px}.container{padding:20px}.hero h1{font-size:2.3rem}}
@media(max-width:799px){.shell,.layout{display:block}aside,.sidebar{position:static;top:auto;width:auto;height:auto;padding:16px}.sidebar nav,aside nav{flex-direction:row;overflow-x:auto;flex-wrap:nowrap}aside nav a,.sidebar button.nav{width:auto;white-space:nowrap;flex-shrink:0}.side-bottom .module-link{display:none}.sidebar .side-bottom{margin-top:0;padding-top:12px}.workspace,.layout main{padding:20px 16px}.main .topbar{padding:16px;flex-wrap:wrap;gap:12px}.main .topbar .row{flex-wrap:wrap}.stats,.grid.cols2,.pos-grid,.modules{display:grid;grid-template-columns:1fr}.card{padding:18px}.hero{display:flex;flex-direction:column;align-items:flex-start;padding:24px 0;gap:24px}.hero .mascot{width:140px;height:140px}.hero h1{font-size:2rem}.login{grid-template-columns:1fr}.check-options{display:grid;grid-template-columns:1fr}.table-wrap th,.table-wrap td{padding:12px;min-width:100px}button,.button{white-space:normal}.sidebar-title{margin-bottom:12px}}
@media print{#outlet-navigation{display:none!important}}

aside nav a:hover,.sidebar button.nav:hover{background:#25435f;color:#fff}aside .sidebar-title p{color:#c4d3e3}

#dialog-content{padding:24px}@media(max-width:799px){#dialog-content{padding:18px}}

/* Outlet99 1.8.2 · Rediseño visual de Estadísticas generales */
body.stats-dashboard{background:#f4f7fb;color:#172c43;-webkit-font-smoothing:antialiased}
.stats-dashboard .stats-page{max-width:1440px;padding:38px 40px 64px;color:#172c43;font-size:14px}.stats-dashboard .stats-head{margin:0 0 24px;gap:28px;align-items:center}.stats-dashboard .stats-head h1{font-size:clamp(28px,3vw,38px);letter-spacing:-1.25px;margin:8px 0 10px;line-height:1.15;color:#10273f}.stats-dashboard .stats-head .eyebrow{display:flex;align-items:center;gap:8px;margin:0;font-size:10px;letter-spacing:2px;color:#536c82}.stats-dashboard .stats-head .eyebrow::before{content:'';width:7px;height:7px;border-radius:50%;background:#56ca89;box-shadow:0 0 0 4px #e3f6eb}.stats-dashboard .stats-head .muted{font-size:14px;color:#607389;margin:0}.stats-dashboard .header-actions{display:flex;flex-direction:column;align-items:end;gap:10px;flex-shrink:0}.stats-dashboard .header-actions [role=status]{font-size:11px;color:#61758a}.stats-dashboard .export-button{font-size:12px!important;padding:9px 13px!important;min-height:38px!important;background:white!important;color:#284760!important;border:1px solid #dce5ee!important;border-radius:10px!important}.stats-dashboard .export-button:hover{border-color:#6da4e0!important;background:#f5faff!important}.stats-dashboard .period-switch{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 17px;padding:0}.stats-dashboard .period-switch button{min-height:36px;padding:7px 16px;border-radius:8px;border:1px solid transparent;background:transparent;color:#536b82;font-size:12px;font-weight:600}.stats-dashboard .period-switch button:hover{color:#175cc7;background:#eaf2ff}.stats-dashboard .period-switch button.active{background:#eaf2ff;color:#145ed0;border-color:#cdddff;box-shadow:0 2px 5px #193d6810}.stats-dashboard .panel{margin:0;border:1px solid #e0e7ef;border-radius:16px;background:#fff;box-shadow:0 3px 16px #18375404;padding:24px;min-width:0}.stats-dashboard .filters-panel{margin:0 0 24px;padding:20px 24px}.stats-dashboard .stats-filters{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(135px,1fr) minmax(175px,1fr) auto;align-items:end;gap:18px}.stats-dashboard .stats-filters:has(select[name=period] option[value=custom]:checked){grid-template-columns:minmax(180px,1.5fr) minmax(125px,1fr) minmax(155px,1fr) minmax(155px,1fr) auto}.stats-dashboard .stats-filters label{font-size:11px;font-weight:650;letter-spacing:.2px;gap:8px;min-width:0;color:#4e6479}.stats-dashboard .stats-filters input,.stats-dashboard .stats-filters select{width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #dce4ed;border-radius:9px;font-size:12px;font-weight:500;color:#263e55;background:#fbfcfe}.stats-dashboard .stats-submit{display:flex;align-items:center;justify-content:center;gap:9px;background:#2269dd!important;color:#fff!important;border:1px solid #2269dd!important;box-shadow:0 4px 10px #216ad527;min-height:44px;min-width:135px;font-size:12px;font-weight:650;border-radius:9px}.stats-dashboard .stats-submit span{font-size:21px;line-height:1}.stats-dashboard .stats-submit:hover{background:#1754bc!important}.stats-dashboard .stats-submit:disabled{opacity:.55}.stats-dashboard .stats-filters input:focus-visible,.stats-dashboard .stats-filters select:focus-visible,.stats-dashboard button:focus-visible,.stats-dashboard a:focus-visible,.stats-dashboard summary:focus-visible,.stats-dashboard .table-wrap:focus-visible{outline:3px solid #8bbafd;outline-offset:3px}.stats-dashboard .dashboard-context{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#667c91;font-size:11px;margin:0 2px 15px}.stats-dashboard .dashboard-context>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.stats-dashboard .dashboard-context strong{font-weight:650;color:#3a5269}.stats-dashboard .context-dot{width:6px;height:6px;border-radius:50%;background:#2272e3;flex-shrink:0}.stats-dashboard .context-separator{color:#c4cfdb}.stats-dashboard .executive-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:16px}.stats-dashboard .compact-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.stats-dashboard .kpi-card{min-width:0;background:white;border:1px solid #e0e7ef;border-radius:15px;padding:19px 22px;box-shadow:0 3px 14px #213d6005;position:relative;overflow:hidden}.stats-dashboard .hero-kpi{padding:24px 26px;border-top:3px solid #3d88ef}.stats-dashboard .hero-kpi.positive{border-top-color:#4cb389}.stats-dashboard .hero-kpi.negative{border-top-color:#e7858e}.stats-dashboard .kpi-label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#526b83;font-size:12px;font-weight:600;min-height:31px}.stats-dashboard .kpi-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:30px;height:30px;background:#eff5ff;border-radius:9px;color:#477fca}.stats-dashboard .kpi-icon svg{width:17px;height:17px}.stats-dashboard .kpi-value{display:block;font-size:clamp(22px,2.5vw,29px);font-weight:700;line-height:1.25;letter-spacing:-.85px;margin:8px 0 9px;font-variant-numeric:tabular-nums;color:#213b56;overflow-wrap:anywhere}.stats-dashboard .hero-kpi .kpi-value{font-size:clamp(28px,3.8vw,43px);margin:11px 0 14px;letter-spacing:-1.4px}.stats-dashboard .kpi-help{min-height:23px;display:flex;align-items:center;flex-wrap:wrap;gap:7px;color:#748598;font-size:11px;line-height:1.5}.stats-dashboard .kpi-badge{padding:3px 7px;border-radius:5px;font-size:10px;font-weight:650;letter-spacing:.1px}.stats-dashboard .kpi-badge.blue{background:#eef5ff;color:#2464b6}.stats-dashboard .positive .kpi-value,.stats-dashboard .positive.kpi-badge,.stats-dashboard .positive.summary-result,.stats-dashboard .positive.equation-result dd,.stats-dashboard .positive:not(article):not(.kpi-badge){color:#168060}.stats-dashboard .negative .kpi-value,.stats-dashboard .negative.kpi-badge,.stats-dashboard .negative.summary-result,.stats-dashboard .negative.equation-result dd,.stats-dashboard .negative:not(article):not(.kpi-badge){color:#c04857}.stats-dashboard .kpi-badge.positive{background:#eaf7f0}.stats-dashboard .kpi-badge.negative{background:#fff0f1}.stats-dashboard .negative .kpi-icon{color:#cb5965;background:#fff1f2}.stats-dashboard .positive .kpi-icon{color:#1c9972;background:#ebf8f1}.stats-dashboard .warning .kpi-icon{background:#fff7e8;color:#b8872e}.stats-dashboard .neutral .kpi-value{color:#425c77}.stats-dashboard .chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}.stats-dashboard .section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.stats-dashboard .section-title .eyebrow{margin:0 0 5px;font-size:9px;font-weight:650;letter-spacing:1.5px;color:#7c8ea0}.stats-dashboard .section-title h2{font-size:18px;letter-spacing:-.4px;margin:0;color:#223b54;font-weight:650}.stats-dashboard .section-tag{font-size:10px;background:#f5f8fb;color:#637b91;border:1px solid #e8eef4;padding:5px 9px;border-radius:6px;white-space:nowrap}.stats-dashboard .finance-bars{display:grid;gap:16px;padding:2px 0 8px}.stats-dashboard .finance-bar>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px;font-size:11px;color:#5a7188}.stats-dashboard .finance-bar strong{font-size:12px;font-variant-numeric:tabular-nums;color:#304d68}.stats-dashboard .finance-track{height:9px;background:#f2f5f9;overflow:hidden;border-radius:4px}.stats-dashboard .finance-track>span{display:block;height:100%;border-radius:4px}.stats-dashboard .blue{background:#528dea}.stats-dashboard .slate{background:#aebed1}.stats-dashboard .amber{background:#e9bb69}.stats-dashboard .red{background:#dc7884}.stats-dashboard .chart-caption{font-size:10px;color:#7b8b9b;line-height:1.6;margin:15px 0 0}.stats-dashboard .refund-summary{border-top:1px solid #edf1f6;margin-top:20px;padding-top:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:#718397}.stats-dashboard .refund-summary>span{display:flex;align-items:center;gap:7px}.stats-dashboard .refund-summary svg{width:15px;height:15px}.stats-dashboard .refund-summary strong{margin-left:auto;color:#53687c}.stats-dashboard .refund-summary small{flex-basis:100%;font-size:10px}.stats-dashboard .profit-chart svg{display:block;width:100%;height:auto;max-height:174px;overflow:visible}.stats-dashboard .chart-zero{stroke:#dce6ee;stroke-width:1;stroke-dasharray:4 4}.stats-dashboard .profit-green{fill:#59b699}.stats-dashboard .profit-red{fill:#dd8790}.stats-dashboard .axis-label,.stats-dashboard .zero-label{font-size:11px;fill:#8393a4;font-family:inherit}.stats-dashboard .zero-label{font-size:9px}.stats-dashboard .legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin:0 5px 0 12px}.stats-dashboard .legend-dot:first-child{margin-left:0}.stats-dashboard .legend-dot.green{background:#59b699}.stats-dashboard .chart-microstats{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #edf1f6;margin-top:16px;padding-top:14px}.stats-dashboard .chart-microstats>div{display:grid;gap:5px}.stats-dashboard .chart-microstats span{font-size:10px;color:#768b9f}.stats-dashboard .chart-microstats strong{font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;color:#415d78}.stats-dashboard .chart-empty{min-height:150px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:22px;text-align:center;background:#fafcfe;border:1px dashed #e1e8ef;border-radius:10px;color:#7c8fa2}.stats-dashboard .chart-empty>span{font-size:26px;color:#9ab6d6}.stats-dashboard .chart-empty p{font-size:12px;max-width:300px;line-height:1.6;margin:0}.stats-dashboard .branch-section{margin-bottom:22px}.stats-dashboard .branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stats-dashboard .branch-card{min-width:0;border:1px solid #e7edf4;border-radius:12px;padding:16px;background:#fff}.stats-dashboard .branch-card-head{display:flex;gap:10px;align-items:center}.stats-dashboard .branch-card-head h3{font-size:12px;font-weight:650;margin:0;color:#3c556d}.stats-dashboard .branch-card-head small{font-size:10px;color:#8493a2}.stats-dashboard .branch-symbol{width:29px;height:29px;border:1px solid #e9eff6;border-radius:8px;color:#7294b6;text-align:center;line-height:27px;font-size:16px;flex-shrink:0}.stats-dashboard .branch-card>strong{display:block;font-size:21px;letter-spacing:-.6px;margin:14px 0 12px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.stats-dashboard .branch-bar{height:5px;background:#edf3fa;border-radius:4px;overflow:hidden}.stats-dashboard .branch-bar i{height:100%;display:block;border-radius:4px}.stats-dashboard .branch-card footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 0 0!important;color:#74899c!important;font-size:9px}.stats-dashboard .branch-card footer span{display:flex;flex-direction:column;gap:3px}.stats-dashboard .branch-card footer span:last-child{text-align:right}.stats-dashboard .branch-card footer b{font-size:11px;font-weight:550;color:#516d86;overflow-wrap:anywhere}.stats-dashboard .summary-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;margin-bottom:20px}.stats-dashboard .period-facts{display:grid;grid-template-columns:1.3fr 1fr;gap:15px 22px;margin:0 0 22px}.stats-dashboard .period-facts div:last-child{grid-column:1/-1}.stats-dashboard .period-facts dt{font-size:10px;color:#8092a4;margin-bottom:5px}.stats-dashboard .period-facts dd{margin:0;font-size:12px;font-weight:550;color:#405972}.stats-dashboard .summary-sentence{margin:0;padding-top:17px;border-top:1px solid #edf1f5;color:#687f94;font-size:12px;line-height:1.9}.stats-dashboard .summary-sentence strong{font-weight:600;color:#405c75}.stats-dashboard .summary-result{display:flex;gap:11px;align-items:center;padding:13px 15px;margin-top:16px;border-radius:9px;background:#f2f8f5}.stats-dashboard .summary-result.negative{background:#fff5f5}.stats-dashboard .summary-result p{margin:0;font-size:11px;line-height:1.7}.stats-dashboard .summary-result strong{font-weight:650;white-space:nowrap}.stats-dashboard .result-mark{font-size:22px}.stats-dashboard .profit-equation{margin:0}.stats-dashboard .profit-equation>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 0;border-bottom:1px solid #eef2f6}.stats-dashboard .profit-equation dt{display:flex;align-items:center;gap:10px;color:#5d7387;font-size:12px}.stats-dashboard .profit-equation dd{margin:0;color:#3b556d;font-weight:600;font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}.stats-dashboard .math-sign{width:19px;height:19px;text-align:center;line-height:19px;border-radius:5px;background:#f2f5f9;color:#8a9bad;font-size:13px;flex-shrink:0}.stats-dashboard .profit-equation .equation-result{margin-top:9px;padding-top:20px;border-bottom:0;border-top:1px solid #dce5ef}.stats-dashboard .equation-result dt{font-weight:650;color:#304d66}.stats-dashboard .equation-result dd{font-size:24px;letter-spacing:-.6px}.stats-dashboard .equation-result .math-sign{background:#eaf2ff;color:#5387c8}.stats-dashboard .provisional-note{display:flex;gap:14px;align-items:center;background:#f0f6ff;border:1px solid #dceaff;border-radius:12px;padding:18px 20px;margin:0 0 20px;position:static;width:auto;height:auto;color:#365d89}.stats-dashboard .info-symbol{font-family:Georgia,serif;font-style:italic;font-size:16px;font-weight:700;width:25px;height:25px;text-align:center;line-height:23px;border:1px solid #8fafdb;border-radius:50%;flex-shrink:0}.stats-dashboard .provisional-note strong{font-size:12px;font-weight:650}.stats-dashboard .provisional-note p{font-size:11px;color:#657f9c;margin:4px 0 0;line-height:1.6}.stats-dashboard .note-tag{margin-left:auto;font-size:9px;color:#6990c1;background:#e2edfd;border-radius:5px;padding:5px 9px}.stats-dashboard .cost-warning{padding:15px;background:#fff8e9;border:1px solid #f1ddae;border-radius:12px;color:#836124;font-size:12px;margin-bottom:20px}.stats-dashboard .detail-panel{padding:0;margin-top:12px;overflow:hidden}.stats-dashboard .detail-panel summary,.stats-dashboard .expense-admin>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;list-style:none}.stats-dashboard .detail-panel summary::-webkit-details-marker,.stats-dashboard .expense-admin>summary::-webkit-details-marker{display:none}.stats-dashboard .detail-panel summary>span,.stats-dashboard .expense-admin>summary>span{font-size:12px;font-weight:650;color:#47617a}.stats-dashboard .detail-panel summary small,.stats-dashboard .expense-admin>summary small{font-size:10px;color:#8597a8}.stats-dashboard .detail-panel summary small span{margin-left:14px;font-size:14px}.stats-dashboard .detail-panel[open]>summary,.stats-dashboard .expense-admin[open]>summary{border-bottom:1px solid #e9eff5}.stats-dashboard .table-wrap{max-width:100%;overflow:auto}.stats-dashboard th{color:#7690a7;font-size:10px;background:#fafcfe}.stats-dashboard td{font-size:12px;color:#48637b}.stats-dashboard .expense-type{font-size:9px;color:#6c86a0;background:#f2f6fa;border-radius:5px;padding:4px 7px}.stats-dashboard .methodology{margin:22px 3px;color:#71879a;font-size:11px}.stats-dashboard .methodology summary{font-weight:600;cursor:pointer}.stats-dashboard .methodology p{line-height:1.7;max-width:1000px}.stats-dashboard .expense-admin{padding:0;margin-top:24px}.stats-dashboard .expense-admin #expense-content{padding:22px}.stats-dashboard .expense-admin .panel{margin-top:20px}.stats-dashboard .expense-admin .notice{padding:12px;border-radius:9px;font-size:12px}.stats-dashboard .expense-admin .filters{gap:15px}.stats-dashboard .expense-admin input,.stats-dashboard .expense-admin select{max-width:100%;font-size:12px}.stats-dashboard .expense-admin label{min-width:0;font-size:12px}.stats-dashboard .expense-admin .muted{font-size:12px}.stats-dashboard .dashboard-loading{min-height:250px;display:flex;align-items:center;justify-content:center;gap:12px;color:#6483a3;font-size:14px}.stats-dashboard .loading-orbit{font-size:30px;color:#437adc}.stats-dashboard .demo-note{margin:0 0 18px;padding:10px 14px;border:1px dashed #d5b75b;color:#806b2a;background:#fff9e6;border-radius:9px;font-size:11px}.stats-dashboard .error{border:1px solid #efcad0;background:#fff2f4;color:#a54557;font-size:13px}.stats-dashboard .stats-page a{text-underline-offset:3px}
@media(min-width:1600px){.stats-dashboard .stats-page{max-width:1500px}.stats-dashboard .compact-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}.stats-dashboard .compact-kpis .kpi-card{padding:18px}.stats-dashboard .compact-kpis .kpi-value{font-size:24px}.stats-dashboard .compact-kpis .kpi-label{font-size:11px}.stats-dashboard .compact-kpis .kpi-icon{width:25px;height:25px}}
@media(max-width:1100px){.stats-dashboard .stats-page{padding:28px 26px 50px}.stats-dashboard .stats-head{align-items:start}.stats-dashboard .header-actions{flex-shrink:1;max-width:230px;text-align:right}.stats-dashboard .stats-filters,.stats-dashboard .stats-filters:has(select[name=period] option[value=custom]:checked){grid-template-columns:1fr 1fr}.stats-dashboard .stats-submit{width:100%}.stats-dashboard .branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-dashboard .chart-grid,.stats-dashboard .summary-grid{gap:14px}.stats-dashboard .panel{padding:20px}.stats-dashboard .detail-panel,.stats-dashboard .expense-admin{padding:0}.stats-dashboard .kpi-card{padding:18px}.stats-dashboard .hero-kpi{padding:23px}.stats-dashboard .equation-result dd{font-size:21px}}
@media(max-width:700px){.stats-dashboard .stats-page{padding:25px 16px 42px}.stats-dashboard .stats-head{display:block;margin-bottom:21px}.stats-dashboard .stats-head h1{font-size:29px;letter-spacing:-1px}.stats-dashboard .stats-head .muted{font-size:12px;line-height:1.7;max-width:330px}.stats-dashboard .header-actions{max-width:none;align-items:start;text-align:left;margin-top:18px;gap:12px}.stats-dashboard .header-actions [role=status]{font-size:10px}.stats-dashboard .period-switch{gap:6px;margin-bottom:15px}.stats-dashboard .period-switch button{min-height:40px;padding:7px 13px;font-size:11px}.stats-dashboard .filters-panel{padding:18px;margin-bottom:20px}.stats-dashboard .stats-filters,.stats-dashboard .stats-filters:has(select[name=period] option[value=custom]:checked){grid-template-columns:minmax(0,1fr);gap:15px}.stats-dashboard .stats-filters input,.stats-dashboard .stats-filters select{font-size:16px;min-height:46px}.stats-dashboard .stats-filters label{font-size:11px}.stats-dashboard .stats-submit{min-height:46px;font-size:13px}.stats-dashboard .dashboard-context{align-items:start;flex-direction:column;gap:7px;line-height:1.6;font-size:10px}.stats-dashboard .executive-grid,.stats-dashboard .compact-kpis,.stats-dashboard .chart-grid,.stats-dashboard .summary-grid,.stats-dashboard .branch-grid{grid-template-columns:minmax(0,1fr)}.stats-dashboard .executive-grid,.stats-dashboard .compact-kpis{gap:12px}.stats-dashboard .hero-kpi{padding:22px}.stats-dashboard .hero-kpi .kpi-value{font-size:34px}.stats-dashboard .kpi-card{padding:18px 21px}.stats-dashboard .kpi-value{font-size:27px}.stats-dashboard .kpi-help{font-size:11px}.stats-dashboard .chart-grid,.stats-dashboard .summary-grid{gap:16px}.stats-dashboard .section-title{gap:10px}.stats-dashboard .section-title h2{font-size:17px}.stats-dashboard .section-title .eyebrow{font-size:8px;letter-spacing:1.2px}.stats-dashboard .section-tag{font-size:9px;white-space:normal;text-align:right}.stats-dashboard .branch-card{padding:18px}.stats-dashboard .branch-card-head h3{font-size:13px}.stats-dashboard .branch-card>strong{font-size:24px}.stats-dashboard .period-facts{grid-template-columns:1fr}.stats-dashboard .period-facts div:last-child{grid-column:auto}.stats-dashboard .period-facts dd{font-size:12px}.stats-dashboard .summary-sentence{font-size:12px}.stats-dashboard .equation-result dd{font-size:22px}.stats-dashboard .profit-equation dt{font-size:11px}.stats-dashboard .profit-equation>div{gap:9px}.stats-dashboard .summary-result strong{white-space:normal}.stats-dashboard .provisional-note{align-items:start;padding:17px;gap:11px}.stats-dashboard .note-tag{display:none}.stats-dashboard .provisional-note p{font-size:11px}.stats-dashboard .detail-panel summary,.stats-dashboard .expense-admin>summary{align-items:start;flex-direction:column;gap:6px;padding:17px 20px}.stats-dashboard .expense-admin #expense-content{padding:16px}.stats-dashboard .expense-admin form.filters{display:grid;grid-template-columns:minmax(0,1fr)}.stats-dashboard .expense-admin .panel{padding:16px}.stats-dashboard .methodology{font-size:11px}.stats-dashboard .chart-microstats strong{overflow-wrap:anywhere}.stats-dashboard .error{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.stats-dashboard *{scroll-behavior:auto!important;transition:none!important}}
@media print{.stats-dashboard .stats-head .header-actions,.stats-dashboard .filters-panel,.stats-dashboard .period-switch,.stats-dashboard .expense-admin,.stats-dashboard #outlet-navigation{display:none}.stats-dashboard .stats-page{padding:0;max-width:none}.stats-dashboard .panel,.stats-dashboard .kpi-card{break-inside:avoid;box-shadow:none}.stats-dashboard .executive-grid{grid-template-columns:1fr 1fr}.stats-dashboard .compact-kpis{grid-template-columns:repeat(3,1fr)}.stats-dashboard .chart-grid,.stats-dashboard .summary-grid{grid-template-columns:1fr 1fr}.stats-dashboard .branch-grid{grid-template-columns:repeat(3,1fr)}}


/* Reset inherited Matriz sidebar/form geometry inside this page only. */
.stats-dashboard .stats-filters{padding:0;border:0}
.stats-dashboard .stats-filters label{display:flex;flex-direction:column}
.stats-dashboard .stats-filters input,.stats-dashboard .stats-filters select{margin-top:0}
.stats-dashboard .provisional-note{flex-direction:row;justify-content:flex-start;text-align:left;inset:auto;min-height:0;max-height:none}
/* Readable supporting text on everyday laptop and phone screens. */
.stats-dashboard .kpi-label{font-size:13px}
.stats-dashboard .kpi-help{font-size:12px}
.stats-dashboard .chart-caption,.stats-dashboard .refund-summary small{font-size:11px}
.stats-dashboard .period-facts dt,.stats-dashboard .chart-microstats span{font-size:11px}
.stats-dashboard .provisional-note strong{font-size:13px}
.stats-dashboard .provisional-note p{font-size:12px}
@media(max-width:700px){.stats-dashboard .kpi-label{font-size:13px}.stats-dashboard .kpi-help{font-size:12px}.stats-dashboard .detail-panel summary small,.stats-dashboard .expense-admin>summary small{font-size:11px}}

/* Daily/monthly expense control, scoped to the owner's statistics page. */
.stats-dashboard .expense-control{margin-block:20px;padding:20px}
.stats-dashboard .expense-scroll{max-height:420px;overflow:auto}
.stats-dashboard .expense-control [hidden]{display:none!important}
.stats-dashboard .expense-control [aria-pressed="true"]{background:#163e60;color:white}
.stats-dashboard .expense-control tfoot{font-weight:700}
.stats-dashboard #expense-feedback:not(:empty){padding:14px;border:1px solid #839db1;border-radius:10px}
.stats-dashboard #add-expense{min-height:44px;margin-bottom:8px}
.stats-dashboard .expense-control table{min-width:560px}
.stats-dashboard .expense-control .section-title{flex-wrap:wrap;gap:12px}

/* Cierre mensual imprimible del Dueño */
.stats-dashboard .monthly-close{margin-top:24px;padding:24px}
.stats-dashboard .monthly-close-grid{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:16px;margin:18px 0 12px}
.stats-dashboard .monthly-close-grid label,.stats-dashboard .monthly-notes{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:650;color:#557087}
.stats-dashboard .monthly-close-grid input,.stats-dashboard .monthly-close-grid select,.stats-dashboard .monthly-notes textarea{width:100%;box-sizing:border-box;border:1px solid #dce5ef;border-radius:9px;background:#fff;color:#314d66;padding:11px 12px;font:inherit}
.stats-dashboard .monthly-notes textarea{margin-top:7px;min-height:150px;resize:vertical;font-weight:400;line-height:1.6}
.stats-dashboard .excel-reference{padding:11px 13px;border-radius:9px;background:#f5f9fd;border:1px solid #e0eaf4;color:#607b94;font-size:11px;overflow-wrap:anywhere}
.stats-dashboard .monthly-close-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.stats-dashboard .monthly-close-actions button{min-height:42px;padding:9px 16px}
.stats-dashboard .monthly-close-help{margin:12px 0 0;font-size:10px;line-height:1.6}
.stats-dashboard .button.subtle{margin-top:8px;background:#f5f7fa;color:#49647d;border:1px solid #dfe7ef}
@media(max-width:700px){.stats-dashboard .monthly-close{padding:18px}.stats-dashboard .monthly-close-grid{grid-template-columns:1fr}.stats-dashboard .monthly-close-actions{display:grid;grid-template-columns:1fr}.stats-dashboard .monthly-close-actions button{width:100%}}

.stats-dashboard .expense-preview,.stats-dashboard .expense-editor-note,.stats-dashboard #expense-editor-status{grid-column:1/-1;width:100%}
.stats-dashboard .expense-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}
.stats-dashboard #expense-editor [hidden]{display:none!important}

/* 1.8.2 mobile channel navigation */
.stats-dashboard .mobile-scope-panel{display:none}
@media(max-width:700px){
 .stats-dashboard .mobile-scope-panel{display:block;margin:-4px 0 20px;padding:14px 0 2px}
 .stats-dashboard .mobile-scope-title{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:0 2px 9px;color:#38566f}
 .stats-dashboard .mobile-scope-title strong{font-size:13px}
 .stats-dashboard .mobile-scope-title small{font-size:10px;color:#7890a5}
 .stats-dashboard .mobile-scope-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .stats-dashboard .mobile-scope-chips::-webkit-scrollbar{display:none}
 .stats-dashboard .scope-chip{flex:0 0 auto;scroll-snap-align:start;min-height:40px;padding:9px 13px;border-radius:999px;border:1px solid #d6e1ec;background:#fff;color:#46647d;font-size:11px;font-weight:700;box-shadow:0 4px 14px rgba(31,68,98,.06)}
 .stats-dashboard .scope-chip[aria-pressed="true"]{background:#173e60;color:#fff;border-color:#173e60}
 .stats-dashboard .branch-section .branch-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 .stats-dashboard .branch-card{min-width:0}
}

/* V1.9.3 · Sucursales: mismo patrón lateral que Bodega Paquetería. */
[data-module="pos"] .sidebar .pos-sidebar-title{display:flex;align-items:center;gap:11px;margin:0 0 22px;padding:0 8px 14px;color:#fff}
[data-module="pos"] .sidebar .pos-sidebar-title .alien-logo{width:44px;height:44px;flex:0 0 44px;background:#fff;border-radius:8px;object-fit:contain;padding:3px}
[data-module="pos"] .sidebar .pos-sidebar-title h2{margin:0 0 3px;font-size:19px;line-height:1.15;color:#fff;font-weight:800;letter-spacing:-.01em}
[data-module="pos"] .sidebar .pos-sidebar-title small{display:block;margin:0;color:#9fb1c2;font-size:11px;line-height:1.3;font-weight:500;letter-spacing:0}
[data-module="pos"] .sidebar .side-label{margin:0 10px 8px;color:#c4d3e3;font-size:11px;line-height:1.2;letter-spacing:.09em;font-weight:700}
[data-module="pos"] .sidebar nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;width:100%;margin:0}
[data-module="pos"] .sidebar nav button.nav{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:43px!important;margin:0!important;padding:10px 12px!important;gap:10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#d5e1ec!important;text-align:left!important;font-size:13px!important;line-height:1.35!important;font-weight:500!important;white-space:normal!important}
[data-module="pos"] .sidebar nav button.nav:hover{background:#1d3952!important;color:#fff!important}
[data-module="pos"] .sidebar nav button.nav.active{background:#25435f!important;color:#fff!important;font-weight:700!important}
[data-module="pos"] .sidebar nav button.nav .nav-dot{display:block!important;width:6px!important;height:6px!important;min-width:6px!important;flex:0 0 6px!important;margin:0!important;border:1px solid #a1b3ad!important;border-radius:50%!important;background:transparent!important}
[data-module="pos"] .sidebar nav button.nav.active .nav-dot{background:#5b9fe6!important;border-color:#5b9fe6!important}
[data-module="pos"] .sidebar nav button.nav .nav-text{display:block!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;text-align:left!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:normal!important}
@media(max-width:799px){
  [data-module="pos"] .sidebar .pos-sidebar-title{margin-bottom:12px;padding:0}
  [data-module="pos"] .sidebar nav{flex-direction:row!important;overflow-x:auto!important;gap:6px!important}
  [data-module="pos"] .sidebar nav button.nav{width:auto!important;flex:0 0 auto!important;white-space:nowrap!important}
  [data-module="pos"] .sidebar nav button.nav .nav-text{white-space:nowrap!important}
  [data-module="pos"] .sidebar nav button.nav .nav-dot{display:none!important}
}

/* Owner financial trace dialogs. */
.kpi-detail-link{border:0;background:transparent;color:inherit;font:inherit;text-align:left;padding:0;cursor:pointer;text-decoration:underline;text-decoration-color:#98bbc9;text-underline-offset:4px}.kpi-detail-link:hover{color:#007a9e}.kpi-detail-link:focus-visible{outline:3px solid #16a2cb;outline-offset:5px;border-radius:4px}#cost-explanation{width:1000px;max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;border:1px solid #d4e3ec;border-radius:20px;padding:24px;color:#172b3c;box-sizing:border-box}#cost-explanation::backdrop{background:#10263888}#cost-explanation h2{margin:6px 0}.cost-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.cost-detail-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.cost-detail-kpis>div{background:#f1f7fa;border-radius:12px;padding:16px}.cost-detail-kpis small,.cost-detail-kpis strong{display:block}.cost-detail-kpis strong{font-size:22px;margin-top:8px;overflow-wrap:anywhere}.cost-detail-table table{width:100%;table-layout:fixed}.cost-detail-table th,.cost-detail-table td{padding:12px 8px;overflow-wrap:anywhere;text-align:left;white-space:normal}.cost-detail-table th{font-size:11px;color:#587183}.cost-complete{background:#eaf7ee;border-radius:12px;padding:15px;color:#175e3b}#close-cost-detail{flex-shrink:0;padding:10px 16px}
@media(max-width:640px){#cost-explanation{padding:16px}.cost-detail-kpis{grid-template-columns:1fr 1fr}.cost-detail-kpis strong{font-size:18px}.cost-detail-table table,.cost-detail-table tbody,.cost-detail-table tr,.cost-detail-table td{display:block;width:100%;box-sizing:border-box}.cost-detail-table thead{display:none}.cost-detail-table tr{border:1px solid #dce7ee;border-radius:12px;margin:14px 0;padding:8px}.cost-detail-table td{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:8px}.cost-detail-table td:before{content:attr(data-label);color:#526777;font-size:12px}#cost-explanation .profit-equation dd{font-size:20px}.cost-dialog-head h2{font-size:21px}}

/* Screen identity only. No selectors below enter the print cascade. */
.o99-head,.o99-number{display:none}
@media screen{
 .o99-mark{position:relative;display:inline-block;vertical-align:middle;flex:none;width:44px;height:44px;pointer-events:none;isolation:isolate;line-height:1;contain:layout paint}
 .o99-mark>.o99-original{display:none!important}
 .o99-mark .o99-head{display:block;position:absolute;inset:0 4% 21%;overflow:hidden}
 .o99-mark .o99-still,.o99-mark .o99-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain}
 .o99-mark .o99-canvas{visibility:hidden}
 .o99-mark.o99-live .o99-canvas{visibility:visible}
 .o99-mark.o99-live .o99-still{visibility:hidden}
 .o99-mark .o99-number{display:block;position:absolute;bottom:1%;left:0;width:100%;text-align:center;font:750 10px/1 system-ui,-apple-system,sans-serif;letter-spacing:1px;color:#2d533b}
 aside .o99-mark .o99-number,.sidebar .o99-mark .o99-number,.auth-intro .o99-mark .o99-number{color:#b4ecb1}
 .o99-mark.o99-hero{width:310px;height:345px;max-width:100%;margin:0 30px 0 0}
 .o99-mark.o99-hero .o99-head{inset:0 0 17%}
 .o99-mark.o99-hero .o99-number{font-size:36px;letter-spacing:3px;bottom:2%;color:#d0edc8}
 @media(max-width:999px){.system-identity .o99-mark{width:34px;height:34px}.system-identity .o99-number{font-size:8px}}
 @media(prefers-reduced-motion:reduce){.o99-mark .o99-canvas{display:none!important}.o99-mark .o99-still{visibility:visible!important}}
 /* Only the home page is restyled; operational tables, forms and alerts remain unchanged. */
 body.outlet-home{background:#f4f6f3;color:#19221d}
 body.outlet-home #outlet-navigation{background:#fcfdfb;border-color:#e0e7de}
 body.outlet-home #outlet-navigation a{color:#273e30}
 body.outlet-home #outlet-navigation a.current{background:#eaf3e5;color:#315634}
 body.outlet-home #outlet-navigation a.system-identity.current{background:transparent;color:var(--navy)}
 body.outlet-home .container{max-width:1320px;padding:32px 40px 16px}
 body.outlet-home .hero{min-height:425px;border:1px solid #24332a;border-radius:24px;background:#101a14;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:24px;align-items:center;padding:44px 48px 40px;margin:0 0 32px;overflow:hidden}
 body.outlet-home .hero h1{font-size:clamp(34px,4.2vw,56px);font-weight:650;line-height:1.11;letter-spacing:-2px;color:#f1f5ef;margin:0 0 24px;max-width:650px}
 body.outlet-home .hero .lead{font-size:16px;line-height:1.6;color:#b9c8ba;margin:0 0 27px}
 body.outlet-home .hero .text-link{display:inline-flex;gap:18px;align-items:center;font-size:13px;font-weight:600;color:#b4ed96;text-decoration:none;border-bottom:1px solid #64834e;padding:0 0 6px}
 body.outlet-home .hero>.o99-mark{justify-self:center}
 body.outlet-home .modules{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
 body.outlet-home .module{background:#fff;border:1px solid #dde4d9;border-radius:16px;padding:27px 26px;transition:border-color .15s;min-width:0;box-shadow:0 4px 18px #172c1604}
 body.outlet-home .module:hover{background:#fff;border-color:#6e9462;transform:none}
 body.outlet-home .module-number{color:#52694f;font-size:10px;letter-spacing:1.5px;font-weight:650}
 body.outlet-home .module h2{font-size:20px;letter-spacing:-.5px;color:#172b1d;font-weight:650;margin:15px 0 12px}
 body.outlet-home .module p{font-size:14px;line-height:1.65;color:#697668;margin:0 0 27px}
 body.outlet-home .module strong{font-size:13px;color:#355e31;font-weight:650}
 body.outlet-home footer{color:#687466;font-size:12px;padding:25px 2px;justify-content:flex-end}
 body.outlet-home a:focus-visible{outline:3px solid #74ad4e;outline-offset:5px}
 @media(max-width:999px){body.outlet-home .container{padding:24px}body.outlet-home .hero{padding:32px;grid-template-columns:minmax(0,1.3fr) minmax(200px,1fr);min-height:345px}.o99-mark.o99-hero{width:230px;height:270px;margin:0}.o99-mark.o99-hero .o99-number{font-size:28px}body.outlet-home .modules{grid-template-columns:repeat(2,minmax(0,1fr))}}
 @media(max-width:599px){body.outlet-home .container{padding:16px}body.outlet-home .hero{display:flex;flex-direction:column-reverse;gap:24px;align-items:flex-start;padding:28px 24px 32px;border-radius:18px;margin-bottom:18px}body.outlet-home .hero>.o99-mark{align-self:center;width:170px;height:195px}body.outlet-home .hero h1{font-size:34px;letter-spacing:-1.25px;margin-bottom:16px}body.outlet-home .hero .lead{font-size:14px;margin-bottom:20px}body.outlet-home .hero .o99-number{font-size:24px;letter-spacing:4px}body.outlet-home .modules{grid-template-columns:1fr;gap:14px}body.outlet-home .module{padding:23px}body.outlet-home .module h2{font-size:20px}}
}
@media print{.o99-mark{display:contents!important}.o99-mark>.o99-head,.o99-mark>.o99-number{display:none!important}}

@media screen { #outlet-navigation .o99-canvas { filter:brightness(.48) saturate(1.4); } }

/* Final home refinement: fewer labels, concise navigation, generous quiet spacing. */
@media screen {
 body.outlet-home .container{padding-top:36px;padding-bottom:40px}
 body.outlet-home .hero{min-height:410px;margin-bottom:24px;padding:30px 48px;border-radius:22px;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}
 body.outlet-home .hero h1{font-size:clamp(34px,4vw,54px);font-weight:650;letter-spacing:-1.8px;margin-bottom:22px}
 body.outlet-home .hero .lead{margin-bottom:28px}
 body.outlet-home .hero>.o99-mark{width:350px;height:355px;margin:0}
 body.outlet-home .module{padding:26px;min-height:132px;display:flex;flex-direction:column;justify-content:center}
 body.outlet-home .module-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
 body.outlet-home .module h2{font-size:18px;margin:0;line-height:1.3}
 body.outlet-home .module-arrow{font-size:21px;line-height:1;color:#4c7b48;flex-shrink:0}
 body.outlet-home .module p{margin:11px 0 0;font-size:13px;color:#657264}
 body.outlet-home .module-admin{grid-column:1/-1;min-height:60px;padding:17px 24px;background:transparent;border-color:#dde4d9;box-shadow:none}
 body.outlet-home .module-admin h2{font-size:12px;font-weight:650;letter-spacing:.6px;color:#546551}
 @media(max-width:999px){body.outlet-home .hero{padding:28px 32px;min-height:345px;grid-template-columns:minmax(0,1.3fr) minmax(200px,1fr)}body.outlet-home .hero>.o99-mark{width:240px;height:280px}body.outlet-home .module{min-height:125px;padding:23px}body.outlet-home .module-admin{min-height:56px}}
 @media(max-width:599px){body.outlet-home .container{padding:16px 16px 28px}body.outlet-home .hero{padding:24px;gap:14px;min-height:0}body.outlet-home .hero>.o99-mark{width:205px;height:220px}body.outlet-home .hero h1{font-size:34px;letter-spacing:-1.2px;margin-bottom:16px}body.outlet-home .hero .lead{margin-bottom:20px}body.outlet-home .module{min-height:105px;padding:21px}body.outlet-home .module-admin{min-height:56px}body.outlet-home .module h2{font-size:17px}body.outlet-home .module-admin h2{font-size:12px}}
}

/* 1.9.63: the binary head is the sole focus of the home hero. */
@media screen {
 body.outlet-home .hero.hero-emblem{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:380px;padding:24px;margin-bottom:22px;background:#000000;border-color:#303030}
 body.outlet-home .hero.hero-emblem>.o99-mark{width:350px;height:340px;margin:0;align-self:center}
 body.outlet-home .hero.hero-emblem .o99-number{font-size:30px;letter-spacing:4px;bottom:0;color:#bceec9}
 body.outlet-home .modules{gap:16px}
 body.outlet-home .module{border-color:#dbe6df;box-shadow:none}
 body.outlet-home .module:hover{background:#f9fdf9;border-color:#42a36a}
 body.outlet-home .module-arrow{color:#16894a}
 @media(max-width:999px){body.outlet-home .modules{grid-template-columns:repeat(3,minmax(0,1fr))}body.outlet-home .module{padding:20px 18px}body.outlet-home .module h2{font-size:16px}}
 @media(max-width:699px){body.outlet-home .hero.hero-emblem{min-height:290px;padding:20px;margin-bottom:16px}body.outlet-home .hero.hero-emblem>.o99-mark{width:270px;height:260px}body.outlet-home .hero.hero-emblem .o99-number{font-size:25px}body.outlet-home .modules{grid-template-columns:1fr;gap:12px}body.outlet-home .module{min-height:94px;padding:20px}body.outlet-home .module-admin{min-height:54px}body.outlet-home .module h2{font-size:17px}body.outlet-home .module-admin h2{font-size:12px}}
}

@media screen { .o99-mark .o99-number svg{display:inline-block;width:2.07em;height:1em;vertical-align:top;overflow:visible} }

/* Home heading preview: quiet, fixed typography above the rotating head. */
@media screen {
 body.outlet-home .hero.hero-emblem{gap:10px;padding-top:30px;padding-bottom:25px}
 body.outlet-home .home-command-title{text-align:center;width:100%;flex:none}
 body.outlet-home .hero .home-command-title h1{font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;font-size:clamp(21px,2.5vw,30px);font-weight:600;line-height:1.25;letter-spacing:.22em;text-indent:.22em;color:#ffffff;margin:0}
 body.outlet-home .home-command-title p{margin:11px 0 0;font-family:system-ui,-apple-system,sans-serif;font-size:10px;line-height:1.5;font-weight:600;letter-spacing:.36em;text-indent:.36em;color:#ffffff}
 @media(max-width:699px){body.outlet-home .hero.hero-emblem{gap:8px;padding-top:26px}body.outlet-home .hero .home-command-title h1{font-size:22px;letter-spacing:.15em;text-indent:.15em}body.outlet-home .home-command-title p{font-size:9px;letter-spacing:.3em;text-indent:.3em}}
}

/* Screen identity: head only across all modules; printed originals stay intact. */
@media screen {
 .o99-mark .o99-number{display:none!important}
 .o99-mark .o99-head{bottom:0}
 body.outlet-home .hero.hero-emblem>.o99-mark{width:320px;height:300px}
 body.outlet-home .hero.hero-emblem .o99-head{inset:0}
 @media(max-width:699px){body.outlet-home .hero.hero-emblem>.o99-mark{width:240px;height:250px}}
}

/* 1.9.64: navigation colors only; preserve every position, size and breakpoint. */
@media screen {
 body.outlet-unified #outlet-navigation,
 body.outlet-unified .shell>aside,
 body.outlet-unified .layout>aside,
 body.outlet-unified .topbar,
 body.outlet-unified .platform{background:#000000;color:#ffffff;border-color:#303030}
 body.outlet-unified #outlet-navigation a,
 body.outlet-unified #outlet-navigation a.system-identity.current{color:#ffffff;background:transparent}
 body.outlet-unified #outlet-navigation a.current:not(.system-identity){background:#282828;color:#ffffff}
 body.outlet-unified #outlet-navigation .o99-canvas{filter:none}
 body.outlet-unified aside nav a,
 body.outlet-unified .sidebar button.nav,
 body.outlet-unified aside .nav-group summary{color:#ffffff}
 body.outlet-unified aside nav a:hover,
 body.outlet-unified .sidebar button.nav:hover{background:#181818;color:#ffffff}
 body.outlet-unified aside nav a.active,
 body.outlet-unified aside nav a.selected,
 body.outlet-unified .sidebar button.nav.active{background:#282828;color:#ffffff;border-color:#ffffff}
 body.outlet-unified .side-label,
 body.outlet-unified .nav-label,
 body.outlet-unified aside small,
 body.outlet-unified .topbar .subtle,
 body.outlet-unified .topbar small,
 body.outlet-unified .platform .session-name small{color:#ffffff}
 body.outlet-unified .side-bottom{border-color:#303030}
 body.outlet-unified .side-bottom .module-link{color:#ffffff}
}

/* White labels on dark navigation; leave light buttons and form fields legible. */
@media screen {
 body.outlet-unified :is(.shell>aside,.layout>aside) :is(.brand,.brand strong,.sidebar-title,h2,.account,.account small,.nav-label,.side-label,.nav-group summary,.nav-dot),
 body.outlet-unified .topbar :is(strong,small,.subtle,.connection,.connection-status),
 body.outlet-unified .platform :is(.session-name,.session-name small),
 body.outlet-unified #outlet-navigation summary{color:#ffffff}
}

/* 1.9.69: flight stays inside the existing logo box; no layout animation. */
@media screen {
 #outlet-navigation .o99-system-ship .o99-ship{
  animation:o99-ship-flight 7s ease-in-out infinite;
  animation-play-state:paused;
  transform-origin:50% 55%;
 }
 #outlet-navigation .o99-system-ship.o99-flying .o99-ship{animation-play-state:running}
 @keyframes o99-ship-flight{
  0%,100%{transform:translate(-2px,1px) rotate(-5deg)}
  25%{transform:translate(0,-2px) rotate(2deg)}
  50%{transform:translate(2px,0) rotate(5deg)}
  75%{transform:translate(0,2px) rotate(-2deg)}
 }
}
@media screen and (prefers-reduced-motion:reduce){
 #outlet-navigation .o99-system-ship .o99-ship{animation:none;transform:none}
}

/* Small, soft light pulses below the saucer, screen only. */
@media screen {
 #outlet-navigation .o99-laser{
  opacity:0;
  animation:o99-laser-pulse 4.8s ease-in-out infinite;
  animation-play-state:paused;
 }
 #outlet-navigation .o99-laser-b{animation-delay:.5s}
 #outlet-navigation .o99-laser-c{animation-delay:1s}
 #outlet-navigation .o99-flying .o99-laser{animation-play-state:running}
 @keyframes o99-laser-pulse{
  0%,12%{opacity:0;transform:translateY(-2px)}
  28%{opacity:.8;transform:translateY(0)}
  52%{opacity:0;transform:translateY(6px)}
  100%{opacity:0;transform:translateY(6px)}
 }
}
@media screen and (prefers-reduced-motion:reduce){
 #outlet-navigation .o99-laser{animation:none;opacity:.35;transform:none}
}

/* 1.9.72: center the home heading within the same axis as its emblem. */
@media screen {
 body.outlet-home .hero.hero-emblem .home-command-title h1{
  max-width:none;
  width:100%;
  margin-inline:auto;
  text-align:center;
 }
}

/* Access screens only. Same form, panel geometry and original print resources. */
@media screen {
 body.outlet-unified[data-module="matrix"] .auth-intro,
 body.outlet-unified[data-module="pos"] .login-art {background:#000;color:#fff}
 body.outlet-unified[data-module="matrix"] .auth-intro :is(h1,p,strong,small),
 body.outlet-unified[data-module="pos"] .login-art :is(h1,p,.module-link) {color:#fff}
 body.outlet-unified[data-module="pos"] .login-identity {display:flex;align-items:center;gap:12px;text-decoration:none}
 body.outlet-unified[data-module="pos"] .login-identity>.o99-mark {width:48px;height:48px;flex:0 0 48px}
 body.outlet-unified[data-module="pos"] .login-identity>img {width:48px;height:48px;object-fit:contain}
}
@media screen {
 body.outlet-unified[data-module="matrix"] .auth-form button.primary,
 body.outlet-unified[data-module="pos"] .login-form button:not(.secondary) {background:#000;color:#fff;border-color:#000}
}

/* 1.9.77: consistent black identity in every module, including access and security. */
@media screen {
 body.outlet-unified :is(.masthead,.control-layout>aside,.control>.intro),
 body.outlet-unified[data-module="pq"] .auth {background:#000;color:#fff;border-color:#303030}
 body.outlet-unified :is(.masthead,.control-layout>aside,.control>.intro) :is(h1,h2,p,small,a,.eyebrow,.hint),
 body.outlet-unified[data-module="pq"] .auth :is(h1,p,label,summary,.muted) {color:#fff}
 body.outlet-unified .control-layout>aside button {background:#000;color:#fff;border-color:#303030}
 body.outlet-unified .control-layout>aside button.active {background:#282828;color:#fff}
 body.outlet-unified .control>.intro .button {background:#222;color:#fff}
 body.outlet-unified .auth-identity {display:flex;align-items:center;gap:12px}
 body.outlet-unified .auth-identity>.o99-mark {width:52px;height:52px;flex:0 0 52px}
 body.outlet-unified[data-module="pq"] .auth :is(input,select,textarea) {background:#fff;color:#111}
}

/* 1.9.82: module links on the Matrix account panel, screen only. */
@media screen {
 body.outlet-unified[data-module="matrix"] aside .account a.quiet.button {
  background:#000; color:#fff; border-color:#333; box-shadow:none;
  text-decoration:none; display:flex; align-items:center; justify-content:flex-start;
 }
 body.outlet-unified[data-module="matrix"] aside .account a.quiet.button:hover {
  background:#191919; color:#fff; border-color:#555;
 }
 body.outlet-unified[data-module="matrix"] aside .account a.quiet.button:focus-visible {
  outline:2px solid #70ed96; outline-offset:2px;
 }
}

/* Estadísticas 1.9.104: estilos externos compatibles con CSP style-src self. */

.stats-dashboard .filters-panel .period-switch{margin:0 0 18px;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.stats-dashboard .filters-panel .period-switch button{background:#fff;color:#20252a;border:1px solid #cdd4d8;border-radius:10px;padding:12px 22px;min-height:44px}
.stats-dashboard .filters-panel .period-switch button.active{background:#111;color:#fff;border-color:#111}
.stats-dashboard #period-help{margin:14px 0 0;line-height:1.5}
.stats-dashboard .stats-filters label{min-width:170px}
.stats-dashboard .stats-filters label:first-of-type{flex:1}
.stats-dashboard .stats-submit{background:#111;color:#fff;min-height:44px}
.stats-dashboard .expense-control>summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center}
.stats-dashboard .expense-control>summary h2{margin:0;font-size:21px}
.stats-dashboard .expense-control>summary strong{font-size:23px}
@media(max-width:700px){.stats-dashboard .filters-panel .period-switch{padding:14px 14px 0;margin-bottom:0}.stats-dashboard .filters-panel .period-switch button{flex:1;padding:10px 8px}.stats-dashboard #period-help{padding:0 14px 14px}.stats-dashboard .stats-filters label:first-of-type{grid-column:1/-1}.stats-dashboard .stats-filters #month-anchor{grid-column:1/-1}}
.stats-dashboard .monthly-close-grid{grid-template-columns:1fr 1fr}
.stats-dashboard .close-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.stats-dashboard .close-kpis article{border:1px solid #dce5ef;border-radius:12px;padding:18px;background:#fff}
.stats-dashboard .close-kpis span,.stats-dashboard .close-kpis small{display:block;color:#52677a;line-height:1.5}
.stats-dashboard .close-kpis strong{display:block;font-size:26px;margin:9px 0}
.stats-dashboard .close-kpis .close-final{background:#f0f8f3;border-color:#c4dfce}
.stats-dashboard .close-equation{line-height:1.7;margin:12px 0 18px;font-size:12px;color:#52677a}
@media(max-width:500px){.stats-dashboard .monthly-close-grid,.stats-dashboard .close-kpis{grid-template-columns:1fr}}
