:root {
  --brand-primary: #75b320;
  --brand-primary-dark: #5c8f18;
  --brand-primary-light: #eaf4dc;
  --sidebar-background: #141a17;
  --sidebar-surface: #1d2521;
  --sidebar-text: #cbd4ce;
  --sidebar-text-active: #ffffff;
  --page-background: #f3f6f2;
  --surface-primary: #ffffff;
  --surface-secondary: #f8faf7;
  --text-primary: #1d2822;
  --text-secondary: #66736b;
  --text-muted: #8a958e;
  --border-primary: #dce4dd;
  --border-strong: #c8d2ca;
  --status-success: #328044;
  --status-success-background: #e6f3e9;
  --status-warning: #b7791f;
  --status-warning-background: #fff4d8;
  --status-danger: #c44d4d;
  --status-danger-background: #fbe8e8;
  --status-info: #3d708f;
  --status-info-background: #e6f1f7;
  --status-purple: #725a91;
  --status-purple-background: #f0ebf6;
  --status-neutral: #66736b;
  --status-neutral-background: #edf1ed;
  --sidebar-width: 260px;
  --topbar-height: 64px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;
  --space-12: 48px;
  --radius-small: 6px;
  --radius-medium: 9px;
  --radius-large: 12px;
  --transition-fast: 140ms ease;
  --transition-standard: 200ms ease;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #f3f6f2;
  color: #1d2822;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p,
dl,
dd,
ol {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: #1d2822;
  line-height: 1.25;
}

h1 {
  margin-bottom: var(--space-2);
  font-size: clamp(26px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 650;
}

::selection {
  background: #eaf4dc;
  color: #1d2822;
}

:focus-visible {
  outline: 3px solid rgba(117, 179, 32, 0.3);
  outline-offset: 2px;
}

.svg-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.navigation-toggle {
  position: fixed;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sidebar {
  position: fixed;
  z-index: 100;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--sidebar-width);
  min-height: 100vh;
  flex-direction: column;
  background: #141a17;
  color: #cbd4ce;
  box-shadow: 8px 0 24px rgba(6, 11, 8, 0.05);
}
.sidebar__brand {
  flex: 0 0 auto;
  padding: var(--space-5) var(--space-5) var(--space-4);
}
.sidebar__navigation {
  flex: 1 1 auto;
  padding: 0 var(--space-3) var(--space-5);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #354139 transparent;
  scrollbar-width: thin;
}
.sidebar__navigation::-webkit-scrollbar {
  width: 8px;
}
.sidebar__navigation::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar__navigation::-webkit-scrollbar-thumb {
  background: #354139;
  border: 2px solid #141a17;
  border-radius: 999px;
}
.sidebar__footer {
  flex: 0 0 auto;
  padding: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3) var(--space-4);
  overflow: hidden;
  background: #75b320;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  color: #0b110d;
}
.brand__main {
  display: block;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}
.brand__subtitle {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.navigation-group {
  margin-top: var(--space-5);
}
.navigation-group:first-child {
  margin-top: var(--space-2);
}
.navigation-group__title {
  margin: 0 0 var(--space-2);
  padding: 0 var(--space-3);
  color: #748179;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.navigation-link {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: 2px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #cbd4ce;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 140ms ease, color 140ms ease;
}
.navigation-link:hover {
  background: #1d2521;
  color: #ffffff;
}
.navigation-link--active {
  background: rgba(117, 179, 32, 0.14);
  color: #ffffff;
  font-weight: 650;
}
.navigation-link--active::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: -12px;
  width: 3px;
  background: #75b320;
  border-radius: 0 3px 3px 0;
  content: "";
}
.navigation-link__icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: #9da9a1;
}
.navigation-link:hover .navigation-link__icon, .navigation-link--active .navigation-link__icon {
  color: #75b320;
}
.navigation-link__label {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navigation-link__counter {
  min-width: 24px;
  padding: 2px 6px;
  background: #2a342f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  color: #dce5df;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.navigation-link__counter--warning {
  background: rgba(183, 121, 31, 0.18);
  border-color: rgba(255, 196, 87, 0.12);
  color: #ffd99a;
}

.branch-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: #1d2521;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 9px;
}
.branch-card__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #75b320;
}
.branch-card__content {
  min-width: 0;
}
.branch-card__name {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.branch-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: #91a097;
  font-size: 10.5px;
  white-space: nowrap;
}

.logout-form {
  margin-top: var(--space-3);
}

.logout-form__button {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #cbd4ce;
  cursor: pointer;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 650;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.logout-form__button:hover {
  background: #1d2521;
  border-color: rgba(117, 179, 32, 0.3);
  color: #ffffff;
}

.navigation-overlay {
  display: none;
}

.application-shell {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.topbar {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  min-height: var(--topbar-height);
  align-items: center;
  justify-content: center;
  padding: 8px var(--space-6) 7px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #dce4dd;
  backdrop-filter: blur(8px);
}
.topbar__right {
  display: flex;
  min-width: 0;
  align-items: center;
}
.topbar__left {
  display: contents;
}
.topbar__right {
  grid-column: 3;
  grid-row: 1/span 2;
  justify-content: flex-end;
  gap: var(--space-2);
}
.topbar__centre {
  width: min(100%, 620px);
  min-width: 0;
}
.topbar__menu-button {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1/span 2;
  align-self: center;
}

.page-toolbar {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.page-toolbar .topbar__left {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-3);
}
.page-toolbar .topbar__menu-button {
  display: none;
}
.page-toolbar .topbar__right {
  flex: 0 0 auto;
}

.breadcrumb {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #8a958e;
  font-size: 11.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.breadcrumb a {
  color: #66736b;
  transition: color 140ms ease;
}
.breadcrumb a:hover {
  color: #5c8f18;
}
.breadcrumb span[aria-current=page] {
  color: #1d2822;
  font-weight: 650;
}

.page-content {
  width: 100%;
  padding: var(--space-7) var(--space-6) var(--space-8);
}

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.page-header__content {
  min-width: 0;
}
.page-header__date {
  margin-bottom: var(--space-1);
  color: #5c8f18;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.page-header__description {
  margin-bottom: 0;
  color: #66736b;
  font-size: 14px;
}
.page-header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-2);
}

.application-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding: var(--space-4) 2px 0;
  border-top: 1px solid #dce4dd;
  color: #8a958e;
  font-size: 10.5px;
}
.application-footer p {
  margin-bottom: 0;
}

.search-control {
  position: relative;
  display: flex;
  width: min(100%, 620px);
  height: 38px;
  align-items: center;
}
.search-control__icon {
  position: absolute;
  left: 13px;
  width: 17px;
  height: 17px;
  color: #8a958e;
  pointer-events: none;
}
.search-control input {
  width: 100%;
  height: 38px;
  padding: 0 92px 0 42px;
  background: #f8faf7;
  border: 1px solid #dce4dd;
  border-radius: 9px;
  color: #1d2822;
  outline: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.search-control input::placeholder {
  color: #8a958e;
}
.search-control input:hover {
  border-color: #c8d2ca;
}
.search-control input:focus {
  background: #ffffff;
  border-color: #75b320;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.15);
}
.search-control__shortcut {
  position: absolute;
  right: 10px;
  padding: 3px 6px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-bottom-color: #c8d2ca;
  border-radius: 4px;
  color: #8a958e;
  font-family: inherit;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.search-control__shortcut:hover, .search-control__shortcut:focus {
  background: #eaf4dc;
  border-color: #d5e8b9;
  color: #5c8f18;
  outline: none;
}

.icon-button {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #66736b;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.icon-button:hover {
  background: #f8faf7;
  border-color: #dce4dd;
  color: #1d2822;
}
.icon-button svg {
  width: 19px;
  height: 19px;
}
.icon-button--small {
  width: 34px;
  height: 34px;
}
.icon-button--small svg {
  width: 17px;
  height: 17px;
}

.notification-button {
  margin-left: 2px;
}

.notification-indicator {
  position: absolute;
  top: 4px;
  right: 3px;
  display: inline-flex;
  min-width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  background: #c44d4d;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  font-size: 9px;
  font-weight: 750;
  line-height: 1;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.button:active {
  transform: translateY(1px);
}
.button svg {
  width: 17px;
  height: 17px;
}
.button--primary {
  background: #75b320;
  border-color: #75b320;
  color: #14200e;
  box-shadow: 0 1px 2px rgba(38, 74, 14, 0.12);
}
.button--primary:hover {
  background: #5c8f18;
  border-color: #5c8f18;
  color: #ffffff;
}
.button--secondary {
  background: #ffffff;
  border-color: #c8d2ca;
  color: #1d2822;
}
.button--secondary:hover {
  background: #f8faf7;
  border-color: #aebbb1;
}
.button--ghost {
  background: transparent;
  border-color: transparent;
  color: #5c8f18;
}
.button--ghost:hover {
  background: #eaf4dc;
  border-color: #d5e8b9;
}
.button--danger {
  background: #c44d4d;
  border-color: #c44d4d;
  color: #ffffff;
}
.button--danger:hover {
  background: #a93e3e;
  border-color: #a93e3e;
}
.button--danger-outline {
  background: #ffffff;
  border-color: #e6baba;
  color: #c44d4d;
}
.button--danger-outline:hover {
  background: #fbe8e8;
  border-color: #d99090;
}
.button--compact {
  min-height: 34px;
  padding: 0 10px;
  font-size: 11.5px;
}
.button--full {
  width: 100%;
}

.dropdown-control {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 6px;
  color: #1d2822;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.dropdown-control:hover {
  background: #f8faf7;
  border-color: #c8d2ca;
}
.dropdown-control > svg {
  width: 17px;
  height: 17px;
  color: #66736b;
}
.dropdown-control__chevron {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  color: #8a958e;
}

.topbar-actions {
  position: relative;
}
.topbar-actions[open] .topbar-actions__button {
  background: #f8faf7;
  border-color: #c8d2ca;
}
.topbar-actions[open] .dropdown-control__chevron {
  transform: rotate(180deg);
}
.topbar-actions__button {
  min-height: 38px;
  cursor: pointer;
  list-style: none;
}
.topbar-actions__button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.topbar-actions__button::-webkit-details-marker {
  display: none;
}
.topbar-actions__menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 220px;
  gap: 2px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(21, 31, 25, 0.04), 0 8px 20px rgba(21, 31, 25, 0.07);
}
.topbar-actions__item {
  display: flex;
  width: 100%;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #1d2822;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.topbar-actions__item:hover, .topbar-actions__item:focus {
  background: #f8faf7;
  color: #5c8f18;
  outline: none;
}
.topbar-actions__item svg {
  width: 16px;
  height: 16px;
  color: #66736b;
}

.user-control {
  display: flex;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  padding: 4px 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  text-align: left;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.user-control:hover {
  background: #f8faf7;
  border-color: #dce4dd;
}
.user-control__details {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.user-control__details strong {
  overflow: hidden;
  color: #1d2822;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-control__details small {
  overflow: hidden;
  color: #8a958e;
  font-size: 10.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-control__chevron {
  width: 14px;
  height: 14px;
  color: #8a958e;
}

.text-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  color: #5c8f18;
  font-size: 12px;
  font-weight: 700;
  transition: color 140ms ease;
}
.text-link:hover {
  color: #1d2822;
}
.text-link:hover svg {
  transform: translateX(2px);
}
.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 140ms ease;
}

.contact-stack {
  display: grid;
  gap: 4px;
  justify-items: start;
}
.contact-stack .text-link {
  min-height: 0;
  line-height: 1.35;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #66736b;
}
.status-dot--success {
  background: #328044;
  box-shadow: 0 0 0 3px rgba(50, 128, 68, 0.12);
}
.status-dot--warning {
  background: #b7791f;
}
.status-dot--danger {
  background: #c44d4d;
}
.status-dot--info {
  background: #3d708f;
}
.status-dot--purple {
  background: #725a91;
}
.status-dot--neutral {
  background: #66736b;
}

.status-chip {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.status-chip svg {
  width: 12px;
  height: 12px;
}
.status-chip--neutral {
  background: #edf1ed;
  border-color: #dde3de;
  color: #66736b;
}
.status-chip--success {
  background: #e6f3e9;
  border-color: #cbe6d1;
  color: #328044;
}
.status-chip--warning {
  background: #fff4d8;
  border-color: #f0dfad;
  color: #b7791f;
}
.status-chip--danger {
  background: #fbe8e8;
  border-color: #efcccc;
  color: #c44d4d;
}
.status-chip--info {
  background: #e6f1f7;
  border-color: #cce2ee;
  color: #3d708f;
}

.badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}
.badge .status-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}
.badge--success {
  background: #e6f3e9;
  border-color: #cee6d3;
  color: #328044;
}
.badge--warning {
  background: #fff4d8;
  border-color: #f0dfad;
  color: #b7791f;
}
.badge--danger {
  background: #fbe8e8;
  border-color: #efcccc;
  color: #c44d4d;
}
.badge--info {
  background: #e6f1f7;
  border-color: #cce2ee;
  color: #3d708f;
}
.badge--purple {
  background: #f0ebf6;
  border-color: #ddd2e9;
  color: #725a91;
}
.badge--neutral {
  background: #edf1ed;
  border-color: #dce3dd;
  color: #66736b;
}

.empty-state {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: var(--space-8);
  color: #66736b;
  text-align: center;
}
.empty-state svg {
  width: 38px;
  height: 38px;
  margin-bottom: var(--space-3);
  color: #8a958e;
}
.empty-state h3 {
  margin-bottom: var(--space-1);
  font-size: 15px;
}
.empty-state p {
  max-width: 320px;
  margin-bottom: 0;
  color: #8a958e;
  font-size: 12px;
}

.notice {
  min-height: 42px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.notice--success {
  background: #e6f3e9;
  border-color: #cbe6d1;
  color: #328044;
}
.notice--warning {
  background: #fff4d8;
  border-color: #f1d48d;
  color: #b7791f;
}
.notice--danger {
  background: #fbe8e8;
  border-color: #efcccc;
  color: #c44d4d;
}

.overview-accordion {
  overflow: hidden;
}

.overview-accordion__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  cursor: pointer;
  list-style: none;
  padding: var(--space-6);
  background: #ffffff;
  transition: background-color 140ms ease;
}
.overview-accordion__header::-webkit-details-marker {
  display: none;
}
.overview-accordion__header:hover {
  background: #f8faf7;
}
.overview-accordion__header:focus-visible {
  outline: 2px solid #75b320;
  outline-offset: -2px;
}

.overview-accordion__title {
  min-width: 0;
}
.overview-accordion__title p {
  margin: 0 0 var(--space-2);
  color: #8a958e;
  font-size: 12px;
  font-weight: 750;
}
.overview-accordion__title h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-2);
  margin: 0;
  color: #1d2822;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.overview-accordion__title h1 a {
  color: #5c8f18;
  text-decoration: none;
}
.overview-accordion__title h1 a:hover, .overview-accordion__title h1 a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.overview-accordion__meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-3);
}

