:root{--sidebar-width:252px;--navy:#060928;--teal:#6144cc;--line:#e0e8ea;--paper:#f4f7f8;--muted:#627781}.skip-link{position:fixed;top:-100px;left:20px;z-index:2000;padding:12px 18px;background:white;border-radius:8px}.skip-link:focus{top:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:var(--navy);color:#fff;display:flex;flex-direction:column;z-index:1000}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:28px 22px 24px;border-bottom:1px solid #ffffff10}.brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:inherit;min-width:0}.brand-mark{display:grid;place-items:center;width:41px;height:41px;flex:none;border-radius:12px;background:#25204d;color:#b9a3ff;font-size:14px;font-weight:800;letter-spacing:-.5px}.brand-copy{display:flex;flex-direction:column;gap:1px;min-width:0}.brand-copy strong{font-size:15px;letter-spacing:-.35px;white-space:nowrap}.brand-copy small{font-size:10px;font-weight:450;color:#94b4bc}.sidebar-nav{flex:1;overflow-y:auto;padding:10px 14px 20px;scrollbar-width:thin;scrollbar-color:#365764 transparent}.nav-group-label{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#8eabb5;margin:21px 14px 8px}.nav-item{display:flex;align-items:center;gap:12px;min-height:44px;padding:11px 13px;margin:3px 0;border-radius:8px;color:#bcd0d6;font-size:12px;font-weight:500;line-height:1.5;border:1px solid transparent}.nav-item .icon{width:18px;height:18px;opacity:.8}.nav-item:hover{background:#14183d;color:#fff;text-decoration:none}.nav-item.is-active{background:#25204d;color:#e0d4ff;border-color:#b29aff38;font-weight:650}.nav-item.is-active .icon{opacity:1;color:#b29aff}.sidebar-note{margin:12px 20px 24px;padding-top:20px;border-top:1px solid #ffffff12;display:flex;gap:11px;align-items:center}.note-mark{font-size:10px;font-weight:750;color:#81c4b2;border:1px solid #4d7d7a;border-radius:8px;padding:7px}.sidebar-note strong{display:block;font-size:10px;color:#c9dce0}.sidebar-note small{font-size:9px;color:#91aeb7}.app-workspace{margin-left:var(--sidebar-width);min-height:100vh;min-width:0;display:flex;flex-direction:column}.topbar{height:78px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 34px;background:#ffffffdf;border-bottom:1px solid var(--line)}.topbar-leading{display:flex;align-items:center;gap:10px;min-width:0}.workspace-heading{display:flex;flex-direction:column;gap:2px;color:#546e79;font-size:12px}.workspace-overline{font-size:9px;font-weight:750;letter-spacing:1.6px;color:#7150c9}.workspace-page .topbar-brand{display:none}.account{display:flex;align-items:center;gap:10px;flex:none}.account-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#f0ebfc;color:#7150c9;font-size:12px;font-weight:700}.account-name{font-size:12px;color:#36515c}.logout-button{background:transparent;color:#6b7f87;padding:8px;min-height:40px;gap:7px}.logout-button .icon{width:17px;height:17px}.logout-button:hover{color:#6043b6;background:#f3effb}.logout-label{font-size:11px}.icon-button{background:transparent;color:inherit;width:42px;height:42px;min-height:42px;padding:8px;border-radius:8px}.icon-button:hover{background:#ffffff16}.menu-toggle,.nav-close{display:none}.nav-backdrop{position:fixed;inset:0;background:#071e2b80;border:0;border-radius:0;z-index:999;width:100%;height:100%;padding:0;backdrop-filter:blur(2px)}main{width:100%;max-width:1340px;margin:30px auto;padding:0 34px;flex:1;min-width:0}.app-footer{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 34px 24px;color:#82949b;font-size:10px}.app-footer strong{color:#526b75;font-size:10px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:25px;margin:22px 0;box-shadow:0 3px 14px #12323a03;min-width:0}.panel h2{margin-top:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:5px 0 25px}.page-heading p:last-child{margin-bottom:0}.page-heading h2{margin:0}.page-heading .actions{flex:none}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;background:#e7f5ef;color:#1f7563;padding:5px 9px;font-size:10px;font-weight:650;line-height:1.4}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.stats>div{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;min-width:0;font-size:11px;color:#6c8089}.stats strong{display:block;font-size:32px;line-height:1.2;letter-spacing:-1px;color:#163b46;margin:12px 0 7px;font-weight:720}.metric-top{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#52717a}.metric-top .icon{width:17px;height:17px}.metric-chip{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#eaf9f2;color:#188655}.metric-chip.amber{background:#fff3df;color:#bc8226}.metric-chip.blue{background:#e9f0f7;color:#4b7295}.metric-chip.rose{background:#f9edfc;color:#a84fbd}.hero-heading{align-items:flex-end;margin-bottom:8px}.hero-heading h1{font-size:32px}.hero-heading .muted{font-size:13px}.section-label{margin:28px 0 12px;font-size:13px;font-weight:650;color:#536c77}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.quick-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:19px;background:#fff;border:1px solid var(--line);border-radius:12px;color:#204752;transition:transform .15s,border-color .15s}.quick-card:hover{transform:translateY(-2px);border-color:#b7a3e8;text-decoration:none}.quick-card>.icon{width:21px;height:21px;color:#7150c9}.quick-card strong{font-size:13px;line-height:1.5}.quick-card p{font-size:11px;color:#7a8e96;line-height:1.6;margin:0}.quick-card .quick-bottom{display:flex;justify-content:space-between;align-items:center;width:100%;color:#7150c9;font-size:10px;margin-top:auto}.quick-bottom .icon{width:16px;height:16px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;margin-top:22px}.dashboard-columns>.panel{margin:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.section-heading h2{margin:0}.section-heading>.icon{color:#77938d;width:18px;height:18px}.empty-state{padding:20px 8px;display:flex;align-items:center;gap:15px}.empty-icon{display:grid;place-items:center;width:45px;height:45px;flex:none;border-radius:50%;background:#edf6f2;color:#4e927f}.empty-state strong{font-size:12px;color:#49636f}.empty-state p{font-size:11px;color:#7a8e96;margin:4px 0 0}.alert-list{list-style:none;padding:0;margin:0}.alert-list li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.alert-list li:last-child{border-bottom:0}.alert-list a{font-size:12px;font-weight:600}.alert-list span{color:#71868f;font-size:11px;flex:1;min-width:100px}.alert-list strong{font-size:11px}.export-option{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-top:10px;border-radius:9px;background:#f4f8f8;color:#3f6269;font-size:12px;font-weight:600}.export-option:hover{background:#efebfa;text-decoration:none}.export-option .icon{width:18px;height:18px;color:#7150c9}.export-option small{font-size:9px;color:#8ca0a7;margin-left:auto}.inventory-filters{grid-template-columns:minmax(0,1.7fr) repeat(2,minmax(0,1fr));align-items:end;margin-bottom:24px}.inventory-filters .search-field{grid-column:1/-1}.inventory-filters button{min-height:46px}.table-wrap{overflow-x:auto;max-width:100%;border:1px solid #e6edef;border-radius:9px}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th,td{padding:13px 14px;border-bottom:1px solid #e5ecee}th{font-size:10px;text-transform:none;letter-spacing:.15px;color:#6d838b;background:#f7fafa;font-weight:650;white-space:nowrap}td{vertical-align:top;overflow-wrap:anywhere;color:#47616c}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f9fcfb}td>a{font-weight:600}td small{display:block;color:#80939c;font-size:10px;margin-top:3px}.empty,td[colspan]{padding:28px 14px;color:#83969d;text-align:center}.registration.panel{padding:0}.registration summary{list-style:none;display:flex;align-items:center;gap:12px;padding:22px 25px;cursor:pointer;color:#254c56;font-size:15px;font-weight:650}.registration summary::-webkit-details-marker{display:none}.registration summary>.icon{color:#7150c9}.registration summary::after{content:'+';margin-left:auto;color:#609087;font-size:23px;line-height:1}.registration[open] summary::after{content:'−'}.registration .grid{padding:25px;border-top:1px solid var(--line)}#dynamic,#edit-dynamic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}#dynamic h3{grid-column:1/-1;margin:8px 0 0}.entry{padding:20px;border:1px solid var(--line);border-radius:9px;margin:14px 0}.entry p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.entryhead{display:flex;justify-content:space-between;gap:12px}.saved-signature{max-width:100%;width:450px;border:1px solid var(--line);border-radius:10px;background:white}#signature-pad,#sender-signature-pad{display:block;width:100%;height:190px;margin-top:14px;background:#fdfcfe;border:2px dashed #bcb0d8;border-radius:11px;touch-action:none;cursor:crosshair}.signature-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:14px 0;font-size:12px;color:#738991}.declaration{background:#f5f1fc;border-left:3px solid #9975dc;padding:17px 20px;margin:20px 0;border-radius:0 9px 9px 0}.declaration h3{margin:0 0 8px;font-size:13px}.declaration p{margin:0;font-size:12px;color:#65577d}.narrow{max-width:430px;margin:7vh auto}.narrow form{display:grid;gap:20px}.narrow h1{font-size:26px}.auth-page{background:radial-gradient(ellipse at 15% 0,#dcefe7 0,transparent 55%),#f4f7f8}.auth-page .app-workspace{margin-left:0}.auth-page .topbar{background:transparent;border:0;justify-content:center;height:110px}.auth-page .brand-mark{background:#173d47;color:#b9a3ff}.auth-page .brand-copy strong{font-size:20px}.auth-page .brand-copy small{color:#62817d;font-size:11px}.auth-page main{margin:0 auto}.auth-page .narrow{padding:34px;box-shadow:0 15px 50px #16352c09}.auth-page .app-footer{justify-content:center;gap:8px}.auth-page .app-footer strong{display:none}.login-intro{font-size:13px;color:#7c9096;margin-bottom:26px}.login-kicker{font-size:10px;letter-spacing:1.4px;font-weight:700;color:#6c4fc3;margin-bottom:10px}#checks label{margin:9px 0}
@media(min-width:1024px) and (max-width:1240px){.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}main{padding:0 26px}.topbar{padding:0 26px}.stats>div{padding:16px}}
@media(max-width:1023px){.app-workspace{margin-left:0}.sidebar{width:290px;max-width:88vw;transform:translateX(-100%);transition:transform .2s ease}.nav-open .sidebar{transform:translateX(0)}.nav-open{overflow:hidden}.nav-close{display:inline-flex;margin-left:4px;color:#c7dddd;flex:none}.sidebar-brand{padding:21px 18px}.sidebar-nav{padding:8px 14px 18px}.nav-item{min-height:48px;font-size:13px}.menu-toggle{display:inline-flex;color:#365e66;background:#eff5f3}.menu-toggle:hover{background:#dfeee8;color:#1d6055}.workspace-page .topbar-brand{display:flex}.topbar-brand .brand-mark{width:35px;height:35px;border-radius:10px;background:#e1f0e9;color:#2b7c68;font-size:12px}.topbar-brand .brand-copy strong{font-size:15px}.topbar-brand .brand-copy small{font-size:9px;color:#78928d}.workspace-heading{display:none}.topbar{height:78px;padding:0 25px}.quick-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-heading h1{font-size:30px}}
@media(max-width:760px){main{padding:0 20px;margin:24px auto}.topbar{padding:0 18px}.app-footer{padding:16px 20px 24px}.page-heading{align-items:flex-start;flex-direction:column;gap:16px}.page-heading .actions{flex-wrap:wrap}.hero-heading h1{font-size:28px}.stats{gap:12px}.stats>div{padding:16px}.stats strong{font-size:29px}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}.panel{padding:21px}.inventory-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-filters .search-field{grid-column:1/-1}.account-name,.account-avatar{display:none}.logout-label{display:none}.logout-button{width:40px;height:42px;padding:10px}.account{gap:0}.topbar-leading{gap:10px}.grid{gap:17px}.filters{flex-direction:column}.alert-list span{flex-basis:100%}.registration summary{padding:20px}.registration .grid{padding:20px}}
@media(max-width:600px){html{scroll-padding-top:20px}.topbar{height:74px;padding:0 14px}.topbar-brand .brand-copy strong{font-size:14px}.topbar-brand .brand-mark{width:31px;height:31px;border-radius:9px;font-size:11px}.brand{gap:9px}.topbar-leading{gap:8px}.menu-toggle{width:40px;height:40px;min-height:40px}.account{margin-left:auto}main{padding:0 16px;margin:22px auto}.app-footer{padding:15px 16px 22px;flex-direction:column;gap:3px;font-size:9px}.hero-heading .actions{width:100%;gap:10px}.hero-heading .actions a{flex:1;padding:10px;font-size:11px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.stats>div{padding:15px}.stats strong{font-size:30px}.metric-top{font-size:10px}.metric-chip{width:29px;height:29px}.grid,#dynamic,#edit-dynamic,.inventory-filters{grid-template-columns:1fr}.wide,.inventory-filters .search-field{grid-column:1}.panel{border-radius:11px;padding:19px;margin:18px 0}.page-heading{margin-bottom:20px;gap:14px}h1{font-size:26px;letter-spacing:-.7px}h2{font-size:17px}.eyebrow{font-size:9px;letter-spacing:1.4px}.quick-card{padding:16px;gap:9px}.quick-card strong{font-size:12px}.quick-card p{display:none}.quick-card .quick-bottom{font-size:9px}.section-label{margin:24px 0 11px}.dashboard-columns{gap:18px;margin-top:18px}.empty-state{padding:10px 0}.table-wrap{border:0;border-radius:0;overflow:visible}.table-wrap table,.table-wrap tbody{display:block;width:100%}.table-wrap thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.table-wrap tbody tr{display:block;border:1px solid #dfe9e8;border-radius:10px;margin-bottom:12px;padding:4px 0;overflow:hidden;background:#fff}.table-wrap tbody tr:last-child{margin-bottom:0}.table-wrap td{display:block;border-bottom:1px solid #edf2f2;padding:10px 14px;font-size:13px;overflow-wrap:anywhere}.table-wrap td:last-child{border-bottom:0}.table-wrap td::before{content:attr(data-label);display:block;font-size:10px;line-height:1.4;color:#82969c;font-weight:600;margin-bottom:5px}.table-wrap td[colspan]::before{display:none}.table-wrap td[colspan]{padding:22px 14px}.table-wrap td small{font-size:11px}.table-wrap .badge{font-size:11px}input,select,textarea{font-size:16px;min-height:48px;padding:12px}textarea{min-height:130px}label{font-size:13px}button,.button,a.secondary{min-height:46px;max-width:100%;white-space:normal}.actions{gap:10px}.signature-actions{gap:12px}.signature-actions button{font-size:12px}.signature-actions span{font-size:11px}#signature-pad,#sender-signature-pad{height:170px}.registration summary{font-size:14px;padding:18px}.registration .grid{padding:18px}.entry{padding:16px}.narrow{margin-top:4vh}.auth-page .narrow{padding:25px}.auth-page .topbar{height:104px}.auth-page .brand-copy strong{font-size:19px}.declaration{padding:15px 16px}.auth-page .app-footer{align-items:center}}

.page-heading>.actions{max-width:100%}h1{overflow-wrap:anywhere}a,button{touch-action:manipulation}


@media(max-width:900px){.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}.hero-heading{align-items:flex-start;flex-direction:column}}


.table-wrap table{min-width:680px}.table-wrap td:nth-child(3),.table-wrap td:nth-child(4){min-width:92px}@media(max-width:600px){.table-wrap table{min-width:0}.table-wrap td{min-width:0!important}}


.nav-backdrop:hover{background:#071e2b80}
.deletion-warning{padding:20px;border:1px solid #e7b9b6;border-left:4px solid #b5433d;border-radius:9px;background:#fff6f5;margin:22px 0}.deletion-warning h2{color:#96322e}.delete-confirm-form{display:grid;gap:22px}.delete-confirm-form>label{max-width:430px}.success-notice{padding:16px 20px;border:1px solid #b5d8c5;background:#eef9f2;color:#216742;border-radius:10px}
.preset-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:10px}.preset-toolbar{flex-wrap:wrap}.preset-heading label{margin:0}.preset-heading .small{font-size:11px}.preset-toolbar .small{font-size:12px}
@media(max-width:600px){.preset-heading{align-items:flex-start;gap:9px}.preset-heading button{font-size:11px}.preset-toolbar button{width:100%}}
/* Original Alfa Corporacion artwork, framed without altering the image. */
.company-logo{position:relative;display:block;width:196px;height:48px;overflow:hidden;flex:none;background:#060928}
.company-logo img{position:absolute;max-width:none;width:280px;height:auto;left:-38px;top:-103px}
.sidebar-brand{padding:24px 22px;position:relative}
.sidebar-brand:after{content:'';height:2px;position:absolute;bottom:0;left:22px;right:22px;background:linear-gradient(90deg,#23e689,#12bcd0,#6454f0,#d33fe5,#eed568);opacity:.8}
.sidebar-note .note-mark{color:#b29aff;border-color:#5b4b83}
.sidebar-nav{scrollbar-color:#39315e transparent}
.nav-group-label{color:#9195b4}.nav-item{color:#c0c3d9}.sidebar-note small{color:#9195b4}
.metric-chip.blue{background:#eaf1ff;color:#4075c4}.metric-chip.amber{background:#fff6dc;color:#a17a14}
.quick-card:nth-child(2)>.icon{color:#248e63}.quick-card:nth-child(3)>.icon{color:#b94bbf}.quick-card:nth-child(4)>.icon{color:#4186c2}
.auth-page{background:radial-gradient(ellipse at 15% 0,#e9e0fc 0,transparent 55%),#f4f5f9}
.auth-page .topbar-brand{padding:12px 28px;border-radius:16px;background:#060928}
.auth-page .company-logo{width:196px;height:48px}.login-kicker{color:#7150c9}
@media(max-width:1023px){
 .workspace-page .topbar{background:#060928;border-bottom-color:#222647;color:white}
 .workspace-page .menu-toggle{background:#1b1c40;color:#d5c8ff}.workspace-page .menu-toggle:hover{background:#2a2450;color:white}
 .workspace-page .logout-button{color:#c0c3d9}.workspace-page .logout-button:hover{background:#25204d;color:white}
 .workspace-page .account-name{color:#c0c3d9}.workspace-page .account-avatar{background:#25204d;color:#d5c8ff}
 .topbar-brand .company-logo{width:155px;height:39px}.topbar-brand .company-logo img{width:222px;left:-30px;top:-82px}
 .sidebar-brand{padding:21px 18px}.sidebar-brand .company-logo{width:183px;height:46px}.sidebar-brand .company-logo img{width:264px;left:-36px;top:-97px}
 .auth-page .topbar-brand .company-logo{width:196px;height:48px}.auth-page .topbar-brand .company-logo img{width:280px;left:-38px;top:-103px}
}

.maintenance-types{min-width:0;margin:0;padding:16px;border:1px solid #dfe3ed;border-radius:12px}.maintenance-types legend{font-weight:700;padding:0 6px}.maintenance-type-options{display:flex;flex-wrap:wrap;gap:12px 22px}.maintenance-type-options label{display:flex;align-items:center;gap:8px;margin:0;min-height:44px;cursor:pointer}.maintenance-type-options input[type="checkbox"]{width:20px;height:20px;margin:0;accent-color:#7150c9}.maintenance-types .error:empty{display:none}

.service-task{min-width:0;border:1px solid #dfe3ed;border-radius:12px;padding:18px;margin:0 0 22px}.service-task legend{font-weight:700;padding:0 8px}.service-task .remove-service{margin-top:16px}

.report-share .section-heading{flex-wrap:wrap}.report-share h2{margin-bottom:8px}.report-share details summary{cursor:pointer;font-weight:650;color:#6144cc;padding:10px 0}.report-share details>p{margin-top:12px}.share-options{margin:20px 0}.share-options form{display:grid;gap:12px}@media(max-width:600px){.report-share [data-share-native],.report-share details>a{width:100%}.share-options{grid-template-columns:1fr}}
