/* Employee dashboard navigation must start at the top edge of the workspace. */
@media(min-width:761px){
 .company-shell.employee-shell>.admin-main{padding-top:0!important;margin-top:0!important}
 .company-shell.employee-shell .employee-top-nav{top:0!important;margin-top:0!important}
 .company-shell.employee-shell .employee-dashboard{margin-top:0!important}
}
/* Use one consistent dark surface across dashboard cards, matching Pending My Approval. */
html:not([data-theme="light"]) .company-shell.module-dashboard .visual-kpi-grid>article,
html:not([data-theme="light"]) .company-shell.module-dashboard .visual-chart-card,
html:not([data-theme="light"]) .company-shell.module-dashboard .pending-approval-strip,
html:not([data-theme="light"]) .company-shell.module-dashboard .dashboard-detail-grid>.admin-panel,
html:not([data-theme="light"]) .company-shell.module-dashboard .recent-people-grid>a{background:#082944!important;background-image:none!important;border-color:#1a4d70!important;box-shadow:none!important}
html:not([data-theme="light"]) .company-shell.module-dashboard .pending-approval-strip>div>a,
html:not([data-theme="light"]) .company-shell.module-dashboard .dashboard-renewals .admin-list>article{background:#0b3150!important;border-color:#235675!important}
.module-page-intro{margin-bottom:20px}.module-page-editor textarea{resize:vertical;line-height:1.7}
/* Module Pages studio: compact previews, predictable columns and no horizontal overflow. */
.module-page-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;min-width:0}.module-page-editor{min-width:0;overflow:hidden}.module-page-editor>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.module-page-editor-title{display:flex;align-items:center;gap:12px;min-width:0}.module-page-editor-title>span{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border-radius:13px;color:#56ddff;background:rgba(22,139,255,.15)}.module-page-editor-title h2{margin:2px 0 0}.module-page-editor-preview{width:100%;max-width:680px;margin:0 auto 20px;padding:8px;overflow:hidden;border:1px solid rgba(74,151,209,.25);border-radius:16px;background:#061c33}.module-page-editor-preview img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;object-position:center;border-radius:10px;background:#041426}.module-page-editor-preview figcaption{padding:8px 4px 0;overflow:hidden;color:#7395b1;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.module-page-content-form,.module-page-content-form .form-grid{min-width:0}.module-page-content-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.module-page-content-form .wide{grid-column:1/-1}.module-page-content-form input,.module-page-content-form textarea{box-sizing:border-box;width:100%;max-width:100%}.module-page-upload{display:flex;align-items:end;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid rgba(100,160,205,.18)}.module-page-upload label{min-width:0;flex:1}.module-page-upload input{box-sizing:border-box;width:100%;margin-top:6px}
@media(max-width:1250px){.module-page-admin-grid{grid-template-columns:1fr}}@media(max-width:720px){.module-page-content-form .form-grid{grid-template-columns:1fr}.module-page-upload{align-items:stretch;flex-direction:column}}
