/* Helios V63: one visual system for the existing product. */
:root{--helios:#4f46e5;--helios-dark:#4338ca;--bg:#f5f6fb;--panel:#fff;--text:#1c2340;--muted:#717990;--border:#e6e9f2;--soft:#f4f5fa;--radius:18px;--sidebar:252px;--topbar:80px;--shadow:0 5px 24px rgba(28,35,64,.035)}
body{font-family:Inter,"Segoe UI",system-ui,sans-serif;line-height:1.55;letter-spacing:-.01em;background:var(--bg);color:var(--text)}
h1,h2,h3,h4,h5{color:var(--text);letter-spacing:-.035em}h1{font-size:clamp(25px,2.1vw,34px);font-weight:750}h2{font-size:19px}p{line-height:1.65}button,a,input,select,textarea{touch-action:manipulation}
[hidden]{display:none!important}a{color:var(--helios)}:focus-visible{outline:3px solid #aaa6ff;outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}label.form-label{font-size:13px;font-weight:650;color:#4d5670}
.helios-sidebar{padding:24px 18px 16px;background:#fff;border-right:1px solid var(--border);overflow-y:auto}.sidebar-brand{padding:0 10px}.sidebar-brand a{font-size:23px;letter-spacing:-.055em}.brand-mark{height:40px;width:40px;border-radius:13px;box-shadow:0 5px 12px #4f46e51c}.sidebar-nav{margin-top:27px;gap:4px}.nav-section-label{font-size:10px;letter-spacing:.12em;font-weight:750;color:#929ab0;padding:16px 13px 9px}.nav-item,.sidebar-collapse{border-radius:11px;height:45px;font-size:13px;gap:11px;color:#6c748a}.nav-item.active{background:#eeedff;color:var(--helios);box-shadow:inset 3px 0 var(--helios)}.sidebar-subnav{margin:5px 0 8px 19px;padding-left:14px;border-left:1px solid var(--border)}.sidebar-subnav-item{padding:9px 10px;min-height:37px;font-size:12px}.sidebar-platform-zone{margin-top:16px;border-top:1px solid var(--border);padding-top:15px}.sidebar-version{color:#9aa1b3;padding:4px 13px}.sidebar-bottom{padding-top:14px}
.helios-topbar{background:#fff;backdrop-filter:none;border-bottom:1px solid var(--border);padding:0 32px;grid-template-columns:minmax(120px,1fr) minmax(200px,410px) auto;gap:26px}.shell-breadcrumb{display:flex;flex-direction:column;gap:1px}.shell-breadcrumb span{font-size:11px;color:var(--muted)}.shell-breadcrumb strong{font-size:14px;font-weight:650}.global-search-trigger{background:#f7f8fc;border:0;height:42px;border-radius:10px;font-size:12px;box-shadow:none}.global-search-trigger kbd{background:#fff;border-color:var(--border)}.user-copy small{font-size:10px}.user-avatar{background:#eeedff;height:37px;width:37px}.helios-content{padding:32px;max-width:1640px}.skip-link{position:absolute;left:-10000px}.skip-link:focus{left:16px;top:12px;padding:12px;background:#fff;z-index:2000}
.page-head,.helios-directory-hero{margin-bottom:25px}.page-head h1,.helios-directory-hero h1{font-size:30px;font-weight:750;line-height:1.2}.page-head p{font-size:13px;color:var(--muted);max-width:730px}.surface,.admin-surface-v53,.workspace-admin-surface,.card,.helios-directory-shell{border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);background:var(--panel)}.surface-header{padding:22px 24px;border-bottom:1px solid #eef0f6;gap:16px}.surface-header h2{font-size:16px;font-weight:700}.surface-header p{margin:4px 0 0;font-size:12px;color:var(--muted)}.surface-body{padding:20px 24px}.surface-body:has(.list-row){padding:0}.toolbar{gap:14px;flex-wrap:wrap}.toolbar-left,.toolbar-right{gap:10px}.btn,.btn-helios,.btn-soft{border-radius:10px;font-size:12px;font-weight:650;min-height:40px}.btn-primary,.btn-helios{background:var(--helios);border-color:var(--helios);color:#fff}.btn-primary:hover{background:var(--helios-dark);border-color:var(--helios-dark)}.btn-soft{color:#59637c;border-color:var(--border);background:#fff}.btn-link{color:var(--helios)}.btn-sm{min-height:33px;font-size:11px}.icon-btn,.table-action-btn{width:34px;height:34px;border-radius:9px}.btn-close[data-view-dismiss]{width:auto;height:auto;background:none!important;opacity:1;font-size:12px;color:#69718a;padding:9px 13px;border:1px solid var(--border);border-radius:9px}.btn-close[data-view-dismiss]::after{content:'Volver'}
.form-control,.form-select{background:#fff;min-height:44px;border:1px solid #dfe3ee;border-radius:10px;font-size:13px;padding:10px 13px}.form-control:focus,.form-select:focus{border-color:#8b85f5;box-shadow:0 0 0 3px #4f46e510!important}textarea.form-control{resize:vertical;min-height:95px}.form-text{font-size:11px;color:var(--muted)}.input-group .btn{min-height:44px}.form-check-input:checked{background-color:var(--helios);border-color:var(--helios)}.badge-soft{border-radius:7px;font-size:10px;font-weight:650;padding:5px 9px}.entity-cell strong{font-size:13px}.entity-cell small{font-size:11px}.search-control input{min-width:220px}
.table-shell,.helios-directory-table-wrap,.table-responsive{overflow-x:auto}.helios-table{min-width:640px}.helios-table th{background:#f8f9fc;padding:13px 19px;font-size:10px;font-weight:700;letter-spacing:.06em;color:#8891a8}.helios-table td{padding:16px 19px;font-size:12px;border-color:#f0f2f7}.helios-table tbody tr:hover{background:#fafaff}.pagination-actions button{border-radius:9px;border:1px solid var(--border);width:34px;height:34px}.empty-state{padding:45px 24px;color:var(--muted);font-size:13px}.empty-state h3{font-size:17px}.empty-icon{margin:auto auto 16px;background:#eeedff;color:var(--helios);border-radius:16px}.helios-directory-hero{border:0;background:transparent;box-shadow:none;padding:0}.helios-directory-hero h1{color:var(--text)}.helios-directory-hero p{color:var(--muted)}.helios-directory-kicker,.helios-directory-eyebrow{color:#8e96aa;font-size:10px;letter-spacing:.1em}.helios-directory-toolbar{padding:24px;border-bottom:1px solid var(--border);background:#fff}.helios-directory-title-icon{border-radius:12px;background:#eeedff;color:var(--helios)}.helios-directory-title p{font-size:12px;color:var(--muted)}.helios-directory-footer{padding:18px 24px;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.helios-directory-status-filter{background:transparent;border:0}.helios-directory-filters{gap:10px}.helios-directory-table{margin:0}
.detail-hero,.client-detail-hero,.project-detail-hero{border-radius:var(--radius);box-shadow:var(--shadow)}.nav-tabs,.client-detail-tabs,.project-detail-tabs{border-bottom:1px solid var(--border);gap:6px}.nav-tabs .nav-link{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;font-size:12px;font-weight:650;color:var(--muted);padding:14px 18px}.nav-tabs .nav-link.active{color:var(--helios);border-bottom-color:var(--helios);background:none}.tab-pane{padding-top:20px}.nav-pills .nav-link{border-radius:9px}.nav-pills .nav-link.active{background:var(--helios)}.client-files-layout,.project-files-layout{gap:20px}.files-toolbar-v18,.document-toolbar{flex-wrap:wrap;gap:12px}.folder-chip{border:1px solid var(--border);border-radius:12px;box-shadow:none;background:#fff}.folder-chip:hover{border-color:#c3bfff;background:#fafaff}.dashboard-row-icon{background:#f1f0ff;color:var(--helios);border-radius:11px}
/* Every operation occupies the normal content column. There is no overlay or focus trap. */
.workspace-view{display:none;width:100%;position:static;inset:auto;z-index:auto;background:none;margin:0;overflow:visible;transform:none}.workspace-view.show{display:block}.view-frame{width:100%;max-width:100%;margin:0}.view-surface{width:100%;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;overflow:hidden}.view-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 30px;border-bottom:1px solid var(--border);background:#fff}.view-title{margin:0;font-size:24px;font-weight:750;line-height:1.3}.view-body{padding:30px}.view-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:20px 30px;border-top:1px solid var(--border);background:#fafbff}.view-decision{max-width:960px;margin:0 auto}.view-decision .view-surface{padding:30px}.view-decision .helios-swal-title{font-size:25px;text-align:left;margin:0 0 18px}.view-decision .helios-swal-content{text-align:left;margin:0 0 20px;font-size:13px}.view-decision .helios-swal-actions{justify-content:flex-end;gap:12px;margin-top:26px}.view-decision .helios-swal-icon{margin:0 0 15px;width:42px;height:42px;font-size:22px}.view-decision .helios-swal-btn{border-radius:10px;min-height:42px}.view-decision .swal2-input,.view-decision .helios-swal-input{width:100%;display:block;border:1px solid var(--border);border-radius:10px;padding:12px;margin:12px 0}.view-decision .helios-swal-label{display:block;text-align:left;font-size:12px}.view-decision .helios-swal-validation{border-radius:9px}.view-decision .helios-swal-footer{text-align:left;border-top:1px solid var(--border);padding-top:15px;color:var(--muted)}.workspace-view .document-preview,.workspace-view .document-preview-v18{min-height:440px}.workspace-view iframe{width:100%;min-height:520px}.workspace-view .document-detail-grid,.workspace-view .document-layout-v18{grid-template-columns:minmax(0,1fr) 320px;gap:24px}.workspace-view .calendar-admin-tabs-v51{flex-wrap:wrap}.workspace-view .command-search{padding:25px;border-bottom:1px solid var(--border)}.workspace-view .command-results{max-height:none;padding:20px}.workspace-view .command-search input{width:100%;border:1px solid var(--border);border-radius:11px;padding:13px}.command-item{border-radius:10px;padding:14px}.has-workspace-view .helios-content{min-height:calc(100vh - var(--topbar))}
/* Dashboard hierarchy: overview, attention, then detail. Charts are real, current counts. */
.dashboard-hero-v18{padding:0;background:transparent;border:0;color:var(--text);box-shadow:none;margin-bottom:26px;align-items:center}.dashboard-hero-v18 h1{color:var(--text);font-size:33px}.dashboard-hero-v18 p{color:var(--muted);max-width:660px;font-size:13px}.dashboard-eyebrow{color:var(--muted);font-size:10px;letter-spacing:.12em}.dashboard-hero-action{background:var(--helios);color:#fff;border:0;border-radius:11px;min-height:44px}.dashboard-kpi-grid-v18{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:0 0 24px}.dashboard-kpi-v18{padding:22px;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);background:#fff;gap:14px}.dashboard-kpi-v18 strong{font-size:29px;line-height:1.2;color:var(--text)}.dashboard-kpi-v18 small{font-size:11px;color:var(--muted);font-weight:650}.dashboard-kpi-v18 span:not(.dashboard-kpi-icon){font-size:10px;color:#969fb3}.dashboard-kpi-icon{height:40px;width:40px;border-radius:12px}.dashboard-grid-v63{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);gap:22px;margin-bottom:24px}.dashboard-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.dashboard-chart{margin:0;min-width:0}.dashboard-chart h3{font-size:13px;margin:0 0 16px;font-weight:700}.chart-ring{width:130px;height:130px;display:block;margin:0 auto 18px}.chart-ring circle{fill:none;stroke-width:10}.chart-ring .track{stroke:#f0efff}.chart-ring .value{stroke:var(--helios);stroke-linecap:round;transform:rotate(-90deg);transform-origin:65px 65px}.chart-ring text{font-family:inherit;fill:var(--text);font-weight:750;font-size:22px}.chart-legend{list-style:none;padding:0;margin:0}.chart-legend li{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);padding:7px 0}.chart-legend i{display:inline-block;height:7px;width:7px;border-radius:50%;background:var(--helios);margin-right:6px}.chart-legend li+li i{background:#dcd9ff}.chart-empty{font-size:12px;color:var(--muted);text-align:center;padding:26px 8px}.chart-caption{font-size:10px;color:#929ab0;line-height:1.5;text-align:center;margin-top:14px}.workspace-insights-v44{border:1px solid var(--border);border-radius:var(--radius);padding:24px;background:#fff;box-shadow:var(--shadow);margin:0}.workspace-insights-head{gap:15px}.workspace-insights-head h2{font-size:19px}.workspace-insights-head>div>span{font-size:10px;color:var(--muted);letter-spacing:.09em}.workspace-insight-cards{display:flex;flex-wrap:wrap;gap:12px;margin-top:19px}.workspace-insight-cards article{flex:1;min-width:160px;border:1px solid var(--border);background:#fafbff;border-radius:12px;padding:14px}.workspace-upcoming-list{display:grid;gap:0;margin-top:12px}.workspace-upcoming-list>a{display:flex;padding:12px 0;border-bottom:1px solid var(--border);text-decoration:none;font-size:12px;gap:12px}.dashboard-main-grid-v18{margin-top:0;gap:22px}.dashboard-panel-v18{border-radius:var(--radius)}.dashboard-panel-v18 .surface-body{padding:0}.dashboard-panel-v18 .surface-body:has(.v62-first-steps){padding:24px}.dashboard-project-row-v18,.dashboard-document-row-v18,.dashboard-activity-v18{padding:16px 23px;border-color:#f0f2f7}.dashboard-panel-kicker{font-size:9px;letter-spacing:.11em;color:#9ba3b6}.dashboard-link{font-size:11px}.v62-first-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.v62-first-steps li{border:1px solid var(--border);padding:16px;border-radius:12px;font-size:12px}.v63-guide-summary{padding:22px 24px;font-size:14px;font-weight:700;cursor:pointer;color:var(--text)}
/* Public surfaces follow the same spacing, controls and typography. Company colors still win. */
.booking-shell,.portal-shell,.request-shell{max-width:1160px;margin:0 auto;padding:30px}.booking-header,.portal-header{border-bottom:1px solid var(--border);padding-bottom:22px}.booking-card,.portal-card,.request-card,.public-share-card{border-radius:20px;border:1px solid var(--border);box-shadow:var(--shadow)}.booking-hero h1,.portal-hero h1{font-size:clamp(27px,4vw,39px);letter-spacing:-.045em}.booking-brand,.portal-brand{font-size:17px;font-weight:750}.booking-logo{border-radius:12px}.booking-step-title{font-weight:700}.login-card,.auth-card{border-radius:22px;box-shadow:0 16px 70px #1c234012;border:1px solid var(--border)}.knowledge-hero{border-radius:20px}.workspace-admin-layout,.admin-layout-v53{gap:24px}
@media(max-width:1150px){.helios-topbar{padding:0 22px;gap:16px}.helios-content{padding:24px}.dashboard-grid-v63{grid-template-columns:1fr}.dashboard-kpi-grid-v18{grid-template-columns:repeat(3,minmax(0,1fr))}.v62-first-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.helios-main{margin-left:0}.helios-topbar{height:68px;grid-template-columns:auto minmax(0,1fr) auto;padding:0 16px;gap:12px}.topbar-left{gap:9px}.mobile-menu{display:flex;order:-1}.shell-breadcrumb span{display:none}.shell-breadcrumb strong{font-size:12px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search-trigger span,.global-search-trigger kbd{display:none}.global-search-trigger{justify-content:center;height:38px;width:42px;justify-self:end}.user-copy{display:none}.helios-content{padding:22px 16px}.page-head,.helios-directory-hero{flex-wrap:wrap}.page-head h1,.helios-directory-hero h1,.dashboard-hero-v18 h1{font-size:27px}.dashboard-hero-v18{align-items:flex-start;gap:18px;flex-direction:column}.dashboard-kpi-grid-v18{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-kpi-v18{padding:17px;gap:10px}.dashboard-kpi-v18 strong{font-size:24px}.dashboard-kpi-icon{height:32px;width:32px}.dashboard-chart-grid{gap:18px}.dashboard-main-grid-v18,.section-grid{grid-template-columns:1fr}.surface-header,.surface-body,.helios-directory-toolbar{padding:19px}.view-header{padding:20px;align-items:flex-start}.view-title{font-size:23px}.view-body{padding:22px 20px}.view-footer{padding:18px 20px}.view-decision .view-surface{padding:22px}.workspace-view .document-detail-grid,.workspace-view .document-layout-v18{grid-template-columns:1fr}.workspace-view iframe{min-height:420px}.helios-directory-filters{width:100%;flex-wrap:wrap}.search-control,.search-control input{min-width:0;width:100%}.workspace-insights-v44{padding:20px}.workspace-insights-head{flex-wrap:wrap}.booking-shell,.portal-shell,.request-shell{padding:20px 16px}.v62-first-steps{grid-template-columns:1fr}.view-footer .btn{flex:1;justify-content:center}.view-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.dashboard-hero-v18::after{display:none}.workspace-insight-cards article strong{color:var(--text);font-size:25px}.workspace-insight-cards article small,.workspace-insight-cards article small b{color:var(--muted)}.workspace-insight-cards article .insight-icon{background:#eeedff;color:var(--helios)}.workspace-upcoming-list a{background:transparent;color:var(--text);border-radius:0}.workspace-upcoming-list a strong{color:var(--text)}.workspace-upcoming-list a small{color:var(--muted)}.workspace-upcoming-list a:hover{background:#fafaff}.dashboard-kpi-grid-v18:has(>article:nth-child(7)){grid-template-columns:repeat(12,minmax(0,1fr))}.dashboard-kpi-grid-v18:has(>article:nth-child(7))>article{grid-column:span 3}.dashboard-kpi-grid-v18:has(>article:nth-child(7))>article:nth-child(n+5){grid-column:span 4}@media(max-width:1150px){.dashboard-kpi-grid-v18:has(>article:nth-child(7)){grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-kpi-grid-v18:has(>article:nth-child(7))>article,.dashboard-kpi-grid-v18:has(>article:nth-child(7))>article:nth-child(n+5){grid-column:span 1}}@media(max-width:800px){.dashboard-kpi-grid-v18:has(>article:nth-child(7)){grid-template-columns:repeat(2,minmax(0,1fr))}}
/* One heading pattern across client, project, calendar and administration. */
:is(.helios-entity-hero,.calendar-hero-v511,.workspace-admin-hero-v530,.control-hero-v29,.knowledge-hero-v43){background:#fff;color:var(--text);border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);gap:24px;margin-bottom:24px;min-height:0}
:is(.helios-entity-hero,.calendar-hero-v511,.workspace-admin-hero-v530,.control-hero-v29,.knowledge-hero-v43)::before,:is(.helios-entity-hero,.calendar-hero-v511,.workspace-admin-hero-v530,.control-hero-v29,.knowledge-hero-v43)::after{display:none}
:is(.helios-entity-hero,.calendar-hero-v511,.workspace-admin-hero-v530,.control-hero-v29,.knowledge-hero-v43) :is(h1,h2,h3,strong){color:var(--text)}
:is(.helios-entity-hero,.calendar-hero-v511,.workspace-admin-hero-v530,.control-hero-v29,.knowledge-hero-v43) :is(p,small){color:var(--muted)}
:is(.helios-entity-hero-icon,.calendar-hero-badge-v511,.knowledge-hero-icon-v43){background:#eeedff;color:var(--helios);border:0;border-radius:14px;box-shadow:none}
:is(.workspace-admin-eyebrow-v530,.workspace-admin-context-v530,.calendar-hero-context-v511,.helios-entity-eyebrow,.control-eyebrow-v29){color:var(--muted);background:transparent;border:0}
:is(.helios-entity-hero-actions,.calendar-hero-actions-v511,.control-hero-actions-v30) .btn-light{border:1px solid var(--border);background:#f8f9fd;color:var(--text)}
.client-summary-overview{background:#fff;color:var(--text);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:var(--radius);padding:24px}.client-summary-overview::before,.client-summary-overview::after{display:none}.client-summary-overview :is(h2,h3,strong){color:var(--text)}.client-summary-overview :is(p,small,.client-summary-eyebrow){color:var(--muted)}.client-summary-kpi{background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow)}.client-summary-kpi strong{color:var(--text)}
.calendar-service-card,.calendar-resource-card,.workspace-user-card-v530{border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.workspace-view>h4{font-size:24px;margin-bottom:24px}.workspace-view.view-body>h4{padding-bottom:20px;border-bottom:1px solid var(--border)}
.workspace-view.view-body>.form-label{display:block;margin:18px 0 7px}.workspace-view.view-body>.row{margin-top:16px}.workspace-view.view-body>.form-check{margin:18px 0}.workspace-view.view-body>.d-flex{margin-top:24px}
@media(max-width:800px){:is(.helios-entity-hero,.calendar-hero-v511,.workspace-admin-hero-v530,.control-hero-v29,.knowledge-hero-v43){padding:22px;flex-direction:column;align-items:flex-start}.helios-entity-hero-main{gap:14px}.helios-entity-hero-actions,.calendar-hero-actions-v511{width:100%;flex-wrap:wrap}.helios-entity-hero h1{font-size:25px}.client-summary-overview{padding:20px}}