.overview-accordion__chevron {
  width: 20px;
  height: 20px;
  color: #8a958e;
  transition: transform 140ms ease;
}

.overview-accordion[open] .overview-accordion__chevron {
  transform: rotate(180deg);
}

.overview-accordion[open] .detail-list {
  border-top: 1px solid #dce4dd;
}

.detail-list {
  display: grid;
  margin: 0;
  padding: var(--space-5);
  gap: 0;
}
.detail-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
  min-width: 0;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid #e9eee9;
}
.detail-list > div:first-child {
  padding-top: 0;
}
.detail-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.detail-list dt {
  margin: 0;
  color: #8a958e;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}
.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #1d2822;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}
.detail-list .text-link {
  min-height: auto;
  font-size: 13px;
  line-height: 1.4;
}
.detail-list--single > div {
  grid-template-columns: 1fr;
  gap: 5px;
}
.detail-list--columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--space-6);
}
.detail-list--columns > div:last-child {
  padding-bottom: 10px;
  border-bottom: 1px solid #e9eee9;
}
.detail-list--overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-6);
}
.detail-list--overview > div:last-child {
  padding-bottom: 10px;
  border-bottom: 1px solid #e9eee9;
}

.section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: calc(var(--space-2) * -1) 0 var(--space-5);
}
.section-tabs a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 6px;
  color: #66736b;
  font-size: 11.5px;
  font-weight: 750;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.section-tabs a:hover, .section-tabs a:focus {
  background: #eaf4dc;
  border-color: #d5e8b9;
  color: #5c8f18;
  outline: none;
}

.stacked-value {
  display: grid;
  gap: 4px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  padding: var(--space-5);
}

.asset-card {
  min-width: 0;
  padding: var(--space-4);
  background: #f8faf7;
  border: 1px solid #dce4dd;
  border-radius: 6px;
}
.asset-card span {
  display: block;
  margin-bottom: 7px;
  color: #8a958e;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}
.asset-card strong {
  display: block;
  margin-bottom: 4px;
  color: #1d2822;
  font-size: 13px;
  font-weight: 750;
}
.asset-card small {
  display: block;
  color: #66736b;
  font-size: 11px;
  line-height: 1.45;
}

.detail-block {
  padding: var(--space-5);
}
.detail-block address {
  display: grid;
  gap: 7px;
  color: #1d2822;
  font-style: normal;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.detail-action {
  margin-top: var(--space-4);
}

.note-panel {
  min-height: 132px;
  padding: var(--space-5);
}
.note-panel p {
  margin: 0;
  color: #1d2822;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.muted-value {
  color: #8a958e;
  font-weight: 500;
}

.customer-summary-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
}

.summary-tile {
  display: flex;
  min-height: 82px;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(21, 31, 25, 0.04);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.summary-tile:hover, .summary-tile--active {
  border-color: #75b320;
  box-shadow: 0 8px 20px rgba(21, 31, 25, 0.07);
  transform: translateY(-1px);
}
.summary-tile span {
  color: #66736b;
  font-size: 12px;
  font-weight: 700;
}
.summary-tile strong {
  color: #1d2822;
  font-size: 28px;
  font-weight: 750;
  line-height: 1;
}

.register-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(170px, auto) auto auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid #dce4dd;
}
.register-toolbar select {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid #c8d2ca;
  border-radius: 6px;
  color: #1d2822;
  outline: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  height: 38px;
  padding: 0 34px 0 11px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8a958e 50%), linear-gradient(135deg, #8a958e 50%, transparent 50%);
  background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  font-size: 12px;
  font-weight: 650;
}
.register-toolbar select::placeholder {
  color: #8a958e;
}
.register-toolbar select:hover:not(:disabled) {
  border-color: #aebbb1;
}
.register-toolbar select:focus {
  border-color: #75b320;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.14);
}
.register-toolbar select:disabled {
  background: #edf1ed;
  border-color: #dbe2dc;
  color: #8a958e;
  cursor: not-allowed;
}
.register-toolbar__search {
  position: relative;
  min-width: 0;
}
.register-toolbar__search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #8a958e;
  transform: translateY(-50%);
  pointer-events: none;
}
.register-toolbar__search input {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid #c8d2ca;
  border-radius: 6px;
  color: #1d2822;
  outline: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  height: 38px;
  padding: 0 12px 0 38px;
  font-size: 12px;
  font-weight: 600;
}
.register-toolbar__search input::placeholder {
  color: #8a958e;
}
.register-toolbar__search input:hover:not(:disabled) {
  border-color: #aebbb1;
}
.register-toolbar__search input:focus {
  border-color: #75b320;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.14);
}
.register-toolbar__search input:disabled {
  background: #edf1ed;
  border-color: #dbe2dc;
  color: #8a958e;
  cursor: not-allowed;
}
.register-toolbar--wide {
  grid-template-columns: minmax(260px, 1fr) minmax(160px, auto) minmax(160px, auto) auto auto;
}

.organisation-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 520px;
  transition: grid-template-columns 160ms ease;
}

.organisation-workspace--profile-collapsed {
  grid-template-columns: minmax(0, 1fr) 58px;
}

.organisation-chart {
  overflow-x: auto;
  padding: var(--space-6) var(--space-5) var(--space-8);
  border-right: 1px solid #dce4dd;
}

.organisation-chart__level {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: max-content;
  margin: 0;
  padding: 28px 0 0;
  list-style: none;
}

.organisation-chart > .organisation-chart__level {
  padding-top: 0;
}

.organisation-chart__level::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 28px;
  background: #c8d2ca;
  content: "";
}

.organisation-chart > .organisation-chart__level::before {
  display: none;
}

.organisation-chart__item {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0 var(--space-5);
}

.organisation-chart__item::before,
.organisation-chart__item::after {
  position: absolute;
  top: 0;
  width: 50%;
  height: 1px;
  background: #c8d2ca;
  content: "";
}

.organisation-chart__item::before {
  right: 50%;
}

.organisation-chart__item::after {
  left: 50%;
}

.organisation-chart__item:only-child::before,
.organisation-chart__item:only-child::after,
.organisation-chart > .organisation-chart__level > .organisation-chart__item::before,
.organisation-chart > .organisation-chart__level > .organisation-chart__item::after {
  display: none;
}

.organisation-chart__item:first-child::before,
.organisation-chart__item:last-child::after {
  background: transparent;
}

.organisation-chart__item--collapsed > .organisation-chart__level {
  display: none;
}

.organisation-chart__item--collapsed > .organisation-card .organisation-card__toggle svg {
  transform: rotate(-90deg);
}

.organisation-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: 172px;
  min-height: 102px;
  align-content: center;
  justify-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-top: 3px solid #75b320;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(21, 31, 25, 0.04);
  text-align: center;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.organisation-card:hover, .organisation-card--active {
  border-color: #75b320;
  box-shadow: 0 8px 20px rgba(21, 31, 25, 0.08);
  transform: translateY(-1px);
}
.organisation-card .table-reference {
  display: block;
  color: #1d2822;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.organisation-card small {
  display: block;
  margin-top: 6px;
  color: #66736b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}
.organisation-card__meta span {
  display: block;
  max-width: 142px;
  overflow: hidden;
  color: #8a958e;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: uppercase;
}
.organisation-card__toggle {
  position: absolute;
  top: -13px;
  right: -13px;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #ffffff;
  border: 1px solid #c8d2ca;
  border-radius: 999px;
  color: #66736b;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.organisation-card__toggle:hover, .organisation-card__toggle:focus {
  background: #eaf4dc;
  border-color: #d5e8b9;
  color: #5c8f18;
  outline: none;
}
.organisation-card__toggle svg {
  width: 15px;
  height: 15px;
  transition: transform 140ms ease;
}

.organisation-toolbar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-2);
}

.organisation-profile {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: #f8faf7;
  min-width: 0;
}

.organisation-profile__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}
.organisation-profile__header h3 {
  margin: 3px 0 0;
  color: #1d2822;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.organisation-profile__toggle {
  flex: 0 0 auto;
}
.organisation-profile__toggle svg {
  transition: transform 160ms ease;
}
.organisation-profile__toggle[aria-expanded=true] svg {
  transform: rotate(180deg);
}

.organisation-profile--collapsed {
  justify-items: center;
  padding: var(--space-4) var(--space-3);
}
.organisation-profile--collapsed .organisation-profile__header {
  justify-content: center;
}
.organisation-profile--collapsed .organisation-profile__header > div,
.organisation-profile--collapsed .organisation-profile__header > .badge,
.organisation-profile--collapsed .organisation-profile__content {
  display: none;
}

.organisation-profile__content {
  display: grid;
  gap: var(--space-4);
}

.organisation-profile__details {
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 6px;
}

.organisation-profile__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.organisation-profile__actions .button {
  width: 100%;
  justify-content: center;
}

