.ttk8sr-wrap {
  --ttk-bg: #f6f7f4;
  --ttk-panel: #ffffff;
  --ttk-text: #1f2933;
  --ttk-muted: #64748b;
  --ttk-line: #d8ded6;
  --ttk-accent: #0f766e;
  --ttk-blue: #2563eb;
  --ttk-red: #b91c1c;
  --ttk-amber: #b45309;
  color: var(--ttk-text);
}

body.hrc8-fullscreen-admin {
  background: #f3f5ef !important;
  color: #17212f;
  min-width: 0;
}

body.hrc8-fullscreen-admin #adminmenumain,
body.hrc8-fullscreen-admin #wpfooter,
body.hrc8-fullscreen-admin #screen-meta-links {
  display: none !important;
}

body.hrc8-fullscreen-admin #wpadminbar {
  display: block !important;
}

body.hrc8-fullscreen-admin #wpcontent,
body.hrc8-fullscreen-admin #wpbody,
body.hrc8-fullscreen-admin #wpbody-content {
  background: #f3f5ef !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

body.hrc8-fullscreen-admin #wpwrap {
  background: #f3f5ef !important;
  min-height: 100vh;
}

.hrc8-app-shell.wrap {
  --hrc8-shell-dark: #071f1d;
  --hrc8-shell-dark-2: #0b3631;
  --hrc8-shell-accent: #0f8277;
  --hrc8-shell-line: rgba(15, 54, 49, .13);
  background: transparent;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  margin: 0;
  max-width: none;
  min-height: 100vh;
  width: 100%;
}

.hrc8-app-sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 16rem),
    linear-gradient(145deg, var(--hrc8-shell-dark), var(--hrc8-shell-dark-2));
  color: #fff7ea !important;
  min-height: 100vh;
  padding: 16px 12px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.hrc8-app-sidebar a,
.hrc8-app-sidebar a:visited,
.hrc8-app-sidebar span,
.hrc8-app-sidebar small,
.hrc8-app-sidebar strong {
  color: inherit !important;
}

.hrc8-app-brand {
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  margin-bottom: 10px;
  padding: 4px 2px 14px;
}

.hrc8-app-brand span {
  align-items: center;
  background: #e5f6f2;
  border-radius: 8px;
  color: #063b35 !important;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-bottom: 12px;
  width: 42px;
}

.hrc8-app-brand strong,
.hrc8-app-brand small {
  display: block;
}

.hrc8-app-brand strong {
  color: #fff7ea !important;
  font-size: 22px;
  line-height: 1.1;
}

.hrc8-app-brand small {
  color: rgba(255, 247, 234, .72) !important;
  font-size: 12px;
  margin-top: 5px;
}

.hrc8-app-nav,
.hrc8-app-nav ul {
  margin: 0;
}

.hrc8-app-nav-section {
  margin: 0 0 8px;
}

.hrc8-app-nav-section-title {
  color: rgba(255, 247, 234, .84) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0 0 3px;
  padding: 0 8px;
  text-transform: uppercase;
}

.hrc8-app-nav-item {
  margin: 0;
}

.hrc8-app-nav-item a,
.hrc8-app-nav-item span {
  align-items: center;
  border-radius: 7px;
  color: #fff7ea !important;
  display: flex;
  font-size: 13px;
  line-height: 1.25;
  min-height: 24px;
  padding: 4px 8px;
  text-decoration: none;
}

.hrc8-app-nav-item > span {
  color: rgba(255, 247, 234, .90) !important;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hrc8-app-nav-item a:hover,
.hrc8-app-nav-item.is-active > a {
  background: rgba(255, 255, 255, .12);
  color: #fffdf8 !important;
}

.hrc8-app-nav-item.is-active > a {
  box-shadow: inset 3px 0 0 #62d2c7;
}

.hrc8-app-nav-item.is-depth-1 > a,
.hrc8-app-nav-item.is-depth-1 > span {
  font-size: 12px;
  margin-left: 7px;
  min-height: 22px;
  padding-left: 10px;
}

.hrc8-app-nav-item.has-children > ul {
  border-left: 1px solid rgba(255, 255, 255, .11);
  margin: 2px 0 5px 8px;
  padding-left: 4px;
}

.hrc8-app-main {
  min-width: 0;
  padding: 18px 22px 30px;
}

.hrc8-app-topbar {
  align-items: center;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(15, 54, 49, .11);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 0 18px;
  padding: 16px 18px;
  position: sticky;
  top: 0;
  z-index: 15;
}

.hrc8-app-heading span {
  color: #64748b;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.hrc8-app-heading h1 {
  color: #111827;
  font-size: 25px;
  line-height: 1.1;
  margin: 0;
  padding: 0;
}

.hrc8-app-close {
  align-items: center;
  background: #0f8277;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  min-height: 38px;
  padding: 0 15px;
  text-decoration: none;
  white-space: nowrap;
}

.hrc8-app-close:hover,
.hrc8-app-close:focus {
  background: #0b6159;
  color: #fff;
}

.hrc8-app-content {
  min-width: 0;
}

.hrc8-app-content > .notice {
  margin: 0 0 14px;
}

.hrc8-app-shell .ttk8sr-panel,
.hrc8-app-shell .widefat,
.hrc8-app-shell .form-table,
.hrc8-app-shell .ttk8sr-dashboard-alert,
.hrc8-app-shell .ttk8sr-dashboard-action {
  border-color: var(--hrc8-shell-line);
}

.hrc8-app-shell .ttk8sr-panel {
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.hrc8-app-shell .widefat thead th {
  background: #093b36;
  color: #fff;
}

#toplevel_page_ttk8sr-dashboard .wp-submenu,
#toplevel_page_ttk8sr-dashboard .wp-submenu-wrap {
  background: #092f2b !important;
}

#toplevel_page_ttk8sr-dashboard .wp-submenu .ttk8sr-menu-section,
#toplevel_page_ttk8sr-dashboard .wp-submenu .ttk8sr-menu-subsection {
  color: #fff7ea !important;
  cursor: default;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  padding: 9px 12px 3px;
  text-transform: uppercase;
  white-space: normal;
}

#toplevel_page_ttk8sr-dashboard .wp-submenu .ttk8sr-menu-subsection {
  color: #f7ead4 !important;
  font-size: 11px;
  letter-spacing: .04em;
  padding-left: 22px;
  text-transform: uppercase;
}

#toplevel_page_ttk8sr-dashboard .wp-submenu a,
#toplevel_page_ttk8sr-dashboard .wp-submenu a:visited,
#toplevel_page_ttk8sr-dashboard .wp-submenu li.current a,
#toplevel_page_ttk8sr-dashboard .wp-submenu li.current a:hover {
  color: #fffdf7 !important;
}

#toplevel_page_ttk8sr-dashboard .wp-submenu a:hover,
#toplevel_page_ttk8sr-dashboard .wp-submenu a:focus {
  color: #ffffff !important;
}

#toplevel_page_ttk8sr-dashboard .wp-submenu li.ttk8sr-menu-level-2 a {
  padding-left: 30px !important;
}

#toplevel_page_ttk8sr-dashboard .wp-submenu li.ttk8sr-menu-level-3 a {
  font-size: 12px;
  padding-left: 42px !important;
}

.ttk8sr-wrap h1 {
  margin-bottom: 18px;
}

.hrc8-app-shell .hrc8-app-heading h1 {
  margin-bottom: 0;
}

.ttk8sr-panel {
  background: var(--ttk-panel);
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  padding: 16px;
  margin: 0 0 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.ttk8sr-schedule-main.is-schedule-draft,
.ttk8sr-schedule-form.is-schedule-draft {
  border-color: rgba(245, 158, 11, .55);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .16), 0 0 20px rgba(245, 158, 11, .18);
}

.ttk8sr-schedule-main.is-schedule-published,
.ttk8sr-schedule-form.is-schedule-published {
  border-color: rgba(16, 185, 129, .55);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .14), 0 0 20px rgba(16, 185, 129, .16);
}

.ttk8sr-panel h2 {
  font-size: 16px;
  margin: 0 0 12px;
}

.ttk8sr-settings-intro {
  background: #fff;
  border: 1px solid rgba(15, 54, 49, .12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
  margin: 0 0 14px;
  padding: 14px 16px;
}

.ttk8sr-settings-intro p {
  color: #334155;
  font-size: 14px;
  margin: 0;
}

.ttk8sr-settings-dashboard-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ttk8sr-settings-card {
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
  border: 1px solid rgba(15, 54, 49, .13);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
  color: #16251f;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 112px;
  padding: 16px;
  text-align: left;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.ttk8sr-settings-card:hover,
.ttk8sr-settings-card:focus {
  border-color: rgba(15, 130, 119, .55);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .09);
  outline: none;
  transform: translateY(-1px);
}

.ttk8sr-settings-card span {
  color: #0b3631;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.ttk8sr-settings-card small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.ttk8sr-settings-modal > div {
  max-height: calc(100vh - 64px);
  overflow: auto;
  position: relative;
  width: min(920px, calc(100vw - 36px));
}

.ttk8sr-settings-modal h2 {
  color: #0b3631;
  font-size: 21px;
  margin: 0 0 14px;
  padding-right: 96px;
}

.ttk8sr-settings-modal .ttk8sr-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
}

.ttk8sr-settings-field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ttk8sr-settings-field-grid label,
.ttk8sr-settings-modal .ttk8sr-current-link,
.ttk8sr-toggle-field {
  background: #f8faf9;
  border: 1px solid rgba(15, 54, 49, .10);
  border-radius: 8px;
  color: #334155;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  margin: 0;
  padding: 10px;
}

.ttk8sr-settings-field-grid input[type="text"],
.ttk8sr-settings-field-grid input[type="number"],
.ttk8sr-settings-field-grid select,
.ttk8sr-settings-field-grid textarea {
  max-width: none;
  width: 100%;
}

.ttk8sr-settings-field-grid textarea {
  min-height: 96px;
}

.ttk8sr-settings-field-grid .ttk8sr-wide-field,
.ttk8sr-settings-field-grid .ttk8sr-settings-subsection {
  grid-column: 1 / -1;
}

