/* Shared visual system. Layout changes by viewport; colours keep the same meaning. */
:root {
  --brand: #3158c6;
  --brand-hover: #2447ad;
  --brand-soft: #edf3ff;
  --brand-border: #dbe5fb;
  --success: #218665;
  --success-soft: #e9f6ef;
  --warning: #9a641b;
  --warning-soft: #fff5e4;
  --danger: #b1463a;
  --danger-soft: #fff0ee;
  --checkout: #c3614e;
  --ink: #1b2c48;
  --muted: #61728b;
  --line: #e3eaf3;
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --green: var(--success);
  --lime: var(--brand-soft);
  --shadow: 0 5px 24px #243a6810;
  --font: 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  color-scheme: light;
}
body, .connection-page { background: var(--bg); color: var(--ink); font-family: var(--font); }
h1, h2, h3, .brand, .stat-value, .live-clock, .donut strong, .logo-icon { font-family: var(--font); }
h1 { font-size: 30px; font-weight: 700; line-height: 1.25; letter-spacing: -.8px; }
h2 { font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -.3px; }
h3 { font-size: 15px; line-height: 1.5; }
p.subtitle, .subtitle { color: var(--muted); font-size: 14px; line-height: 1.7; }
.eyebrow { color: var(--brand); font-size: 11px; letter-spacing: 1.4px; font-weight: 650; }
button, input, select, textarea { font-family: inherit; }
button:disabled { cursor: not-allowed; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
input:focus, select:focus, textarea:focus { outline: 3px solid #3158c624; outline-offset: 1px; border-color: var(--brand); }
a.text-link, .text-link { color: var(--brand); font-weight: 600; }

/* Navigation and shared application chrome. */
.sidebar { background: var(--surface); border-color: var(--line); padding-top: 28px; overflow-y: auto; scrollbar-width: thin; }
.brand { color: var(--ink); font-weight: 750; font-size: 24px; }
.logo-icon { background: var(--brand); color: #fff; border-radius: 12px; }
.workspace { border-color: var(--line); background: var(--surface-soft); padding: 12px; }
.workspace-logo { background: var(--brand-soft); color: var(--brand); }
.workspace strong { font-size: 13px; color: var(--ink); }
.workspace small { font-size: 11px; color: var(--muted); }
.nav-label { color: var(--muted); font-size: 10px; }
.nav { gap: 6px; }
.nav a { padding: 13px 14px; min-height: 46px; font-size: 14px; color: var(--muted); border-radius: 11px; }
.nav a:hover { background: var(--surface-soft); color: var(--brand); }
.nav a.active { background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.nav a svg { width: 19px; height: 19px; }
.nav-count, .count { background: var(--brand-border); color: var(--brand); font-size: 11px; }
.avatar, .profile-avatar .avatar { background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.user-block strong { font-size: 13px; color: var(--ink); }
.user-block small { font-size: 11px; color: var(--muted); }
.help-card { background: var(--surface-soft); border-color: var(--brand-border); border-radius: 14px; }
.help-card .badge { background: var(--brand-soft); color: var(--brand); font-size: 10px; }
.help-card strong { font-size: 13px; color: var(--ink); }
.help-card p, .help-card a { font-size: 12px; color: var(--muted); }
.help-card a { color: var(--brand); }
.topbar { height: 76px; border-color: var(--line); background: var(--surface); }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb strong { color: var(--ink); font-weight: 550; }
.top-search { font-size: 12px; color: var(--muted); }
.icon-btn { color: var(--muted); border-radius: 10px; }
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); }
.notification-dot { background: var(--brand); }
.content { max-width: 1480px; padding-top: 32px; }
.page-heading { margin-bottom: 26px; align-items: center; }
.date-pill { border-color: var(--line); color: var(--muted); font-size: 12px; border-radius: 10px; }
.footer-note { color: var(--muted); font-size: 11px; }

/* Buttons retain their meaning on every screen. */
.btn { min-height: 42px; padding: 10px 15px; font-size: 13px; font-weight: 600; border-radius: 10px; border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn svg { width: 17px; height: 17px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 3px 7px #3158c616; }
.btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn.lime { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-border); }
.btn.danger { background: var(--danger-soft); color: var(--danger); border-color: #f1d6d2; }
.btn.sm { min-height: 34px; padding: 7px 10px; font-size: 12px; border-radius: 9px; }
.button-group { gap: 10px; }
.btn.home-punch, .punch-main { background: var(--success); color: #fff; }
.btn.home-punch[data-kind=out], .punch-main.out { background: var(--checkout); }
.btn.home-punch.completed-punch { background: var(--success-soft); color: var(--success); }

/* Dashboard surfaces, charts and record cards. */
.panel, .stat { border-color: var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 2px 6px #263f6b03; }
.panel-title { padding: 22px 24px; }
.panel-title p { font-size: 12px; color: var(--muted); }
.panel-title .text-link { font-size: 12px; color: var(--brand); }
.panel-pad { padding: 24px; }
.stat { padding: 21px; }
.stat-head { font-size: 13px; color: var(--muted); }
.stat-icon { background: var(--brand-soft); border-color: var(--brand-border); color: var(--brand); border-radius: 10px; }
.stat-value { font-weight: 700; color: var(--ink); font-size: 32px; margin: 13px 0 11px; letter-spacing: -.8px; }
.stat-foot { color: var(--muted); font-size: 12px; line-height: 1.5; }
.stat-foot .up { color: var(--success); }
.stat-foot .warning { color: var(--warning); }
.welcome-banner { background: var(--brand-soft); border-color: var(--brand-border); border-radius: 18px; padding: 25px 28px; }
.welcome-banner h2 { color: var(--ink); font-size: 23px; }
.welcome-banner p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.welcome-banner .banner-art { border-color: #dbe3ff; }
.welcome-banner .banner-art:before { border-color: #ccd7fc; }
.chart-bar { background: #7088dd; }
.chart-bar.late { background: #dce3f7; }
.chart-bars { background: repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#edf0f7 calc(25% - 1px),#edf0f7 25%); }
.chart-axis, .chart-bar-group span { color: var(--muted); font-size: 11px; }
.legend { color: var(--muted); font-size: 11px; }
.dot { background: #7088dd; }
.dot.pale { background: #dce3f7; }
.dot.amber { background: #e4bd79; }
.dot.red { background: #e29488; }
.donut { background: conic-gradient(var(--brand) 0 var(--present),#a2b3e9 var(--present) var(--leave),#f1d69d var(--leave) var(--pending),#edf1f8 var(--pending) 100%); }
.donut strong { color: var(--ink); }
.donut small, .overview-legend { color: var(--muted); font-size: 12px; }
.overview-legend b { color: var(--ink); font-size: 13px; }
.live-indicator { color: var(--muted); font-size: 11px; }
.live-indicator:before { background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.empty { color: var(--muted); font-size: 14px; }
.empty strong { color: var(--ink); font-size: 16px; }
.empty svg { color: var(--brand); }

/* Readable records and forms. */
th { font-size: 11px; font-weight: 600; letter-spacing: .45px; color: var(--muted); background: var(--surface-soft); border-color: var(--line); padding: 14px 20px; }
td { font-size: 13px; line-height: 1.55; color: var(--muted); border-color: #edf0f7; padding: 16px 20px; }
tbody tr:hover { background: var(--surface-soft); }
.person strong { color: var(--ink); font-size: 13px; font-weight: 600; }
.person small { color: var(--muted); font-size: 11px; }
.person .avatar { font-size: 11px; width: 34px; height: 34px; }
.badge { background: var(--success-soft); color: var(--success); font-size: 11px; border-radius: 7px; padding: 4px 8px; }
.badge.pending, .badge.draft { background: var(--warning-soft); color: var(--warning); }
.badge.rejected, .badge.inactive, .badge.absent, .badge.miss-punch { background: var(--danger-soft); color: var(--danger); }
.badge.break { background: var(--brand-soft); color: var(--brand); }
.badge.paid, .badge.finalized { background: var(--success-soft); color: var(--success); }
.badge.cancelled { background: #edf0f6; color: var(--muted); }
input, select, textarea, .input { min-height: 43px; border-color: var(--line); border-radius: 10px; color: var(--ink); font-size: 14px; padding: 11px 12px; background: var(--surface); }
input::placeholder, textarea::placeholder { color: #7d889c; }
input[type=checkbox] { accent-color: var(--brand); min-height: 18px; width: 18px; height: 18px; }
.field label { color: #526078; font-size: 13px; font-weight: 600; }
.field small { color: var(--muted); font-size: 12px; }
.form-section { color: var(--ink); font-size: 14px; }
.check-field { font-size: 13px; color: var(--muted); }
.search-input input { font-size: 14px; padding-left: 38px; width: 280px; }
.search-input svg { top: 14px; color: var(--muted); }
.filters input, .filters select { font-size: 14px; }
.tabs { gap: 7px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: #edf1f8; width: fit-content; max-width: 100%; }
.tab { padding: 10px 16px; min-height: 40px; font-size: 13px; color: var(--muted); border: 0; border-radius: 9px; }
.tab.active { background: var(--surface); color: var(--brand); box-shadow: 0 2px 7px #243a6810; }
.employee-card { padding: 23px; }
.employee-card h3 { font-size: 17px; color: var(--ink); }
.employee-card .role-label, .employee-card dd { font-size: 13px; color: var(--muted); }
.employee-card dt { font-size: 11px; color: var(--muted); letter-spacing: .3px; }
.employee-card .email { font-size: 12px; color: var(--muted); }
.list-item { border-color: var(--line); border-radius: 13px; }
.list-item h3 { font-size: 14px; color: var(--ink); }
.list-item p { font-size: 13px; color: var(--muted); }
.list-item small { font-size: 11px; color: var(--muted); }
.holiday-day { color: var(--brand); background: var(--brand-soft); }
.holiday-day span { color: var(--brand); font-size: 11px; }
.report-card h3 { font-size: 17px; color: var(--ink); }
.report-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.note { background: var(--brand-soft); border-color: var(--brand-border); color: #4f628c; font-size: 13px; border-radius: 12px; }
.note.warn { background: var(--warning-soft); border-color: #f1dfbd; color: #856022; }
.form-error { background: var(--danger-soft); color: var(--danger); font-size: 13px; border-radius: 10px; }
.weekdays label { background: var(--surface-soft); color: var(--muted); font-size: 12px; }
.money { color: var(--ink); }

/* Personal attendance, salary and profile use the same brand as management. */
.employee-greeting h1, .home-day h2, .home-card-heading h2, .home-section-title h2 { color: var(--ink); }
.employee-greeting .eyebrow, .home-time-footer a, .home-card-heading a, .home-personal-summary a { color: var(--brand); }
.employee-greeting p, .home-day p, .home-time-footer, .home-salary-summary p, .home-personal-summary { color: var(--muted); }
.home-skyline svg circle { fill: #ffe4ae; }
.home-skyline svg path:nth-of-type(1) { fill: #d1dbf7; }
.home-skyline svg path:nth-of-type(2) { fill: #adbeea; }
.home-time-card { border-color: var(--line); background: var(--surface); box-shadow: var(--shadow); }
.home-clock-orb { background: radial-gradient(circle at 70% 25%,#b4c5f8 0 30%,#e9efff 31%); border-color: #c5d2f7; }
.home-clock { color: var(--ink); font-weight: 700; }
.home-clock-caption { color: var(--brand); }
.home-payslip { border-color: var(--line); }
.home-salary-summary strong { color: var(--ink); }
.salary-illustration { background: var(--brand-soft); color: var(--brand); }
.home-net-pay { background: var(--success-soft); border-color: #d5eadd; }
.home-net-pay span, .home-net-pay strong { color: var(--success); }
.home-net-pay .icon-btn { color: var(--brand); }
.home-action { border: 1px solid transparent; transition: border-color .16s, box-shadow .16s, transform .16s; }
.home-action strong { color: var(--ink); }
.home-action small { color: #5e6f88; }
.home-action-icon, .home-action>svg { color: var(--brand); }
.home-action-icon { background: #ffffffb5; }
.home-action.lavender { background: var(--brand-soft); }
.home-action.aqua { background: #e9f6f3; }
.home-action.peach { background: #fff3e4; }
.home-action.rose { background: #f6edf7; }
.home-action:hover { border-color: var(--brand-border); box-shadow: 0 4px 14px #3158c60c; }
.profile-cover { background: var(--brand); }
.profile-cover .avatar { background: #ffffffed; color: var(--brand); }
.profile-cover h2 { color: #fff; }
.profile-cover p { color: #e3e9ff; }
.profile-facts>div { background: var(--surface-soft); border: 1px solid #edf1f8; }
.profile-facts span { color: var(--muted); }
.profile-facts strong { color: var(--ink); }
.clock-card { background: linear-gradient(140deg,var(--brand-soft),#fff 65%); border-color: var(--brand-border); box-shadow: var(--shadow); }
.clock-label, .clock-date, .punch-info span, .capture-box { color: var(--muted); }
.live-clock, .punch-info strong { color: var(--ink); }
.punch-info { border-color: var(--line); }
.capture-box { border-color: #cbd6f1; background: #ffffff9e; border-radius: 13px; }
.capture-box .button-group:has(>button:only-child) { grid-template-columns: 1fr; }
.calendar-weekdays span, .calendar-help { color: var(--muted); }
.calendar-day { background: var(--surface-soft); border-color: var(--line); color: var(--muted); }
.calendar-day.has-record { background: var(--success-soft); color: var(--success); border-color: #d5eadd; }
.calendar-day.on-leave { background: var(--brand-soft); color: var(--brand); }
.calendar-day.miss-punch { background: var(--danger-soft); color: var(--danger); border-color: #edc7c1; }
.calendar-day.miss-punch small { white-space: normal; padding: 0 2px; }
.punch-date { display: block; margin-top: 3px; font-size: 11px; font-weight: 400; color: var(--muted); }
.calendar-day.today b { background: var(--brand); }

/* Authentication, dialogs and the secure phone setup. */
.auth-visual { background: #172544; }
.auth-visual:after { border-color: #26385f; }
.auth-visual h1 em { color: #a8baff; }
.auth-visual>div>p { color: #b4c0d7; }
.auth-feature { color: #dbe3f2; }
.auth-feature svg { color: #a8baff; }
.auth-foot { color: #b4c0d7; }
.auth-visual .eyebrow { color: #bdcaff!important; }
.auth-form-side { background: var(--surface-soft); }
.auth-tag { color: var(--brand); }
.auth-form-wrap .auth-small { color: var(--muted); font-size: 12px; }
.auth-form-wrap .btn { font-size: 14px; min-height: 46px; }
.modal-backdrop { background: #15244166; }
.modal { border-color: var(--line); border-radius: 20px; box-shadow: 0 24px 90px #182c5628; }
.modal-head { padding: 21px 24px; }
.modal-head h2 { font-size: 20px; }
.modal-body { padding: 24px; }
.payslip-row, .payslip-meta { color: var(--muted); font-size: 13px; }
.payslip-row.total { color: var(--ink); font-size: 18px; }
.payslip small { color: var(--muted); font-size: 11px; }
#toast { background: #23375d; font-size: 14px; color: #fff; }
#toast.error { background: var(--danger); }
.search-results button { font-size: 14px; color: var(--ink); }
.search-results button:hover { background: var(--brand-soft); }
.connection-shell p, .connection-note, .connection-footer { color: var(--muted); }
.connection-step, .connection-certificate { border-color: var(--line); background: var(--surface); }
.step-number { color: var(--brand); background: var(--brand-soft); }
.connection-shell details a { color: var(--brand); }

@media(min-width:1000px) {
  .employee-home { max-width: 1180px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 24px; align-items: start; }
  .employee-greeting { grid-column: 1/-1; margin-bottom: 0; }
  .home-time-card { grid-column: 1; margin: 72px 0 0; }
  .home-payslip { grid-column: 2; align-self: end; margin: 0; }
  .home-section-title { grid-column: 1/-1; margin: 6px 0 -8px; }
  .home-action-grid { grid-column: 1/-1; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-personal-summary { grid-column: 1/-1; padding: 0 2px; }
  .employee-home>section.panel.section-gap { grid-column: 1/-1; margin-top: 0; }
}
@media(max-height:800px) and (min-width:651px) {
  .sidebar .help-card { display: none; }
  .sidebar-footer { padding-top: 12px; }
  .sidebar .workspace { margin-top: 20px; margin-bottom: 14px; }
  .sidebar .nav a { min-height: 42px; padding: 11px 14px; }
}
@media(max-width:650px) {
  body { font-size: 15px; }
  h1, .page-heading h1 { font-size: 27px; }
  h2, .panel-title h2, .panel-pad h2 { font-size: 18px; }
  p.subtitle, .subtitle { font-size: 14px!important; }
  .topbar { height: 66px; background: #fffffff2; }
  .content { padding: 24px 18px calc(100px + env(safe-area-inset-bottom)); }
  .page-heading { align-items: flex-start; margin-bottom: 22px; }
  .eyebrow { font-size: 11px; }
  .sidebar .nav a { min-height: 50px; font-size: 15px; }
  .sidebar .nav-label { font-size: 11px; }
  .workspace strong { font-size: 14px; }
  .workspace small, .user-block small { font-size: 12px; }
  .help-card p, .help-card a, .help-card strong { font-size: 13px; }
  .user-block strong { font-size: 14px; }
  .mobile-overlay.open { background: #15244166; }
  .mobile-bottom { background: #fffffff2; border-color: var(--line); box-shadow: 0 -4px 20px #243a6806; }
  .mobile-bottom a { color: var(--muted); font-size: 11px; }
  .mobile-bottom a.active { background: var(--brand-soft); color: var(--brand); }
  .mobile-bottom a.active svg { background: none; box-shadow: none; }
  .btn, .btn.sm { min-height: 45px; font-size: 14px; padding: 11px 13px; border-radius: 11px; }
  .btn svg, .btn.sm svg { width: 18px; height: 18px; }
  .btn.home-punch { font-size: 18px; min-height: 55px; border-radius: 30px; }
  .welcome-banner { padding: 22px 19px; }
  .welcome-banner h2 { font-size: 21px; }
  .welcome-banner p { font-size: 14px; }
  .stat { padding: 17px 15px; border-radius: 16px; }
  .stat-value { font-size: 30px; margin: 11px 0 10px; }
  .stat-head { font-size: 13px; }
  .stat-foot { font-size: 12px; }
  .panel-title { padding: 20px 18px; }
  .panel-title p, .panel-title .text-link { font-size: 13px; }
  .panel-pad { padding: 20px; }
  .badge { font-size: 12px; padding: 5px 9px; }
  .input, input, select, textarea, .filters input, .filters select, .search-input input { font-size: 16px; min-height: 46px; }
  input[type=checkbox] { min-height: 20px; width: 20px; height: 20px; }
  .field label { font-size: 14px; }
  .field small { font-size: 13px; }
  .check-field, .form-error { font-size: 14px; }
  .tabs { width: 100%; }
  .tab { min-height: 45px; font-size: 13px; padding: 11px 9px; }
  .table-wrap td { font-size: 14px; padding: 0; border: 0; }
  .table-wrap td:before { color: var(--muted); font-size: 11px; }
  .table-wrap tr { border-color: var(--line); background: var(--surface); }
  .table-wrap .person strong { font-size: 15px; }
  .table-wrap .person small { font-size: 12px; }
  .table-wrap .row-actions .btn { font-size: 13px; }
  .employee-card { padding: 21px; }
  .employee-card h3 { font-size: 19px; }
  .employee-card .role-label, .employee-card dd { font-size: 14px; }
  .employee-card dt { font-size: 11px; }
  .list-item h3 { font-size: 15px; }
  .list-item p { font-size: 14px; }
  .list-item small { font-size: 12px; }
  .note, .note.warn { font-size: 13px; }
  .home-action strong { font-size: 17px; }
  .home-action small { font-size: 14px; }
  .employee-greeting h1 { font-size: 29px; }
  .home-day h2 { font-size: 19px; }
  .home-clock { font-size: 21px; }
  .home-clock-caption { font-size: 10px; }
  .home-card-heading h2 { font-size: 23px; }
  .home-net-pay strong { font-size: 24px; }
  .home-personal-summary { font-size: 14px; }
  .capture-box .btn { font-size: 13px; }
  .punch-main { min-height: 60px; max-width: 100%; font-size: 18px; border-radius: 16px; }
  .punch-info strong { font-size: 16px; }
  .clock-date { font-size: 14px; }
  .modal { border-radius: 24px 24px 0 0; }
  .modal-head { padding: 18px 20px 15px; }
  .modal-body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
  .modal-actions .btn { min-height: 48px; }
  .profile-cover h2 { font-size: 21px; }
  .profile-facts span { font-size: 14px; }
  .profile-facts strong { font-size: 16px; }
  .auth-form-wrap .auth-small { font-size: 13px; }
  .auth-form-wrap .btn { min-height: 50px; font-size: 16px; }
  .auth-visual>div>p { font-size: 14px; }
  .payslip-row { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) { .home-action { transition: none; } }
@media print { body { background: #fff; } .modal { box-shadow: none; border: 0; } }

/* Product-wide refinement: fewer competing accents and a clearer hierarchy. */
.sidebar { padding: 27px 18px 18px; }
.brand { letter-spacing: -.8px; }
.logo-icon { width: 39px; height: 39px; box-shadow: 0 5px 14px #3158c622; }
.workspace { background: #f8faff; border-radius: 13px; margin-top: 29px; }
.nav a { position: relative; }
.nav a.active { box-shadow: inset 3px 0 var(--brand); }
.nav a.active svg { color: var(--brand); }
.nav-label { letter-spacing: 1.4px; }
.topbar { background: #ffffffef; backdrop-filter: blur(16px); }
.page-heading h1 { margin-bottom: 9px; }
.eyebrow { letter-spacing: 1.1px; }
.panel, .stat { border-radius: 20px; box-shadow: 0 5px 22px #223f7105; }
.panel-title { align-items: flex-start; gap: 18px; }
.panel-title p { margin-top: 7px; line-height: 1.6; }
.stat { padding: 23px; }
.stat-head { font-weight: 550; }
.stat-icon { width: 34px; height: 34px; background: #f0f5ff; border-color: #e2eafc; }
.stat-value { margin-top: 16px; margin-bottom: 12px; font-size: 34px; }
.overview-welcome { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; border-radius: 23px; margin-bottom: 25px; background: linear-gradient(115deg,#1e3e8b,#3c67ce); color: white; box-shadow: 0 10px 24px #3158c61c; position: relative; overflow: hidden; }
.overview-welcome:after { content: ''; position: absolute; right: 18%; top: -120px; width: 280px; height: 280px; border: 38px solid #ffffff08; border-radius: 50%; pointer-events: none; }
.overview-welcome-copy { position: relative; z-index: 1; }
.welcome-kicker { display: block; font-size: 12px; color: #c9d8ff; margin-bottom: 10px; letter-spacing: .2px; }
.overview-welcome h2 { color: white; font-size: 25px; font-weight: 650; margin-bottom: 10px; letter-spacing: -.4px; }
.overview-welcome p { font-size: 13px; line-height: 1.7; color: #d9e4ff; margin: 0; }
.overview-welcome p strong { color: white; font-weight: 600; }
.welcome-status { display: flex; gap: 22px; align-items: center; margin-top: 19px; color: #d8e4ff; font-size: 12px; flex-wrap: wrap; }
.welcome-status span { display: flex; align-items: center; gap: 7px; }
.welcome-status svg { width: 15px; height: 15px; }
.overview-welcome-action { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 190px; z-index: 1; }
.welcome-approval-count { font-size: 34px; line-height: 1; font-weight: 650; }
.overview-welcome-action>span:nth-child(2) { color: #d4e0fd; font-size: 12px; }
.overview-welcome-action .btn { margin-top: 10px; border-color: #ffffff40; background: #fff; color: #284da9; box-shadow: 0 3px 8px #14317f18; }
.chart-bar { background: #7e9be1; border-radius: 6px 6px 0 0; }
.chart-bar.late { background: #dce5fa; }
.donut:before { inset: 12px; }
.badge { font-weight: 550; }
.btn { border-radius: 11px; }
.btn.primary { box-shadow: 0 4px 9px #3158c61a; }
.btn:not(:disabled):active { transform: translateY(1px); }
.form-grid { gap: 19px; }
.field { gap: 8px; }
input,select,textarea,.input { border-color: #dce5f1; border-radius: 11px; }
.settings-grid .panel { padding: 26px; }
.employee-card .avatar { width: 48px; height: 48px; }
.employee-card dl { padding-top: 19px; padding-bottom: 19px; }
.employee-card footer { padding-top: 1px; }
.report-card .stat-icon { width: 43px; height: 43px; border-radius: 13px; }
.home-time-card { box-shadow: 0 7px 23px #254a8a09; }
.home-payslip { box-shadow: 0 7px 23px #254a8a06; }
.home-action { border-radius: 18px; }
.home-action.lavender { background: #edf3ff; }
.home-action.aqua { background: #edf8f5; }
.home-action.peach { background: #fff6e9; }
.home-action.rose { background: #f4f0fb; }
.home-action-icon { border: 1px solid #ffffffad; }
.home-action>svg { opacity: .8; }
.home-net-pay { border-radius: 16px; }
.home-clock-orb { background: radial-gradient(circle at 70% 25%,#bfd0fb 0 30%,#edf3ff 31%); }
.home-clock { font-variant-numeric: tabular-nums; }
.profile-cover { background: linear-gradient(120deg,#3158c6,#547bdd); }
.profile-facts>div { border-radius: 15px; }
.modal-head { border-color: var(--line); }
.modal-head .icon-btn { background: #f3f6fc; }
.auth-visual { background: linear-gradient(145deg,#152747,#284b95); }
.auth-visual:after { border-color: #ffffff08; }
.connection-step { box-shadow: 0 4px 18px #254a8a06; }
.calendar-day { transition: background .14s,border-color .14s; }
.calendar-day:not(:disabled):hover { border-color: #aebfe8; }
@media(hover:hover) and (pointer:fine) { .home-action:hover { transform: translateY(-2px); } .employee-card:hover { border-color: #c7d6ee; box-shadow: 0 7px 22px #254a8a08; } }
@media(max-width:650px) {
  .sidebar { padding-top: 24px; }
  .topbar { height: 68px; }
  .content { padding-top: 23px; }
  .overview-welcome { display: block; padding: 24px 22px; border-radius: 21px; margin-bottom: 22px; }
  .welcome-kicker { font-size: 12px; }
  .overview-welcome h2 { font-size: 24px; line-height: 1.35; }
  .overview-welcome p { font-size: 14px; }
  .welcome-status { font-size: 12px; gap: 17px; }
  .overview-welcome-action { margin-top: 22px; padding-top: 20px; border-top: 1px solid #ffffff25; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
  .welcome-approval-count { font-size: 24px; }
  .overview-welcome-action>span:nth-child(2) { max-width: 130px; font-size: 12px; line-height: 1.5; }
  .overview-welcome-action .btn { width: 100%; margin-top: 5px; }
  .stat { padding: 18px 15px; min-height: 149px; }
  .stat-value { font-size: 31px; margin-top: 13px; margin-bottom: 10px; }
  .panel, .stat { border-radius: 18px; }
  .home-time-card, .home-payslip { border-radius: 22px; }
  .home-card-heading h2 { font-size: 22px; }
  .home-action { min-height: 94px; }
  .home-action strong { font-size: 17px; }
  .employee-greeting h1 { letter-spacing: -.6px; }
  .mobile-bottom { padding-top: 9px; border-top: 1px solid #dce5f5; }
  .mobile-bottom a { min-height: 52px; }
  .mobile-bottom a.active { box-shadow: inset 0 1px 0 #dfe8ff; }
  .settings-grid .panel { padding: 21px; }
  .modal { border-radius: 25px 25px 0 0; }
}
@media(prefers-reduced-motion:reduce) { .btn:not(:disabled):active,.home-action:hover { transform:none; } .calendar-day { transition:none; } }

/* Personal profiles and employee administration. */
.avatar { position:relative; overflow:hidden; flex-shrink:0; }
.avatar .profile-picture { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.profile-photo-editor { display:flex; align-items:center; gap:18px; padding:18px; border:1px solid var(--line); background:var(--surface-soft); border-radius:15px; margin-bottom:24px; }
.photo-preview .avatar { width:82px; height:82px; font-size:25px; }
.photo-controls { min-width:0; }
.profile-photo-editor + .form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.profile-photo-editor + .form-grid .field { min-width:0; }
.profile-photo-editor + .form-grid input { min-width:0; width:100%; }
.photo-controls>strong { font-size:15px; }
.photo-controls p,.photo-controls>small { display:block; color:var(--muted); font-size:12px; line-height:1.6; margin:7px 0; }
.photo-upload { position:relative; cursor:pointer; overflow:hidden; }
.photo-upload:focus-within { outline:2px solid var(--brand); outline-offset:3px; }
.profile-photo-file { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.profile-status { margin:0 0 22px; }
.profile-approval-card { padding:22px; margin-bottom:22px; }
.profile-approval-heading { display:flex; gap:14px; align-items:center; margin-bottom:18px; flex-wrap:wrap; }
.profile-approval-heading>div { flex:1; min-width:120px; }
.profile-approval-heading h2 { font-size:18px; }
.profile-approval-heading p { color:var(--muted); font-size:12px; margin-top:7px; }
.profile-approval-heading .avatar { width:46px; height:46px; }
.profile-photo-comparison { display:flex; gap:35px; flex-wrap:wrap; padding:20px; background:var(--surface-soft); border-radius:12px; margin-bottom:18px; }
.profile-photo-comparison>div { display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--muted); font-size:12px; }
.profile-photo-comparison .avatar { width:100px; height:100px; font-size:30px; }
.profile-approval-actions { display:flex; flex-wrap:wrap; gap:10px; padding-top:20px; }
.profile-approval-count { color:var(--muted); font-size:13px; margin-bottom:20px; }
.people-profile-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); gap:22px; align-items:start; }
.people-profile-layout>.panel { min-width:0; }
.panel-title.compact { padding:0 0 20px; gap:12px; align-items:flex-start; }
.people-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.people-facts>div { background:var(--surface-soft); border:1px solid var(--line); border-radius:12px; padding:13px 14px; min-width:0; }
.people-facts span { display:block; font-size:11px; color:var(--muted); margin-bottom:7px; }
.people-facts strong { font-size:13px; line-height:1.6; font-weight:550; white-space:pre-wrap; overflow-wrap:anywhere; }
.people-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); gap:16px; margin-bottom:22px; }
.people-stats .stat { min-width:0; }
.people-stats .stat-value { font-size:28px; overflow-wrap:anywhere; }
.people-detail-toolbar { display:flex; align-items:flex-start; gap:16px; justify-content:space-between; margin-bottom:20px; }
.people-detail-toolbar>input { width:180px; flex-shrink:0; }
.people-tabs { flex:1; min-width:0; overflow-x:auto; margin:0; }
.people-tabs .tab { flex-shrink:0; white-space:nowrap; }
.people-back { margin-bottom:15px; }
.people-back svg { transform:rotate(180deg); }
.people-section-actions { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.people-record-section+.people-record-section { margin-top:30px; padding-top:24px; border-top:1px solid var(--line); }
.people-record-section>h2 { margin-bottom:16px; }
.people-long-text { white-space:normal; max-width:300px; overflow-wrap:anywhere; }
.employee-detail-content .row-actions { flex-wrap:wrap; margin:4px 0; }
.employee-detail-content .list-item>div:last-child { flex-shrink:0; }
.record-locked { color:var(--muted); font-size:11px; }
.people-save { display:flex; justify-content:flex-end; margin-top:22px; padding-top:20px; border-top:1px solid var(--line); }
.attendance-leave-summary { display:flex; gap:15px; justify-content:space-between; flex-wrap:wrap; padding:15px 20px; background:var(--brand-soft); color:var(--brand); font-size:12px; line-height:1.6; border-radius:12px; margin:14px 16px; }
.attendance-leave-summary span { display:flex; align-items:center; gap:7px; }
.attendance-leave-summary svg { width:16px; height:16px; flex-shrink:0; }
.leave-dates { display:flex; flex-wrap:wrap; gap:8px; padding:0 20px 12px; }
.leave-dates span { background:var(--surface-soft); color:var(--muted); padding:7px 10px; border-radius:8px; font-size:11px; }
.employee-card footer { flex-wrap:wrap; gap:12px; }
.employee-card footer .row-actions { flex-wrap:wrap; }
.profile-cover>div { min-width:0; flex:1; }
.profile-cover p { overflow-wrap:anywhere; }
@media(max-width:1000px) { .people-profile-layout { grid-template-columns:minmax(0,1fr); } .people-detail-toolbar { flex-wrap:wrap; } .people-tabs { flex-basis:100%; } }
@media(max-width:650px) {
  .profile-photo-editor { flex-direction:column; align-items:flex-start; padding:15px; }
  .profile-photo-editor + .form-grid { grid-template-columns:minmax(0,1fr); }
  .profile-photo-comparison { gap:20px; padding:16px; }
  .profile-photo-comparison .avatar { width:76px; height:76px; }
  .profile-approval-card { padding:17px; }
  .people-facts { grid-template-columns:minmax(0,1fr); }
  .people-facts span { font-size:12px; }
  .people-facts strong { font-size:14px; }
  .people-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .people-stats .stat-value { font-size:25px; }
  .people-detail-toolbar>input { width:100%; }
  .people-tabs .tab { padding:12px; }
  .attendance-leave-summary { margin:14px 12px; padding:13px; font-size:12px; }
  .people-save .btn { width:100%; justify-content:center; }
  .employee-detail-content .list-item { flex-wrap:wrap; }
  .employee-detail-content .list-item>div:last-child { width:100%; }
}
/* Leave rules share the existing settings and profile visual system. */
.leave-account-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.leave-account-heading h2 { font-size:1.2rem; }
.leave-account-heading>span { color:var(--muted,#52647c); font-size:.875rem; }
.leave-account-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:14px; }
.leave-account { min-width:0; padding:18px; border:1px solid var(--border,#dce4ef); border-radius:16px; background:var(--surface,#fff); }
.leave-account h3 { font-size:1rem; line-height:1.5; margin:0 0 12px; }
.leave-account>strong { display:block; font-size:1.8rem; color:var(--brand,#3158c6); }
.leave-account>strong small { font-size:.875rem; font-weight:500; }
.leave-account p { font-size:.875rem; line-height:1.6; margin:10px 0 0; overflow-wrap:anywhere; }
.leave-account .leave-shortfall { color:#a82d25; }
.leave-rule-text { white-space:pre-wrap; }
.leave-rule-settings { margin-top:20px; }
.leave-rule-settings>.panel { min-width:0; border:1px solid var(--border,#dce4ef); box-shadow:none; }
.leave-rule-settings h3 { margin:0 0 18px; font-size:1.1rem; }
.leave-rule-settings .form-grid>.full { grid-column:1/-1; }
.leave-eligibility { display:flex; gap:22px; flex-wrap:wrap; padding:10px 0; }
.leave-eligibility label { display:flex; gap:8px; align-items:center; min-height:36px; font-size:1rem; }
.leave-eligibility input { width:18px; height:18px; }
#leave-rules-form textarea { min-height:100px; }
@media(max-width:600px) { .leave-account-grid { grid-template-columns:1fr; } .leave-rule-settings { grid-template-columns:1fr; } }

/* HR pulse glass: one responsive system for management and employee screens. */
:root {
  --brand:#2d5fb7;
  --brand-hover:#244d96;
  --ink:#1b2d45;
  --muted:#566780;
  --line:rgba(157,176,211,.28);
  --surface:rgba(255,255,255,.84);
  --surface-soft:rgba(240,245,255,.75);
  --bg:#f2f5fa;
  --brand-soft:#eaf1fb;
  --brand-border:rgba(88,125,181,.23);
  --glass-edge:rgba(255,255,255,.88);
  --shadow:0 12px 40px rgba(34,59,109,.08),inset 0 1px 0 rgba(255,255,255,.95);
  --shadow-raised:0 18px 48px rgba(34,59,109,.13),inset 0 1px 0 rgba(255,255,255,.98);
}
body,.connection-page {
  min-height:100dvh;
  background:radial-gradient(ellipse at 12% 4%,#d5e0ee 0,transparent 46%),radial-gradient(ellipse at 98% 46%,#dcebe9 0,transparent 44%),radial-gradient(ellipse at 45% 100%,#e4eaf2 0,transparent 46%),#f2f5fa;
  background-attachment:fixed;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
::selection { background:#c9dbf3; color:#1c3558; }
h1 { font-size:clamp(28px,2.3vw,35px); letter-spacing:-1.1px; font-weight:750; }
h2 { font-size:19px; }
h3 { font-size:16px; }
.subtitle,p.subtitle { font-size:15px!important; line-height:1.7; }
.eyebrow { color:#506d95; font-size:11px; font-weight:750; letter-spacing:1.7px; }
.content { padding:32px 30px 36px; }
.page-heading { margin-bottom:28px; gap:20px; }
.page-heading h1 { margin:0 0 9px; }
.page-heading .button-group { flex-shrink:0; }
#leave-rules { scroll-margin-top:100px; }

/* Floating navigation rail with its own readable, dark glass surface. */
.sidebar {
  inset:14px auto 14px 14px;
  width:240px;
  padding:24px 15px 17px;
  border:1px solid rgba(190,211,255,.25);
  border-radius:25px;
  background:radial-gradient(ellipse at 100% 0,rgba(63,114,151,.25),transparent 56%),radial-gradient(ellipse at 0 95%,rgba(31,109,112,.16),transparent 56%),linear-gradient(155deg,rgba(25,47,74,.98),rgba(16,34,55,.98));
  box-shadow:0 18px 48px #152c6426,inset 0 1px 0 #ffffff1a;
  overflow:hidden;
}
.main { margin-left:270px; width:calc(100% - 270px); }
.sidebar .brand { color:#f9fbff; font-size:24px; padding:0 9px; flex-shrink:0; letter-spacing:-.7px; }
.logo-icon { font-size:17px; font-weight:800; letter-spacing:-.8px; padding-right:0; width:42px; height:42px; border-radius:14px; background:linear-gradient(145deg,#547fbe,#295b9f); border:1px solid #ffffff40; box-shadow:0 6px 15px #162e5524,inset 0 1px 0 #ffffff50; }
.sidebar .logo-icon { background:linear-gradient(145deg,#7499cf,#3a68a9); color:#fff; }
.sidebar .workspace { margin:25px 5px 20px; padding:13px 11px; border-radius:15px; background:#ffffff09; border:1px solid #ffffff17; flex-shrink:0; }
.sidebar .workspace-logo { background:#adc6ff1f; color:#c8d9ff; border:1px solid #ffffff15; border-radius:10px; width:34px; height:34px; }
.sidebar .workspace strong { color:#f4f7ff; font-size:13px; }
.sidebar .workspace small { color:#a9b9d6; font-size:11px; }
.sidebar .nav { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; padding:2px 3px; gap:5px; scrollbar-width:thin; scrollbar-color:#ffffff28 transparent; }
.sidebar .nav .nav-label { color:#9eafcf; font-size:10px; letter-spacing:1.4px; margin:20px 12px 9px; }
.sidebar .nav .nav-label:first-child { margin-top:7px; }
.sidebar .nav a { min-height:45px; padding:12px 13px; font-size:13px; color:#c2d0e7; border:1px solid transparent; border-radius:13px; transition:background .16s,color .16s,border-color .16s; }
.sidebar .nav a:hover { background:#ffffff0d; color:#fff; border-color:#ffffff0b; }
.sidebar .nav a.active { background:#eaf1fb; color:var(--brand); border-color:#ffffffcf; box-shadow:0 5px 16px #07163324,inset 0 1px 0 #ffffff; font-weight:700; }
.sidebar .nav a.active svg { color:var(--brand); }
.sidebar .nav a svg { width:18px; height:18px; }
.sidebar .nav-count { background:#ccddff20; color:#e0eaff; border:1px solid #ffffff0e; border-radius:7px; }
.sidebar .nav a.active .nav-count { background:#dce6fc; color:var(--brand); }
.sidebar-footer { margin-top:15px; padding-top:0; flex-shrink:0; }
.sidebar .help-card { display:none; }
.sidebar .user-block { border-top:1px solid #ffffff16; padding:16px 6px 0; }
.sidebar .user-block strong { font-size:12px; color:#f0f5ff; }
.sidebar .user-block small { font-size:11px; color:#9eafcf; }
.sidebar .user-block>div { min-width:0; }
.sidebar .user-block strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sidebar .user-block .icon-btn { color:#c2d0e7; }
.sidebar .user-block .icon-btn:hover { color:#fff; background:#ffffff16; }
.sidebar .avatar { background:#dbe7ff; border:2px solid #ffffff30; }
.sidebar a:focus-visible,.sidebar button:focus-visible { outline-color:#a8c9ff; }

/* A translucent toolbar stays within easy reach as the page scrolls. */
.topbar { position:sticky; top:14px; z-index:17; height:66px; margin:14px 30px 0; padding:0 22px; border:1px solid var(--glass-edge); border-radius:20px; background:rgba(255,255,255,.7); box-shadow:0 8px 28px #263e7010,inset 0 1px 0 #fff; }
.breadcrumb { font-size:13px; gap:11px; min-width:0; }
.breadcrumb strong { color:var(--ink); font-weight:600; }
.top-search { background:#f4f7fc9c; border:1px solid #dae3f06b; padding:9px 12px; border-radius:11px; font-size:12px; }
.top-search .kbd { background:#ffffffba; border-color:#d7e1f1; font-size:10px; }
.top-actions { gap:12px; }
.icon-btn { min-width:38px; min-height:38px; border-radius:12px; }
.profile-avatar { border-radius:50%; padding:3px; background:#fff9; border:1px solid #fff; box-shadow:0 3px 10px #24467c0b; }
.profile-avatar .avatar { width:34px; height:34px; background:linear-gradient(145deg,#eef3ff,#dce7ff); }
.date-pill { background:var(--surface); border:1px solid var(--glass-edge); padding:11px 14px; border-radius:13px; box-shadow:0 4px 16px #243e6b07; }

/* Soft-edged glass cards preserve opaque text and clear data hierarchy. */
.panel,.stat,.home-time-card,.leave-account { border:1px solid var(--glass-edge); background:var(--surface); border-radius:22px; box-shadow:var(--shadow); }
.panel-title { padding:23px 24px; }
.panel-title h2,.panel-pad h2 { font-size:19px; }
.panel-title p { font-size:13px; line-height:1.65; }
.panel-pad { padding:25px; }
.stat { position:relative; padding:23px; }
.stat-head { font-size:13px; font-weight:600; }
.stat-value { font-size:36px; letter-spacing:-1.2px; margin:15px 0 10px; }
.stat-foot { font-size:12px; line-height:1.6; }
.stat-icon { width:37px; height:37px; border-radius:12px; background:linear-gradient(145deg,#eef4ff,#e4edff); border:1px solid #fff; box-shadow:0 3px 9px #3158c60b; }
.stat-icon svg { width:18px; height:18px; }
.pulse-stat { transition:transform .17s ease,box-shadow .17s ease,border-color .17s; }
.pulse-stat:hover { box-shadow:var(--shadow-raised); transform:translateY(-3px); border-color:#baccf7; }
.overview-welcome { border:1px solid #ffffff50; border-radius:25px; padding:29px 31px; background:radial-gradient(ellipse at 100% 0,#7ebbb03d,transparent 50%),linear-gradient(115deg,#193854,#28598b 62%,#2f727b); box-shadow:0 15px 35px #294d8d24,inset 0 1px 0 #ffffff24; }
.overview-welcome h2 { font-size:27px; letter-spacing:-.7px; }
.overview-welcome p { font-size:14px; color:#e0e9fc; }
.welcome-kicker { font-size:12px; color:#c7d9fb; }
.welcome-status { font-size:13px; }
.welcome-approval-count { font-size:39px; letter-spacing:-1px; }
.overview-welcome-action .btn { background:#fffffff0; border-color:#ffffff; color:#284b98; box-shadow:0 6px 18px #15294f20; }
.chart-bar { background:linear-gradient(0deg,#4f79b5,#8eadd5); box-shadow:inset 0 1px 0 #ffffff55; }
.chart-bar.late { background:linear-gradient(0deg,#add6d2,#d7ebe8); }
.donut:before { background:#f8fbff; box-shadow:inset 0 0 0 1px #dfe8f257; }
.overview-legend { font-size:13px; }

/* Comfortable controls, glass inputs and deliberate focus states. */
.btn { min-height:44px; font-size:14px; padding:11px 15px; border-radius:13px; background:rgba(255,255,255,.84); border:1px solid #fff; box-shadow:0 3px 10px #233e6d09,inset 0 1px 0 #fff; transition:box-shadow .16s,background-color .16s,transform .16s; }
.btn:hover { filter:none; background:#fff; box-shadow:0 6px 18px #233e6d11; }
.btn.primary { background-color:var(--brand); background-image:linear-gradient(130deg,#356bb9,#2856a5); border-color:#3968af; color:#fff; box-shadow:0 7px 17px #3158c629,inset 0 1px 0 #ffffff30; }
.btn.primary:hover { background-color:var(--brand); background-image:linear-gradient(130deg,#2b5fa9,#21498f); box-shadow:0 9px 22px #3158c636; }
.btn.lime { background:#edf3fb; border-color:#cedcef; color:var(--brand); }
.btn.danger { background:#fff1ee; border-color:#f3d6d1; box-shadow:none; }
.btn.sm { min-height:37px; font-size:12px; padding:8px 11px; border-radius:11px; }
.btn:disabled { box-shadow:none; }
.field label,.register-filters label { font-size:14px; font-weight:600; color:#465a78; }
.field small { font-size:13px; }
input,select,textarea,.input,.register-filters input,.register-filters select { min-height:46px; border:1px solid #cad7e8; border-radius:12px; background:rgba(255,255,255,.82); box-shadow:inset 0 1px 3px #1e3e7003; color:var(--ink); font-size:15px; }
input::placeholder,textarea::placeholder { color:#71829b; }
input:focus,select:focus,textarea:focus { background:#fff; outline:3px solid #386fb624; outline-offset:1px; border-color:#7499cc; }
input[type=checkbox] { accent-color:var(--brand); box-shadow:none; }
.check-field { font-size:14px; line-height:1.6; }
.search-input input { font-size:14px; }
.form-grid { gap:20px; }
.form-section { font-size:15px; padding-top:8px; }
.settings-grid>.panel { padding:25px; }
.settings-grid h2 { margin-bottom:22px; }
.tabs { background:rgba(224,233,244,.65); border:1px solid #ffffffb8; padding:5px; gap:4px; border-radius:15px; }
.tab { font-size:13px; min-height:42px; border-radius:11px; }
.tab.active { background:#ffffffeb; border:1px solid #fff; box-shadow:0 3px 10px #23436f0b; font-weight:650; }
.badge { border:1px solid rgba(89,135,113,.09); padding:5px 9px; font-size:11px; }
.note { background:#edf3fab8; border:1px solid #d1deee; font-size:13px; line-height:1.75; color:#465d87; }
.note.warn { background:#fff5e6dc; border-color:#ebd8b1; color:#79541e; }
.form-error { border:1px solid #efc9c3; line-height:1.65; }
.weekdays label { border:1px solid #e1e8f4; background:#ffffff9c; border-radius:10px; }

/* Registers and detail views remain readable without excessive blur layers. */
th { padding:15px 20px; background:#edf3fc80; color:#526886; border-color:#e1e9f3; font-size:11px; letter-spacing:.6px; }
td { font-size:14px; color:#4c5f7b; border-color:#dce5f06e; padding:17px 20px; }
tbody tr:hover { background:#ffffff65; }
.person strong { font-size:14px; }
.person small { font-size:12px; }
.employee-card { padding:25px; transition:box-shadow .17s,border-color .17s; }
.employee-card:hover { box-shadow:var(--shadow-raised); border-color:#c4d5f5; }
.employee-card h3 { font-size:19px; }
.employee-card .avatar { width:47px; height:47px; border:2px solid #fff; background:linear-gradient(145deg,#e9efff,#d4e1fb); box-shadow:0 4px 13px #3158c612; }
.employee-card dd,.employee-card .role-label { font-size:14px; }
.employee-card footer { border-color:#d8e3f1; padding-top:19px; }
.list-item { background:#ffffff45; border:1px solid #e1e9f38c; border-radius:16px; }
.list-item h3 { font-size:15px; }
.list-item p { font-size:14px; }
.people-facts>div,.profile-facts>div { border:1px solid #ffffffd9; background:#f3f7fd9c; border-radius:14px; }
.people-facts span { font-size:12px; }
.people-facts strong { font-size:14px; }
.profile-cover { background:radial-gradient(ellipse at 95% 0,#6da9a247,transparent 60%),linear-gradient(115deg,#27476b,#386997); border:1px solid #ffffff65; border-radius:23px; box-shadow:0 12px 30px #3158c61c; }
.profile-cover .avatar { border:3px solid #ffffff65; box-shadow:0 7px 22px #142f6a25; }
.profile-photo-editor { background:#f3f7fc8a; border-color:#d8e3f1; border-radius:16px; }
.leave-account { padding:22px; }
.leave-account h3 { font-size:16px; }
.leave-account>strong { font-size:32px; }
.leave-account>strong small { font-size:13px; }
.leave-account-heading>span { font-size:13px; }
.leave-rule-settings>.panel { background:#f7faff86; border-color:#fff; border-radius:18px; box-shadow:inset 0 1px 0 #fff; }
.register-filters { gap:16px; padding:22px; }
.register-pagination { background:#f6f9fe65; font-size:13px; }

/* Employee home: a luminous clock, a quiet payslip and clear action cards. */
.home-time-card { border-radius:26px; background:linear-gradient(145deg,#ffffffee,#f5f9ffb8); }
.home-skyline { opacity:.85; }
.home-clock-orb { width:112px; height:112px; background:radial-gradient(circle at 24% 18%,#5a85bf,#315f9f 70%); border:1px solid #b9cff8; box-shadow:0 10px 25px #3158c62b,inset 0 1px 0 #ffffff65; }
.home-clock { color:#fff; font-size:24px; letter-spacing:-.8px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.home-clock-caption { color:#dbe7ff; letter-spacing:1.8px; font-size:9px; }
.home-day h2 { font-size:24px; letter-spacing:-.5px; }
.home-day p { font-size:14px; }
.home-time-footer { font-size:13px; }
.home-payslip { border-radius:26px; }
.home-card-heading h2 { font-size:24px; letter-spacing:-.7px; }
.home-salary-summary strong { font-size:16px; }
.salary-illustration { border:1px solid #fff; border-radius:20px; background:linear-gradient(145deg,#edf3ff,#dce8ff); box-shadow:0 7px 20px #3158c60c; }
.home-net-pay { background:linear-gradient(115deg,#e2f1e9ed,#e5f2efbd); border-color:#c2dfd2; border-radius:17px; }
.home-action { background:#ffffffb8; border:1px solid #ffffffeb; border-radius:21px; box-shadow:0 7px 25px #29447107,inset 0 1px 0 #fff; min-height:105px; }
.home-action.lavender { background:linear-gradient(120deg,#f5f8fdee,#e6eef9e0); }
.home-action.aqua { background:linear-gradient(120deg,#f2f9f6ee,#e0eeebe0); }
.home-action.peach { background:linear-gradient(120deg,#faf8f3ee,#f0ece3e0); }
.home-action.rose { background:linear-gradient(120deg,#f5f7fbee,#e8edf4e0); }
.home-action-icon { border:1px solid #fff; background:#ffffffb8; box-shadow:0 4px 12px #2a457307; border-radius:15px; }
.home-action strong { font-size:17px; }
.home-action small { font-size:14px; color:#576b85; }
.home-action:hover { transform:translateY(-2px); box-shadow:var(--shadow-raised); }
.home-section-title h2 { font-size:21px; }
.btn.home-punch,.punch-main { background:linear-gradient(130deg,#218363,#177354); border:1px solid #61b79b; color:#fff; box-shadow:0 8px 20px #18876129,inset 0 1px 0 #ffffff36; border-radius:17px; }
.btn.home-punch[data-kind=out],.punch-main.out { background:linear-gradient(130deg,#b65b4c,#a8493c); border-color:#e38a76; box-shadow:0 8px 20px #a74a3220,inset 0 1px 0 #ffffff36; }
.btn.home-punch:hover { filter:brightness(1.04); background:linear-gradient(130deg,#218363,#177354); }
.btn.home-punch[data-kind=out]:hover { background:linear-gradient(130deg,#b65b4c,#a8493c); }

/* The time clock is the main action, with high-contrast controls over dark glass. */
.clock-card { padding:36px 32px 28px; background:radial-gradient(ellipse at 100% 0,#4e9f9e52,transparent 65%),radial-gradient(ellipse at 0 100%,#55799b36,transparent 60%),linear-gradient(145deg,#1e405f,#1a3451); border:1px solid #b9d3f378; box-shadow:0 18px 45px #213f702b,inset 0 1px 0 #ffffff32; color:#fff; border-radius:27px; }
.clock-card .clock-label { color:#d0def6; font-size:12px; letter-spacing:1.1px; }
.clock-card .live-clock { color:#fff; font-size:64px; font-weight:650; letter-spacing:-2.5px; font-variant-numeric:tabular-nums; text-shadow:0 3px 15px #10264525; }
.clock-card .clock-date { color:#d8e5f8; font-size:15px; }
.clock-card .capture-box { background:#ffffff0a; border:1px solid #c7e1ff36; border-radius:17px; padding:17px; }
.clock-card .capture-box .btn,.clock-card .break-btn { background:#ffffff13; color:#f3f8ff; border:1px solid #ffffff35; box-shadow:inset 0 1px 0 #ffffff12; }
.clock-card .capture-box .btn:hover,.clock-card .break-btn:hover { background:#ffffff22; }
.clock-card .detail-list { color:#d5e3f6; font-size:13px; line-height:1.65; }
.clock-card .punch-main { font-size:18px; min-height:60px; border-radius:17px; }
.clock-card .punch-info { border-color:#ffffff25; gap:20px; }
.clock-card .punch-info span { color:#c3d4ef; font-size:11px; letter-spacing:.5px; }
.clock-card .punch-info strong { color:#fff; font-size:17px; }
.calendar-day { background:#ffffff7a; border-color:#d6e2f0a6; border-radius:12px; }
.calendar-day.has-record { background:#e7f5eede; border-color:#cce8d8; }
.calendar-day.on-leave { background:#e5edffc9; }

/* Glass dialogs and a matching sign-in experience. */
.modal-backdrop { background:#10244365; backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); }
.modal { background:rgba(248,251,255,.96); border:1px solid #ffffffcf; border-radius:25px; box-shadow:0 28px 90px #0b25494d,inset 0 1px 0 #fff; }
.modal-head { background:#f7faffec; border-bottom:1px solid #d9e4f2; padding:22px 25px; }
.modal-head h2 { font-size:19px; }
.modal-body { padding:25px; }
.modal-actions { gap:10px; padding-top:6px; }
.auth-shell { display:grid; grid-template-columns:1.05fr 1fr; width:min(1180px,calc(100% - 64px)); min-height:min(800px,calc(100dvh - 64px)); margin:32px auto; border:1px solid #ffffffdc; border-radius:32px; background:#ffffffa6; box-shadow:0 28px 90px #28416b19,inset 0 1px 0 #fff; overflow:hidden; }
.auth-visual { padding:45px; background:radial-gradient(ellipse at 100% 10%,#61a49d4d,transparent 60%),linear-gradient(150deg,#244b72,#19334f); }
.auth-visual:after { border-color:#ffffff06; width:630px; height:630px; }
.auth-visual .brand { font-size:25px; }
.auth-visual h1 { font-size:clamp(34px,3.4vw,49px); font-weight:650; line-height:1.2; max-width:440px; letter-spacing:-1.7px; margin:48px 0 23px; }
.auth-visual h1 em { color:#b9e3d8; }
.auth-visual>div>p { font-size:15px; line-height:1.85; color:#d1dff2; max-width:360px; }
.auth-feature { font-size:14px; color:#dce7fa; line-height:1.7; }
.auth-feature svg { color:#a9dfd4; width:19px; height:19px; }
.auth-foot { font-size:11px; color:#b1c6e7; letter-spacing:1.4px; }
.auth-form-side { background:transparent; padding:46px; }
.auth-form-wrap { width:100%; max-width:370px; }
.auth-tag { color:var(--brand); font-size:11px; font-weight:750; letter-spacing:1.5px; }
.auth-form-wrap h2 { font-size:29px; line-height:1.3; letter-spacing:-.9px; }
.auth-form-wrap .field { margin:20px 0; }
.auth-form-wrap .btn { min-height:49px; font-size:15px; }
.auth-form-wrap .auth-small { color:#526886; font-size:12px; }
.footer-note { border-color:#ccd9ea85; color:#566b88; padding-top:24px; }
#toast { background:#20395bef; border:1px solid #ffffff4a; border-radius:15px; box-shadow:0 9px 30px #17335626; color:#fff; pointer-events:none; }
.connection-step,.connection-certificate { background:var(--surface); border:1px solid var(--glass-edge); box-shadow:var(--shadow); border-radius:21px; }

/* Restrained accents: neutral surfaces, blue identity, teal progress and amber attention. */
.stats>.stat,.people-stats>.stat { --card-accent:#315f9f; --card-tint:#edf3fa; background:linear-gradient(145deg,#ffffffed,var(--card-tint)); border-color:#ffffffdc; }
.stats>.stat:nth-child(4n+2),.people-stats>.stat:nth-child(4n+2) { --card-accent:#287a72; --card-tint:#eef6f3; }
.stats>.stat:nth-child(4n+3),.people-stats>.stat:nth-child(4n+3) { --card-accent:#57708f; --card-tint:#eff3f8; }
.stats>.stat:nth-child(4n+4),.people-stats>.stat:nth-child(4n+4) { --card-accent:#926527; --card-tint:#faf5eb; }
.stats>.stat:before,.people-stats>.stat:before { content:''; position:absolute; left:22px; right:22px; top:0; height:2px; border-radius:0 0 8px 8px; background:linear-gradient(90deg,var(--card-accent),transparent); opacity:.42; pointer-events:none; }
.stats>.stat .stat-value,.people-stats>.stat .stat-value { color:var(--ink); }
.stats>.stat .stat-icon,.people-stats>.stat .stat-icon { color:var(--card-accent); background:var(--card-tint); border-color:#ffffffd9; box-shadow:none; }
.leave-account { --leave-accent:#315f9f; border-color:#ffffffde; background:linear-gradient(145deg,#fffffff0,#edf3f8); }
.leave-account:nth-child(2) { --leave-accent:#42678f; }
.leave-account:nth-child(3) { --leave-accent:#57728c; }
.leave-account:nth-child(4) { --leave-accent:#287a72; }
.leave-account:nth-child(5) { --leave-accent:#5c6e84; }
.leave-account>strong { color:var(--leave-accent); }
.leave-account h3 { color:var(--ink); }
.home-action.lavender .home-action-icon { color:#315f9f; background:#f6f9ffeb; }
.home-action.aqua .home-action-icon { color:#287a72; background:#f4fbf8eb; }
.home-action.peach .home-action-icon { color:#8b6b39; background:#fffdf7eb; }
.home-action.rose .home-action-icon { color:#526b8c; background:#f6f8fceb; }
.home-skyline svg circle { fill:#e8d4a7; }
.home-skyline svg path:nth-of-type(1) { fill:#b1c4dd; }
.home-skyline svg path:nth-of-type(2) { fill:#c4dcd9; }
.salary-illustration { background:linear-gradient(145deg,#eef4fc,#dce7f4); color:#3b659b; }
.employee-card .avatar,.profile-avatar .avatar { background:linear-gradient(145deg,#edf3fb,#dbe7f6); color:#315f9f; }
.sidebar .workspace-logo { background:#97bcdf20; color:#d4e5f5; }
.sidebar .nav a.active { box-shadow:0 5px 16px #07163324,inset 0 1px 0 #fff; }
.notification-dot { background:#3f7b9d; }
.chart-bars { background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#d6e1ee66 calc(25% - 1px),#d6e1ee66 25%); }
.dot { background:#6b8ebd; }
.dot.pale { background:#bbdad5; }
.calendar-day.today b { background:var(--brand); }
.calendar-day.on-leave { background:#e6eef9; color:#365f93; }
.leave-rule-settings>.panel { background:linear-gradient(145deg,#fbfcfeb8,#f0f5fa9c); }
.leave-rule-settings h3 { color:#355577; }

@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .topbar,.mobile-bottom { backdrop-filter:blur(24px) saturate(150%); -webkit-backdrop-filter:blur(24px) saturate(150%); }
  .panel,.stat,.home-time-card,.leave-account,.auth-shell { backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
  .panel .panel,.modal .panel,.leave-rule-settings>.panel { backdrop-filter:none; -webkit-backdrop-filter:none; }
  .modal-head { backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); }
}

@media(min-width:651px) and (max-width:1050px) {
  .sidebar { width:214px; left:12px; }
  .main { margin-left:242px; width:calc(100% - 242px); }
  .sidebar .brand { font-size:21px; gap:8px; padding:0 5px; }
  .sidebar .nav a { padding:11px; gap:10px; font-size:12px; }
  .sidebar .nav .nav-label { font-size:9px; letter-spacing:1px; }
  .content { padding:28px 22px 32px; }
  .topbar { margin-inline:22px; padding-inline:17px; }
  .top-search span { display:none; }
  .top-search { padding:9px; border-right:1px solid #dae3f06b; }
  .page-heading { flex-wrap:wrap; }
  .overview-welcome { padding:25px; }
  .auth-visual { padding:35px; }
  .auth-form-side { padding:35px; }
}

@media(max-width:650px) {
  body { background:radial-gradient(ellipse at 5% 0,#dde7f3 0,transparent 46%),radial-gradient(ellipse at 100% 40%,#e0ece9 0,transparent 57%),#f2f5fa; background-attachment:scroll; font-size:16px; }
  .main { width:100%; margin:0; }
  .topbar { height:64px; top:10px; margin:10px 12px 0; padding:0 11px; border-radius:19px; }
  .breadcrumb { font-size:13px; gap:4px; }
  .breadcrumb strong { font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:165px; }
  .top-actions { gap:4px; flex-shrink:0; }
  .top-actions .icon-btn { min-width:38px; min-height:42px; }
  .profile-avatar { padding:2px; }
  .profile-avatar .avatar { width:32px; height:32px; }
  .content { padding:27px 16px calc(116px + env(safe-area-inset-bottom)); }
  .page-heading { gap:16px; margin-bottom:23px; }
  .page-heading h1 { font-size:28px; line-height:1.25; letter-spacing:-.9px; }
  .subtitle,p.subtitle { font-size:15px!important; line-height:1.65; }
  .eyebrow { font-size:10px; letter-spacing:1.4px; }
  .sidebar { inset:10px auto 10px 10px; width:min(302px,87vw); border-radius:24px; transform:translateX(calc(-100% - 20px)); padding:24px 15px 18px; }
  .sidebar.open { transform:translateX(0); }
  .sidebar .brand { font-size:24px; }
  .sidebar .nav a { min-height:49px; font-size:14px; padding:13px 14px; }
  .sidebar .nav .nav-label { font-size:10px; }
  .sidebar .workspace strong { font-size:14px; }
  .sidebar .workspace small { font-size:12px; }
  .sidebar .user-block strong { font-size:13px; }
  .sidebar .user-block small { font-size:12px; }
  .mobile-overlay.open { background:#1126406e; backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); }
  .mobile-bottom { inset: auto 12px calc(10px + env(safe-area-inset-bottom)); padding:7px; gap:3px; border:1px solid #fffffff2; border-radius:23px; background:rgba(250,253,255,.88); box-shadow:0 10px 35px #1e3a6726,inset 0 1px 0 #fff; }
  .mobile-bottom a { flex:1; min-width:0; min-height:55px; padding:7px 2px; gap:5px; font-size:12px; font-weight:600; border-radius:17px; color:#566d8e; }
  .mobile-bottom a svg { width:21px; height:21px; }
  .mobile-bottom a.active { background:#e5edf9; color:var(--brand); box-shadow:inset 0 1px 0 #fff; }
  .mobile-bottom a.active svg { color:var(--brand); background:none; box-shadow:none; }
  .btn,.btn.sm { min-height:46px; padding:11px 14px; border-radius:13px; font-size:14px; }
  .btn svg,.btn.sm svg { width:18px; height:18px; }
  input,select,textarea,.input,.filters input,.filters select,.search-input input,.register-filters input,.register-filters select { font-size:16px; min-height:48px; }
  .field label,.register-filters label { font-size:14px; }
  .form-grid { gap:19px; }
  .stats { gap:12px; }
  .stat { padding:18px 15px; border-radius:20px; min-height:145px; }
  .stat-head { font-size:13px; line-height:1.5; }
  .stat-value { font-size:31px; margin:13px 0 9px; }
  .stat-foot { font-size:12px; line-height:1.55; }
  .panel,.home-time-card { border-radius:23px; }
  .panel-title { padding:21px 19px; gap:12px; }
  .panel-title h2,.panel-pad h2 { font-size:18px; }
  .panel-title p { font-size:13px; }
  .panel-pad,.settings-grid>.panel { padding:21px; }
  .overview-welcome.compact-welcome { border-radius:23px; padding:22px!important; }
  .compact-welcome h2 { font-size:23px!important; line-height:1.3; }
  .overview-welcome p { font-size:14px; }
  .compact-welcome .welcome-status { font-size:12px; gap:12px!important; }
  .compact-welcome .overview-welcome-action { border-color:#ffffff25; }
  .compact-welcome .overview-welcome-action .btn { min-height:44px!important; }
  .pulse-stat:hover,.home-action:hover { transform:none; }
  .table-wrap tr { background:#ffffffa8; border:1px solid #ffffffeb; border-radius:17px; box-shadow:0 3px 12px #29447106; }
  .table-wrap td { font-size:14px; }
  .table-wrap td:before { font-size:11px; color:#566b88; }
  .tab { min-height:46px; font-size:13px; padding:11px 10px; }
  .employee-card { padding:22px; }
  .employee-card .avatar { width:49px; height:49px; }
  .employee-card h3 { font-size:20px; }
  .employee-card .email { font-size:13px; }
  .list-item { padding:17px; border-radius:16px; }
  .list-item h3 { font-size:16px; }
  .list-item p { font-size:14px; }
  .profile-cover { padding:22px 19px; border-radius:23px; }
  .profile-cover h2 { font-size:21px; }
  .people-facts span { font-size:12px; }
  .people-facts strong { font-size:15px; }
  .profile-photo-editor { padding:17px; }
  .leave-account { border-radius:21px; padding:21px; }
  .leave-account h3 { font-size:16px; }
  .leave-account p { font-size:14px; }
  .leave-account>strong { font-size:32px; }
  .leave-account-grid { gap:13px; }
  .leave-account-heading { margin-bottom:17px; gap:8px; }
  .leave-account-heading>span { font-size:13px; line-height:1.6; }
  .leave-rule-settings>.panel { padding:19px; }
  .leave-eligibility { gap:20px; }
  .leave-eligibility label { font-size:15px; min-height:44px; }
  .note,.note.warn { font-size:13px; line-height:1.7; }
  .register-filters { padding:18px; }
  .home-time-card { margin-top:65px; padding:24px 20px; }
  .home-clock-orb { width:98px; height:98px; }
  .home-clock { font-size:21px; }
  .home-clock-caption { font-size:9px; }
  .home-day h2 { font-size:22px; }
  .home-day p { font-size:13px; }
  .home-day-row { gap:14px; }
  .home-card-heading h2 { font-size:24px; }
  .home-action { min-height:102px; padding:21px 18px; border-radius:21px; }
  .home-action strong { font-size:17px; }
  .home-action small { font-size:14px; }
  .home-action-icon { width:47px; height:47px; }
  .btn.home-punch { min-height:56px; font-size:18px; border-radius:17px; }
  .home-time-footer { font-size:12px; gap:9px; }
  .home-section-title h2 { font-size:21px; }
  .clock-card { padding:29px 21px 23px; border-radius:26px; }
  .clock-card .live-clock { font-size:53px; letter-spacing:-2px; }
  .clock-card .clock-label { font-size:11px; line-height:1.8; letter-spacing:.6px; }
  .clock-card .clock-date { font-size:14px; }
  .clock-card .capture-box { padding:14px; margin:23px 0; }
  .clock-card .punch-info { gap:12px; padding-top:23px; }
  .clock-card .punch-info span { font-size:10px; letter-spacing:.3px; }
  .clock-card .punch-info strong { font-size:16px; }
  .calendar-day { border-radius:10px; }
  .calendar-day small { font-size:9px; }
  .modal-backdrop { padding:0; align-items:flex-end; }
  .modal { border-radius:27px 27px 0 0; max-height:92dvh; border-bottom:0; }
  .modal-head { padding:21px 20px 18px; }
  .modal-head h2 { font-size:19px; }
  .modal-body { padding:22px 20px calc(26px + env(safe-area-inset-bottom)); }
  .modal-actions { gap:10px; }
  .modal-actions .btn { min-height:48px; }
  .auth-shell { display:block; width:calc(100% - 24px); min-height:calc(100dvh - 24px); margin:12px auto; border-radius:26px; max-width:540px; }
  .auth-visual { display:flex; padding:26px 25px; border-radius:0; min-height:0; }
  .auth-visual .brand { font-size:23px; }
  .auth-visual h1 { font-size:30px; line-height:1.2; margin:25px 0 14px; max-width:none; letter-spacing:-1px; }
  .auth-visual>div>p { font-size:14px; line-height:1.7; margin:0; max-width:350px; }
  .auth-feature,.auth-foot { display:none; }
  .auth-visual>div>div[style] { display:none; }
  .auth-form-side { padding:29px 24px 31px; }
  .auth-form-wrap { max-width:none; }
  .auth-form-wrap h2 { font-size:25px; }
  .auth-form-wrap .subtitle { margin-bottom:23px; }
  .auth-form-wrap .field { margin:18px 0; }
  .auth-form-wrap .btn { min-height:50px; font-size:16px; }
  .auth-form-wrap .auth-small { font-size:12px; margin-top:20px; }
  .footer-note { font-size:11px; line-height:1.7; }
  #toast { bottom:calc(104px + env(safe-area-inset-bottom)); max-width:calc(100% - 32px); font-size:14px; border-radius:14px; }
}

@media(max-width:380px) {
  .topbar { margin-inline:10px; padding-inline:7px; }
  .breadcrumb strong { max-width:132px; font-size:12px; }
  .content { padding-inline:14px; }
  .mobile-bottom { left:10px; right:10px; padding:6px; }
  .mobile-bottom a { font-size:11px; padding-inline:1px; }
  .home-clock-orb { width:86px; height:86px; }
  .home-clock { font-size:18px; }
  .home-day h2 { font-size:20px; }
  .home-day p { font-size:12px; }
  .home-time-card { padding:23px 17px; }
  .home-time-footer { font-size:11px; }
  .clock-card { padding-inline:17px; }
  .clock-card .live-clock { font-size:47px; }
  .clock-card .punch-info { gap:8px; }
  .clock-card .punch-info strong { font-size:15px; }
  .clock-card .punch-info span { font-size:9px; }
  .auth-form-side { padding-inline:20px; }
  .auth-visual { padding-inline:22px; }
}

@media(prefers-reduced-motion:reduce) {
  .btn,.pulse-stat,.home-action,.employee-card,.sidebar,.nav a { transition:none; }
  .pulse-stat:hover,.home-action:hover { transform:none; }
}
@media(prefers-reduced-transparency:reduce) {
  .panel,.stat,.home-time-card,.leave-account,.auth-shell,.topbar,.mobile-bottom,.modal { backdrop-filter:none; -webkit-backdrop-filter:none; background-color:#f8fbff; }
}
@media(forced-colors:active) {
  .sidebar,.clock-card,.overview-welcome,.profile-cover,.auth-visual,.home-clock-orb { background:Canvas; color:CanvasText; border:1px solid CanvasText; }
  .sidebar :is(a,strong,small,.nav-label),.clock-card :is(div,span,strong),.auth-visual h1 { color:CanvasText; }
}
@media print {
  body { background:#fff!important; }
  .modal-backdrop,.modal,.modal-head,.payslip { background:#fff!important; backdrop-filter:none!important; -webkit-backdrop-filter:none!important; box-shadow:none!important; color:#111; }
  .modal,.modal.wide { width:100%!important; max-width:100%; max-height:none; overflow:visible; border:0; border-radius:0; }
  .modal-body { padding:0!important; }
  .modal-head,.modal-actions { display:none!important; }
  .payslip * { text-shadow:none!important; }
}