.job-group-block {
  border-top: 1px solid #dce4dd;
}
.job-group-block:first-of-type {
  border-top: 0;
}
.job-group-block[open] {
  background: #ffffff;
}

.job-group-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  list-style: none;
  padding: var(--space-5);
  background: #f8faf7;
  transition: background-color 140ms ease;
}
.job-group-block__header::-webkit-details-marker {
  display: none;
}
.job-group-block__header:hover {
  background: #f1f5ef;
}
.job-group-block__header:focus-visible {
  outline: 2px solid #75b320;
  outline-offset: -2px;
}
.job-group-block__header h3 {
  margin: 0;
  color: #1d2822;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.job-group-block__header small {
  display: block;
  margin-top: 5px;
  color: #8a958e;
  font-size: 11px;
  font-weight: 700;
}

.job-group-block__summary {
  min-width: 0;
}

.job-group-block__meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-3);
}

.job-group-block__chevron {
  width: 18px;
  height: 18px;
  color: #8a958e;
  transition: transform 140ms ease;
}

.job-group-block[open] .job-group-block__chevron {
  transform: rotate(180deg);
}

.job-group-block[open] .table-container {
  border-top: 1px solid #dce4dd;
}

.activity-accordion {
  overflow: hidden;
}

.activity-accordion__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  list-style: none;
  padding: var(--space-5);
  transition: background-color 140ms ease;
}
.activity-accordion__header::-webkit-details-marker {
  display: none;
}
.activity-accordion__header:hover {
  background: #f8faf7;
}
.activity-accordion__header:focus-visible {
  outline: 2px solid #75b320;
  outline-offset: -2px;
}

.activity-accordion__meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-3);
}

.activity-accordion__chevron {
  width: 18px;
  height: 18px;
  color: #8a958e;
  transition: transform 140ms ease;
}

.activity-accordion[open] .activity-accordion__chevron {
  transform: rotate(180deg);
}

.activity-accordion[open] .activity-timeline,
.activity-accordion[open] .table-container,
.activity-accordion[open] .empty-state {
  border-top: 1px solid #dce4dd;
}

.laboratory-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  padding: var(--space-5);
}

.laboratory-row {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
  padding: var(--space-4);
  background: #f8faf7;
  border: 1px solid #dce4dd;
  border-radius: 6px;
}
.laboratory-row strong,
.laboratory-row small {
  display: block;
}
.laboratory-row strong {
  color: #1d2822;
  font-size: 13px;
  font-weight: 750;
}
.laboratory-row small {
  margin-top: 3px;
  color: #8a958e;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.laboratory-row dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: 0;
}
.laboratory-row dt {
  color: #8a958e;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
}
.laboratory-row dd {
  margin: 3px 0 0;
  color: #1d2822;
  font-size: 18px;
  font-weight: 750;
  line-height: 1;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.kpi-card {
  min-width: 0;
  padding: var(--space-4);
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(21, 31, 25, 0.04), 0 6px 18px rgba(21, 31, 25, 0.035);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.kpi-card:hover {
  border-color: #c8d2ca;
  box-shadow: 0 2px 5px rgba(21, 31, 25, 0.06), 0 12px 28px rgba(21, 31, 25, 0.08);
  transform: translateY(-1px);
}
.kpi-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.kpi-card__icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
}
.kpi-card__icon svg {
  width: 19px;
  height: 19px;
}
.kpi-card__icon--neutral {
  background: #edf1ed;
  border-color: #dde4de;
  color: #66736b;
}
.kpi-card__icon--success {
  background: #eaf4dc;
  border-color: #d7e8bd;
  color: #5c8f18;
}
.kpi-card__icon--warning {
  background: #fff4d8;
  border-color: #f0dfad;
  color: #b7791f;
}
.kpi-card__icon--danger {
  background: #fbe8e8;
  border-color: #efcccc;
  color: #c44d4d;
}
.kpi-card__icon--info {
  background: #e6f1f7;
  border-color: #cce2ee;
  color: #3d708f;
}
.kpi-card__label {
  min-height: 36px;
  margin-bottom: 2px;
  color: #66736b;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.4;
}
.kpi-card__value {
  margin-bottom: 2px;
  color: #1d2822;
  font-size: clamp(27px, 2vw, 32px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.kpi-card__description {
  margin-bottom: 0;
  overflow: hidden;
  color: #8a958e;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: start;
}

.grid-column-4 {
  grid-column: span 4;
}

.grid-column-8 {
  grid-column: span 8;
}

.grid-column-12 {
  grid-column: span 12;
}

.panel {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(21, 31, 25, 0.04), 0 6px 18px rgba(21, 31, 25, 0.035);
}
.panel__header {
  display: flex;
  min-height: 72px;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid #dce4dd;
}
.panel__header > div:first-child {
  min-width: 0;
}
.panel__header--compact {
  min-height: 52px;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.panel__eyebrow {
  margin-bottom: 3px;
  color: #8a958e;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.panel__description {
  margin: 5px 0 0;
  color: #66736b;
  font-size: 12px;
}
.panel__header-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8a958e;
  font-size: 11px;
  white-space: nowrap;
}
.panel__count {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 3px 8px;
  background: #edf1ed;
  border: 1px solid #dce3dd;
  border-radius: 999px;
  color: #66736b;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.panel__count--warning {
  background: #fff4d8;
  border-color: #f0dfad;
  color: #b7791f;
}
.panel__count--danger {
  background: #fbe8e8;
  border-color: #efcccc;
  color: #c44d4d;
}
.panel__footer {
  display: flex;
  min-height: 56px;
  align-items: center;
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid #dce4dd;
}
.panel__footer--right {
  justify-content: flex-end;
}
.panel__summary {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: var(--space-5) var(--space-5) 0;
}
.panel__summary strong {
  color: #1d2822;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}
.panel__summary span {
  color: #66736b;
  font-size: 12px;
}

.status-chart {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-5);
}
.status-chart__item {
  min-width: 0;
}
.status-chart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: 7px;
  color: #66736b;
  font-size: 11.5px;
}
.status-chart__header span:first-child {
  overflow: hidden;
  color: #1d2822;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.status-chart__header span:last-child {
  flex: 0 0 auto;
  color: #8a958e;
}
.status-chart__header strong {
  color: #1d2822;
}

.progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: #e9eeea;
  border-radius: 999px;
}
.progress-track__bar {
  display: block;
  width: var(--progress, 0%);
  max-width: 100%;
  height: 100%;
  background: #75b320;
  border-radius: inherit;
}
.progress-track__bar--success {
  background: #328044;
}
.progress-track__bar--warning {
  background: #d79b3a;
}
.progress-track__bar--danger {
  background: #c44d4d;
}
.progress-track__bar--info {
  background: #3d708f;
}
.progress-track__bar--review {
  background: #725a91;
}
.progress-track--large {
  height: 10px;
}

.quality-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.quality-score strong {
  color: #328044;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}
.quality-score span {
  margin-top: 3px;
  color: #8a958e;
  font-size: 9.5px;
  text-transform: uppercase;
}

.quality-panel > .progress-track {
  width: auto;
  margin: var(--space-5) var(--space-5) 0;
}

.quality-panel__summary {
  margin: var(--space-2) var(--space-5) var(--space-4);
  color: #66736b;
  font-size: 10.5px;
}

.quality-metrics {
  margin: 0;
  padding: 0 var(--space-5);
}
.quality-metrics > div {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border-top: 1px solid #e9eee9;
}
.quality-metrics dt {
  color: #66736b;
  font-size: 11px;
}
.quality-metrics dd {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.metric-value {
  color: #1d2822;
  font-size: 13px;
  font-weight: 750;
}
.metric-value--warning {
  color: #b7791f;
}
.metric-value--danger {
  color: #c44d4d;
}

.activity-timeline {
  margin: 0;
  padding: var(--space-4) var(--space-5);
  list-style: none;
}

.activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: var(--space-3);
  min-height: 58px;
  padding-bottom: var(--space-3);
}
.activity-item:last-child {
  min-height: auto;
  padding-bottom: 0;
}
.activity-item:not(:last-child)::before {
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 14px;
  width: 1px;
  background: #dce4dd;
  content: "";
}
.activity-item__marker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 50%;
}
.activity-item__marker svg {
  width: 14px;
  height: 14px;
}
.activity-item__marker--success {
  background: #e6f3e9;
  border-color: #cee6d3;
  color: #328044;
}
.activity-item__marker--warning {
  background: #fff4d8;
  border-color: #f0dfad;
  color: #b7791f;
}
.activity-item__marker--danger {
  background: #fbe8e8;
  border-color: #efcccc;
  color: #c44d4d;
}
.activity-item__marker--info {
  background: #e6f1f7;
  border-color: #cce2ee;
  color: #3d708f;
}
.activity-item__marker--neutral {
  background: #edf1ed;
  border-color: #dce3dd;
  color: #66736b;
}
.activity-item p {
  margin: 1px 0 3px;
  color: #1d2822;
  font-size: 11px;
  line-height: 1.4;
}
.activity-item p a {
  color: #5c8f18;
  font-weight: 750;
}
.activity-item p a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.activity-item span {
  display: block;
  color: #8a958e;
  font-size: 9.5px;
  line-height: 1.4;
}

.dashboard-topbar__right {
  flex-wrap: nowrap;
}

.work-clock {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 4px;
  background: #f8faf7;
  border: 1px solid #dce4dd;
  border-radius: 9px;
}
.work-clock form {
  margin: 0;
}
.work-clock button {
  min-height: 32px;
  border-radius: 6px;
  font: inherit;
  font-size: 11.5px;
  font-weight: 750;
  cursor: pointer;
}
.work-clock__start {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: #75b320;
  border: 1px solid #75b320;
  color: #14200e;
}
.work-clock__start:hover, .work-clock__start:focus-visible {
  background: #5c8f18;
  border-color: #5c8f18;
  color: #ffffff;
}
.work-clock__start svg {
  width: 16px;
  height: 16px;
}
.work-clock__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 7px;
  color: #328044;
  font-size: 10.5px;
  font-weight: 750;
  white-space: nowrap;
}
.work-clock__status span {
  width: 7px;
  height: 7px;
  background: #328044;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(50, 128, 68, 0.12);
}
.work-clock__time {
  min-width: 61px;
  color: #1d2822;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-align: center;
}
.work-clock__stop {
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid #e2b5b5;
  color: #c44d4d;
}
.work-clock__stop:hover, .work-clock__stop:focus-visible {
  background: #fbe8e8;
  border-color: #d89090;
}

.dashboard-heading {
  align-items: flex-start;
}

.dashboard-notice {
  margin-bottom: var(--space-4);
}

.dashboard-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.dashboard-focus-card {
  display: flex;
  min-width: 0;
  min-height: 82px;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 9px;
  color: #1d2822;
  box-shadow: 0 1px 2px rgba(21, 31, 25, 0.04);
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.dashboard-focus-card:hover, .dashboard-focus-card:focus-visible {
  border-color: #c8d2ca;
  box-shadow: 0 7px 18px rgba(21, 31, 25, 0.07);
  transform: translateY(-1px);
}
.dashboard-focus-card__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: #edf1ed;
  border-radius: 6px;
  color: #66736b;
}
.dashboard-focus-card__icon svg {
  width: 19px;
  height: 19px;
}
.dashboard-focus-card strong,
.dashboard-focus-card small {
  display: block;
}
.dashboard-focus-card strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.dashboard-focus-card small {
  margin-top: 5px;
  color: #66736b;
  font-size: 11.5px;
  font-weight: 700;
}
.dashboard-focus-card--danger .dashboard-focus-card__icon {
  background: #fbe8e8;
  color: #c44d4d;
}
.dashboard-focus-card--warning .dashboard-focus-card__icon {
  background: #fff4d8;
  color: #b7791f;
}
.dashboard-focus-card--success .dashboard-focus-card__icon {
  background: #e6f3e9;
  color: #328044;
}
.dashboard-focus-card--info .dashboard-focus-card__icon {
  background: #e6f1f7;
  color: #3d708f;
}

