:root{--blue:#205f93;--blue2:#17466e;--ink:#111820;--surface:#f4f6f8;--card:#fff;--border:#d9e0e6;--muted:#66727d;--soft:#e9f2f9;--success:#26845a;--shadow:0 18px 50px rgba(17,24,32,.08);--sidebar:264px}html[data-theme="dark"]{--ink:#edf3f7;--surface:#0d141b;--card:#151e27;--border:#2a3845;--muted:#9aabb8;--soft:#1b2b38;--shadow:0 20px 55px rgba(0,0,0,.25)}*{box-sizing:border-box}html{font-size:16px}body{margin:0;background:var(--surface);color:var(--ink);font-family:Inter,"Segoe UI",sans-serif;transition:background .25s,color .25s}button,input{font:inherit}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;white-space:nowrap}.brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(145deg,var(--blue),var(--blue2));font-weight:800;box-shadow:0 8px 20px rgba(32,95,147,.25)}.brand strong,.eyebrow{color:var(--blue)}.app-shell{min-height:100vh}.app-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);padding:24px 18px;display:flex;flex-direction:column;background:var(--card);border-right:1px solid var(--border);z-index:30;transition:width .25s,transform .25s}.app-sidebar .brand{padding:0 10px 26px}.app-nav{display:grid;gap:7px}.nav-link{width:100%;min-height:47px;padding:0 12px;display:flex;align-items:center;gap:12px;border:0;border-radius:11px;color:var(--muted);background:transparent;text-decoration:none;text-align:left;transition:.18s}.nav-link:hover,.nav-link.active{color:var(--blue);background:var(--soft)}.nav-icon{width:22px;text-align:center;font-size:1.15rem}.nav-link small{margin-left:auto;font-size:.62rem;opacity:.7}.sidebar-foot{margin-top:auto}.icon-button{min-width:42px;height:42px;border:1px solid var(--border);border-radius:11px;color:var(--ink);background:var(--card);transition:.18s}.icon-button:hover{color:var(--blue);border-color:var(--blue)}.icon-button.wide{width:100%;display:flex;align-items:center;gap:12px;padding:0 13px}.app-stage{min-height:100vh;margin-left:var(--sidebar);transition:margin .25s}.app-topbar{height:72px;padding:0 4vw;display:flex;align-items:center;justify-content:space-between;gap:20px;background:color-mix(in srgb,var(--card) 92%,transparent);border-bottom:1px solid var(--border);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.command{width:min(520px,48vw);height:42px;padding:0 12px;display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--muted)}.command input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink)}.command kbd{padding:3px 7px;border:1px solid var(--border);border-radius:6px;background:var(--card);font-size:.7rem}.top-actions{display:flex;align-items:center;gap:10px}.top-actions form{margin:0}.user-button{height:42px;padding:0 13px;display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:11px;background:var(--card);color:var(--ink)}.user-dot{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;color:#fff;background:var(--ink);font-weight:700}.app-content{width:min(1240px,92%);margin:0 auto;padding:44px 0 70px}.dashboard-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:26px}.eyebrow{display:block;font-size:.72rem;font-weight:800;letter-spacing:.13em}.dashboard-head h1{margin:7px 0 5px;font-size:clamp(2rem,4vw,3.1rem);letter-spacing:-.045em}.dashboard-head p,.panel p{margin:0;color:var(--muted)}.live-status{padding:9px 13px;border:1px solid #b7ddc8;border-radius:999px;color:var(--success);background:#edf8f2;font-size:.82rem;font-weight:700;white-space:nowrap}.live-status i{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:var(--success)}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric,.panel{background:var(--card);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow)}.metric{padding:20px;display:flex;gap:15px;align-items:center}.metric.accent{border-top:3px solid var(--blue)}.metric-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--soft);color:var(--blue);font-size:1.2rem}.metric small{display:block;color:var(--muted)}.metric strong{display:block;margin:3px 0;font-size:1.55rem}.metric p{margin:0;color:var(--muted);font-size:.77rem}.dashboard-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:16px;margin-top:16px}.panel{padding:26px}.panel h2{margin:7px 0 14px;font-size:1.2rem}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-grid button{padding:18px;text-align:left;border:1px solid var(--border);border-radius:13px;background:var(--surface);color:var(--ink);transition:.2s}.quick-grid button:hover{transform:translateY(-3px);border-color:var(--blue);box-shadow:0 10px 25px rgba(32,95,147,.12)}.quick-grid button span,.quick-grid button strong,.quick-grid button small{display:block}.quick-grid button span{color:var(--blue);font-size:1.3rem}.quick-grid button strong{margin:7px 0 4px}.quick-grid button small{color:var(--muted)}.context-panel dl{margin:0}.context-panel dl div{padding:11px 0;border-bottom:1px solid var(--border)}.context-panel dl div:last-child{border:0}.context-panel dt{color:var(--muted);font-size:.75rem}.context-panel dd{margin:3px 0 0;font-weight:650}.roadmap{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:30px}.roadmap-steps{display:flex;gap:8px;flex-wrap:wrap}.roadmap-steps span{padding:8px 11px;border-radius:999px;background:var(--surface);color:var(--muted);font-size:.75rem}.roadmap-steps .done{color:var(--blue);background:var(--soft);font-weight:700}.public-topbar{height:72px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;background:var(--card);border-bottom:1px solid var(--border)}.public-content{min-height:calc(100vh - 132px)}.public-footer{padding:22px;text-align:center;color:var(--muted);background:var(--card);border-top:1px solid var(--border);font-size:.8rem}.login-stage{min-height:calc(100vh - 132px);padding:6vh 8vw;display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:7vw;background:radial-gradient(circle at 10% 20%,rgba(32,95,147,.12),transparent 30%)}.login-story h1{margin:14px 0 20px;font-size:clamp(2.5rem,5vw,5rem);line-height:1.02;letter-spacing:-.055em}.login-story h1 strong{color:var(--blue)}.login-story p{max-width:660px;color:var(--muted);font-size:1.05rem}.story-points{margin-top:28px;display:flex;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:.85rem}.login-card{width:min(445px,100%);padding:34px;background:var(--card);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow)}.login-heading{margin-bottom:24px}.login-heading>span{color:var(--success);font-size:.78rem;font-weight:700}.status-orb{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--success)}.login-heading h2{margin:12px 0 5px;font-size:1.8rem}.login-heading p,.secure-note{margin:0;color:var(--muted)}.login-form{display:grid;gap:9px}.login-form label{margin-top:7px;font-size:.82rem;font-weight:650}.field{height:48px;padding:0 12px;display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:11px;background:var(--surface)}.field:focus-within{border-color:var(--blue);box-shadow:0 0 0 .2rem rgba(32,95,147,.14)}.field input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink)}.password-toggle{border:0;background:transparent;color:var(--blue);font-size:.78rem}.remember{display:flex;align-items:center;gap:8px}.primary-action{min-height:48px;margin-top:9px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:11px;background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;font-weight:700;box-shadow:0 10px 24px rgba(32,95,147,.24)}.primary-action.inline{width:max-content;padding:0 20px;text-decoration:none}.validation-summary,.field-error{color:#b33a3a;font-size:.8rem}.secure-note{margin-top:18px;text-align:center;font-size:.72rem}.state-page{min-height:calc(100vh - 132px);padding:10vh 8vw;display:flex;align-items:flex-start;flex-direction:column;justify-content:center}.state-code{font-size:6rem;font-weight:850;color:var(--soft);line-height:1}.state-page h1{max-width:700px;font-size:clamp(2rem,5vw,4rem);letter-spacing:-.05em}.state-page p{max-width:620px;color:var(--muted)}.alvea-toast{position:fixed;right:24px;bottom:24px;max-width:360px;padding:14px 18px;border-radius:12px;color:#fff;background:var(--ink);box-shadow:var(--shadow);opacity:0;transform:translateY(20px);pointer-events:none;transition:.25s;z-index:100}.alvea-toast.show{opacity:1;transform:none}.mobile-only{display:none}body.nav-collapsed .app-sidebar{width:78px}body.nav-collapsed .brand-copy,body.nav-collapsed .nav-link span:not(.nav-icon),body.nav-collapsed .nav-link small,body.nav-collapsed .collapse-copy{display:none}body.nav-collapsed .app-stage{margin-left:78px}body.nav-collapsed .nav-link{justify-content:center}@media(max-width:1050px){.metric-grid{grid-template-columns:repeat(2,1fr)}.login-stage{grid-template-columns:1fr}.login-story{display:none}}@media(max-width:780px){.mobile-only{display:block}.app-sidebar{transform:translateX(-100%)}.app-stage{margin-left:0}.app-topbar{padding:0 18px}.command{width:auto;flex:1}.command kbd{display:none}.user-button span:last-child{display:none}body.nav-open .app-sidebar{transform:none}.sidebar-scrim{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:25}body.nav-open .sidebar-scrim{display:block}.dashboard-head,.roadmap{align-items:flex-start;flex-direction:column}.dashboard-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr}.login-stage{padding:35px 20px}.login-card{justify-self:center}}@media(max-width:520px){.metric-grid{grid-template-columns:1fr}.app-content{width:90%;padding-top:28px}.public-topbar{padding:0 18px}.brand-copy strong{display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}/* ALVEA Experience+ */
.notification-button{position:relative}.notification-button i{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border:2px solid var(--card);border-radius:999px;color:#fff;background:#d14c4c;font-size:.62rem;font-style:normal}.notification-button.is-read i{display:none}.command-backdrop{position:fixed;inset:0;padding:12vh 20px;background:rgba(5,11,17,.66);backdrop-filter:blur(9px);z-index:200}.command-backdrop[hidden]{display:none}.command-palette{width:min(660px,100%);margin:auto;overflow:hidden;border:1px solid var(--border);border-radius:20px;background:var(--card);box-shadow:0 35px 100px rgba(0,0,0,.35);animation:palette-in .2s ease-out}.command-palette header{height:65px;padding:0 19px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border)}.command-palette header input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink);font-size:1.06rem}.command-palette kbd{padding:3px 7px;border:1px solid var(--border);border-radius:6px;color:var(--muted);background:var(--surface);font-size:.67rem}.command-body{padding:12px}.command-label{display:block;padding:6px 10px;color:var(--muted);font-size:.66rem;font-weight:800;letter-spacing:.13em}.command-body button{width:100%;padding:12px;display:flex;align-items:center;gap:13px;border:0;border-radius:12px;color:var(--ink);background:transparent;text-align:left}.command-body button:hover,.command-body button.selected{background:var(--soft)}.command-body button div{display:grid;gap:2px}.command-body button small{color:var(--muted)}.command-body button>kbd,.command-body .coming{margin-left:auto}.command-glyph{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:var(--blue);background:var(--soft)}.coming{padding:4px 8px;border-radius:999px;color:var(--muted);background:var(--surface);font-size:.64rem}.command-empty{padding:40px;text-align:center;color:var(--muted)}.command-palette footer{padding:10px 18px;display:flex;gap:18px;border-top:1px solid var(--border);color:var(--muted);font-size:.67rem}.activity-drawer{position:fixed;inset:0 0 0 auto;width:min(430px,92vw);padding:25px;display:flex;flex-direction:column;background:var(--card);border-left:1px solid var(--border);box-shadow:-25px 0 70px rgba(0,0,0,.18);transform:translateX(105%);transition:transform .28s ease;z-index:190}.activity-drawer.open{transform:none}.activity-drawer>header{display:flex;align-items:center;justify-content:space-between}.activity-drawer h2{margin:5px 0}.activity-list{margin-top:20px;display:grid;gap:9px}.activity-item{padding:15px;display:flex;gap:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.activity-item.unread{border-left:3px solid var(--blue)}.activity-icon{width:35px;height:35px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;color:var(--blue);background:var(--soft);font-weight:750}.activity-icon.success{color:var(--success)}.activity-item strong,.activity-item p,.activity-item time{display:block}.activity-item p{margin:4px 0;color:var(--muted);font-size:.8rem}.activity-item time{color:var(--muted);font-size:.67rem}.drawer-action{margin-top:auto;height:45px;border:1px solid var(--border);border-radius:11px;color:var(--blue);background:var(--card);font-weight:700}.drawer-scrim{display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:180}.drawer-scrim.open{display:block}.experience-strip{margin-top:16px;padding:27px 30px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;border:1px solid rgba(32,95,147,.2);border-radius:17px;background:linear-gradient(130deg,var(--card),var(--soft));box-shadow:var(--shadow)}.experience-copy h2{margin:7px 0}.experience-copy p{margin:0;color:var(--muted)}.experience-copy kbd{padding:3px 7px;border:1px solid var(--border);border-radius:6px;background:var(--card)}.experience-orbit{position:relative;width:94px;height:94px;flex:0 0 auto;display:grid;place-items:center}.experience-orbit:before,.experience-orbit:after{content:"";position:absolute;inset:5px;border:1px solid rgba(32,95,147,.25);border-radius:50%;animation:orbit 8s linear infinite}.experience-orbit:after{inset:20px;animation-direction:reverse;animation-duration:5s}.experience-orbit b{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:#fff;background:var(--blue)}.experience-orbit span,.experience-orbit i{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--blue)}.experience-orbit span{top:3px}.experience-orbit i{right:17px;bottom:17px}.reveal-group>*{animation:reveal-up .45s both}.reveal-group>*:nth-child(2){animation-delay:.06s}.reveal-group>*:nth-child(3){animation-delay:.12s}.reveal-group>*:nth-child(4){animation-delay:.18s}@keyframes palette-in{from{opacity:0;transform:translateY(-12px) scale(.98)}}@keyframes reveal-up{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes orbit{to{transform:rotate(360deg)}}@media(max-width:650px){.experience-strip{align-items:flex-start}.experience-orbit{display:none}.command-backdrop{padding-top:5vh}}@media(prefers-reduced-motion:reduce){.command-palette,.reveal-group>*,.experience-orbit:before,.experience-orbit:after{animation:none!important}}/* ALVEA Workspace Intelligence */
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.ui-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.ui-icon.mini{width:14px;height:14px}.nav-link .ui-icon{width:21px;height:21px}.profile-menu-wrap{position:relative}.profile-menu{position:absolute;right:0;top:52px;width:330px;padding:12px;border:1px solid var(--border);border-radius:17px;background:var(--card);box-shadow:0 24px 70px rgba(0,0,0,.2);z-index:80;animation:profile-in .18s ease-out}.profile-menu[hidden]{display:none}.profile-menu header{padding:10px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border)}.profile-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(145deg,var(--blue),var(--blue2));font-weight:800}.profile-menu header div{display:grid;gap:2px}.profile-menu small{display:block;color:var(--muted);font-size:.72rem}.profile-context{padding:10px 4px;display:grid;gap:4px;border-bottom:1px solid var(--border)}.profile-context>span{padding:8px;display:flex;align-items:center;gap:10px;border-radius:10px}.profile-context>span:hover{background:var(--surface)}.profile-context>span>span{font-size:.82rem;font-weight:650}.profile-menu>button,.profile-menu form button{width:100%;padding:10px;display:flex;align-items:center;gap:10px;border:0;border-radius:10px;color:var(--ink);background:transparent;text-align:left}.profile-menu>button:hover,.profile-menu form button:hover{background:var(--surface)}.profile-menu form{margin:3px 0 0;padding-top:4px;border-top:1px solid var(--border)}.profile-menu .danger-action{color:#b33a3a}.intelligence-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;margin-top:16px}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.panel-head>strong{color:var(--blue);font-size:1.7rem}.progress-track{height:9px;margin:18px 0;overflow:hidden;border-radius:999px;background:var(--surface)}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),#45a2d2);animation:progress-grow .8s ease-out}.readiness-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.readiness-list span{position:relative;padding-left:23px;color:var(--muted);font-size:.8rem}.readiness-list span:before{content:"";position:absolute;left:0;top:2px;width:14px;height:14px;border:1px solid var(--border);border-radius:50%}.readiness-list .complete{color:var(--ink)}.readiness-list .complete:before{border-color:var(--success);background:var(--success);box-shadow:inset 0 0 0 4px var(--card)}.recent-card ul{margin:8px 0 0;padding:0;list-style:none}.recent-card li{padding:10px 0;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border)}.recent-card li:last-child{border:0}.recent-card li div{display:grid;gap:2px}.recent-card li small,.recent-card li time{color:var(--muted);font-size:.7rem}.recent-card li time{margin-left:auto}.onboarding{position:fixed;inset:0;z-index:300;background:rgba(4,9,14,.68);backdrop-filter:blur(2px)}.onboarding[hidden]{display:none}.tour-spotlight{position:fixed;border:2px solid #71b9e6;border-radius:16px;box-shadow:0 0 0 9999px rgba(4,9,14,.15),0 0 35px rgba(68,157,215,.5);transition:.35s}.tour-card{position:fixed;width:min(390px,calc(100vw - 30px));padding:24px;border:1px solid var(--border);border-radius:18px;background:var(--card);box-shadow:0 30px 90px rgba(0,0,0,.35);transition:.35s}.tour-progress{height:4px;margin:-24px -24px 21px;overflow:hidden;border-radius:18px 18px 0 0;background:var(--surface)}.tour-progress span{display:block;width:20%;height:100%;background:var(--blue);transition:width .25s}.tour-card h2{margin:8px 0}.tour-card p{color:var(--muted)}.tour-card footer{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:10px}.tour-card footer>div{display:flex;gap:7px}.text-action,.secondary-action,.primary-mini{height:38px;padding:0 12px;border-radius:9px;font-weight:650}.text-action{border:0;color:var(--muted);background:transparent}.secondary-action{border:1px solid var(--border);color:var(--ink);background:var(--card)}.primary-mini{border:0;color:#fff;background:var(--blue)}@keyframes profile-in{from{opacity:0;transform:translateY(-7px) scale(.98)}}@keyframes progress-grow{from{width:0}}@media(max-width:900px){.intelligence-grid{grid-template-columns:1fr}}@media(max-width:600px){.profile-menu{position:fixed;top:78px;right:12px;left:12px;width:auto}.readiness-list{grid-template-columns:1fr}.tour-spotlight{display:none}.tour-card{left:15px!important;right:15px!important;bottom:15px!important;top:auto!important;width:auto}}@media(prefers-reduced-motion:reduce){.profile-menu,.progress-track i{animation:none!important}.tour-card,.tour-spotlight{transition:none!important}}/* ALVEA User Administration */
.module-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:24px}.module-head h1{margin:7px 0 5px;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.045em}.module-head p{margin:0;color:var(--muted)}.module-alert{margin-bottom:14px;padding:13px 16px;display:flex;gap:8px;border-radius:12px;font-size:.85rem}.module-alert.success{color:#176340;background:#eaf7ef;border:1px solid #b9dfc9}.module-alert.error{color:#9c3030;background:#fff0f0;border:1px solid #efc2c2}.module-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:16px}.module-metrics article{padding:19px;background:var(--card);border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow)}.module-metrics small,.module-metrics span{display:block;color:var(--muted)}.module-metrics strong{display:block;margin:4px 0;font-size:1.7rem}.module-metrics span{font-size:.74rem}.module-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.user-list-panel{padding:0;overflow:hidden}.module-toolbar{padding:15px;display:grid;grid-template-columns:minmax(260px,1fr) auto auto auto;gap:9px;border-bottom:1px solid var(--border)}.module-toolbar select,.module-search{height:42px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink)}.module-toolbar select{padding:0 10px}.module-search{padding:0 11px;display:flex;align-items:center;gap:8px}.module-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink)}.user-row{width:100%;min-height:76px;padding:13px 16px;display:grid;grid-template-columns:46px minmax(180px,1fr) 145px 85px 20px;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--border);background:var(--card);color:var(--ink);text-align:left;transition:.18s}.user-row:hover{background:var(--surface);transform:translateX(3px)}.user-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:var(--blue);background:var(--soft);font-weight:800}.user-avatar.large{width:58px;height:58px;font-size:1.15rem}.user-main,.user-branch{display:grid;gap:3px}.user-main small,.user-branch small{color:var(--muted);font-size:.72rem}.status-pill{padding:5px 8px;border-radius:999px;text-align:center;font-size:.7rem;font-weight:700}.status-pill.active{color:#176340;background:#eaf7ef}.status-pill.inactive{color:#8a4545;background:#faecec}.row-arrow{color:var(--muted);font-size:1.4rem}.user-insight p{color:var(--muted)}.user-insight ul{padding:0;display:grid;gap:9px;list-style:none;color:var(--muted);font-size:.83rem}.empty-state{padding:70px 25px;text-align:center;color:var(--muted)}.workspace-drawer{position:fixed;inset:0 0 0 auto;width:min(430px,94vw);padding:25px;background:var(--card);border-left:1px solid var(--border);box-shadow:-25px 0 70px rgba(0,0,0,.2);transform:translateX(105%);transition:.25s;z-index:210}.workspace-drawer.open{transform:none}.workspace-drawer>header{display:flex;align-items:center;justify-content:space-between}.drawer-profile{margin:24px 0;display:flex;align-items:center;gap:13px}.drawer-profile div{display:grid;gap:3px}.drawer-profile small{color:var(--muted)}.workspace-drawer dl div{padding:13px 0;border-bottom:1px solid var(--border)}.workspace-drawer dt{color:var(--muted);font-size:.74rem}.workspace-drawer dd{margin:4px 0 0;font-weight:650}.wide{width:100%;margin-top:20px}.workspace-drawer-scrim{display:none;position:fixed;inset:0;background:rgba(0,0,0,.42);z-index:200}.workspace-drawer-scrim.open{display:block}.modal-backdrop-alvea{position:fixed;inset:0;padding:6vh 20px;display:grid;place-items:center;background:rgba(4,9,14,.67);backdrop-filter:blur(7px);z-index:230}.modal-backdrop-alvea[hidden]{display:none}.form-modal{width:min(680px,100%);max-height:88vh;overflow:auto;padding:27px;border:1px solid var(--border);border-radius:20px;background:var(--card);box-shadow:0 35px 100px rgba(0,0,0,.35)}.form-modal>header{display:flex;justify-content:space-between}.form-modal h2{margin:7px 0 4px}.form-modal p{margin:0;color:var(--muted)}.user-create-form{margin-top:20px;display:grid;gap:14px}.user-create-form label{display:grid;gap:6px;font-size:.8rem;font-weight:700}.user-create-form input,.user-create-form select{height:46px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink)}.user-create-form label small{color:var(--muted);font-weight:400}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.user-create-form footer{display:flex;justify-content:flex-end;gap:9px;margin-top:5px}@media(max-width:1050px){.module-grid{grid-template-columns:1fr}.user-insight{display:none}.module-toolbar{grid-template-columns:1fr 1fr}.module-search{grid-column:1/-1}}@media(max-width:760px){.module-head{align-items:flex-start;flex-direction:column}.module-metrics{grid-template-columns:1fr 1fr}.user-row{grid-template-columns:44px 1fr 72px}.user-branch,.row-arrow{display:none}.module-toolbar{grid-template-columns:1fr}.module-search{grid-column:auto}.form-columns{grid-template-columns:1fr}}@media(max-width:480px){.module-metrics{grid-template-columns:1fr 1fr}.status-pill{font-size:.62rem}.form-modal{padding:20px}}/* ALVEA User Administration Plus */
.password-builder{display:grid;grid-template-columns:1fr auto auto;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface)}.password-builder input{border:0!important;border-radius:0!important}.password-builder button{padding:0 12px;border:0;border-left:1px solid var(--border);color:var(--blue);background:transparent;font-size:.75rem;font-weight:700}.password-strength{display:flex;align-items:center;gap:8px}.password-strength:before{content:"";width:110px;height:5px;border-radius:999px;background:var(--border)}.password-strength i{position:absolute;width:0}.password-strength[data-score="1"]:before{background:linear-gradient(90deg,#c84b4b 25%,var(--border) 25%)}.password-strength[data-score="2"]:before{background:linear-gradient(90deg,#d58b35 50%,var(--border) 50%)}.password-strength[data-score="3"]:before{background:linear-gradient(90deg,#4f91bd 75%,var(--border) 75%)}.password-strength[data-score="4"]:before{background:#2d8a5d}.password-strength span{color:var(--muted);font-size:.7rem}.safety-note{padding:12px 14px;border:1px solid #bfd9e9;border-radius:11px;color:var(--blue2);background:var(--soft);font-size:.78rem}.workspace-drawer .primary-action.wide{justify-content:space-between}.user-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}@media(max-width:560px){.password-builder{grid-template-columns:1fr auto}.password-builder button:first-of-type{grid-row:2;grid-column:1/-1;height:38px;border-top:1px solid var(--border);border-left:0}}/* ALVEA Customer Foundation */
.customer-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.customer-list-panel{padding:0;overflow:hidden}.customer-row{width:100%;min-height:78px;padding:13px 16px;display:grid;grid-template-columns:46px minmax(190px,1fr) 200px 85px 20px;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--border);background:var(--card);color:var(--ink);text-align:left;transition:.18s}.customer-row:hover{background:var(--surface);transform:translateX(3px)}.customer-contact{display:grid;gap:3px;font-size:.8rem}.customer-contact small{color:var(--muted)}.status-pill.draft{color:#8a6326;background:#fff4dc}.customer-empty{padding:75px 25px;display:grid;justify-items:center;text-align:center}.customer-empty p,.customer-insight p{max-width:500px;color:var(--muted)}.empty-orbit{width:64px;height:64px;display:grid;place-items:center;border:1px solid rgba(32,95,147,.3);border-radius:18px;color:var(--blue);background:var(--soft);font-size:1.4rem;font-weight:800}.customer-path{display:grid;gap:9px}.customer-path span{padding:9px 11px;border-left:2px solid var(--border);color:var(--muted)}.customer-path .done{border-color:var(--blue);color:var(--blue);font-weight:700}.uppercase{text-transform:uppercase}@media(max-width:1050px){.customer-workspace{grid-template-columns:1fr}.customer-insight{display:none}}@media(max-width:760px){.customer-row{grid-template-columns:44px 1fr 78px}.customer-contact,.row-arrow{display:none}}/* ALVEA Customer Management Plus */
.customer-progress{margin:22px 0;padding:15px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.customer-progress>div{display:flex;justify-content:space-between;font-size:.78rem}.customer-progress i{height:7px;margin-top:10px;display:block;overflow:hidden;border-radius:999px;background:var(--border)}.customer-progress b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),#4ca6d4);transition:width .35s}.customer-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.status-pill.active{color:#176340;background:#eaf7ef}.status-pill.inactive{color:#8a4545;background:#faecec}/* ALVEA Customer Record Workspace */
.record-breadcrumb{margin-bottom:18px;display:flex;gap:9px;color:var(--muted);font-size:.8rem}.record-breadcrumb a{color:var(--blue);text-decoration:none}.record-hero{margin-bottom:18px;padding:24px 27px;display:flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,var(--card),var(--soft));box-shadow:var(--shadow)}.record-identity{display:flex;align-items:center;gap:17px}.record-avatar{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(145deg,var(--blue),var(--blue2));font-size:1.2rem;font-weight:850}.record-hero h1{margin:6px 0 4px;font-size:clamp(1.8rem,4vw,2.7rem);letter-spacing:-.04em}.record-hero p{margin:0;color:var(--muted)}.record-hero-actions{min-width:260px;display:flex;align-items:center;gap:15px}.record-status{padding:7px 11px;border-radius:999px;background:var(--soft);color:var(--blue);font-size:.72rem;font-weight:750}.record-status.active{color:#176340;background:#eaf7ef}.record-status.inactive{color:#8a4545;background:#faecec}.record-completion{flex:1}.record-completion>div{display:flex;justify-content:space-between;font-size:.75rem}.record-completion i{height:7px;margin-top:8px;display:block;overflow:hidden;border-radius:999px;background:var(--border)}.record-completion b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),#4dadd7)}.record-shell{display:grid;grid-template-columns:235px minmax(0,1fr);gap:16px}.record-nav{align-self:start;padding:12px;position:sticky;top:90px;border:1px solid var(--border);border-radius:16px;background:var(--card);box-shadow:var(--shadow)}.record-nav-title{padding:9px 10px;color:var(--muted);font-size:.65rem;font-weight:800;letter-spacing:.13em}.record-nav button{width:100%;padding:10px;display:flex;align-items:center;gap:10px;border:0;border-radius:11px;background:transparent;color:var(--muted);text-align:left}.record-nav button:hover,.record-nav button.active{color:var(--blue);background:var(--soft)}.record-nav button>span:last-child{display:grid;gap:2px}.record-nav button small{color:var(--muted);font-size:.65rem}.record-nav-state{width:24px;height:24px;display:grid;place-items:center;border:1px solid var(--border);border-radius:8px}.record-nav-state.complete{color:#fff;background:var(--success);border-color:var(--success)}.record-nav-state.progress{color:var(--blue);border-color:var(--blue)}.record-nav-foot{margin-top:9px;padding:12px 10px;border-top:1px solid var(--border);display:grid;gap:3px}.record-nav-foot span{color:var(--muted);font-size:.65rem}.record-nav-foot strong{font-size:.76rem}.record-stage{min-width:0}.record-panel{display:none}.record-panel.active{display:block;animation:reveal-up .28s ease-out}.record-panel-head{margin-bottom:16px;display:flex;align-items:end;justify-content:space-between;gap:20px}.record-panel-head h2{margin:6px 0 4px;font-size:1.65rem}.record-panel-head p{margin:0;color:var(--muted)}.record-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.record-summary-grid.two{grid-template-columns:repeat(2,1fr)}.record-card{padding:22px;border:1px solid var(--border);border-radius:15px;background:var(--card);box-shadow:var(--shadow)}.record-card.highlight{border-top:3px solid var(--blue)}.record-card>span:first-child{color:var(--muted);font-size:.75rem}.record-card>strong{display:block;margin:6px 0;font-size:1.35rem}.record-card>strong.compact{font-size:1rem;word-break:break-word}.record-card p{margin:0;color:var(--muted);font-size:.8rem}.record-content-grid{margin-top:13px;display:grid;grid-template-columns:1fr 1fr;gap:13px}.record-data{margin:12px 0 0}.record-data.two{display:grid;grid-template-columns:1fr 1fr}.record-data div{padding:11px 0;border-bottom:1px solid var(--border)}.record-data dt{color:var(--muted);font-size:.7rem}.record-data dd{margin:3px 0 0;font-weight:650}.record-timeline{margin-top:12px}.record-timeline>div{position:relative;padding:0 0 17px 24px}.record-timeline>div:before{content:"";position:absolute;left:5px;top:12px;bottom:0;width:1px;background:var(--border)}.record-timeline i{position:absolute;left:0;top:4px;width:11px;height:11px;border-radius:50%;background:var(--blue)}.record-timeline span{display:grid;gap:3px}.record-timeline small,.record-timeline time{color:var(--muted);font-size:.68rem}.record-empty{min-height:430px;padding:60px 30px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;border:1px dashed var(--border);border-radius:17px;background:var(--card)}.record-empty-orbit{width:64px;height:64px;margin-bottom:18px;display:grid;place-items:center;border:1px solid rgba(32,95,147,.28);border-radius:50%;color:var(--blue);background:var(--soft);font-weight:850}.record-empty h2{margin:7px 0}.record-empty p{max-width:560px;color:var(--muted)}.record-empty .safety-note{margin-top:12px}@media(max-width:900px){.record-shell{grid-template-columns:1fr}.record-nav{position:static;display:flex;overflow:auto;gap:5px}.record-nav-title,.record-nav-foot{display:none}.record-nav button{min-width:max-content}.record-hero{align-items:flex-start;flex-direction:column}.record-hero-actions{width:100%}}@media(max-width:650px){.record-summary-grid,.record-summary-grid.two,.record-content-grid,.record-data.two{grid-template-columns:1fr}.record-panel-head{align-items:flex-start;flex-direction:column}.record-identity{align-items:flex-start}.record-hero-actions{align-items:flex-start;flex-direction:column}.record-completion{width:100%}}
/* ALVEA Record Polish 17B v2 */
.workspace-drawer {
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 32px;
}
.workspace-drawer > header {
  position: sticky;
  top: 0;
  z-index: 4;
  padding-bottom: 12px;
  background: var(--card);
}
.workspace-drawer dl {
  margin-bottom: 18px;
}
.workspace-drawer .primary-action.wide,
.workspace-drawer .secondary-action.wide,
.workspace-drawer .safety-note {
  flex-shrink: 0;
}
.record-shell {
  padding-bottom: 72px;
}
.record-stage {
  min-height: calc(100dvh - 260px);
  padding-bottom: 78px;
}
.record-panel.active {
  padding-bottom: 56px;
}
.record-nav {
  max-height: calc(100dvh - 155px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.record-nav button {
  flex-shrink: 0;
}
.record-content-grid,
.record-summary-grid {
  align-items: stretch;
}
.record-status.activo,
.status-pill.activo {
  color: #176340;
  background: #eaf7ef;
}
.record-status.inactivo,
.status-pill.inactivo {
  color: #8a4545;
  background: #faecec;
}
.record-status.borrador,
.status-pill.borrador {
  color: #8a6326;
  background: #fff4dc;
}
.customer-row .status-pill {
  justify-self: center;
  min-width: 76px;
}
@media (max-width: 900px) {
  .record-nav {
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
  }
  .record-shell {
    padding-bottom: 46px;
  }
}
@media (max-width: 650px) {
  .workspace-drawer {
    width: 100vw;
    padding-left: 18px;
    padding-right: 18px;
  }
  .record-hero {
    padding: 20px;
  }
  .record-stage {
    padding-bottom: 58px;
  }
}
/* ALVEA Customer Document Foundation */
.document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.document-card{padding:20px;border:1px solid var(--border);border-radius:15px;background:var(--card);box-shadow:var(--shadow)}.document-card header,.document-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.document-card h3{margin:14px 0 6px;font-size:1rem;word-break:break-word}.document-card p{margin:0;color:var(--muted);font-size:.78rem}.document-card small{display:block;margin-top:9px;color:var(--muted);font-size:.66rem;word-break:break-all}.document-card footer{margin-top:16px;padding-top:12px;border-top:1px solid var(--border);justify-content:flex-start;flex-wrap:wrap}.document-card footer a,.document-card footer button{padding:7px 10px;border:1px solid var(--border);border-radius:8px;color:var(--blue);background:transparent;font-size:.72rem;font-weight:700;text-decoration:none}.document-card footer form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0}.document-card footer select{padding:7px 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink);font-size:.72rem}.document-type{color:var(--blue);font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}@media(max-width:760px){.document-grid{grid-template-columns:1fr}}
/* ALVEA Document Status Polish 20B */
.document-card .status-pill {
  min-width: 92px;
  text-align: center;
}
.document-card .status-pill:contains("En revisiÃ³n") {
  color: var(--blue);
}
/* ALVEA CSF Reader Preview */
.csf-hero{align-items:flex-start}.csf-analysis-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin-bottom:14px}.csf-fields{grid-row:span 2}.record-data div.missing dd{color:#9b4b4b}.record-data dt small{margin-left:8px;color:var(--muted);font-weight:600}.csf-list{margin:16px 0 0;padding-left:20px;color:var(--ink)}.csf-list li{margin-bottom:10px}.csf-raw{margin-bottom:60px}.csf-raw pre{max-height:360px;overflow:auto;white-space:pre-wrap;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--soft);color:var(--ink);font-size:.78rem}.muted-text{color:var(--muted)}@media(max-width:900px){.csf-analysis-grid{grid-template-columns:1fr}.csf-fields{grid-row:auto}}
/* ALVEA CSF Parser Polish 21B */
.record-data dd{word-break:break-word}.csf-list li{word-break:break-word;line-height:1.45}.csf-fields .record-data.two{grid-template-columns:1fr}.csf-fields .record-data.two div{padding-bottom:12px}.csf-fields .record-data dd{font-size:.96rem}.csf-raw pre{overflow-x:auto}
/* ALVEA CSF Output Polish 21C */
.csf-list{padding-right:10px}.csf-list li{margin-bottom:14px}.csf-fields .record-data dt{font-size:.74rem}.csf-fields .record-data dd{letter-spacing:.01em}.csf-raw pre{line-height:1.48}
/* ALVEA CSF Comparison 21D */
.csf-comparison{margin-bottom:16px}.csf-comparison>p{color:var(--muted);max-width:900px}.comparison-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.comparison-item{border:1px solid var(--border);border-radius:14px;padding:15px;background:var(--card)}.comparison-item header{display:flex;align-items:center;justify-content:space-between;gap:12px}.comparison-item header span{border-radius:999px;padding:5px 10px;font-size:.72rem;font-weight:800}.comparison-item.match header span{background:#eaf7ef;color:#176340}.comparison-item.mismatch header span{background:#faecec;color:#8a4545}.comparison-item.detected header span{background:#eaf2ff;color:var(--blue)}.comparison-item.pending header span{background:#fff4dc;color:#8a6326}.comparison-item dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.comparison-item dt{color:var(--muted);font-size:.72rem;font-weight:800;text-transform:uppercase}.comparison-item dd{margin:4px 0 0;font-weight:800;word-break:break-word}.comparison-item small{display:block;color:var(--muted);line-height:1.4}@media(max-width:900px){.comparison-grid{grid-template-columns:1fr}.comparison-item dl{grid-template-columns:1fr}}

/* ALVEA Fiscal Workspace 22B */
.fiscal-editor-hero{align-items:flex-start}.fiscal-editor-card{margin-bottom:60px}.fiscal-form{display:grid;gap:18px}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.fiscal-form label{display:grid;gap:6px;color:var(--muted);font-weight:800;font-size:.78rem;text-transform:uppercase}.fiscal-form input,.fiscal-form select,.fiscal-form textarea{width:100%;border:1px solid var(--border);border-radius:12px;padding:11px 12px;background:var(--card);color:var(--ink);font:inherit;text-transform:none}.fiscal-form textarea{resize:vertical}.form-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.form-actions a{color:var(--blue);font-weight:800;text-decoration:none}.fiscal-entry{margin:12px 0}@media(max-width:900px){.form-grid.two,.form-grid.three{grid-template-columns:1fr}}


/* ALVEA CSF to Fiscal Handoff 22C */
.csf-fiscal-handoff{margin:0 0 16px}.csf-fiscal-handoff p{color:var(--muted);max-width:880px}.csf-fiscal-handoff .primary-action{margin-top:8px}


/* ALVEA Customer Address Workspace 23B */
.address-workspace-card,.address-form-card{margin-bottom:24px}.address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.address-card{padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--card);box-shadow:var(--shadow)}.address-card.primary{border-top:4px solid var(--blue)}.address-card header,.address-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.address-card h3{margin:14px 0 8px}.address-card p{margin:4px 0;color:var(--muted);font-size:.87rem}.address-card footer{justify-content:flex-start;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.address-card footer form{margin:0}.address-card footer button,.secondary-action{border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--blue);font-weight:800;padding:9px 12px;cursor:pointer}.address-type{color:var(--blue);font-size:.72rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.address-empty{min-height:220px}.remember{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:10px;text-transform:none!important}.remember input{width:auto!important}@media(max-width:900px){.address-grid{grid-template-columns:1fr}}


/* ALVEA Address Summary Polish 23C v2 */
.address-summary-active{min-height:260px}.address-summary-active p{color:var(--muted);max-width:620px}.address-summary-active .primary-action.inline{margin-top:16px}.address-entry{display:none}


/* ALVEA Customer Vehicle Workspace 24B */
.vehicle-workspace-card,.vehicle-form-card{margin-bottom:24px}.vehicle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.vehicle-card{padding:20px;border:1px solid var(--border);border-radius:18px;background:var(--card);box-shadow:var(--shadow)}.vehicle-card.status-active{border-top:4px solid var(--blue)}.vehicle-card.status-inactive{opacity:.82}.vehicle-card.status-archived{opacity:.68}.vehicle-card header,.vehicle-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.vehicle-card h3{margin:14px 0 8px}.vehicle-card p{margin:4px 0;color:var(--muted);font-size:.87rem}.vehicle-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.vehicle-card dt{font-size:.68rem;color:var(--muted);font-weight:900;text-transform:uppercase;letter-spacing:.08em}.vehicle-card dd{margin:3px 0 0;color:var(--ink);font-weight:800}.vehicle-card footer{justify-content:flex-start;margin-top:16px;padding-top:14px;border-top:1px solid var(--border);flex-wrap:wrap}.vehicle-card footer form{margin:0}.vehicle-card footer button,.secondary-action{border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--blue);font-weight:800;padding:9px 12px;cursor:pointer}.vehicle-status{color:var(--blue);font-size:.72rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.vehicle-notes{border-top:1px solid var(--border);padding-top:10px}.vehicle-empty{min-height:220px}@media(max-width:900px){.vehicle-grid{grid-template-columns:1fr}.vehicle-card dl{grid-template-columns:1fr}}

/* ALVEA Customer Vehicle Summary 24C */
.vehicle-summary-entry .record-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.vehicle-summary-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.vehicle-summary-metrics article {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .08), rgba(255, 255, 255, .92));
}

.vehicle-summary-metrics span,
.vehicle-summary-item span,
.vehicle-summary-item small,
.vehicle-summary-empty span {
    color: var(--muted);
    font-size: .78rem;
}

.vehicle-summary-metrics strong {
    display: block;
    margin-top: 4px;
    font-size: 1.3rem;
    color: var(--ink);
}

.vehicle-summary-list {
    display: grid;
    gap: 10px;
}

.vehicle-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--card);
}