.ttk8sr-settings-modal .ttk8sr-current-link {
  font-weight: 700;
  justify-content: center;
}

.ttk8sr-settings-modal .ttk8sr-current-link code {
  background: #eef6f4;
  border-radius: 6px;
  color: #0b3631;
  display: block;
  overflow: auto;
  padding: 8px;
}

.ttk8sr-settings-subsection {
  border-top: 1px solid rgba(15, 54, 49, .12);
  margin-top: 4px;
  padding-top: 14px;
}

.ttk8sr-settings-subsection h3 {
  color: #0b3631;
  font-size: 15px;
  margin: 0 0 6px;
}

.ttk8sr-settings-tool-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ttk8sr-settings-modal .ttk8sr-module-settings {
  border: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.ttk8sr-settings-modal .ttk8sr-module-settings h2 {
  padding-right: 96px;
}

.ttk8sr-settings-dashboard-form {
  margin: 0;
}

@media (max-width: 1100px) {
  .ttk8sr-settings-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ttk8sr-settings-dashboard-grid,
  .ttk8sr-settings-field-grid {
    grid-template-columns: 1fr;
  }

  .ttk8sr-settings-card {
    min-height: 0;
  }
}

.ttk8sr-grid-2,
.ttk8sr-grid-3,
.ttk8sr-grid-4,
.ttk8sr-stat-grid {
  display: grid;
  gap: 16px;
}

.ttk8sr-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ttk8sr-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ttk8sr-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ttk8sr-colspan-3 {
  grid-column: span 3;
}

.ttk8sr-stat-grid {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  margin-bottom: 18px;
}

.ttk8sr-stat {
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  padding: 14px;
}

.ttk8sr-stat span {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
}

.ttk8sr-stat strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
}

.ttk8sr-dashboard-attention {
  border-color: #f97316;
}

.ttk8sr-dashboard-alert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ttk8sr-dashboard-alert {
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  padding: 11px;
  background: #f8fafc;
}

.ttk8sr-dashboard-alert.is-hot {
  border-color: #f97316;
  background: #fff7ed;
}

.ttk8sr-dashboard-alert h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.ttk8sr-dashboard-alert ul {
  margin: 0;
}

.ttk8sr-dashboard-alert li {
  margin: 0 0 7px;
}

.ttk8sr-dashboard-alert a,
.ttk8sr-dashboard-alert-link {
  display: block;
  font-weight: 700;
  text-decoration: none;
}

.ttk8sr-dashboard-alert-link {
  width: 100%;
  border: 1px solid transparent;
  padding: 0;
  background: transparent;
  color: #2271b1;
  cursor: pointer;
  text-align: left;
}

.ttk8sr-dashboard-alert-link:hover {
  color: #135e96;
}

.ttk8sr-dashboard-alert span {
  display: block;
  color: var(--ttk-muted);
  margin-top: 2px;
}

.ttk8sr-dashboard-alert-ack {
  margin-top: 6px;
}

.ttk8sr-work-right-limit-fieldset {
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fafc;
}

.ttk8sr-work-right-limit-fieldset .ttk8sr-check-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.ttk8sr-work-right-weekly-limit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.ttk8sr-work-right-weekly-limit input {
  max-width: 120px;
}

.ttk8sr-work-right-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.ttk8sr-work-right-summary div {
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
}

.ttk8sr-work-right-summary dt {
  color: var(--ttk-muted);
  font-size: 12px;
}

.ttk8sr-work-right-summary dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.ttk8sr-dashboard-alert-group small {
  color: var(--ttk-muted);
  display: block;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 2px;
}

.ttk8sr-dashboard-overview-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.ttk8sr-dashboard-overview {
  margin-bottom: 0;
}

.ttk8sr-dashboard-overview h2 {
  margin-bottom: 10px;
}

.ttk8sr-dashboard-overview ul {
  margin: 0;
}

.ttk8sr-dashboard-overview li {
  border-bottom: 1px solid var(--ttk-line);
  margin: 0;
  padding: 8px 0;
}

.ttk8sr-dashboard-overview li:first-child {
  padding-top: 0;
}

.ttk8sr-dashboard-overview li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ttk8sr-dashboard-overview a {
  color: var(--ttk-text);
  display: block;
  text-decoration: none;
}

.ttk8sr-dashboard-overview a:hover strong {
  color: var(--ttk-accent);
}

.ttk8sr-dashboard-overview strong,
.ttk8sr-dashboard-overview span {
  display: block;
}

.ttk8sr-dashboard-overview strong {
  font-size: 13px;
}

.ttk8sr-dashboard-overview span,
.ttk8sr-dashboard-overview p {
  color: var(--ttk-muted);
}

.ttk8sr-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ttk8sr-dashboard-action-group {
  margin-bottom: 0;
}

.ttk8sr-dashboard-action {
  display: block;
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  padding: 12px;
  margin: 0 0 10px;
  background: #fff;
  text-decoration: none;
}

.ttk8sr-dashboard-action:hover {
  border-color: var(--ttk-accent);
}

.ttk8sr-dashboard-action strong,
.ttk8sr-dashboard-action span {
  display: block;
}

.ttk8sr-dashboard-action span {
  color: var(--ttk-muted);
  margin-top: 3px;
}

.ttk8sr-dashboard-modal > div {
  position: relative;
  width: min(860px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.ttk8sr-dashboard-modal h2 {
  padding-right: 80px;
}

.ttk8sr-dashboard-modal > div > .ttk8sr-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.ttk8sr-dashboard-modal-actions,
.ttk8sr-day-detail-actions {
  margin-top: 14px;
}

.ttk8sr-zero-hour-dashboard {
  margin-bottom: 18px;
}

.ttk8sr-zero-hour-card.is-hot {
  background: linear-gradient(180deg, #fff, #fff7f7);
  border-color: rgba(185, 28, 28, .35);
}

.ttk8sr-zero-hour-card.is-warning {
  background: linear-gradient(180deg, #fff, #fffbeb);
  border-color: rgba(180, 83, 9, .35);
}

.ttk8sr-zero-hour-card.is-muted {
  opacity: .92;
}

.ttk8sr-zero-hour-admin-modal > div {
  width: min(1100px, calc(100vw - 36px));
}

.ttk8sr-zero-hour-show-all {
  margin-top: 12px;
}

.ttk8sr-zero-hour-show-all summary {
  color: #0f766e;
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 8px;
}

.ttk8sr-zero-hour-status {
  background: #e2e8f0;
  border-radius: 999px;
  color: #0f172a;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  white-space: nowrap;
}

.ttk8sr-zero-hour-status.is-manager_approved,
.ttk8sr-zero-hour-status.is-manager_changed,
.ttk8sr-zero-hour-status.is-paid {
  background: #dcfce7;
  color: #166534;
}

.ttk8sr-zero-hour-status.is-manager_pending,
.ttk8sr-zero-hour-status.is-offered {
  background: #fef3c7;
  color: #92400e;
}

.ttk8sr-zero-hour-status.is-rejected,
.ttk8sr-zero-hour-status.is-not_worked {
  background: #fee2e2;
  color: #991b1b;
}

.ttk8sr-zero-hour-status.is-accepted,
.ttk8sr-zero-hour-status.is-accepted_plan_conflict {
  background: #dbeafe;
  color: #1e40af;
}

.ttk8sr-contract-print-actions {
  margin: 0 0 16px;
}

.ttk8sr-contract-print-page {
  width: min(794px, 100%);
  margin: 0 auto;
  background: #fff;
  color: #111827;
  border: 0;
  border-radius: 0;
  padding: 24px 58px 44px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.ttk8sr-contract-print-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0 0 30px;
  text-align: center;
}

.ttk8sr-contract-print-header img {
  max-width: 190px;
  max-height: 92px;
  object-fit: contain;
}

.ttk8sr-contract-print-header h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ttk8sr-contract-print-section {
  margin: 46px 0 30px;
  break-inside: avoid;
}

.ttk8sr-contract-print-header + .ttk8sr-contract-print-section {
  margin-top: 12px;
}

.ttk8sr-contract-print-section h2 {
  margin: 0 0 16px;
  font-size: 17px;
  color: #111827;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ttk8sr-contract-compact-section p {
  margin: 0;
  color: #1f2937;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.42;
}

.ttk8sr-contract-plain-section p {
  margin: 0 0 14px;
  font-size: 18px;
}

.ttk8sr-contract-plain-section strong {
  font-weight: 700;
}

.ttk8sr-contract-framework-terms h2 {
  margin-top: 26px;
}

.ttk8sr-contract-framework-terms h2:first-child {
  margin-top: 0;
}

.ttk8sr-contract-framework-terms p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.5;
}

.ttk8sr-contract-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 20px;
  margin: 0;
}

.ttk8sr-contract-field {
  min-width: 0;
}

.ttk8sr-contract-field-wide {
  grid-column: 1 / -1;
}

.ttk8sr-contract-field dt {
  margin: 0 0 4px;
  padding: 0;
  color: #626c79;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.ttk8sr-contract-field dd {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #111827;
  background: transparent;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 400;
}

.ttk8sr-contract-terms {
  margin-top: 30px;
}

.ttk8sr-contract-terms p {
  margin: 0 0 18px;
}

.ttk8sr-contract-terms h2 {
  margin-top: 22px;
}

.ttk8sr-contract-terms ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: contract-term;
}

.ttk8sr-contract-terms li {
  counter-increment: contract-term;
  margin: 0 0 13px;
}

.ttk8sr-contract-terms li::before {
  content: counter(contract-term) ") ";
}

.ttk8sr-contract-signatures {
  margin-top: 30px;
}

.ttk8sr-contract-signatures h2 {
  margin-bottom: 8px;
}

.ttk8sr-contract-signatures p {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 400;
}

.ttk8sr-contract-welcome {
  margin-top: 34px;
}

.ttk8sr-contract-welcome p {
  margin: 0 0 10px;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
}

.ttk8sr-wide-field {
  grid-column: 1 / -1;
}

.ttk8sr-inline-form > h3,
.ttk8sr-inline-form > .ttk8sr-wide-field {
  flex: 0 0 100%;
}

.ttk8sr-inline-form > h3 {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--ttk-line);
}