.dashboard-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}
.dashboard-workspace--team {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
}

.dashboard-workstream,
.dashboard-team-column {
  display: grid;
  min-width: 0;
  gap: var(--space-5);
}

.dashboard-team-column {
  position: sticky;
  top: calc(var(--topbar-height) + var(--space-5));
}

.dashboard-task-panel {
  scroll-margin-top: calc(var(--topbar-height) + var(--space-4));
}

.dashboard-task-list {
  display: grid;
}

.dashboard-task-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: 1px solid #dce4dd;
}
.dashboard-task-card:last-child {
  border-bottom: 0;
}
.dashboard-task-card__time {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-4) var(--space-3);
  background: #f8faf7;
  border-right: 1px solid #dce4dd;
  color: #66736b;
  text-align: center;
}
.dashboard-task-card__time svg {
  width: 18px;
  height: 18px;
  color: #8a958e;
}
.dashboard-task-card__time strong {
  color: #1d2822;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.dashboard-task-card__time span {
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.dashboard-task-card__body {
  min-width: 0;
  padding: var(--space-4);
}
.dashboard-task-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}
.dashboard-task-card__heading a,
.dashboard-task-card__heading .dashboard-task-card__reference {
  color: #5c8f18;
  font-size: 11px;
  font-weight: 800;
}
.dashboard-task-card__heading h3 {
  margin: 3px 0 0;
  color: #1d2822;
  font-size: 14px;
  line-height: 1.3;
}
.dashboard-task-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px var(--space-4);
  margin-top: 10px;
}
.dashboard-task-card__meta span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  color: #66736b;
  font-size: 10.5px;
}
.dashboard-task-card__meta svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: #8a958e;
}
.dashboard-task-card__overdue {
  color: #c44d4d !important;
}
.dashboard-task-card__overdue svg {
  color: #c44d4d;
}
.dashboard-task-card__tests {
  margin: 10px 0 0;
  color: #66736b;
  font-size: 10.5px;
  line-height: 1.5;
}
.dashboard-task-card__tests strong {
  color: #1d2822;
}
.dashboard-task-card__actions {
  display: flex;
  min-width: 105px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: var(--space-4);
}
.dashboard-task-card--danger {
  box-shadow: inset 3px 0 0 #c44d4d;
}
.dashboard-task-card--warning {
  box-shadow: inset 3px 0 0 #b7791f;
}
.dashboard-task-card--info {
  box-shadow: inset 3px 0 0 #3d708f;
}

.dashboard-task-empty {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--space-4);
  color: #8a958e;
  text-align: center;
}
.dashboard-task-empty svg {
  width: 18px;
  height: 18px;
  color: #328044;
}
.dashboard-task-empty p {
  margin: 0;
  font-size: 11.5px;
}

.priority {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  padding: 2px 7px;
  background: #edf1ed;
  border-radius: 999px;
  color: #66736b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.priority--urgent, .priority--high {
  background: #fbe8e8;
  color: #c44d4d;
}
.priority--low {
  background: #e6f1f7;
  color: #3d708f;
}

.dashboard-team-metrics {
  margin: 0;
  padding: 0 var(--space-5);
}
.dashboard-team-metrics div {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border-bottom: 1px solid #dce4dd;
}
.dashboard-team-metrics div:last-child {
  border-bottom: 0;
}
.dashboard-team-metrics dt {
  color: #66736b;
  font-size: 11px;
}
.dashboard-team-metrics dd {
  margin: 0;
  color: #1d2822;
  font-size: 17px;
  font-weight: 800;
}

.dashboard-attendance-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dashboard-attendance-list li {
  display: grid;
  min-height: 58px;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px var(--space-4);
  border-bottom: 1px solid #dce4dd;
}
.dashboard-attendance-list li:last-child {
  border-bottom: 0;
}
.dashboard-attendance-list__avatar {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: #eaf4dc;
  border-radius: 50%;
  color: #5c8f18;
  font-size: 10px;
  font-weight: 800;
}
.dashboard-attendance-list strong,
.dashboard-attendance-list small {
  display: block;
}
.dashboard-attendance-list strong {
  overflow: hidden;
  color: #1d2822;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-attendance-list small,
.dashboard-attendance-list time {
  color: #8a958e;
  font-size: 9.5px;
}
.dashboard-attendance-list time {
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.panel__count--success {
  background: #e6f3e9;
  border-color: #cee6d3;
  color: #328044;
}

.panel__count--info {
  background: #e6f1f7;
  border-color: #cce2ee;
  color: #3d708f;
}

.sample-form {
  padding: var(--space-5);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.form-field {
  min-width: 0;
}
.form-field--full {
  grid-column: 1/-1;
}
.form-field label {
  display: inline-block;
  margin-bottom: 6px;
  color: #1d2822;
  font-size: 11.5px;
  font-weight: 650;
}
.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid #c8d2ca;
  border-radius: 6px;
  color: #1d2822;
  outline: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.form-field input::placeholder,
.form-field select::placeholder,
.form-field textarea::placeholder {
  color: #8a958e;
}
.form-field input:hover:not(:disabled),
.form-field select:hover:not(:disabled),
.form-field textarea:hover:not(:disabled) {
  border-color: #aebbb1;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #75b320;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.14);
}
.form-field input:disabled,
.form-field select:disabled,
.form-field textarea:disabled {
  background: #edf1ed;
  border-color: #dbe2dc;
  color: #8a958e;
  cursor: not-allowed;
}
.form-field input,
.form-field select {
  height: 44px;
  padding: 0 12px;
}
.form-field select {
  padding-right: 38px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #8a958e 50%), linear-gradient(135deg, #8a958e 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}
.form-field textarea {
  min-height: 104px;
  padding: 11px 12px;
  line-height: 1.5;
  resize: vertical;
}
.form-field--invalid input, .form-field--invalid select, .form-field--invalid textarea {
  border-color: #c44d4d;
}
.form-field--invalid input:focus, .form-field--invalid select:focus, .form-field--invalid textarea:focus {
  border-color: #c44d4d;
  box-shadow: 0 0 0 3px rgba(196, 77, 77, 0.12);
}
.form-field__message {
  display: block;
  margin-top: 5px;
  color: #8a958e;
  font-size: 9.5px;
  line-height: 1.4;
}
.form-field__message--error {
  color: #c44d4d;
}

.required-indicator {
  color: #c44d4d;
  font-weight: 750;
}

.standard-picker {
  position: relative;
}
.standard-picker__search[hidden] {
  display: none;
}
.standard-picker--enhanced select {
  display: none;
}
.standard-picker__results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 240px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #c8d2ca;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(20, 26, 23, 0.14);
}
.standard-picker__option, .standard-picker__empty {
  display: block;
  width: 100%;
  padding: 9px 12px;
  color: #1d2822;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}
.standard-picker__option {
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid #dce4dd;
  cursor: pointer;
}
.standard-picker__option:last-child {
  border-bottom: 0;
}
.standard-picker__option:hover, .standard-picker__option:focus {
  background: #f8faf7;
  color: #5c8f18;
  outline: none;
}
.standard-picker__empty {
  color: #8a958e;
}

.job-type-builder {
  display: grid;
  gap: var(--space-2);
}

.job-type-builder__rows {
  display: grid;
  gap: var(--space-2);
}

.job-type-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 112px 36px;
  gap: var(--space-2);
  align-items: center;
}
.job-type-row input {
  text-align: center;
}

.job-type-row__remove {
  width: 36px;
  height: 36px;
}

.site-contact-builder {
  display: grid;
  gap: var(--space-2);
}

.site-contact-builder__rows {
  display: grid;
  gap: var(--space-2);
}

.site-contact-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 0.8fr) 96px 36px;
  gap: var(--space-2);
  align-items: center;
}

.site-contact-row__primary {
  justify-content: center;
  min-height: 44px;
}

.site-contact-row__remove {
  width: 36px;
  height: 36px;
}

.site-contacts-form {
  display: grid;
  gap: var(--space-4);
}
.site-contacts-form .form-actions {
  margin-top: 0;
}

.site-contacts-list {
  display: grid;
}

.site-contact-assignment {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid #dce4dd;
}
.site-contact-assignment:first-child {
  padding-top: 0;
}

.site-contact-assignment__identity {
  min-width: 0;
}
.site-contact-assignment__identity .text-link,
.site-contact-assignment__identity small {
  display: block;
}
.site-contact-assignment__identity small {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #8a958e;
  font-size: 10.5px;
  line-height: 1.4;
}

.site-contact-assignment__checks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.site-contact-recipient-checks {
  display: grid;
  gap: var(--space-2);
}
.site-contact-recipient-checks .checkbox-control {
  margin-bottom: 0;
}

.site-contact-recipient-checks__label {
  color: #1d2822;
  font-size: 11.5px;
  font-weight: 650;
}

.site-contacts-add {
  display: grid;
  gap: var(--space-3);
}
.site-contacts-add h3 {
  margin: 0;
  color: #1d2822;
  font-size: 13px;
}

.quick-contact-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-5);
  background: rgba(8, 14, 10, 0.48);
}

.quick-contact-modal[hidden] {
  display: none;
}

.quick-contact-modal__panel {
  width: min(620px, 100%);
  max-height: min(720px, 100vh - 48px);
  overflow: auto;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(20, 26, 23, 0.18);
}

.quick-contact-modal__panel--small {
  width: min(420px, 100%);
}

.quick-contact-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5);
  border-bottom: 1px solid #dce4dd;
}
.quick-contact-modal__header h3 {
  margin: 0;
  color: #1d2822;
  font-size: 18px;
  line-height: 1.2;
}

.quick-contact-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  padding: var(--space-5);
}

.quick-contact-modal__grid--single {
  grid-template-columns: 1fr;
}

.quick-contact-modal > .quick-contact-modal__panel > .form-field__message {
  margin: 0 var(--space-5);
}

.quick-contact-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: var(--space-5);
  border-top: 1px solid #dce4dd;
}

.form-field .checkbox-control {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  gap: 10px;
  color: #1d2822;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.form-field .checkbox-control input {
  display: inline-block;
  width: 16px;
  height: 16px;
  padding: 0;
  accent-color: #75b320;
  cursor: pointer;
}
.form-field .checkbox-control span {
  line-height: 1.35;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid #dce4dd;
}
.form-actions p {
  margin-bottom: 0;
  color: #8a958e;
  font-size: 10.5px;
}
.form-actions__buttons {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.inline-action-form {
  display: inline-flex;
  margin-top: var(--space-2);
}

.job-schedule-header {
  align-items: flex-end;
}

.job-schedule-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.job-schedule-range-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.job-schedule-range-filter label {
  color: #8a958e;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.job-schedule-range-filter input {
  height: 38px;
  padding: 0 9px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 6px;
  color: #1d2822;
  font-size: 12px;
  font-weight: 600;
}

.job-schedule-notice {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #e6f3e9;
  border: 1px solid rgba(50, 128, 68, 0.28);
  border-radius: 9px;
  color: #328044;
  font-size: 13px;
  font-weight: 650;
}

.job-schedule-notice--error {
  background: #fbe8e8;
  border-color: rgba(196, 77, 77, 0.28);
  color: #c44d4d;
}

.job-schedule {
  padding: 0;
  overflow: hidden;
}

.job-schedule__scroller {
  overflow: auto;
}

.job-schedule__grid {
  display: grid;
  grid-template-columns: 260px repeat(var(--schedule-days), minmax(168px, 1fr));
  min-width: 1436px;
}

.job-schedule__corner,
.job-schedule__day-heading,
.job-schedule__technician {
  position: sticky;
  z-index: 2;
  background: #f8faf7;
}

.job-schedule__corner {
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 62px;
  padding: 12px 16px;
  border-right: 1px solid #dce4dd;
  border-bottom: 1px solid #dce4dd;
  color: #66736b;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-schedule__corner-title {
  align-self: flex-start;
  margin-bottom: 5px;
}

.job-schedule__filters {
  display: grid;
  width: 100%;
  gap: 6px;
}
.job-schedule__filters .data-table__filter {
  min-width: 0;
}

.job-schedule__day-heading {
  top: 0;
  z-index: 3;
  display: flex;
  min-height: 62px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 12px;
  border-right: 1px solid #dce4dd;
  border-bottom: 1px solid #dce4dd;
}
.job-schedule__day-heading span {
  color: #8a958e;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.job-schedule__day-heading strong {
  color: #1d2822;
  font-size: 14px;
}

.job-schedule__technician-details {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}
.job-schedule__technician-details strong,
.job-schedule__technician-details small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.job-schedule__technician-details small {
  color: #8a958e;
  font-size: 10px;
  line-height: 1.25;
}

[data-schedule-lane][hidden] {
  display: none;
}

.job-schedule__day-heading--today {
  background: #eaf4dc;
}

.job-schedule__technician {
  left: 0;
  z-index: 2;
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-right: 1px solid #dce4dd;
  border-bottom: 1px solid #dce4dd;
}
.job-schedule__technician > .job-schedule__technician-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  background: #edf1ed;
  border-radius: 50%;
  color: #66736b;
  font-size: 11px;
  font-weight: 800;
}
.job-schedule__technician strong {
  color: #1d2822;
  font-size: 13px;
  line-height: 1.25;
}