.vehicle-summary-item strong,
.vehicle-summary-item span {
    display: block;
}

.vehicle-summary-item small {
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(14, 96, 154, .08);
    color: var(--blue);
}

.vehicle-summary-item.status-archived {
    opacity: .7;
}

.vehicle-summary-empty {
    margin-top: 18px;
    border: 1px dashed var(--border);
    border-radius: 16px;
    padding: 18px;
    background: rgba(14, 96, 154, .04);
}

.vehicle-summary-empty strong,
.vehicle-summary-empty span {
    display: block;
}

@media (max-width: 800px) {
    .vehicle-summary-entry .record-panel-head,
    .vehicle-summary-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .vehicle-summary-metrics {
        grid-template-columns: 1fr;
    }
}
/* ALVEA Customer PLD Workspace 25B */
.pld-status-card,
.pld-form-card,
.pld-summary-entry {
    margin-bottom: 24px;
}

.pld-summary-grid,
.pld-expedient-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.pld-expedient-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pld-summary-grid article,
.pld-expedient-summary article {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .07), rgba(255, 255, 255, .94));
}

.pld-summary-grid span,
.pld-expedient-summary span {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pld-summary-grid strong,
.pld-expedient-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--ink);
}

.pld-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.pld-check {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px 14px;
    background: var(--card);
    color: var(--ink);
    font-weight: 800;
}