.ttk8sr-contract-draft-conditional[hidden] {
  display: none;
}

.ttk8sr-contract-min-hours-field[hidden],
.ttk8sr-contract-fixed-term-reason[hidden],
.ttk8sr-contract-ending-type[hidden],
.ttk8sr-contract-ending-note[hidden],
.ttk8sr-contract-regression-warning[hidden],
.ttk8sr-contract-experience-field[hidden],
.ttk8sr-contract-vacation-fixed[hidden] {
  display: none !important;
}

.ttk8sr-contract-vacation-fixed {
  display: block;
  margin-top: 6px;
  color: #0f3d36;
  font-weight: 600;
}

.ttk8sr-contract-regression-warning,
.ttk8sr-duplicate-candidate {
  border: 1px solid #d8c68a;
  border-radius: 8px;
  background: #fff9df;
  padding: 14px;
  margin: 12px 0;
}

.ttk8sr-clickable-table > tbody > tr:not(.ttk8sr-day-detail-row) {
  cursor: pointer;
}

.ttk8sr-clickable-table > tbody > tr:not(.ttk8sr-day-detail-row):hover > td {
  background: #f8fafc;
}

.ttk8sr-clickable-table > tbody > tr.ttk8sr-day-detail-row {
  cursor: default;
}

.ttk8sr-wrap label {
  display: block;
  font-weight: 600;
  margin: 0 0 10px;
}

.ttk8sr-wrap input[type="text"],
.ttk8sr-wrap input[type="email"],
.ttk8sr-wrap input[type="number"],
.ttk8sr-wrap input[type="date"],
.ttk8sr-wrap input[type="month"],
.ttk8sr-wrap select,
.ttk8sr-wrap textarea {
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
}

.ttk8sr-wrap input[type="checkbox"] {
  width: auto;
}

.ttk8sr-wrap .ttk8sr-24h-time {
  max-width: 120px;
}

.ttk8sr-wrap textarea {
  min-height: 78px;
}

.ttk8sr-filter,
.ttk8sr-inline-form,
.ttk8sr-inline-actions,
.ttk8sr-row-actions {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.ttk8sr-admin-action-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ttk8sr-admin-action-row form,
.ttk8sr-message-delete-form {
  margin: 0;
}

.ttk8sr-message-delete-form {
  border-top: 1px solid var(--ttk-line);
  padding-top: 10px;
}

.ttk8sr-filter label,
.ttk8sr-inline-form label,
.ttk8sr-row-actions label {
  min-width: 180px;
  margin-bottom: 0;
}

.ttk8sr-row-actions input {
  width: 220px;
}

.ttk8sr-filter .ttk8sr-filter-check {
  align-items: center;
  display: flex;
  gap: 6px;
  min-width: auto;
}

.ttk8sr-checkbox-fieldset {
  min-width: 260px;
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  padding: 10px 12px;
}

.ttk8sr-checkbox-fieldset legend {
  padding: 0 6px;
  font-weight: 700;
}

.ttk8sr-check-row-stacked {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 8px 12px;
}

.ttk8sr-check-row-stacked label {
  min-width: 0;
}

.ttk8sr-table-scroll {
  overflow: auto;
  max-height: min(72vh, 760px);
  border: 1px solid var(--ttk-line);
}

.ttk8sr-schedule-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1580px;
  width: 100%;
  background: #fff;
}

.ttk8sr-schedule-table th,
.ttk8sr-schedule-table td {
  border-right: 1px solid var(--ttk-line);
  border-bottom: 1px solid var(--ttk-line);
  padding: 4px;
  vertical-align: top;
}

.ttk8sr-schedule-table .week-separator {
  border-left: 3px solid #334155;
}

.ttk8sr-schedule-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #eef2f2;
  text-align: center;
  min-width: 72px;
}

.ttk8sr-schedule-table thead th span,
.ttk8sr-schedule-table thead th strong {
  display: block;
  line-height: 1.1;
}

.ttk8sr-schedule-table thead th span {
  font-size: 11px;
  text-transform: lowercase;
}

.ttk8sr-schedule-table .sticky-name {
  position: sticky;
  left: 0;
  z-index: 4;
  min-width: 160px;
  background: #fff;
  vertical-align: middle;
}

.ttk8sr-schedule-table thead .sticky-name {
  background: #eef2f2;
}

.ttk8sr-name-cell {
  padding: 0;
}

.ttk8sr-row-menu-button {
  width: 100%;
  min-height: 58px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.ttk8sr-row-name,
.ttk8sr-row-hours {
  display: block;
}

.ttk8sr-row-hours {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.ttk8sr-resource-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: -4px 0 14px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.ttk8sr-resource-summary-item.is-over {
  color: #b45309;
}

.ttk8sr-resource-separator {
  color: #94a3b8;
}

.ttk8sr-resource-request-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 12px 0 0;
  max-width: 760px;
}

.ttk8sr-resource-request-form textarea {
  min-height: 46px;
}

.ttk8sr-schedule-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 0 0 12px;
}

.ttk8sr-popup-toggle-label,
.ttk8sr-warning-toggle-label,
.ttk8sr-published-edit-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 600;
}

.ttk8sr-published-edit-toggle-label {
  color: #065f46;
}

.ttk8sr-schedule-form.is-published-edit-locked:not(.is-published-edit-enabled) .ttk8sr-cell {
  cursor: not-allowed;
}

.ttk8sr-cell.has-promised-free-override {
  outline: 2px solid rgba(245, 158, 11, .65);
  outline-offset: -2px;
}

.ttk8sr-autosave-status {
  display: inline-block;
  min-width: 120px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  opacity: 1;
  transition: opacity 250ms ease;
}

.ttk8sr-autosave-status.is-fading {
  opacity: 0;
}

.ttk8sr-autohide-notice {
  opacity: 1;
  transition: opacity 300ms ease;
}

.ttk8sr-autohide-notice.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.ttk8sr-date-picker {
  position: absolute;
  z-index: 100200;
  width: 280px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
  padding: 10px;
}

.ttk8sr-date-picker[hidden] {
  display: none;
}

.ttk8sr-date-picker-head,
.ttk8sr-date-picker-weekdays,
.ttk8sr-date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.ttk8sr-date-picker-head {
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  margin-bottom: 8px;
}

.ttk8sr-date-picker-head strong {
  text-align: center;
}

.ttk8sr-date-picker button {
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
}

.ttk8sr-date-picker button:hover {
  border-color: #0f766e;
  background: #ecfdf5;
}

.ttk8sr-date-picker button:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.ttk8sr-date-picker-weekdays {
  margin-bottom: 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.ttk8sr-date-picker-days .is-outside {
  color: #94a3b8;
}

.ttk8sr-date-picker-days .is-selected {
  background: #0f766e;
  color: #fff;
}

.ttk8sr-cell {
  position: relative;
  width: 72px;
  min-width: 72px;
  height: 58px;
  padding: 3px 5px;
  overflow: hidden;
}

.ttk8sr-cell-row {
  height: 18px;
  line-height: 18px;
  overflow: hidden;
}

.ttk8sr-cell .ttk8sr-time-input,
.ttk8sr-wrap .ttk8sr-schedule-table .ttk8sr-cell input.ttk8sr-time-input[type="text"] {
  all: unset !important;
  display: block !important;
  width: 62px !important;
  min-width: 0 !important;
  max-width: 62px !important;
  min-height: 17px !important;
  height: 17px !important;
  line-height: 17px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border: 0 none transparent !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  background: none transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 none transparent !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  text-align: center;
  text-transform: uppercase;
}

.ttk8sr-wrap .ttk8sr-schedule-table input.ttk8sr-time-input[type="text"] {
  min-height: 0 !important;
  margin-top: 0 !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827;
}

.ttk8sr-cell .ttk8sr-time-input:focus,
.ttk8sr-cell .ttk8sr-time-input:focus-visible,
.ttk8sr-wrap .ttk8sr-schedule-table .ttk8sr-cell input.ttk8sr-time-input[type="text"]:focus {
  border: 0 none transparent !important;
  background: none transparent !important;
  box-shadow: none !important;
  outline: 0 none transparent !important;
}

.ttk8sr-cell-total {
  min-height: 18px;
  line-height: 18px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  color: #0f172a;
}

.ttk8sr-comment-bubble {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 9px;
  padding: 0;
  border: 1px solid #0f766e;
  border-radius: 6px;
  background: #ecfdf5;
  cursor: pointer;
}

.ttk8sr-comment-bubble::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -4px;
  width: 4px;
  height: 4px;
  border-left: 1px solid #0f766e;
  border-bottom: 1px solid #0f766e;
  background: #ecfdf5;
  transform: skew(-18deg);
}

.ttk8sr-comment-bubble.is-empty {
  display: none;
}

.ttk8sr-total {
  font-weight: 700;
  text-align: right;
  background: #f8fafc;
}

.ttk8sr-cell.code-v,
.ttk8sr-cell.code-x {
  background: #e0f2fe;
}

.ttk8sr-cell.code-vv {
  background: #dcfce7;
}

.ttk8sr-cell.code-vl {
  background: #fef3c7;
}

.ttk8sr-cell.code-sl {
  background: #fee2e2;
}

.ttk8sr-cell.has-promised-free {
  background-image: linear-gradient(135deg, rgba(109, 40, 217, .13), rgba(109, 40, 217, .04));
}

.ttk8sr-cell.code-dash {
  background: #f1f5f9;
}

.ttk8sr-schedule-table th.day-sunday,
.ttk8sr-schedule-table th.day-holiday,
.ttk8sr-schedule-table td.day-sunday,
.ttk8sr-schedule-table td.day-holiday {
  background-color: #fee2e2;
}

.ttk8sr-schedule-table th.day-eve,
.ttk8sr-schedule-table td.day-eve {
  background-color: #ffedd5;
}