.job-schedule__technician--unassigned > .job-schedule__technician-avatar {
  background: #fff4d8;
  color: #b7791f;
}

.job-schedule__cell {
  min-height: 72px;
  padding: 8px;
  background: #ffffff;
  border-right: 1px solid #dce4dd;
  border-bottom: 1px solid #dce4dd;
  transition: background-color 140ms ease, box-shadow 140ms ease;
}

.job-schedule__cell--over {
  background: #eaf4dc;
  box-shadow: inset 0 0 0 2px #75b320;
}

.job-tile {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 9px 10px;
  background: #ffffff;
  border: 1px solid #c8d2ca;
  border-left: 3px solid #3d708f;
  border-radius: 6px;
  color: #1d2822;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(20, 26, 23, 0.07);
}
.job-tile:hover, .job-tile:focus-visible {
  border-color: #75b320;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.13);
}

.job-tile--in_progress {
  border-left-color: #328044;
}

.job-tile--on_hold {
  border-left-color: #b7791f;
}

.job-tile--supervised-training {
  border-left-color: #b7791f;
}

.job-tile--dragging {
  opacity: 0.45;
}

.job-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.job-tile__top strong {
  font-size: 12px;
  letter-spacing: 0.01em;
}
.job-tile__top time {
  color: #66736b;
  font-size: 11px;
  font-weight: 700;
}

.job-tile__site {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 720;
}

.job-details-modal {
  position: fixed;
  z-index: 140;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.job-details-modal[hidden] {
  display: none;
}

.job-details-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 10, 0.52);
}

.job-details-modal__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(20, 26, 23, 0.24);
}

.job-details-modal__header,
.job-details-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.job-details-modal__header {
  border-bottom: 1px solid #dce4dd;
}
.job-details-modal__header h2,
.job-details-modal__header p {
  margin: 0;
}

.job-details-modal__details {
  padding: 20px;
}

.job-details-modal__notes {
  grid-column: 1/-1;
}

.job-details-modal__actions {
  justify-content: flex-end;
  border-top: 1px solid #dce4dd;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .job-schedule-header {
    align-items: stretch;
  }
  .job-schedule-header__actions {
    justify-content: flex-start;
  }
  .job-schedule-range-filter {
    width: 100%;
    flex-wrap: wrap;
  }
  .job-details-modal {
    padding: 12px;
  }
}
.form-notice {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 650;
}

.form-notice--success {
  background: #e6f3e9;
  border: 1px solid rgba(50, 128, 68, 0.25);
  color: #328044;
}

.job-clock-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.job-clock-panel h2,
.job-clock-panel p {
  margin: 0;
}
.job-clock-panel p:not(.panel__eyebrow) {
  margin-top: 8px;
  color: #66736b;
}

.job-live-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #e6f3e9;
  border-color: rgba(50, 128, 68, 0.24);
}
.job-live-strip > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #328044;
}
.job-live-strip dl {
  display: flex;
  gap: 32px;
  margin: 0;
}
.job-live-strip dl div {
  display: grid;
  gap: 2px;
}
.job-live-strip dl dt {
  color: #66736b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.job-live-strip dl dd {
  margin: 0;
  color: #1d2822;
  font-size: 13px;
  font-weight: 720;
}

.job-work-launcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.job-work-launcher__item {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #f8faf7;
  border: 1px solid #dce4dd;
  border-radius: 9px;
  color: #1d2822;
  text-decoration: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.job-work-launcher__item:hover, .job-work-launcher__item:focus-visible {
  background: #eaf4dc;
  border-color: #75b320;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.12);
}
.job-work-launcher__item > svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #5c8f18;
}
.job-work-launcher__item > svg:last-child {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: #8a958e;
}
.job-work-launcher__item span {
  display: grid;
  gap: 3px;
}
.job-work-launcher__item strong {
  font-size: 13px;
}
.job-work-launcher__item small {
  color: #66736b;
  font-size: 11px;
}

.job-completion__summary {
  margin-bottom: 20px;
}

.job-completion__form {
  display: grid;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid #dce4dd;
}

.job-signature-block {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: #f8faf7;
  border: 1px solid #dce4dd;
  border-radius: 9px;
}
.job-signature-block h3 {
  margin: 0;
  color: #1d2822;
  font-size: 17px;
}

.signature-canvas {
  display: block;
  width: 100%;
  max-width: 760px;
  height: 180px;
  margin-bottom: 8px;
  background: #ffffff;
  border: 1px solid #c8d2ca;
  border-radius: 6px;
  cursor: crosshair;
  touch-action: none;
}
.signature-canvas:focus {
  border-color: #75b320;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.14);
}

.job-completion__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.job-completion__actions p {
  margin: 0;
  color: #66736b;
  font-size: 12px;
}

.site-test-form__note {
  margin: 20px 0 0;
  padding: 12px 16px;
  background: #e6f1f7;
  border-radius: 6px;
  color: #3d708f;
  font-size: 12px;
}

.site-test-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .job-work-launcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .job-clock-panel,
  .job-live-strip,
  .job-completion__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .job-live-strip dl {
    flex-direction: column;
    gap: 12px;
  }
  .job-work-launcher {
    grid-template-columns: 1fr;
  }
  .signature-canvas {
    height: 150px;
  }
}
.standards-reader {
  min-width: 0;
}

.standards-pdf-frame {
  background: #f3f6f2;
  border: 1px solid #dce4dd;
  border-radius: 6px;
  display: block;
  height: 78vh;
  min-height: 30rem;
  width: 100%;
}

.standards-index-summary {
  color: #66736b;
  font-size: 0.8rem;
  margin: 12px 20px;
}

.standards-document-results {
  border-bottom: 1px solid #dce4dd;
  margin-bottom: 16px;
  max-height: 24rem;
  overflow: auto;
  padding: 0 20px 12px;
}

.standards-page-matches {
  list-style: none;
  margin: 0;
  padding: 0;
}
.standards-page-matches li + li {
  border-top: 1px solid #dce4dd;
  padding-top: 12px;
}
.standards-page-matches p {
  color: #66736b;
  line-height: 1.5;
  margin: 8px 0 12px;
}

.standards-search-snippet {
  max-width: 42rem;
  min-width: 16rem;
}

.standards-page-matches mark,
.standards-search-snippet mark {
  background: #fff4d8;
  color: #1d2822;
}

