/* LUCIO SISTEMAS - UNIFICACION DE PANTALLAS V22 - 2026-09-20 */
:root{--lu-blue:#0b63d8;--lu-blue-dark:#084ea9;--lu-navy:#081f4d;--lu-sky:#edf7ff;--lu-line:#d8e8f8;--lu-soft:#f7fbff;--lu-muted:#7086a4}
body:not(.lucio-home-view) .portal-shell{grid-template-columns:284px minmax(0,1fr)!important;min-height:100vh}
body:not(.lucio-home-view) .portal-sidebar{position:sticky!important;top:0!important;height:100vh!important;padding:18px!important;background:#fff!important;border-right:1px solid #e1ecf7!important;box-shadow:6px 0 24px rgba(25,78,130,.045)!important}
body:not(.lucio-home-view) .portal-brand{height:104px!important;margin:0 0 8px!important;padding:8px 12px 12px!important;border:0!important;gap:14px!important}
body:not(.lucio-home-view) .brand-car-mark{width:70px!important;height:50px!important;background:transparent!important;border:0!important;border-radius:0!important}
body:not(.lucio-home-view) .brand-car-mark svg{width:66px!important;height:48px!important;stroke:#075fcf!important;fill:none!important}
body:not(.lucio-home-view) .portal-brand strong{font-size:25px!important;line-height:.88!important;letter-spacing:-.035em!important;color:#071d4d!important}
body:not(.lucio-home-view) .portal-brand small{font-size:8px!important;letter-spacing:.28em!important;color:#36527c!important}
body:not(.lucio-home-view) .portal-user{display:none!important}
body:not(.lucio-home-view) .portal-menu{padding-bottom:112px!important}
body:not(.lucio-home-view) .portal-menu a,body:not(.lucio-home-view) .portal-menu summary{border-radius:8px!important;color:#405a7e!important;font-weight:700!important}
body:not(.lucio-home-view) .portal-menu a.active,body:not(.lucio-home-view) .portal-menu a:hover{background:#e9f3ff!important;color:#0b4fae!important;box-shadow:none!important}
body:not(.lucio-home-view) .portal-foot{position:absolute!important;left:24px!important;right:24px!important;bottom:22px!important;margin:0!important}
body:not(.lucio-home-view) .portal-logout{width:100%!important;height:48px!important;border:1px solid #bfd9f3!important;background:#fff!important;color:#0b326d!important;border-radius:9px!important;font-weight:800!important}
body:not(.lucio-home-view) .portal-top{min-height:184px!important;height:184px!important;padding:18px 22px 12px 26px!important;display:grid!important;grid-template-columns:minmax(300px,1.45fr) minmax(260px,.95fr) auto!important;grid-template-rows:56px 98px!important;gap:0 24px!important;background:#fff!important;border-bottom:1px solid #dfeaf5!important}
body:not(.lucio-home-view) .ls-global-search{grid-column:1!important;grid-row:1!important;position:relative!important;align-self:center!important}
body:not(.lucio-home-view) .ls-global-search input{height:46px!important;padding-left:44px!important;padding-right:54px!important;border:1px solid #cfe0f2!important;border-radius:10px!important;background:#fff!important}
body:not(.lucio-home-view) .ls-global-search kbd{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;padding:3px 7px!important;border-radius:6px!important;background:#f0f5fa!important;color:#69809f!important;border:0!important}
body:not(.lucio-home-view) .ls-personal-greeting{grid-column:2!important;grid-row:1!important;align-self:center!important;font-size:18px!important;color:#18345e!important}
body:not(.lucio-home-view) .ls-top-actions{grid-column:3!important;grid-row:1!important;position:static!important;align-self:center!important;display:flex!important;gap:12px!important}
body:not(.lucio-home-view) .ls-top-user img,body:not(.lucio-home-view) .ls-top-user>span{width:44px!important;height:44px!important;border:3px solid var(--lu-blue)!important}
body:not(.lucio-home-view) .ls-top-user b{font-size:12px!important;white-space:nowrap!important}
body:not(.lucio-home-view) .global-live-card{grid-column:1/4!important;grid-row:2!important;position:relative!important;width:100%!important;height:98px!important;min-height:98px!important;margin:0!important;padding:0 24px!important;display:grid!important;grid-template-columns:2.05fr 1fr 1.35fr 1fr!important;align-items:center!important;border:1px solid #cfe2f5!important;border-radius:15px!important;background:linear-gradient(90deg,#f8fcff 0,#edf7ff 70%,#e5f3ff 100%)!important;overflow:hidden!important}
body:not(.lucio-home-view) .global-live-card>em{display:none!important}
body:not(.lucio-home-view) .live-date-block,body:not(.lucio-home-view) .live-clock-block,body:not(.lucio-home-view) .global-live-place,body:not(.lucio-home-view) .global-live-weather{height:56px!important;display:flex!important;align-items:center!important;gap:13px!important;padding:0 22px!important;border-right:1px solid #cfe0f0!important;min-width:0!important}
body:not(.lucio-home-view) .live-date-block{padding-left:0!important}
body:not(.lucio-home-view) .global-live-weather{border-right:0!important}
body:not(.lucio-home-view) .live-icon{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:8px!important;background:#dcebff!important;color:var(--lu-blue)!important;font-size:19px!important;font-weight:900!important;flex:0 0 auto!important}
body:not(.lucio-home-view) .live-date-block b{display:block!important;color:#0b2457!important;font-size:13px!important;text-transform:capitalize!important}
body:not(.lucio-home-view) .live-date-block small{display:block!important;margin-top:5px!important;color:#7890ae!important;font-size:9px!important}
body:not(.lucio-home-view) .live-clock-block strong{font-size:29px!important;color:#08265e!important;white-space:nowrap!important}
body:not(.lucio-home-view) .global-live-place b{display:block!important;color:#0d2859!important;font-size:12px!important}
body:not(.lucio-home-view) .global-live-place small,body:not(.lucio-home-view) .global-live-weather small{display:block!important;margin-top:4px!important;color:#7e92ad!important;font-size:9px!important}
body:not(.lucio-home-view) .global-live-weather strong{display:block!important;color:#08265e!important;font-size:24px!important}
body:not(.lucio-home-view) .portal-content{padding:18px 24px 34px!important;background:linear-gradient(180deg,#fbfdff 0,#f5faff 70%,#eaf5ff 100%)!important;min-height:calc(100vh - 184px)!important}
body:not(.lucio-home-view) .heading,body:not(.lucio-home-view) .lucio-profile-hero{max-width:1240px;margin:0 auto 16px!important;padding:22px 26px!important;border:1px solid #d8e8f8!important;border-left:6px solid var(--lu-blue)!important;border-radius:12px!important;background:linear-gradient(135deg,#fff 0,#f5faff 100%)!important;box-shadow:0 8px 24px rgba(31,92,153,.055)!important}
body:not(.lucio-home-view) .heading h1,body:not(.lucio-home-view) .lucio-profile-hero h1{margin:2px 0 6px!important;color:#0a214e!important;font-size:31px!important;letter-spacing:-.03em!important}
body:not(.lucio-home-view) .heading p,body:not(.lucio-home-view) .lucio-profile-hero p{color:#617896!important}
body:not(.lucio-home-view) .panel{border:1px solid #d8e8f8!important;border-radius:12px!important;background:#fff!important;box-shadow:0 8px 22px rgba(31,92,153,.045)!important}
body:not(.lucio-home-view) .lucio-profile-master{max-width:1240px;margin:0 auto}
body:not(.lucio-home-view) .lucio-profile-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}
body:not(.lucio-home-view) .lucio-profile-kicker{margin:0 0 6px!important;color:var(--lu-blue)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.14em!important}
body:not(.lucio-home-view) .lucio-profile-state{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:8px 12px!important;border-radius:999px!important;background:#eaf7f1!important;color:#177556!important;font-size:12px!important;font-weight:800!important}
body:not(.lucio-home-view) .lucio-profile-state i{width:8px;height:8px;border-radius:50%;background:#22a06b}
body:not(.lucio-home-view) .lucio-profile-grid{display:grid!important;grid-template-columns:360px minmax(0,1fr)!important;gap:16px!important;align-items:start!important}
body:not(.lucio-home-view) .lucio-profile-identity{overflow:hidden!important;padding:0 18px 20px!important}
body:not(.lucio-home-view) .lucio-profile-cover{height:94px!important;margin:0 -18px 0!important;background:linear-gradient(135deg,#dceeff 0,#9dccff 55%,#0b63d8 100%)!important}
body:not(.lucio-home-view) .lucio-profile-avatar-xl{width:112px!important;height:112px!important;margin:-56px 0 14px!important;border:4px solid #fff!important;border-radius:50%!important;overflow:hidden!important;background:#eef6ff!important;box-shadow:0 8px 24px rgba(11,99,216,.16)!important}
body:not(.lucio-home-view) .lucio-profile-avatar-xl img{width:100%;height:100%;object-fit:cover}
body:not(.lucio-home-view) .lucio-profile-name h2{margin:0 0 4px!important;color:#0a214e!important;font-size:24px!important}
body:not(.lucio-home-view) .lucio-profile-name p{margin:0 0 10px!important;color:#6f84a0!important}
body:not(.lucio-home-view) .lucio-profile-facts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:18px!important}
body:not(.lucio-home-view) .lucio-profile-facts>div{padding:12px!important;border:1px solid #e1edf8!important;border-radius:9px!important;background:#f8fbff!important}
body:not(.lucio-home-view) .lucio-profile-facts small{display:block!important;margin-bottom:5px!important;color:#7c91aa!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body:not(.lucio-home-view) .lucio-profile-facts b{display:block!important;color:#17365f!important;font-size:12px!important;word-break:break-word!important}
body:not(.lucio-home-view) .lucio-profile-actions{display:grid!important;gap:16px!important}
body:not(.lucio-home-view) .lucio-profile-section{padding:22px!important}
body:not(.lucio-home-view) .lucio-profile-section .panel-head{margin-bottom:16px!important}
body:not(.lucio-home-view) .lucio-profile-section .panel-head h2{margin:0 0 5px!important;color:#0a214e!important;font-size:21px!important}
body:not(.lucio-home-view) .lucio-profile-form{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important}
body:not(.lucio-home-view) .lucio-profile-form .primary,body:not(.lucio-home-view) .lucio-profile-form .secondary{grid-column:1/-1!important}
body:not(.lucio-home-view) input,body:not(.lucio-home-view) select,body:not(.lucio-home-view) textarea{border:1px solid #cfe0f2!important;border-radius:9px!important;background:#fff!important}
body:not(.lucio-home-view) .primary,body:not(.lucio-home-view) .button.primary,body:not(.lucio-home-view) button.primary{background:var(--lu-blue)!important;border-color:var(--lu-blue)!important;color:#fff!important}
body:not(.lucio-home-view) .secondary,body:not(.lucio-home-view) .button.secondary{background:#fff!important;border-color:#bfd7ef!important;color:#0b4fae!important}
@media(max-width:1050px){body:not(.lucio-home-view) .portal-shell{grid-template-columns:242px minmax(0,1fr)!important}body:not(.lucio-home-view) .lucio-profile-grid{grid-template-columns:1fr!important}}
@media(max-width:760px){body:not(.lucio-home-view) .portal-shell{display:block!important}body:not(.lucio-home-view) .portal-sidebar{height:auto!important;position:relative!important}body:not(.lucio-home-view) .portal-top{height:auto!important;min-height:0!important;display:block!important;padding:14px!important}body:not(.lucio-home-view) .global-live-card{margin-top:12px!important;grid-template-columns:1fr 1fr!important;height:auto!important;padding:12px!important}body:not(.lucio-home-view) .portal-content{padding:14px!important}body:not(.lucio-home-view) .lucio-profile-form{grid-template-columns:1fr!important}}
body:not(.lucio-home-view) .lucio-profile-readonly{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
body:not(.lucio-home-view) .lucio-profile-readonly>span{display:block!important;padding:11px 12px!important;border:1px solid #e1edf8!important;border-radius:9px!important;background:#f8fbff!important}
body:not(.lucio-home-view) .lucio-profile-readonly small{display:block!important;margin-bottom:4px!important;color:#7d91a9!important;font-size:9px!important;text-transform:uppercase!important;letter-spacing:.08em!important}
body:not(.lucio-home-view) .lucio-profile-readonly b{display:block!important;color:#17365f!important;font-size:12px!important}
body:not(.lucio-home-view) .lucio-profile-photo-form{display:grid!important;grid-template-columns:92px minmax(0,1fr) auto!important;gap:16px!important;align-items:end!important}
body:not(.lucio-home-view) .lucio-profile-photo-mini{width:82px!important;height:82px!important;border-radius:50%!important;overflow:hidden!important;border:3px solid #d8e9fb!important;background:#eef6ff!important}
body:not(.lucio-home-view) .lucio-profile-photo-mini img{width:100%;height:100%;object-fit:cover}
body:not(.lucio-home-view) .lucio-profile-sync{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:16px!important;padding-top:14px!important;border-top:1px solid #e5eef7!important;color:#58708f!important;font-size:11px!important}
body:not(.lucio-home-view) .lucio-profile-sync span{width:9px!important;height:9px!important;border-radius:50%!important;background:#22a06b!important}
body:not(.lucio-home-view) .table-wrap,body:not(.lucio-home-view) .toolbar,body:not(.lucio-home-view) .detail,body:not(.lucio-home-view) .dossier-section,body:not(.lucio-home-view) .report-grid,body:not(.lucio-home-view) .identity-layout{max-width:1240px!important;margin-left:auto!important;margin-right:auto!important}
@media(max-width:760px){body:not(.lucio-home-view) .lucio-profile-readonly{grid-template-columns:1fr!important}body:not(.lucio-home-view) .lucio-profile-photo-form{grid-template-columns:1fr!important}}