.ttk8sr-schedule-table th.day-event {
  background-color: #fef08a;
}

.ttk8sr-schedule-table td.day-event:not(.day-holiday):not(.day-sunday):not(.day-eve) {
  background-color: #fffbeb;
}

.ttk8sr-cell-alert,
.ttk8sr-target-alert,
.ttk8sr-total-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.ttk8sr-cell-alert {
  position: absolute;
  top: 2px;
  left: 2px;
}

.ttk8sr-cell.is-drag-source {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}

.ttk8sr-cell.is-drag-target {
  box-shadow: inset 0 0 0 3px #0f766e;
}

.ttk8sr-drag-ghost {
  position: absolute;
  z-index: 100020;
  min-width: 118px;
  padding: 7px 10px;
  border: 1px solid #1d4ed8;
  border-radius: 8px;
  background: #eff6ff;
  color: #172554;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .2);
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.ttk8sr-drag-ghost.is-copy {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #064e3b;
}

.ttk8sr-target-total {
  min-width: 74px;
  text-align: right;
  font-weight: 700;
  background: #f8fafc;
}

.ttk8sr-warning-list-panel {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ttk-line);
}

.ttk8sr-time-table tr.ttk8sr-time-status-unconfirmed td {
  background: #fef9c3;
}

.ttk8sr-time-table tr.ttk8sr-time-status-confirmed_planned td {
  background: #dbeafe;
}

.ttk8sr-time-table tr.ttk8sr-time-status-pending_supervisor td {
  background: #f1f5f9;
}

.ttk8sr-time-table tr.ttk8sr-time-review-late td,
.ttk8sr-warning-list li.ttk8sr-time-review-late {
  background: #dbeafe;
}

.ttk8sr-time-table tr.ttk8sr-time-status-exception td,
.ttk8sr-time-table tr.ttk8sr-time-review-exception td,
.ttk8sr-warning-list li.ttk8sr-time-review-exception {
  background: #ffedd5;
}

.ttk8sr-time-table tr.ttk8sr-time-status-returned td {
  background: #fee2e2;
}

.ttk8sr-time-table tr.ttk8sr-time-status-approved td {
  background: transparent;
  color: #111827;
}

.ttk8sr-time-table tr.ttk8sr-time-status-empty td {
  background: #fff;
  color: #94a3b8;
}

.ttk8sr-time-range-separator {
  color: #64748b;
  font-weight: 700;
}

.ttk8sr-time-comment {
  min-width: 160px;
}

.ttk8sr-time-comment-late.has-gap {
  margin-top: 10px;
}

.ttk8sr-note-history {
  margin-top: 14px;
}

.ttk8sr-note-history h3 {
  margin: 12px 0 8px;
  font-size: 13px;
}

.ttk8sr-note-item {
  border-left: 3px solid #94a3b8;
  padding: 8px 10px;
  margin: 0 0 8px;
  background: #f8fafc;
}

.ttk8sr-note-item p {
  margin: 4px 0 0;
}

.ttk8sr-note-late {
  border-left-color: #2563eb;
  background: #dbeafe;
}

.ttk8sr-detail-toggle {
  cursor: pointer;
}

.ttk8sr-day-detail-row td {
  background: #f8fafc;
}

.ttk8sr-detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.ttk8sr-detail-list dt {
  color: #64748b;
  font-size: 12px;
}

.ttk8sr-detail-list dd {
  margin: 0;
  font-weight: 700;
}

.ttk8sr-audit-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.ttk8sr-audit-values h3 {
  margin: 0 0 8px;
}

.ttk8sr-status-done {
  color: #166534;
  font-weight: 700;
}

.ttk8sr-status-waiting {
  display: inline-block;
  margin: 0 0 8px;
  color: #9a3412;
  font-weight: 700;
}

.ttk8sr-payroll-missing summary,
.ttk8sr-payroll-employee > summary,
.ttk8sr-payroll-row > summary {
  cursor: pointer;
  font-weight: 700;
}

.ttk8sr-payroll-missing summary {
  display: flex;
  align-items: center;
  min-height: 38px;
}

.ttk8sr-payroll-browser {
  border: 1px solid #dbe7eb;
  border-radius: 8px;
  overflow: hidden;
}

.ttk8sr-payroll-employee {
  border-top: 1px solid #e7eef2;
  background: #fff;
}

.ttk8sr-payroll-employee:first-child {
  border-top: 0;
}

.ttk8sr-payroll-employee > summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  list-style-position: inside;
}

.ttk8sr-payroll-employee > summary span:first-child {
  margin-right: auto;
}

.ttk8sr-payroll-employee > summary span:not(:first-child) {
  color: #475569;
  font-size: 13px;
}

.ttk8sr-payroll-employee[open] > summary {
  background: #eef8f4;
  border-bottom: 1px solid #c7ddd8;
  box-shadow: inset 5px 0 0 #0f766e;
}

.ttk8sr-payroll-summary-grid {
  margin: 10px 14px 16px 32px;
  border: 1px solid #0b3b35;
  border-radius: 8px;
  overflow-x: auto;
  background: #0b3b35;
}

.ttk8sr-payroll-grid-head,
.ttk8sr-payroll-grid-row {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(90px, .7fr) minmax(80px, .6fr) minmax(180px, 1.2fr) minmax(220px, 1.5fr);
  align-items: center;
  gap: 12px;
  min-width: 880px;
  padding: 12px 16px;
}

.ttk8sr-payroll-grid-head {
  background: #073b34;
  color: #fff;
  font-weight: 700;
}

.ttk8sr-payroll-row {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.ttk8sr-payroll-row > summary {
  background: #113f39;
  color: #f7f2e8;
  font-weight: 600;
  list-style-position: inside;
}

.ttk8sr-payroll-row > summary:hover {
  background: #174d45;
}

.ttk8sr-payroll-row[open] > summary {
  background: #1d5c52;
  box-shadow: inset 4px 0 0 #f8d47a;
}

.ttk8sr-payroll-row.is-muted > summary {
  background: #52615f;
  color: rgba(247, 242, 232, 0.72);
}

.ttk8sr-payroll-row.is-muted[open] > summary {
  background: #61706e;
  box-shadow: inset 4px 0 0 #cbd5d0;
}

.ttk8sr-payroll-row-details {
  padding: 12px 16px 16px;
  background: #f8fafc;
  border-left: 4px solid #0f766e;
  border-bottom: 1px solid #d8ece8;
}

.ttk8sr-payroll-top-summary h2 {
  margin-top: 0;
}

.ttk8sr-payroll-summary-cards {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ttk8sr-payroll-summary-cards > div {
  border: 1px solid #d5e7e2;
  border-radius: 8px;
  background: #f7fbf9;
  padding: 12px 14px;
}

.ttk8sr-payroll-summary-cards span {
  display: block;
  color: #475569;
  font-size: 12px;
}

.ttk8sr-payroll-summary-cards strong {
  display: block;
  margin-top: 3px;
  color: #082f2b;
  font-size: 20px;
}

.ttk8sr-payroll-code-switches .ttk8sr-check-row,
.ttk8sr-payroll-code-switches {
  max-height: 55vh;
  overflow: auto;
}

.ttk8sr-payroll-code-switches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.ttk8sr-payroll-code-switches label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d5e7e2;
  border-radius: 7px;
  background: #f8fbfa;
}

.ttk8sr-filter-checkbox {
  align-self: end;
  padding-bottom: 7px;
}

.ttk8sr-summary-table {
  max-width: 620px;
  margin-top: 10px;
}

.ttk8sr-summary-table th {
  width: 70%;
  text-align: left;
}

.ttk8sr-summary-table td {
  text-align: right;
  font-weight: 700;
}

.ttk8sr-permission-editor {
  border: 2px solid #0f766e;
  box-shadow: 0 10px 22px rgba(15, 118, 110, .12);
}

.widefat tr.ttk8sr-row-highlight td {
  background: #eaf7f4;
  box-shadow: inset 4px 0 0 #0f766e;
}

.ttk8sr-vacation-filter .ttk8sr-check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 280px;
}

.ttk8sr-vacation-filter .ttk8sr-check-row label {
  min-width: 0;
}

.ttk8sr-filter-fieldset {
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  margin: 0;
  padding: 8px 10px 10px;
  min-width: 220px;
}

.ttk8sr-filter-fieldset legend {
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  padding: 0 4px;
}

.ttk8sr-filter-fieldset .ttk8sr-check-row-stacked {
  margin: 0;
  gap: 8px 12px;
}

.ttk8sr-vacation-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  color: #334155;
  font-size: 13px;
}

.ttk8sr-vacation-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ttk8sr-vacation-key {
  display: inline-block;
  width: 18px;
  height: 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12);
}

