/* Zarqa People 2.1 — readable, calm and consistent. */
:root {
  --navy: #16345b;
  --text: #182c49;
  --muted: #53657e;
  --paper: #f4f6fa;
  --border: #dce3ed;
  --sky: #edf3fc;
  --green: #17654b;
  --red: #ab293d;
  --radius: 14px;
  --sidebar-width: 270px;
  --font-ui: 'IBM Plex Sans Arabic', 'Inter', Arial, sans-serif;
  --font-numbers: 'Inter', 'IBM Plex Sans Arabic', Arial, sans-serif;
  --control-height: 44px;
  --cell-padding: 16px;
  --shadow: 0 2px 5px #152b4604, 0 8px 24px #152b4603;
  font-size: 16px;
}
[lang=en] { --font-ui: 'Inter', 'IBM Plex Sans Arabic', Arial, sans-serif; }
:root[data-font-size=large] { font-size: 18px; }
:root[data-density=compact] { --cell-padding: 10px; --control-height: 40px; }
body, [dir=ltr] body { font-family: var(--font-ui); font-size: .9375rem; line-height: 1.75; }
body { background: var(--paper); text-rendering: optimizeLegibility; }
button, input, select, textarea { font-family: var(--font-ui); }
button { transition: background .16s, border-color .16s, box-shadow .16s; }
button:hover { transform: none; }
button:disabled { opacity: .55; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #3273c5; outline-offset: 3px;
}
.ui-icon { width: 20px; height: 20px; display: inline-block; flex-shrink: 0; vertical-align: middle; }
.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; }
/* Navigation */
#sidebar { width: var(--sidebar-width); background: #fff; color: var(--text); padding: 23px 16px 12px; border-inline-end: 1px solid var(--border); }
.brand { padding: 0 10px 24px; gap: 10px; }
.brand strong { font-family: var(--font-numbers); font-size: 1.25rem; letter-spacing: -.04em; font-weight: 700; color: var(--navy); }
.brand small { font: 500 .6875rem/1.6 var(--font-numbers); letter-spacing: .025em; color: var(--muted); margin-top: 2px; }
.brand svg { width: 43px; height: 36px; }
.workspace { background: #f6f8fb; border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; margin-bottom: 8px; gap: 11px; }
.workspace-icon { background: #e9eef7; color: var(--navy); font: 600 1.125rem var(--font-numbers); width: 36px; height: 36px; }
.workspace b { font-size: .875rem; font-weight: 600; }
.workspace small { color: var(--muted); font-size: .75rem; line-height: 1.6; }
.dot { background: #23805e; width: 7px; height: 7px; margin-inline-start: auto; }
#navigation { flex: 1; min-height: 0; padding: 0 2px 12px; scrollbar-width: thin; scrollbar-color: #c4cfdd transparent; }
.nav-label { font-size: .6875rem; font-weight: 600; color: var(--muted); margin: 22px 12px 8px; letter-spacing: .04em; }
[lang=ar] .nav-label { font-size: .75rem; letter-spacing: 0; }
nav button { color: #455a75; min-height: 44px; padding: 9px 12px; font-size: .875rem; gap: 12px; font-weight: 500; margin-bottom: 3px; border-radius: 8px; text-align: start; }
[lang=ar] nav button { font-size: .9375rem; }
nav button:hover { background: #f2f5fa; color: var(--navy); }
nav button.active, [dir=ltr] nav button.active { background: #eaf0f9; color: #163c6b; box-shadow: none; font-weight: 600; position: relative; }
nav button.active:before { content: ''; position: absolute; inset-inline-start: 0; top: 13px; bottom: 13px; width: 3px; border-radius: 2px; background: var(--accent); }
.nav-icon { opacity: 1; display: inline-flex; align-items: center; justify-content: center; width: 21px; }
.nav-count { background: #d9e5f5; color: #173b6a; min-width: 23px; height: 23px; line-height: 23px; padding: 0 6px; border-radius: 6px; font: 600 .75rem/23px var(--font-numbers); margin-inline-start: auto; }
.sidebar-bottom { border-top: 1px solid var(--border); padding-top: 8px; }
.sidebar-bottom .google-mini { border: 0; padding: 10px 8px; gap: 10px; }
.google-mini b { font-size: .75rem; color: #405471; font-weight: 600; }
.google-mini small { font-size: .6875rem; color: var(--muted); }
.google-logo { color: #356ba9; font-size: 1.25rem; }
.sidebar-link { color: #405471; font-size: .8125rem; padding: 10px; gap: 10px; min-height: 44px; }
.sidebar-link:hover { background: #f2f5fa; }
.sidebar-bottom p { font: .625rem/1.5 var(--font-numbers); color: #61738b; margin: 8px 0 2px; }
.shell, [dir=ltr] .shell { margin-inline-start: var(--sidebar-width); margin-inline-end: 0; }
.sidebar-close, .nav-backdrop { display: none; }
/* Top bar */
header { padding: 14px 32px; min-height: 78px; gap: 24px; background: #fff; box-shadow: none; backdrop-filter: none; }
.header-start { font-size: .8125rem; color: var(--muted); gap: 12px; min-width: 0; }
#breadcrumb { display: flex; align-items: center; gap: 10px; }
#breadcrumb b { color: var(--text); font-size: .875rem; font-weight: 600; }
#breadcrumb .ui-icon { width: 14px; height: 14px; color: #74849a; }
.header-actions { gap: 10px; flex: 1; justify-content: flex-end; width: auto; }
.command-trigger { width: min(320px, 31vw); min-width: 175px; border-radius: 9px; background: #f7f9fc; padding: 9px 12px; color: var(--muted); font-size: .8125rem; gap: 10px; min-height: 42px; }
.command-trigger>span { flex: 1; text-align: start; }
#headerSearchIcon { flex: 0 0 20px; display: inline-flex; align-items: center; }
.command-trigger:hover { border-color: #9aafc9; background: #f0f4fa; }
.command-trigger kbd { border-color: #d5deea; font: 500 .6875rem var(--font-numbers); color: #596c86; padding: 3px 5px; border-radius: 4px; }
.icon-button { width: 42px; height: 42px; min-height: 42px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--border); color: #3f5572; border-radius: 9px; background: #fff; }
.icon-button:hover { background: #f1f5fb; border-color: #bac9dc; }
.header-language { min-height: 42px; font-weight: 600; }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; min-height: 42px; border-radius: 8px; padding: 2px 4px; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary>.ui-icon { width: 15px; color: #607089; }
#accountChevron .ui-icon { width: 15px; color: #607089; }
#accountMenu #modeBadge { display: inline-flex; }
.account-menu[open] summary { background: #f1f5fa; }
.header-actions .avatar { width: 36px; height: 36px; font-size: .8125rem; }
.avatar.gold { color: #654800; background: #f7ecd1; border: 1px solid #e9d7ab; }
.account-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 14px); width: 280px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: white; box-shadow: 0 16px 48px #18314d24; z-index: 65; }
.account-title { font-size: .9375rem; font-weight: 600; margin-bottom: 10px; }
.account-panel .badge { margin-bottom: 12px; }
.account-role-label { font-size: .75rem; color: var(--muted); display: block; margin-bottom: 6px; }
.account-panel #roleSelect { border: 1px solid #bdcadb; background: white; width: 100%; max-width: none; min-height: 44px; font-size: .875rem; padding: 8px 10px; }
.account-panel .menu-action { display: flex; align-items: center; justify-content: flex-start; gap: 10px; text-align: start; width: 100%; border: 0; border-radius: 8px; background: transparent; padding: 11px 7px; font-size: .8125rem; font-weight: 500; color: #344b6a; min-height: 44px; }
.account-panel .menu-action:hover { background: #f2f6fb; }
.menu-divider { height: 1px; background: var(--border); margin: 12px 0 5px; }
/* Hierarchy and content */
main { padding: 32px 34px 48px; max-width: 1650px; }
h1, h2, h3 { color: var(--text); font-family: var(--font-ui); font-weight: 600; letter-spacing: -.025em; }
[lang=ar] h1, [lang=ar] h2, [lang=ar] h3 { letter-spacing: 0; }
h1, .overview-title h1 { font-size: 2rem; line-height: 1.4; margin-bottom: 7px; }
h2 { font-size: 1.125rem; line-height: 1.65; }
h3 { font-size: 1rem; line-height: 1.65; }
p { color: var(--muted); }
.eyebrow { font: 600 .6875rem/1.6 var(--font-ui); letter-spacing: .08em; color: #5b6f8b; margin-bottom: 8px; }
[lang=ar] .eyebrow { letter-spacing: 0; font-size: .8125rem; }
.subtitle, .page-heading p, .overview-title p { font-size: .9375rem; line-height: 1.8; max-width: 760px; margin-top: 6px; }
.page-heading, .overview-title { gap: 20px; margin: 0 0 27px; align-items: center; }
.page-heading .toolbar, .overview-title .toolbar { flex-shrink: 0; }
.btn { font-size: .875rem; min-height: var(--control-height); padding: 9px 16px; border-radius: 8px; border-color: #ccd6e4; gap: 8px; font-weight: 500; line-height: 1.6; }
.btn:hover { transform: none; border-color: #9bb0cc; background: #f5f8fc; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; box-shadow: 0 2px 3px #0e2d4b12; }
.btn.primary:hover { background: #214975; border-color: #214975; }
.btn.small { min-height: 36px; font-size: .8125rem; padding: 6px 12px; }
.btn.ghost { color: #48617f; background: transparent; }
.btn.ghost:hover { background: #eaf0f8; }
.btn.danger { color: #a42439; background: #fff5f6; border-color: #efccd3; }
.btn.gold { color: #302509; }
.btn .ui-icon { width: 17px; height: 17px; }
.toolbar { gap: 10px; }
.card { border-color: var(--border); box-shadow: var(--shadow); padding: 24px; border-radius: var(--radius); }
.card-head { align-items: flex-start; gap: 15px; margin-bottom: 22px; }
.card-head small { font-size: .8125rem; line-height: 1.75; margin-top: 3px; }
.grid, .command-grid { gap: 22px; margin-bottom: 24px; }
.grid { grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); }
.grid.equal { grid-template-columns: repeat(2,minmax(0,1fr)); }
.command-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
.filters { border: 1px solid var(--border); border-radius: 11px; padding: 16px 18px; gap: 14px; align-items: flex-end; box-shadow: none; margin-bottom: 18px; }
.filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 145px; }
.filter-field.search-field { flex: 1; min-width: 200px; }
.filters label { font-size: .75rem; font-weight: 500; color: #3e5471; }
.filters input, .filters select { font-size: .875rem; min-height: var(--control-height); background: #fff; }
.filters input[type=date] { width: 165px; }
.filters select { min-width: 160px; }
.filters .filter-note { font-size: .6875rem; color: var(--muted); margin-inline-start: auto; padding-bottom: 10px; }
.date-shortcuts { gap: 6px; font-size: .75rem; margin-bottom: 24px; }
.date-shortcuts .btn { font-size: .75rem; min-height: 34px; padding: 5px 11px; border: 1px solid transparent; border-radius: 6px; }
.date-shortcuts .btn.active { background: #e6eef9; color: #244c7e; border-color: #c7d6e9; font-weight: 600; }
/* Metrics and dashboard */
.kpis { gap: 16px; margin-bottom: 24px; }
.kpi, .kpi.featured { padding: 22px; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); }
.kpi.featured { border-color: #c5d5e9; background: #fdfefe; }
.kpi-top, .kpi.featured .kpi-top { font-size: .8125rem; color: #4d617d; gap: 10px; font-weight: 500; }
.kpi-icon, .kpi.featured .kpi-icon { width: 36px; height: 36px; border-radius: 9px; background: #ecf2fb; color: #2b588b; flex-shrink: 0; }
.kpi-value { font-family: var(--font-numbers); font-size: 2.25rem; font-weight: 600; letter-spacing: -.045em; line-height: 1.35; margin: 18px 0 10px; font-variant-numeric: tabular-nums; }
.kpi-value--text { font-family: var(--font-ui); font-size: 1.5rem; letter-spacing: 0; line-height: 1.8; }
.kpi-bottom, .kpi.featured .kpi-bottom { font-size: .75rem; color: var(--muted); line-height: 1.7; }
.focus-item { padding: 16px 0; gap: 14px; border-color: #e7ecf3; }
.focus-item b { font-size: .9375rem; font-weight: 500; }
.focus-item small { font-size: .75rem; line-height: 1.7; margin-top: 4px; color: var(--muted); }
.focus-count { width: 44px; height: 44px; font: 600 1.125rem var(--font-numbers); background: #fff2d5; color: #805300; flex-shrink: 0; border-radius: 10px; }
.focus-count.red { color: #a3293f; background: #fff0f2; }
.focus-count.blue { color: #2c568b; background: #eaf1fc; }
.focus-arrow { color: #5c718e; }
.focus-item:hover { background: #f7f9fc; }
.focus-item:hover .focus-arrow { transform: none; }
.live-dot { font-size: .6875rem; color: #22694d; }
.journey-overview { padding: 25px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); justify-content: flex-start; }
.journey-overview h2 { font-size: 1.125rem; line-height: 1.65; margin: 0 0 5px; max-width: none; }
.journey-overview>.eyebrow { display: none; }
.journey-overview>p { font-size: .8125rem; line-height: 1.75; max-width: none; color: var(--muted); }
.lifecycle { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.lifecycle button, .lifecycle button:first-child { background: #f7f9fc; border: 1px solid #e5ebf3; padding: 14px 16px; border-radius: 9px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
.lifecycle button:hover { background: #edf3fb; border-color: #cad9eb; }
.lifecycle span { display: none; }
.lifecycle b { font: 600 1.5rem var(--font-numbers); margin: 0; color: var(--navy); }
.lifecycle small { font-size: .8125rem; grid-row: 1; margin: 0; color: #485f7d; }
.chart-scroll { overflow-x: auto; scrollbar-width: thin; }
.chart { height: 210px; min-width: 460px; }
.chart text { font: 500 13px var(--font-numbers); fill: #526680; }
.distribution { gap: 21px; }
.distribution>div>div:first-child { font-size: .875rem; }
.distribution b { font-family: var(--font-numbers); }
.distribution .progress { height: 7px; margin-top: 10px; }
.progress { height: 6px; background: #e7edf5; }
.progress span { background: #3c6b9f; }
.upcoming-grid { gap: 20px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.upcoming-grid .mini-timeline, .mini-timeline { font-size: .875rem; gap: 14px; }
.mini-timeline p { font-size: .75rem; }
.date-square, .upcoming-grid .date-square { width: 48px; height: 52px; background: #edf2f9; padding-top: 4px; }
.date-square b { font: 600 1.25rem/1.4 var(--font-numbers); }
.date-square small, .upcoming-grid .date-square small { font-size: .6875rem; }
/* Tables, status and requests */
.table-wrap { border: 1px solid #e3e9f1; border-radius: 9px; scrollbar-width: thin; }
table { font-size: .875rem; }
th { font-size: .8125rem; font-weight: 600; padding: 14px 16px; background: #f4f7fb; color: #435974; border-bottom: 1px solid #dce4ee; position: sticky; top: 0; z-index: 1; }
td { font-size: .875rem; padding: var(--cell-padding) 16px; color: #304766; border-bottom: 1px solid #e8edf4; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover, tbody tr:focus-within { background: #f4f8fd; }
table .person b, .person b { font-size: .875rem; font-weight: 600; color: var(--text); }
.person small { font-size: .75rem; margin-top: 3px; }
.person { gap: 11px; }
.avatar { width: 38px; height: 38px; font: 600 .75rem var(--font-ui); background: #edf2fa; color: #3a5a83; }
.avatar.large { width: 68px; height: 68px; font-size: 1.5rem; }
.mono, .pay-value { font-family: var(--font-numbers); font-variant-numeric: tabular-nums; font-size: .875rem; }
.pay-value { font-weight: 600; color: #163e6c; }
.badge { font-size: .6875rem; font-weight: 500; line-height: 1.65; padding: 4px 9px; border-radius: 6px; background: #edf2fa; color: #365a88; }
.badge.green { color: #17634b; background: #e8f5ee; }
.badge.amber { color: #805200; background: #fff3d9; }
.badge.red { color: #a4273b; background: #fff0f2; }
.request-type { font-size: .75rem; color: #4b6588; margin-top: 7px; padding-inline-start: 49px; }
.cell-note { font-size: .75rem; line-height: 1.7; }
.inbox-summary { gap: 32px; padding: 2px 0 24px; }
.inbox-summary b { font: 600 1.75rem var(--font-numbers); color: var(--navy); }
.inbox-summary span { font-size: .8125rem; max-width: 160px; }
.workspace-tabs, .tabs { gap: 6px; border-bottom-color: #d4deeb; margin-bottom: 22px; overflow-x: auto; }
.workspace-tabs button, .tabs button { font-size: .875rem; padding: 12px 16px; color: #4a607d; min-height: 48px; font-weight: 500; }
.workspace-tabs button.active, .tabs button.active { border-color: #214a79; color: #163c6b; font-weight: 600; }
.workspace-tabs button:hover, .tabs button:hover { background: #edf3fa; border-radius: 7px 7px 0 0; }
.workflow-track { gap: 18px; margin: 8px 0; }
.workflow-track li { font-size: .6875rem; color: #52677f; gap: 7px; }
.workflow-track li>span { width: 23px; height: 23px; font: 500 .6875rem var(--font-numbers); }
.workflow-track li.current { color: #805500; }
.workflow-track li.current>span { color: #805500; background: #fff0cf; border-color: #dbc697; }
.workflow-track li:not(:last-child):after { inset-inline-end: -14px; width: 10px; }
.request-picker { gap: 12px; }
.request-picker .btn { font-size: .9375rem; padding: 14px 16px; min-height: 54px; border-color: #d8e1ed; }
.detail-strip { font-size: .875rem; }
.request-reason { background: #f3f6fb; color: #3f5574; padding: 18px; font-size: .9375rem; line-height: 1.9; }
.decision-history b { font-size: .875rem; }
.decision-history small { font-size: .75rem; }
.decision-history p { font-size: .875rem; }
.notice, .insight { font-size: .8125rem; line-height: 1.85; padding: 15px 18px; color: #775315; background: #fff7e7; border-color: #ebd9b5; }
.notice.blue, .insight { color: #355775; background: #edf4fb; border-color: #cfdfee; }
/* Forms and dialogs */
input, select, textarea { border-color: #bdcadb; border-radius: 8px; padding: 10px 12px; color: #243a58; font-size: .9375rem; }
input::placeholder, textarea::placeholder { color: #6b7b91; opacity: 1; }
input[type=date], input[type=time], input[type=month], input[type=number] { font-family: var(--font-numbers); }
input[type=date], input[type=time], input[type=month], input[type=email] { direction: ltr; text-align: start; }
.field { margin-bottom: 20px; font-size: .875rem; gap: 7px; }
.field label { font-size: .8125rem; font-weight: 600; color: #3c526f; }
.field input, .field select, .field textarea { font-size: .9375rem; min-height: var(--control-height); line-height: 1.7; }
.field textarea { min-height: 120px; }
.form-grid { gap: 0 20px; }
.form-actions { margin-top: 25px; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
dialog { border: 1px solid #d7e1ed; border-radius: 16px; padding: 32px; max-width: 790px; max-height: calc(100dvh - 48px); overflow-y: auto; box-shadow: 0 24px 100px #132b4b30; }
dialog::backdrop { background: #10294775; backdrop-filter: blur(3px); }
dialog h2 { font-size: 1.5rem; padding-inline-end: 35px; margin-bottom: 18px; }
dialog p { font-size: .9375rem; line-height: 1.85; }
.dialog-close { width: 36px; height: 36px; min-height: 36px; top: 16px; inset-inline-end: 16px; inset-inline-start: auto; border: 1px solid #dce4ef; border-radius: 8px; background: #f5f8fc; color: #465e7d; display: grid; place-items: center; }
[dir=ltr] .dialog-close { right: 16px; left: auto; }
.dialog-close:hover { background: #e9f0f9; }
.empty { padding: 45px 24px; font-size: .875rem; }
.empty h3 { font-size: 1.0625rem; }
.weekend-fields { padding: 16px; border-color: #d3ddeb; }
.weekend-fields legend, .weekend-fields label { font-size: .8125rem; }
.weekend-fields input, .checklist input { width: 18px; height: 18px; min-height: 18px; }
.preference-group { border: 0; padding: 0; margin: 22px 0; }
.preference-group legend { font-size: .875rem; font-weight: 600; margin-bottom: 12px; }
.preference-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.preference-option { display: flex; align-items: flex-start; gap: 11px; padding: 17px; border: 1px solid #cad6e6; border-radius: 10px; cursor: pointer; }
.preference-option:has(input:checked) { border-color: #386597; background: #eff5fc; }
.preference-option input { min-height: 18px; width: 18px; height: 18px; accent-color: var(--navy); margin-top: 5px; }
.preference-option b { display: block; font-size: .9375rem; font-weight: 600; }
.preference-option small { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; }
/* Planning, reports and the rest of the employee journey */
.schedule-card { padding: 0; }
.schedule-card .table-wrap { border: 0; }
.schedule-table { min-width: 1130px; }
.schedule-table th { font-size: .8125rem; }
.schedule-table th small { font: .75rem var(--font-numbers); color: #526b88; margin-top: 5px; }
.schedule-table td { min-width: 128px; padding: 10px; }
.schedule-table td:first-child, .schedule-table th:first-child { min-width: 220px; }
.schedule-table th:first-child { z-index: 2; background: #f4f7fb; }
.shift-chip { padding: 10px; border-radius: 8px; min-height: 91px; background: #edf7f1; color: #1f644b; }
.shift-chip b { font: 600 .8125rem var(--font-numbers); }
.shift-chip small { font-size: .75rem; line-height: 1.6; }
.shift-chip em { font-size: .6875rem; opacity: 1; }
.shift-chip.draft { color: #775416; background: #fff8e9; border-color: #e8d6ae; }
.empty-shift { min-height: 91px; color: #687e9a; }
.payroll-stages { border-radius: 11px; }
.payroll-stages li { padding: 18px 16px; gap: 12px; }
.payroll-stages li>span { width: 32px; height: 32px; font: 500 .75rem var(--font-numbers); color: #52677f; flex-shrink: 0; }
.payroll-stages b { font-size: .8125rem; font-weight: 600; }
.payroll-stages small { font-size: .75rem; margin-top: 3px; }
.payroll-controls>span { font-size: .75rem; line-height: 1.8; }
.report-layout { grid-template-columns: 220px minmax(0,1fr); gap: 22px; }
.report-menu { padding: 9px; gap: 4px; border-radius: 11px; }
.report-menu button { font-size: .8125rem; color: #455d7a; padding: 12px; min-height: 44px; }
.report-menu button.active { background: #e9f0fa; color: #244c7d; font-weight: 600; }
.report-layout .filters .filter-note { width: 100%; padding-bottom: 0; }
.org-root { background: #edf3fb; border-color: #cfdceb; max-width: 440px; }
.org-root p { font-size: .8125rem; }
.org-grid { gap: 22px; }
.org-team { padding: 22px; }
.org-person { padding: 12px 8px; border-radius: 8px; }
.command-input { font-size: 1rem; min-height: 50px; background: #f8fafd; }
.command-results button { font-size: .9375rem; min-height: 50px; padding: 13px 12px; gap: 12px; color: var(--text); }
.command-results small { font-size: .75rem; }
.job-card h3 { font-size: 1.125rem; }
.job-card p { font-size: .875rem; line-height: 1.8; }
.job-details, .statline, .subheading { font-size: .8125rem; }
.lane { background: #edf1f7; min-width: 210px; padding: 14px; border: 1px solid #dfe6f0; }
.lane-head { font-size: .875rem; }
.candidate { padding: 16px; }
.candidate h3 { font-size: .9375rem; }
.candidate p { font-size: .8125rem; }
.candidate:hover { border-color: #88a4c5; }
.journey-card h3 { font-size: 1rem; }
.journey-card p { font-size: .8125rem; }
.journey-card .step { font: 600 .75rem var(--font-numbers); color: #5c7190; }
.hero-panel { background: #173a63; border-radius: var(--radius); padding: 28px; }
.hero-panel h2 { font-size: 1.5rem; color: #fff; }
.hero-panel p { color: #d4dfed; font-size: .875rem; }
.hero-panel .hero-number { font: 600 3rem var(--font-numbers); }
.hero-panel .eyebrow { color: #ecce8d; }
.module { padding: 22px; gap: 18px; }
.module p { font-size: .875rem; line-height: 1.85; }
.module-number { font: 600 1.5rem var(--font-numbers); color: #5d7699; }
.checklist { font-size: .9375rem; padding: 16px 0; }
.question-options label { padding: 16px; font-size: .9375rem; line-height: 1.85; }
.question-options input { min-height: 18px; width: 18px; height: 18px; flex-shrink: 0; }
.action-row b { font-size: .875rem; }
.action-row small { font-size: .75rem; }
.audit-row { font-size: .8125rem; padding: 14px 0; }
.calendar-weekday { font-size: .8125rem; font-weight: 500; }
.calendar-cell { min-height: 105px; font: 500 .8125rem var(--font-numbers); padding: 10px; }
.calendar-cell .badge { font: .6875rem/1.7 var(--font-ui); }
.calendar-grid { gap: 7px; }
.approval-chain span { font-size: .75rem; }
.score-bubble { font-size: .8125rem; }
.large-number { font-family: var(--font-numbers); font-size: 2.25rem; }
.portal-intro { background: #173a63; padding: 40px; }
.portal-intro h1 { font-size: 2.5rem; color: white; }
.portal-intro p { font-size: 1rem; color: #d6e1ef; }
.portal-features { font-size: .9375rem; line-height: 1.8; color: #d9e4f1; }
.portal-intro .eyebrow { color: #edd199; }
.portal-login h2 { font-size: 1.625rem; }
.portal-login .field input { min-height: 48px; }
.portal-mode .account-role-label, .employee-session .account-role-label { display: none; }
footer { font: .6875rem/1.7 var(--font-ui); color: #576d89; padding: 18px 34px; }
#toast { font: .875rem/1.8 var(--font-ui); padding: 16px 22px; background: #17395f; border-radius: 10px; max-width: min(470px,calc(100vw - 32px)); }
/* Responsive reading: keep text readable; let content reflow. */
@media (min-width:1650px) { main { padding-top: 38px; } }
@media (max-width:1400px) {
  :root { --sidebar-width: 250px; }
  main { padding: 28px; }
  header { padding: 14px 28px; gap: 16px; }
  #breadcrumb>span { display: none; }
  #breadcrumb>.ui-icon { display: none; }
  .kpi { padding: 20px; }
  .kpi-value { font-size: 2rem; }
  .report-layout { grid-template-columns: 190px minmax(0,1fr); }
}
@media (max-width:1200px) {
  .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .command-grid, .grid, .grid.equal { grid-template-columns: minmax(0,1fr); }
  .lifecycle { grid-template-columns: repeat(4,minmax(0,1fr)); max-width: none; }
  .lifecycle button { grid-template-columns: 1fr; gap: 10px; }
  .lifecycle small { grid-row: auto; }
  .report-layout { grid-template-columns: minmax(0,1fr); }
  .report-menu { display: flex; flex-direction: row; overflow-x: auto; }
  .report-menu button { white-space: nowrap; }
  .header-start #breadcrumb { display: flex; }
  .header-actions .command-trigger { margin-inline-end: 0; }
  .org-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:1000px) {
  .header-start #breadcrumb { display: none; }
  .header-start { display: none; }
  .command-trigger { width: 100%; max-width: 420px; flex: 1; }
  .page-heading { align-items: flex-start; }
  .page-heading .toolbar { max-width: 45%; }
  .payroll-stages { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .payroll-stages li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width:850px) {
  #sidebar { width: 285px; border: 0; z-index: 60; padding: 22px 16px 12px; box-shadow: 0 10px 70px #132b4b25; }
  .shell, [dir=ltr] .shell { margin: 0; }
  .sidebar-close { display: grid; position: absolute; top: 18px; inset-inline-end: 14px; background: #f5f8fc; width: 34px; height: 34px; min-height: 34px; }
  #sidebar .brand { padding-inline-end: 28px; }
  #sidebar .brand strong { font-size: 1.125rem; }
  .nav-backdrop { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; background: #122f4e66; z-index: 55; min-height: 0; padding: 0; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-backdrop { display: block; }
  .header-start { display: flex; }
  header { padding: 12px 20px; gap: 12px; min-height: 70px; }
  #menuButton { display: inline-grid; }
  .header-actions { gap: 8px; }
  .command-trigger { max-width: none; min-width: 0; width: auto; }
  .header-actions .avatar { display: grid; }
  .command-trigger kbd { display: none; }
  main { padding: 26px 20px 38px; }
  h1, .overview-title h1 { font-size: 1.75rem; }
  .page-heading, .overview-title { align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .page-heading .toolbar { width: 100%; max-width: none; }
  .overview-title { flex-direction: row; }
  .kpi-value { font-size: 2rem; }
  .card { padding: 22px; }
  .schedule-card { padding: 0; }
  .settings-grid { grid-template-columns: 1fr; }
  .form-grid { gap: 0 16px; }
  .inbox-summary { gap: 20px; }
  .inbox-summary span { font-size: .8125rem; }
  .report-menu { display: flex; }
  .org-grid { grid-template-columns: 1fr; }
  dialog { padding: 28px 24px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .portal-intro { padding: 28px; }
  .portal-intro h1 { font-size: 2rem; }
  .portal-login { padding: 26px; }
  footer { padding: 18px 20px; }
  .account-panel [data-nav=portal] { display: flex; }
}
@media (max-width:600px) {
  main { padding: 24px 16px 32px; }
  header { padding: 11px 14px; gap: 8px; }
  .header-actions { gap: 7px; }
  .header-actions .header-language { font-size: .75rem; padding: 7px 9px; min-height: 40px; }
  .header-display { display: none; }
  .command-trigger { padding: 9px; font-size: .75rem; min-height: 40px; gap: 7px; }
  .command-trigger>span { white-space: nowrap; }
  .command-trigger>.ui-icon { width: 18px; }
  .header-actions .avatar { width: 33px; height: 33px; }
  .account-menu summary>.ui-icon { display: none; }
  #accountChevron { display: none; }
  .overview-title { flex-direction: column; }
  .overview-title .toolbar { align-self: stretch; }
  .overview-title .toolbar .btn { width: 100%; }
  .subtitle, .page-heading p, .overview-title p { font-size: .875rem; }
  .card { padding: 20px; }
  .schedule-card { padding: 0; }
  .card-head { flex-wrap: wrap; gap: 10px; }
  .kpis { gap: 12px; }
  .kpi, .kpi.featured { padding: 17px; }
  .kpi-top { font-size: .75rem; align-items: flex-start; }
  .kpi-icon, .kpi.featured .kpi-icon { width: 29px; height: 29px; border-radius: 7px; }
  .kpi-icon .ui-icon { width: 17px; }
  .kpi-value { font-size: 1.875rem; margin: 16px 0 8px; }
  .kpi-value--text { font-size: 1.25rem; }
  .kpi-bottom, .kpi.featured .kpi-bottom { font-size: .75rem; }
  .filters { padding: 14px; gap: 12px; }
  .filter-field { flex: 1; min-width: 120px; }
  .filter-field.search-field { flex-basis: 100%; }
  .filters input[type=date] { width: 100%; min-width: 0; font-size: .8125rem; }
  .filters select { width: 100%; min-width: 0; }
  .filters .filter-note { width: 100%; padding: 0; margin: 0; }
  .date-shortcuts>span { width: 100%; }
  .date-shortcuts { flex-wrap: wrap; }
  .journey-overview { padding: 22px; }
  .lifecycle { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .lifecycle button { grid-template-columns: 1fr auto; }
  .lifecycle small { grid-row: 1; font-size: .8125rem; }
  .lifecycle b { font-size: 1.5rem; }
  .focus-item b { font-size: .875rem; }
  .focus-item small { font-size: .75rem; }
  .focus-count { width: 38px; height: 38px; }
  .upcoming-grid { grid-template-columns: 1fr; }
  .inbox-summary { gap: 14px; }
  .inbox-summary>div { min-width: 120px; flex: 1; }
  .inbox-summary b { font-size: 1.5rem; }
  .inbox-summary span { font-size: .75rem; }
  .workspace-tabs button, .tabs button { font-size: .8125rem; padding: 12px; }
  .workflow-track { flex-wrap: wrap; }
  .request-type { padding-inline-start: 0; }
  .request-picker .btn { font-size: .875rem; }
  .payroll-stages li { padding: 14px 12px; gap: 9px; }
  .payroll-stages b, .payroll-stages small { font-size: .75rem; }
  .payroll-stages li>span { width: 28px; height: 28px; }
  .payroll-controls .btn { width: 100%; }
  .form-grid, .preference-options { grid-template-columns: 1fr; }
  .portal-grid { gap: 20px; }
  .portal-intro { padding: 26px; }
  .portal-intro h1 { font-size: 1.875rem; }
  .hero-panel h2 { font-size: 1.25rem; }
  .calendar-grid { min-width: 650px; }
  .card:has(.calendar-grid) { overflow-x: auto; }
  .account-panel { width: 270px; }
  .account-panel #helpButton { display: flex; }
  .account-panel select { font-size: .875rem; }
}
@media (max-width:380px) { .kpis { grid-template-columns: 1fr; } #headerSearchLabel { display: none; } .command-trigger { flex: 0; min-width: 40px; } .header-actions { justify-content: flex-end; } }
@media (prefers-reduced-motion:reduce) { *, *:before, *:after { transition: none!important; scroll-behavior: auto!important; } }
@media print {
  :root { font-size: 12px; --cell-padding: 9px; }
  .shell, [dir=ltr] .shell { margin: 0!important; }
  main { padding: 0; max-width: none; }
  .nav-backdrop, .sidebar-close { display: none!important; }
  .card { box-shadow: none; }
  .table-wrap { overflow: visible; }
  th { position: static; }
  .report-layout { display: block; }
  .kpi-value { font-size: 1.75rem; }
  dialog { max-height: none; overflow: visible; }
  body { background: #fff; }
}

/* 2.2: one coordinated palette for modules, metrics and the people directory. */
:root {
  --blue-ink:#2455a4; --blue-soft:#edf4ff; --blue-line:#cbdcf7;
  --teal-ink:#126c61; --teal-soft:#eaf8f3; --teal-line:#c2e6d9;
  --violet-ink:#6642a2; --violet-soft:#f3efff; --violet-line:#ded2f3;
  --amber-ink:#84570e; --amber-soft:#fff6e4; --amber-line:#eed9aa;
  --rose-ink:#9a3857; --rose-soft:#fff0f4; --rose-line:#efcdd8;
}
[data-tone=blue] { --tone-ink:var(--blue-ink); --tone-soft:var(--blue-soft); --tone-line:var(--blue-line); }
[data-tone=teal] { --tone-ink:var(--teal-ink); --tone-soft:var(--teal-soft); --tone-line:var(--teal-line); }
[data-tone=violet] { --tone-ink:var(--violet-ink); --tone-soft:var(--violet-soft); --tone-line:var(--violet-line); }
[data-tone=amber] { --tone-ink:var(--amber-ink); --tone-soft:var(--amber-soft); --tone-line:var(--amber-line); }
[data-tone=rose] { --tone-ink:var(--rose-ink); --tone-soft:var(--rose-soft); --tone-line:var(--rose-line); }
body { background:#f3f5fa; }
.workspace { background:var(--blue-soft); border-color:var(--blue-line); }
.workspace-icon { background:#d9e7ff; color:var(--blue-ink); }
nav .nav-icon { width:31px; height:31px; border-radius:8px; background:var(--blue-soft); color:var(--blue-ink); flex-shrink:0; }
nav button { padding-block:7px; gap:10px; }
nav button:is([data-nav=recruitment],[data-nav=onboarding],[data-nav=performance],[data-nav=orgchart],[data-nav=reports]) .nav-icon { background:var(--violet-soft); color:var(--violet-ink); }
nav button:is([data-nav=attendance],[data-nav=scheduler],[data-nav=leaves],[data-nav=calendar]) .nav-icon { background:var(--teal-soft); color:var(--teal-ink); }
nav button:is([data-nav=payroll],[data-nav=documents]) .nav-icon { background:var(--amber-soft); color:var(--amber-ink); }
nav button:is([data-nav=offboarding],[data-nav=laws]) .nav-icon { background:var(--rose-soft); color:var(--rose-ink); }
nav button.active, [dir=ltr] nav button.active { background:#e9f1ff; color:#234f8f; }
nav button[data-nav=employees] { font-weight:600; }
.people-nav-count { background:#d5e5ff; color:#2455a4; }
.overview-title, .page-heading { padding:24px 26px; border:1px solid #d3e0f5; border-radius:16px; background:#edf4ff; }
.overview-title { background:linear-gradient(110deg,#edf3ff 20%,#eaf7f3 100%); }
.overview-title h1, .page-heading h1 { color:#173d6d; }
#main[data-area=people] .page-heading { background:var(--violet-soft); border-color:var(--violet-line); }
#main[data-area=people] .page-heading h1 { color:#493270; }
#main[data-area=operations] .page-heading { background:var(--teal-soft); border-color:var(--teal-line); }
#main[data-area=operations] .page-heading h1 { color:#20594f; }
#main[data-area=finance] .page-heading { background:var(--amber-soft); border-color:var(--amber-line); }
#main[data-area=finance] .page-heading h1 { color:#77511c; }
#main[data-area=insights] .page-heading { background:var(--violet-soft); border-color:var(--violet-line); }
#main[data-page=employees] .page-heading { background:var(--blue-soft); border-color:var(--blue-line); }
#main[data-page=employees] .page-heading h1 { color:#173d6d; }
.page-heading .eyebrow, .overview-title .eyebrow { color:#50637f; }
.kpis>.kpi:nth-child(4n+1) { --tone-ink:var(--blue-ink); --tone-soft:var(--blue-soft); --tone-line:var(--blue-line); }
.kpis>.kpi:nth-child(4n+2) { --tone-ink:var(--teal-ink); --tone-soft:var(--teal-soft); --tone-line:var(--teal-line); }
.kpis>.kpi:nth-child(4n+3) { --tone-ink:var(--violet-ink); --tone-soft:var(--violet-soft); --tone-line:var(--violet-line); }
.kpis>.kpi:nth-child(4n+4) { --tone-ink:var(--amber-ink); --tone-soft:var(--amber-soft); --tone-line:var(--amber-line); }
.kpis>.kpi { background:var(--tone-soft); border-color:var(--tone-line); border-top:3px solid var(--tone-ink); box-shadow:0 3px 10px #172f5305; }
.kpis>.kpi .kpi-icon { color:var(--tone-ink); background:#ffffffb3; border:1px solid var(--tone-line); }
.kpis>.kpi .kpi-value { color:var(--tone-ink); }
.kpis>.kpi .kpi-top { color:#3e536e; }
.kpis>.kpi .kpi-bottom { color:#4b617b; }
.lifecycle button[data-nav=recruitment] { background:var(--violet-soft); border-color:var(--violet-line); }
.lifecycle button[data-nav=recruitment] b { color:var(--violet-ink); }
.lifecycle button[data-nav=onboarding] { background:var(--teal-soft); border-color:var(--teal-line); }
.lifecycle button[data-nav=onboarding] b { color:var(--teal-ink); }
.lifecycle button[data-nav=employees] { background:var(--blue-soft); border-color:var(--blue-line); }
.lifecycle button[data-nav=employees] b { color:var(--blue-ink); }
.lifecycle button[data-nav=offboarding] { background:var(--rose-soft); border-color:var(--rose-line); }
.lifecycle button[data-nav=offboarding] b { color:var(--rose-ink); }
.focus-count { background:var(--amber-soft); color:var(--amber-ink); border:1px solid var(--amber-line); }
.focus-count.red { background:var(--rose-soft); color:var(--rose-ink); border-color:var(--rose-line); }
.focus-count.blue { background:var(--blue-soft); color:var(--blue-ink); border-color:var(--blue-line); }
.upcoming-grid .mini-timeline:nth-child(3n+1) .date-square { background:var(--blue-soft); color:var(--blue-ink); }
.upcoming-grid .mini-timeline:nth-child(3n+2) .date-square { background:var(--violet-soft); color:var(--violet-ink); }
.upcoming-grid .mini-timeline:nth-child(3n+3) .date-square { background:var(--teal-soft); color:var(--teal-ink); }
.job-card { border-top:3px solid var(--violet-ink); }
.lane:nth-child(5n+1) { background:var(--blue-soft); border-color:var(--blue-line); }
.lane:nth-child(5n+2) { background:var(--violet-soft); border-color:var(--violet-line); }
.lane:nth-child(5n+3) { background:var(--amber-soft); border-color:var(--amber-line); }
.lane:nth-child(5n+4) { background:var(--teal-soft); border-color:var(--teal-line); }
.lane:nth-child(5n+5) { background:var(--rose-soft); border-color:var(--rose-line); }
.people-entry { color:#2455a4; background:#fff; border-color:#b3cbed; font-weight:600; }
.people-entry:hover { background:#e0ecff; border-color:#8eb0e3; }
.people-entry .ui-icon { width:19px; height:19px; }
/* Directory: filters have their own state and counts always respect access. */
.people-statuses { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:22px; }
.people-status { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:17px 20px; border:1px solid var(--tone-line); border-radius:11px; background:var(--tone-soft); color:var(--tone-ink); text-align:start; min-height:74px; position:relative; }
.people-status span { font-size:.875rem; font-weight:500; }
.people-status b { font:600 1.75rem/1.3 var(--font-numbers); }
.people-status.selected { border-color:var(--tone-ink); box-shadow:inset 0 -3px var(--tone-ink); }
.people-status:hover { box-shadow:0 3px 12px #183b6b12; border-color:var(--tone-ink); }
.people-filters { margin-bottom:20px; }
.people-search { position:relative; }
.people-search>.ui-icon { position:absolute; inset-inline-start:12px; top:50%; transform:translateY(-50%); color:#647b99; width:18px; pointer-events:none; }
.people-search input { width:100%; padding-inline-start:39px; }
.people-viewbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:20px 0; scroll-margin-top:100px; }
.people-viewbar p { font-size:.875rem; }
.people-viewbar p b { color:var(--blue-ink); font-weight:600; }
.view-switch { display:inline-flex; gap:4px; padding:4px; border:1px solid #d5dfee; background:#fff; border-radius:9px; }
.view-switch button { display:flex; align-items:center; gap:7px; min-height:36px; padding:7px 12px; background:transparent; color:#526985; border:0; border-radius:6px; font-size:.8125rem; }
.view-switch button.selected { background:#e6efff; color:#2455a4; font-weight:600; }
.view-switch .ui-icon { width:17px; height:17px; }
.people-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.employee-card { border:1px solid var(--tone-line); border-top:4px solid var(--tone-ink); border-radius:13px; background:#fff; padding:22px; box-shadow:var(--shadow); min-width:0; }
.employee-card:hover { box-shadow:0 7px 24px #18365610; }
.employee-card-top { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:17px; }
.employee-avatar { width:54px; height:54px; border-radius:15px; background:var(--tone-soft); color:var(--tone-ink); border:1px solid var(--tone-line); font-size:1.125rem; }
.employee-card h2 { font-size:1.0625rem; margin:0 0 4px; line-height:1.6; overflow-wrap:anywhere; }
.employee-job { color:#516680; font-size:.8125rem; margin:0 0 13px; min-height:1.8em; }
.department-pill { display:inline-flex; align-items:center; gap:6px; padding:4px 9px; border-radius:6px; background:var(--tone-soft); color:var(--tone-ink); font-size:.75rem; font-weight:500; }
.department-pill:before { content:''; width:5px; height:5px; border-radius:50%; background:var(--tone-ink); flex-shrink:0; }
.employee-meta { margin:20px 0; border-top:1px solid #ebeff5; padding-top:13px; display:grid; gap:9px; }
.employee-meta>div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.employee-meta dt { color:#5b6d84; font-size:.75rem; }
.employee-meta dd { color:#324b6a; margin:0; font-size:.75rem; text-align:end; }
.employee-card-footer { display:flex; justify-content:space-between; align-items:center; gap:10px; border-top:1px solid #ebeff5; padding-top:15px; }
.employee-card-footer .btn { border-color:var(--tone-line); color:var(--tone-ink); font-weight:500; }
.employee-card-footer .btn:hover { background:var(--tone-soft); }
.employee-code { font-size:.6875rem; color:#5e728d; }
.people-table { padding:0; overflow:hidden; }
.people-table .table-wrap { border:0; }
.people-table td:first-child>.employee-code { display:block; margin-top:6px; padding-inline-start:49px; }
.people-pagination { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:24px 0 0; font-size:.8125rem; color:#4d6482; }
.people-pagination>div { display:flex; align-items:center; gap:14px; }
.people-pagination>div>span { font-family:var(--font-numbers); white-space:nowrap; }
.people-empty { text-align:center; padding:50px 24px; }
.people-empty>.ui-icon { width:40px; height:40px; color:var(--blue-ink); margin-bottom:15px; }
.people-empty p { margin:10px 0 22px; }
@media(min-width:1750px) { .people-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:1200px) { .people-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .people-statuses { gap:10px; } .people-status { padding:15px; } .overview-title .toolbar { max-width:45%; } }
@media(max-width:850px) { .overview-title,.page-heading { padding:22px; } .people-statuses { grid-template-columns:repeat(2,minmax(0,1fr)); } .people-status { padding:16px 18px; } .overview-title .toolbar { max-width:none; } }
@media(max-width:600px) { .people-grid { grid-template-columns:1fr; gap:16px; } .employee-card { padding:22px; } .people-statuses { gap:10px; } .people-status { padding:14px; min-height:70px; gap:8px; } .people-status span { font-size:.8125rem; } .people-status b { font-size:1.5rem; } .people-viewbar { flex-wrap:wrap; } .people-pagination { flex-direction:column; align-items:stretch; } .people-pagination>div { justify-content:space-between; } .overview-title,.page-heading { padding:21px 20px; } .overview-title .toolbar { width:100%; } .people-filters .filter-field { min-width:130px; } }
@media print { .people-statuses,.people-filters,.view-switch,.people-pagination { display:none; } .people-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .employee-card { break-inside:avoid; box-shadow:none; } .page-heading,.overview-title { background:white!important; border:0; padding:0; } }
.data-mode { display:flex; align-items:center; gap:22px; padding:26px; border:1px solid var(--amber-line); border-radius:18px; background:var(--amber-soft); margin-bottom:24px; }
.data-mode.live { background:var(--blue-soft); border-color:var(--blue-line); }
.data-mode>div { flex:1; min-width:0; }
.data-mode h2 { margin:5px 0 8px; font-size:23px; line-height:1.5; }
.data-mode p { margin:0; max-width:780px; line-height:1.85; color:var(--text); }
.data-mode>.badge { align-self:flex-start; white-space:nowrap; }
.data-mode-icon,.storage-icon,.backup-symbol { display:grid; place-items:center; flex-shrink:0; width:52px; height:52px; border-radius:15px; background:#fff; color:var(--amber-ink); }
.data-mode-icon .ui-icon,.storage-icon .ui-icon,.backup-symbol .ui-icon { width:25px; height:25px; }
.data-mode.live .data-mode-icon { color:var(--blue-ink); }
.data-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; border-bottom:1px solid var(--border); padding-bottom:12px; }
.data-tabs button { display:flex; align-items:center; gap:9px; padding:12px 17px; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--text); font:inherit; font-weight:500; cursor:pointer; }
.data-tabs button.active { background:var(--blue-soft); border-color:var(--blue-line); color:var(--blue-ink); }
.storage-map { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:24px; }
.storage-tile { border:1px solid var(--blue-line); background:var(--blue-soft); padding:24px; border-radius:16px; }
.storage-tile.teal { border-color:var(--teal-line); background:var(--teal-soft); }
.storage-tile.violet { border-color:var(--violet-line); background:var(--violet-soft); }
.storage-tile .storage-icon,.storage-tile strong { color:var(--blue-ink); }
.storage-tile.teal .storage-icon,.storage-tile.teal strong { color:var(--teal-ink); }
.storage-tile.violet .storage-icon,.storage-tile.violet strong { color:var(--violet-ink); }
.storage-tile h3 { margin:18px 0 8px; font-size:17px; }
.storage-tile strong { font-size:20px; line-height:1.5; }
.storage-tile p { margin:10px 0 0; line-height:1.8; }
.data-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:start; }
.data-panel .card { min-width:0; }
.data-panel .notice { margin-bottom:22px; }
.data-copy,.data-note { line-height:1.85; }
.data-note { color:var(--muted); font-size:14px; margin:18px 0 0; }
.data-facts { margin:20px 0; }
.data-facts>div { display:flex; gap:18px; padding:12px 0; border-bottom:1px solid var(--border); align-items:baseline; }
.data-facts dt { flex:0 0 110px; color:var(--muted); font-size:14px; }
.data-facts dd { margin:0; font-weight:500; overflow-wrap:anywhere; }
.data-records { display:grid; }
.data-records button { display:flex; align-items:center; gap:14px; padding:17px 4px; width:100%; background:none; border:0; border-bottom:1px solid var(--border); color:var(--text); font:inherit; text-align:start; cursor:pointer; }
.data-records button>span { display:flex; align-items:center; gap:12px; flex:1; }
.data-records button>span .ui-icon { color:var(--blue-ink); }
.data-records button>b { font:600 21px var(--font-en,Inter),sans-serif; }
.data-records button:hover { color:var(--blue-ink); background:var(--blue-soft); }
.data-account-tools { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding-bottom:22px; }
.data-account-tools label { font-size:14px; }
.data-account-tools input { flex:1; min-width:180px; max-width:370px; padding:11px 14px; border:1px solid var(--border); border-radius:9px; background:#fff; color:var(--text); font:inherit; }
.data-account-tools small { color:var(--muted); }
.data-panel .table-wrap { max-height:630px; }
.account-email { display:block; font-family:Inter,sans-serif; margin-top:5px; color:var(--muted); text-align:start; }
.data-account-footer { display:flex; align-items:center; gap:22px; margin-top:20px; }
.data-account-footer p { flex:1; line-height:1.85; color:var(--muted); }
.backup-symbol { background:var(--teal-soft); color:var(--teal-ink); margin-bottom:20px; }
.backup-time { color:var(--teal-ink); font-weight:600; }
.backup-includes { list-style:none; padding:0; margin:0; }
.backup-includes li { display:flex; gap:12px; padding:16px 0; line-height:1.9; border-bottom:1px solid var(--border); }
.backup-includes .ui-icon { color:var(--teal-ink); margin-top:4px; flex-shrink:0; }
.auth-options { display:grid; gap:18px; margin:24px 0; }
.auth-options article { padding:22px; background:var(--blue-soft); border:1px solid var(--blue-line); border-radius:13px; }
.auth-options article+article { background:var(--violet-soft); border-color:var(--violet-line); }
.auth-options h3 { margin:0 0 10px; }
.auth-options p { line-height:1.9; }
.cloud-steps { padding:0; margin:26px 0; list-style:none; }
.cloud-steps li { display:flex; gap:17px; margin-bottom:22px; }
.cloud-steps li>span { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; border-radius:12px; background:var(--blue-soft); color:var(--blue-ink); font:600 15px Inter,sans-serif; }
.cloud-steps h3 { margin:0 0 6px; font-size:17px; }
.cloud-steps p { margin:0; line-height:1.9; }
.data-center-shortcut { display:flex; align-items:center; gap:20px; padding:24px; background:var(--blue-soft); border:1px solid var(--blue-line); border-radius:15px; margin-top:24px; }
.data-center-shortcut>.ui-icon { width:29px; height:29px; color:var(--blue-ink); flex-shrink:0; }
.data-center-shortcut>div { flex:1; }
.data-center-shortcut b { font-size:19px; }
.data-center-shortcut p { margin:6px 0 0; line-height:1.8; }
@media(max-width:1100px) { .storage-map { gap:12px; }.storage-tile { padding:20px; }.data-columns { grid-template-columns:1fr; } }
@media(max-width:700px) { .data-mode { flex-wrap:wrap; padding:20px; gap:14px; }.data-mode>div { flex-basis:calc(100% - 72px); }.data-mode>.badge { margin-inline-start:66px; }.data-mode h2 { font-size:20px; }.storage-map { grid-template-columns:1fr; }.data-tabs { gap:4px; }.data-tabs button { padding:10px; font-size:14px; }.data-account-footer,.data-center-shortcut { flex-wrap:wrap; }.data-account-footer p { flex-basis:100%; margin-bottom:0; }.data-center-shortcut .btn { width:100%; }.data-account-tools input { max-width:none; }.data-facts>div { flex-wrap:wrap; gap:6px; }.data-facts dt { flex-basis:100%; } }
