:root {
  --ink: #10241d;
  --ink-2: #274039;
  --muted: #6f7f78;
  --green: #0d6849;
  --green-dark: #093f30;
  --green-soft: #eaf5f0;
  --gold: #bd9674;
  --gold-soft: #f5eee8;
  --canvas: #f4f6f4;
  --line: #dfe7e2;
  --white: #fff;
  --red: #a63b3b;
  --red-soft: #fbeaea;
  --amber: #966700;
  --amber-soft: #fff3d5;
  --shadow: 0 18px 50px rgba(14, 45, 34, 0.08);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font:
    15px/1.55 Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
}
.topbar {
  height: 78px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.brand-lockup img {
  width: 112px;
  height: 50px;
  object-fit: contain;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}
.brand-lockup span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-lockup b {
  font-size: 16px;
}
.brand-lockup small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.secure-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid #d5ebe1;
  padding: 7px 11px;
  border-radius: 999px;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px 28px 76px;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 42px 46px;
  border-radius: 26px;
  background: linear-gradient(120deg, var(--green-dark), #0c7252);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 28px 70px rgba(9, 63, 48, 0.2);
}
.hero:after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  right: -70px;
  top: -150px;
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.035),
    0 0 0 96px rgba(255, 255, 255, 0.025);
}
.hero h1 {
  font:
    600 42px/1.12 Georgia,
    "Times New Roman",
    serif;
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}
.hero .eyebrow {
  color: #d8c1aa;
}
.hero-mark {
  position: relative;
  z-index: 1;
  font:
    700 62px/1 Georgia,
    serif;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.12);
  padding-right: 32px;
}
.eyebrow {
  margin: 0 !important;
  font-size: 10px !important;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.19em;
  color: var(--green) !important;
}
.eyebrow.light {
  color: #d8c1aa !important;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0 42px;
}
.stats article {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 8px 26px rgba(16, 36, 29, 0.035);
}
.stats span,
.stats small {
  display: block;
  color: var(--muted);
}
.stats span {
  font-size: 12px;
  font-weight: 700;
}
.stats strong {
  font:
    600 34px/1.15 Georgia,
    serif;
  display: block;
  margin: 3px 0;
}
.stats .small-value {
  font:
    700 18px/1.25 Inter,
    sans-serif;
}
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.stat-icon.green {
  background: var(--green-soft);
  color: var(--green);
}
.stat-icon.gold {
  background: var(--gold-soft);
  color: #936d4e;
}
.stat-icon.ink {
  background: #edf0ef;
  color: var(--ink);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 17px;
}
.section-heading h2 {
  font:
    600 28px/1.2 Georgia,
    serif;
  margin: 5px 0 0;
}
.section-heading > p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 20px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 36px rgba(16, 36, 29, 0.045);
}
.panel-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 21px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.panel-title h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.panel-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.panel-icon {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid label,
.inline-form label,
.test-access label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.035em;
  color: var(--ink-2);
}
input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #ccd8d1;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 104, 73, 0.1);
}
textarea {
  resize: vertical;
}
.wide {
  grid-column: 1/-1;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 11px;
  padding: 13px 18px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 9px 20px rgba(13, 104, 73, 0.18);
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  background: #09583e;
  transform: translateY(-1px);
}
.button.secondary {
  background: var(--ink);
  box-shadow: none;
}
.button.small {
  padding: 10px 13px;
  font-size: 12px;
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.form-help {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.hours-row {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.shift-table {
  grid-column: 1/-1;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fbfcfa;
}
.shift-head,
.shift-row {
  display: grid;
  grid-template-columns: 54px 1fr 1fr 92px 68px;
  gap: 10px;
  align-items: end;
  padding: 10px 14px;
}
.shift-head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f2f5f1;
}
.shift-row {
  border-top: 1px solid var(--line);
}
.shift-row > strong {
  align-self: center;
}
.shift-row label span,
.shift-total span {
  display: none;
}
.shift-row input {
  min-width: 0;
  padding: 10px;
}
.shift-total {
  align-self: center;
  text-align: right;
}
.shift-total output,
.week-total output {
  color: var(--green);
  font-weight: 800;
}
.week-total {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  border-top: 2px solid var(--line);
  font-weight: 800;
}
.saved-shifts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px 31px;
}
.saved-shifts span {
  padding: 6px 9px;
  border-radius: 8px;
  background: #f2f5f1;
  color: var(--muted);
  font-size: 11px;
}
.policy-card dl {
  margin: 0;
}
.policy-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.policy-card dl div:last-child {
  border: 0;
}
.policy-card dt {
  color: var(--muted);
}
.policy-card dd {
  font-weight: 700;
  margin: 0;
  text-align: right;
}
.history-section {
  margin-top: 42px;
}
.profile-panel {
  margin: 0 0 42px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(16, 36, 29, 0.045);
}
.profile-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.profile-summary h2 {
  margin: 5px 0 4px;
  font: 600 24px/1.2 Georgia, serif;
}
.profile-summary p,
.profile-facts span,
.profile-facts small,
.profile-privacy {
  color: var(--muted);
}
.profile-summary p {
  margin: 0;
}
.profile-summary details {
  width: min(610px, 100%);
}
.profile-summary summary,
.request-activity summary {
  cursor: pointer;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  list-style: none;
  text-align: right;
}
.profile-summary summary::-webkit-details-marker,
.request-activity summary::-webkit-details-marker {
  display: none;
}
.profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 14px;
  background: #f7f9f7;
}
.profile-form label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-2);
}
.form-divider {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}
.profile-privacy {
  align-self: end;
  margin: 0;
  font-size: 11px;
}
.profile-facts {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1fr;
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.profile-facts div,
.profile-facts strong,
.profile-facts small {
  display: block;
  min-width: 0;
}
.profile-facts span {
  font-size: 11px;
}
.profile-facts strong {
  margin-top: 3px;
  white-space: pre-line;
}
.self-service-heading {
  margin-top: 0;
}
.request-list {
  display: grid;
  gap: 11px;
}
.request-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.request-main {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 90px 118px;
  gap: 20px;
  align-items: center;
  padding: 18px 21px;
}
.request-type {
  display: flex;
  align-items: center;
  gap: 13px;
}
.request-type strong,
.request-type small,
.request-meta strong,
.request-meta small {
  display: block;
}
.request-type small,
.request-meta small {
  color: var(--muted);
  font-size: 12px;
}
.request-type .accrued-detail {
  margin-top: 3px;
  color: var(--green);
  font-weight: 700;
}
.request-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px var(--gold-soft);
}
.request-meta {
  text-align: right;
}
.request-meta strong {
  font-size: 19px;
}
.status {
  justify-self: end;
  display: inline-flex;
  justify-content: center;
  min-width: 96px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #eef1ef;
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 800;
}
.status.approved {
  background: var(--green-soft);
  color: var(--green);
}
.status.rejected,
.status.cancelled {
  background: var(--red-soft);
  color: var(--red);
}
.status.pending {
  background: var(--amber-soft);
  color: var(--amber);
}
.status.reported {
  background: #edf0f7;
  color: #536384;
}
.amendment-notice {
  padding: 10px 21px;
  border-top: 1px solid #f0dfb6;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}
.request-activity {
  padding: 11px 21px;
  border-top: 1px solid var(--line);
  background: #fafbf9;
}
.request-activity summary {
  text-align: left;
}
.activity-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}
.activity-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.activity-row strong,
.activity-row small {
  display: block;
}
.activity-row strong {
  font-size: 12px;
}
.activity-row small {
  color: var(--muted);
  font-size: 11px;
}
.request-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  background: #fafbf9;
  border-top: 1px solid var(--line);
  padding: 12px 21px;
}
.request-actions summary {
  cursor: pointer;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  list-style: none;
}
.request-actions summary::-webkit-details-marker {
  display: none;
}
.request-actions details[open] {
  width: 100%;
}
.inline-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 13px;
}
.text-danger,
.link-button {
  border: 0;
  background: none;
  cursor: pointer;
  font-weight: 700;
}
.text-danger {
  color: var(--red);
  font-size: 12px;
}
.link-button {
  color: var(--green);
}
.director-link {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.director-container {
  max-width: 1320px;
}
.director-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 38px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(120deg, var(--green-dark), #0c7252);
  box-shadow: 0 28px 70px rgba(9, 63, 48, 0.18);
}
.director-hero h1 {
  margin: 6px 0 8px;
  font: 600 38px/1.15 Georgia, serif;
}
.director-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.director-kpis {
  display: flex;
  gap: 10px;
}
.director-kpis div {
  min-width: 104px;
  padding: 16px;
  border-radius: 15px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.director-kpis strong,
.director-kpis span {
  display: block;
}
.director-kpis strong {
  font-size: 27px;
}
.director-kpis span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}
.director-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}
.director-card {
  overflow: hidden;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 36px rgba(16, 36, 29, 0.045);
}
.wide-card {
  margin-top: 18px;
}
.danger-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-color: #efd0cc;
  background: #fff9f8;
}
.danger-card h2 {
  margin: 4px 0 8px;
  font: 600 23px/1.2 Georgia, serif;
}
.danger-card p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}
.reset-form {
  display: flex;
  align-items: end;
  gap: 10px;
  min-width: 390px;
}
.reset-form label {
  flex: 1;
  font-size: 11px;
  font-weight: 800;
}
.reset-form input {
  width: 100%;
  margin-top: 7px;
}
.danger-button {
  width: auto;
  background: #9f2e27;
}
.director-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.director-card-title h2 {
  margin: 4px 0 0;
  font: 600 23px/1.2 Georgia, serif;
}
.director-card-title > span {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-weight: 800;
}
.payroll-title .button {
  width: auto;
  text-decoration: none;
}
.fit-note-upload,
.fit-note-document {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 12px;
  background: #f4f8f6;
  border: 1px solid #dce8e2;
}
.fit-note-upload label {
  flex: 1;
  font-size: 11px;
  font-weight: 800;
}
.fit-note-upload input {
  display: block;
  width: 100%;
  margin-top: 7px;
}
.fit-note-document a,
.director-row a {
  color: var(--green);
  font-weight: 800;
}
.lifecycle-panel {
  margin-top: 18px;
}
.lifecycle-phases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.lifecycle-phase {
  padding: 16px;
  border-radius: 14px;
  background: #f7f9f7;
}
.lifecycle-phase-title,
.lifecycle-task,
.lifecycle-director-task,
.lifecycle-start {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lifecycle-phase-title {
  justify-content: space-between;
  margin-bottom: 9px;
}
.lifecycle-phase-title span,
.lifecycle-task small,
.lifecycle-director-task small {
  color: var(--muted);
  font-size: 10px;
}
.lifecycle-task,
.lifecycle-director-task {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.lifecycle-task span,
.lifecycle-director-task button {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  border: 1px solid #b8c9c0;
  color: var(--green);
  background: #fff;
  font-weight: 900;
}
.lifecycle-task.done strong,
.lifecycle-director-task.done span {
  color: var(--muted);
  text-decoration: line-through;
}
.lifecycle-director-list {
  padding: 0 15px 12px;
}
.lifecycle-director-task {
  width: 100%;
}
.lifecycle-director-task button {
  cursor: pointer;
}
.lifecycle-director-task span {
  flex: 1;
}
.lifecycle-start {
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.lifecycle-start label {
  color: var(--muted);
  font-size: 10px;
}
.lifecycle-start input {
  display: block;
  margin-top: 4px;
}
.director-row,
.audit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.director-row strong,
.director-row small,
.audit-row strong,
.audit-row small,
.director-row-meta span,
.director-row-meta small {
  display: block;
}
.director-row small,
.audit-row small,
.director-row-meta small,
.audit-row time {
  color: var(--muted);
  font-size: 11px;
}
.director-row-meta {
  min-width: 145px;
  text-align: right;
}
.director-row-meta .status {
  margin-top: 4px;
}
.director-empty {
  padding: 28px 0 10px;
  color: var(--muted);
  text-align: center;
}
.employee-directory-row {
  border-top: 1px solid var(--line);
}
.employee-directory-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
}
.employee-directory-row summary::-webkit-details-marker {
  display: none;
}
.employee-directory-row summary strong,
.employee-directory-row summary small {
  display: block;
}
.employee-directory-row summary small,
.employee-directory-row summary > span:last-child {
  color: var(--muted);
  font-size: 11px;
}
.employee-private-details {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.5fr 1.2fr;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 12px;
  background: #f7f9f7;
}
.employee-private-details span,
.employee-private-details strong,
.employee-private-details small {
  display: block;
}
.employee-private-details span,
.employee-private-details small {
  color: var(--muted);
  font-size: 10px;
}
.employee-private-details strong {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.empty-state {
  text-align: center;
  padding: 55px 24px;
  background: #fff;
  border: 1px dashed #cdd8d2;
  border-radius: var(--radius);
}
.empty-state > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  margin: 0 auto 12px;
}
.empty-state h3 {
  margin: 0;
}
.empty-state p {
  margin: 5px 0 0;
  color: var(--muted);
}
.notice {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #cfe8dc;
  padding: 13px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 700;
}
.notice span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
}
footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 28px 34px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.login-page {
  min-height: 100vh;
  background: #fff;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}
.login-brand-panel {
  position: relative;
  display: grid;
  place-items: center;
  padding: 70px;
  background: linear-gradient(145deg, #092f25, #0b694b);
  overflow: hidden;
  color: #fff;
}
.login-brand-panel:before,
.login-brand-panel:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}
.login-brand-panel:before {
  width: 520px;
  height: 520px;
  left: -250px;
  bottom: -180px;
}
.login-brand-panel:after {
  width: 420px;
  height: 420px;
  right: -200px;
  top: -180px;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
}
.login-brand-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.login-brand-content img {
  width: 190px;
  height: 86px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 70px;
}
.login-brand-content h1 {
  font:
    500 54px/1.08 Georgia,
    serif;
  margin: 13px 0 24px;
  letter-spacing: -0.025em;
}
.login-brand-content > p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}
.trust-row {
  display: flex;
  gap: 28px;
  margin-top: 44px;
}
.trust-row span {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  font-weight: 700;
}
.trust-row span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7b697;
}
.login-form-panel {
  display: grid;
  place-items: center;
  padding: 50px;
  background: #fbfcfb;
}
.login-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.login-card h2 {
  font:
    600 34px/1.15 Georgia,
    serif;
  margin: 9px 0 12px;
}
.muted {
  color: var(--muted);
}
.slack {
  width: 100%;
  margin: 27px 0 20px;
  background: #4a154b;
  box-shadow: 0 9px 22px rgba(74, 21, 75, 0.2);
}
.slack:hover {
  background: #3d113e;
}
.slack-mark {
  font-size: 19px;
}
.security-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f4f7f5;
  border-radius: 12px;
  padding: 14px 16px;
}
.security-note b {
  font-size: 12px;
}
.security-note span {
  font-size: 11px;
  color: var(--muted);
}
.test-access {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 22px;
}
.test-access summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
}
.test-access form {
  margin-top: 14px;
}
.test-access .button {
  margin-top: 12px;
  width: 100%;
}
.error-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.error-shell img {
  width: 150px;
  margin-bottom: 35px;
}
.error-code {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 24px;
  font-weight: 800;
}
.error-shell h1 {
  font:
    600 36px/1.15 Georgia,
    serif;
  margin: 10px;
}
.error-shell .button {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-brand-panel {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .director-grid {
    grid-template-columns: 1fr;
  }
  .director-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .employee-private-details {
    grid-template-columns: 1fr 1fr;
  }
  .profile-summary {
    flex-direction: column;
  }
  .profile-summary details {
    width: 100%;
  }
  .profile-summary summary {
    text-align: left;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats article:last-child {
    grid-column: 1/-1;
  }
  .inline-form {
    grid-template-columns: 1fr 1fr;
  }
  .inline-form .button {
    grid-column: 1/-1;
  }
  .hero-mark {
    display: none;
  }
}
@media (max-width: 640px) {
  .topbar {
    height: 68px;
    padding: 0 16px;
  }
  .brand-lockup img {
    width: 86px;
    height: 42px;
    padding-right: 12px;
  }
  .brand-lockup span,
  .secure-pill {
    display: none;
  }
  .container {
    padding: 22px 15px 58px;
  }
  .hero {
    min-height: 180px;
    padding: 30px 24px;
    border-radius: 20px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
  }
  .stats article:last-child {
    grid-column: auto;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }
  .section-heading > p {
    display: none;
  }
  .panel {
    padding: 21px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .profile-facts,
  .profile-form {
    grid-template-columns: 1fr;
  }
  .hours-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .shift-head {
    display: none;
  }
  .shift-row {
    grid-template-columns: 42px 1fr 1fr;
    align-items: end;
  }
  .shift-row label span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 10px;
  }
  .shift-total {
    grid-column: 2/-1;
    display: flex;
    justify-content: space-between;
    padding-top: 2px;
  }
  .shift-row label:nth-of-type(3) {
    grid-column: 2/-1;
  }
  .shift-total span {
    display: inline;
    color: var(--muted);
    font-size: 11px;
  }
  .director-kpis {
    width: 100%;
    overflow-x: auto;
  }
  .director-kpis div {
    min-width: 96px;
  }
  .director-row,
  .audit-row {
    align-items: flex-start;
  }
  .director-row-meta {
    min-width: 105px;
  }
  .employee-private-details {
    grid-template-columns: 1fr;
  }
  .request-main {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .request-meta {
    display: none;
  }
  .status {
    grid-column: 2;
    grid-row: 1;
  }
  .request-actions {
    align-items: flex-end;
    flex-direction: column;
  }
  .request-actions details[open] {
    width: 100%;
  }
  .inline-form {
    grid-template-columns: 1fr;
  }
  .inline-form .button {
    grid-column: auto;
  }
  .lifecycle-phases {
    grid-template-columns: 1fr;
  }
  .lifecycle-start,
  .fit-note-upload,
  .fit-note-document,
  .danger-card,
  .reset-form {
    align-items: stretch;
    flex-direction: column;
  }
  .lifecycle-start .button,
  .fit-note-upload .button,
  .reset-form .button {
    width: 100%;
  }
  .reset-form {
    min-width: 0;
    width: 100%;
  }
  .login-form-panel {
    padding: 20px;
  }
  .login-card {
    padding: 28px 22px;
    border-radius: 18px;
  }
  .login-card h2 {
    font-size: 30px;
  }
  footer {
    padding: 24px 16px;
    flex-direction: column;
    gap: 4px;
  }
}