.ttk8sr-vacation-gantt {
  --ttk-gantt-name-width: 240px;
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.ttk8sr-vacation-gantt-scroll {
  max-height: calc(100vh - 265px);
  overflow: auto;
  background: #f8fafc;
}

.ttk8sr-vacation-gantt-header,
.ttk8sr-vacation-gantt-row {
  display: grid;
  grid-template-columns: var(--ttk-gantt-name-width) var(--ttk-timeline-width);
  min-width: calc(var(--ttk-gantt-name-width) + var(--ttk-timeline-width));
}

.ttk8sr-vacation-gantt-header {
  position: sticky;
  top: 0;
  z-index: 25;
}

.ttk8sr-vacation-gantt-name {
  position: sticky;
  left: 0;
  z-index: 12;
  min-height: var(--ttk-row-height);
  padding: 9px 12px;
  border-right: 1px solid #cbd5e1;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  box-sizing: border-box;
}

.ttk8sr-vacation-gantt-name strong {
  display: block;
  color: #0f172a;
}

.ttk8sr-vacation-gantt-name span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.ttk8sr-vacation-gantt-name-head {
  z-index: 35;
  min-height: 64px;
  border-bottom-color: #052c27;
  background: #073b34;
  color: #fff;
  font-weight: 800;
}

.ttk8sr-vacation-axis {
  position: relative;
  width: var(--ttk-timeline-width);
  height: 64px;
  border-bottom: 1px solid #052c27;
  background: #073b34;
  color: #fff;
}

.ttk8sr-vacation-months,
.ttk8sr-vacation-ticks {
  position: absolute;
  right: 0;
  left: 0;
}

.ttk8sr-vacation-months {
  top: 0;
  height: 30px;
}

.ttk8sr-vacation-ticks {
  top: 30px;
  height: 34px;
}

.ttk8sr-vacation-month,
.ttk8sr-vacation-tick {
  position: absolute;
  box-sizing: border-box;
}

.ttk8sr-vacation-month {
  top: 0;
  height: 30px;
  padding: 7px 8px 0;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, .25);
  color: #d7f5ee;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ttk8sr-vacation-tick {
  top: 0;
  height: 34px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.ttk8sr-vacation-tick span {
  display: block;
  padding: 8px 0 0 5px;
  color: #ecfeff;
  font-size: 11px;
  white-space: nowrap;
}

.ttk8sr-vacation-today-head {
  position: absolute;
  top: 3px;
  bottom: 0;
  z-index: 4;
  width: 2px;
  color: #facc15;
  font-size: 11px;
  font-weight: 800;
  text-indent: 5px;
  background: #facc15;
}

.ttk8sr-vacation-gantt-row {
  min-height: var(--ttk-row-height);
}

.ttk8sr-vacation-track {
  position: relative;
  width: var(--ttk-timeline-width);
  height: var(--ttk-row-height);
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc;
  background-image: repeating-linear-gradient(to right, rgba(148, 163, 184, .42) 0, rgba(148, 163, 184, .42) 1px, transparent 1px, transparent var(--ttk-day-width));
  background-position: 0 0;
  background-size: auto;
  box-sizing: border-box;
}

.ttk8sr-vacation-day-add {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  border: 0;
  border-left: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  cursor: crosshair;
}

.ttk8sr-vacation-grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 0;
  pointer-events: none;
}

.ttk8sr-vacation-grid-line.is-week-start {
  border-left: 2px solid rgba(71, 85, 105, .42);
}

.ttk8sr-vacation-grid-line.is-month-start {
  border-left: 2px dashed rgba(15, 23, 42, .5);
}

.ttk8sr-vacation-day-add:hover,
.ttk8sr-vacation-day-add:focus {
  background: rgba(250, 204, 21, .16);
  outline: 2px solid rgba(180, 83, 9, .22);
  outline-offset: -2px;
}

.ttk8sr-vacation-gantt-row:nth-child(even) .ttk8sr-vacation-track,
.ttk8sr-vacation-gantt-row:nth-child(even) .ttk8sr-vacation-gantt-name {
  background-color: #f1f5f9;
}

.ttk8sr-vacation-today-line {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 2px;
  background: #facc15;
  pointer-events: none;
}

.ttk8sr-vacation-bar {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 3px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 2px 7px rgba(15, 23, 42, .18);
  box-sizing: border-box;
  color: #fff;
  font: inherit;
  font-size: 12px;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}

button.ttk8sr-vacation-bar {
  cursor: pointer;
}

button.ttk8sr-vacation-bar:hover,
button.ttk8sr-vacation-bar:focus {
  filter: brightness(.96);
  outline: 2px solid rgba(15, 118, 110, .28);
  outline-offset: 2px;
}

.ttk8sr-vacation-bar span {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
}

.ttk8sr-vacation-bar small {
  flex: 0 0 auto;
  opacity: .86;
}

.ttk8sr-vacation-bar em {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.ttk8sr-vacation-bar-vl {
  background: #047857;
}

.ttk8sr-vacation-bar-sl {
  background: #be123c;
}

.ttk8sr-vacation-bar-vv {
  background: #2563eb;
}

.ttk8sr-vacation-bar-request {
  border-color: rgba(15, 23, 42, .9);
  background: rgba(191, 219, 254, .62);
  box-shadow: 0 2px 7px rgba(15, 23, 42, .12);
  color: #0f172a;
}

.ttk8sr-vacation-bar-draft {
  background: #facc15;
  color: #713f12;
}

.ttk8sr-vacation-bar-pending {
  background: #f97316;
}

.ttk8sr-vacation-bar-other {
  background: #2563eb;
}

.ttk8sr-calendar-confirm-form {
  margin: 0 0 12px;
}

.ttk8sr-calendar-absence-employee {
  margin: 0 0 14px;
  color: #334155;
}

.ttk8sr-calendar-vacation-preview {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  background: #f0fdf4;
  color: #0f172a;
}

.ttk8sr-vacation-balance-main {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.ttk8sr-vacation-balance-main span {
  color: #047857;
  font-size: 18px;
  font-weight: 800;
}

.ttk8sr-vacation-balance-breakdown {
  color: #475569;
  font-size: 12px;
  line-height: 1.35;
}

.ttk8sr-vacation-balance-card-static {
  margin: 0 0 12px;
}

.ttk8sr-technical-audit {
  margin-top: 14px;
}

.ttk8sr-technical-audit summary {
  cursor: pointer;
  color: #334155;
  font-weight: 700;
}

.ttk8sr-technical-audit textarea {
  width: 100%;
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.ttk8sr-calendar-vacation-extension {
  padding: 12px;
  border: 1px solid #fbbf24;
  border-radius: 6px;
  background: #fffbeb;
  color: #78350f;
}

.ttk8sr-calendar-vacation-minimum,
.ttk8sr-calendar-vacation-note {
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 700;
}

.ttk8sr-calendar-vacation-minimum {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.ttk8sr-calendar-vacation-note {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #854d0e;
}

.ttk8sr-calendar-vacation-extension p {
  margin: 0 0 10px;
  font-weight: 700;
}

.ttk8sr-sick-shift-fields,
.ttk8sr-sick-partial-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.ttk8sr-sick-basis-note,
.ttk8sr-sick-partial-note {
  grid-column: 1 / -1;
  margin: 0;
}

.ttk8sr-inline-delete-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.ttk8sr-vacation-list-table th,
.ttk8sr-vacation-list-table td {
  vertical-align: top;
}

.ttk8sr-vacation-list-table .button {
  white-space: nowrap;
}

.ttk8sr-muted-block {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
}

.ttk8sr-cell-menu {
  position: absolute;
  z-index: 100001;
  width: 240px;
  max-height: 72vh;
  overflow: auto;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .22);
}

.ttk8sr-row-menu,
.ttk8sr-day-menu {
  position: fixed;
  z-index: 100010;
  width: 260px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .22);
}

.ttk8sr-day-menu {
  position: absolute;
}

.ttk8sr-row-menu[hidden],
.ttk8sr-day-menu[hidden] {
  display: none;
}

.ttk8sr-row-menu button,
.ttk8sr-row-menu a,
.ttk8sr-day-menu button {
  display: block;
  width: 100%;
  min-height: 30px;
  margin: 0 0 6px;
  padding: 5px 8px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #f8fafc;
  text-align: left;
  text-decoration: none;
  color: #0f172a;
  box-sizing: border-box;
}

.ttk8sr-row-menu label {
  margin: 8px 0;
}

.ttk8sr-row-time-modal iframe {
  width: min(1100px, 82vw);
  height: min(720px, 74vh);
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  background: #fff;
}

.ttk8sr-template-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.ttk8sr-popup-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}

.ttk8sr-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ttk8sr-tabs a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #f8fafc;
  text-decoration: none;
}

.ttk8sr-tabs a.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #fff;
}

.ttk8sr-cell-menu[hidden] {
  display: none;
}

.ttk8sr-cell-menu-title {
  margin: 8px 0 5px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ttk-muted);
  text-transform: uppercase;
}

.ttk8sr-cell-menu-title:first-child {
  margin-top: 0;
}

.ttk8sr-cell-menu button {
  display: block;
  width: 100%;
  min-height: 28px;
  margin: 0 0 4px;
  padding: 4px 8px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
}

.ttk8sr-cell-menu button:hover {
  background: #e6f4f1;
  border-color: #94d5cb;
}

.ttk8sr-cell-menu p,
.ttk8sr-cell-menu-empty {
  display: block;
  margin: 8px 0 0;
  color: var(--ttk-muted);
  font-size: 11px;
}

.ttk8sr-time-wheel {
  position: absolute;
  z-index: 100002;
  width: 300px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .22);
}

.ttk8sr-time-wheel[hidden] {
  display: none;
}

.ttk8sr-time-wheel-title {
  margin: 8px 0 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--ttk-muted);
  text-transform: uppercase;
}

.ttk8sr-time-wheel-title:first-child {
  margin-top: 0;
}

.ttk8sr-time-wheel-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ttk8sr-time-wheel-cols > div {
  max-height: 150px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 6px;
}

.ttk8sr-time-wheel-cols strong {
  display: block;
  position: sticky;
  top: -6px;
  background: #fff;
  padding: 0 0 4px;
  font-size: 11px;
}

.ttk8sr-time-wheel button {
  min-height: 28px;
  border: 1px solid #d7dee8;
  border-radius: 6px;
  background: #f8fafc;
  cursor: pointer;
}

.ttk8sr-time-wheel-cols button {
  display: block;
  width: 100%;
  margin: 0 0 4px;
}

.ttk8sr-time-wheel button:hover,
.ttk8sr-time-wheel button.is-selected {
  background: #e6f4f1;
  border-color: #94d5cb;
}

.ttk8sr-time-wheel-codes,
.ttk8sr-time-wheel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ttk8sr-time-wheel-codes button {
  min-width: 38px;
  padding: 0 8px;
  text-align: center;
}

.ttk8sr-time-wheel label {
  margin-top: 10px;
}

.ttk8sr-time-wheel textarea {
  width: 100%;
  margin-top: 4px;
  min-height: 64px;
}

.ttk8sr-time-wheel-actions button {
  padding: 0 10px;
}

.ttk8sr-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-weight: 700;
  margin: 0 8px 12px 0;
}

.ttk8sr-badge-ok {
  background: #dcfce7;
  color: #166534;
}

.ttk8sr-badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.ttk8sr-warning-list {
  margin: 0;
}

