@charset "UTF-8";

:root {
  --red: #be263b;
  --red-dark: #a91f32;
  --ink: #233044;
  --muted: #68778a;
  --border: #dce5ef;
  --canvas: #f2f6fb;
  --shadow: 0 8px 28px rgba(34, 58, 88, .055);
  --radius: 12px;
  --blue: #1466c3;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
}

body { background: var(--canvas); }
a { color: var(--blue); }
button, .button { min-height: 50px; padding: 12px 21px; border-radius: 7px; font-size: 15px; background: var(--blue); font-weight: 650; }
button:hover, .button:hover { background: #0b56ab; }
.secondary { background: #fff; color: #33435b; border-color: #cbd8e8; }
.secondary:hover { background: #eaf2fb; }
.text-button { background: none; color: var(--blue); }
.text-button:hover { background: none; }
input, select, textarea { min-height: 52px; padding: 13px 15px; margin-top: 9px; border-color: #cbd8e8; border-radius: 7px; font-size: 16px; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #68a9f4a6; }
label { color: #33435b; font-size: 15px; font-weight: 650; }
form > label { margin-bottom: 22px; }
h1 { font-size: 34px; line-height: 1.2; letter-spacing: -.8px; font-weight: 750; }
h2 { font-size: 22px; letter-spacing: -.35px; margin-bottom: 22px; font-weight: 700; }
h3 { font-size: 16px; }
small { font-size: 13px; }
.muted { color: var(--muted); font-size: 14px; }
.brand-logo { display: block; width: 100%; max-width: 240px; max-height: none; height: auto; object-fit: contain; }
.brand-logo-light { display: none; }

.sidebar { width: 290px; padding: 23px 15px; border: 0; background: linear-gradient(165deg, #24384c 0%, #1d2c3b 60%, #1b2938 100%); color: #eaf1f9; }
.sidebar .brand { min-height: 80px; padding: 5px 13px 24px; }
.sidebar .brand-logo { display: none; }
.sidebar .brand-logo-light { display: block; max-width: 252px; }
.workspace-label, .nav-label { color: #91a7bd; font-size: 11px; letter-spacing: 1.7px; padding-left: 17px; padding-right: 17px; }
.workspace-label { padding-top: 9px; padding-bottom: 19px; }
.nav-label { padding-top: 27px; padding-bottom: 10px; }
.sidebar nav { gap: 4px; }
.sidebar nav > a { min-height: 51px; padding: 12px 16px; border-radius: 7px; color: #e4edf6; font-size: 15px; font-weight: 500; gap: 15px; }
.sidebar nav > a:hover { background: #ffffff16; color: white; }
.sidebar nav > a[aria-current] { background: linear-gradient(90deg, #1c70d1, #155db4); color: white; font-weight: 680; box-shadow: 0 4px 12px #071a2e32; }
.sidebar .icon { width: 21px; height: 21px; }
.nav-count { background: #d72c48; font-size: 12px; }
.sidebar-bottom { padding: 25px 16px 4px; color: #b2c5d6; font-size: 12px; }
.sidebar-bottom small { color: #8ea4b8; font-size: 11px; }

.shell { margin-left: 290px; }
.topbar { height: 82px; padding: 0 34px; border-color: var(--border); }
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb strong { color: var(--ink); font-weight: 650; }
.topbar-right { gap: 17px; }
.bell { color: #586b80; }
.bell b { background: #d93651; font-size: 10px; }
.avatar { width: 42px; height: 42px; background: #e8f0fa; color: #1b62aa; font-size: 14px; }
.avatar.small { width: 36px; height: 36px; font-size: 12px; }
.profile { font-size: 14px; }
.profile small { font-size: 12px; }
.logout button { font-size: 13px; }
main#content { width: 100%; max-width: none; padding: 38px 38px 65px; }
.page-heading { margin: 3px 0 27px; }
.eyebrow { color: var(--red); font-size: 11px; letter-spacing: 1.8px; }
.subtitle { color: var(--muted); font-size: 16px; }
.date-label { padding: 13px 17px; font-size: 13px; border-color: var(--border); }

.metrics { gap: 18px; margin-bottom: 26px; }
.metric { padding: 26px; min-height: 165px; border-color: var(--border); }
.metric-top { color: #53667c; font-size: 15px; }
.metric-top .icon { width: 21px; height: 21px; }
.metric > strong { font-size: 34px; margin: 14px 0 9px; font-weight: 750; }
.metric > small { font-size: 13px; }
.dashboard-grid { gap: 24px; }
.card { padding: 29px; border-color: var(--border); box-shadow: var(--shadow); }
.section-heading { margin-bottom: 22px; }
.section-heading > a { font-size: 14px; font-weight: 650; }
.tag { font-size: 12px; padding: 7px 10px; border-color: var(--border); }
.clock-state { font-size: 15px; margin-top: 31px; }
.live-clock { font-size: 60px; font-weight: 670; }
.clock-caption { font-size: 14px; margin-bottom: 27px; }
.clock-history { width: 100%; margin-top: 12px; }
.scheduled-breaks h3 { font-size: 14px; }
.break-slot { font-size: 14px; }
.break-slot small, .break-slot button, .clock-card details { font-size: 13px; }
.activity-item strong { font-size: 15px; }
.activity-item p { font-size: 13px; }
.activity-item small { font-size: 12px; }
.status { font-size: 13px; padding: 7px 11px; }
.hint { font-size: 14px; padding: 18px; background: #e7f1fd; color: #275a91; }
.hint:hover { background: #dcecff; }
.empty { padding: 45px 20px; }
.empty h3 { font-size: 17px; }
.empty p { font-size: 14px; }
.empty-check { width: 48px; height: 48px; font-size: 21px; }
.main-footer { font-size: 12px; padding: 5px 38px 25px; }

table { font-size: 14px; }
th { font-size: 13px; padding: 16px; color: #62758a; }
td { padding: 17px 16px; color: #43536a; }
td strong { font-size: 14px; }
td > a, .person-cell small { font-size: 13px; }
.form-grid { gap: 20px; }
.filter-bar, .inline-form { gap: 16px; }
.filter-bar label, .inline-form label { min-width: 195px; }
.notice { font-size: 15px; padding: 17px 19px; }
.balance-strip small { font-size: 13px; }
.balance-strip strong { font-size: 29px; }
.balance-strip strong span { font-size: 13px; }
.request-mini strong, .task-item, .employee-row summary, .audit-entry summary { font-size: 15px; }
.request-mini > p, .request-mini details, .task-item button, .task-item a, .employee-row > p, .audit-entry summary > span { font-size: 14px; }
.detail-list, .document-item { font-size: 15px; }
.detail-list { grid-template-columns: 120px 1fr; }
.audit-entry pre { font-size: 13px; }
.check input { width: 19px; min-height: 19px; accent-color: var(--blue); }

.calendar-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px 0 18px; }
.month-switch { display: inline-flex; align-items: center; gap: 8px; margin-right: 24px; }
.month-switch strong { display: inline-flex; min-width: 235px; min-height: 50px; align-items: center; justify-content: center; padding: 9px 18px; border: 1px solid #cbd8e8; border-radius: 7px; background: white; font-size: 20px; font-weight: 700; }
.month-arrow { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border: 1px solid #cbd8e8; border-radius: 7px; background: white; color: #2a3b50; font-size: 33px; line-height: 1; }
.month-arrow:hover { background: #eaf2fb; text-decoration: none; }
.calendar-controls .add-entry { margin-left: auto; }
.legend { gap: 13px 22px; padding: 0; font-size: 13px; color: #34445b; }
.legend-top { margin: 8px 0 23px; }
.legend span { gap: 8px; font-weight: 550; }
.legend i { width: 20px; height: 20px; border-radius: 4px; }
.calendar-card { padding: 0; border-radius: 6px; }
.calendar-scroll { max-height: min(75vh, 850px); }
.matrix { min-width: 100%; table-layout: fixed; }
.matrix th, .matrix td { width: 43px; min-width: 43px; height: 49px; border-color: #d6e0eb; font-size: 13px; }
.matrix thead th { background: #edf4fb; font-size: 13px; font-weight: 750; color: #27374c; }
.matrix th:first-child { width: 204px; min-width: 204px; padding: 0 16px; color: #2b3d54; font-size: 14px; font-weight: 650; }
.matrix thead th:first-child { background: #eaf2fa; }
.matrix th small { font-size: 12px; margin-top: 3px; color: #53677e; }
.matrix td a, .cell-button { font-size: 13px; font-weight: 700; }
.matrix .today { box-shadow: inset 0 3px var(--blue); }
.matrix td.leave, .legend i.leave { background: #8ae697; color: #145923; }
.matrix td.sick, .legend i.sick { background: #ff8990; color: #851d29; }
.matrix td.unpaid, .legend i.unpaid { background: #ffe17e; color: #7e5e07; }
.matrix td.released, .legend i.released { background: #9bd3ff; color: #15538a; }
.matrix td.closure, .matrix td.bridge, .legend i.closure, .legend i.bridge { background: #bcb7dc; color: #453b73; }
.matrix td.holiday, .legend i.holiday { background: #d2d9e2; color: #4b5d71; }
.matrix td.weekend, .legend i.weekend { background: #e7eff7; color: #7b91a8; }
.matrix td.present, .legend i.present { background: #def3e4; color: #31834f; }
.calendar-hint { margin: 19px 0 0; padding: 17px 20px; border-radius: 7px; background: #deedff; color: #255b95; font-size: 14px; }

.auth { padding: 30px 20px; background: radial-gradient(ellipse at 16% 2%, #e6f0fb 0, transparent 42%), radial-gradient(ellipse at 95% 90%, #e8f0fa 0, transparent 48%), #f6f9fd; }
.auth-card { max-width: 540px; padding: 48px 52px; border-color: #d8e4f0; border-radius: 17px; box-shadow: 0 24px 75px #25426518; }
.auth-card .brand { justify-content: center; margin-bottom: 34px; min-height: 100px; }
.auth-card .brand-logo { max-width: 340px; }
.auth-card .brand-logo-light { display: none; }
.auth-card h1 { font-size: 31px; }
.auth-card p { font-size: 16px; }
.auth-card form > button { min-height: 56px; margin-top: 14px; font-size: 17px; }
.auth-card .quiet { font-size: 14px; margin-top: 25px; }
.auth-footer { display: none; }
.setup { max-width: 850px; }
.setup legend { font-size: 15px; }
dialog { max-width: 530px; padding: 31px; }
.break-timer strong { font-size: 36px; }
.completed-time { font-size: 15px; }
.completed-time strong { font-size: 30px; }

@media (max-width: 1250px) {
  .sidebar { width: 255px; padding: 19px 12px; }
  .shell { margin-left: 255px; }
  .sidebar nav > a { font-size: 14px; padding: 10px 13px; }
  main#content { padding: 31px 27px 55px; }
  .metric { padding: 21px; }
  .metric > strong { font-size: 29px; }
  .card { padding: 24px; }
  .calendar-card { padding: 0; }
}
@media (max-width: 950px) {
  .sidebar { width: 290px; transform: translateX(-100%); transition: transform .2s; }
  .sidebar.open { transform: translateX(0); box-shadow: 8px 0 35px #0003; }
  .shell { margin-left: 0; }
  .mobile-menu { display: inline-flex; }
  .breadcrumb { display: none; }
  .topbar { height: 70px; padding: 0 23px; }
  .topbar-right { margin-left: auto; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-column { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
  .profile { display: none; }
}
@media (max-width: 700px) {
  main#content { padding: 25px 16px 48px; }
  h1 { font-size: 29px; }
  h2 { font-size: 19px; }
  .subtitle { font-size: 14px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .card { padding: 21px; }
  .calendar-card { padding: 0; }
  .section-heading h2 { font-size: 19px; }
  .section-heading > a { font-size: 13px; }
  .date-label { display: none; }
  .form-grid, .decision-form { grid-template-columns: 1fr; }
  .form-grid > .wide { grid-column: auto; }
  .legend-top { gap: 10px 15px; }
  .month-switch { margin-right: 0; }
  .month-switch strong { min-width: 183px; font-size: 17px; }
  .calendar-controls .add-entry { margin-left: 0; }
  .matrix th:first-child { width: 154px; min-width: 154px; padding: 0 10px; }
  .auth-card { padding: 37px 28px; }
  .auth-card .brand-logo { max-width: 300px; }
  .balance-strip { grid-template-columns: 1fr 1fr; }
  .main-footer { padding: 10px 16px 22px; }
}
@media (max-width: 450px) {
  .metrics { gap: 10px; }
  .metric { min-height: 150px; padding: 16px; }
  .metric-top { font-size: 13px; }
  .metric > strong { font-size: 26px; }
  .metric > small { font-size: 12px; }
  .auth-card { padding: 32px 22px; }
  .auth-card .brand-logo { max-width: 270px; }
  .month-switch strong { min-width: 150px; }
}