.pld-check input[type='checkbox'] {
    width: 18px;
    height: 18px;
}

@media (max-width: 900px) {
    .pld-summary-grid,
    .pld-expedient-summary,
    .pld-check-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Customer Documents Workspace 26B */
.documents-hero,
.document-overview-card,
.document-category-card,
.document-next-card,
.documents-summary-entry {
    margin-bottom: 24px;
}

.document-metric-grid,
.document-expedient-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.document-metric-grid article,
.document-expedient-summary article,
.document-category-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .07), rgba(255, 255, 255, .94));
}

.document-metric-grid span,
.document-expedient-summary span,
.document-category-item header span {
    display: block;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.document-metric-grid strong,
.document-expedient-summary strong,
.document-category-item header strong {
    display: block;
    margin-top: 6px;
    color: var(--ink);
}

.document-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.document-category-item p {
    color: var(--muted);
    margin: 12px 0 10px;
}

.document-category-item small {
    color: var(--blue);
    font-weight: 800;
}

.document-category-item.future {
    opacity: .72;
}

@media (max-width: 1000px) {
    .document-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .document-category-grid,
    .document-metric-grid,
    .document-expedient-summary {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Customer Document Upload 26C */
.document-upload-card {
    margin-bottom: 24px;
}

.document-upload-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.document-upload-form input[type='file'] {
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 14px;
    background: rgba(14, 96, 154, .04);
}

.document-upload-preview {
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(27, 132, 86, .08), rgba(255, 255, 255, .96));
}

.document-upload-preview strong,
.document-upload-preview small,
.document-upload-preview a {
    display: block;
    margin-top: 6px;
}

.document-upload-preview p {
    color: var(--muted);
    margin: 8px 0;
}

/* ALVEA Customer Record Core Cut 27A */
.core-cut-card {
    margin-bottom: 24px;
}

.core-cut-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(27, 132, 86, .12);
    color: #1b8456;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.core-cut-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.core-cut-item {
    display: block;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .07), rgba(255, 255, 255, .95));
    color: var(--ink);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.core-cut-item:hover {
    border-color: rgba(14, 96, 154, .35);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.core-cut-item span {
    display: block;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.core-cut-item strong {
    display: block;
    margin-top: 7px;
    font-size: 1rem;
}

.core-cut-item small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.35;
}

.core-cut-item.future {
    opacity: .74;
}

@media (max-width: 1000px) {
    .core-cut-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .core-cut-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Customer Document Persistence 26D */
.document-list-card {
    margin-bottom: 24px;
}

.document-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.document-list-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .07), rgba(255, 255, 255, .95));
}

.document-list-item header span {
    display: block;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.document-list-item header strong,
.document-list-item small,
.document-list-item em,
.document-list-item footer {
    display: block;
    margin-top: 8px;
}

.document-list-item p {
    color: var(--muted);
    margin: 10px 0 0;
}

.document-list-item small,
.document-list-item em {
    color: var(--muted);
}

.document-list-empty {
    margin-top: 18px;
}

@media (max-width: 900px) {
    .document-list-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Customer Specific Inquiry Workspace 29B */
.specific-inquiry-hero,
.specific-inquiry-summary-card,
.specific-inquiry-form-card,
.specific-inquiry-summary-entry {
    margin-bottom: 24px;
}

.specific-inquiry-metrics,
.specific-inquiry-expedient-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.specific-inquiry-expedient-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.specific-inquiry-metrics article,
.specific-inquiry-expedient-summary article {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .07), rgba(255, 255, 255, .94));
}

.specific-inquiry-metrics span,
.specific-inquiry-expedient-summary span {
    display: block;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.specific-inquiry-metrics strong,
.specific-inquiry-expedient-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--ink);
}

.form-grid.three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1000px) {
    .specific-inquiry-metrics,
    .form-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .specific-inquiry-metrics,
    .specific-inquiry-expedient-summary,
    .form-grid.three {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Customer Sales Sheet Workspace 30B */
.sales-sheet-hero,
.sales-sheet-list-card,
.sales-sheet-form-card,
.sales-sheet-summary-entry {
    margin-bottom: 24px;
}

.sales-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.sales-sheet-card,
.sales-sheet-expedient-summary article {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .07), rgba(255, 255, 255, .95));
}

.sales-sheet-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sales-sheet-card header span,
.sales-sheet-expedient-summary span {
    display: block;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sales-sheet-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.sales-sheet-card dt {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sales-sheet-card dd {
    margin: 3px 0 0;
    color: var(--ink);
    font-weight: 800;
}

.sales-sheet-note {
    border-top: 1px solid var(--border);
    margin-top: 12px;
    padding-top: 12px;
}

.sales-sheet-expedient-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.sales-sheet-expedient-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--ink);
}

.sales-sheet-check {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px 14px;
    background: var(--card);
    color: var(--ink);
    font-weight: 800;
}

@media (max-width: 920px) {
    .sales-sheet-grid,
    .sales-sheet-card dl,
    .sales-sheet-expedient-summary {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Sales Sheet Prefill 30C */
.sales-sheet-prefill-banner {
    border: 1px solid rgba(14, 96, 154, .22);
    border-radius: 16px;
    padding: 14px 16px;
    margin: 16px 0 4px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .08), rgba(255, 255, 255, .96));
}

.sales-sheet-prefill-banner strong {
    display: block;
    margin-top: 6px;
    color: var(--ink);
}

.sales-sheet-prefill-banner p {
    color: var(--muted);
    margin: 8px 0 0;
}

/* ALVEA VW Price Source Workspace 31B */
.vw-price-hero,
.vw-price-upload-card,
.vw-price-list-card {
    margin-bottom: 24px;
}

.vw-price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.vw-price-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .07), rgba(255, 255, 255, .95));
}

.vw-price-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vw-price-card header span {
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.vw-price-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.vw-price-card dt {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vw-price-card dd {
    margin: 3px 0 0;
    color: var(--ink);
    font-weight: 800;
}

.vw-price-check {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 13px 14px;
    background: var(--card);
    color: var(--ink);
    font-weight: 800;
}

.form-actions .secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 920px) {
    .vw-price-grid,
    .vw-price-card dl {
        grid-template-columns: 1fr;
    }
}

/* ALVEA VW Price Source Preview 31C */
.vw-preview-summary-card,
.vw-preview-table-card,
.vw-preview-next-card {
    margin-bottom: 24px;
}

.vw-preview-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.vw-preview-chip-grid span {
    border: 1px solid rgba(14, 96, 154, .22);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(14, 96, 154, .07);
    color: var(--blue);
    font-weight: 800;
    font-size: .82rem;
}

.vw-preview-table-wrap {
    overflow: auto;
    margin-top: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.vw-preview-table {
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
    font-size: .82rem;
}

.vw-preview-table th,
.vw-preview-table td {
    border-bottom: 1px solid var(--border);
    padding: 9px 10px;
    text-align: left;
    vertical-align: top;
    max-width: 240px;
}

.vw-preview-table th {
    background: rgba(14, 96, 154, .06);
    color: var(--ink);
    font-weight: 900;
    position: sticky;
    top: 0;
    z-index: 1;
}

.vw-preview-table th.relevant {
    background: rgba(22, 163, 74, .12);
    color: #166534;
}

.vw-price-card-actions {
    margin-top: 12px;
}

/* ALVEA VW Price Source Import 31D */
.vw-preview-import-form {
    margin-top: 16px;
}

/* ALVEA Sales Sheet VW Price Selection 31E */
.sales-sheet-form small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.35;
}

/* ALVEA Sales Sheet VW Price Autofill 31F */
.sales-sheet-form select[name="VwPriceSourceEntryId"] {
    border-color: rgba(14, 96, 154, .35);
    background: linear-gradient(135deg, rgba(14, 96, 154, .04), rgba(255, 255, 255, .98));
}

/* ALVEA Sales Sheet VW Smart Filter 31G */
.sales-sheet-form select[name="VwPriceSourceEntryId"] + small {
    color: var(--blue);
    font-weight: 700;
}

/* ALVEA Sales Sheet VW Vehicle Fallback 31H */
.sales-sheet-form select[name="VwPriceSourceEntryId"] + small {
    max-width: 980px;
}

/* ALVEA Sales Sheet VW Audit Trail 31I */
.sales-sheet-vw-audit {
    border-top: 1px solid var(--border);
    margin-top: 12px;
    padding-top: 12px;
}

.sales-sheet-vw-audit span {
    display: block;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sales-sheet-vw-audit strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
}

.sales-sheet-vw-audit small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-weight: 700;
}