.ttk8sr-warning-list li {
  list-style: none;
  border-left: 4px solid var(--ttk-amber);
  background: #fffbeb;
  padding: 8px 10px;
  margin: 0 0 8px;
}

.ttk8sr-warning-list .severity-critical {
  border-left-color: var(--ttk-red);
  background: #fef2f2;
}

.ttk8sr-warning-list .severity-notice {
  border-left-color: var(--ttk-blue);
  background: #eff6ff;
}

.ttk8sr-compact-list {
  margin: 0;
}

.ttk8sr-compact-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #eef2f7;
}

.ttk8sr-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
}

.ttk8sr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, .52);
  align-items: center;
  justify-content: center;
}

.ttk8sr-modal.is-visible {
  display: flex;
}

.ttk8sr-modal > div {
  width: min(520px, calc(100vw - 32px));
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
}

.ttk8sr-final-balance-modal > div {
  width: min(680px, calc(100vw - 32px));
}

.ttk8sr-final-balance-summary {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.ttk8sr-vacation-payroll-form fieldset,
.ttk8sr-final-payroll-form fieldset,
.ttk8sr-vacation-return-form fieldset {
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  margin: 0 0 14px;
  padding: 12px;
}

.ttk8sr-vacation-payroll-form label,
.ttk8sr-final-payroll-form label,
.ttk8sr-vacation-return-form label {
  display: block;
  margin: 0 0 8px;
}

.ttk8sr-vacation-payroll-table .ttk8sr-month-row th {
  background: #e0f2fe;
  color: #0c4a6e;
  text-transform: none;
}

.ttk8sr-vacation-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 700;
  background: #e2e8f0;
  color: #0f172a;
}

.ttk8sr-absence-employee-table tbody tr,
.ttk8sr-absence-timeline-table tbody tr {
  cursor: pointer;
}

.ttk8sr-absence-person-modal > div,
.ttk8sr-absence-edit-modal > div,
.ttk8sr-absence-readonly-modal > div {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 56px);
  overflow: auto;
}

.ttk8sr-absence-timeline-table .ttk8sr-absence-row td:first-child {
  border-left: 6px solid transparent;
  font-weight: 700;
}

.ttk8sr-absence-row.is-sick td {
  background: #fff1f2;
}

.ttk8sr-absence-row.is-sick td:first-child {
  border-left-color: #be123c;
}

.ttk8sr-absence-row.is-vacation td {
  background: #ecfdf5;
}

.ttk8sr-absence-row.is-vacation td:first-child {
  border-left-color: #047857;
}

.ttk8sr-absence-row.is-vv td {
  background: #eff6ff;
}

.ttk8sr-absence-row.is-vv td:first-child {
  border-left-color: #2563eb;
}

.ttk8sr-absence-row.is-family td {
  background: #eff6ff;
}

.ttk8sr-absence-row.is-family td:first-child {
  border-left-color: #2563eb;
}

.ttk8sr-absence-row.is-combo td {
  background: #fff7ed;
}

.ttk8sr-absence-row.is-combo td:first-child {
  border-left-color: #b45309;
}

.ttk8sr-absence-row.is-other td {
  background: #f8fafc;
}

.ttk8sr-absence-row.is-other td:first-child {
  border-left-color: #475569;
}

.ttk8sr-absence-combo-note {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.ttk8sr-absence-parts-editor {
  display: block;
  margin: 0 0 4px;
}

.ttk8sr-absence-parts-editor h3 {
  margin: 0 0 8px;
}

.ttk8sr-absence-part-card {
  border-top: 1px solid #d8ded6;
  padding: 18px 0 16px;
}

.ttk8sr-absence-part-card:first-of-type {
  border-top: 0;
  padding-top: 4px;
}

.ttk8sr-absence-part-card h4 {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
}

.ttk8sr-absence-part-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ttk8sr-absence-part-grid label {
  min-width: 0;
}

.ttk8sr-absence-part-grid input,
.ttk8sr-absence-part-grid select,
.ttk8sr-absence-part-grid textarea {
  width: 100%;
}

.ttk8sr-absence-part-grid .ttk8sr-wide-field {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .ttk8sr-absence-part-grid {
    grid-template-columns: 1fr;
  }
}

.ttk8sr-absence-part-table th,
.ttk8sr-absence-part-table td {
  vertical-align: middle;
}

.ttk8sr-absence-part-table select,
.ttk8sr-absence-part-table input,
.ttk8sr-absence-part-table textarea {
  width: 100%;
}

.ttk8sr-absence-part-table textarea {
  min-height: 64px;
}

.ttk8sr-unpaid-reason-field {
  display: none !important;
}

.ttk8sr-unpaid-reason-field.is-visible {
  display: block !important;
}

.ttk8sr-muted-value {
  color: #64748b;
  font-weight: 700;
}

.ttk8sr-vacation-status.is-upcoming {
  background: #dbeafe;
  color: #1d4ed8;
}

.ttk8sr-vacation-status.is-warning {
  background: #fef3c7;
  color: #92400e;
}

.ttk8sr-vacation-status.is-critical,
.ttk8sr-vacation-status.is-overdue {
  background: #fee2e2;
  color: #991b1b;
}

.ttk8sr-employee-card-open {
  position: relative;
  border: 2px solid #0f766e;
}

.ttk8sr-employee-card-section {
  border-top: 1px solid #d8ded6;
  margin-top: 16px;
  padding-top: 14px;
}

.ttk8sr-employee-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

.ttk8sr-employee-card-actions .ttk8sr-inline-form {
  margin: 0;
}

.ttk8sr-icon-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 36px;
  padding: 0 8px !important;
}

.ttk8sr-danger-panel {
  border-color: #fecaca;
  color: #7f1d1d;
}

.ttk8sr-card-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
}

.ttk8sr-card-close:hover,
.ttk8sr-card-close:focus {
  border-color: #0f766e;
  color: #0f766e;
}

.ttk8sr-vacation-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(92px, 1fr));
  gap: 4px;
  min-width: 610px;
}

.ttk8sr-vacation-progress span,
.ttk8sr-vacation-progress button {
  min-height: 28px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}

.ttk8sr-vacation-progress span.is-done,
.ttk8sr-vacation-progress button.is-done {
  background: #dcfce7;
  color: #166534;
}

.ttk8sr-vacation-progress span.is-skipped,
.ttk8sr-vacation-progress button.is-skipped {
  background: #e0e7ff;
  color: #3730a3;
}

.ttk8sr-vacation-progress button:hover,
.ttk8sr-vacation-progress button:focus {
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
  outline: none;
}

.ttk8sr-vacation-workflow-table td {
  vertical-align: middle;
}

.ttk8sr-permissions-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.ttk8sr-permissions-form > label,
.ttk8sr-permissions-form > p,
.ttk8sr-permissions-form > button {
  grid-column: 1 / -1;
}

.ttk8sr-permission-group {
  margin: 0;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

.ttk8sr-permission-group legend {
  padding: 0 6px;
  font-weight: 700;
}

.ttk8sr-permission-group label {
  display: block;
  margin: 8px 0;
}

.ttk8sr-permission-group-toggle {
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
}

.ttk8sr-vacation-label-separator {
  font-weight: 400;
}

.ttk8sr-request-context {
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  background: #eff6ff;
}

.ttk8sr-request-context ul {
  margin: 6px 0 10px 18px;
}

.ttk8sr-flex-ledger-table td {
  background: transparent;
}

.ttk8sr-time-actual-changed {
  font-weight: 600;
}

.ttk8sr-time-table .ttk8sr-time-actual-head,
.ttk8sr-time-table .ttk8sr-time-actual-cell {
  width: 98px;
  white-space: nowrap;
}

.ttk8sr-time-table .ttk8sr-time-comment-head,
.ttk8sr-time-table .ttk8sr-time-comment-cell {
  width: 150px;
  max-width: 150px;
}

.ttk8sr-time-comment-preview {
  display: block;
  overflow: hidden;
  max-width: 150px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ttk8sr-time-detail-comments {
  margin-top: 10px;
}

.ttk8sr-status-approved-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 11px;
  line-height: 1;
}

.ttk8sr-time-planned-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
}

.ttk8sr-time-planned-detail div {
  min-width: auto;
}

.ttk8sr-time-planned-detail dt,
.ttk8sr-time-planned-detail dd {
  display: inline;
}

.ttk8sr-time-planned-detail dt::after {
  content: ": ";
}

.ttk8sr-guide-editor {
  display: grid;
  gap: 8px;
}

.ttk8sr-guide-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ttk8sr-guide-editor textarea {
  width: 100%;
  min-height: 260px;
  font-family: inherit;
}

.ttk8sr-payroll-codes-table input[type="text"] {
  width: 100%;
}

.ttk8sr-payroll-codes-table textarea {
  width: 100%;
  min-width: 260px;
}

.ttk8sr-payroll-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border: 1px solid #94a3b8;
  border-radius: 50%;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ttk8sr-module-test-mode {
  position: relative;
  box-shadow: inset 0 0 0 3px rgba(220, 38, 38, 0.42);
  border-radius: 6px;
  padding: 10px 14px 16px;
}

.ttk8sr-module-test-notice {
  border-left-color: #dc2626;
  margin: 8px 0 14px;
}

