@charset "UTF-8";
:root {
  --ink: #193a34;
  --muted: #72807b;
  --green: #1a6551;
  --green-dark: #124e3e;
  --mint: #e7f2eb;
  --paper: #f6f8f5;
  --line: #e2e8e2;
  --white: #fff;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.55 'Segoe UI',
    Arial,
    sans-serif;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0 0 12px;
}
h1 {
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -1.1px;
  font-weight: 650;
}
h2 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
small,
.help {
  font-size: 12px;
  color: var(--muted);
}
small {
  display: block;
}
.muted {
  color: var(--muted);
}
.strong,
strong {
  font-weight: 650;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 13px;
}
.skip {
  position: absolute;
  left: -1000px;
  top: 0;
}
.skip:focus {
  left: 16px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  padding: 35px 22px 22px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1.1px;
  line-height: 1.1;
}
.brand:hover {
  text-decoration: none;
}
.brand-mark {
  background: var(--green);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: inline-grid;
  place-items: center;
  font-size: 32px;
  font-family: Georgia, serif;
  font-weight: 400;
  padding-bottom: 4px;
}
.brand-small {
  display: block;
  font-size: 8px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-top: 5px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #8f9c96;
  margin: 48px 13px 12px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
  margin-top: 40px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6d7a74;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 8px;
}
.sidebar nav a span {
  font-size: 20px;
  line-height: 1;
  width: 22px;
  text-align: center;
}
.sidebar nav a.active {
  background: var(--mint);
  color: var(--green);
  font-weight: 650;
}
.sidebar nav a:hover {
  text-decoration: none;
  background: #f0f5f1;
}
.sidebar-bottom {
  margin-top: auto;
}
.rules-link {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.rules-link > span:last-child {
  margin-left: auto;
}
.dot {
  display: inline-block;
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #5b9d77;
}
.user {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 6px 10px;
}
.user strong {
  font-size: 12px;
  display: block;
  max-width: 130px;
  overflow-wrap: anywhere;
}
.user small {
  font-size: 10px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: #eaf0e6;
  border: 1px solid #dfe7da;
  border-radius: 50%;
  font-size: 15px;
  color: #557050;
}
.logout {
  border: 0;
  background: transparent;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  margin-left: 52px;
  padding: 0;
}
.workspace {
  margin-left: 230px;
}
.topbar {
  height: 72px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #7e8a83;
  background: #fbfcf9;
}
.workspace main {
  max-width: 1450px;
  padding: 39px 42px 45px;
  margin: auto;
}
.workspace footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin: 0 42px;
  padding: 18px 0;
  color: #87928a;
  font-size: 10px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 0 0 28px;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.card-heading h2 {
  margin-bottom: 4px;
}
.card-heading p {
  margin: 0;
  font-size: 12px;
}
.card-heading > a {
  font-size: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.5;
}
.button:hover {
  background: var(--green-dark);
  text-decoration: none;
}
.button.secondary {
  background: white;
  border-color: #dce4dd;
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--paper);
}
.button.small {
  font-size: 11px;
  padding: 8px 12px;
}
.button.wide {
  width: 100%;
  justify-content: space-between;
}
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.badge {
  display: inline-block;
  white-space: nowrap;
  font-size: 10px;
  border-radius: 6px;
  padding: 5px 9px;
  background: var(--mint);
  color: var(--green);
  font-weight: 600;
}
.badge.neutral {
  background: #eff2ec;
  color: #798477;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.metrics.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.metric > span {
  font-size: 11px;
  color: #78857d;
  display: block;
}
.metric > strong {
  display: block;
  font-size: 29px;
  letter-spacing: -0.8px;
  margin: 10px 0 9px;
  font-weight: 550;
}
.metric > small {
  font-size: 10px;
}
.metric.highlight {
  background: #e9f2e9;
  border-color: #d4e5d5;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 24px;
}
.guide {
  background: #edf3e9;
  border-color: #e0e9d9;
}
.guide .eyebrow {
  font-size: 9px;
}
.steps {
  list-style: none;
  padding: 5px 0 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-left: 40px;
  counter-increment: step;
  margin: 0 0 23px;
}
.steps li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #dee8d6;
  color: #57704b;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.steps strong {
  font-size: 12px;
}
.steps p {
  font-size: 11px;
  color: #7e8a74;
  margin-top: 4px;
}
.guide > a {
  font-size: 11px;
}
.empty {
  text-align: center;
  padding: 42px 16px;
}
.empty h2,
.empty h3 {
  font-size: 18px;
  margin-top: 16px;
}
.empty p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 23px;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 57px;
  height: 57px;
  border-radius: 17px;
  background: #f0f4ee;
  color: #87967b;
  font-size: 27px;
}
.check-circle {
  display: inline-grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #dcebdd;
  color: #4c805d;
  flex-shrink: 0;
}
.empty-text {
  padding: 24px 0;
  color: var(--muted);
  font-size: 12px;
}
.recent {
  margin-top: 24px;
}
.list-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0eb;
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row .strong,
.list-row strong {
  font-size: 13px;
}
.list-row small {
  font-size: 11px;
  margin-top: 3px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.contract-card h2 {
  margin-top: 22px;
}
.contract-card p {
  font-size: 12px;
  color: var(--muted);
}
.card-link {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
  font-size: 12px;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
  font-size: 12px;
  margin: 20px 0 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  margin-bottom: 22px;
}
.tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.tabs a {
  font-size: 12px;
  padding: 0 0 15px;
  color: var(--muted);
}
.tabs a.selected {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  font-weight: 600;
}
.form-page {
  max-width: 900px;
  margin: auto;
}
.stack {
  display: grid;
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid .full {
  grid-column: 1/-1;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
label small {
  font-size: 10px;
  font-weight: 400;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dbe2da;
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  min-height: 41px;
}
input::placeholder,
textarea::placeholder {
  color: #a0a9a1;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #b9d7c1;
  border-color: #749d80;
}
input[type='checkbox'] {
  width: 17px;
  height: 17px;
  min-height: 0;
  flex-shrink: 0;
  accent-color: var(--green);
  margin: 3px 0;
}
.checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.checkbox.card {
  padding: 22px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.salary-summary {
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--paper);
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.salary-summary strong {
  font-size: 20px;
}
.salary-summary small {
  width: 100%;
  font-size: 10px;
}
.muted-card {
  opacity: 0.55;
}
.notice,
.alert {
  padding: 16px 20px;
  border-radius: 9px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.6;
}
.notice {
  background: #e5f0e7;
  border: 1px solid #cde1cf;
  color: #356247;
}
.alert {
  background: #fff4e6;
  border: 1px solid #f0d9b5;
  color: #875d28;
}
.alert p:last-child {
  margin-bottom: 0;
}
.filters {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
}
.filters label:first-child {
  min-width: 240px;
  flex: 2;
}
.filters label {
  flex: 1;
  min-width: 110px;
}
.filters > a {
  align-self: center;
  font-size: 11px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-size: 10px;
  font-weight: 600;
  color: #89948c;
  background: #f8faf6;
  white-space: nowrap;
}
th,
td {
  padding: 15px 12px;
  border-bottom: 1px solid #ecf0e9;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
th:first-child {
  padding-left: 12px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.right {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.compact-table {
  font-size: 11px;
}
.compact-table td,
.compact-table th {
  padding: 10px 8px;
}
.amounts {
  grid-template-columns: 1fr auto;
  row-gap: 11px;
}
.amounts dd {
  text-align: right;
}
.total {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 650;
}
.calculation-note {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 4px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}
.calculation-note strong {
  margin-left: 9px;
  color: var(--ink);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.calendar-month h3 {
  text-transform: capitalize;
  font-size: 12px;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  text-align: center;
  font-size: 10px;
}
.weekday {
  color: #9ca69c;
  font-size: 9px;
  padding-bottom: 8px;
}
.day {
  padding: 5px 1px;
  border-radius: 4px;
}
.day.booked {
  background: #dcebdd;
  color: #326148;
  font-weight: 700;
}
.day.today {
  outline: 1px solid var(--green);
}
.legend {
  font-size: 10px;
  color: var(--muted);
}
.legend .dot {
  margin-right: 5px;
}
.text-button {
  background: transparent;
  border: 0;
  color: #9c624e;
  font-size: 11px;
  cursor: pointer;
}
.plain-list {
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}
.plain-list li {
  padding: 5px 0;
}
.options {
  margin-top: 22px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.problem {
  max-width: 700px;
  margin: 40px auto;
}
.problem p {
  margin: 25px 0;
}
.public-workspace main {
  padding: 0;
}
.public-workspace .notice {
  margin: 18px auto;
  max-width: 650px;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.auth-story {
  background: #e7eee2;
  padding: 65px 12%;
  display: flex;
  flex-direction: column;
}
.auth-story > .eyebrow {
  margin-top: 105px;
  font-size: 9px;
}
.auth-story h1 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 25px;
  letter-spacing: -1.8px;
}
.auth-story > p {
  font-size: 13px;
  color: #7a8771;
  line-height: 1.9;
}
.story-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #d4dfcd;
  background: #f0f5eb;
  border-radius: 12px;
  max-width: 350px;
}
.story-card strong {
  font-size: 12px;
}
.story-card small {
  font-size: 10px;
  margin-top: 4px;
}
.story-foot {
  margin-top: auto;
  padding-top: 60px;
  font-size: 10px;
  color: #8a967f;
}
.auth-panel {
  max-width: 470px;
  width: 100%;
  align-self: center;
  justify-self: center;
  padding: 60px 45px;
}
.auth-panel h2 {
  font-size: 29px;
  margin-bottom: 10px;
}
.auth-panel > .muted {
  font-size: 12px;
  margin-bottom: 32px;
}
.auth-panel .stack {
  gap: 19px;
}
.auth-panel .eyebrow {
  font-size: 9px;
}
.small-link {
  font-size: 11px;
}
.auth-bottom {
  font-size: 12px;
  margin-top: 28px;
}
.auth-bottom a {
  font-weight: 600;
}
.auth-single {
  max-width: 530px;
  padding: 55px 20px;
  margin: auto;
}
.auth-single .brand {
  justify-content: center;
  margin-bottom: 35px;
}
.auth-single .card {
  padding: 35px;
}
.auth-single h1 {
  font-size: 27px;
}
.auth-single .muted {
  font-size: 12px;
  margin-bottom: 25px;
}
.workspace footer.mobile-account {
  display: none;
}
.consent-page {
  max-width: 620px;
  min-height: calc(100dvh - 84px);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.consent-page h1,
.consent-page strong {
  overflow-wrap: anywhere;
}
.consent-permissions {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 12px;
}
.consent-permissions legend {
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 12px;
}
.consent-permissions .checkbox {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.consent-permissions small {
  font-size: 12px;
  margin-top: 4px;
}
.consent-details {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.consent-details summary {
  font-size: 12px;
}
.consent-details p {
  margin-top: 12px;
}
.consent-details ul {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}
.contract-header .page-heading > div {
  min-width: 0;
}
.contract-header h1,
.contract-header p {
  overflow-wrap: anywhere;
}
.contract-tabs {
  gap: 24px;
  flex-wrap: wrap;
}
.contract-tabs a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0 12px;
}
.contract-tabs a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 3px;
}
.contract-header .page-heading {
  margin-bottom: 18px;
}
.contract-header .back-link {
  margin-bottom: 18px;
}
@media (max-width: 550px) {
  .contract-tabs {
    gap: 12px;
  }
  .contract-tabs a {
    font-size: 12px;
    white-space: normal;
  }
  .contract-header .page-heading {
    flex-direction: row;
    gap: 12px;
  }
  .contract-header h1 {
    font-size: 25px;
  }
  .contract-header .badge {
    flex-shrink: 0;
  }
}
@media (max-width: 550px) {
  .metric .help-tip > [role='tooltip'] {
    left: 0;
    transform: translateX(-65px);
    width: 230px;
    max-width: calc(100vw - 48px);
  }
}
.vacation-total {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 10px 0 9px;
}
.vacation-total > strong {
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -0.8px;
}
.proportional {
  font-size: 13px;
  color: var(--muted);
}
.help-tip {
  position: relative;
  display: inline-block;
  line-height: 1.4;
}
.help-tip summary {
  display: grid;
  place-items: center;
  list-style: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  font-size: 12px;
  color: var(--green);
}
.help-tip summary::-webkit-details-marker {
  display: none;
}
.help-tip > [role='tooltip'] {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 28px;
  width: 240px;
  max-width: 65vw;
  padding: 12px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 15px #193a3420;
  z-index: 5;
}
.help-tip[open] > [role='tooltip'],
.help-tip:hover > [role='tooltip'] {
  display: block;
}
@media (max-width: 800px) {
  .workspace footer {
    flex-wrap: wrap;
    gap: 14px;
  }
  .workspace footer.mobile-account {
    display: flex;
    gap: 18px;
    justify-content: flex-start;
  }
  .mobile-account .logout {
    margin: 0;
  }
}
@media (min-width: 1500px) {
  .workspace main {
    padding-top: 50px;
  }
  .auth-story {
    padding-left: 18%;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding: 28px 16px;
  }
  .workspace {
    margin-left: 200px;
  }
  .workspace main {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .workspace footer {
    margin: 0 25px;
  }
  .metric {
    padding: 18px 14px;
  }
  .metric > strong {
    font-size: 23px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr);
  }
  .contract-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calendar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .auth-story h1 {
    font-size: 38px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    gap: 22px;
    overflow-x: auto;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 26px;
  }
  .brand-small {
    font-size: 7px;
  }
  .sidebar .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
    margin-top: 0;
  }
  .sidebar nav a {
    padding: 9px;
    font-size: 11px;
    white-space: nowrap;
  }
  .sidebar nav a span {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 48px;
    padding: 0 20px;
    font-size: 10px;
  }
  .workspace main {
    padding: 25px 20px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .metrics.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metric > strong {
    font-size: 23px;
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 28px 30px;
  }
  .auth-story > .eyebrow {
    margin-top: 40px;
  }
  .auth-story h1 {
    font-size: 32px;
  }
  .auth-story > p,
  .story-card,
  .story-foot {
    display: none;
  }
  .auth-panel {
    padding: 35px 30px;
    max-width: 500px;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 29px;
  }
}
@media (max-width: 550px) {
  .workspace main {
    padding: 22px 16px;
  }
  .page-heading {
    flex-direction: column;
    gap: 18px;
  }
  .metrics {
    gap: 10px;
  }
  .metric > strong {
    font-size: 24px;
  }
  .metrics.three {
    grid-template-columns: 1fr;
  }
  .metric {
    padding: 18px;
  }
  .form-grid,
  .contract-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .card {
    padding: 20px;
  }
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 16px;
  }
  .card-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .tabs {
    gap: 16px;
    overflow: auto;
  }
  .tabs a {
    white-space: nowrap;
    font-size: 11px;
  }
  .filters label:first-child {
    min-width: 100%;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .list-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .list-row .button {
    margin-left: auto;
  }
  .workspace footer > span {
    display: none;
  }
  .sidebar {
    gap: 16px;
    padding: 13px 16px;
  }
  .sidebar .brand-small {
    display: none;
  }
  .sidebar nav {
    gap: 0;
  }
  .sidebar nav a {
    font-size: 10px;
    padding: 8px;
  }
  .sidebar .brand {
    font-size: 19px;
    gap: 7px;
  }
  .sidebar .brand-mark {
    width: 30px;
    height: 30px;
  }
  .auth-single {
    padding: 30px 16px;
  }
  .auth-single .card {
    padding: 24px;
  }
  .calculation-note {
    display: grid;
  }
  .form-actions > .button {
    flex: 1;
  }
  .table-scroll {
    max-width: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  /* stylelint-disable-next-line property-no-deprecated -- Preserve the existing screen-reader-only clipping fallback. */
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.payroll-submit {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  border-radius: 8px;
}
.payroll-submit > .button {
  width: 100%;
}
.payroll-submit:has(button:disabled) {
  cursor: not-allowed;
}
.payroll-submit button:disabled {
  pointer-events: none;
}
.payroll-submit:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.payroll-submit > [role='tooltip'] {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 280px;
  max-width: calc(100vw - 72px);
  padding: 12px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  box-shadow: 0 4px 15px #193a3420;
  z-index: 5;
  visibility: hidden;
}
.payroll-submit > [role='tooltip']::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
}
.payroll-submit:hover > [role='tooltip'],
.payroll-submit:focus > [role='tooltip'] {
  visibility: visible;
}
.payroll-submit.tooltip-dismissed > [role='tooltip'] {
  visibility: hidden;
}
.payroll-submit > [role='tooltip'][hidden] {
  display: none;
}

@media (max-width: 550px) {
  .payroll-submit {
    width: 100%;
  }
}
.mcp-connections > .card {
  margin-bottom: 20px;
}
.mcp-connections h2,
.mcp-connections p {
  overflow-wrap: anywhere;
}