/* ALVEA Sales Sheet VW Commercial Breakdown 31J */
.sales-sheet-vw-audit em {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .78rem;
    font-style: normal;
    line-height: 1.35;
}

/* ALVEA VW Price Source Entries 31K */
.vw-entry-summary-card,
.vw-entry-table-card {
    margin-bottom: 24px;
}

.vw-entry-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.vw-entry-stats div {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: rgba(14, 96, 154, .05);
}

.vw-entry-stats strong {
    display: block;
    color: var(--blue);
    font-size: 1.55rem;
}

.vw-entry-stats span {
    color: var(--muted);
    font-weight: 800;
}

.vw-entry-table small {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 920px) {
    .vw-entry-stats {
        grid-template-columns: 1fr;
    }
}

/* ALVEA VW Price Source Filters 31L */
.vw-entry-filter-card {
    margin-bottom: 24px;
}

.vw-entry-filter-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto auto;
    gap: 12px;
    align-items: end;
    margin-top: 16px;
}

.vw-entry-filter-form label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vw-entry-filter-form input,
.vw-entry-filter-form select {
    width: 100%;
    margin-top: 6px;
}

@media (max-width: 1100px) {
    .vw-entry-filter-form {
        grid-template-columns: 1fr;
    }
}

/* ALVEA VW Commercial Rule Visibility 31M */
.sales-sheet-vw-rule-preview {
    border: 1px solid rgba(14, 96, 154, .24);
    border-radius: 18px;
    padding: 16px;
    margin: 14px 0 18px;
    background: linear-gradient(135deg, rgba(14, 96, 154, .07), rgba(255, 255, 255, .96));
}

.vw-rule-preview-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.vw-rule-preview-grid div {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px;
    background: rgba(255, 255, 255, .78);
}

.vw-rule-preview-grid small {
    display: block;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vw-rule-preview-grid strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
}

.sales-sheet-vw-rule-preview p {
    color: var(--muted);
    margin: 12px 0 0;
    font-weight: 700;
}

.vw-rule-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(14, 96, 154, .08);
    color: var(--blue);
    font-size: .75rem;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .vw-rule-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA VW Price Source Operational Dashboard 31N */
.vw-source-health {
    border-top: 1px solid var(--border);
    margin-top: 12px;
    padding-top: 12px;
}