.ttk8sr-module-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.ttk8sr-module-toggle-card {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  min-height: 108px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

.ttk8sr-module-toggle-card.is-disabled {
  border-color: #fca5a5;
  background: #fff7f7;
}

.ttk8sr-module-toggle-card input {
  margin-top: 3px;
}

.ttk8sr-module-toggle-card strong,
.ttk8sr-module-toggle-card small,
.ttk8sr-module-toggle-card em {
  display: block;
}

.ttk8sr-module-toggle-card small {
  margin: 3px 0 8px;
  color: #64748b;
}

.ttk8sr-module-toggle-card em {
  color: #334155;
  font-style: normal;
  line-height: 1.45;
}

.ttk8sr-checklist-template-list {
  display: grid;
  gap: 8px;
}

.ttk8sr-checklist-workflow-list {
  display: grid;
  gap: 8px;
}

.ttk8sr-checklist-workflow-row {
  align-items: center;
  background: #fff;
  border: 1px solid #d7dee8;
  border-left: 5px solid #94a3b8;
  border-radius: 8px;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.ttk8sr-checklist-workflow-row strong,
.ttk8sr-checklist-workflow-row small {
  display: block;
}

.ttk8sr-checklist-workflow-row small,
.ttk8sr-checklist-workflow-meta {
  color: #64748b;
}

.ttk8sr-checklist-workflow-row:hover,
.ttk8sr-checklist-workflow-row:focus {
  border-color: var(--ttk-accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .12);
  outline: 0;
}

.ttk8sr-checklist-workflow-row.is-overdue {
  border-left-color: #dc2626;
}

.ttk8sr-checklist-workflow-row.is-soon {
  border-left-color: #f59e0b;
}

.ttk8sr-checklist-workflow-row.is-done-recent {
  opacity: .55;
  text-decoration: line-through;
}

.ttk8sr-checklist-toolbar {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.ttk8sr-checklist-template-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  padding: 12px 14px;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.ttk8sr-checklist-template-row strong,
.ttk8sr-checklist-template-row small {
  display: block;
}

.ttk8sr-checklist-template-row small {
  color: #64748b;
  font-weight: 500;
  margin-top: 3px;
}

.ttk8sr-checklist-template-row:hover,
.ttk8sr-checklist-template-row:focus {
  border-color: var(--ttk-accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .12);
  outline: 0;
}

.ttk8sr-checklist-template-row.is-inactive {
  opacity: .55;
}

.ttk8sr-checklist-reseed-notice ul {
  columns: 2;
  list-style: disc;
  margin: 8px 0 12px 20px;
  max-width: 760px;
}

.ttk8sr-checklist-reseed-notice li {
  break-inside: avoid;
  margin: 0 0 4px;
}

.ttk8sr-checklist-template-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px 18px;
  margin-top: 16px;
}

.ttk8sr-checklist-template-form label:not(.ttk8sr-checkline),
.ttk8sr-checklist-start-fields label,
.ttk8sr-checklist-end-fields label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  color: #334155;
  font-weight: 700;
}

.ttk8sr-checklist-template-form input[type="text"],
.ttk8sr-checklist-template-form input[type="url"],
.ttk8sr-checklist-template-form input[type="number"],
.ttk8sr-checklist-template-form textarea {
  width: 100%;
  max-width: 100%;
  border-color: #cbd5e1;
  border-radius: 8px;
  font-weight: 400;
}

.ttk8sr-checklist-template-form textarea {
  min-height: 92px;
}

.ttk8sr-checklist-modal > div {
  width: min(980px, calc(100vw - 48px));
  padding: 26px;
}

.ttk8sr-checklist-task-modal > div {
  width: min(980px, calc(100vw - 48px));
}

.ttk8sr-checklist-task-card {
  border: 1px solid #d7dee8;
  border-radius: 8px;
  margin: 14px 0 0;
  padding: 14px;
}

.ttk8sr-checklist-task-card.is-done-recent {
  background: #f8fafc;
  opacity: .68;
}

.ttk8sr-checklist-task-card h3 {
  margin: 0 0 4px;
}

.ttk8sr-checklist-task-instruction {
  background: #f8fafc;
  border-radius: 6px;
  margin: 10px 0;
  padding: 10px 12px;
}

.ttk8sr-checklist-note-form {
  background: #f8fafc;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  margin-top: 12px;
  padding: 12px;
}

.ttk8sr-checklist-note-form label {
  color: #334155;
  display: grid;
  gap: 6px;
  font-weight: 700;
  margin: 0;
}

.ttk8sr-checklist-note-form textarea {
  min-height: 88px;
  width: 100%;
}

.ttk8sr-checklist-note-form p {
  margin: 10px 0 0;
}

.ttk8sr-checklist-task-data {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
}

.ttk8sr-checklist-task-data div {
  min-width: 0;
}

.ttk8sr-checklist-task-data dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 2px;
}

.ttk8sr-checklist-task-data dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.ttk8sr-checklist-required-control {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ttk8sr-checklist-field-picker > div {
  width: min(920px, calc(100vw - 48px));
}

.ttk8sr-checklist-field-options {
  display: grid;
  gap: 10px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.ttk8sr-checklist-template-form .ttk8sr-checklist-field-options label,
.ttk8sr-checklist-field-picker .ttk8sr-checklist-field-options label {
  align-items: center !important;
  background: #f8fafc;
  border: 1px solid #d7dee8;
  border-radius: 10px;
  color: #243244;
  cursor: pointer;
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  line-height: 1.25;
  margin: 0 !important;
  min-height: 46px;
  padding: 10px 12px !important;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.ttk8sr-checklist-template-form .ttk8sr-checklist-field-options label:hover,
.ttk8sr-checklist-field-picker .ttk8sr-checklist-field-options label:hover {
  background: #eef6f6;
  border-color: #9bc6cd;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .06);
}

.ttk8sr-checklist-template-form .ttk8sr-checklist-field-options label:has(input:checked),
.ttk8sr-checklist-field-picker .ttk8sr-checklist-field-options label:has(input:checked) {
  background: #e6f7f2;
  border-color: #128a7d;
  color: #083f3a;
}

.ttk8sr-checklist-template-form .ttk8sr-checklist-field-options input[type="checkbox"],
.ttk8sr-checklist-field-picker .ttk8sr-checklist-field-options input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  background: #fff !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  cursor: pointer;
  flex: 0 0 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  margin: 0 !important;
  max-height: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  min-width: 18px !important;
  padding: 0 !important;
  width: 18px !important;
}

.ttk8sr-checklist-template-form .ttk8sr-checklist-field-options input[type="checkbox"]:focus-visible,
.ttk8sr-checklist-field-picker .ttk8sr-checklist-field-options input[type="checkbox"]:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

.ttk8sr-checklist-modal-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.ttk8sr-checkline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
}

.ttk8sr-birthday-table tr.ttk8sr-birthday-soon td {
  background: #ecfeff;
}

.ttk8sr-checklist-rules {
  grid-column: 1 / -1;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 10px 12px;
}

.ttk8sr-checklist-rules h3 {
  grid-column: 1 / -1;
  margin: 0 0 6px;
}

.ttk8sr-checklist-rules > .description {
  grid-column: 1 / -1;
  margin: -4px 0 0;
}

.ttk8sr-checklist-checkboxes {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 10px 0 0;
  padding: 0;
}

.ttk8sr-checklist-checkboxes legend {
  color: #334155;
  font-weight: 700;
  margin-bottom: 4px;
}

.ttk8sr-checklist-checkboxes label {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-width: 0 !important;
  font-weight: 500 !important;
}

.ttk8sr-checklist-scope-field {
  border: 1px solid #d7dee8;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.ttk8sr-checklist-scope-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 700;
}

.ttk8sr-toggle-switch {
  display: inline-flex !important;
  position: relative;
  width: 54px;
  height: 30px;
  min-width: 54px !important;
  margin: 0 !important;
}

.ttk8sr-toggle-switch input {
  opacity: 0;
  position: absolute;
  inset: 0;
}

.ttk8sr-toggle-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: background .18s ease;
}

.ttk8sr-toggle-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.22);
  transition: transform .18s ease;
}

.ttk8sr-toggle-switch input:checked + span {
  background: #0f766e;
}

.ttk8sr-toggle-switch input:checked + span::after {
  transform: translateX(24px);
}

.ttk8sr-checklist-start-fields,
.ttk8sr-checklist-end-fields {
  border: 1px solid #d7dee8;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  grid-column: 1 / -1;
  padding: 10px 12px;
}

.ttk8sr-checklist-start-fields summary,
.ttk8sr-checklist-end-fields summary {
  cursor: pointer;
  font-weight: 800;
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.ttk8sr-checklist-modal .ttk8sr-inline-actions {
  border-top: 1px solid #e2e8f0;
  justify-content: flex-end;
  margin: 14px 0 0;
  padding-top: 14px;
}

.ttk8sr-checklist-table textarea {
  width: 100%;
}

.ttk8sr-checklist-table tr.ttk8sr-checklist-hot td {
  background: #fff1f2;
}

.ttk8sr-checklist-panel-attention {
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff7f7;
  padding: 0;
}

.ttk8sr-checklist-panel-attention > summary {
  color: #991b1b;
  font-weight: 700;
}

.ttk8sr-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 10px 14px;
  margin: 8px 0 14px;
}

.ttk8sr-link-grid input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.ttk8sr-vv-manual-table {
  min-width: 1260px;
}

.ttk8sr-vv-manual-table th,
.ttk8sr-vv-manual-table td {
  vertical-align: middle;
}

.ttk8sr-vv-manual-table input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 76px;
}

.ttk8sr-vv-manual-table input[type="number"]::-webkit-outer-spin-button,
.ttk8sr-vv-manual-table input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ttk8sr-vv-month-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
}

.ttk8sr-vv-month-inputs label {
  display: grid;
  grid-template-columns: 42px 76px;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.ttk8sr-vv-month-inputs span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.ttk8sr-vv-manual-table th:first-child,
.ttk8sr-vv-manual-table td:first-child {
  min-width: 220px;
}

.ttk8sr-vv-row-summary,
.ttk8sr-vv-row-note,
.ttk8sr-vv-opening-readonly {
  display: inline-block;
  margin-top: 4px;
  color: #475569;
  font-weight: 700;
  line-height: 1.35;
}

.ttk8sr-vv-row-note {
  color: #64748b;
  font-weight: 600;
}

.ttk8sr-vv-opening-readonly {
  margin-top: 0;
  white-space: nowrap;
}

.ttk8sr-admin-accordion {
  padding: 0;
}

.ttk8sr-admin-accordion > summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.ttk8sr-admin-accordion > summary::-webkit-details-marker {
  display: none;
}

.ttk8sr-admin-accordion > summary::after {
  content: "+";
  float: right;
  color: #64748b;
}

.ttk8sr-admin-accordion[open] > summary::after {
  content: "-";
}

.ttk8sr-admin-accordion .ttk8sr-accordion-body {
  border-top: 1px solid var(--ttk-line);
  padding: 18px;
}

.ttk8sr-vacation-accrual-table {
  min-width: 1180px;
}

.ttk8sr-vacation-accrual-table th,
.ttk8sr-vacation-accrual-table td,
.ttk8sr-vacation-accounting-table th,
.ttk8sr-vacation-accounting-table td {
  vertical-align: middle;
}

.ttk8sr-vacation-accrual-table input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  width: 68px;
}