.standards-assignment,
.standards-result-navigation {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.standards-assignment {
  min-width: 15rem;
}
.standards-assignment .form-field {
  flex: 1;
  min-width: 10rem;
}
.standards-assignment select {
  max-width: 24rem;
  width: 100%;
}

.standards-import-progress {
  overflow-wrap: anywhere;
}
.standards-import-progress progress {
  accent-color: #75b320;
  width: 100%;
}
.standards-import-progress li {
  margin-bottom: 8px;
}

@media (max-width: 48rem) {
  .standards-pdf-frame {
    height: 72vh;
    min-height: 24rem;
  }
}
.purchase-order-lines input,
.purchase-order-lines select,
.quote-lines input,
.quote-lines select,
.shipping-item-picker input,
.shipping-item-picker select {
  min-width: 5.5rem;
  width: 100%;
}

.purchase-order-lines th:first-child,
.purchase-order-lines td:first-child {
  min-width: 16rem;
}

.quote-lines th:nth-child(1),
.quote-lines td:nth-child(1) {
  min-width: 14rem;
}
.quote-lines th:nth-child(3),
.quote-lines td:nth-child(3) {
  min-width: 16rem;
}
.quote-lines td input + input,
.quote-lines td select + select {
  margin-top: 0.35rem;
}

.shipping-item-picker {
  max-height: 34rem;
  overflow: auto;
}
.shipping-item-picker th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.shipping-item-picker input[type=checkbox] {
  min-width: auto;
  width: auto;
}

.document-screen-toolbar {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin: 1.5rem auto;
  max-width: 70rem;
  padding: 0 1rem;
}

.print-document {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(20, 26, 23, 0.12);
  color: #1d2822;
  margin: 0 auto 2rem;
  max-width: 70rem;
  min-height: 60rem;
  padding: 2rem;
}

.print-document__header,
.print-document__addresses,
.print-document__signatures,
.print-document__footer {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-document .print-document__title small {
  display: block;
  margin-top: 0.25rem;
}
.report-document .print-document__signatures {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.report-document__section {
  margin: 1.25rem 0;
}
.report-document__section h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.report-document__accreditation {
  border-left: 0.2rem solid #75b320;
  margin: 1.25rem 0;
  padding: 0.5rem 0.75rem;
}
.report-document__accreditation p {
  margin: 0.25rem 0 0;
}

.print-document__header {
  align-items: start;
  border-bottom: 0.2rem solid #75b320;
  padding-bottom: 1rem;
}

.print-document__brand {
  color: #75b320;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
}

.print-document__title {
  text-align: right;
}
.print-document__title h1 {
  margin: 0 0 0.35rem;
}

.print-document__watermark {
  border: 1px solid #b7791f;
  color: #b7791f;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-left: 0.75rem;
  padding: 0.2rem 0.45rem;
}

.print-document__addresses {
  border-bottom: 1px solid #dce4dd;
  padding: 1.25rem 0;
}
.print-document__addresses h2,
.print-document__addresses p {
  margin: 0 0 0.35rem;
}
.print-document__addresses h2 {
  color: #8a958e;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.print-document__meta {
  display: grid;
  gap: 0.75rem 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.25rem 0;
}
.print-document__meta div {
  border-bottom: 1px solid #dce4dd;
  padding-bottom: 0.45rem;
}
.print-document__meta dt {
  color: #8a958e;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.print-document__meta dd {
  margin: 0.25rem 0 0;
}

.print-document__table {
  border-collapse: collapse;
  font-size: 0.78rem;
  margin: 1.25rem 0;
  width: 100%;
}
.print-document__table th,
.print-document__table td {
  border: 1px solid #dce4dd;
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
}
.print-document__table th {
  background: #f8faf7;
}
.print-document__table tfoot th,
.print-document__table tfoot td {
  text-align: right;
}
.print-document__table small {
  display: block;
}

.print-document__notes {
  border: 1px solid #dce4dd;
  min-height: 5rem;
  padding: 0.75rem;
}
.print-document__notes h2,
.print-document__notes p {
  margin: 0 0 0.5rem;
}

.print-document__signatures {
  margin-top: 2rem;
}
.print-document__signatures div {
  border-top: 1px solid #1d2822;
  display: grid;
  gap: 0.35rem;
  min-height: 5rem;
  padding-top: 0.5rem;
}
.print-document__signatures span {
  color: #8a958e;
  font-size: 0.72rem;
}

.print-document__footer {
  border-top: 1px solid #dce4dd;
  color: #8a958e;
  font-size: 0.68rem;
  margin-top: 2rem;
  padding-top: 0.5rem;
}
.print-document__footer div:last-child {
  text-align: right;
}

@media (max-width: 48rem) {
  .print-document__header,
  .print-document__addresses,
  .print-document__signatures,
  .print-document__footer,
  .report-document .print-document__signatures {
    grid-template-columns: minmax(0, 1fr);
  }
  .print-document {
    min-height: 0;
    padding: 1rem;
  }
}
@media print {
  @page {
    margin: 11mm;
    size: A4 portrait;
  }
  body {
    background: #fff !important;
    display: block !important;
  }
  .sidebar,
  .navigation-toggle,
  .document-screen-toolbar,
  body > svg {
    display: none !important;
  }
  .print-document {
    box-shadow: none;
    margin: 0;
    max-width: none;
    min-height: 0;
    padding: 0;
  }
  .application-shell,
  .print-document-page {
    display: block !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }
  .print-document__table {
    font-size: 8pt;
  }
  .print-document__table thead {
    display: table-header-group;
  }
  .print-document__table tr {
    break-inside: avoid;
  }
  .report-document .print-document__signatures {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.login-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  background: #f3f6f2;
  padding-top: 15vh;
}

.login-box {
  background: #ffffff;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(29, 40, 34, 0.08);
  padding: 48px;
  width: 100%;
  max-width: 420px;
}

.login-box__header {
  text-align: center;
  margin-bottom: 32px;
}

.login-box__title {
  font-size: 28px;
  font-weight: 700;
  color: #1d2822;
  margin: 0 0 8px 0;
}

.login-box__subtitle {
  color: #66736b;
  font-size: 13px;
  margin: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-form__remember {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #66736b;
  font-size: 12.5px;
  font-weight: 550;
  line-height: 1.4;
  cursor: pointer;
}
.login-form__remember input {
  width: 16px;
  height: 16px;
  accent-color: #75b320;
  cursor: pointer;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-weight: 650;
  color: #1d2822;
  font-size: 11.5px;
}
.form-group input {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid #c8d2ca;
  border-radius: 6px;
  color: #1d2822;
  outline: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  height: 44px;
  padding: 0 12px;
}
.form-group input::placeholder {
  color: #8a958e;
}
.form-group input:hover:not(:disabled) {
  border-color: #aebbb1;
}
.form-group input:focus {
  border-color: #75b320;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.14);
}
.form-group input:disabled {
  background: #edf1ed;
  border-color: #dbe2dc;
  color: #8a958e;
  cursor: not-allowed;
}
.form-group__error {
  color: #c44d4d;
  font-size: 9.5px;
  margin-top: -2px;
  display: none;
  line-height: 1.4;
}
.form-group.has-error input {
  border-color: #c44d4d;
}
.form-group.has-error input:focus {
  border-color: #c44d4d;
  box-shadow: 0 0 0 3px rgba(196, 77, 77, 0.12);
}
.form-group.has-error .form-group__error {
  display: block;
}

.login-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: #75b320;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 650;
  font-size: 13.5px;
  cursor: pointer;
  transition: opacity 140ms ease, transform 80ms ease;
  margin-top: 12px;
  height: 44px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.login-form__submit:hover:not(:disabled) {
  opacity: 0.9;
}
.login-form__submit:active:not(:disabled) {
  transform: scale(0.98);
}
.login-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.login-form__link-button {
  text-decoration: none;
}

.alert {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 20px;
  display: none;
  line-height: 1.4;
}
.alert.alert--error {
  background-color: #fbe8e8;
  border-left: 3px solid #c44d4d;
  color: #c44d4d;
  display: block;
}
.alert.alert--success {
  background-color: #e6f3e9;
  border-left: 3px solid #328044;
  color: #328044;
  display: block;
}

.login-box__footer {
  text-align: center;
  margin-top: 24px;
  font-size: 12.5px;
  color: #66736b;
}
.login-box__footer a {
  color: #75b320;
  text-decoration: none;
  font-weight: 600;
}
.login-box__footer a:hover {
  text-decoration: underline;
}

.table-container,
.compact-table-container {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: #c8d2ca transparent;
  scrollbar-width: thin;
}

.remote-table__status {
  min-height: 18px;
  margin: 8px 13px;
  color: #8a958e;
  font-size: 11px;
}

.remote-table__sentinel {
  width: 100%;
  height: 1px;
}

.data-table,
.compact-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.data-table {
  min-width: 1110px;
}
.data-table--job-tests {
  table-layout: fixed;
  min-width: 760px;
}
.data-table--job-tests th,
.data-table--job-tests td {
  width: 20%;
}
.data-table--job-tests th:nth-child(4),
.data-table--job-tests th:nth-child(5),
.data-table--job-tests td:nth-child(4),
.data-table--job-tests td:nth-child(5) {
  text-align: center;
}
.data-table--test-catalogue {
  min-width: 920px;
  table-layout: fixed;
}
.data-table--test-catalogue th:nth-child(1),
.data-table--test-catalogue td:nth-child(1) {
  width: 10%;
}
.data-table--test-catalogue th:nth-child(2),
.data-table--test-catalogue td:nth-child(2) {
  width: 18%;
}
.data-table--test-catalogue th:nth-child(3),
.data-table--test-catalogue td:nth-child(3) {
  width: 14%;
}
.data-table--test-catalogue th:nth-child(4),
.data-table--test-catalogue td:nth-child(4) {
  width: 24%;
}
.data-table--test-catalogue th:nth-child(5),
.data-table--test-catalogue td:nth-child(5) {
  width: 14%;
}
.data-table--test-catalogue th:nth-child(6),
.data-table--test-catalogue td:nth-child(6) {
  width: 10%;
}
.data-table--test-catalogue th:nth-child(7),
.data-table--test-catalogue td:nth-child(7) {
  width: 10%;
}
.data-table--test-catalogue td,
.data-table--test-catalogue .table-reference {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table--test-catalogue .table-reference {
  display: block;
}
.data-table th {
  position: sticky;
  z-index: 2;
  top: 0;
  height: 36px;
  padding: 3px 10px;
  background: #f8faf7;
  border-bottom: 1px solid #dce4dd;
  color: #66736b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table__column-tools {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.data-table__column-actions {
  display: inline-flex;
  width: 100%;
  min-height: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.data-table__filter-toggle-button, .data-table__sort-button {
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.data-table__filter-toggle-button {
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table__sort-button {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.data-table__sort-button:hover, .data-table__sort-button:focus-visible {
  background: rgba(117, 179, 32, 0.1);
  outline: none;
}
.data-table__sort-arrow {
  flex: 0 0 auto;
  color: #5c8f18;
  font-size: 12px;
  line-height: 1;
}
.data-table__filter {
  width: 100%;
  min-width: 110px;
  height: 28px;
  padding: 0 8px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 5px;
  color: #1d2822;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
  text-transform: none;
}
.data-table__filter:focus {
  border-color: #75b320;
  box-shadow: 0 0 0 3px rgba(117, 179, 32, 0.12);
}
.data-table td {
  height: 36px;
  padding: 3px 10px;
  border-bottom: 1px solid #e9eee9;
  color: #66736b;
  font-size: 11px;
  vertical-align: middle;
}
.data-table tbody tr {
  transition: background-color 140ms ease;
}
.data-table tbody tr:nth-child(even) {
  background: #fbfcfb;
}
.data-table tbody tr:hover {
  background: #f2f7ee;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table td strong {
  display: block;
  color: #1d2822;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}
.data-table td small {
  display: block;
  margin-top: 1px;
  color: #8a958e;
  font-size: 10px;
  line-height: 1.35;
}
.data-table--customers {
  table-layout: fixed;
  min-width: 780px;
}
.data-table--customers th,
.data-table--customers td {
  height: 36px;
  padding: 3px 10px;
  font-size: 11px;
}
.data-table--customers th:nth-child(1),
.data-table--customers td:nth-child(1) {
  width: 36%;
}
.data-table--customers th:nth-child(2),
.data-table--customers td:nth-child(2) {
  width: 28%;
}
.data-table--customers th:nth-child(3),
.data-table--customers td:nth-child(3) {
  width: 20%;
}
.data-table--customers th:nth-child(4),
.data-table--customers td:nth-child(4) {
  width: 16%;
  text-align: left;
}
.data-table--customers .data-table__column-actions {
  justify-content: space-between;
}
.data-table--customers th:nth-child(1) .data-table__column-actions,
.data-table--customers th:nth-child(2) .data-table__column-actions,
.data-table--customers th:nth-child(3) .data-table__column-actions {
  justify-content: space-between;
}
.data-table--customers td,
.data-table--customers td strong,
.data-table--customers td small,
.data-table--customers .table-reference {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table--customers td strong,
.data-table--customers .table-reference {
  font-size: 11px;
  line-height: 1.2;
}
.data-table--customers td small {
  display: none;
}
.data-table--customers .badge {
  justify-content: center;
}
.data-table--sites {
  table-layout: fixed;
  min-width: 1120px;
}
.data-table--sites th,
.data-table--sites td {
  height: 36px;
  padding: 3px 10px;
  font-size: 11px;
}
.data-table--sites th:nth-child(1),
.data-table--sites td:nth-child(1) {
  width: 18%;
}
.data-table--sites th:nth-child(2),
.data-table--sites td:nth-child(2) {
  width: 15%;
}
.data-table--sites th:nth-child(3),
.data-table--sites td:nth-child(3) {
  width: 17%;
}
.data-table--sites th:nth-child(4),
.data-table--sites td:nth-child(4) {
  width: 8%;
  text-align: left;
}
.data-table--sites th:nth-child(5),
.data-table--sites td:nth-child(5) {
  width: 20%;
}
.data-table--sites th:nth-child(6),
.data-table--sites td:nth-child(6) {
  width: 11%;
  text-align: left;
}
.data-table--sites th:nth-child(7),
.data-table--sites td:nth-child(7) {
  width: 11%;
  text-align: left;
}
.data-table--sites .data-table__column-actions {
  justify-content: space-between;
}
.data-table--sites th:nth-child(1) .data-table__column-actions,
.data-table--sites th:nth-child(2) .data-table__column-actions,
.data-table--sites th:nth-child(3) .data-table__column-actions,
.data-table--sites th:nth-child(5) .data-table__column-actions {
  justify-content: space-between;
}
.data-table--sites td,
.data-table--sites td strong,
.data-table--sites td small,
.data-table--sites .table-reference,
.data-table--sites .text-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table--sites td strong,
.data-table--sites .table-reference {
  font-size: 11px;
  line-height: 1.2;
}
.data-table--sites td small {
  display: none;
}
.data-table--sites .badge {
  justify-content: center;
}
.data-table--contacts {
  table-layout: fixed;
  min-width: 980px;
}
.data-table--contacts th,
.data-table--contacts td {
  height: 36px;
  padding: 3px 10px;
  font-size: 11px;
}
.data-table--contacts th:nth-child(1),
.data-table--contacts td:nth-child(1) {
  width: 18%;
}
.data-table--contacts th:nth-child(2),
.data-table--contacts td:nth-child(2) {
  width: 15%;
}
.data-table--contacts th:nth-child(3),
.data-table--contacts td:nth-child(3),
.data-table--contacts th:nth-child(4),
.data-table--contacts td:nth-child(4) {
  width: 20%;
}
.data-table--contacts th:nth-child(5),
.data-table--contacts td:nth-child(5) {
  width: 13%;
  text-align: left;
}
.data-table--contacts th:nth-child(6),
.data-table--contacts td:nth-child(6) {
  width: 14%;
  text-align: left;
}
.data-table--contacts .data-table__column-actions {
  justify-content: space-between;
}
.data-table--contacts th:nth-child(1) .data-table__column-actions,
.data-table--contacts th:nth-child(2) .data-table__column-actions,
.data-table--contacts th:nth-child(3) .data-table__column-actions,
.data-table--contacts th:nth-child(4) .data-table__column-actions {
  justify-content: space-between;
}
.data-table--contacts td,
.data-table--contacts td strong,
.data-table--contacts td small,
.data-table--contacts .table-reference {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table--contacts td strong,
.data-table--contacts .table-reference {
  font-size: 11px;
  line-height: 1.2;
}
.data-table--contacts td small {
  display: none;
}
.data-table--contacts .badge {
  justify-content: center;
}
.data-table--jobs {
  table-layout: fixed;
  min-width: 1040px;
}
.data-table--jobs th,
.data-table--jobs td {
  height: 36px;
  padding: 3px 10px;
  font-size: 11px;
}
.data-table--jobs th:nth-child(1),
.data-table--jobs td:nth-child(1) {
  width: 15%;
}
.data-table--jobs th:nth-child(2),
.data-table--jobs td:nth-child(2) {
  width: 11%;
  text-align: left;
}
.data-table--jobs th:nth-child(3),
.data-table--jobs td:nth-child(3) {
  width: 18%;
}
.data-table--jobs th:nth-child(4),
.data-table--jobs td:nth-child(4) {
  width: 18%;
}
.data-table--jobs th:nth-child(5),
.data-table--jobs td:nth-child(5) {
  width: 14%;
}
.data-table--jobs th:nth-child(6),
.data-table--jobs td:nth-child(6) {
  width: 14%;
}
.data-table--jobs th:nth-child(7),
.data-table--jobs td:nth-child(7) {
  width: 10%;
  text-align: left;
}
.data-table--jobs .data-table__column-actions {
  justify-content: space-between;
}
.data-table--jobs th:nth-child(1) .data-table__column-actions,
.data-table--jobs th:nth-child(3) .data-table__column-actions,
.data-table--jobs th:nth-child(4) .data-table__column-actions,
.data-table--jobs th:nth-child(5) .data-table__column-actions,
.data-table--jobs th:nth-child(6) .data-table__column-actions {
  justify-content: space-between;
}
.data-table--jobs td,
.data-table--jobs td strong,
.data-table--jobs td small,
.data-table--jobs .table-reference,
.data-table--jobs .text-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table--jobs td strong,
.data-table--jobs .table-reference {
  font-size: 11px;
  line-height: 1.2;
}
.data-table--jobs td small {
  display: none;
}
.data-table--jobs .badge {
  justify-content: center;
}
.data-table--samples {
  table-layout: fixed;
  min-width: 1645px;
}
.data-table--samples th,
.data-table--samples td {
  height: 36px;
  padding: 3px 10px;
  font-size: 11px;
}
.data-table--samples th:nth-child(1),
.data-table--samples td:nth-child(1) {
  width: 8%;
  min-width: 120px;
}
.data-table--samples th:nth-child(2),
.data-table--samples td:nth-child(2),
.data-table--samples th:nth-child(3),
.data-table--samples td:nth-child(3) {
  width: 8%;
  min-width: 130px;
}
.data-table--samples th:nth-child(6),
.data-table--samples td:nth-child(6),
.data-table--samples th:nth-child(7),
.data-table--samples td:nth-child(7) {
  width: 8%;
  min-width: 115px;
}
.data-table--samples th:nth-child(4),
.data-table--samples td:nth-child(4) {
  width: 11%;
  min-width: 170px;
}
.data-table--samples th:nth-child(5),
.data-table--samples td:nth-child(5) {
  width: 10%;
  min-width: 160px;
}
.data-table--samples th:nth-child(8),
.data-table--samples td:nth-child(8) {
  width: 9%;
  min-width: 110px;
}
.data-table--samples th:nth-child(9),
.data-table--samples td:nth-child(9) {
  width: 9%;
  min-width: 130px;
}
.data-table--samples th:nth-child(10),
.data-table--samples td:nth-child(10) {
  width: 7%;
  min-width: 135px;
}
.data-table--samples th:nth-child(11),
.data-table--samples td:nth-child(11) {
  width: 6%;
  min-width: 95px;
}
.data-table--samples th:nth-child(12),
.data-table--samples td:nth-child(12) {
  width: 8%;
  min-width: 115px;
  text-align: left;
}
.data-table--samples .data-table__column-actions {
  justify-content: space-between;
  gap: 4px;
}
.data-table--samples .data-table__filter {
  min-width: 0;
}
.data-table--samples td,
.data-table--samples .table-reference {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table--samples td small {
  display: none;
}
.data-table--testing {
  table-layout: fixed;
}
.data-table--testing th,
.data-table--testing td {
  height: 36px;
  padding: 3px 10px;
  font-size: 11px;
}
.data-table--testing .data-table__column-actions {
  justify-content: space-between;
}
.data-table--testing td,
.data-table--testing td small,
.data-table--testing .table-reference,
.data-table--testing .text-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table--testing--lab {
  min-width: 1380px;
}
.data-table--testing--lab th:nth-child(1),
.data-table--testing--lab td:nth-child(1) {
  width: 10%;
}
.data-table--testing--lab th:nth-child(2),
.data-table--testing--lab td:nth-child(2) {
  width: 8%;
}
.data-table--testing--lab th:nth-child(3),
.data-table--testing--lab td:nth-child(3) {
  width: 13%;
}
.data-table--testing--lab th:nth-child(4),
.data-table--testing--lab td:nth-child(4) {
  width: 12%;
}
.data-table--testing--lab th:nth-child(5),
.data-table--testing--lab td:nth-child(5) {
  width: 9%;
}
.data-table--testing--lab th:nth-child(6),
.data-table--testing--lab td:nth-child(6) {
  width: 12%;
}
.data-table--testing--lab th:nth-child(7),
.data-table--testing--lab td:nth-child(7) {
  width: 8%;
}
.data-table--testing--lab th:nth-child(8),
.data-table--testing--lab td:nth-child(8) {
  width: 10%;
}
.data-table--testing--lab th:nth-child(9),
.data-table--testing--lab td:nth-child(9) {
  width: 8%;
}
.data-table--testing--lab th:nth-child(10),
.data-table--testing--lab td:nth-child(10) {
  width: 10%;
  text-align: left;
}
.data-table--testing--site {
  min-width: 1280px;
}
.data-table--testing--site th:nth-child(1),
.data-table--testing--site td:nth-child(1) {
  width: 12%;
}
.data-table--testing--site th:nth-child(2),
.data-table--testing--site td:nth-child(2) {
  width: 9%;
}
.data-table--testing--site th:nth-child(3),
.data-table--testing--site td:nth-child(3) {
  width: 14%;
}
.data-table--testing--site th:nth-child(4),
.data-table--testing--site td:nth-child(4) {
  width: 13%;
}
.data-table--testing--site th:nth-child(5),
.data-table--testing--site td:nth-child(5) {
  width: 14%;
}
.data-table--testing--site th:nth-child(6),
.data-table--testing--site td:nth-child(6) {
  width: 10%;
}
.data-table--testing--site th:nth-child(7),
.data-table--testing--site td:nth-child(7) {
  width: 10%;
}
.data-table--testing--site th:nth-child(8),
.data-table--testing--site td:nth-child(8) {
  width: 7%;
}
.data-table--testing--site th:nth-child(9),
.data-table--testing--site td:nth-child(9) {
  width: 11%;
  text-align: left;
}
.data-table--reports {
  table-layout: fixed;
  min-width: 1400px;
}
.data-table--reports th,
.data-table--reports td {
  height: 36px;
  padding: 3px 10px;
  font-size: 11px;
}
.data-table--reports th:nth-child(1),
.data-table--reports td:nth-child(1),
.data-table--reports th:nth-child(2),
.data-table--reports td:nth-child(2) {
  width: 12%;
}
.data-table--reports th:nth-child(3),
.data-table--reports td:nth-child(3) {
  width: 11%;
}
.data-table--reports th:nth-child(4),
.data-table--reports td:nth-child(4) {
  width: 10%;
}
.data-table--reports th:nth-child(5),
.data-table--reports td:nth-child(5),
.data-table--reports th:nth-child(6),
.data-table--reports td:nth-child(6) {
  width: 6%;
}
.data-table--reports th:nth-child(7),
.data-table--reports td:nth-child(7),
.data-table--reports th:nth-child(8),
.data-table--reports td:nth-child(8),
.data-table--reports th:nth-child(9),
.data-table--reports td:nth-child(9) {
  width: 7%;
}
.data-table--reports th:nth-child(10),
.data-table--reports td:nth-child(10) {
  width: 8%;
}
.data-table--reports th:nth-child(11),
.data-table--reports td:nth-child(11) {
  width: 5%;
}
.data-table--reports th:nth-child(12),
.data-table--reports td:nth-child(12) {
  width: 9%;
  text-align: left;
}
.data-table--reports .data-table__column-actions {
  justify-content: space-between;
}
.data-table--reports td,
.data-table--reports .table-reference {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-type-summary {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}
.job-type-summary > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.job-type-tooltip {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.job-type-tooltip__button {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f8faf7;
  border: 1px solid #dce4dd;
  border-radius: 50%;
  color: #3d708f;
  cursor: help;
}
.job-type-tooltip__button svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.4;
}
.job-type-tooltip__button:hover, .job-type-tooltip__button:focus-visible {
  background: #e6f1f7;
  border-color: rgba(61, 112, 143, 0.35);
  outline: none;
}

.job-type-tooltip__panel {
  position: absolute;
  z-index: 30;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  width: max-content;
  max-width: min(320px, 82vw);
  gap: 5px;
  padding: 10px 12px;
  background: #1f2a24;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  box-shadow: 0 16px 34px rgba(21, 31, 25, 0.24);
  color: #ffffff;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}
.job-type-tooltip__panel span {
  display: block;
}

.job-type-tooltip:hover .job-type-tooltip__panel,
.job-type-tooltip:focus-within .job-type-tooltip__panel {
  opacity: 1;
  transform: translateY(0);
}

.compact-table {
  min-width: 520px;
}
.compact-table th {
  height: 38px;
  padding: 0 16px;
  background: #f8faf7;
  border-bottom: 1px solid #dce4dd;
  color: #66736b;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.compact-table td {
  height: 54px;
  padding: 8px 16px;
  border-bottom: 1px solid #e9eee9;
  color: #66736b;
  font-size: 11px;
  vertical-align: middle;
}
.compact-table td:first-child {
  width: 52%;
}
.compact-table td strong {
  display: block;
  color: #1d2822;
  font-size: 11.5px;
  font-weight: 650;
}
.compact-table td small {
  display: block;
  margin-top: 1px;
  color: #8a958e;
  font-size: 10px;
  line-height: 1.35;
}
.compact-table tbody tr:hover {
  background: #f6f9f5;
}
.compact-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-reference {
  color: #5c8f18;
  font-weight: 750;
  white-space: nowrap;
}
.table-reference:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.assigned-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1d2822;
  font-weight: 600;
  white-space: nowrap;
}

.avatar {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: #253129;
  border: 1px solid #34423a;
  border-radius: 50%;
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.025em;
}
.avatar--small {
  width: 26px;
  height: 26px;
  background: #edf1ed;
  border-color: #d9e1da;
  color: #66736b;
  font-size: 8.5px;
}

.error-page {
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  padding: var(--space-7) var(--space-6);
}
.error-page__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: var(--space-7);
  width: min(960px, 100%);
  padding: clamp(var(--space-6), 3vw, var(--space-9));
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 247, 0.92));
  border: 1px solid rgba(117, 179, 32, 0.18);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(20, 26, 23, 0.08);
  overflow: hidden;
}
.error-page__panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #75b320, #d3eb9b);
  content: "";
}
.error-page__content {
  position: relative;
  z-index: 1;
}
.error-page__eyebrow {
  margin-bottom: var(--space-3);
  color: #5c8f18;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.error-page__title {
  margin-bottom: var(--space-3);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}
.error-page__description {
  max-width: 560px;
  margin-bottom: var(--space-5);
  color: #66736b;
  font-size: 15px;
  line-height: 1.7;
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.error-page__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  isolation: isolate;
}
.error-page__visual::before {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(117, 179, 32, 0.22), rgba(117, 179, 32, 0));
  border-radius: 50%;
  content: "";
  z-index: 0;
}
.error-page__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 148px;
  height: 148px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(117, 179, 32, 0.16), rgba(117, 179, 32, 0.04));
  border: 1px solid rgba(117, 179, 32, 0.22);
  border-radius: 28px;
  color: #5c8f18;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.error-page__badge svg {
  width: 72px;
  height: 72px;
}
.error-page__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(117, 179, 32, 0.08);
  border: 1px solid rgba(117, 179, 32, 0.18);
  border-radius: 999px;
  color: #5c8f18;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1439px) {
  :root {
    --sidebar-width: 232px;
  }
  .sidebar__brand {
    padding-right: var(--space-4);
    padding-left: var(--space-4);
  }
  .topbar {
    padding-right: var(--space-5);
    padding-left: var(--space-5);
  }
  .topbar__branch span {
    display: none;
  }
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .customer-summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .kpi-card__label {
    min-height: auto;
  }
  .page-content {
    padding-right: var(--space-5);
    padding-left: var(--space-5);
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-workspace--team {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .work-clock__status {
    font-size: 0;
  }
  .work-clock__status span {
    margin-right: 2px;
  }
}
@media (max-width: 1023px) and (min-width: 768px) {
  :root {
    --sidebar-width: 84px;
  }
  .sidebar__brand {
    padding: var(--space-4) var(--space-3);
  }
  .brand {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
  }
  .brand__main {
    font-size: 0;
  }
  .brand__main::after {
    font-size: 20px;
    letter-spacing: -0.04em;
    content: "MT";
  }
  .brand__subtitle {
    display: none;
  }
  .navigation-group__title,
  .navigation-link__label,
  .navigation-link__counter {
    display: none;
  }
  .sidebar__navigation {
    padding-right: var(--space-3);
    padding-left: var(--space-3);
  }
  .navigation-group {
    margin-top: var(--space-4);
  }
  .navigation-link {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
  }
  .navigation-link__icon {
    width: 20px;
    height: 20px;
  }
  .sidebar__footer {
    padding: var(--space-3);
  }
  .branch-card {
    justify-content: center;
    padding: var(--space-3);
  }
  .branch-card__content {
    display: none;
  }
  .topbar {
    padding-right: var(--space-5);
    padding-left: var(--space-5);
  }
  .breadcrumb {
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .user-control__details,
  .user-control__chevron {
    display: none;
  }
  .page-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .page-header__content, .page-header__actions {
    width: 100%;
  }
  .page-header__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customer-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .register-toolbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .register-toolbar .register-toolbar__search {
    grid-column: 1/-1;
  }
  .register-toolbar--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
  }
  .panel__header {
    flex-wrap: wrap;
  }
  .sample-form {
    padding: var(--space-4);
  }
  .detail-list--columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-list--overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .asset-grid {
    grid-template-columns: 1fr;
  }
  .laboratory-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-workspace--team {
    grid-template-columns: 1fr;
  }
  .dashboard-team-column {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-row: 1;
  }
  .dashboard-task-card {
    grid-template-columns: 88px minmax(0, 1fr) auto;
  }
  .work-clock__status {
    font-size: 0;
  }
}
@media (max-width: 767px) {
  :root {
    --sidebar-width: min(286px, 88vw);
    --topbar-height: 64px;
  }
  .sidebar {
    width: var(--sidebar-width);
    transform: translateX(-102%);
    transition: transform 200ms ease;
  }
  .navigation-toggle:checked ~ .sidebar {
    transform: translateX(0);
  }
  .navigation-overlay {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: block;
    background: rgba(8, 14, 10, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }
  .navigation-toggle:checked ~ .navigation-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .application-shell {
    margin-left: 0;
  }
  .topbar {
    min-height: var(--topbar-height);
    padding: 8px var(--space-3);
  }
  .topbar__centre {
    width: 100%;
  }
  .topbar .search-control {
    width: 100%;
  }
  .topbar .topbar-actions__button > span,
  .topbar .dropdown-control__chevron {
    display: none;
  }
  .topbar .topbar-actions__button {
    width: 38px;
    padding: 0;
  }
  .page-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
  }
  .page-toolbar .topbar__left {
    flex: 1 1 auto;
  }
  .page-toolbar .topbar__menu-button {
    display: inline-flex;
  }
  .page-toolbar .topbar__right {
    gap: 6px;
  }
  .page-toolbar .dashboard-topbar__right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .page-toolbar .topbar-actions__button > span,
  .page-toolbar .dropdown-control__chevron {
    display: none;
  }
  .page-toolbar .topbar-actions__button {
    width: 38px;
    padding: 0;
  }
  .topbar-actions__menu {
    max-width: calc(100vw - 24px);
  }
  .page-content {
    padding: var(--space-5) var(--space-3) var(--space-7);
  }
  .page-header {
    gap: var(--space-4);
    margin-bottom: var(--space-5);
  }
  .page-header__content, .page-header__actions {
    width: 100%;
  }
  .page-header__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .page-header__actions .button,
  .page-header__actions a.button {
    width: 100%;
    justify-content: center;
  }
  .panel__header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  .panel__header > :first-child {
    min-width: 0;
    flex: 1 1 180px;
  }
  .panel__count {
    max-width: 100%;
    white-space: normal;
  }
  .grid-column-4,
  .grid-column-8,
  .grid-column-12 {
    grid-column: 1/-1;
  }
  .sample-form,
  .detail-block,
  .note-panel {
    padding: var(--space-4);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .job-type-row,
  .site-contact-row {
    grid-template-columns: 1fr;
  }
  .job-type-row__remove,
  .site-contact-row__remove {
    width: 100%;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form-actions__buttons {
    width: 100%;
    flex-direction: column;
  }
  .form-actions__buttons .button,
  .form-actions__buttons a.button {
    width: 100%;
    justify-content: center;
  }
  .application-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-2);
  }
  .customer-summary-strip,
  .register-toolbar {
    grid-template-columns: 1fr;
  }
  .register-toolbar {
    padding: var(--space-4);
  }
  .register-toolbar .form-field,
  .register-toolbar .button,
  .register-toolbar a.button,
  .register-toolbar select {
    width: 100%;
  }
  .data-table--jobs {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
  }
  .data-table--jobs thead {
    display: none;
  }
  .data-table--jobs tbody,
  .data-table--jobs tr,
  .data-table--jobs td {
    display: block;
    width: 100%;
  }
  .data-table--jobs tr {
    padding: 8px 0;
    background: #ffffff;
    border: 1px solid #dce4dd;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(21, 31, 25, 0.04);
  }
  .data-table--jobs tbody tr:nth-child(even),
  .data-table--jobs tbody tr:hover {
    background: #ffffff;
  }
  .data-table--jobs td {
    display: grid;
    min-height: 0;
    height: auto;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-bottom: 0;
    text-align: left;
    white-space: normal;
  }
  .data-table--jobs td::before {
    content: attr(data-label);
    color: #8a958e;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }
  .data-table--jobs td,
  .data-table--jobs td strong,
  .data-table--jobs td small,
  .data-table--jobs .table-reference,
  .data-table--jobs .text-link {
    white-space: normal;
  }
  .data-table--jobs td small {
    display: block;
  }
  .data-table--jobs .badge,
  .data-table--jobs .job-type-summary {
    justify-content: flex-start;
  }
  .data-table--jobs .job-type-tooltip__panel {
    right: auto;
    left: -118px;
    max-width: calc(100vw - 42px);
  }
  .job-type-row {
    grid-template-columns: 1fr;
  }
  .site-contact-row {
    grid-template-columns: 1fr;
  }
  .job-type-row__remove,
  .site-contact-row__remove {
    width: 100%;
  }
  .quick-contact-modal {
    padding: var(--space-3);
  }
  .quick-contact-modal__grid {
    grid-template-columns: 1fr;
  }
  .quick-contact-modal__panel {
    max-height: calc(100vh - 24px);
  }
  .quick-contact-modal__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .quick-contact-modal__actions .button,
  .quick-contact-modal__actions a.button {
    width: 100%;
    justify-content: center;
  }
  .overview-accordion__header,
  .activity-accordion__header {
    flex-direction: column;
    gap: var(--space-4);
  }
  .overview-accordion__title h1 {
    font-size: 23px;
    line-height: 1.15;
  }
  .overview-accordion__meta,
  .activity-accordion__meta {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .detail-list--columns {
    grid-template-columns: 1fr;
  }
  .detail-list--overview {
    grid-template-columns: 1fr;
  }
  .detail-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .asset-grid {
    grid-template-columns: 1fr;
  }
  .organisation-card {
    width: 150px;
    min-height: 96px;
  }
  .organisation-workspace {
    grid-template-columns: 1fr;
  }
  .organisation-workspace--profile-collapsed {
    grid-template-columns: 1fr;
  }
  .organisation-chart {
    border-right: 0;
    border-bottom: 1px solid #dce4dd;
  }
  .organisation-profile--collapsed {
    min-height: 58px;
  }
  .organisation-chart__item {
    padding-right: var(--space-3);
    padding-left: var(--space-3);
  }
  .laboratory-list {
    grid-template-columns: 1fr;
  }
  .dashboard-page {
    padding: var(--space-5) var(--space-3) var(--space-7);
  }
  .dashboard-heading {
    margin-bottom: var(--space-5);
  }
  .dashboard-heading h1 {
    font-size: 25px;
  }
  .work-clock {
    min-width: 0;
    gap: 5px;
  }
  .work-clock__status {
    padding-left: 5px;
    font-size: 0;
  }
  .work-clock__time {
    min-width: 55px;
    font-size: 10.5px;
  }
  .work-clock__stop, .work-clock__start {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10.5px;
  }
  .dashboard-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
  }
  .dashboard-focus-card {
    min-height: 68px;
    gap: 9px;
    padding: var(--space-3);
  }
  .dashboard-focus-card__icon {
    width: 34px;
    height: 34px;
  }
  .dashboard-focus-card strong {
    font-size: 20px;
  }
  .dashboard-focus-card small {
    font-size: 10px;
  }
  .dashboard-workspace--team,
  .dashboard-team-column {
    grid-template-columns: 1fr;
  }
  .dashboard-team-column {
    position: static;
    grid-row: 1;
  }
  .dashboard-task-panel .panel__header {
    min-height: 0;
    padding: var(--space-4);
  }
  .dashboard-task-card {
    grid-template-columns: 1fr;
    padding: var(--space-4);
    box-shadow: inset 3px 0 0 #dce4dd;
  }
  .dashboard-task-card--danger {
    box-shadow: inset 3px 0 0 #c44d4d;
  }
  .dashboard-task-card--warning {
    box-shadow: inset 3px 0 0 #b7791f;
  }
  .dashboard-task-card--info {
    box-shadow: inset 3px 0 0 #3d708f;
  }
  .dashboard-task-card__time {
    justify-content: flex-start;
    flex-direction: row;
    padding: 0 0 var(--space-3);
    background: transparent;
    border-right: 0;
    text-align: left;
  }
  .dashboard-task-card__time strong {
    font-size: 13px;
  }
  .dashboard-task-card__time span {
    margin-left: auto;
  }
  .dashboard-task-card__body {
    padding: 0;
  }
  .dashboard-task-card__heading {
    flex-direction: column-reverse;
  }
  .dashboard-task-card__actions {
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    padding: var(--space-4) 0 0;
  }
  .dashboard-task-card__actions .button {
    margin-left: auto;
  }
}