.vw-source-health > span {
    display: block;
    color: var(--blue);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.vw-source-health div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.vw-source-health strong {
    display: block;
    color: var(--ink);
    font-size: 1rem;
}

.vw-source-health small {
    display: block;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
}




/* ALVEA Sales Sheet Printable Format 32B */
.sales-sheet-format-output { margin-top: 24px; }
.sales-sheet-format-list { display: grid; gap: 10px; margin-top: 16px; }
.sales-sheet-format-summary { align-items: center; border: 1px solid var(--border); border-radius: 16px; display: flex; justify-content: space-between; gap: 14px; padding: 14px; background: rgba(14, 96, 154, .04); }
.sales-sheet-format-summary strong, .sales-sheet-format-summary span { display: block; }
.sales-sheet-format-summary span { color: var(--muted); font-weight: 700; margin-top: 3px; }
.sales-sheet-print-stage { display: none; }
.sales-sheet-print-format { background: #fff; color: #111827; font-family: Arial, sans-serif; padding: 28px; }
.sales-sheet-print-format header { align-items: flex-start; border-bottom: 2px solid #0e609a; display: flex; justify-content: space-between; padding-bottom: 14px; }
.sales-sheet-print-format header span, .sales-sheet-print-format small { color: #0e609a; display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sales-sheet-print-format h1 { margin: 4px 0; font-size: 28px; }
.sales-sheet-print-grid, .sales-sheet-print-amounts, .sales-sheet-print-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.sales-sheet-print-grid div, .sales-sheet-print-amounts div, .sales-sheet-print-vw, .sales-sheet-print-notes div { border: 1px solid #d1d5db; border-radius: 10px; padding: 12px; }
.sales-sheet-print-grid strong, .sales-sheet-print-amounts strong, .sales-sheet-print-vw strong { display: block; margin-top: 5px; }
.sales-sheet-print-grid span, .sales-sheet-print-vw span { color: #4b5563; display: block; margin-top: 4px; }
.sales-sheet-print-amounts div { display: flex; justify-content: space-between; }
.sales-sheet-print-amounts .total { border-color: #0e609a; background: #eef6fc; }
.sales-sheet-print-vw { margin-top: 18px; border-color: #0e609a; }
.sales-sheet-print-vw p, .sales-sheet-print-notes p { margin: 8px 0 0; white-space: pre-line; }
.sales-sheet-print-format footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.sales-sheet-print-format footer div { border-top: 1px solid #111827; min-height: 42px; padding-top: 8px; }
.sales-sheet-print-format footer span { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; }

@media print {
    @page { size: letter; margin: 12mm; }
    body.alvea-printing-sales-sheet * { visibility: hidden !important; }
    body.alvea-printing-sales-sheet .sales-sheet-print-stage { display: block !important; position: absolute !important; inset: 0 auto auto 0 !important; width: 100% !important; visibility: visible !important; }
    body.alvea-printing-sales-sheet .sales-sheet-print-format { display: none !important; }
    body.alvea-printing-sales-sheet .sales-sheet-print-format.print-target { display: block !important; background: #fff !important; padding: 0 !important; visibility: visible !important; }
    body.alvea-printing-sales-sheet .sales-sheet-print-format.print-target * { visibility: visible !important; }
}

/* ALVEA Document Output Foundation 33A */
.document-output-foundation {
    margin-top: 24px;
}

.document-output-heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.document-output-heading h2 {
    margin-bottom: 6px;
}

.document-output-heading p {
    color: var(--muted);
    margin: 0;
    max-width: 760px;
}

.document-output-badge {
    border: 1px solid rgba(14, 96, 154, .22);
    border-radius: 999px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 900;
    padding: 7px 12px;
    white-space: nowrap;
}

.document-output-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.document-output-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(14, 96, 154, .04);
    padding: 16px;
}

.document-output-card span {
    color: var(--blue);
    display: block;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.document-output-card strong {
    display: block;
    margin-top: 8px;
}

.document-output-card p {
    color: var(--muted);
    font-weight: 700;
    line-height: 1.35;
    margin: 8px 0 0;
}

.document-output-card small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .document-output-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .document-output-heading {
        display: block;
    }

    .document-output-badge {
        display: inline-flex;
        margin-top: 12px;
    }

    .document-output-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Output Readiness 33B */
.document-output-readiness .document-output-card {
    display: flex;
    flex-direction: column;
}

.document-output-status {
    align-self: flex-start;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
    margin-top: 12px;
    padding: 6px 10px;
}

.document-output-status.pending {
    background: rgba(245, 158, 11, .11);
    color: #92400e;
}

.document-output-status.available {
    background: rgba(22, 163, 74, .1);
    color: #166534;
}

.document-output-next-step {
    align-items: center;
    border: 1px dashed rgba(14, 96, 154, .35);
    border-radius: 16px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 16px;
    padding: 14px 16px;
}

.document-output-next-step strong {
    color: var(--blue);
    white-space: nowrap;
}

.document-output-next-step span {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 920px) {
    .document-output-next-step {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ALVEA Document Source Readiness 33C */
.document-source-readiness {
    border-top: 1px solid var(--border);
    margin-top: 18px;
    padding-top: 18px;
}

.document-source-readiness h3 {
    margin: 4px 0 6px;
}

.document-source-readiness p {
    color: var(--muted);
    font-weight: 700;
    margin: 0;
}

.document-source-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.document-source-grid article {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    padding: 14px;
}

.document-source-grid strong {
    display: block;
    color: var(--ink);
    font-size: .92rem;
}

.document-source-grid span {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 8px;
}

.document-source-grid small {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(14, 96, 154, .08);
    color: var(--blue);
    font-size: .68rem;
    font-weight: 900;
    margin-top: 10px;
    padding: 5px 8px;
}

@media (max-width: 1100px) {
    .document-source-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .document-source-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Output Global Compact 36G */
.document-output-global-compact {
    margin-top: 22px;
}

.record-panel-head.compact {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.document-output-pill {
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 900;
    padding: 8px 12px;
    white-space: nowrap;
}

.document-output-compact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.document-output-compact-grid span {
    background: rgba(14, 96, 154, .08);
    border: 1px solid rgba(14, 96, 154, .14);
    border-radius: 999px;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
    padding: 8px 10px;
}

.document-output-compact-note {
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-weight: 700;
    margin: 14px 0 0;
    padding-top: 12px;
}

/* ALVEA Document Output Workspace 37A */
.document-output-workspace {
    max-width: 1120px;
    margin: 0 auto;
}

.document-output-workspace-hero {
    margin-bottom: 22px;
}

.document-output-card-actions {
    margin-top: 12px;
}

.document-output-workspace-status {
    border-left: 5px solid var(--blue);
    margin-bottom: 22px;
}

.document-output-workspace[data-severity="Blocked"] .document-output-workspace-status {
    border-left-color: #dc2626;
}

.document-output-workspace[data-severity="Warning"] .document-output-workspace-status {
    border-left-color: #d97706;
}

.document-output-workspace[data-severity="Ready"] .document-output-workspace-status {
    border-left-color: #15803d;
}

.document-output-workspace-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.document-output-workspace-metrics div {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(14, 96, 154, .04);
    padding: 14px;
}

.document-output-workspace-metrics span {
    color: var(--muted);
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.document-output-workspace-metrics strong {
    display: block;
    font-size: 1.45rem;
    margin-top: 6px;
}

.document-output-workspace-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.document-output-workspace-grid article {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, .72);
}

.document-output-workspace-grid span {
    color: var(--blue);
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.document-output-workspace-grid strong {
    display: block;
    margin-top: 8px;
}

.document-output-workspace-grid p {
    color: var(--muted);
    font-size: .85rem;
    margin: 8px 0 0;
}

.document-output-workspace-actions ul {
    margin: 14px 0 0;
    padding-left: 18px;
}

.document-output-workspace-actions li {
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 1100px) {
    .document-output-workspace-metrics,
    .document-output-workspace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .document-output-workspace-metrics,
    .document-output-workspace-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Output Preliminary Preview 37B */
.document-output-preview-links {
    margin-top: 22px;
}

.document-output-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.document-output-preview-grid a {
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--blue);
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    padding: 14px;
    text-decoration: none;
}

.document-preview-workspace {
    max-width: 980px;
    margin: 0 auto;
}

.document-preview-warning {
    border-left: 5px solid #d97706;
    margin-bottom: 20px;
}

.document-preview-paper {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    color: #111827;
    padding: 28px;
}

.document-preview-paper header {
    align-items: flex-start;
    border-bottom: 2px solid var(--blue);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
}

.document-preview-paper header span,
.document-preview-section span,
.document-preview-grid span {
    color: var(--blue);
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.document-preview-paper h2 {
    font-size: 2rem;
    margin: 6px 0;
}

.document-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.document-preview-grid div,
.document-preview-section {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 14px;
}

.document-preview-grid strong {
    display: block;
    margin-top: 6px;
}

.document-preview-section {
    margin-top: 18px;
}

.document-preview-section ul {
    margin-bottom: 0;
}

.document-preview-paper footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.document-preview-paper footer div {
    border-top: 1px solid #111827;
    min-height: 44px;
    padding-top: 8px;
}

.document-preview-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .document-preview-paper,
    .document-preview-paper * {
        visibility: visible !important;
    }

    .document-preview-paper {
        border: 0 !important;
        box-shadow: none !important;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

    .document-preview-actions,
    .record-breadcrumb,
    .document-preview-hero,
    .document-preview-warning {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .document-output-preview-grid,
    .document-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Output Quick Actions 37C */
.document-output-quick-actions {
    margin-top: 22px;
}

.document-output-action-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.document-output-action-grid a {
    background: rgba(14, 96, 154, .04);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--ink);
    display: block;
    padding: 16px;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.document-output-action-grid a:hover {
    border-color: rgba(14, 96, 154, .38);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.document-output-action-grid span {
    color: var(--blue);
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.document-output-action-grid strong {
    display: block;
    margin-top: 8px;
}

.document-output-action-grid small {
    color: var(--muted);
    display: block;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 8px;
}

@media (max-width: 1100px) {
    .document-output-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .document-output-action-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Preview Readiness 37D */
.document-preview-readiness-panel {
    margin-bottom: 20px;
}

.document-preview-readiness-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.document-preview-readiness-grid article {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(14, 96, 154, .04);
    padding: 12px;
}

.document-preview-readiness-grid article[data-ready="false"] {
    border-color: rgba(220, 38, 38, .25);
    background: rgba(220, 38, 38, .04);
}

.document-preview-readiness-grid strong,
.document-preview-readiness-grid span,
.document-preview-readiness-grid em {
    display: block;
}

.document-preview-readiness-grid strong {
    font-size: .92rem;
}

.document-preview-readiness-grid span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    margin-top: 5px;
}

.document-preview-readiness-grid em {
    color: var(--blue);
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .06em;
    margin-top: 8px;
    text-transform: uppercase;
}

.document-preview-readiness-grid article[data-ready="false"] em {
    color: #b91c1c;
}

@media (max-width: 900px) {
    .document-preview-readiness-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Preview Detected Data 37E */
.document-preview-detected-data {
    margin-bottom: 20px;
}

.document-preview-detected-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.document-preview-detected-grid article {
    background: rgba(220, 38, 38, .04);
    border: 1px solid rgba(220, 38, 38, .22);
    border-radius: 14px;
    padding: 12px;
}

.document-preview-detected-grid article[data-available="true"] {
    background: rgba(14, 96, 154, .04);
    border-color: var(--border);
}

.document-preview-detected-grid strong,
.document-preview-detected-grid span,
.document-preview-detected-grid em {
    display: block;
}

.document-preview-detected-grid strong {
    font-size: .92rem;
}

.document-preview-detected-grid span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    margin-top: 5px;
}

.document-preview-detected-grid em {
    color: #b91c1c;
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .06em;
    margin-top: 8px;
    text-transform: uppercase;
}

.document-preview-detected-grid article[data-available="true"] em {
    color: var(--blue);
}

@media (max-width: 900px) {
    .document-preview-detected-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Preview Template Guardrails 37F */
.document-preview-template-guardrail {
    border-left: 5px solid #d97706;
    margin-bottom: 20px;
}

.document-preview-template-guardrail h2 {
    margin-bottom: 6px;
}

.document-preview-readiness-grid article[data-template-blocked="true"] {
    background: rgba(217, 119, 6, .06);
    border-color: rgba(217, 119, 6, .28);
}

.document-preview-readiness-grid article[data-template-blocked="true"] em {
    color: #b45309;
}

/* ALVEA Official Templates Workspace 38A */
.official-template-workspace {
    max-width: 1060px;
    margin: 0 auto;
}

.official-template-info code {
    background: rgba(14, 96, 154, .08);
    border-radius: 8px;
    color: var(--blue);
    display: inline-block;
    font-weight: 900;
    padding: 6px 8px;
}

.official-template-entry-card,
.official-template-list-card {
    margin-top: 22px;
}

.official-template-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.official-template-grid article {
    background: rgba(220, 38, 38, .04);
    border: 1px solid rgba(220, 38, 38, .22);
    border-radius: 16px;
    padding: 14px;
}

.official-template-grid article[data-available="true"] {
    background: rgba(14, 96, 154, .04);
    border-color: var(--border);
}

.official-template-grid strong,
.official-template-grid span,
.official-template-grid em {
    display: block;
}

.official-template-grid span {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 700;
    margin-top: 7px;
}

.official-template-grid em {
    color: #b91c1c;
    font-size: .72rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .06em;
    margin-top: 9px;
    text-transform: uppercase;
}

.official-template-grid article[data-available="true"] em {
    color: var(--blue);
}

@media (max-width: 1100px) {
    .official-template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .official-template-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Official Template Upload 38B */
.official-template-upload-card {
    margin-top: 22px;
}

.official-template-upload-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: 16px;
}

.official-template-upload-form label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.official-template-upload-form select,
.official-template-upload-form input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 900px) {
    .official-template-upload-form {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Output Template Summary 38C */
.document-output-template-summary-card {
    margin-top: 22px;
}

.document-output-template-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.document-output-template-summary-grid article {
    background: rgba(220, 38, 38, .04);
    border: 1px solid rgba(220, 38, 38, .22);
    border-radius: 14px;
    padding: 12px;
}

.document-output-template-summary-grid article[data-available="true"] {
    background: rgba(14, 96, 154, .04);
    border-color: var(--border);
}

.document-output-template-summary-grid strong,
.document-output-template-summary-grid span {
    display: block;
}

.document-output-template-summary-grid strong {
    font-size: .9rem;
}

.document-output-template-summary-grid span {
    color: #b91c1c;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .06em;
    margin-top: 8px;
    text-transform: uppercase;
}

.document-output-template-summary-grid article[data-available="true"] span {
    color: var(--blue);
    text-transform: none;
}

@media (max-width: 1100px) {
    .document-output-template-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .document-output-template-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA Document Output Generation 39B */
.document-output-generation-card {
    border-left: 5px solid var(--blue);
}

.document-output-generation-card .record-panel-head {
    align-items: center;
}

/* ALVEA Registration Form Generation 39E */
.registration-output-generation-card {
    border-left: 5px solid #0f766e;
}

/* ALVEA Adhesion Contract Generation 39F */
.adhesion-output-generation-card {
    border-left: 5px solid #7c3aed;
}

/* ALVEA PLD Document Generation 39G */
.pld-output-generation-card {
    border-left: 5px solid #b45309;
}

/* ALVEA Preliminary Package 39H */
.package-output-generation-card {
    border-left: 5px solid #145a8d;
}

/* ALVEA Official Template Values Workspace 40E */
.official-values-hero {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.official-values-card,
.document-output-values-link {
    margin-top: 20px;
}

.document-output-values-link {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.official-values-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.official-values-tabs button {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    font-weight: 800;
    padding: 9px 14px;
}

.official-values-tabs button.active {
    background: var(--blue);
    color: #fff;
}

.official-values-status {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(14, 96, 154, .06);
    color: var(--ink);
    font-weight: 800;
    padding: 14px;
}

.official-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.official-value-item,
.official-values-empty {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background: var(--card);
}

.official-value-item.ready {
    border-left: 4px solid #0f9f6e;
}

.official-value-item.pending {
    border-left: 4px solid #d97706;
}

.official-value-state {
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.official-value-item h3 {
    margin: 8px 0 6px;
}

.official-value-item code {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--muted);
}

.official-value-item strong,
.official-value-item small {
    display: block;
}

.official-value-item small {
    color: var(--muted);
    margin-top: 8px;
}

.official-values-raw {
    margin-top: 18px;
}

.official-values-raw pre {
    background: #0f172a;
    border-radius: 14px;
    color: #dbeafe;
    overflow: auto;
    padding: 14px;
}

@media (max-width: 900px) {
    .official-values-hero,
    .document-output-values-link {
        display: block;
    }

    .official-values-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA official generation pilot */
.alvea-official-pilot-shell {
    display: grid;
    gap: 18px;
    margin: 24px auto;
    max-width: 1180px;
}

.alvea-official-pilot-hero,
.alvea-official-pilot-grid article {
    background: #fff;
    border: 1px solid #d8e2ed;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    padding: 22px;
}

.alvea-official-pilot-hero span,
.alvea-official-pilot-grid article span,
.alvea-official-generation-entry span {
    color: #0e609a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.alvea-official-pilot-hero h1,
.alvea-official-pilot-grid h2 {
    margin: 6px 0 8px;
}

.alvea-official-pilot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.alvea-official-pilot-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.alvea-official-pilot-grid article a,
.alvea-official-generation-entry a {
    color: #0e609a;
    font-weight: 800;
    text-decoration: none;
}

.alvea-official-generation-entry {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e2ed;
    border-left: 4px solid #0e609a;
    border-radius: 18px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 18px;
    padding: 18px;
}

/* ALVEA official generation pilot values panel */
.alvea-official-values-panel {
    background: #fff;
    border: 1px solid #d8e2ed;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    margin: 18px auto 24px;
    max-width: 1180px;
    padding: 22px;
}

.alvea-official-values-panel-head {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.alvea-official-values-panel-head span,
.alvea-official-value-row span {
    color: #0e609a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.alvea-official-values-panel-head strong {
    border-radius: 999px;
    padding: 8px 12px;
    white-space: nowrap;
}

.alvea-official-values-panel-head strong.ready {
    background: #dcfce7;
    color: #166534;
}

.alvea-official-values-panel-head strong.pending {
    background: #ffedd5;
    color: #9a3412;
}

.alvea-official-values-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.alvea-official-value-row {
    border: 1px solid #d8e2ed;
    border-left: 4px solid #0e609a;
    border-radius: 14px;
    display: grid;
    gap: 8px;
    padding: 14px;
}

.alvea-official-value-row.ready {
    border-left-color: #059669;
}

.alvea-official-value-row.pending {
    border-left-color: #d97706;
}

.alvea-official-value-row h3 {
    margin: 4px 0;
}

.alvea-official-value-row code,
.alvea-official-value-row small {
    color: #55708a;
}

.alvea-official-values-json {
    margin-top: 16px;
}

.alvea-official-values-json pre {
    background: #0f172a;
    border-radius: 14px;
    color: #dbeafe;
    overflow: auto;
    padding: 14px;
}


/* ALVEA 41C - Fuente VW aplicada accionable */
.alvea-vw-source-action,
.alvea-vw-pilot-warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid #f97316;
    border-radius: 14px;
    color: #7c2d12;
    display: grid;
    gap: 6px;
    margin-top: 12px;
    padding: 12px 14px;
}

.alvea-vw-source-action strong,
.alvea-vw-pilot-warning strong {
    color: #9a3412;
    font-size: .82rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.alvea-vw-source-action span,
.alvea-vw-pilot-warning span {
    color: #7c2d12;
    font-size: .92rem;
}

.alvea-vw-source-action a,
.alvea-vw-pilot-warning a {
    color: #0f5f9a;
    font-weight: 800;
    text-decoration: none;
}

.alvea-vw-source-action a:hover,
.alvea-vw-pilot-warning a:hover {
    text-decoration: underline;
}
/* ALVEA 41D VW source actionable pending */
.alvea-vw-source-pending-card {
    border-color: #f59e0b !important;
    box-shadow: inset 4px 0 0 #f59e0b;
}

.alvea-vw-source-action-panel,
.alvea-vw-source-pilot-warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    color: #7c2d12;
    margin-top: 14px;
    padding: 14px;
}

.alvea-vw-source-action-panel strong,
.alvea-vw-source-pilot-warning strong,
.alvea-vw-source-pilot-warning span {
    display: block;
}

.alvea-vw-source-pilot-warning span {
    color: #b45309;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.alvea-vw-source-action-panel p,
.alvea-vw-source-pilot-warning p {
    margin: 8px 0 10px;
}

.alvea-vw-source-action-link {
    color: #0b5cab;
    font-weight: 900;
    text-decoration: none;
}

.alvea-vw-source-action-link:hover {
    text-decoration: underline;
}

/* ALVEA 42E Sales Sheet Pilot Gate */
.alvea-pilot-gate,
.alvea-pilot-gate-summary {
    border: 1px solid #f4c36a;
    border-left: 5px solid #d97706;
    border-radius: 18px;
    background: #fff7ed;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    margin: 20px 0;
}

.alvea-pilot-gate h2,
.alvea-pilot-gate-summary h2 {
    margin: 4px 0 8px;
}

.alvea-pilot-gate p,
.alvea-pilot-gate-summary p {
    margin: 0;
    color: #7c2d12;
}

.alvea-kicker {
    color: #a16207;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.alvea-pilot-gate-metrics {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 9px;
    min-width: 180px;
    color: #7c2d12;
}

.alvea-pilot-gate-metrics strong {
    font-size: 1.35rem;
    line-height: 1;
}

.alvea-pilot-gate-metrics span {
    align-self: end;
    font-weight: 700;
}

.alvea-link-strong {
    color: #075985;
    font-weight: 800;
    white-space: nowrap;
}
/* /ALVEA 42E Sales Sheet Pilot Gate */

/* ALVEA 45B MVP document center panel */
.alvea-mvp-document-center {
    background: linear-gradient(135deg, rgba(14, 96, 154, .10), rgba(14, 96, 154, .03));
    border: 1px solid rgba(14, 96, 154, .18);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    display: grid;
    gap: 18px;
    margin: 0 auto 22px;
    max-width: 1120px;
    padding: 22px;
}

.alvea-mvp-document-center__copy h2 {
    margin: 4px 0 8px;
}

.alvea-mvp-document-center__copy p {
    color: var(--muted, #64748b);
    margin: 0;
    max-width: 760px;
}

.alvea-mvp-document-center__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alvea-mvp-action {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(14, 96, 154, .22);
    border-radius: 14px;
    color: #0f172a;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    text-decoration: none;
}

.alvea-mvp-action.primary {
    background: #155a8a;
    border-color: #155a8a;
    color: #fff;
}

.alvea-mvp-action.muted {
    background: rgba(255, 255, 255, .58);
    color: #475569;
}

.alvea-mvp-document-center__status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alvea-mvp-document-center__status span {
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 999px;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
}
/* ALVEA 47B Compact Document Center */
.alvea-document-center-compact-mode .alvea-doc-center-secondary {
    border-color: rgba(14, 96, 154, .16) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05) !important;
    margin-top: 18px !important;
    opacity: .94;
}

.alvea-document-center-compact-mode .alvea-doc-center-secondary h1,
.alvea-document-center-compact-mode .alvea-doc-center-secondary h2,
.alvea-document-center-compact-mode .alvea-doc-center-secondary h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.65rem) !important;
    margin-bottom: .35rem !important;
}

.alvea-doc-center-secondary-badge {
    align-items: center;
    background: rgba(14, 96, 154, .08);
    border: 1px solid rgba(14, 96, 154, .18);
    border-radius: 999px;
    color: #0e609a;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: .75rem;
    padding: .28rem .62rem;
    text-transform: uppercase;
}

.alvea-document-center-compact-mode .alvea-doc-center-secondary .btn,
.alvea-document-center-compact-mode .alvea-doc-center-secondary a[class*="btn"] {
    min-height: 38px;
}

.alvea-document-center-compact-mode .alvea-doc-center-secondary p {
    line-height: 1.45;
}
/* ALVEA 47C Primary Action Polish */
.alvea-document-center-compact-mode .alvea-doc-center-secondary-badge + .document-output-mvp-kicker,
.alvea-document-center-compact-mode .document-output-mvp-hero .alvea-doc-center-secondary-badge,
.alvea-document-center-compact-mode .document-output-mvp-panel .alvea-doc-center-secondary-badge {
    display: none !important;
}

.alvea-document-center-compact-mode .document-output-mvp-hero,
.alvea-document-center-compact-mode .document-output-mvp-panel {
    opacity: 1 !important;
}
/* ALVEA 47D Remove Secondary Badges */
.alvea-doc-center-secondary-badge {
    display: none !important;
}

/* ALVEA Executive Dashboard MVP 50B */
.executive-dashboard-page {
    display: grid;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 48px;
}
.executive-hero {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: stretch;
    padding: 28px;
    border: 1px solid #cfe0ef;
    border-radius: 28px;
    background: linear-gradient(135deg, #eef7ff, #ffffff);
    box-shadow: 0 18px 45px rgba(23, 83, 132, .08);
}
.executive-hero h1 {
    margin: 6px 0 8px;
    font-size: clamp(2rem, 4vw, 3.6rem);
}
.executive-hero p,
.panel-heading p {
    margin: 0;
    color: #52677d;
}
.eyebrow {
    display: inline-block;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    color: #0f609b;
    text-transform: uppercase;
}
.dashboard-filter-card {
    min-width: 340px;
    background: #fff;
    border: 1px solid #d7e3ef;
    border-radius: 22px;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.dashboard-filter-card label {
    display: grid;
    gap: 6px;
    font-size: .82rem;
    color: #52677d;
    font-weight: 800;
}
.dashboard-filter-card input {
    border: 1px solid #d7e3ef;
    border-radius: 12px;
    padding: 10px 12px;
}
.dashboard-filter-card button,
.dashboard-filter-card .ghost-link {
    border: 0;
    border-radius: 14px;
    padding: 11px 14px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}
.dashboard-filter-card button {
    background: #0f609b;
    color: #fff;
}
.dashboard-filter-card .ghost-link {
    background: #eef6fc;
    color: #0f609b;
}
.executive-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.executive-kpi-card,
.executive-panel {
    background: #fff;
    border: 1px solid #d9e5f0;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(23, 83, 132, .06);
}
.executive-kpi-card {
    padding: 20px;
}
.executive-kpi-card span {
    display: block;
    color: #67788a;
    font-weight: 900;
    text-transform: uppercase;
    font-size: .78rem;
}
.executive-kpi-card strong {
    display: block;
    margin-top: 10px;
    font-size: 2.3rem;
    color: #0f1f2f;
}
.executive-kpi-card small {
    color: #52677d;
    font-weight: 700;
}
.executive-kpi-card.primary {
    background: linear-gradient(135deg, #0f609b, #164f7f);
    color: #fff;
}
.executive-kpi-card.primary span,
.executive-kpi-card.primary small,
.executive-kpi-card.primary strong {
    color: #fff;
}
.executive-kpi-card.warning {
    background: #fff9ec;
    border-color: #f2d18a;
}
.executive-main-grid {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: 18px;
}
.executive-panel {
    padding: 22px;
}
.panel-heading h2 {
    margin: 6px 0 6px;
    font-size: 1.55rem;
}
.week-bars {
    margin-top: 24px;
    height: 220px;
    display: flex;
    gap: 12px;
    align-items: end;
    overflow-x: auto;
    padding-bottom: 6px;
}
.week-bar-item {
    min-width: 54px;
    display: grid;
    gap: 8px;
    justify-items: center;
}
.bar-stack {
    height: 180px;
    width: 32px;
    display: flex;
    align-items: end;
    gap: 4px;
}
.bar {
    display: block;
    width: 14px;
    border-radius: 10px 10px 0 0;
    min-height: 6px;
}
.bar.open { background: #0f609b; }
.bar.closed { background: #8bd2a7; }
.chart-legend {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    color: #52677d;
    font-weight: 800;
}
.chart-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 99px;
    margin-right: 6px;
}
.legend-open { background: #0f609b; }
.legend-closed { background: #8bd2a7; }
.operational-list {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}
.operational-list div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e1e8ef;
    border-radius: 16px;
    padding: 13px 14px;
    background: #f8fbfe;
}
.operational-list span {
    color: #52677d;
    font-weight: 800;
}
.operational-list strong {
    font-size: 1.35rem;
}
.quick-access-panel .executive-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.executive-actions a {
    border: 1px solid #bfd7eb;
    border-radius: 16px;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 900;
    color: #0f609b;
    background: #f7fbff;
}
.executive-actions a.primary-action {
    background: #0f609b;
    color: #fff;
}
@media (max-width: 1100px) {
    .executive-hero,
    .executive-main-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
    .executive-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dashboard-filter-card {
        min-width: 0;
    }
}
@media (max-width: 700px) {
    .executive-kpi-grid,
    .dashboard-filter-card {
        grid-template-columns: 1fr;
    }
}

/* ALVEA_PHASE_READINESS_PANEL_51C */
.document-phase-strip {
    margin: 1.25rem 0;
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(245,248,252,.94));
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.document-phase-strip__header {
    display: grid;
    gap: .35rem;
    margin-bottom: 1rem;
}

.document-phase-strip__header h2 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.document-phase-strip__header p {
    margin: 0;
    max-width: 820px;
    color: #64748b;
}

.document-phase-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.document-phase-card {
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
}

.document-phase-card--active {
    border-color: rgba(37, 99, 235, .24);
    background: rgba(239, 246, 255, .92);
}

.document-phase-card__label {
    display: inline-flex;
    width: fit-content;
    margin-bottom: .55rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, .06);
    color: #334155;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.document-phase-card h3 {
    margin: 0 0 .35rem;
    font-size: 1rem;
}

.document-phase-card p {
    margin: 0 0 .75rem;
    color: #64748b;
    font-size: .92rem;
}

.document-phase-card strong,
.document-phase-card small {
    display: block;
}

.document-phase-card strong {
    margin-bottom: .2rem;
    color: #0f172a;
}

.document-phase-card small {
    color: #64748b;
}

@media (max-width: 1100px) {
    .document-phase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .document-phase-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA_52B_TEN_OUTPUT_TEMPLATES_START */
.alvea-template-ten-output-panel {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    margin: 18px 0;
    padding: 18px;
}
.alvea-template-ten-output-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}
.alvea-template-ten-output-header h2 {
    font-size: 1.25rem;
    margin: 0 0 6px;
}
.alvea-template-ten-output-header p,
.alvea-template-ten-output-note {
    color: #64748b;
    margin: 0;
}
.alvea-template-ten-output-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-top: 16px;
}
.alvea-template-output-item {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 14px;
    padding: 12px;
}
.alvea-template-output-item strong,
.alvea-template-output-item span {
    display: block;
}
.alvea-template-output-item span {
    color: #64748b;
    font-size: .85rem;
    margin-top: 3px;
}
.alvea-template-ten-output-note {
    font-size: .9rem;
    margin-top: 14px;
}
/* ALVEA_52B_TEN_OUTPUT_TEMPLATES_END */

/* ALVEA_52C_TEMPLATE_UPLOAD_TEN_OUTPUTS_START */
.alvea-template-upload-ten-panel {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    margin: 18px 0;
    padding: 18px;
}
.alvea-template-upload-ten-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}
.alvea-template-upload-ten-header h2 {
    font-size: 1.25rem;
    margin: 0 0 6px;
}
.alvea-template-upload-ten-header p,
.alvea-template-upload-ten-note {
    color: #64748b;
    margin: 0;
}
.alvea-template-upload-ten-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-top: 16px;
}
.alvea-template-upload-option {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 14px;
    padding: 12px;
}
.alvea-template-upload-option strong,
.alvea-template-upload-option span,
.alvea-template-upload-option small {
    display: block;
}
.alvea-template-upload-option span {
    color: #0f766e;
    font-size: .86rem;
    font-weight: 700;
    margin-top: 3px;
}
.alvea-template-upload-option small {
    color: #64748b;
    margin-top: 3px;
}
.alvea-template-upload-ten-note {
    font-size: .9rem;
    margin-top: 14px;
}
/* ALVEA_52C_TEMPLATE_UPLOAD_TEN_OUTPUTS_END */

/* ALVEA Dashboard Primary Actions 58C */
.alvea-dashboard-primary-actions {
    align-items: stretch;
    background: linear-gradient(135deg, rgba(14, 96, 154, .10), rgba(18, 148, 136, .08));
    border: 1px solid rgba(14, 96, 154, .16);
    border-radius: 22px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(240px, .8fr) minmax(320px, 1.2fr);
    margin: 18px 0 24px;
    padding: 20px;
}

.alvea-dashboard-primary-actions .eyebrow {
    color: #0e609a;
    display: inline-block;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.alvea-dashboard-primary-actions h2 {
    margin: 0 0 6px;
}

.alvea-dashboard-primary-actions p {
    color: #64748b;
    margin: 0;
}

.alvea-dashboard-actions-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.alvea-dashboard-action-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 16px;
    color: #0f172a;
    display: block;
    padding: 14px 15px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.alvea-dashboard-action-card:hover {
    border-color: rgba(14, 96, 154, .35);
    box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
    color: #0e609a;
    transform: translateY(-1px);
}

.alvea-dashboard-action-card strong,
.alvea-dashboard-action-card span {
    display: block;
}

.alvea-dashboard-action-card span {
    color: #64748b;
    font-size: .86rem;
    margin-top: 4px;
}

.alvea-dashboard-action-card.primary {
    border-color: rgba(14, 96, 154, .32);
}

@media (max-width: 920px) {
    .alvea-dashboard-primary-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .alvea-dashboard-actions-grid {
        grid-template-columns: 1fr;
    }
}

/* ALVEA_UX_02B_FOUNDATION_GLOBAL */
:root{
  --alvea-night:#06111f;
  --alvea-night-2:#0a1b30;
  --alvea-panel:#0d2238;
  --alvea-cyan:#28dcff;
  --alvea-blue:#1688ff;
  --alvea-violet:#7967ff;
  --alvea-green:#2ee6a6;
  --alvea-amber:#ffc45b;
  --alvea-text:#edf9ff;
  --alvea-muted:#91acc0;
}
body.is-public{background:var(--alvea-night);color:var(--alvea-text)}
body.is-public .public-topbar{position:absolute;inset:0 0 auto 0;z-index:20;height:84px;padding:0 clamp(22px,5vw,76px);background:transparent;border:0}
body.is-public .public-topbar .brand{color:#fff}
body.is-public .public-topbar .brand-mark{background:linear-gradient(145deg,var(--alvea-cyan),var(--alvea-blue));color:#03111e;box-shadow:0 0 28px rgba(40,220,255,.32)}
body.is-public .public-topbar .icon-button{color:#dff8ff;background:rgba(8,27,46,.58);border-color:rgba(136,222,255,.22);backdrop-filter:blur(14px)}
body.is-public .public-content{min-height:100vh}
body.is-public .public-footer{position:absolute;left:0;right:0;bottom:0;z-index:10;padding:18px;color:#7895a9;background:transparent;border:0}
body.is-authenticated .app-sidebar{background:linear-gradient(180deg,#081827,#0a2035);border-right-color:rgba(104,205,255,.16);box-shadow:16px 0 55px rgba(0,0,0,.12)}
body.is-authenticated .app-sidebar .brand{color:#fff}
body.is-authenticated .app-sidebar .brand-mark{background:linear-gradient(145deg,var(--alvea-cyan),var(--alvea-blue));color:#03111e}
body.is-authenticated .app-sidebar .nav-link{color:#8faabd}
body.is-authenticated .app-sidebar .nav-link:hover,body.is-authenticated .app-sidebar .nav-link.active{color:#fff;background:linear-gradient(90deg,rgba(22,136,255,.24),rgba(40,220,255,.08));box-shadow:inset 3px 0 var(--alvea-cyan)}
body.is-authenticated .app-topbar{background:color-mix(in srgb,var(--card) 86%,transparent);box-shadow:0 8px 28px rgba(5,25,43,.05)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--alvea-cyan)!important;outline-offset:3px}
@media(max-width:780px){body.is-public .public-topbar{height:70px;padding:0 18px}body.is-public .public-footer{position:static;background:#06111f}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* /ALVEA_UX_02B_FOUNDATION_GLOBAL */

/* ALVEA_UX_02C_LOGIN_AUTOMOTRIZ */
.alvea-login{position:relative;isolation:isolate;min-height:100vh;padding:110px clamp(24px,7vw,110px) 75px;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(340px,.72fr);align-items:center;gap:clamp(38px,8vw,120px);overflow:hidden;background:radial-gradient(circle at 22% 48%,rgba(22,136,255,.19),transparent 34%),radial-gradient(circle at 72% 20%,rgba(121,103,255,.12),transparent 28%),linear-gradient(145deg,#04101d,#071a2d 58%,#061321)}
.alvea-login:before{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(rgba(96,211,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(96,211,255,.045) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(to bottom,transparent,black 25%,black 75%,transparent)}
.alvea-login__ambient{position:absolute;inset:0;z-index:-1;pointer-events:none}.alvea-login__ambient i{position:absolute;width:6px;height:6px;border-radius:50%;background:#6ce9ff;box-shadow:0 0 26px #28dcff}.alvea-login__ambient i:nth-child(1){left:18%;top:24%}.alvea-login__ambient i:nth-child(2){left:53%;top:68%}.alvea-login__ambient i:nth-child(3){right:12%;top:16%}
.alvea-login__story{max-width:780px}.alvea-login__eyebrow{display:block;color:#62e6ff;font-size:.7rem;font-weight:850;letter-spacing:.2em}.alvea-login__story h1{margin:15px 0 18px;max-width:790px;color:#eefaff;font-size:clamp(2.8rem,5.3vw,5.7rem);line-height:.96;letter-spacing:-.058em}.alvea-login__story h1 strong{display:block;color:transparent;background:linear-gradient(90deg,#73eaff,#2f9cff 55%,#9679ff);background-clip:text;-webkit-background-clip:text}.alvea-login__story>p{max-width:650px;color:#9bb6c9;font-size:1.04rem;line-height:1.75}
.alvea-login__car{position:relative;width:min(620px,92%);height:185px;margin:36px 0 20px;filter:drop-shadow(0 0 23px rgba(40,220,255,.25))}.alvea-login__car:after{content:"";position:absolute;left:6%;right:3%;bottom:23px;height:2px;background:linear-gradient(90deg,transparent,#28dcff,transparent);box-shadow:0 0 20px #28dcff}.alvea-login__car-body{position:absolute;left:7%;right:6%;top:54px;height:83px;border:2px solid #45dbff;border-radius:54% 38% 19% 22%/70% 62% 27% 34%;background:linear-gradient(180deg,rgba(42,181,235,.18),rgba(5,37,64,.75));box-shadow:inset 0 0 35px rgba(21,139,220,.2)}.alvea-login__glass{position:absolute;left:38%;right:27%;top:36px;height:56px;border:2px solid #85edff;border-bottom:0;border-radius:70% 48% 0 0;background:rgba(2,15,28,.72);transform:skewX(-20deg)}.alvea-login__wheel{position:absolute;bottom:17px;width:61px;height:61px;border:4px solid #47dcff;border-radius:50%;background:radial-gradient(circle,#1d5f83 0 17%,#061422 18% 47%,#0d3048 48% 58%,#020b12 59%);box-shadow:0 0 18px rgba(40,220,255,.42)}.alvea-login__wheel--front{right:14%}.alvea-login__wheel--rear{left:16%}.alvea-login__light{position:absolute;right:6%;top:78px;width:32px;height:12px;border-radius:50%;background:#d5fbff;box-shadow:20px 0 50px 12px rgba(40,220,255,.52)}.alvea-login__scan{position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(99,232,255,.12),transparent);animation:alveaLoginScan 4.8s ease-in-out infinite;transform:translateX(-100%)}
.alvea-login__steps{display:flex;gap:12px;flex-wrap:wrap}.alvea-login__steps span{padding:8px 12px;border:1px solid rgba(114,216,255,.16);border-radius:999px;color:#91adbf;background:rgba(7,27,45,.54);font-size:.75rem}.alvea-login__steps b{margin-right:7px;color:#4ee2ff;font-family:monospace}
.alvea-login__access{display:grid;place-items:center}.alvea-login__card{width:min(460px,100%);padding:clamp(26px,4vw,42px);border:1px solid rgba(111,217,255,.21);border-radius:27px;background:linear-gradient(150deg,rgba(15,42,68,.9),rgba(7,24,42,.94));box-shadow:0 32px 90px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.06);backdrop-filter:blur(22px)}.alvea-login__status{display:flex;align-items:center;gap:8px;margin-bottom:25px;color:#a9c1d1;font-size:.75rem}.alvea-login__status i{width:8px;height:8px;border-radius:50%;background:#2ee6a6;box-shadow:0 0 13px #2ee6a6}.alvea-login__card h2{margin:8px 0 6px;color:#fff;font-size:2.05rem}.alvea-login__card>p{margin:0 0 22px;color:#91aabd}.alvea-login__form{display:grid;gap:9px}.alvea-login__form label{margin-top:8px;color:#a9c1d1;font-size:.76rem;font-weight:750}.alvea-login__field{height:52px;padding:0 13px;display:flex;align-items:center;gap:10px;border:1px solid rgba(139,205,235,.2);border-radius:13px;background:rgba(3,17,30,.62);transition:.18s}.alvea-login__field:focus-within{border-color:#28dcff;box-shadow:0 0 0 3px rgba(40,220,255,.10),0 0 25px rgba(40,220,255,.08)}.alvea-login__field>span{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;color:#6eeaff;background:rgba(40,220,255,.08);font-size:.72rem;font-weight:800}.alvea-login__field input{min-width:0;flex:1;border:0;outline:0;color:#edf9ff;background:transparent}.alvea-login__field input::placeholder{color:#5f7f94}.alvea-login__field .password-toggle{border:0;color:#52ddff;background:transparent;font-size:.75rem}.alvea-login__remember{display:flex!important;align-items:center;gap:9px;text-transform:none!important}.alvea-login__remember input{width:17px;height:17px;accent-color:#1688ff}.alvea-login__submit{min-height:52px;margin-top:11px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(121,228,255,.42);border-radius:13px;color:#fff;background:linear-gradient(100deg,#087cff,#7359f3);font-weight:800;box-shadow:0 13px 30px rgba(14,104,255,.25);transition:.18s}.alvea-login__submit:hover{transform:translateY(-2px);box-shadow:0 17px 38px rgba(14,104,255,.34)}.alvea-login__security{margin-top:22px;padding-top:17px;display:flex;align-items:center;justify-content:center;gap:8px;border-top:1px solid rgba(144,211,238,.12);color:#708da0;font-size:.7rem}.alvea-login__security i{width:7px;height:7px;border-radius:50%;background:#2ee6a6}.alvea-login .validation-summary,.alvea-login .field-error{color:#ff9a9a}
@keyframes alveaLoginScan{50%,100%{transform:translateX(100%)}}
@media(max-width:980px){.alvea-login{grid-template-columns:1fr;padding-top:120px}.alvea-login__story{text-align:center;margin:auto}.alvea-login__story>p{margin-left:auto;margin-right:auto}.alvea-login__car{margin-left:auto;margin-right:auto}.alvea-login__steps{justify-content:center}.alvea-login__access{padding-bottom:45px}}
@media(max-width:600px){.alvea-login{padding:96px 18px 38px}.alvea-login__story h1{font-size:2.65rem}.alvea-login__story>p{font-size:.92rem}.alvea-login__car{height:130px;margin-top:22px}.alvea-login__car-body{top:39px;height:59px}.alvea-login__glass{top:27px;height:41px}.alvea-login__wheel{width:44px;height:44px;bottom:10px}.alvea-login__light{top:55px}.alvea-login__card{border-radius:21px}}
@media(prefers-reduced-motion:reduce){.alvea-login__scan{animation:none}}
/* /ALVEA_UX_02C_LOGIN_AUTOMOTRIZ */

/* ALVEA_UX_02D_HUD_LOGIN_START */
body.is-public .public-topbar,body.is-public .public-footer{display:none!important}
body.is-public .public-content{min-height:100vh}
.alvea-hud-login{position:relative;isolation:isolate;min-height:100vh;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(350px,.65fr);align-items:center;gap:clamp(28px,5vw,80px);padding:70px clamp(24px,5.5vw,90px);color:#e9faff;background:radial-gradient(circle at 37% 47%,rgba(18,143,207,.25),transparent 34%),radial-gradient(circle at 38% 53%,rgba(188,44,255,.18),transparent 27%),linear-gradient(160deg,#06111f,#081b31 55%,#040b13)}
.hud-grid{position:absolute;inset:0;z-index:-3;background-image:linear-gradient(rgba(38,174,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(38,174,255,.08) 1px,transparent 1px);background-size:55px 55px;mask-image:radial-gradient(circle at center,#000,transparent 86%)}
.hud-frame{position:absolute;inset:25px;z-index:-2;border:1px solid rgba(39,137,255,.38);clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 66%,8px 65%,8px 35%,0 34%)}.hud-frame i{position:absolute;width:70px;height:1px;background:#24cfff;box-shadow:0 0 8px #24cfff}.hud-frame i:nth-child(1){left:25px;top:25px}.hud-frame i:nth-child(2){right:25px;top:25px}.hud-frame i:nth-child(3){left:25px;bottom:25px}.hud-frame i:nth-child(4){right:25px;bottom:25px}
.hud-brand{position:absolute;left:clamp(28px,5.5vw,90px);top:38px;display:flex;align-items:center;gap:10px;font-weight:750;letter-spacing:.03em}.hud-brand__mark{width:38px;height:38px;display:grid;place-items:center;border:1px solid #48e5ff;border-radius:10px;color:#03101c;background:linear-gradient(145deg,#65edff,#1688ff);box-shadow:0 0 24px rgba(40,220,255,.32)}.hud-brand strong{color:#3ddfff}
.hud-visual{position:relative;min-height:570px;display:grid;place-items:center}.hud-top-line{position:absolute;top:35px;left:15%;right:15%;display:flex;align-items:center}.hud-top-line span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#2acfff)}.hud-top-line span:last-child{background:linear-gradient(90deg,#2acfff,transparent)}.hud-top-line i{width:10px;height:10px;border:2px solid #54e9ff;border-radius:50%;box-shadow:0 0 14px #28dcff}
.hud-readouts--top{position:absolute;top:68px;left:21%;right:21%;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.hud-readouts div{text-align:center;color:#a3bfd0}.hud-readouts small{display:block;font-size:.62rem;letter-spacing:.14em}.hud-readouts b{display:grid;place-items:center;width:62px;height:62px;margin:7px auto;border:1px solid rgba(54,222,255,.48);border-radius:50%;color:#eafeff;background:radial-gradient(circle,rgba(17,84,124,.8),rgba(4,18,32,.9));box-shadow:0 0 17px rgba(53,221,255,.18),inset 0 0 17px rgba(53,221,255,.12)}
.hud-car{position:relative;width:min(700px,88%);height:310px;margin-top:55px;filter:drop-shadow(0 0 28px rgba(41,211,255,.25))}.hud-car:after{content:"";position:absolute;left:4%;right:1%;bottom:55px;height:2px;background:linear-gradient(90deg,transparent,#e636ff 18%,#33e3ff 70%,transparent);box-shadow:0 0 20px #2edcff}.hud-car__body{position:absolute;left:7%;right:5%;top:115px;height:115px;border:2px solid #36dcff;clip-path:polygon(3% 55%,16% 24%,35% 8%,70% 8%,88% 29%,98% 48%,95% 76%,75% 84%,17% 84%,3% 70%);background:linear-gradient(105deg,rgba(219,37,255,.26),rgba(17,76,111,.74) 48%,rgba(22,171,223,.22));box-shadow:inset 0 0 45px rgba(19,172,226,.22)}.hud-car__roof{position:absolute;left:31%;right:28%;top:62px;height:104px;border:2px solid #48e0ff;clip-path:polygon(14% 100%,28% 20%,72% 0,100% 100%);background:linear-gradient(140deg,rgba(31,116,161,.52),rgba(3,24,42,.9))}.hud-car__glass{position:absolute;left:40%;right:33%;top:82px;height:69px;border:1px solid #6aebff;clip-path:polygon(0 100%,17% 8%,72% 0,100% 100%);background:#061521}.hud-car__line{position:absolute;height:1px;background:#4be5ff;transform-origin:left}.hud-car__line--one{left:16%;top:170px;width:65%;transform:rotate(-4deg)}.hud-car__line--two{left:45%;top:118px;width:43%;transform:rotate(19deg)}.hud-car__wheel{position:absolute;bottom:38px;width:94px;height:94px;border:5px solid #4de5ff;border-radius:50%;background:repeating-conic-gradient(from 0deg,#35cdf0 0 8deg,#071521 9deg 30deg);box-shadow:0 0 22px rgba(42,216,255,.56),inset 0 0 20px #06111e}.hud-car__wheel i{position:absolute;inset:29%;border:3px solid #6bedff;border-radius:50%;background:#071c31}.hud-car__wheel--rear{left:15%}.hud-car__wheel--front{right:14%}.hud-car__light{position:absolute;right:5%;top:147px;width:46px;height:16px;border-radius:50%;background:#d9fbff;box-shadow:20px 0 55px 17px rgba(52,220,255,.48)}.hud-car__scan{position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(64,226,255,.12),transparent);animation:hudScan 4.5s ease-in-out infinite;transform:translateX(-100%)}
.hud-gauges{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between}.hud-gauge{width:148px;height:148px;padding:13px;border-radius:50%;background:conic-gradient(from 210deg,#d83cff,#35dbff 65%,rgba(32,75,105,.25) 66%);box-shadow:0 0 34px rgba(192,50,255,.22)}.hud-gauge>span{width:100%;height:100%;display:grid;place-content:center;text-align:center;border:9px solid #071322;border-radius:50%;background:radial-gradient(circle,#153855,#07111e 68%)}.hud-gauge b{font-size:1.25rem}.hud-gauge small{font-size:.6rem;color:#88a8bb;letter-spacing:.12em}.hud-gauge--right{background:conic-gradient(from 210deg,#31dcff,#cc3dff 65%,rgba(32,75,105,.25) 66%)}
.hud-access{position:relative;display:grid;place-items:center}.hud-login-card{width:min(430px,100%);padding:36px;border:1px solid rgba(73,210,255,.28);border-radius:20px;background:linear-gradient(155deg,rgba(15,47,74,.9),rgba(5,21,37,.94));box-shadow:0 30px 80px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.08);backdrop-filter:blur(18px)}.hud-login-card__status{display:flex;align-items:center;gap:8px;margin-bottom:18px;color:#70e9ff;font-size:.65rem;font-weight:800;letter-spacing:.18em}.hud-login-card__status i{width:7px;height:7px;border-radius:50%;background:#2ee6a6;box-shadow:0 0 12px #2ee6a6}.hud-login-card h1{margin:0 0 23px;font-size:2rem}.hud-login-card label{display:block;margin:13px 0 7px;color:#9eb8c9;font-size:.75rem;font-weight:700}.hud-field{height:50px;padding:0 12px;display:flex;align-items:center;gap:10px;border:1px solid rgba(95,190,230,.22);border-radius:11px;background:rgba(2,15,27,.68)}.hud-field:focus-within{border-color:#3fe1ff;box-shadow:0 0 0 3px rgba(47,219,255,.09)}.hud-field>span{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;color:#59e3ff;background:rgba(45,214,255,.1);font-size:.7rem}.hud-field input{min-width:0;flex:1;border:0;outline:0;color:#fff;background:transparent}.hud-field .password-toggle{border:0;color:#5be5ff;background:transparent;font-size:.75rem}.hud-remember{display:flex!important;align-items:center;gap:9px;margin-top:14px!important;text-transform:none!important}.hud-remember input{width:16px;height:16px;accent-color:#178cff}.hud-submit{width:100%;height:50px;margin-top:17px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(88,226,255,.4);border-radius:11px;color:#fff;background:linear-gradient(90deg,#0c86fa,#7654f3);font-weight:800;box-shadow:0 12px 28px rgba(25,103,255,.25)}.hud-submit:hover{filter:brightness(1.08)}.hud-login-card .validation-summary,.hud-login-card .field-error{color:#ff9999;font-size:.75rem}
@keyframes hudScan{50%,100%{transform:translateX(100%)}}
@media(max-width:1100px){.alvea-hud-login{grid-template-columns:1fr;padding-top:100px}.hud-visual{min-height:520px}.hud-access{padding-bottom:35px}}
@media(max-width:650px){.alvea-hud-login{padding:82px 16px 28px}.hud-brand{left:20px;top:22px}.hud-frame{inset:10px}.hud-visual{min-height:390px}.hud-readouts--top{left:8%;right:8%;gap:8px}.hud-readouts b{width:48px;height:48px}.hud-car{height:230px;width:100%;margin-top:65px}.hud-car__body{top:92px;height:82px}.hud-car__roof{top:55px;height:75px}.hud-car__glass{top:69px;height:51px}.hud-car__wheel{width:67px;height:67px;bottom:22px}.hud-car__light{top:116px}.hud-gauge{width:96px;height:96px;padding:8px}.hud-gauge>span{border-width:6px}.hud-gauge b{font-size:.86rem}.hud-login-card{padding:27px}}
@media(prefers-reduced-motion:reduce){.hud-car__scan{animation:none}}
/* ALVEA_UX_02D_HUD_LOGIN_END */

/* ALVEA_UX_02E_SHELL_START */
body.is-authenticated{
  background:
    radial-gradient(circle at 78% 8%,rgba(22,136,255,.07),transparent 29%),
    linear-gradient(145deg,#f4f8fc,#edf3f8);
}
html[data-theme="dark"] body.is-authenticated{
  background:
    radial-gradient(circle at 74% 8%,rgba(32,204,255,.09),transparent 30%),
    linear-gradient(145deg,#06111e,#0a1929);
}
body.is-authenticated .app-shell{min-height:100vh}
body.is-authenticated .app-sidebar{
  width:264px;
  padding:25px 17px 22px;
  background:
    linear-gradient(rgba(49,202,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(49,202,255,.035) 1px,transparent 1px),
    linear-gradient(180deg,#071827,#0a2034 58%,#071522);
  background-size:42px 42px,42px 42px,auto;
  border-right:1px solid rgba(74,210,255,.16);
  box-shadow:18px 0 55px rgba(2,16,30,.12);
}
body.is-authenticated .app-sidebar .brand{
  min-height:56px;
  margin:0 4px 22px;
  padding:0 7px;
  color:#effbff;
}
body.is-authenticated .app-sidebar .brand-mark{
  width:42px;height:42px;border-radius:11px;
  background:linear-gradient(145deg,#65edff,#1688ff);
  box-shadow:0 0 24px rgba(40,220,255,.28);
}
body.is-authenticated .app-sidebar nav{display:grid;gap:7px}
body.is-authenticated .app-sidebar .nav-link{
  position:relative;
  min-height:47px;
  padding:12px 13px;
  border:1px solid transparent;
  border-radius:12px;
  color:#8eaabd;
  transition:background .18s,border-color .18s,color .18s,transform .18s;
}
body.is-authenticated .app-sidebar .nav-link:hover{
  transform:translateX(2px);
  color:#fff;
  border-color:rgba(58,214,255,.16);
  background:rgba(40,220,255,.07);
}
body.is-authenticated .app-sidebar .nav-link.active{
  color:#fff;
  border-color:rgba(42,216,255,.24);
  background:linear-gradient(90deg,rgba(15,137,229,.27),rgba(40,220,255,.07));
  box-shadow:inset 3px 0 #2edcff,0 8px 20px rgba(0,0,0,.09);
}
body.is-authenticated .app-sidebar .nav-link small,
body.is-authenticated .app-sidebar .nav-link .nav-meta{
  color:#5f8094;
  font-size:.58rem;
}
body.is-authenticated .sidebar-collapse{
  min-height:43px;
  border:1px solid rgba(71,210,255,.18);
  border-radius:11px;
  color:#9db8c9;
  background:rgba(4,20,34,.64);
}
body.is-authenticated .app-main{min-width:0}
body.is-authenticated .app-topbar{
  min-height:72px;
  padding:0 clamp(18px,3vw,42px);
  border-bottom:1px solid rgba(73,120,151,.13);
  background:rgba(250,253,255,.82);
  box-shadow:0 10px 32px rgba(13,38,60,.05);
  backdrop-filter:blur(18px);
}
html[data-theme="dark"] body.is-authenticated .app-topbar{
  background:rgba(7,24,40,.82);
  border-bottom-color:rgba(72,212,255,.12);
}
body.is-authenticated .app-topbar .command-trigger,
body.is-authenticated .app-topbar .search-box{
  border:1px solid rgba(72,128,163,.18);
  border-radius:13px;
  background:rgba(242,248,252,.83);
}
html[data-theme="dark"] body.is-authenticated .app-topbar .command-trigger,
html[data-theme="dark"] body.is-authenticated .app-topbar .search-box{
  color:#dff8ff;
  border-color:rgba(53,205,244,.16);
  background:rgba(4,20,34,.72);
}
body.is-authenticated .app-topbar .icon-button,
body.is-authenticated .app-topbar .profile-trigger{
  min-height:42px;
  border:1px solid rgba(73,128,163,.18);
  border-radius:11px;
  background:rgba(255,255,255,.7);
}
html[data-theme="dark"] body.is-authenticated .app-topbar .icon-button,
html[data-theme="dark"] body.is-authenticated .app-topbar .profile-trigger{
  color:#e7f9ff;
  border-color:rgba(53,205,244,.16);
  background:rgba(4,20,34,.72);
}
body.is-authenticated .app-content{
  width:min(100%,1480px);
  margin-inline:auto;
  padding:clamp(26px,4vw,58px);
}
body.is-authenticated .record-card,
body.is-authenticated .dashboard-card,
body.is-authenticated .metric-card,
body.is-authenticated .status-card,
body.is-authenticated .action-card{
  border-color:rgba(68,125,160,.16);
  border-radius:18px;
  box-shadow:0 16px 42px rgba(13,42,66,.07);
}
html[data-theme="dark"] body.is-authenticated .record-card,
html[data-theme="dark"] body.is-authenticated .dashboard-card,
html[data-theme="dark"] body.is-authenticated .metric-card,
html[data-theme="dark"] body.is-authenticated .status-card,
html[data-theme="dark"] body.is-authenticated .action-card{
  border-color:rgba(59,207,247,.13);
  background:linear-gradient(150deg,rgba(12,39,62,.92),rgba(6,24,40,.94));
  box-shadow:0 18px 48px rgba(0,0,0,.18);
}
body.is-authenticated .eyebrow{
  color:#0874bb;
  letter-spacing:.14em;
}
html[data-theme="dark"] body.is-authenticated .eyebrow{color:#50ddff}
body.is-authenticated .primary-action{
  border:1px solid rgba(67,207,255,.34);
  border-radius:11px;
  background:linear-gradient(100deg,#087ff2,#6c58ef);
  box-shadow:0 11px 26px rgba(25,108,239,.20);
}
body.is-authenticated .primary-action:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}
body.is-authenticated input,
body.is-authenticated select,
body.is-authenticated textarea{
  border-radius:10px;
}
body.is-authenticated input:focus,
body.is-authenticated select:focus,
body.is-authenticated textarea:focus{
  border-color:#25cfee;
  box-shadow:0 0 0 3px rgba(37,207,238,.10);
}
@media(max-width:980px){
  body.is-authenticated .app-sidebar{width:232px}
  body.is-authenticated .app-content{padding:25px}
}
@media(max-width:760px){
  body.is-authenticated .app-sidebar{width:min(86vw,290px)}
  body.is-authenticated .app-topbar{min-height:64px;padding:0 14px}
  body.is-authenticated .app-content{padding:18px 14px 30px}
}
@media(prefers-reduced-motion:reduce){
  body.is-authenticated .app-sidebar .nav-link,
  body.is-authenticated .primary-action{transition:none}
}
/* ALVEA_UX_02E_SHELL_END */
/* ALVEA_UX02G_STABLE_START */
.alvea-clean-login{position:relative;min-height:100vh;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);overflow:hidden;color:#eaf8ff;background:radial-gradient(circle at 35% 52%,rgba(22,164,221,.16),transparent 30%),radial-gradient(circle at 48% 68%,rgba(114,64,226,.12),transparent 28%),linear-gradient(135deg,#041321,#071b2f 55%,#04111d)}
.alvea-clean-login:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(50,211,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(50,211,255,.035) 1px,transparent 1px);background-size:64px 64px}
.clean-login-brand{position:absolute;z-index:3;top:34px;left:48px;display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.02em}.clean-login-brand strong{color:#3cd9ff}.clean-login-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#04131f;background:linear-gradient(145deg,#5eeaff,#168cff);box-shadow:0 0 28px rgba(49,213,255,.32)}
.clean-login-visual{position:relative;min-height:100vh;display:grid;place-items:center;isolation:isolate}.clean-login-visual:after{content:"";position:absolute;width:min(58vw,720px);height:min(58vw,720px);border:1px solid rgba(78,220,255,.1);border-radius:50%;box-shadow:0 0 90px rgba(31,163,255,.09) inset}.clean-monogram{position:relative;z-index:2;width:180px;height:180px;display:grid;place-items:center;border:1px solid rgba(98,230,255,.38);border-radius:44px;font-size:6.8rem;font-weight:900;color:#dffaff;background:linear-gradient(145deg,rgba(12,45,69,.92),rgba(9,28,50,.72));box-shadow:0 0 74px rgba(39,199,255,.17),0 0 0 18px rgba(50,202,255,.025)}.clean-login-visual p{position:absolute;z-index:2;top:calc(50% + 125px);margin:0;font-size:.72rem;letter-spacing:.28em;color:#79dff6}.clean-orbit{position:absolute;border:1px solid rgba(66,218,255,.25);border-radius:50%}.clean-orbit-one{width:430px;height:430px}.clean-orbit-two{width:590px;height:270px;transform:rotate(-12deg);border-color:rgba(153,79,255,.18)}.clean-road{position:absolute;left:8%;right:7%;top:67%;height:1px;background:linear-gradient(90deg,transparent,#5ee4ff 25%,#aa55ff 70%,transparent);box-shadow:0 0 18px rgba(68,220,255,.45)}.clean-light{position:absolute;width:210px;height:210px;border-radius:50%;filter:blur(70px);opacity:.2}.clean-light-cyan{left:18%;top:44%;background:#23d7ff}.clean-light-violet{right:15%;top:52%;background:#8e4cff}
.clean-login-access{position:relative;z-index:2;display:grid;place-items:center;padding:40px}.clean-login-card{width:min(100%,430px);padding:42px;border:1px solid rgba(91,220,255,.25);border-radius:24px;background:rgba(7,30,49,.78);box-shadow:0 24px 70px rgba(0,0,0,.27);backdrop-filter:blur(18px)}.clean-access-label{display:block;margin-bottom:22px;font-size:.7rem;font-weight:800;letter-spacing:.22em;color:#55dffc}.clean-login-card h1{margin:0 0 28px;font-size:2.05rem;color:#f4fbff}.clean-login-card>label:not(.clean-remember){display:block;margin:16px 0 7px;font-size:.75rem;font-weight:700;color:#a9c0d1}.clean-field{height:52px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid rgba(83,204,241,.22);border-radius:12px;background:rgba(2,17,29,.7)}.clean-field:focus-within{border-color:#43ddff;box-shadow:0 0 0 3px rgba(56,218,255,.1)}.clean-field>span{width:26px;height:26px;display:grid;place-items:center;border-radius:7px;color:#55ddff;background:rgba(55,214,255,.1);font-size:.72rem}.clean-field input{min-width:0;flex:1;border:0;outline:0;color:#fff;background:transparent}.clean-field .password-toggle{border:0;color:#59def8;background:transparent}.clean-remember{display:flex!important;align-items:center;gap:9px;margin-top:16px!important;color:#adc0cf!important}.clean-remember input{width:16px;height:16px;accent-color:#1e9cff}.clean-submit{width:100%;height:52px;margin-top:18px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(93,225,255,.36);border-radius:12px;color:#fff;background:linear-gradient(90deg,#128ef4,#6d57ed);font-weight:800;box-shadow:0 14px 30px rgba(24,106,238,.19)}.clean-submit:hover{filter:brightness(1.07)}.clean-login-card .validation-summary,.clean-login-card .field-error{color:#ff9c9c;font-size:.75rem}
@media(max-width:920px){.alvea-clean-login{grid-template-columns:1fr}.clean-login-visual{min-height:42vh}.clean-login-access{padding-top:0;padding-bottom:42px}.clean-login-brand{left:25px;top:22px}.clean-monogram{width:130px;height:130px;border-radius:32px;font-size:4.7rem}.clean-login-visual p{top:calc(50% + 92px)}.clean-orbit-one{width:300px;height:300px}.clean-orbit-two{width:420px;height:190px}}
@media(max-width:520px){.clean-login-visual{min-height:35vh}.clean-login-access{padding:14px}.clean-login-card{padding:28px}.clean-login-brand{font-size:.85rem}.clean-road{top:75%}}
@media(prefers-reduced-motion:reduce){.clean-orbit{transition:none}}
/* ALVEA_UX02G_STABLE_END */
/* ALVEA_UX_02I_DASHBOARD_UNICO_START */
.dashboard-single{
  width:min(100%,1180px);
  margin:0 auto;
  display:grid;
  gap:18px;
  color:var(--ink);
}
.dashboard-single__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:28px;
  padding:4px 2px 2px;
}
.dashboard-single__header h1{
  margin:6px 0 4px;
  font-size:clamp(2rem,4vw,3.25rem);
  letter-spacing:-.045em;
}
.dashboard-single__header p,
.dashboard-single__panel header p{
  margin:0;
  color:var(--muted);
}
.dashboard-single__filter{
  width:min(100%,420px);
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--card);
  box-shadow:0 12px 30px rgba(15,45,70,.05);
}
.dashboard-single__filter label{
  display:grid;
  gap:5px;
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
}
.dashboard-single__filter input,
.dashboard-single__filter button,
.dashboard-single__filter a{
  min-height:40px;
  border-radius:10px;
}
.dashboard-single__filter input{
  width:100%;
  padding:0 10px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--ink);
}
.dashboard-single__filter button,
.dashboard-single__filter a{
  display:grid;
  place-items:center;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:800;
}
.dashboard-single__filter button{
  color:#fff;
  background:#126a9f;
}
.dashboard-single__filter a{
  color:var(--blue);
  background:var(--soft);
}
.dashboard-single__actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.dashboard-single__actions a{
  min-height:78px;
  padding:15px 17px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid var(--border);
  border-radius:15px;
  color:var(--ink);
  background:var(--card);
  text-decoration:none;
  box-shadow:0 10px 26px rgba(15,45,70,.04);
  transition:transform .16s,border-color .16s,box-shadow .16s;
}
.dashboard-single__actions a:hover{
  transform:translateY(-2px);
  border-color:rgba(32,95,147,.36);
  box-shadow:0 14px 30px rgba(15,45,70,.08);
}
.dashboard-single__actions a.is-primary{
  color:#fff;
  border-color:#126a9f;
  background:linear-gradient(135deg,#126a9f,#18517d);
}
.dashboard-single__actions span{
  font-weight:850;
}
.dashboard-single__actions small{
  margin-top:5px;
  color:var(--muted);
}
.dashboard-single__actions .is-primary small{
  color:rgba(255,255,255,.78);
}
.dashboard-single__kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.dashboard-single__kpis article{
  min-height:112px;
  padding:17px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--card);
  box-shadow:0 10px 28px rgba(15,45,70,.04);
}
.dashboard-single__kpis span,
.dashboard-single__kpis small{
  display:block;
}
.dashboard-single__kpis span{
  color:var(--muted);
  font-size:.71rem;
  font-weight:850;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.dashboard-single__kpis strong{
  display:block;
  margin:7px 0 4px;
  font-size:2rem;
  line-height:1;
}
.dashboard-single__kpis small{
  color:var(--muted);
}
.dashboard-single__kpis article.is-primary{
  color:#fff;
  border-color:#126a9f;
  background:linear-gradient(135deg,#126a9f,#18517d);
}
.dashboard-single__kpis article.is-primary span,
.dashboard-single__kpis article.is-primary small{
  color:rgba(255,255,255,.8);
}
.dashboard-single__kpis article.is-attention{
  border-color:#efcf8d;
  background:#fffaf0;
}
.dashboard-single__content{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);
  gap:14px;
}
.dashboard-single__panel{
  min-height:360px;
  padding:20px;
  border:1px solid var(--border);
  border-radius:17px;
  background:var(--card);
  box-shadow:0 12px 30px rgba(15,45,70,.04);
}
.dashboard-single__panel h2{
  margin:5px 0 4px;
  font-size:1.35rem;
}
.dashboard-single__bars{
  height:245px;
  margin-top:20px;
  display:flex;
  align-items:end;
  gap:11px;
  overflow-x:auto;
}
.dashboard-single__bar-item{
  min-width:52px;
  display:grid;
  justify-items:center;
  gap:7px;
}
.dashboard-single__bar-item>div{
  width:30px;
  height:195px;
  display:flex;
  align-items:end;
  gap:4px;
}
.dashboard-single__bar-item i{
  width:13px;
  min-height:6px;
  display:block;
  border-radius:8px 8px 2px 2px;
}
.dashboard-single__bar-item i.is-open,
.dashboard-single__legend i.is-open{
  background:#126a9f;
}
.dashboard-single__bar-item i.is-closed,
.dashboard-single__legend i.is-closed{
  background:#75c89a;
}
.dashboard-single__legend{
  display:flex;
  gap:16px;
  color:var(--muted);
  font-size:.78rem;
  font-weight:800;
}
.dashboard-single__legend i{
  width:9px;
  height:9px;
  display:inline-block;
  margin-right:5px;
  border-radius:50%;
}
.dashboard-single__status dl{
  margin:16px 0 0;
  display:grid;
  gap:9px;
}
.dashboard-single__status dl div{
  padding:12px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface);
}
.dashboard-single__status dt{
  color:var(--muted);
  font-weight:750;
}
.dashboard-single__status dd{
  margin:0;
  font-size:1.15rem;
  font-weight:900;
}
@media(max-width:1000px){
  .dashboard-single__header,
  .dashboard-single__content{
    display:grid;
    grid-template-columns:1fr;
  }
  .dashboard-single__filter{
    width:100%;
  }
  .dashboard-single__kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:680px){
  .dashboard-single__actions,
  .dashboard-single__kpis,
  .dashboard-single__filter{
    grid-template-columns:1fr;
  }
  .dashboard-single__panel{
    min-height:0;
  }
}
/* ALVEA_UX_02I_DASHBOARD_UNICO_END */
/* ALVEA_UX_02J_USUARIOS_START */
body.is-authenticated .app-nav .nav-link[aria-current="page"]{
  color:#fff;
  border-color:rgba(42,216,255,.24);
  background:linear-gradient(90deg,rgba(15,137,229,.27),rgba(40,220,255,.07));
  box-shadow:inset 3px 0 #2edcff,0 8px 20px rgba(0,0,0,.09);
}
body.is-authenticated .app-nav .nav-link.active:not([aria-current="page"]){
  color:#8eaabd;
  border-color:transparent;
  background:transparent;
  box-shadow:none;
}
body.is-authenticated .module-head{
  align-items:center;
  margin-bottom:20px;
}
body.is-authenticated .module-head>div:first-child{
  max-width:760px;
}
body.is-authenticated .module-head .primary-action,
body.is-authenticated .module-head a[class*="primary"]{
  margin-top:0;
  white-space:nowrap;
}
body.is-authenticated .module-metrics{
  gap:12px;
  margin-bottom:16px;
}
body.is-authenticated .module-metrics article{
  min-height:104px;
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
body.is-authenticated .module-metrics strong{
  margin:3px 0;
  font-size:1.55rem;
}
.user-list-columns{
  min-height:38px;
  padding:0 16px;
  display:grid;
  grid-template-columns:46px minmax(190px,1fr) 200px 85px 20px;
  align-items:center;
  gap:12px;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  background:color-mix(in srgb,var(--surface) 76%,var(--card));
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.user-list-columns span:first-child,
.user-list-columns span:last-child{
  visibility:hidden;
}
body.is-authenticated .user-row{
  min-height:72px;
}
body.is-authenticated .user-insight{
  padding:20px;
}
body.is-authenticated .user-insight h2{
  margin-bottom:8px;
}
body.is-authenticated .user-insight ul{
  margin-bottom:0;
}
body.is-authenticated .workspace-drawer [data-user-deactivate],
body.is-authenticated .workspace-drawer .user-deactivate-action,
body.is-authenticated .workspace-drawer button[data-action="deactivate"]{
  border-color:rgba(217,119,6,.38);
  color:#9a5b07;
  background:rgba(255,247,237,.72);
}
body.is-authenticated .workspace-drawer [data-user-deactivate]:hover,
body.is-authenticated .workspace-drawer .user-deactivate-action:hover,
body.is-authenticated .workspace-drawer button[data-action="deactivate"]:hover{
  border-color:#d97706;
  background:#fff7ed;
}
body.is-authenticated .form-modal{
  width:min(680px,calc(100vw - 28px));
  padding:26px;
}
body.is-authenticated .form-modal>header{
  align-items:flex-start;
}
body.is-authenticated .user-create-form{
  gap:13px;
}
body.is-authenticated .user-create-form footer{
  padding-top:8px;
}
@media(max-width:760px){
  .user-list-columns{
    grid-template-columns:44px 1fr 78px;
  }
  .user-list-columns span:nth-child(3),
  .user-list-columns span:last-child{
    display:none;
  }
  body.is-authenticated .module-head{
    align-items:flex-start;
  }
}
/* ALVEA_UX_02J_USUARIOS_END */
/* ALVEA_UX_02J2_USUARIOS_RAZOR_START */
body.is-authenticated .app-nav .nav-link.active{
  color:#fff;
  border-color:rgba(42,216,255,.24);
  background:linear-gradient(90deg,rgba(15,137,229,.27),rgba(40,220,255,.07));
  box-shadow:inset 3px 0 #2edcff,0 8px 20px rgba(0,0,0,.09);
}
body.is-authenticated .module-head{
  align-items:center;
  margin-bottom:20px;
}
body.is-authenticated .module-head .primary-action{
  margin-top:0;
  white-space:nowrap;
}
body.is-authenticated .module-metrics article{
  min-height:104px;
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
body.is-authenticated .module-metrics strong{
  margin:3px 0;
  font-size:1.55rem;
}
.user-list-columns{
  min-height:38px;
  padding:0 16px;
  display:grid;
  grid-template-columns:46px minmax(180px,1fr) 145px 85px 20px;
  align-items:center;
  gap:12px;
  border-bottom:1px solid var(--border);
  color:var(--muted);
  background:color-mix(in srgb,var(--surface) 76%,var(--card));
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.is-authenticated .user-row{
  min-height:72px;
}
body.is-authenticated [data-status-label]{
  border-color:rgba(217,119,6,.38);
  color:#9a5b07;
  background:#fff7ed;
}
body.is-authenticated [data-status-label]:hover{
  border-color:#d97706;
  background:#ffedd5;
}
body.is-authenticated .form-modal{
  width:min(680px,calc(100vw - 28px));
  padding:26px;
}
body.is-authenticated .user-create-form{
  gap:13px;
}
body.is-authenticated .user-create-form footer{
  padding-top:8px;
}
@media(max-width:760px){
  .user-list-columns{
    grid-template-columns:44px 1fr 78px;
  }
  .user-list-columns span:nth-child(3),
  .user-list-columns span:last-child{
    display:none;
  }
  body.is-authenticated .module-head{
    align-items:flex-start;
  }
}
/* ALVEA_UX_02J2_USUARIOS_RAZOR_END */
/* ALVEA_ALTA_CLIENTE_FINAL_V8_CSS */
.customer-workspace{grid-template-columns:minmax(0,1fr)!important}.customer-insight{display:none!important}
.alvea-create-v8{margin-top:2px;padding-top:14px;border-top:1px solid var(--border)}
.alvea-create-v8-title{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:10px}.alvea-create-v8-title small{color:var(--muted);font-weight:500}
.alvea-create-v8-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.alvea-create-v8-address{margin-top:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);overflow:hidden}
.alvea-create-v8-address summary{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none;font-weight:800}.alvea-create-v8-address summary::-webkit-details-marker{display:none}.alvea-create-v8-address summary small{color:var(--muted);font-weight:500}
.alvea-create-v8-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px;border-top:1px solid var(--border);background:var(--card)}.alvea-create-v8-grid .wide{grid-column:span 2}
.alvea-create-v8 label{display:grid;gap:6px;font-size:.8rem;font-weight:700}.alvea-create-v8 input{width:100%;height:44px;padding:0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--ink)}
.form-modal.customer-modal{width:min(760px,calc(100vw - 28px));max-height:90vh}.form-modal.customer-modal .user-create-form footer{position:sticky;bottom:-27px;z-index:3;margin:4px -27px -27px;padding:14px 27px;background:var(--card);border-top:1px solid var(--border)}
@media(max-width:760px){.alvea-create-v8-two,.alvea-create-v8-grid{grid-template-columns:1fr}.alvea-create-v8-grid .wide{grid-column:auto}.alvea-create-v8-title,.alvea-create-v8-address summary{align-items:flex-start;flex-direction:column;gap:3px}}

/* ALVEA Global Operation Centers */
.global-center-filter{margin-bottom:16px}.global-center-filter form{display:grid;grid-template-columns:minmax(250px,1fr) 190px auto auto;gap:12px;align-items:end}.global-center-filter label{display:grid;gap:6px;color:var(--muted);font-size:.76rem;font-weight:800;text-transform:uppercase}.global-center-filter input,.global-center-filter select{height:44px;padding:0 12px;border:1px solid var(--border);background:var(--card);color:var(--ink)}.global-center-filter .primary-action,.global-center-filter .secondary-action{min-height:44px;margin:0;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.global-center-table{overflow:auto;border:1px solid var(--border);border-radius:14px}.global-center-row{min-width:900px;display:grid;grid-template-columns:1.15fr 1.35fr 1fr 110px 145px;gap:14px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--border)}.global-center-row.documents{grid-template-columns:1.1fr 1fr 1.4fr 110px 145px}.global-center-row:last-child{border-bottom:0}.global-center-row.head{min-height:40px;padding-top:9px;padding-bottom:9px;background:var(--surface);color:var(--muted);font-size:.7rem;font-weight:900;text-transform:uppercase}.global-center-row div{min-width:0}.global-center-row strong,.global-center-row small{display:block}.global-center-row strong{overflow:hidden;text-overflow:ellipsis}.global-center-row small{margin-top:4px;color:var(--muted)}.global-center-row .secondary-action{margin:0;text-align:center;text-decoration:none}.status-pill.active,.status-pill.validated{color:#176340;background:#eaf7ef}.status-pill.inactive,.status-pill.rejected{color:#8a4545;background:#faecec}.status-pill.archived,.status-pill.replaced{color:#5f6670;background:#eef1f4}.status-pill.uploaded,.status-pill.inreview{color:#145a8d;background:#eaf3fb}@media(max-width:850px){.global-center-filter form{grid-template-columns:1fr 1fr}.global-center-filter label:first-child{grid-column:1/-1}}@media(max-width:560px){.global-center-filter form{grid-template-columns:1fr}.global-center-filter label:first-child{grid-column:auto}}