.ttk8sr-vacation-accrual-table textarea {
  min-width: 220px;
  width: 100%;
}

.ttk8sr-vacation-accrual-panel summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  gap: 10px;
  list-style: none;
}

.ttk8sr-vacation-accrual-panel summary::-webkit-details-marker {
  display: none;
}

.ttk8sr-vacation-accrual-panel summary::before {
  content: "›";
  color: var(--ttk-muted);
  font-size: 22px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform .15s ease;
}

.ttk8sr-vacation-accrual-panel[open] summary::before {
  transform: rotate(90deg);
}

.ttk8sr-vacation-accrual-summary-body {
  margin-top: 14px;
}

.ttk8sr-vacation-accrual-matrix {
  min-width: 720px;
}

.ttk8sr-vacation-accrual-matrix th,
.ttk8sr-vacation-accrual-matrix td {
  vertical-align: middle;
}

.ttk8sr-vacation-accrual-matrix thead th {
  background: #f8fbfb;
  position: sticky;
  top: 0;
  z-index: 3;
}

.ttk8sr-vacation-accrual-matrix th:first-child,
.ttk8sr-vacation-accrual-matrix td:first-child {
  min-width: 210px;
}

.ttk8sr-vacation-accrual-matrix .ttk8sr-sticky-column {
  background: #fff;
  box-shadow: 1px 0 0 var(--ttk-line);
  left: 0;
  position: sticky;
  z-index: 2;
}

.ttk8sr-vacation-accrual-matrix thead .ttk8sr-sticky-column {
  background: #f8fbfb;
  z-index: 4;
}

.ttk8sr-vacation-accrual-matrix td {
  min-width: 118px;
  text-align: center;
}

.ttk8sr-vacation-accrual-matrix tbody th.ttk8sr-sticky-column {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.ttk8sr-vacation-accrual-total {
  color: var(--ttk-muted);
  white-space: nowrap;
}

.ttk8sr-vacation-accrual-cell {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 30px;
  min-width: 48px;
  padding: 4px 8px;
}

.ttk8sr-vacation-accrual-cell:hover,
.ttk8sr-vacation-accrual-cell:focus {
  background: rgba(15, 118, 110, .08);
  outline: 1px solid rgba(15, 118, 110, .22);
}

.ttk8sr-vacation-accrual-matrix .ttk8sr-empty-cell {
  color: var(--ttk-muted);
  text-align: center;
}

.ttk8sr-vacation-accrual-modal > div,
.ttk8sr-vacation-accrual-cell-modal > div,
.ttk8sr-vacation-override-modal > div {
  width: min(760px, calc(100vw - 32px));
}

.ttk8sr-definition-list {
  display: grid;
  gap: 8px 16px;
  grid-template-columns: 150px 1fr;
  margin: 18px 0 0;
}

.ttk8sr-definition-list dt {
  color: var(--ttk-muted);
  font-weight: 700;
}

.ttk8sr-definition-list dd {
  margin: 0;
}

.ttk8sr-vacation-accrual-employee-list {
  border: 1px solid var(--ttk-line);
  border-radius: 8px;
  display: grid;
  gap: 0;
  margin: 12px 0;
  max-height: 52vh;
  overflow: auto;
}

.ttk8sr-vacation-accrual-employee-row {
  align-items: center;
  border-bottom: 1px solid var(--ttk-line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1fr) 120px;
  margin: 0;
  padding: 10px 12px;
}

.ttk8sr-vacation-accrual-employee-row:last-child {
  border-bottom: 0;
}

.ttk8sr-vacation-accrual-employee-row small {
  color: var(--ttk-muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.ttk8sr-vacation-accrual-employee-row input,
.ttk8sr-vacation-override-form input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.ttk8sr-vacation-accrual-employee-row input::-webkit-outer-spin-button,
.ttk8sr-vacation-accrual-employee-row input::-webkit-inner-spin-button,
.ttk8sr-vacation-override-form input[type="number"]::-webkit-outer-spin-button,
.ttk8sr-vacation-override-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ttk8sr-vacation-accrual-table input[type="number"]::-webkit-outer-spin-button,
.ttk8sr-vacation-accrual-table input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ttk8sr-vacation-legacy-balance-table {
  min-width: 620px;
}

.ttk8sr-vacation-legacy-balance-table th {
  width: 68%;
}

.ttk8sr-vacation-legacy-balance-table th small {
  color: var(--ttk-muted);
  display: block;
  font-weight: 400;
  margin-top: 2px;
}

.ttk8sr-vacation-legacy-balance-table input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  max-width: 130px;
}

.ttk8sr-vacation-legacy-balance-table input[type="number"]::-webkit-outer-spin-button,
.ttk8sr-vacation-legacy-balance-table input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ttk8sr-vacation-import-panel input[type="file"] {
  max-width: 420px;
}

.ttk8sr-vacation-adjustment-box {
  border-top: 1px solid var(--ttk-line);
  margin-top: 18px;
  padding-top: 16px;
}

.ttk8sr-vacation-adjustment-box h3 {
  margin: 0 0 6px;
}

.ttk8sr-vacation-accounting-row.is-accrual td {
  background: #ecfdf5;
}

.ttk8sr-vacation-accounting-row.is-season td {
  background: #eff6ff;
}

.ttk8sr-vacation-accounting-row td:first-child {
  border-left: 6px solid transparent;
}

.ttk8sr-vacation-accounting-row.is-accrual td:first-child {
  border-left-color: #059669;
}

.ttk8sr-vacation-accounting-row.is-season td:first-child {
  border-left-color: #2563eb;
}

.ttk8sr-vacation-employee-row td {
  font-size: 15px;
}

.ttk8sr-vacation-employee-history {
  padding: 8px 0;
}

.ttk8sr-vacation-accounting-history-table .ttk8sr-detail-toggle {
  cursor: pointer;
}

.ttk8sr-vacation-accounting-detail-row td {
  padding-left: 18px;
  padding-right: 18px;
}

.ttk8sr-checklist-overdue {
  color: #dc2626;
}

.ttk8sr-checklist-soon {
  color: #b45309;
}

@media (max-width: 1100px) {
  .hrc8-app-shell.wrap {
    grid-template-columns: 238px minmax(0, 1fr);
  }

  .hrc8-app-sidebar {
    padding: 18px 14px;
  }

  .hrc8-app-main {
    padding: 14px;
  }

  .ttk8sr-grid-2,
  .ttk8sr-grid-3,
  .ttk8sr-grid-4,
  .ttk8sr-stat-grid,
  .ttk8sr-dashboard-alert-grid,
  .ttk8sr-dashboard-overview-grid,
  .ttk8sr-dashboard-actions,
  .ttk8sr-audit-values {
    grid-template-columns: 1fr;
  }

  .ttk8sr-colspan-3 {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .hrc8-app-shell.wrap {
    display: block;
  }

  .hrc8-app-sidebar {
    min-height: 0;
    position: relative;
  }

  .hrc8-app-nav {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hrc8-app-nav-section {
    margin-bottom: 0;
  }

  .hrc8-app-main {
    padding: 12px;
  }

  .hrc8-app-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    position: static;
  }

  .hrc8-app-close {
    justify-content: center;
    width: 100%;
  }

  .ttk8sr-checklist-template-form,
  .ttk8sr-checklist-rules,
  .ttk8sr-checklist-start-fields,
  .ttk8sr-checklist-end-fields {
    grid-template-columns: 1fr;
  }

  .ttk8sr-checklist-modal > div {
    width: calc(100vw - 24px);
    padding: 18px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 10mm 24mm 18mm;
  }

  body.ttk8sr-contract-printing * {
    visibility: hidden !important;
  }

  body.ttk8sr-contract-printing .ttk8sr-contract-print-source,
  body.ttk8sr-contract-printing .ttk8sr-contract-print-source > div,
  body.ttk8sr-contract-printing .ttk8sr-contract-print-page,
  body.ttk8sr-contract-printing .ttk8sr-contract-print-page * {
    visibility: visible !important;
  }

  body.ttk8sr-contract-printing .ttk8sr-contract-print-actions,
  body.ttk8sr-contract-printing .ttk8sr-modal-close,
  body.ttk8sr-contract-printing .ttk8sr-contract-print-source > div > h2,
  body.ttk8sr-contract-printing #adminmenumain,
  body.ttk8sr-contract-printing #wpadminbar,
  body.ttk8sr-contract-printing #wpfooter,
  body.ttk8sr-contract-printing .hrc8-app-sidebar,
  body.ttk8sr-contract-printing .hrc8-app-topbar {
    display: none !important;
  }

  body.ttk8sr-contract-printing,
  body.ttk8sr-contract-printing #wpwrap,
  body.ttk8sr-contract-printing #wpcontent,
  body.ttk8sr-contract-printing #wpbody,
  body.ttk8sr-contract-printing #wpbody-content,
  body.ttk8sr-contract-printing .wrap,
  body.ttk8sr-contract-printing .hrc8-app-shell,
  body.ttk8sr-contract-printing .hrc8-app-main,
  body.ttk8sr-contract-printing .hrc8-app-content {
    display: block !important;
    grid-template-columns: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body.ttk8sr-contract-printing .ttk8sr-contract-print-source {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    display: block !important;
    background: #fff !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  body.ttk8sr-contract-printing .ttk8sr-contract-print-source > div {
    position: static !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  body.ttk8sr-contract-printing .ttk8sr-contract-print-page {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: auto !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: 13.5pt !important;
    line-height: 1.5 !important;
  }
}
