:root { color-scheme: light; --ink:#172033; --muted:#6b7280; --line:#e5e7eb; --surface:#fff; --canvas:#f5f7fb; --brand:#2563eb; --brand-dark:#1d4ed8; --success:#087443; --success-bg:#e7f7ef; --info:#1d4ed8; --info-bg:#e8efff; --danger:#b42318; --shadow:0 12px 32px rgba(23,32,51,.07); font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
:root { --warning:#92400e; --warning-bg:#fff4ce; --danger-bg:#feece9; --on-brand:#fff; --link:#1d4ed8; --shadow:0 3px 8px rgba(23,32,51,.035),0 12px 28px rgba(23,32,51,.045); }
.page-content { display:grid; gap:18px; }
.page-content > * { min-width:0; }
.button { align-items:center; gap:8px; min-height:44px; transition:filter .15s,transform .15s; }
.button:active { transform:translateY(1px); }
.button:disabled,.button[aria-busy=true] { opacity:.6; cursor:wait; }
.button-primary { color:var(--on-brand)!important; }
.button-primary:hover { filter:brightness(.95); }
.text-link,.text-button { color:var(--link)!important; }
:focus-visible { outline:3px solid var(--link); outline-offset:3px; }
input[type=checkbox],input[type=radio] { width:22px; height:22px; accent-color:var(--brand); flex-shrink:0; cursor:pointer; }
label:has(input[type=checkbox]),label:has(input[type=radio]) { min-height:44px; display:inline-flex; align-items:center; gap:10px; padding:6px; cursor:pointer; }
.badge-warning { color:var(--warning); background:var(--warning-bg); }
.badge-danger { color:var(--danger); background:var(--danger-bg); }
.ui-icon { width:20px; height:20px; flex-shrink:0; vertical-align:middle; }
.nav-link { display:flex; gap:10px; align-items:center; }
.nav-link.is-active { background:var(--brand)!important; color:var(--on-brand)!important; }
.avatar { display:inline-grid; place-items:center; width:42px; height:42px; border-radius:14px; background:var(--info-bg); color:var(--info); font-weight:800; }
.company-logo { object-fit:contain; border-radius:8px; background:white; vertical-align:middle; margin-right:10px; }
.stats-grid { display:grid; gap:12px; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); }
.quick-actions,.action-list,.page-actions { display:flex; flex-wrap:wrap; gap:10px; }
.field-wide { grid-column:1/-1; }
.bar-chart { margin:0; display:grid; gap:12px; }
.bar-chart figcaption { font-weight:750; margin-bottom:6px; }
.chart-row { display:grid; grid-template-columns:minmax(80px,1fr) minmax(50px,3fr) minmax(36px,auto); gap:12px; align-items:center; font-size:.85rem; }
meter { width:100%; height:20px; accent-color:var(--brand); }
meter::-webkit-meter-bar { border:0; background:#edf0f5; border-radius:6px; }
meter::-webkit-meter-optimum-value { background:var(--meter-color,var(--brand)); border-radius:6px; }
meter::-moz-meter-bar { background:var(--meter-color,var(--brand)); }
.tone-success { --meter-color:var(--success); }.tone-danger { --meter-color:var(--danger); }.tone-warning { --meter-color:var(--warning); }.tone-info { --meter-color:var(--info); }.tone-neutral { --meter-color:#64748b; }
.table-wrap { overflow-x:auto; }.data-table { width:100%; border-collapse:collapse; font-size:.9rem; }.data-table th,.data-table td { padding:12px; border-bottom:1px solid var(--line); text-align:left; }.data-table th { background:var(--canvas); }
.mobile-more summary { min-height:44px; padding:8px 16px; font-weight:700; cursor:pointer; }
.mobile-menu { position:absolute; bottom:70px; right:12px; display:grid; width:min(280px,90vw); max-height:70vh; overflow:auto; background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); padding:12px; }
.mobile-menu a { min-height:44px; }
@media(max-width:679px) { .page-heading,.welcome-row { flex-wrap:wrap; }.employee-row,.data-row { flex-wrap:wrap; }.employee-main { min-width:140px; }.form-actions { flex-wrap:wrap; }.input.compact { width:100%; }.details-list dd { overflow-wrap:anywhere; }.card { padding:16px; } }
@media(prefers-reduced-motion:no-preference) { .page-content { animation:appear .18s ease-out; }.account-popover,.mobile-menu { animation:appear .12s ease-out; } @keyframes appear { from { opacity:.5; transform:translateY(3px); } to { opacity:1; transform:none; } } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media print { .app-sidebar,.topbar,.mobile-nav,.button,.filter-grid { display:none!important; }.page-content { padding:0!important; }.card { box-shadow:none; break-inside:avoid; }.table-wrap { overflow:visible; } }
body { margin:0; color:var(--ink); background:var(--canvas); line-height:1.5; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
.app-body { min-height:100vh; }
.app-shell { display:flex; min-height:100vh; }
.app-sidebar { display:none; width:248px; flex:none; padding:26px 18px; background:#101827; color:#dbe4f0; }
.brand,.guest-brand { font-weight:800; letter-spacing:-.04em; font-size:1.45rem; color:#fff; }
.brand span,.guest-brand span { color:#60a5fa; }
.sidebar-label { margin:52px 12px 10px; color:#7d8ba1; font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.sidebar-nav { display:grid; gap:7px; }
.nav-group { display:grid; gap:3px; }
.nav-group > summary { display:flex; min-height:48px; align-items:center; gap:4px; padding:3px; border-radius:11px; color:#aebbd0; list-style:none; }
.nav-group > summary::-webkit-details-marker { display:none; }
.nav-group > summary:hover { background:#1b2a40; color:#fff; }
.nav-group[data-current-group="true"] > summary { background:color-mix(in srgb,var(--brand) 18%,#152238); color:#fff; box-shadow:inset 3px 0 var(--brand); }
.nav-group-landing { display:flex; min-width:0; min-height:42px; flex:1; align-items:center; gap:10px; padding:9px 10px; border-radius:9px; color:inherit; cursor:pointer; font-size:.78rem; font-weight:800; text-decoration:none; transition:color .14s ease,background .14s ease; }
.nav-group-toggle { display:grid; width:40px; height:40px; flex:none; place-items:center; border:0; border-radius:9px; background:transparent; color:inherit; cursor:pointer; }
.nav-group-toggle:hover { background:rgb(255 255 255 / .1); }
.nav-group-toggle span { display:block; font-size:1.15rem; line-height:1; transition:transform .14s ease; }
.nav-group[open] > summary .nav-group-toggle span { transform:rotate(180deg); }
.nav-group-landing:hover { background:rgb(255 255 255 / .08); color:#fff; }
.nav-group-landing:focus-visible,.nav-group-toggle:focus-visible { outline:2px solid var(--brand); outline-offset:1px; }
.nav-group-links { display:grid; gap:2px; margin:0 0 5px 13px; padding-left:8px; border-left:1px solid #334155; }
.nav-group-links .nav-link { display:flex; align-items:center; gap:9px; padding:8px 9px; font-size:.84rem; }
.nav-group-links .ui-icon,.nav-group-landing .ui-icon { width:17px; height:17px; flex:none; }
.nav-group-links .nav-link { transition:background .14s ease,color .14s ease,transform .14s ease; }
.nav-group-links .nav-link:hover { background:rgb(255 255 255 / .07); color:#fff; }
.nav-group-links .nav-link[aria-current="page"] { color:#fff; background:color-mix(in srgb,var(--brand) 25%,#172338); outline:1px solid color-mix(in srgb,var(--brand) 50%,transparent); }
.nav-group-links .nav-link[aria-current="page"] .ui-icon,.nav-group[data-current-group="true"] > summary .nav-group-landing .ui-icon { color:color-mix(in srgb,var(--brand) 65%,white); }
.nav-link { padding:11px 12px; border-radius:10px; color:#aebbd0; font-weight:600; font-size:.92rem; }
.nav-link.is-active { color:#fff; background:#1f3a68; }
.nav-link.is-disabled,.is-disabled { color:#8996aa; cursor:not-allowed; }
.nav-link small { float:right; font-size:.65rem; font-weight:500; }
.sidebar-footer { display:grid; gap:3px; margin:32px 12px 0; padding-top:18px; border-top:1px solid #273449; font-size:.84rem; }
.app-main { width:100%; min-width:0; }
.topbar { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:20px; background:var(--surface); border-bottom:1px solid var(--line); }
.topbar h1 { margin:2px 0 0; font-size:1.25rem; letter-spacing:-.02em; }
.page-content { max-width:1200px; margin:0 auto; padding:24px 20px 92px; }
.page-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:24px; }
.page-heading h2 { margin:.25rem 0; }
.eyebrow { display:block; color:var(--muted); font-size:.7rem; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.muted { color:var(--muted); }
h2 { margin:.25rem 0; font-size:1.35rem; line-height:1.2; letter-spacing:-.03em; }
.welcome-row { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:24px; }
.welcome-row p { max-width:650px; margin:.5rem 0 0; }
.stat-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:18px; }
.card { padding:18px; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow); }
.stat-card { display:grid; gap:5px; min-height:130px; }
.stat-card strong { font-size:1.15rem; }
.content-grid { display:grid; gap:18px; }
.section-heading { display:flex; justify-content:space-between; gap:15px; margin-bottom:15px; }
.action-list { min-height:150px; }
.role-callout { margin:0 0 5px; font-size:1.7rem; font-weight:800; letter-spacing:-.04em; }
.badge { display:inline-flex; align-items:center; border-radius:999px; padding:5px 10px; font-size:.72rem; font-weight:800; white-space:nowrap; }
.badge-success { color:var(--success); background:var(--success-bg); }
.badge-info { color:var(--info); background:var(--info-bg); }
.badge-neutral { color:#475467; background:#eef1f5; }
.empty-state { display:grid; justify-items:start; gap:4px; padding:8px 0; }
.empty-icon { display:grid; place-items:center; width:28px; height:28px; border-radius:8px; color:var(--brand); background:#e8efff; font-weight:800; }
.empty-state h3 { margin:5px 0 0; font-size:1rem; }
.empty-state p { margin:0; color:var(--muted); font-size:.9rem; }
.account-menu { position:relative; }
.account-menu summary { cursor:pointer; padding:8px 10px; border:1px solid var(--line); border-radius:10px; font-weight:700; font-size:.85rem; list-style:none; }
.account-menu summary::-webkit-details-marker { display:none; }
.account-popover { position:absolute; z-index:2; right:0; top:46px; display:grid; gap:10px; min-width:210px; padding:14px; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:var(--shadow); }
.text-button { padding:0; border:0; color:var(--brand); background:none; cursor:pointer; text-align:left; font-weight:700; }
.toast { margin:18px 20px -6px; padding:10px 13px; border:1px solid #b6e3ca; border-radius:10px; color:var(--success); background:var(--success-bg); }
.mobile-nav { position:fixed; z-index:3; right:0; bottom:0; left:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:stretch; gap:4px; padding:8px 8px calc(8px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:var(--surface); box-shadow:0 -8px 24px rgba(23,32,51,.06); }
.mobile-nav a,.mobile-nav span { padding:7px 14px; color:var(--muted); font-size:.78rem; font-weight:800; }
.mobile-nav .is-active { color:var(--brand); }
.guest-body { display:grid; min-height:100vh; place-items:center; padding:20px; background:linear-gradient(140deg,#eef4ff,#f7f9fc 55%,#eaf8f2); }
.guest-shell { width:min(100%,420px); }
.guest-brand { margin-bottom:20px; color:var(--ink); }
.auth-card { padding:26px; border:1px solid rgba(229,231,235,.85); border-radius:20px; background:#fff; box-shadow:var(--shadow); }
.auth-card h1 { margin:.3rem 0 .45rem; font-size:1.65rem; line-height:1.1; letter-spacing:-.04em; }
.auth-card > p { margin:0 0 24px; }
.stack-lg { display:grid; gap:16px; }
.field { display:grid; gap:6px; }
.field label { font-size:.83rem; font-weight:750; }
.input { width:100%; padding:11px 12px; border:1px solid #d6dbe4; border-radius:10px; outline:0; background:#fff; color:var(--ink); }
.input:focus { border-color:var(--brand); box-shadow:0 0 0 3px #dbeafe; }
.input.is-invalid { border-color:#f3a4a0; }
.field-error { margin:0; color:var(--danger); font-size:.78rem; }
.checkbox-row { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:.82rem; }
.button { display:inline-flex; justify-content:center; padding:11px 16px; border:0; border-radius:10px; cursor:pointer; font-weight:800; }
.button-primary { color:#fff; background:var(--brand); }
.button-primary:hover { background:var(--brand-dark); }
.button-secondary { color:#344054; background:#eef1f5; }
.text-link { color:var(--brand); font-weight:750; }
.text-link.strong { font-size:1rem; }
.danger { color:var(--danger); }
.row-actions { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:10px; }
.data-list,.employee-list { display:grid; }
.data-row,.employee-row { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.data-row:first-child,.employee-row:first-child { padding-top:0; }
.data-row:last-child,.employee-row:last-child { padding-bottom:0; border-bottom:0; }
.data-row > div:first-child { display:grid; gap:3px; min-width:0; flex:1; }
.data-row .muted,.employee-main .muted { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.82rem; }
.filter-card { margin-bottom:16px; }
.filter-grid,.form-grid { display:grid; gap:15px; }
.filter-grid { align-items:end; }
.filter-grid .form-actions { align-items:center; }
.form-section { margin-bottom:18px; }
.form-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:4px; }
.full-span { grid-column:1 / -1; }
.bulk-card { margin-bottom:16px; }
.bulk-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.bulk-bar strong { margin-right:auto; }
.input.compact { width:auto; min-width:130px; padding:8px 10px; font-size:.82rem; }
.check-cell { display:grid; place-items:center; flex:none; }
.employee-main { display:grid; gap:2px; min-width:130px; flex:1; }
.employee-meta { display:none; color:var(--muted); font-size:.8rem; }
.error-banner { margin-bottom:16px; padding:10px 13px; border:1px solid #f3a4a0; border-radius:10px; color:var(--danger); background:#fff3f2; }
.profile-grid { display:grid; gap:18px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.full-width { width:100%; }
.guest-footnote { margin:16px 0 0; color:var(--muted); text-align:center; font-size:.78rem; }
.details-list { display:grid; gap:14px; margin:0; }
.details-list div { display:flex; justify-content:space-between; gap:20px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.details-list div:last-child { padding-bottom:0; border-bottom:0; }
.details-list dt { color:var(--muted); }
.details-list dd { margin:0; font-weight:700; text-align:right; }
@media (min-width:760px) { .app-sidebar { display:block; } .topbar { padding:24px 34px; } .page-content { padding:34px; } .mobile-nav { display:none; } .stat-grid { grid-template-columns:repeat(4,1fr); } .content-grid { grid-template-columns:1.3fr 1fr; } }
@media (min-width:680px) { .filter-grid { grid-template-columns:repeat(4,1fr); } .form-grid { grid-template-columns:1fr 1fr; } .profile-grid { grid-template-columns:repeat(2,1fr); } .profile-grid .card:last-child { grid-column:1 / -1; } .employee-meta { display:grid; grid-template-columns:repeat(2,minmax(90px,1fr)); gap:12px; width:230px; } }
.hidden { display:none!important; }
.button { min-height:46px; border-radius:12px; box-shadow:0 4px 14px rgba(15,23,42,.06); transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
.button:hover { transform:translateY(-1px); box-shadow:0 8px 20px rgba(15,23,42,.1); }
.card { border-color:rgba(226,232,240,.9); border-radius:20px; box-shadow:0 12px 32px rgba(15,23,42,.06); }
.stat-card { position:relative; overflow:hidden; }
.stat-card:after { position:absolute; right:-22px; bottom:-30px; width:90px; height:90px; border-radius:999px; background:rgba(37,99,235,.08); content:''; }
.app-sidebar { background:linear-gradient(180deg,#101a33,#172554); }
.topbar { background:rgba(255,255,255,.88); backdrop-filter:blur(12px); }
.nav-link { border-radius:12px; }
.nav-link.is-active { background:linear-gradient(135deg,#2563eb,#4f46e5)!important; box-shadow:0 8px 18px rgba(37,99,235,.25); }
.input { min-height:46px; border-radius:12px; }
@media(prefers-reduced-motion:reduce) { .button { transition:none; } .button:hover { transform:none; } }

/* Employee profile tabs and compact progressive disclosure. */
.profile-tabs { display:flex; gap:8px; overflow-x:auto; padding:4px; border:1px solid var(--line); border-radius:16px; background:#fff; scrollbar-width:none; }
.profile-tab { min-height:44px; flex:0 0 auto; padding:9px 14px; border:0; border-radius:11px; background:transparent; color:var(--muted); font:inherit; font-weight:800; cursor:pointer; }
.profile-tab.is-active { background:var(--brand); color:var(--on-brand); box-shadow:0 5px 14px rgb(37 99 235 / .2); }
.profile-panel[hidden], .lifecycle-field[hidden] { display:none !important; }
.form-actions-sticky { position:sticky; bottom:12px; z-index:2; justify-content:flex-end; padding:12px; border:1px solid var(--line); border-radius:16px; background:rgb(255 255 255 / .94); box-shadow:0 10px 28px rgb(15 23 42 / .12); backdrop-filter:blur(10px); }
.mobile-menu-trigger { display:grid; place-items:center; gap:2px; min-height:44px; border:0; background:transparent; color:var(--muted); font:inherit; font-size:.78rem; font-weight:800; cursor:pointer; }
.mobile-nav-icon { display:block; font-size:1.2rem; line-height:1; }
.mobile-app-menu { position:fixed; inset:0; z-index:20; overflow:auto; background:rgb(15 23 42 / .62); }
.mobile-app-menu-panel { min-height:100%; padding:20px 16px calc(32px + env(safe-area-inset-bottom)); background:linear-gradient(180deg,#f8fbff,#eef4ff); }
.mobile-app-menu-header { display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:720px; margin:0 auto 22px; }
.mobile-app-menu-header h2 { margin:2px 0 0; }
.mobile-app-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; max-width:720px; margin:auto; }
.mobile-app-grid a { display:grid; min-height:104px; align-content:center; justify-items:center; gap:10px; padding:12px 6px; border:1px solid #dbe5f5; border-radius:18px; background:#fff; color:var(--ink); font-size:.78rem; font-weight:800; text-align:center; box-shadow:0 8px 20px rgb(30 64 175 / .08); }
.mobile-app-grid a:nth-child(3n+1) { background:#eff6ff; }.mobile-app-grid a:nth-child(3n+2) { background:#f5f3ff; }.mobile-app-grid a:nth-child(3n) { background:#ecfeff; }
.menu-tile-icon { display:grid; width:38px; height:38px; place-items:center; border-radius:13px; background:#2563eb; color:#fff; font-size:1.25rem; }
.mobile-app-grid a:nth-child(3n+2) .menu-tile-icon { background:#7c3aed; }.mobile-app-grid a:nth-child(3n) .menu-tile-icon { background:#0f766e; }
body.mobile-menu-open { overflow:hidden; }
body.is-navigating .page-content { opacity:.55; transition:opacity .12s ease; }
@media(max-width:359px) { .mobile-app-grid { gap:8px; }.mobile-app-grid a { min-height:96px; font-size:.72rem; } }
@media(prefers-reduced-motion:reduce) { body.is-navigating .page-content { transition:none; } }
.ui-checkbox,.ui-switch { min-height:46px; display:inline-flex; align-items:center; gap:10px; cursor:pointer; }
.ui-checkbox-input,.ui-switch input { position:absolute; opacity:0; pointer-events:none; }
.ui-checkbox-box { display:grid; place-items:center; width:22px; height:22px; border:2px solid #cbd5e1; border-radius:7px; color:transparent; background:#fff; transition:.15s ease; }
.ui-checkbox-input:checked + .ui-checkbox-box { border-color:#2563eb; color:#fff; background:#2563eb; }
.ui-checkbox-input:focus-visible + .ui-checkbox-box { outline:3px solid #bfdbfe; outline-offset:2px; }
.ui-switch-track { width:44px; height:26px; padding:3px; border-radius:999px; background:#cbd5e1; transition:.15s ease; }
.ui-switch-track span { display:block; width:20px; height:20px; border-radius:50%; background:#fff; transition:transform .15s ease; }
.ui-switch input:checked + .ui-switch-track { background:#2563eb; }.ui-switch input:checked + .ui-switch-track span { transform:translateX(18px); }
.ui-alert { padding:12px 14px; border:1px solid #bfdbfe; border-radius:14px; background:#eff6ff; color:#1e40af; }
.ui-alert-danger { border-color:#fecaca; background:#fef2f2; color:#991b1b; }.ui-alert-success { border-color:#bbf7d0; background:#f0fdf4; color:#166534; }
.ui-spinner { display:inline-block; width:18px; height:18px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:ui-spin .65s linear infinite; }
@keyframes ui-spin { to { transform:rotate(360deg); } }
.ui-skeleton { display:grid; gap:10px; }.ui-skeleton span { display:block; width:100%; height:14px; border-radius:8px; background:linear-gradient(90deg,#e2e8f0,#f8fafc,#e2e8f0); background-size:200% 100%; animation:ui-shimmer 1.25s linear infinite; }.ui-skeleton span:nth-child(2) { width:78%; }.ui-skeleton span:nth-child(3) { width:58%; }
@keyframes ui-shimmer { to { background-position:-200% 0; } }
select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea { min-height:46px; padding:11px 12px; border:1px solid #d6dbe4; border-radius:12px; outline:0; background:#fff; color:var(--ink); }
select:focus,input:not([type=checkbox]):not([type=radio]):not([type=hidden]):focus,textarea:focus { border-color:var(--brand); box-shadow:0 0 0 3px #dbeafe; }
select:disabled,input:disabled,textarea:disabled { cursor:not-allowed; opacity:.65; background:#f1f5f9; }
input[type=checkbox],input[type=radio] { accent-color:var(--brand); }
.ui-icon { width:18px; height:18px; }
.page-content { max-width:1280px; }
.form-page,.settings-page { display:grid; gap:16px; max-width:1120px; margin:0 auto; }
.form-section { padding:20px 22px; border-radius:16px; box-shadow:0 6px 20px rgba(15,23,42,.045); }
.form-section .section-heading { margin-bottom:18px; }
.form-section .section-heading h2 { font-size:1.05rem; }
.form-section .section-heading p { margin:.35rem 0 0; font-size:.82rem; max-width:620px; }
.form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 20px; }
.field { min-width:0; max-width:28rem; }
.field.full-span { max-width:none; }
.field label,.field legend { font-size:.78rem; letter-spacing:.01em; }
.input,select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea { min-height:44px; padding:9px 11px; border-radius:10px; font-size:.9rem; }
textarea.input { min-height:88px; resize:vertical; }
.button { min-height:42px; padding:9px 14px; border-radius:10px; }
.day-selector { max-width:none; }
.day-chips { display:flex; flex-wrap:wrap; gap:8px; }
.day-chip { position:relative; display:inline-flex!important; min-height:38px!important; padding:0!important; }
.day-chip input { position:absolute; opacity:0; pointer-events:none; }
.day-chip span { display:grid; min-width:54px; min-height:38px; place-items:center; padding:0 12px; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:var(--muted); font-size:.78rem; font-weight:800; }
.day-chip input:checked + span { border-color:var(--brand); color:var(--on-brand); background:var(--brand); box-shadow:0 5px 12px color-mix(in srgb,var(--brand) 20%,transparent); }
.day-chip input:focus-visible + span { outline:3px solid color-mix(in srgb,var(--brand) 28%,white); outline-offset:2px; }
@media(max-width:679px) { .form-page,.settings-page { gap:12px; }.form-section { padding:16px; }.form-grid { grid-template-columns:1fr; gap:14px; }.field,.field.full-span { max-width:none; }.page-heading .button { width:100%; }.day-chip span { min-width:48px; } }
.dashboard-kpis { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.dashboard-kpi { position:relative; display:grid; min-height:136px; align-content:start; gap:6px; padding:16px; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); box-shadow:0 6px 20px rgba(15,23,42,.045); }
.dashboard-kpi:hover { border-color:var(--brand-border); transform:translateY(-1px); }
.dashboard-kpi .ui-icon { color:var(--brand); margin-bottom:8px; }
.dashboard-kpi strong { font-size:1.65rem; letter-spacing:-.05em; }
.dashboard-kpi small { color:var(--muted); font-size:.75rem; }
.platform-attention-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px; }
.platform-activity { margin-top:18px; }
.kpi-success .ui-icon { color:var(--success); }.kpi-danger .ui-icon { color:var(--danger); }.kpi-warning .ui-icon { color:var(--warning); }.kpi-info .ui-icon { color:var(--info); }
.analytics-card { overflow:hidden; }
.trend-widget { display:grid; gap:16px; }.trend-legend { display:flex; flex-wrap:wrap; gap:12px; color:var(--muted); font-size:.72rem; font-weight:700; }.trend-legend span::before { display:inline-block; width:8px; height:8px; margin-right:5px; border-radius:99px; content:''; }.legend-present::before { background:var(--success); }.legend-absent::before { background:var(--danger); }.legend-late::before { background:var(--warning); }
.trend-bars { display:grid; grid-template-columns:repeat(7,1fr); align-items:end; gap:12px; min-height:170px; padding:10px 0 0; border-bottom:1px solid var(--line); }.trend-day { display:grid; gap:8px; justify-items:center; color:var(--muted); font-size:.72rem; }.trend-stack { display:flex; align-items:end; justify-content:center; gap:3px; width:100%; height:135px; }.trend-bar { width:clamp(8px,2vw,18px); height:var(--bar-size); min-height:3px; border-radius:6px 6px 2px 2px; transform-origin:bottom; transition:height .55s ease,transform .2s ease; }.trend-bars:not(.is-ready) .trend-bar { height:3px!important; }.trend-bar:hover { transform:scaleY(1.04); }.trend-present { background:var(--success); }.trend-absent { background:var(--danger); }.trend-late { background:var(--warning); }.analytics-foot { display:flex; flex-wrap:wrap; gap:18px; color:var(--muted); font-size:.8rem; }.analytics-foot strong { color:var(--ink); }.progress-bar { height:10px; overflow:hidden; border-radius:999px; background:var(--line); }.progress-bar span { display:block; height:100%; border-radius:inherit; background:var(--brand); transition:width .2s ease; }
@media(max-width:900px) { .dashboard-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:900px) { .platform-attention-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.topbar-search { width:min(320px,34vw); }.topbar-search .input { min-height:40px; }
@media(max-width:679px) { .topbar-search { order:3; width:100%; }.topbar-search .input { width:100%; } }
@media(max-width:679px) { .dashboard-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }.dashboard-kpi { min-height:120px; padding:14px; }.dashboard-kpi strong { font-size:1.4rem; }.trend-bars { gap:6px; }.trend-stack { height:110px; }.analytics-foot { display:grid; grid-template-columns:1fr 1fr; gap:8px; } }
@media(max-width:420px) { .platform-attention-grid { grid-template-columns:1fr 1fr; gap:8px; }.platform-attention-grid .stat-card,.platform-attention-grid .dashboard-kpi { min-height:112px; padding:12px; } }
.guide-card { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr); gap:28px; }
.guide-list { min-width:0; }.guide-list .stack-list { margin-top:14px; }.guide-list .stack-list li { padding:12px 0; border-bottom:1px solid var(--line); }.guide-list .stack-list li:last-child { border-bottom:0; }
.guide-next { align-self:start; padding:18px; border:1px solid var(--brand-border); border-radius:14px; background:var(--brand-soft); }.guide-next p { font-size:.86rem; }
@media(max-width:679px) { .guide-card { grid-template-columns:1fr; gap:18px; }.guide-next { padding:14px; } }
.portal-attendance-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px; background:linear-gradient(135deg,var(--brand-soft),var(--surface)); border-color:var(--brand-border); }.portal-attendance-card h2 { margin:.3rem 0; }.portal-status { display:grid; min-width:150px; justify-items:end; gap:4px; color:var(--brand); }.portal-status .ui-icon { width:28px; height:28px; }.portal-status small { color:var(--muted); text-align:right; }.payroll-bars { display:grid; grid-template-columns:repeat(6,1fr); align-items:end; gap:14px; min-height:170px; border-bottom:1px solid var(--line); }.payroll-period { display:grid; gap:8px; justify-items:center; color:var(--muted); font-size:.72rem; }.payroll-columns { display:flex; align-items:end; gap:3px; height:135px; }.payroll-columns span { display:block; width:12px; height:var(--bar-size); border-radius:5px 5px 2px 2px; background:var(--brand); }.payroll-columns span:nth-child(2) { background:var(--success); }.payroll-columns span:nth-child(3) { background:var(--danger); }.legend-gross::before,.legend-net::before,.legend-deductions::before { display:inline-block; width:8px; height:8px; margin-right:5px; border-radius:99px; content:''; }.legend-gross::before { background:var(--brand); }.legend-net::before { background:var(--success); }.legend-deductions::before { background:var(--danger); }
@media(max-width:679px) { .portal-attendance-card { align-items:flex-start; flex-direction:column; }.portal-status { justify-items:start; }.portal-status small { text-align:left; }.payroll-bars { gap:6px; }.payroll-columns span { width:8px; } }
.topbar { flex-wrap:wrap; }.topbar > div:first-child { min-width:0; flex:1 1 180px; }.topbar-search { flex:0 1 320px; }.topbar-search .input { width:100%; }
.button[aria-busy=true] { pointer-events:none; }.button[aria-busy=true] .ui-spinner { width:15px; height:15px; }
.ui-spinner { flex:none; }.data-row:focus-visible,.employee-row:focus-within { border-radius:12px; outline:3px solid color-mix(in srgb,var(--brand) 28%,white); outline-offset:2px; }
.button-small { padding:6px 10px; font-size:12px; }.password-strength { margin-top:8px; }.password-strength-label { display:flex; justify-content:space-between; font-size:12px; }.password-strength-meter { height:7px; margin:5px 0; border-radius:99px; background:#e5e7eb; overflow:hidden; }.password-strength-meter span { display:block; height:100%; width:0; background:#ef4444; transition:width .15s ease,background .15s ease; }.password-strength-meter span[data-level="fair"] { background:#f59e0b; }.password-strength-meter span[data-level="good"] { background:#3b82f6; }.password-strength-meter span[data-level="strong"] { background:#16a34a; }
.table-wrap { scrollbar-color:var(--brand-border) transparent; scrollbar-width:thin; }.table-wrap table { min-width:640px; }
@media(max-width:759px) { .topbar { gap:10px; padding:14px 16px; }.topbar > div:first-child { flex-basis:calc(100% - 120px); }.account-menu { margin-left:auto; }.topbar-search { order:3; flex-basis:100%; }.page-content { padding:18px 14px 88px; }.page-heading { margin-bottom:16px; }.page-heading .page-actions,.page-heading .row-actions { width:100%; }.page-heading .page-actions .button,.page-heading .row-actions .button { flex:1 1 140px; }.card { border-radius:16px; }.mobile-nav a,.mobile-nav span { min-height:44px; display:grid; place-items:center; }.data-row { gap:10px; } }
@media(max-width:420px) { h2 { font-size:1.2rem; }.welcome-row h2 { font-size:1.35rem; }.button { min-height:44px; }.form-actions .button { width:100%; }.section-heading { align-items:flex-start; flex-wrap:wrap; } }
.shell { width:min(1160px,calc(100% - 32px)); margin-inline:auto; }.marketing-body { background:var(--surface-muted); color:var(--ink); }.marketing-header { position:sticky; top:0; z-index:20; border-bottom:1px solid var(--line); background:color-mix(in srgb,var(--surface) 92%,transparent); backdrop-filter:blur(14px); }.marketing-nav { display:flex; min-height:72px; align-items:center; justify-content:space-between; gap:24px; }.marketing-nav nav { display:flex; align-items:center; gap:20px; }.marketing-nav a:not(.button) { color:var(--muted); font-weight:700; text-decoration:none; }.marketing-nav a:not(.button):hover { color:var(--ink); }.marketing-menu { display:none; }.marketing-menu summary { cursor:pointer; list-style:none; }.marketing-menu summary::-webkit-details-marker { display:none; }.marketing-menu summary::after { content:'☰'; margin-left:8px; }.marketing-menu nav { display:grid; gap:12px; min-width:190px; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:0 14px 30px rgba(15,23,42,.12); }.marketing-menu[open] { position:relative; }.marketing-menu[open] nav { position:absolute; right:0; top:36px; }.marketing-main { overflow:hidden; }.marketing-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.85fr); align-items:center; gap:72px; padding-block:clamp(64px,10vw,132px); }.hero-copy h1,.page-hero h1 { max-width:780px; margin:12px 0 20px; font-size:clamp(2.7rem,6vw,5.8rem); line-height:.98; letter-spacing:-.065em; }.hero-copy p,.page-hero p { max-width:650px; font-size:1.12rem; line-height:1.7; }.hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:28px; }.hero-proof { display:flex; flex-wrap:wrap; gap:16px; margin-top:28px; color:var(--muted); font-size:.82rem; font-weight:800; }.product-preview { padding:18px; border:1px solid var(--brand-border); border-radius:24px; background:linear-gradient(145deg,#fff,var(--brand-soft)); box-shadow:0 24px 60px rgba(15,23,42,.13); transform:rotate(1deg); }.preview-top,.preview-title,.preview-kpis,.preview-list { display:flex; align-items:center; gap:10px; }.preview-top { color:var(--muted); font-size:.78rem; font-weight:800; }.preview-dot { width:10px; height:10px; border-radius:50%; background:var(--success); }.preview-pill { margin-left:auto; padding:5px 9px; border-radius:99px; background:var(--surface); color:var(--brand); }.preview-title { display:grid; align-items:start; gap:4px; padding:34px 8px 20px; }.preview-title strong { font-size:1.45rem; }.preview-kpis { align-items:stretch; }.preview-kpis div { display:grid; flex:1; gap:4px; padding:13px 10px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.75); }.preview-kpis small,.preview-kpis span { color:var(--muted); font-size:.68rem; }.preview-kpis strong { font-size:1.2rem; }.preview-list { display:grid; gap:10px; margin-top:18px; padding:16px; border-radius:14px; background:var(--surface); color:var(--muted); font-size:.82rem; font-weight:700; }.preview-icon { display:inline-grid; width:24px; height:24px; place-items:center; margin-right:6px; border-radius:8px; background:var(--brand-soft); color:var(--brand); font-style:normal; }.section { padding-block:clamp(56px,8vw,104px); }.section-tint { background:var(--brand-soft); }.section-intro,.page-hero { max-width:760px; }.section-intro h2,.split-section h2,.cta-content h2 { margin:10px 0 12px; font-size:clamp(1.8rem,4vw,3rem); letter-spacing:-.045em; }.feature-grid { display:grid; gap:16px; margin-top:30px; }.feature-grid-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }.feature-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }.marketing-card { position:relative; min-height:190px; padding:24px; }.marketing-card h2,.marketing-card h3 { margin-top:18px; }.feature-mark { display:inline-grid; width:36px; height:36px; place-items:center; border-radius:12px; background:var(--brand-soft); color:var(--brand); font-size:.8rem; font-weight:900; }.split-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:64px; }.check-list,.entitlement-list { display:grid; gap:12px; }.check-list span,.entitlement-list span { padding:16px; border:1px solid var(--brand-border); border-radius:14px; background:var(--surface); font-weight:750; }.entitlement-list small { display:block; margin-top:5px; color:var(--muted); font-weight:400; }.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; }.pricing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:26px; }.pricing-grid-wide { grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); margin-top:0; }.pricing-card { display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:24px; }.pricing-card .button { width:100%; margin-top:auto; text-align:center; }.price { display:block; margin-top:8px; font-size:2rem; letter-spacing:-.05em; }.price-row { display:flex; align-items:baseline; gap:5px; }.limit-list,.feature-list { display:grid; gap:8px; width:100%; margin:8px 0 16px; padding:0; list-style:none; color:var(--muted); font-size:.88rem; }.feature-list li { color:var(--ink); }.fine-print { margin-top:20px; color:var(--muted); font-size:.8rem; }.cta-band { padding-block:56px; background:var(--ink); color:#fff; }.cta-content { display:flex; align-items:center; justify-content:space-between; gap:24px; }.cta-band .eyebrow,.cta-band .muted { color:#cbd5e1; }.marketing-footer { padding:48px 0 20px; background:#0b1328; color:#fff; }.footer-grid { display:grid; grid-template-columns:2fr repeat(3,1fr); gap:28px; }.footer-grid > div { display:grid; align-content:start; gap:10px; }.footer-grid strong { color:#fff; }.footer-grid a:not(.brand) { color:#cbd5e1; text-decoration:none; }.footer-grid a:not(.brand):hover { color:#fff; }.footer-bottom { display:flex; justify-content:space-between; gap:16px; margin-top:40px; padding-top:18px; border-top:1px solid rgba(255,255,255,.15); color:#94a3b8; font-size:.8rem; }.legal-page { max-width:800px; padding-block:80px; }.legal-page h1 { margin:12px 0 36px; font-size:clamp(2.4rem,6vw,4.4rem); letter-spacing:-.06em; }.legal-page h2 { margin-top:34px; }.legal-page p { max-width:700px; color:var(--muted); line-height:1.8; }
@media(max-width:900px) { .marketing-hero { grid-template-columns:1fr; gap:40px; }.product-preview { max-width:620px; transform:none; }.feature-grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }.split-section { gap:32px; } }
@media(max-width:679px) { .marketing-nav { min-height:64px; }.marketing-desktop-nav { display:none!important; }.marketing-menu { display:block; }.marketing-hero { padding-block:58px 44px; }.hero-copy h1,.page-hero h1 { font-size:clamp(2.5rem,13vw,4rem); }.hero-actions { align-items:stretch; }.hero-actions .button { flex:1 1 140px; text-align:center; }.hero-actions .text-link { width:100%; }.preview-kpis { display:grid; grid-template-columns:repeat(3,1fr); }.preview-kpis div { padding:10px 8px; }.preview-kpis strong { font-size:1rem; }.feature-grid-3,.feature-grid-4,.pricing-grid { grid-template-columns:1fr; }.marketing-card { min-height:0; }.section-heading,.cta-content { align-items:flex-start; flex-direction:column; }.cta-content .button { width:100%; text-align:center; }.footer-grid { grid-template-columns:repeat(2,1fr); }.footer-grid > div:first-child { grid-column:1/-1; }.footer-bottom { flex-direction:column; }.shell { width:min(100% - 28px,1160px); } }
@media(prefers-reduced-motion:reduce) { .product-preview,.dashboard-kpi { transform:none; } }
