@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root,[data-theme=dark]{--evotec-electric-blue: #276ff3;--evotec-cyber-cyan: #00c0fc;--evotec-mineral-gray: #848484;--evotec-deep-violet: #a32de8;--evotec-deep-blue: #203570;--evotec-slate-gray: #546e7a;--evotec-cloud-gray: #f5f5f5;--evotec-deep-space: #1a1a1b;--evotec-soft-cyan: #e0f7fe;--evotec-success-green: #00c853;--evotec-warning-amber: #ffb300;--evotec-error-red: #e53935;--bg-base: #121318;--bg-elevated: #1c1f2e;--bg-surface: #252a3a;--bg-input: #1a1e2b;--border-subtle: rgba(0, 192, 252, .12);--border-strong: rgba(0, 192, 252, .28);--text-primary: #eef2f8;--text-secondary: #94a3b8;--text-muted: #64748b;--brand-gradient: linear-gradient(135deg, var(--evotec-cyber-cyan), var(--evotec-deep-violet));--brand-glow: radial-gradient(ellipse at 20% 0%, rgba(0, 192, 252, .18), transparent 55%), radial-gradient(ellipse at 80% 100%, rgba(163, 45, 232, .14), transparent 50%);--sidebar-bg: #203570;--sidebar-text: rgba(255, 255, 255, .78);--sidebar-text-active: #fff;--sidebar-active-bg: var(--brand-gradient);--sidebar-active-shadow: 0 2px 12px rgba(0, 192, 252, .25);--sidebar-border: rgba(255, 255, 255, .1);--sidebar-section-color: rgba(255, 255, 255, .42);--sidebar-hover-bg: rgba(255, 255, 255, .08);--sidebar-group-border: rgba(0, 192, 252, .22);--sidebar-group-bg: rgba(0, 192, 252, .06);--sidebar-sub-active-bg: rgba(0, 192, 252, .18);--sidebar-sub-active-border: rgba(0, 192, 252, .35);--sidebar-items-border: rgba(0, 192, 252, .35);--header-bg: var(--bg-elevated);--header-border: var(--border-subtle);--picker-bg: linear-gradient(135deg, rgba(0,192,252,.12), rgba(120,80,255,.1));--picker-border: rgba(0,192,252,.45);--picker-label: var(--evotec-cyber-cyan);--picker-icon: var(--evotec-cyber-cyan);--badge-bg: rgba(0,192,252,.1);--badge-border: rgba(0,192,252,.35);--badge-color: var(--evotec-cyber-cyan);--sidebar-width: 260px;--header-height: 64px;--radius-sm: 8px;--radius-md: 12px;--shadow-sm: 0 1px 3px rgba(0,0,0,.35);--shadow-md: 0 8px 32px rgba(0,0,0,.45);--shadow-glow: 0 0 0 1px var(--border-subtle), 0 12px 40px rgba(0,192,252,.08);color-scheme:dark}[data-theme=light]{--evotec-electric-blue: #1a56c4;--evotec-cyber-cyan: #0284c7;--evotec-mineral-gray: #64748b;--evotec-deep-violet: #7c3aed;--evotec-deep-blue: #1e40af;--evotec-slate-gray: #475569;--evotec-cloud-gray: #f1f5f9;--evotec-deep-space: #0f172a;--evotec-soft-cyan: #e0f2fe;--evotec-success-green: #16a34a;--evotec-warning-amber: #d97706;--evotec-error-red: #dc2626;--bg-base: #f8fafc;--bg-elevated: #ffffff;--bg-surface: #f1f5f9;--bg-input: #ffffff;--border-subtle: rgba(15, 23, 42, .08);--border-strong: rgba(15, 23, 42, .2);--text-primary: #0f172a;--text-secondary: #475569;--text-muted: #94a3b8;--brand-gradient: linear-gradient(135deg, #0284c7, #7c3aed);--brand-glow: radial-gradient(ellipse at 20% 0%, rgba(2,132,199,.1), transparent 55%), radial-gradient(ellipse at 80% 100%, rgba(124,58,237,.08), transparent 50%);--sidebar-bg: #0f172a;--sidebar-text: rgba(255, 255, 255, .72);--sidebar-text-active: #fff;--sidebar-active-bg: linear-gradient(135deg, #0284c7, #7c3aed);--sidebar-active-shadow: 0 2px 12px rgba(2,132,199,.3);--sidebar-border: rgba(255, 255, 255, .09);--sidebar-section-color: rgba(255, 255, 255, .38);--sidebar-hover-bg: rgba(255, 255, 255, .07);--sidebar-group-border: rgba(2,132,199,.22);--sidebar-group-bg: rgba(2,132,199,.06);--sidebar-sub-active-bg: rgba(2,132,199,.18);--sidebar-sub-active-border: rgba(2,132,199,.35);--sidebar-items-border: rgba(2,132,199,.35);--header-bg: #ffffff;--header-border: rgba(15,23,42,.08);--picker-bg: linear-gradient(135deg, rgba(2,132,199,.08), rgba(124,58,237,.06));--picker-border: rgba(2,132,199,.4);--picker-label: #0284c7;--picker-icon: #0284c7;--badge-bg: rgba(2,132,199,.08);--badge-border: rgba(2,132,199,.25);--badge-color: #0284c7;--shadow-sm: 0 1px 3px rgba(0,0,0,.08);--shadow-md: 0 8px 32px rgba(0,0,0,.12);--shadow-glow: 0 0 0 1px var(--border-subtle), 0 4px 16px rgba(0,0,0,.06);color-scheme:light}*,*:before,*:after{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:Inter,system-ui,-apple-system,sans-serif;font-size:14px;line-height:1.5;color:var(--text-primary);background:var(--bg-base);-webkit-font-smoothing:antialiased}h1,h2,h3,h4{margin:0 0 .5rem;font-weight:600;line-height:1.25;color:var(--text-primary)}h1{font-size:1.75rem}h2{font-size:1.35rem}h3{font-size:1.1rem}p{margin:0 0 1rem;color:var(--text-secondary)}a{color:var(--evotec-cyber-cyan);text-decoration:none}a:hover{text-decoration:underline}.card{background:var(--bg-elevated);border-radius:var(--radius-md);box-shadow:var(--shadow-glow);border:1px solid var(--border-subtle);padding:1.25rem}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.stat-card{display:flex;flex-direction:column;gap:.35rem}.stat-card__label{font-size:.85rem;color:var(--text-secondary);font-weight:500}.stat-card__value{font-size:2rem;font-weight:700;color:var(--evotec-cyber-cyan)}.stat-card__value--warning{color:var(--evotec-warning-amber)}.badge{display:inline-flex;align-items:center;padding:.15rem .55rem;border-radius:999px;font-size:.75rem;font-weight:600}.badge--receta{background:#a32de838;color:#d8a8ff}.badge--libre{background:#00c8532e;color:#6ee7a0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.55rem 1rem;border:none;border-radius:var(--radius-sm);font-family:inherit;font-size:.875rem;font-weight:600;cursor:pointer;transition:transform .15s,box-shadow .15s,opacity .15s}.btn:hover{transform:translateY(-1px)}.btn--primary{background:var(--brand-gradient);color:#fff;box-shadow:0 4px 16px #00c0fc40}.btn--primary:hover{filter:brightness(1.08)}.btn--primary:disabled{opacity:.45;transform:none;cursor:not-allowed}.btn--sm{padding:.35rem .65rem;font-size:.8rem}.btn--ghost{background:transparent;border:1px solid rgba(132,132,132,.4);color:var(--text-secondary)}.btn--ghost:hover{background:#8484841f}input,select,textarea{background:var(--bg-input);color:var(--text-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);font-family:inherit;transition:border-color .15s,box-shadow .15s}input::placeholder{color:var(--text-muted)}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--border-strong);box-shadow:0 0 0 3px #00c0fc26}select option{background:var(--bg-elevated);color:var(--text-primary)}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}table.data-table{width:100%;border-collapse:collapse;font-size:.875rem;min-width:520px}table.data-table th,table.data-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--border-subtle)}table.data-table th{font-weight:600;color:var(--evotec-cyber-cyan);background:#00c0fc0f}table.data-table tbody tr:hover{background:#00c0fc0a}table.data-table td{color:var(--text-primary)}.page-header{margin-bottom:1.5rem}.page-header__subtitle{color:var(--text-secondary);margin:0}.empty-state{text-align:center;padding:3rem 1rem;color:var(--text-muted)}@media(max-width:640px){.card-grid{grid-template-columns:1fr;gap:.65rem}.stat-card__value{font-size:clamp(1.35rem,6vw,2rem)}table.data-table{min-width:480px}table.data-table th,table.data-table td{padding:.55rem .65rem;font-size:.8rem}h1{font-size:1.35rem}}.app-shell{display:flex;min-height:100vh}.app-sidebar-backdrop{display:none}.app-sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);color:var(--sidebar-text-active);display:flex;flex-direction:column;flex-shrink:0;position:fixed;top:0;left:0;bottom:0;z-index:100}.app-sidebar__brand{padding:1.25rem 1.25rem 1rem;border-bottom:1px solid var(--sidebar-border)}.app-sidebar__logo{display:block;width:100%;max-width:160px;height:auto;margin-bottom:.85rem}.app-sidebar__brand-title{font-size:1rem;font-weight:700;margin:0;line-height:1.3}.app-sidebar__brand-sub{font-size:.72rem;opacity:.65;margin-top:.25rem}.app-sidebar__nav{flex:1;padding:1rem .75rem;display:flex;flex-direction:column;gap:.25rem;overflow-y:auto}.nav-link{display:flex;align-items:center;gap:.65rem;padding:.65rem .85rem;border-radius:var(--radius-sm);color:var(--sidebar-text);text-decoration:none;font-weight:500;transition:background .15s,color .15s}.nav-link:hover{background:var(--sidebar-hover-bg);color:var(--sidebar-text-active);text-decoration:none}.nav-link.active{background:var(--sidebar-active-bg);color:var(--sidebar-text-active);box-shadow:var(--sidebar-active-shadow)}.nav-link__icon,.nav-link app-nav-icon{width:20px;height:20px;opacity:.9;flex-shrink:0}.nav-link__label{flex:1;min-width:0}.nav-section{display:flex;flex-direction:column;gap:.35rem}.nav-section--dashboard{margin-bottom:.5rem}.nav-section--ops{padding-top:.65rem;border-top:1px solid var(--sidebar-border)}.nav-section__label{margin:0 .5rem;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--sidebar-section-color)}.nav-group{display:flex;flex-direction:column;gap:.15rem}.nav-group--boxed{padding:.35rem;border-radius:var(--radius-sm);border:1px solid var(--sidebar-group-border);background:var(--sidebar-group-bg)}.nav-group__toggle{width:100%;border:none;background:transparent;cursor:pointer;font-family:inherit;text-align:left}.nav-group__chevron{width:16px;height:16px;opacity:.7;transition:transform .15s ease;flex-shrink:0}.nav-group__chevron--open{transform:rotate(180deg)}.nav-group__items{display:flex;flex-direction:column;gap:.1rem;padding:.2rem 0 .15rem .65rem;margin-left:.5rem;border-left:2px solid var(--sidebar-items-border)}.nav-link--sub{padding:.45rem .65rem .45rem .5rem;font-size:.86rem}.nav-link--sub.active{background:var(--sidebar-sub-active-bg);box-shadow:none;border:1px solid var(--sidebar-sub-active-border)}.nav-link--sub .nav-link__icon{width:16px;height:16px;opacity:.75}.nav-badges{display:flex;gap:.35rem;margin-left:auto;flex-shrink:0}.nav-badge{min-width:1.35rem;height:1.35rem;padding:0 .35rem;border-radius:999px;font-size:.68rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;line-height:1}.nav-badge--low{background:#e74c3c;color:#fff}.nav-badge--high{background:#27ae60;color:#fff}.app-sidebar__footer{padding:1rem 1.25rem;border-top:1px solid var(--sidebar-border);font-size:.72rem;opacity:.75;display:flex;flex-direction:column;align-items:flex-start;gap:.35rem}.app-sidebar__footer-logo{display:block;height:22px;width:auto;opacity:.9}.app-main{flex:1;margin-left:var(--sidebar-width);display:flex;flex-direction:column;min-height:100vh;min-width:0;width:100%}.app-header{height:auto;min-height:var(--header-height);background:var(--header-bg);border-bottom:1px solid var(--header-border);display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;position:sticky;top:0;z-index:50;gap:.75rem;flex-wrap:wrap}.app-header__start{display:flex;align-items:center;gap:.65rem;min-width:0;flex:1}.app-menu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--bg-surface);color:var(--text-primary);cursor:pointer;flex-shrink:0}.app-menu-btn svg{width:22px;height:22px}.app-menu-btn:hover{border-color:var(--border-strong)}.app-header__logo{display:none;height:32px;width:auto;flex-shrink:0}.app-header__title{font-size:1.05rem;font-weight:600;color:var(--text-primary);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-header__meta{font-size:.8rem;color:var(--text-secondary)}.app-content{flex:1;display:flex;flex-direction:column;padding:1.5rem;background:var(--bg-base);min-width:0;min-height:0;overflow-x:hidden}.app-content__body{flex:1 1 auto;min-height:0}.app-header__end{display:flex;flex-direction:column;align-items:flex-end;gap:.15rem;font-size:.8rem;max-width:100%}.app-header__user{font-weight:600;color:var(--text-primary);text-align:right;word-break:break-word}.btn-logout{background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:var(--radius-sm);padding:.35rem .65rem;font-size:.75rem;cursor:pointer;margin-bottom:.35rem;font-family:inherit}.btn-logout:hover{background:#ffffff1a}.theme-switch{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .55rem;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:transparent;color:#ffffffb3;font-size:.72rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.theme-switch:hover{background:#ffffff1a;color:#fff}.theme-switch svg{width:14px;height:14px;flex-shrink:0}.app-shell--menu-open{overflow:hidden}@media(max-width:900px){.app-menu-btn{display:inline-flex}.app-sidebar{width:min(280px,88vw);transform:translate(-100%);transition:transform .2s ease;box-shadow:var(--shadow-md)}.app-sidebar.is-open{transform:translate(0)}.app-sidebar-backdrop{display:block;position:fixed;inset:0;background:#0000008c;z-index:99}.app-main{margin-left:0}.app-content{padding:.85rem}.app-header{padding:.5rem .85rem}.app-header__sucursal-select{max-width:min(100%,200px);font-size:.75rem}.page-header h1{display:none}.page-header{margin-bottom:.85rem}}@media(max-width:480px){.app-header{flex-direction:column;align-items:stretch}.app-header__start{width:100%}.app-header__end{width:100%;align-items:flex-start}.app-header__sucursal-select{max-width:100%;width:100%;margin-left:0}.app-header__user{text-align:left;font-size:.75rem}.app-header__title{font-size:.95rem}}
