:root {
  color-scheme: light;
  --ink: #182433;
  --ink-2: #333e4c;
  --muted: #818a95;
  --muted-2: #a3aab3;
  --line: #e7eaed;
  --line-2: #d5dfeb;
  --canvas: #f2f5f9;
  --white: #fff;
  --green: #165fc0;
  --green-2: #2071db;
  --green-3: #e7ecf3;
  --green-4: #d5dfec;
  --lime: #b8ceeb;
  --blue: #4774ab;
  --blue-bg: #eaf1f9;
  --amber: #a36d1c;
  --amber-bg: #fff3dd;
  --red: #b7524d;
  --red-bg: #fbeceb;
  --purple: #7961a3;
  --purple-bg: #f1edfa;
  --shadow: 0 9px 28px rgba(24, 35, 50, 0.055);
  --shadow-lg: 0 22px 80px rgba(18, 27, 39, 0.25);
  font-family: Inter, 'DM Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 320px;
  background: var(--canvas);
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--canvas);
  font-size: 13px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.app-frame {
  min-height: 100vh;
}
.sidebar {
  width: 254px;
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 19px 13px 11px;
  background: #fff;
  border-right: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 45px;
  padding: 0 10px;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 18px;
}
.brand-symbol {
  height: 34px;
  width: 34px;
  position: relative;
  display: block;
  border-radius: 10px;
  background: var(--green);
  overflow: hidden;
  flex: none;
}
.brand-roof {
  position: absolute;
  width: 19px;
  height: 19px;
  border-left: 2px solid #e8eef5;
  border-top: 2px solid #e8eef5;
  transform: rotate(45deg);
  left: 8px;
  top: 5px;
  border-radius: 2px;
}
.brand-columns {
  position: absolute;
  left: 8px;
  right: 7px;
  bottom: 6px;
  height: 12px;
  border-top: 1px solid #e8eef5;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 3px, #e8eef5 3px, #e8eef5 4px);
  border-bottom: 1px solid #e8eef5;
}
.brand-copy {
  display: grid;
  gap: 0;
}
.brand-copy strong {
  font-size: 13px;
  letter-spacing: 0.075em;
  line-height: 1.2;
}
.brand-copy strong span {
  color: var(--green);
  margin-left: 4px;
}
.brand-copy small {
  font-size: 11px;
  color: #939ca7;
  letter-spacing: 0.11em;
  margin-top: 3px;
}
.branch-switch {
  height: 51px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  background: #f6f8fa;
  border: 1px solid #e9eef5;
  border-radius: 9px;
  margin: 0 1px 22px;
}
.branch-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #dce4ee;
  color: var(--green);
  display: grid;
  place-items: center;
  font:
    700 13px Georgia,
    serif;
}
.branch-switch > span:nth-child(2) {
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.branch-switch strong {
  font-size: 11px;
}
.branch-switch small {
  font-size: 11px;
  color: #959ca6;
}
.branch-chevron {
  color: #989fa9;
  font-size: 17px;
  padding-right: 3px;
}
.sidebar-scroll {
  overflow-y: auto;
  flex: 1;
  padding: 0 2px;
  scrollbar-width: thin;
}
.nav-group {
  margin-bottom: 21px;
}
.nav-heading {
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: #9ea5ad;
  padding: 0 11px;
  margin-bottom: 7px;
}
.nav-list {
  display: grid;
  gap: 3px;
}
.nav-link {
  width: 100%;
  height: 38px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 0 11px;
  border-radius: 7px;
  color: #6f7884;
  font-size: 12px;
  font-weight: 500;
  transition:
    background 0.16s,
    color 0.16s;
}
.nav-link .icon {
  width: 16px;
  height: 16px;
}
.nav-link:hover {
  background: #f4f7fa;
  color: var(--ink);
}
.nav-link.active {
  color: var(--green);
  background: #e9eef4;
  font-weight: 700;
}
.nav-badge {
  margin-left: auto;
  background: #fff;
  border: 1px solid #ebeef1;
  border-radius: 10px;
  min-width: 20px;
  padding: 1px 6px;
  text-align: center;
  color: #6c7784;
  font-size: 11px;
  font-weight: 600;
}
.nav-link.active .nav-badge {
  color: var(--green);
  border-color: #d1dbe9;
  background: #f6f8fa;
}
.sidebar-bottom {
  flex: none;
  padding-top: 11px;
}
.support-card {
  background: #f2f5f9;
  border: 1px solid #e5ebf2;
  border-radius: 9px;
  padding: 12px 12px 11px;
  margin: 0 2px 10px;
}
.support-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.support-symbol {
  width: 23px;
  height: 23px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #e0e7f0;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}
.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4773ac;
  box-shadow: 0 0 0 3px #dae3ef;
}
.support-card > strong {
  font-size: 11px;
}
.support-card p {
  font-size: 11px;
  color: #8f98a4;
  margin: 3px 0 7px;
}
.support-card button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}
.support-card button .icon {
  width: 12px;
  height: 12px;
}
.sidebar-logout {
  height: 34px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #868d97;
  text-align: left;
  padding: 0 10px;
  font-size: 11px;
}
.sidebar-logout .icon {
  width: 15px;
  height: 15px;
}
.sidebar-logout:hover {
  color: var(--red);
}
.sidebar-user {
  height: 50px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 4px 0;
  margin-top: 5px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.avatar-main {
  background: #dde4ee;
  color: #3971bb;
}
.avatar-blue {
  background: #e3ebf7;
  color: #5374a2;
}
.avatar-rose {
  background: #f7e7e6;
  color: #a45a56;
}
.avatar-amber {
  background: #f5eddc;
  color: #99712e;
}
.avatar-purple {
  background: #eee9f6;
  color: #755d9a;
}
.avatar-cyan {
  background: #dfe7f2;
  color: #4d8287;
}
.user-copy {
  display: grid;
  gap: 0;
  min-width: 0;
  flex: 1;
}
.user-copy strong {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-copy small {
  font-size: 11px;
  color: #959ca6;
}
.more-button {
  border: 0;
  background: transparent;
  color: #969da7;
  padding: 4px;
}
.more-button .icon {
  width: 16px;
  height: 16px;
}
.main-area {
  min-height: 100vh;
  margin-left: 254px;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 65px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.topbar-leading,
.topbar-right {
  display: flex;
  align-items: center;
}
.topbar-leading {
  gap: 14px;
  min-width: 220px;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9da4ad;
  font-size: 11px;
}
.crumbs .icon {
  width: 11px;
  height: 11px;
  transform: rotate(0deg);
}
.crumbs strong {
  font-size: 11px;
  color: #555f6b;
  font-weight: 600;
}
.topbar-right {
  gap: 15px;
}
.global-search {
  height: 34px;
  width: 250px;
  border: 1px solid #eceef1;
  background: #fafafb;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  color: #9fa6af;
}
.global-search .icon {
  width: 15px;
  height: 15px;
}
.global-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 11px;
  color: var(--ink);
}
.global-search input::placeholder {
  color: #a5acb4;
}
.global-search kbd {
  padding: 2px 4px;
  border: 1px solid #e7eaed;
  border-radius: 4px;
  color: #a4abb3;
  background: #fff;
  font-size: 11px;
  white-space: nowrap;
}
.icon-button {
  width: 33px;
  height: 33px;
  border: 1px solid #e5ebf2;
  border-radius: 8px;
  background: #fff;
  color: #747d89;
  display: grid;
  place-items: center;
  transition: all 0.16s;
  position: relative;
}
.icon-button:hover {
  color: var(--green);
  background: #f6f8fa;
  border-color: #d3ddea;
}
.icon-button .icon {
  width: 16px;
  height: 16px;
}
.top-notifications {
  border: 0;
  width: 30px;
  height: 30px;
}
.top-notifications i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  right: 5px;
  top: 5px;
  background: #d87561;
  border: 1px solid #fff;
}
.top-divider {
  width: 1px;
  height: 26px;
  background: var(--line);
}
.role-control {
  display: grid;
  gap: 0;
}
.role-caption {
  font-size: 10px;
  color: #a1a8b1;
  letter-spacing: 0.11em;
  font-weight: 700;
  line-height: 1.2;
}
.role-control select {
  border: 0;
  outline: 0;
  background: transparent;
  color: #4f5965;
  font-weight: 600;
  font-size: 11px;
  padding: 1px 15px 1px 0;
  cursor: pointer;
}
.role-switcher {
  margin-left: 5px;
  border: 1px solid var(--line-2) !important;
  border-radius: 6px;
  padding: 2px 18px 2px 6px !important;
  background: #fff !important;
  font-size: 11px !important;
  color: var(--green) !important;
  max-width: 120px;
}
.field-help {
  display: block;
  color: #838c98;
  font-size: 11px;
  font-weight: 400;
  margin-top: 6px;
}
.top-avatar {
  width: 30px;
  height: 30px;
}
.menu-button {
  display: none;
}
.workspace {
  width: min(1480px, 100%);
  padding: 27px 32px 34px;
  margin: 0 auto;
  flex: 1;
}
.footer {
  min-height: 40px;
  border-top: 1px solid #e7eaed;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9ea5ad;
  font-size: 11px;
}
.service-status {
  display: flex;
  align-items: center;
  gap: 5px;
}
.service-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4a76af;
}
.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.page-eyebrow {
  font-size: 11px;
  color: #959ca6;
  letter-spacing: 0.13em;
  font-weight: 700;
  margin-bottom: 4px;
}
.page-header h1 {
  font:
    700 22px/1.24 'Segoe UI',
    Arial,
    sans-serif;
  letter-spacing: -0.035em;
  color: #1e2b3d;
  margin: 0;
}
.page-header p {
  font-size: 11px;
  color: #88919c;
  margin: 5px 0 0;
}
.page-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.button {
  height: 34px;
  border: 1px solid #dfe6ef;
  border-radius: 7px;
  background: #fff;
  color: #5a6573;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.16s;
  white-space: nowrap;
}
.button:hover {
  border-color: #c8d4e4;
  background: #f6f8fb;
  color: var(--green);
}
.button .icon {
  width: 14px;
  height: 14px;
}
.button-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 2px 5px #165fc020;
}
.button-primary:hover {
  background: #0d54b2;
  border-color: #0d54b2;
  color: #fff;
}
.button-soft {
  background: #edf1f7;
  border-color: #edf1f7;
  color: var(--green);
}
.button-danger {
  color: var(--red);
  background: #fff;
  border-color: #f1d8d6;
}
.button-quiet {
  background: transparent;
}
.button-small {
  height: 28px;
  padding: 0 9px;
  font-size: 11px;
}
.icon-button.small {
  height: 28px;
  width: 28px;
}
.icon-button.small .icon {
  width: 14px;
  height: 14px;
}
.surface {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 1px 1px #1f2d3f04;
}
.surface-title {
  font-size: 12px;
  font-weight: 700;
  color: #353f4c;
}
.surface-hint {
  font-size: 11px;
  color: #959ca6;
  margin-top: 3px;
}
.surface-head {
  padding: 15px 16px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.surface-head.flush {
  padding-top: 13px;
  padding-bottom: 11px;
}
.text-link {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px;
}
.text-link .icon {
  width: 12px;
  height: 12px;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 14px;
}
.kpi-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 15px 12px;
  min-height: 99px;
  overflow: hidden;
}
.kpi-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7a838f;
  font-size: 11px;
}
.kpi-icon {
  height: 27px;
  width: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--green);
  background: #ecf0f6;
}
.kpi-icon .icon {
  width: 14px;
  height: 14px;
}
.kpi-icon.amber {
  color: #a77529;
  background: #fff4e0;
}
.kpi-icon.blue {
  color: #567aad;
  background: #edf2fa;
}
.kpi-icon.red {
  color: #af5d56;
  background: #f9edeb;
}
.kpi-icon.purple {
  color: #755f9a;
  background: #f0edf7;
}
.kpi-value-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 7px;
}
.kpi-value {
  font:
    700 23px/1.2 'Segoe UI',
    Arial,
    sans-serif;
  letter-spacing: -0.045em;
  color: #1e2c3f;
}
.kpi-delta {
  font-size: 11px;
  color: #4f81c3;
  font-weight: 700;
}
.kpi-delta.down {
  color: #ba714a;
}
.kpi-note {
  font-size: 11px;
  color: #9da4ad;
  margin-top: 2px;
}
.dashboard-upper {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.92fr);
  gap: 13px;
  margin-bottom: 13px;
}
.workflow-card {
  padding: 0 16px 15px;
}
.workflow-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
}
.workflow-step {
  position: relative;
  min-width: 0;
  padding: 0 5px;
}
.workflow-step:first-child {
  padding-left: 0;
}
.workflow-step:last-child {
  padding-right: 0;
}
.workflow-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 10px;
  left: 29px;
  right: -5px;
  border-top: 1px solid #d9e1ec;
}
.workflow-node {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ecf0f6;
  color: #4d71a0;
  border: 1px solid #d9e1ec;
  font-size: 11px;
  font-weight: 700;
}
.workflow-node .icon {
  width: 11px;
  height: 11px;
}
.workflow-step.current .workflow-node {
  background: var(--green);
  border-color: var(--green);
  color: white;
  box-shadow: 0 0 0 4px #e2e9f3;
}
.workflow-step.attention .workflow-node {
  background: #fff2dc;
  color: #b77d29;
  border-color: #f1dfbe;
}
.workflow-step strong {
  display: block;
  font-size: 11px;
  color: #4e5864;
  margin-top: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.workflow-step small {
  display: block;
  color: #a0a7b0;
  font-size: 11px;
  margin-top: 1px;
}
.dashboard-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 13px;
}
.deadline-card {
  padding: 0 14px 13px;
}
.deadline-list {
  display: grid;
  gap: 7px;
}
.deadline-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 7px;
  border-top: 1px solid #eef0f3;
}
.deadline-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.deadline-bar {
  width: 3px;
  height: 28px;
  border-radius: 3px;
  background: #e3b567;
  flex: none;
}
.deadline-row.urgent .deadline-bar {
  background: #d47567;
}
.deadline-copy {
  min-width: 0;
  flex: 1;
}
.deadline-copy strong {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deadline-copy small {
  display: block;
  color: #979ea7;
  font-size: 11px;
}
.deadline-time {
  font-size: 11px;
  font-weight: 700;
  color: #aa792d;
  white-space: nowrap;
}
.deadline-row.urgent .deadline-time {
  color: #b55850;
}
.load-card {
  padding: 0 14px 12px;
}
.load-list {
  display: grid;
  gap: 9px;
}
.load-row {
  display: grid;
  grid-template-columns: 24px minmax(55px, 1fr) auto;
  gap: 7px;
  align-items: center;
}
.load-row .avatar {
  width: 23px;
  height: 23px;
  font-size: 10px;
}
.load-person {
  min-width: 0;
}
.load-person strong {
  font-size: 11px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.load-person small {
  font-size: 10px;
  color: #969da7;
}
.load-metric {
  min-width: 60px;
}
.load-metric b {
  display: block;
  text-align: right;
  font-size: 11px;
  color: #636e7c;
}
.load-meter {
  height: 3px;
  border-radius: 5px;
  background: #e9eef5;
  margin-top: 3px;
  overflow: hidden;
}
.load-meter span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: #4c709e;
}
.load-meter.high span {
  background: #d19153;
}
.dashboard-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.86fr);
  gap: 13px;
}
.table-surface {
  overflow: hidden;
}
.table-scroll {
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
.data-table th {
  height: 31px;
  padding: 0 13px;
  background: #fafafb;
  border-top: 1px solid #eff1f3;
  border-bottom: 1px solid #eceef1;
  color: #9fa6af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.data-table td {
  height: 46px;
  padding: 6px 13px;
  border-bottom: 1px solid #eff1f3;
  color: #606975;
  font-size: 11px;
}
.data-table tbody tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr {
  transition: background 0.14s;
}
.data-table tbody tr:hover {
  background: #fafbfd;
}
.data-table tbody tr.clickable {
  cursor: pointer;
}
.table-id {
  color: var(--green) !important;
  font-weight: 700;
}
.person-cell {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #38424e !important;
  font-size: 11px !important;
  font-weight: 600;
}
.person-cell .avatar {
  height: 23px;
  width: 23px;
  font-size: 10px;
}
.table-secondary {
  display: block;
  color: #9ea5ad;
  font-size: 10px;
  font-weight: 400;
  margin-top: 1px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 14px;
  background: #f0f2f4;
  color: #5f6a78;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}
.status-pill:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-new {
  background: #edf2fb;
  color: #5a77ae;
}
.status-progress {
  background: #fff3df;
  color: #a87424;
}
.status-review {
  background: #f2edf9;
  color: #79619e;
}
.status-ready {
  background: #e7edf5;
  color: #416088;
}
.status-complete {
  background: #e7edf5;
  color: #416088;
}
.status-returned {
  background: #fff0e7;
  color: #ba7448;
}
.status-cancelled {
  background: #f6eded;
  color: #9b6662;
}
.priority {
  font-size: 10px;
  font-weight: 700;
}
.priority-high {
  color: #c06054;
}
.priority-normal {
  color: #838c97;
}
.priority-low {
  color: #4b6e9c;
}
.mini-stat-card {
  padding: 0 0 5px;
  overflow: hidden;
}
.service-summary {
  display: grid;
  gap: 11px;
  padding: 2px 14px 13px;
}
.service-line {
  display: grid;
  grid-template-columns: minmax(105px, 1fr) 1.2fr 29px;
  gap: 8px;
  align-items: center;
}
.service-line > span {
  font-size: 11px;
  color: #717a86;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-line > strong {
  text-align: right;
  font-size: 11px;
  color: #45505f;
}
.service-track {
  height: 5px;
  border-radius: 8px;
  background: #eef0f3;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
.service-track i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: #5075a5;
}
.service-track.blue i {
  background: #7290bf;
}
.service-track.amber i {
  background: #d0a154;
}
.feed-surface {
  overflow: hidden;
}
.feed-list {
  padding: 0 15px 7px;
}
.feed-item {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid #eef0f3;
}
.feed-item:first-child {
  border-top: 0;
}
.feed-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #ecf0f6;
  color: #4d709f;
  display: grid;
  place-items: center;
}
.feed-mark .icon {
  width: 12px;
  height: 12px;
}
.feed-mark.amber {
  background: #fff3df;
  color: #ac7c2e;
}
.feed-mark.blue {
  background: #edf2fa;
  color: #6780ae;
}
.feed-mark.rose {
  background: #f9eeec;
  color: #a85e57;
}
.feed-copy {
  font-size: 11px;
  line-height: 1.45;
  color: #6f7884;
}
.feed-copy strong {
  color: #353f4b;
  font-size: 11px;
}
.feed-copy small {
  display: block;
  color: #9fa6af;
  font-size: 10px;
  margin-top: 3px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -3px 0 13px;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 7px;
}
.search-field {
  height: 33px;
  width: 240px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  color: #99a0a9;
}
.search-field .icon {
  width: 14px;
  height: 14px;
}
.search-field input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 11px;
  color: var(--ink);
}
.search-field input::placeholder {
  color: #a1a8b1;
}
.select-field {
  height: 33px;
  max-width: 170px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  color: #636e7c;
  padding: 0 9px;
  font-size: 11px;
  outline: 0;
}
.tab-strip {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #ebedf0;
  border-radius: 7px;
  overflow: auto;
  scrollbar-width: none;
}
.tab-strip::-webkit-scrollbar {
  display: none;
}
.tab-button {
  height: 25px;
  white-space: nowrap;
  border: 0;
  border-radius: 5px;
  padding: 0 9px;
  background: transparent;
  color: #7e8792;
  font-size: 11px;
}
.tab-button.active {
  background: #fff;
  color: var(--green);
  font-weight: 700;
  box-shadow: 0 1px 3px #202f4315;
}
.table-footer {
  height: 40px;
  border-top: 1px solid #eceef1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  color: #979ea7;
  font-size: 11px;
}
.pagination {
  display: flex;
  gap: 4px;
  align-items: center;
}
.page-number {
  height: 24px;
  min-width: 24px;
  border: 1px solid #e5e9ee;
  border-radius: 5px;
  background: #fff;
  color: #7b848f;
  font-size: 11px;
}
.page-number.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.empty-state {
  padding: 37px 15px;
  text-align: center;
  color: #979ea8;
  font-size: 11px;
}
.split-panels {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
}
.form-section {
  padding: 0 15px 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.field {
  display: grid;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #545e6a;
}
.field.full {
  grid-column: 1/-1;
}
.field label,
.field > span {
  color: #545e6a;
}
.required {
  color: #c26458;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 34px;
  border: 1px solid #dde5ef;
  border-radius: 6px;
  background: #fff;
  padding: 0 9px;
  color: #273a52;
  font-size: 11px;
  outline: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.field textarea {
  height: auto;
  min-height: 69px;
  padding: 8px 9px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #829ec3;
  box-shadow: 0 0 0 3px #e9eef4;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #afb6be;
}
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11px;
  color: #717a85;
}
.checkbox-line input {
  accent-color: var(--green);
}
.service-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.service-choice {
  border: 1px solid #e3eaf2;
  border-radius: 7px;
  padding: 9px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}
.service-choice:has(input:checked) {
  border-color: #92aaca;
  background: #f2f5f9;
}
.service-choice input {
  accent-color: var(--green);
  margin: 2px 0 0;
}
.service-choice strong {
  display: block;
  font-size: 11px;
  color: #424d5a;
}
.service-choice small {
  display: block;
  color: #979ea7;
  font-size: 10px;
  margin-top: 2px;
}
.file-drop {
  border: 1px dashed #c5d2e3;
  background: #f8f9fb;
  border-radius: 7px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7f8894;
  cursor: pointer;
}
.file-drop .icon {
  color: var(--green);
  width: 17px;
  height: 17px;
}
.file-drop strong {
  display: block;
  color: #515c6b;
  font-size: 11px;
}
.file-drop small {
  display: block;
  color: #989fa9;
  font-size: 10px;
}
.selected-file {
  font-size: 11px;
  color: var(--green);
  margin-top: 5px;
}
.inline-note {
  padding: 10px 11px;
  border-radius: 7px;
  background: #f2f5f8;
  color: #717b87;
  font-size: 11px;
  line-height: 1.5;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
.metric-card {
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.metric-card .metric-icon {
  height: 27px;
  width: 27px;
  border-radius: 7px;
  background: #ebf0f6;
  color: var(--green);
  display: grid;
  place-items: center;
}
.metric-card .metric-icon .icon {
  width: 14px;
  height: 14px;
}
.metric-card strong {
  display: block;
  font-size: 17px;
  margin: 10px 0 1px;
}
.metric-card span {
  font-size: 11px;
  color: #8f96a0;
}
.progressbar {
  height: 5px;
  border-radius: 9px;
  background: #e9eef5;
  overflow: hidden;
}
.progressbar i {
  height: 100%;
  display: block;
  background: #4d71a0;
  border-radius: 9px;
}
.employee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.employee-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}
.employee-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.employee-card-head .avatar {
  height: 30px;
  width: 30px;
}
.employee-name {
  flex: 1;
  min-width: 0;
}
.employee-name strong {
  font-size: 11px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.employee-name small {
  font-size: 11px;
  color: #989fa8;
}
.employee-role {
  display: inline-flex;
  padding: 4px 7px;
  background: #eff2f7;
  border-radius: 12px;
  color: #6e7884;
  font-size: 10px;
  margin-top: 10px;
}
.employee-load {
  margin-top: 11px;
}
.employee-load-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #838c97;
  margin-bottom: 5px;
}
.report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 12px;
}
.chart-card {
  padding: 0 16px 14px;
}
.report-chart {
  height: 230px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 23px 12px 0;
  border-bottom: 1px solid #eceef1;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 45px, #eff1f3 46px, #eff1f3 47px);
}
.bar-col {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  position: relative;
  flex: 1;
}
.bar {
  width: min(18px, 42%);
  border-radius: 4px 4px 0 0;
  background: #4f74a5;
  min-height: 4px;
}
.bar.secondary {
  background: #d4deeb;
}
.bar-label {
  position: absolute;
  bottom: -19px;
  color: #99a0a9;
  font-size: 11px;
}
.report-breakdown {
  padding: 15px;
}
.report-breakdown h3 {
  font-size: 11px;
  margin: 0 0 12px;
}
.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #eef0f3;
  color: #757e8a;
  font-size: 11px;
}
.breakdown-row strong {
  color: #444f5c;
}
.audit-row {
  display: grid;
  grid-template-columns: 31px minmax(130px, 1fr) 120px 85px;
  gap: 9px;
  align-items: center;
  padding: 11px 14px;
  border-bottom: 1px solid #eef0f3;
}
.audit-row:last-child {
  border-bottom: 0;
}
.audit-icon {
  height: 25px;
  width: 25px;
  border-radius: 7px;
  background: #edf1f7;
  color: #476894;
  display: grid;
  place-items: center;
}
.audit-icon .icon {
  height: 13px;
  width: 13px;
}
.audit-text strong {
  font-size: 11px;
  color: #3f4955;
}
.audit-text small {
  display: block;
  color: #99a0a9;
  font-size: 10px;
  margin-top: 2px;
}
.audit-actor {
  font-size: 11px;
  color: #6e7884;
}
.audit-time {
  font-size: 10px;
  text-align: right;
  color: #99a0a9;
}
.notice-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f3;
}
.notice-card:last-child {
  border: 0;
}
.notice-card.unread {
  background: #f8f9fb;
}
.notice-card .feed-mark {
  flex: none;
}
.notice-card strong {
  font-size: 11px;
  display: block;
}
.notice-card p {
  font-size: 11px;
  color: #7b8490;
  margin: 3px 0;
}
.notice-card small {
  font-size: 10px;
  color: #9da4ad;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-top: 1px solid #eef0f3;
}
.settings-row:first-of-type {
  border-top: 0;
}
.settings-row strong {
  display: block;
  font-size: 11px;
}
.settings-row small {
  display: block;
  color: #949ba5;
  font-size: 11px;
  margin-top: 2px;
}
.switch {
  position: relative;
  appearance: none;
  width: 31px;
  height: 18px;
  border: 0;
  border-radius: 14px;
  background: #d9dee4;
  cursor: pointer;
  transition: background 0.18s;
}
.switch:checked {
  background: #7296c5;
}
.switch:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #0002;
  transition: transform 0.18s;
}
.switch:checked:before {
  transform: translateX(13px);
}
.segmented {
  display: flex;
  padding: 3px;
  gap: 2px;
  background: #eef0f3;
  border-radius: 7px;
}
.segmented button {
  border: 0;
  background: transparent;
  color: #7e8894;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 11px;
}
.segmented button.active {
  background: #fff;
  color: var(--green);
  font-weight: 700;
  box-shadow: 0 1px 3px #1e2c3f18;
}
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-layer.open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #111a257a;
  backdrop-filter: blur(3px);
  animation: fadein 0.16s ease;
}
.modal-host {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  animation: rise 0.18s ease;
}
.modal-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 19px 21px 14px;
  border-bottom: 1px solid #eef0f3;
}
.modal-head h2 {
  font:
    700 16px/1.3 'Segoe UI',
    Arial,
    sans-serif;
  margin: 0;
  color: #202e41;
  letter-spacing: -0.025em;
}
.modal-head p {
  font-size: 11px;
  color: #8f96a0;
  margin: 4px 0 0;
}
.modal-body {
  padding: 15px 21px;
}
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 21px;
  border-top: 1px solid #eef0f3;
  background: #fcfcfd;
}
.modal-foot-right {
  display: flex;
  gap: 7px;
  margin-left: auto;
}
.close-button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #e5ebf2;
  border-radius: 7px;
  color: #7d8794;
  background: #fff;
}
.close-button .icon {
  width: 14px;
  height: 14px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.detail-cell {
  padding: 9px 10px;
  border: 1px solid #eceef1;
  border-radius: 7px;
}
.detail-cell span {
  display: block;
  color: #979ea7;
  font-size: 10px;
  margin-bottom: 3px;
}
.detail-cell strong {
  display: block;
  color: #46505c;
  font-size: 11px;
  word-break: break-word;
}
.detail-title-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.detail-title-row h2 {
  font-size: 16px;
}
.timeline {
  display: grid;
  margin-top: 8px;
}
.timeline-item {
  position: relative;
  padding: 0 0 12px 21px;
  border-left: 1px solid #dde4ee;
  margin-left: 5px;
}
.timeline-item:last-child {
  border: 0;
  padding-bottom: 0;
}
.timeline-item:before {
  content: '';
  position: absolute;
  left: -4px;
  top: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f74a5;
  border: 2px solid #ecf0f6;
}
.timeline-item strong {
  display: block;
  font-size: 11px;
  color: #535d69;
}
.timeline-item small {
  display: block;
  font-size: 10px;
  color: #99a0a9;
  margin-top: 2px;
}
.modal-section-title {
  font-size: 11px;
  font-weight: 700;
  margin: 15px 0 8px;
  color: #454f5b;
}
.toast {
  position: fixed;
  z-index: 80;
  bottom: 19px;
  left: 50%;
  transform: translate(-50%, 10px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 8px;
  background: #1f2d40;
  color: #fff;
  box-shadow: 0 8px 25px #1c293930;
  font-size: 11px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.toast-mark {
  height: 17px;
  width: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #688cbb;
  font-size: 11px;
}
.hidden {
  display: none !important;
}
.sidebar-scrim {
  display: none;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(9px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-host:has(.modal-wide) {
  width: min(820px, 100%);
}
@media (max-width: 1200px) {
  .sidebar {
    width: 235px;
  }
  .main-area {
    margin-left: 235px;
  }
  .workspace {
    padding-left: 23px;
    padding-right: 23px;
  }
  .topbar {
    padding: 0 23px;
  }
  .dashboard-upper {
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.9fr);
  }
  .kpi-grid {
    gap: 8px;
  }
  .kpi-card {
    padding: 12px;
  }
  .data-table th,
  .data-table td {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 970px) {
  .sidebar {
    width: 248px;
    transform: translateX(-104%);
    transition: transform 0.22s;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-scrim.show {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 25;
    background: #131d2955;
  }
  .main-area {
    margin-left: 0;
  }
  .topbar {
    padding: 0 20px;
  }
  .menu-button {
    display: grid;
  }
  .topbar-leading {
    min-width: 0;
  }
  .dashboard-upper {
    grid-template-columns: 1fr;
  }
  .dashboard-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .dashboard-lower {
    grid-template-columns: 1fr;
  }
  .workflow-card {
    min-height: 142px;
  }
  .load-card {
    padding-bottom: 13px;
  }
  .footer {
    padding: 0 20px;
  }
}
@media (max-width: 680px) {
  .topbar {
    height: 58px;
    padding: 0 13px;
  }
  .topbar-leading {
    gap: 9px;
  }
  .crumbs {
    gap: 6px;
  }
  .crumbs > span,
  .crumbs > .icon {
    display: none;
  }
  .crumbs strong {
    font-size: 11px;
  }
  .topbar-right {
    gap: 8px;
  }
  .global-search {
    width: 34px;
    height: 32px;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .global-search input,
  .global-search kbd {
    display: none;
  }
  .global-search .icon {
    width: 17px;
    height: 17px;
  }
  .top-divider {
    height: 21px;
  }
  .role-control select {
    font-size: 11px;
    max-width: 74px;
  }
  .role-caption {
    font-size: 10px;
  }
  .top-avatar {
    height: 27px;
    width: 27px;
  }
  .workspace {
    padding: 19px 12px 25px;
  }
  .page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 17px;
  }
  .page-header h1 {
    font-size: 20px;
  }
  .page-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .page-actions .button {
    flex: 1;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .kpi-card {
    min-height: 91px;
    padding: 11px;
  }
  .kpi-value {
    font-size: 20px;
  }
  .dashboard-side {
    grid-template-columns: 1fr;
  }
  .dashboard-upper,
  .dashboard-lower {
    gap: 9px;
  }
  .workflow-card {
    padding: 0 11px 13px;
  }
  .workflow-step {
    padding: 0 2px;
  }
  .workflow-step:not(:last-child):after {
    left: 25px;
  }
  .workflow-step strong {
    font-size: 10px;
  }
  .workflow-step small {
    font-size: 10px;
  }
  .dashboard-lower .data-table {
    min-width: 600px;
  }
  .surface-head {
    padding: 13px 12px 10px;
  }
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .toolbar-group {
    width: 100%;
  }
  .search-field {
    flex: 1;
    width: auto;
  }
  .tab-strip {
    max-width: 100%;
    align-self: flex-start;
  }
  .select-field {
    max-width: 140px;
  }
  .table-surface .data-table {
    min-width: 760px;
  }
  .footer {
    padding: 9px 12px;
    min-height: 32px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .footer span:nth-child(2) {
    display: none;
  }
  .split-panels,
  .report-layout {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .employee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .audit-row {
    grid-template-columns: 28px 1fr auto;
    gap: 7px;
  }
  .audit-actor {
    display: none;
  }
  .audit-time {
    font-size: 10px;
  }
  .report-chart {
    height: 190px;
    gap: 7px;
    padding-left: 3px;
    padding-right: 3px;
  }
  .modal-layer {
    padding: 8px;
  }
  .modal-host {
    max-height: calc(100vh - 16px);
  }
  .modal-head {
    padding: 15px 14px 11px;
  }
  .modal-body {
    padding: 12px 14px;
  }
  .modal-foot {
    padding: 10px 14px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .field.full {
    grid-column: auto;
  }
  .service-choices {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
  .support-card {
    display: none;
  }
  .sidebar-bottom {
    padding-top: 2px;
  }
  .sidebar-user {
    margin-top: 0;
  }
}
@media (max-width: 420px) {
  .role-control {
    display: grid;
    min-width: 0;
  }
  .role-control .role-caption,
  .role-control #activeRole {
    display: none;
  }
  .role-switcher {
    max-width: 76px;
  }
  .topbar-right {
    gap: 9px;
  }
  .kpi-head {
    font-size: 11px;
  }
  .kpi-icon {
    height: 24px;
    width: 24px;
  }
  .kpi-card {
    padding: 9px;
  }
  .kpi-note {
    font-size: 10px;
  }
  .workflow-track {
    grid-template-columns: repeat(5, minmax(43px, 1fr));
    overflow-x: auto;
    padding-bottom: 3px;
  }
  .workflow-step strong {
    max-width: 55px;
  }
  .workflow-step:not(:last-child):after {
    right: -2px;
  }
  .profile-grid,
  .employee-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .modal-foot {
    align-items: stretch;
    flex-direction: column;
  }
  .modal-foot-right {
    width: 100%;
  }
  .modal-foot-right .button {
    flex: 1;
  }
  .button {
    padding: 0 8px;
  }
}

.modal-card.modal-wide {
  width: 100%;
  max-width: 820px;
}
.legend-key {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #4f74a5;
  margin-right: 4px;
}
.legend-key.pale {
  background: #d4deeb;
}
.switch {
  padding: 0;
}
.service-cell {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Server-backed first-run setup and sign-in */
.auth-screen {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 12% 12%, #e3e9f1 0, transparent 38%),
    radial-gradient(ellipse at 88% 86%, #e6ecf3 0, transparent 34%), #f2f5f9;
}
.auth-screen[hidden] {
  display: none;
}
.auth-card {
  width: min(100%, 460px);
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(24, 35, 50, 0.1);
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.auth-brand .brand-symbol {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}
.auth-brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.05em;
}
.auth-brand strong span {
  color: var(--green);
}
.auth-brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.auth-card h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}
.auth-lead {
  margin: 7px 0 22px;
  color: var(--muted);
  font-size: 13px;
}
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form .field {
  display: grid;
  gap: 6px;
}
.auth-form .field > span {
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-2);
}
.auth-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: #fff;
  outline: none;
}
.auth-form input:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(32, 113, 219, 0.1);
}
.auth-form .button {
  justify-content: center;
  height: 44px;
  margin-top: 5px;
}
.auth-notice {
  margin: 16px 0 0;
  padding: 11px 12px;
  border-radius: 9px;
  background: #f2f5f9;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.55;
}
.auth-error {
  min-height: 18px;
  color: var(--red);
  font-size: 12px;
}
.auth-foot {
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 560px) {
  .auth-screen {
    padding: 15px;
  }
  .auth-card {
    padding: 25px 20px;
    border-radius: 16px;
  }
  .auth-card h1 {
    font-size: 23px;
  }
  .role-control {
    display: grid;
    min-width: 0;
  }
  .role-control .role-caption,
  .role-control #activeRole {
    display: none;
  }
  .role-switcher {
    max-width: 76px;
  }
}
@media (max-width: 1000px) {
  .toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .toolbar .toolbar-group {
    min-width: 0;
    flex-wrap: wrap;
  }
  .toolbar .toolbar-group .select-field {
    flex: 1 1 130px;
    max-width: none;
  }
  .toolbar .tab-strip {
    max-width: 100%;
  }
}
@media (max-width: 680px) {
  .toolbar .toolbar-group {
    width: 100%;
  }
  .toolbar .toolbar-group .search-field {
    width: 100%;
    flex: 1 1 100%;
  }
  .toolbar .toolbar-group .select-field {
    flex: 1 1 125px;
  }
}

.audit-time {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  white-space: nowrap;
}
@media (min-width: 1100px) {
  .audit-row {
    grid-template-columns: 31px minmax(130px, 1fr) 105px 140px;
  }
  .audit-time {
    font-size: 11px;
  }
}

/* ===== Ixcham dizayn ===== */
:root {
  --canvas: #f1f4f8;
  --muted: #66717e;
  --muted-2: #87919d;
  --line: #dde5ef;
  --shadow: 0 1px 2px rgba(24, 35, 50, 0.06), 0 4px 14px rgba(24, 35, 50, 0.04);
}
body {
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
/* yon panel */
.sidebar {
  padding: 14px 10px 8px;
  background: #fff;
}
.brand {
  height: 38px;
  margin-bottom: 10px;
}
.brand-symbol {
  width: 30px;
  height: 30px;
}
.brand-copy strong {
  font-size: 13px;
  white-space: nowrap;
}
.brand-copy small {
  font-size: 9px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin-top: 1px;
}
.branch-switch {
  height: 40px;
  margin-bottom: 10px;
  padding: 0 8px;
}
.branch-switch strong,
.branch-switch small {
  font-size: 11px;
  line-height: 1.25;
}
.nav-link {
  height: 34px;
  gap: 10px;
  border-radius: 8px;
  color: #4e5865;
  font-size: 12px;
}
.nav-link.active {
  background: var(--green-3);
  box-shadow: inset 3px 0 0 var(--green);
}
.support-card {
  padding: 8px 10px;
  margin-bottom: 6px;
}
.support-card p {
  display: none;
}
.support-top {
  display: none;
}
.support-card > strong {
  display: inline;
  font-size: 11px;
  margin-right: 8px;
}
.support-card button {
  display: inline-flex;
  font-size: 11px;
}
.sidebar-logout {
  height: 34px;
  font-size: 12px;
}
/* yuqori panel */
.topbar {
  height: 52px;
  padding: 0 22px;
}
.global-search {
  height: 32px;
}
.role-control {
  min-width: 0;
  max-width: 260px;
}
.role-caption {
  display: none;
}
#activeRole {
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.topbar-right {
  gap: 12px;
}
/* sahifa */
.workspace {
  padding: 18px 22px 24px;
}
.page-header {
  margin-bottom: 14px;
  gap: 10px;
}
.page-eyebrow {
  font-size: 10px;
  margin-bottom: 2px;
}
.page-header h1 {
  font-size: 20px;
}
.page-header p {
  font-size: 12px;
  margin-top: 3px;
}
/* kartalar */
.kpi-grid {
  gap: 10px;
  margin-bottom: 10px;
}
.kpi-card,
.metric-card,
.surface,
.modal-card {
  border-radius: 12px;
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.kpi-card {
  padding: 12px 14px;
  min-height: 86px;
}
.kpi-value {
  font-size: 22px;
}
.button {
  height: 32px;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.button-primary {
  color: #fff;
}
/* jadval */
.data-table th {
  height: 32px;
  font-size: 10px;
  background: #f6f8fa;
  color: #66717e;
  letter-spacing: 0.04em;
}
.data-table td {
  height: 44px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 12px;
  color: var(--ink-2);
}
.data-table tbody tr:hover td {
  background: #f8f9fb;
}
.status-pill {
  padding: 4px 8px;
  font-size: 10.5px;
}
:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.table-id {
  white-space: nowrap;
}
/* Jadval va filtrlar ekranga sig'ishi uchun */
.toolbar {
  flex-wrap: wrap;
  gap: 8px;
}
.toolbar .toolbar-group {
  flex-wrap: wrap;
  min-width: 0;
}
.data-table {
  min-width: 0;
}
.data-table th,
.data-table td {
  padding-left: 8px;
  padding-right: 8px;
}
.data-table td {
  white-space: normal;
  line-height: 1.35;
  vertical-align: middle;
}
.data-table td.table-id,
.data-table td .status-pill {
  white-space: nowrap;
}
.service-cell {
  max-width: 180px;
}

/* ===== my.gov.uz uslubi: ko'k rang, yumshoq kartalar, yumaloq elementlar ===== */
:root {
  --green: #0b63ce;
  --green-2: #1f78e0;
  --green-3: #e7f1fd;
  --green-4: #cfe3fb;
  --canvas: #f2f6fb;
  --ink: #14233a;
  --ink-2: #33445c;
  --muted: #66768d;
  --line: #e1e8f1;
  --line-2: #d0dbe8;
  --shadow: 0 1px 2px rgba(20, 60, 120, 0.06), 0 6px 20px rgba(20, 60, 120, 0.06);
}
html,
body {
  background: var(--canvas);
}
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(20, 60, 120, 0.03);
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
}
.brand-symbol {
  background: linear-gradient(135deg, #1f78e0, #0b4fb0);
  border-radius: 12px;
}
.brand-copy strong span {
  color: var(--green);
}
.branch-switch {
  background: var(--green-3);
  border-color: var(--green-4);
  border-radius: 12px;
}
.nav-link {
  border-radius: 12px;
  color: #44566f;
}
.nav-link:hover {
  background: #f0f5fc;
  color: var(--green);
}
.nav-link.active {
  background: var(--green-3);
  color: var(--green);
  box-shadow: none;
  font-weight: 700;
}
.support-card {
  background: linear-gradient(135deg, #e7f1fd, #f4f8fe);
  border-color: var(--green-4);
  border-radius: 14px;
}
.global-search {
  border-radius: 999px;
  background: #f2f6fb;
  border-color: var(--line);
}
.global-search:focus-within {
  background: #fff;
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(31, 120, 224, 0.15);
}
.kpi-card,
.metric-card,
.surface,
.modal-card,
.auth-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.kpi-icon,
.metric-icon {
  border-radius: 12px;
}
.button {
  border-radius: 12px;
  border-color: var(--line-2);
  color: var(--ink-2);
  background: #fff;
}
.button:hover {
  background: var(--green-3);
  border-color: var(--green-4);
  color: var(--green);
}
.button-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 99, 206, 0.25);
}
.button-primary:hover {
  background: #0a54b0;
  border-color: #0a54b0;
  color: #fff;
}
input,
select,
textarea {
  border-radius: 12px;
  border-color: var(--line-2);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(31, 120, 224, 0.15);
  outline: 0;
}
.data-table th {
  background: #f5f8fc;
  color: #5b6b82;
}
.data-table tbody tr:hover td {
  background: #f5f9ff;
}
.table-id,
.text-link {
  color: var(--green) !important;
}
.status-pill {
  border-radius: 999px;
}
.page-header h1 {
  color: var(--ink);
}
.auth-screen {
  background: linear-gradient(180deg, #e7f1fd 0, #f2f6fb 60%);
}
.footer {
  color: var(--muted);
}
:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: 2px;
}
@media (max-width: 420px) {
  .workflow-step strong {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 9px;
    line-height: 1.2;
  }
}
/* Filial tanlagich (Katta menejer) */
.branch-switch.branch-switch-active {
  cursor: pointer;
}
.branch-switch.branch-switch-active:hover {
  background: var(--green-4);
}
.branch-switch .branch-icon svg {
  width: 16px;
  height: 16px;
}
.branch-menu {
  position: fixed;
  z-index: 80;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  max-height: 60vh;
  overflow: auto;
}
.branch-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}
.branch-menu-item:hover,
.branch-menu-item:focus-visible {
  background: var(--green-3);
}
.branch-menu-item.current {
  background: var(--green-3);
}
.branch-menu-item strong {
  display: block;
  font-size: 13px;
}
.branch-menu-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.branch-menu-item.manage {
  justify-content: flex-start;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  color: var(--green);
}
.branch-menu-item svg {
  width: 14px;
  height: 14px;
}
.branch-price-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  white-space: nowrap;
}
.branch-price-line + .branch-price-line {
  margin-top: 2px;
}
/* Geokadastr Servis logotipi */
.brand {
  height: auto;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}
.brand-logo {
  display: block;
  width: 132px;
  height: auto;
}
.auth-brand {
  justify-content: center;
  margin-bottom: 22px;
}
.auth-logo {
  display: block;
  width: 210px;
  height: auto;
  max-width: 70%;
}
/* Oyna tugmalari qatori doim ko'rinadi (uzun formalarda ham): pastga mahkamlanadi */
.modal-card {
  overflow: clip;
}
.modal-foot {
  position: sticky;
  bottom: 0;
  z-index: 4;
  box-shadow: 0 -8px 14px -12px rgba(24, 35, 50, 0.35);
} /* Xizmat tanlash: o'qiladigan o'lcham va kontrast */
.service-choice {
  padding: 11px 12px;
  gap: 10px;
  min-height: 56px;
}
.service-choice input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
}
.service-choice strong {
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-2);
}
.service-choice small {
  font-size: 12px;
  color: #5b6672;
  margin-top: 3px;
} /* Telefonda oyna tugmalari sig'adi (qatorga o'raladi), bosish uchun 44 px */
@media (max-width: 560px) {
  .modal-foot-right {
    flex-wrap: wrap;
    width: 100%;
  }
  .modal-foot-right .button {
    flex: 1 1 40%;
    white-space: nowrap;
  }
  .modal-foot-right .button-primary {
    flex-basis: 100%;
  }
  .modal-foot .button {
    min-height: 44px;
  }
} /* Belgilash (checkbox/radio) kataklari matn maydoni uslubini olmasin: ixcham, matn yonida */
.field input[type='checkbox'],
.field input[type='radio'],
input[type='checkbox'].switch-less {
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  border-radius: 4px;
  flex: none;
  accent-color: var(--green);
  cursor: pointer;
}
.checkbox-line {
  cursor: pointer;
}
.checkbox-line input[type='checkbox'] {
  margin-top: 1px;
} /* Hamkor kabineti */
.partner-line {
  display: grid;
  grid-template-columns: minmax(120px, 1.4fr) auto auto minmax(150px, 1fr);
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  font-size: 12px;
}
.partner-line + .partner-line {
  border-top: 1px solid var(--line);
}
.partner-line strong {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .partner-line {
    grid-template-columns: 1fr 1fr;
  }
} /* Oyna pastki qatori: ko'p tugma bo'lsa qatorlarga o'raladi (kesilmaydi) */
.modal-foot {
  flex-wrap: wrap;
}
.modal-foot > span:first-child {
  flex: 1 1 170px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.modal-foot > span:first-child:empty {
  display: none;
}
.modal-foot-right {
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}
.modal-foot-right .button {
  white-space: nowrap;
} /* Telefon: izoh balandlik olmasin; juda ko'p tugmali qator (4+) mahkamlanmaydi, kontent bilan aylanadi */
@media (max-width: 560px) {
  .modal-foot > span:first-child {
    flex: 0 0 auto;
  }
  .modal-foot:has(.modal-foot-right > :nth-child(4)) {
    position: static;
    box-shadow: none;
  }
}
/* Muddat nazorati ogohlantirishi */
.deadline-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0 0 13px;
  padding: 10px 14px;
  border: 1px solid #f2d9a6;
  border-radius: 10px;
  background: #fff8e8;
  color: #6b4a00;
  font-size: 13px;
}
.deadline-alert.danger {
  border-color: #f1b7b7;
  background: #fff0f0;
  color: #8a1f1f;
}

/* ===== Dizayn tuzatishlari (2026-oktabr) ===== */

/* Bosh sahifa: rolga moslashgan bloklar */
.my-tasks,
.call-list {
  margin-bottom: 13px;
}
.my-tasks .deadline-list,
.call-list .deadline-list {
  padding: 0 14px 14px;
}
.deadline-row.clickable {
  cursor: pointer;
  border-radius: 6px;
}
.deadline-row.clickable:hover .deadline-copy strong {
  color: var(--green);
}
.deadline-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.deadline-bar.ready {
  background: #5aa36f;
}
.call-list .button-small {
  flex: none;
  gap: 5px;
}
.dashboard-lower.single {
  grid-template-columns: minmax(0, 1fr);
}

/* Tafsilot oynasidagi holat belgisi butun katak bo‘ylab cho‘zilmasin */
.detail-cell .status-pill {
  display: inline-flex;
  width: auto;
}

/* Formadagi qabul vaqti: kiritish maydoni emas, oddiy matn */
.plain-value {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  font-weight: 700;
  color: #46505c;
  pointer-events: none;
}

/* Arizani bekor qilish — qaytarib bo‘lmaydigan amal: aniq qizil */
.modal-foot .button-danger {
  border-color: #e7b9b4;
  color: #b4443a;
}
.modal-foot .button-danger:hover {
  background: #fbeceb;
}

/* «Yana…» menyusi */
.more-menu {
  position: relative;
  display: inline-block;
}
.more-menu > summary {
  list-style: none;
  cursor: pointer;
}
.more-menu > summary::-webkit-details-marker {
  display: none;
}
.more-menu-list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 5;
  min-width: 220px;
  display: grid;
  gap: 4px;
  padding: 6px;
  background: #fff;
  border: 1px solid #e3e7ec;
  border-radius: 9px;
  box-shadow: 0 10px 30px rgba(31, 45, 61, 0.14);
}
.more-menu-list .button {
  justify-content: flex-start;
  width: 100%;
  border-color: transparent;
}
.more-menu-list .button:hover {
  background: #f3f6fa;
}

/* Hisobot grafigi: oy nomi va raqamlar ustunlar ostida, nol qiymat ko‘rinmaydi */
.report-chart {
  margin-bottom: 18px;
}
.bar-label {
  bottom: -36px;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}
.bar[style*='height:0%'] {
  min-height: 0;
}
.profile-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* To‘lov: qisman to‘langan */
.status-partial {
  background: #fff4e0;
  color: #a46a1f;
}

/* Telefonda jadvallar kartochka ko‘rinishida (sarlavha: qiymat), gorizontal aylantirishsiz */
@media (max-width: 680px) {
  .profile-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .data-table,
  .table-surface .data-table,
  .dashboard-lower .data-table {
    min-width: 0;
    white-space: normal;
  }
  .data-table thead {
    display: none;
  }
  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }
  .data-table tbody tr {
    padding: 8px 12px;
    border-bottom: 1px solid #eceef1;
  }
  .data-table tbody tr:last-child {
    border-bottom: 0;
  }
  .data-table td {
    height: auto;
    padding: 4px 0;
    border: 0;
    text-align: right;
    overflow: hidden;
  }
  .data-table td[data-label]::before {
    content: attr(data-label);
    float: left;
    max-width: 45%;
    margin-right: 12px;
    padding-top: 1px;
    color: #9fa6af;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: left;
  }
  .data-table td:empty,
  .data-table td.cell-actions:not(:has(button:not(.more-button))) {
    display: none;
  }
  .data-table td .empty-state {
    width: 100%;
    text-align: center;
  }
  .data-table td > .person-cell {
    display: inline-flex;
  }
  .data-table td.service-cell {
    max-width: none;
  }
  .more-menu-list {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 120px;
  }
}

/* Takroriy kadastr raqami ogohlantirishi */
.field-warning {
  display: block;
  margin-top: 5px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff4e0;
  color: #8a5a17;
  font-size: 11px;
  line-height: 1.4;
}
.field-warning[hidden] {
  display: none;
}
.cell-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

/* Qaytarish / bekor qilish sababi (ariza oynasining yuqorisida) */
.reason-note {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
}
.reason-note.returned {
  background: #fff4e0;
  color: #7a4f12;
  border: 1px solid #f1dfbe;
}
.reason-note.cancelled {
  background: #fbeceb;
  color: #8a3a32;
  border: 1px solid #f1d8d6;
}

/* To‘rtta ko‘rsatkich bo‘lsa — bir qatorda (3+1 bo‘lib qolmasin) */
.profile-grid:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 680px) {
  .profile-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Kassa */
.data-table td.num,
.data-table th.num {
  text-align: right;
  white-space: nowrap;
}
.data-table td.negative {
  color: #b4443a;
}
.data-table tr.row-voided td {
  color: #a3aab3;
}
.data-table tr.row-voided td strong {
  text-decoration: line-through;
}
.input-with-button {
  display: flex;
  gap: 6px;
}
.input-with-button input {
  flex: 1;
  min-width: 0;
}
.metric-card small.table-secondary {
  display: block;
  margin-top: 4px;
}

/* Ariza oynasida to‘lov xulosasi */
.pay-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.pay-summary > div {
  padding: 8px 10px;
  border: 1px solid #eceef1;
  border-radius: 7px;
  background: #fafbfd;
}
.pay-summary span {
  display: block;
  color: #979ea7;
  font-size: 10px;
  margin-bottom: 3px;
}
.pay-summary strong {
  font-size: 12px;
  color: #46505c;
}
.data-table td .status-pill + small.table-secondary {
  display: block;
  margin-top: 2px;
}

/* Hisobotlar: davr sanalari, hisob asosi izohi, kassa bloki, to'lov holati bo'limlari */
.field.inline-field {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.field.inline-field input {
  width: auto;
}
.report-basis {
  margin: -4px 0 13px;
}
.report-section-count {
  margin-left: 6px;
  color: #979ea7;
  font-weight: 600;
  font-size: 11px;
}
.report-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 13px;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.5;
  background: #eef7f0;
  color: #2f6b45;
}
.report-check.bad {
  background: #fdf0ee;
  color: #a5463a;
}
.report-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}
.data-table td.num,
.data-table th.num {
  text-align: right;
  white-space: nowrap;
}

.service-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.measure-choice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-left: 10px;
  padding: 7px 9px;
  border: 1px dashed #d9b36a;
  border-radius: 7px;
  background: #fff8e8;
  font-size: 11px;
  font-weight: 600;
  color: #7a5200;
  cursor: pointer;
}
.measure-choice.hidden {
  display: none;
}
.measure-choice small {
  display: block;
  font-weight: 400;
  color: #8a6a1f;
}
.measure-choice input {
  accent-color: var(--green);
  margin: 2px 0 0;
}
.measure-pill {
  margin-left: 4px;
  font-size: 10px;
}
.alloc-input {
  width: 130px;
  text-align: right;
}

.count-pill {
  display: inline-block;
  min-width: 22px;
  padding: 1px 7px;
  margin-left: 6px;
  border-radius: 999px;
  background: #eaf0f8;
  color: #0b4fa8;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.row-cancelled td {
  color: var(--muted, #6b7280);
  text-decoration: line-through;
}
.row-cancelled td small {
  text-decoration: none;
}
