:root {
  color-scheme: light;
  --ops-blue: #2563eb;
  --ops-blue-strong: #1d4ed8;
  --ops-ink: #172033;
  --ops-muted: #5f6d82;
  --ops-line: #dce3ec;
  --ops-line-soft: #e9edf3;
  --ops-bg: #f4f6f9;
  --ops-surface: #ffffff;
  --ops-soft: #f8fafc;
  --ops-danger: #b4232c;
  --ops-success: #177245;
  --ops-warning: #8b5d18;
  --ops-sidebar: 224px;
  --ops-z-drawer-backdrop: 30;
  --ops-z-drawer: 40;
  --ops-z-toast: 50;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body.has-ops-drawer {
  overflow: hidden;
}

body {
  background: var(--ops-bg);
  color: var(--ops-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(37 99 235 / 20%);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.ops-login {
  display: grid;
  min-height: 100dvh;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  background: #ffffff;
}

.ops-login-brand {
  min-height: 100%;
  padding: 42px;
  background: #1f4fd1;
  color: #ffffff;
}

.ops-login-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ops-login-brand img {
  width: 158px;
  height: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.ops-login-brand-row span {
  display: flex;
  min-height: 30px;
  align-items: center;
  padding-left: 14px;
  border-left: 1px solid rgb(255 255 255 / 40%);
  font-size: 13px;
  font-weight: 700;
}

.ops-login-form {
  display: grid;
  width: min(400px, calc(100% - 48px));
  align-content: center;
  gap: 18px;
  margin-inline: auto;
}

.ops-login-form header {
  margin-bottom: 8px;
}

.ops-login-form h1 {
  margin: 0;
  color: var(--ops-ink);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

.ops-login-form header p {
  margin: 8px 0 0;
  color: var(--ops-muted);
  font-size: 14px;
}

.ops-login-form label,
.ops-form-grid label {
  display: grid;
  gap: 7px;
}

.ops-login-form label > span,
.ops-form-grid label > span {
  color: #344155;
  font-size: 12px;
  font-weight: 720;
}

.ops-login-form input,
.ops-form-grid input,
.ops-form-grid select,
.ops-block-field textarea,
.ops-invite-form input,
.ops-invite-form select,
.ops-filters input,
.ops-filters select {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #cdd6e2;
  border-radius: 7px;
  outline: 0;
  background: #ffffff;
  color: var(--ops-ink);
  font-size: 13px;
  font-weight: 560;
}

.ops-login-form input::placeholder,
.ops-form-grid input::placeholder,
.ops-block-field textarea::placeholder,
.ops-invite-form input::placeholder,
.ops-filters input::placeholder {
  color: #5f6d82;
  opacity: 1;
}

.ops-login-form input:focus,
.ops-form-grid input:focus,
.ops-form-grid select:focus,
.ops-block-field textarea:focus,
.ops-invite-form input:focus,
.ops-invite-form select:focus,
.ops-filters input:focus,
.ops-filters select:focus {
  border-color: #6d9bf5;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 10%);
}

.ops-form-grid input[aria-invalid="true"],
.ops-form-grid select[aria-invalid="true"] {
  border-color: #c84854;
  background: #fffafb;
  box-shadow: 0 0 0 3px rgb(200 72 84 / 10%);
}

.ops-primary-button,
.ops-secondary-button,
.ops-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-weight: 760;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.ops-primary-button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ops-blue);
  background: var(--ops-blue);
  color: #ffffff;
}

.ops-primary-button:hover {
  border-color: var(--ops-blue-strong);
  background: var(--ops-blue-strong);
}

.ops-primary-button:disabled,
.ops-secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.ops-secondary-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #cdd6e2;
  background: #ffffff;
  color: #344155;
}

.ops-secondary-button:hover {
  border-color: #9eacbf;
  background: #f8fafc;
}

.ops-form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fff0f1;
  color: var(--ops-danger);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.ops-app {
  min-height: 100dvh;
  padding-left: var(--ops-sidebar);
}

.ops-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  width: var(--ops-sidebar);
  flex-direction: column;
  padding: 22px 16px 18px;
  border-right: 1px solid var(--ops-line);
  background: #ffffff;
}

.ops-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 8px 18px;
  color: inherit;
  text-decoration: none;
}

.ops-brand img {
  width: 78px;
  height: auto;
  object-fit: contain;
}

.ops-brand > span {
  display: grid;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--ops-line);
}

.ops-brand strong {
  font-size: 14px;
  font-weight: 800;
}

.ops-brand small {
  color: var(--ops-muted);
  font-size: 10px;
  font-weight: 650;
}

.ops-sidebar nav {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.ops-sidebar nav a {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 7px;
  color: #506077;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ops-sidebar nav a:hover {
  background: #f3f6fa;
  color: #27364a;
}

.ops-sidebar nav a.is-active {
  background: #edf3ff;
  color: #1f5ec9;
}

.ops-nav-mark {
  width: 9px;
  height: 9px;
  border: 2px solid currentcolor;
  border-radius: 2px;
}

.ops-nav-mark.is-users {
  border-radius: 50%;
}

.ops-admin-user-table th:first-child,
.ops-admin-user-table td:first-child {
  width: 28%;
}

.ops-admin-role,
.ops-current-admin {
  color: #536176;
  font-size: 11px;
  font-weight: 700;
}

.ops-admin-role.is-super {
  color: #1d4ed8;
}

.ops-current-admin {
  color: #778397;
}

.ops-admin-user-drawer {
  width: min(460px, 100vw);
}

#admin-user-list-error {
  margin: 14px;
}

.ops-sidebar-foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 14px 8px 0;
  border-top: 1px solid var(--ops-line-soft);
}

.ops-sidebar-foot span {
  color: #718095;
  font-size: 11px;
  font-weight: 650;
}

.ops-sidebar-foot button {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #48566b;
  font-size: 12px;
  font-weight: 700;
}

.ops-sidebar-foot button:hover {
  color: var(--ops-danger);
}

.ops-shell {
  min-width: 0;
}

.ops-topbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  border-bottom: 1px solid var(--ops-line);
  background: rgb(255 255 255 / 96%);
}

.ops-topbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ops-topbar > div:first-child span,
.ops-topbar > div:first-child b {
  color: #7b8797;
  font-size: 12px;
  font-weight: 600;
}

.ops-topbar > div:first-child strong {
  color: #344155;
  font-size: 12px;
  font-weight: 750;
}

.ops-admin-identity {
  color: #344155;
  font-size: 12px;
}

.ops-admin-identity > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #24334a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.ops-main {
  width: min(100% - 48px, 1500px);
  margin: 0 auto;
  padding: 32px 0 48px;
}

.ops-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.ops-page-head h1 {
  margin: 0;
  color: #141d2d;
  font-size: 26px;
  font-weight: 820;
  line-height: 1.25;
}

.ops-page-head p {
  margin: 6px 0 0;
  color: var(--ops-muted);
  font-size: 13px;
}

.ops-create-button {
  gap: 7px;
}

.ops-create-button span {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

.ops-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--ops-line);
  border-radius: 8px;
  background: #ffffff;
}

.ops-summary > div {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  border-right: 1px solid var(--ops-line-soft);
}

.ops-summary > div:last-child {
  border-right: 0;
}

.ops-summary span {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 650;
}

.ops-summary strong {
  color: #1d2939;
  font-size: 22px;
  font-weight: 820;
}

.ops-enterprise-list {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--ops-line);
  border-radius: 8px;
  background: #ffffff;
}

.ops-toolbar {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ops-line-soft);
}

.ops-toolbar h2 {
  margin: 0;
  color: #27364a;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.ops-filters {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ops-search {
  width: min(320px, 40vw);
}

.ops-filters input,
.ops-filters select {
  height: 38px;
}

.ops-filters select {
  min-width: 112px;
}

.ops-table-wrap {
  position: relative;
  min-height: 180px;
  overflow-x: auto;
}

.ops-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.ops-table th,
.ops-table td {
  padding: 0 16px;
  border-bottom: 1px solid var(--ops-line-soft);
  text-align: left;
  vertical-align: middle;
}

.ops-table th {
  height: 40px;
  background: var(--ops-soft);
  color: #526075;
  font-size: 11px;
  font-weight: 750;
}

.ops-table td {
  height: 66px;
  color: #344155;
  font-size: 12px;
  font-weight: 570;
}

.ops-table tbody tr:hover td {
  background: #fafcff;
}

.ops-table th:nth-child(1) { width: 29%; }
.ops-table th:nth-child(2) { width: 112px; }
.ops-table th:nth-child(3) { width: 190px; }
.ops-table th:nth-child(4) { width: 128px; }
.ops-table th:nth-child(5) { width: 112px; }
.ops-table th:nth-child(6) { width: 156px; }

.ops-table td:nth-child(6) {
  white-space: nowrap;
}

.ops-enterprise-name {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.ops-enterprise-name strong,
.ops-enterprise-name small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-enterprise-name strong {
  color: var(--ops-ink);
  font-size: 13px;
  font-weight: 780;
}

.ops-enterprise-name small,
.ops-scope small {
  color: #6d798c;
  font-size: 11px;
  font-weight: 560;
}

.ops-status,
.ops-sync {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.ops-status::before,
.ops-sync::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentcolor;
  content: "";
  opacity: 0.7;
}

.ops-status.is-active,
.ops-sync.is-synced {
  background: #edf8f2;
  color: var(--ops-success);
}

.ops-status.is-trialing {
  background: #edf4ff;
  color: #2c63bd;
}

.ops-status.is-past_due,
.ops-sync.is-pending {
  background: #fbf4e8;
  color: var(--ops-warning);
}

.ops-status.is-suspended,
.ops-status.is-canceled,
.ops-status.is-expired,
.ops-sync.is-sync_failed {
  background: #f8eeee;
  color: #9c3e47;
}

.ops-scope {
  display: grid;
  gap: 3px;
}

.ops-scope strong {
  color: #2d3a4d;
  font-size: 12px;
  font-weight: 720;
}

.ops-edit-button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #235fc7;
  font-size: 12px;
  font-weight: 750;
}

.ops-edit-button:hover {
  color: #174aa4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ops-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.ops-row-actions .ops-edit-button:last-child {
  color: #59687d;
}

.ops-empty {
  display: grid;
  min-height: 220px;
  place-content: center;
  gap: 6px;
  text-align: center;
}

.ops-empty strong {
  color: #344155;
  font-size: 14px;
}

.ops-empty span {
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-loading {
  display: grid;
}

.ops-loading span {
  display: block;
  height: 66px;
  border-bottom: 1px solid var(--ops-line-soft);
  background: #f5f7fa;
}

.ops-list-footer {
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 0 16px;
  background: #ffffff;
  color: #6d798c;
  font-size: 11px;
  font-weight: 600;
}

.ops-drawer-layer {
  position: fixed;
  inset: 0;
}

.ops-drawer-backdrop {
  position: absolute;
  inset: 0;
  z-index: var(--ops-z-drawer-backdrop);
  border: 0;
  background: rgb(21 29 43 / 38%);
  cursor: default;
}

.ops-drawer {
  position: absolute;
  z-index: var(--ops-z-drawer);
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(760px, 100%);
  grid-template-rows: auto minmax(0, 1fr);
  background: #ffffff;
  box-shadow: -2px 0 8px rgb(23 32 51 / 16%);
}

.ops-drawer > header {
  display: flex;
  min-height: 76px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--ops-line);
}

.ops-drawer > header h2 {
  margin: 0;
  color: var(--ops-ink);
  font-size: 18px;
  font-weight: 800;
}

.ops-drawer > header p {
  margin: 5px 0 0;
  color: var(--ops-muted);
  font-size: 12px;
}

.ops-icon-button {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 0;
  background: #f1f4f8;
  color: #536176;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.ops-icon-button:hover {
  background: #e7ecf3;
  color: #27364a;
}

.ops-drawer form {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.ops-drawer-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 22px 24px;
}

.ops-form-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--ops-line-soft);
}

.ops-form-section:last-of-type {
  border-bottom: 0;
}

.ops-form-section h3 {
  margin: 0 0 14px;
  color: #27364a;
  font-size: 13px;
  font-weight: 800;
}

.ops-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 12px;
}

.ops-form-grid > label {
  align-self: start;
}

.ops-option-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.ops-inline-check {
  display: inline-flex !important;
  width: fit-content;
  align-items: center;
  gap: 7px !important;
  cursor: pointer;
}

.ops-form-grid .ops-inline-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--ops-primary);
}

.ops-form-grid .ops-inline-check span {
  color: #46556a;
  font-size: 12px;
  font-weight: 650;
}

.ops-form-grid input:disabled {
  border-color: #e2e7ee;
  background: #f2f4f7;
  color: #8a95a5;
  cursor: not-allowed;
}

.ops-form-grid .is-wide {
  grid-column: 1 / -1;
}

.ops-logo-field {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: #fbfcfe;
}

.ops-logo-preview {
  display: grid;
  width: 76px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d6deea;
  border-radius: 7px;
  background: #ffffff;
  color: #7a8798;
  font-size: 11px;
  font-weight: 720;
}

.ops-logo-preview.has-logo {
  padding: 4px;
  border-color: transparent;
  background: #ffffff;
}

.ops-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ops-logo-field > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.ops-logo-field > div:nth-child(2) > span {
  color: #344155;
  font-size: 12px;
  font-weight: 760;
}

.ops-logo-field p {
  margin: 0;
  color: #657389;
  font-size: 11px;
  line-height: 1.45;
}

.ops-logo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 3px;
}

.ops-logo-actions .ops-secondary-button {
  min-height: 32px;
  padding: 0 11px;
  font-size: 11px;
}

.ops-form-grid label > small {
  color: #738095;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.45;
}

.ops-section-note {
  margin: 10px 0 0;
  color: #657389;
  font-size: 11px;
  line-height: 1.5;
}

.ops-usage-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  border: 1px solid var(--ops-line);
  border-radius: 8px;
  background: #f8fafc;
}

.ops-usage-summary > div {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 12px 14px;
}

.ops-usage-summary > div + div {
  border-left: 1px solid var(--ops-line-soft);
}

.ops-usage-summary span,
.ops-usage-summary small {
  overflow: hidden;
  color: #69768a;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-usage-summary strong {
  color: #25364b;
  font-size: 17px;
  font-weight: 780;
}

.ops-usage-summary strong b {
  font: inherit;
}

@media (max-width: 560px) {
  .ops-usage-summary {
    grid-template-columns: 1fr;
  }

  .ops-usage-summary > div + div {
    border-top: 1px solid var(--ops-line-soft);
    border-left: 0;
  }
}

.ops-block-field {
  display: grid;
  gap: 7px;
}
.ops-block-field textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 10px 12px;
  line-height: 1.55;
}

.ops-activation {
  display: grid;
  gap: 12px;
  margin: 18px 0 2px;
  padding: 14px;
  border: 1px solid #bfd1f5;
  border-radius: 8px;
  background: #f2f6ff;
}

.ops-activation > div:first-child {
  display: grid;
  gap: 3px;
}

.ops-activation strong {
  color: #1f4f9e;
  font-size: 12px;
}

.ops-activation span {
  color: #4e668c;
  font-size: 11px;
}

.ops-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ops-copy-row input {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #b8c9e8;
  border-radius: 7px;
  background: #ffffff;
  color: #27364a;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
}

.ops-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ops-section-head h3 {
  margin-bottom: 3px;
}

.ops-section-head p {
  margin: 0;
  color: #69768a;
  font-size: 11px;
}

.ops-text-button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #235fc7;
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
}

.ops-text-button:hover {
  color: #174aa4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ops-text-button.is-danger {
  color: var(--ops-danger);
}

.ops-seat-track {
  height: 5px;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
}

.ops-seat-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #4380df;
  transition: width 180ms ease;
}

.ops-seat-track span.is-over {
  background: var(--ops-danger);
}

.ops-member-mode {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 3px;
  margin-top: 16px;
  padding: 3px;
  border: 1px solid #d5deea;
  border-radius: 7px;
  background: #eef2f7;
}

.ops-member-mode button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #66758a;
  font-size: 11px;
  font-weight: 760;
  cursor: pointer;
}

.ops-member-mode button[aria-selected="true"] {
  background: #fff;
  color: #1c293d;
  box-shadow: 0 1px 3px rgb(38 52 77 / 13%);
}

.ops-invite-form {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(180px, 1.15fr) minmax(170px, 1fr) 122px 96px;
  gap: 8px;
  margin-top: 10px;
}

.ops-invite-form .ops-secondary-button {
  min-width: 96px;
  padding-inline: 10px;
}

.ops-invite-form input,
.ops-invite-form select {
  height: 38px;
  padding-inline: 10px;
  font-size: 12px;
}

.ops-member-mode-hint {
  margin: 8px 0 0;
  color: var(--ops-muted);
  font-size: 11px;
  line-height: 1.5;
}

.ops-inline-error {
  margin: 8px 0 0;
  color: var(--ops-danger);
  font-size: 11px;
  font-weight: 650;
}

.ops-subsection {
  margin-top: 20px;
}

.ops-subsection h4 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #3d4a5f;
  font-size: 11px;
  font-weight: 760;
}

.ops-subsection h4 span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: #eef2f7;
  color: #5d6a7d;
  font-size: 10px;
}

.ops-people-list {
  border-top: 1px solid var(--ops-line-soft);
}

.ops-person-row {
  display: grid;
  min-height: 52px;
  grid-template-columns: minmax(180px, 1fr) 120px 68px auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ops-line-soft);
}

.ops-invitation-row {
  grid-template-columns: minmax(190px, 1fr) 72px 140px auto;
}

.ops-person-identity {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.ops-person-identity strong,
.ops-person-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-person-identity strong {
  color: #27364a;
  font-size: 12px;
  font-weight: 720;
}

.ops-person-identity span,
.ops-invite-expiry {
  color: #718095;
  font-size: 10px;
}

.ops-inline-select {
  width: 100%;
  height: 30px;
  padding: 0 7px;
  border: 1px solid #d5dde8;
  border-radius: 6px;
  background: #ffffff;
  color: #405068;
  font-size: 11px;
}

.ops-person-status {
  color: #526075;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ops-person-status.is-active,
.ops-person-status.is-pending {
  color: var(--ops-success);
}

.ops-person-status.is-archived,
.ops-person-status.is-expired,
.ops-person-status.is-revoked {
  color: #8a5960;
}

.ops-person-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ops-people-empty {
  display: grid;
  min-height: 52px;
  place-items: center start;
  border-bottom: 1px solid var(--ops-line-soft);
  color: #7a8798;
  font-size: 11px;
}

.ops-drawer form > footer {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 22px;
  border-top: 1px solid var(--ops-line);
  background: #ffffff;
}

.ops-drawer form > footer .ops-form-error {
  flex: 1 1 auto;
  min-width: min(280px, 100%);
  margin-right: auto;
}

.ops-admin-user-drawer .ops-admin-delete {
  min-height: 32px;
  margin-right: auto;
  padding: 0;
  font-size: 12px;
}

.ops-admin-user-drawer .ops-admin-delete[data-confirming="true"] {
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ops-analytics-drawer {
  position: absolute;
  z-index: var(--ops-z-drawer);
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: #ffffff;
  box-shadow: -2px 0 8px rgb(23 32 51 / 16%);
}

.ops-analytics-head {
  display: flex;
  min-height: 82px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--ops-line);
  background: #ffffff;
}

.ops-analytics-head > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.ops-analytics-head > div > span {
  color: #657389;
  font-size: 10px;
  font-weight: 720;
}

.ops-analytics-head h2,
.ops-analytics-head p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-analytics-head h2 {
  color: var(--ops-ink);
  font-size: 18px;
  font-weight: 800;
}

.ops-analytics-head p {
  color: var(--ops-muted);
  font-size: 11px;
}

.ops-analytics-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
}

.ops-analytics-filters {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  grid-template-columns: 132px 160px 126px 126px minmax(170px, 1fr) auto;
  align-items: end;
  gap: 9px;
  padding: 13px 22px;
  border-bottom: 1px solid var(--ops-line-soft);
  background: rgb(255 255 255 / 98%);
}

.ops-analytics-filters label,
.ops-analytics-filter-field {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.ops-analytics-filters label > span,
.ops-analytics-filter-field > span {
  color: #657389;
  font-size: 10px;
  font-weight: 680;
}

.ops-analytics-filters input,
.ops-analytics-filters select {
  width: 100%;
  height: 36px;
  min-width: 0;
  padding-inline: 9px;
  font-size: 11px;
}

.ops-custom-select {
  position: relative;
  min-width: 0;
}

.ops-custom-select > button {
  display: flex;
  width: 100%;
  height: 36px;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f1f4f8;
  color: #25334a;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.ops-custom-select > button:hover {
  background: #e9eef5;
}

.ops-custom-select > button > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-custom-select > button > i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-right: 1.5px solid #738198;
  border-bottom: 1.5px solid #738198;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
}

.ops-custom-select.is-open > button {
  border-color: #9ab6ec;
  background: #ffffff;
}

.ops-custom-select.is-open > button > i {
  transform: translateY(2px) rotate(225deg);
}

.ops-custom-select-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 5px);
  left: 0;
  width: max(100%, 150px);
  max-height: 240px;
  overflow-y: auto;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 12px rgb(23 32 51 / 16%);
  overscroll-behavior: contain;
}

.ops-custom-select-menu button {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px 28px 8px 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #344155;
  font-size: 11px;
  font-weight: 560;
  text-align: left;
  white-space: nowrap;
}

.ops-custom-select-menu button:hover,
.ops-custom-select-menu button:focus-visible {
  outline: 0;
  background: #f1f5fb;
}

.ops-custom-select-menu button[aria-selected="true"] {
  background: #edf3ff;
  color: #1d4ed8;
  font-weight: 700;
}

.ops-custom-select-menu button[aria-selected="true"]::after {
  position: absolute;
  top: 50%;
  right: 10px;
  color: #2563eb;
  content: "\2713";
  font-size: 12px;
  transform: translateY(-50%);
}

.ops-analytics-filter-actions {
  display: flex;
  gap: 7px;
}

.ops-analytics-filter-actions button {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 11px;
}

.ops-analytics-error {
  margin: 16px 22px 0;
}

.ops-analytics-loading {
  display: grid;
  gap: 1px;
  background: var(--ops-line-soft);
}

.ops-analytics-loading span {
  height: 108px;
  background: #f7f9fc;
}

.ops-analytics-content {
  min-width: 0;
}

.ops-analytics-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-bottom: 1px solid var(--ops-line);
  background: var(--ops-line-soft);
}

.ops-analytics-metrics > div {
  display: grid;
  min-width: 0;
  min-height: 104px;
  align-content: center;
  gap: 5px;
  padding: 14px 16px;
  background: #ffffff;
}

.ops-analytics-metrics span,
.ops-analytics-metrics small {
  overflow: hidden;
  color: #68768a;
  font-size: 10px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-analytics-metrics strong {
  color: #223147;
  font-size: 21px;
  font-weight: 790;
  line-height: 1.1;
}

.ops-analytics-metrics strong b {
  font: inherit;
}

.ops-analytics-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  border-bottom: 1px solid var(--ops-line);
}

.ops-analytics-section {
  min-width: 0;
  padding: 20px 22px 22px;
  border-bottom: 1px solid var(--ops-line);
}

.ops-analytics-overview .ops-analytics-section {
  border-bottom: 0;
}

.ops-analytics-overview .ops-analytics-section + .ops-analytics-section {
  border-left: 1px solid var(--ops-line);
}

.ops-analytics-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ops-analytics-section-head > div {
  min-width: 0;
}

.ops-analytics-section-head h3,
.ops-analytics-section-head p {
  margin: 0;
}

.ops-analytics-section-head h3 {
  color: #28374c;
  font-size: 13px;
  font-weight: 780;
}

.ops-analytics-section-head p {
  margin-top: 4px;
  color: #6c798c;
  font-size: 10px;
}

.ops-analytics-section-head > span {
  flex: 0 0 auto;
  color: #5f6d82;
  font-size: 10px;
  font-weight: 680;
}

.ops-trend-chart {
  display: flex;
  height: 154px;
  align-items: stretch;
  gap: 4px;
  padding-top: 8px;
  border-bottom: 1px solid #dfe5ee;
}

.ops-trend-column {
  display: grid;
  min-width: 6px;
  flex: 1 1 0;
  grid-template-rows: minmax(0, 1fr) 20px;
  align-items: end;
  gap: 5px;
}

.ops-trend-column i {
  display: block;
  width: 100%;
  min-height: 2px;
  border-radius: 2px 2px 0 0;
  background: #4a78c8;
}

.ops-trend-column small {
  overflow: hidden;
  color: #7a8798;
  font-size: 8px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-time-section {
  background: #f8fafc;
}

.ops-time-value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0 18px;
}

.ops-time-value strong {
  color: #214f92;
  font-size: 25px;
  font-weight: 800;
}

.ops-time-value span {
  color: #68768a;
  font-size: 11px;
}

.ops-time-formula {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ops-time-formula > div {
  display: grid;
  gap: 4px;
}

.ops-time-formula dt {
  color: #647287;
  font-size: 10px;
  font-weight: 700;
}

.ops-time-formula dd {
  margin: 0;
  color: #35445a;
  font-size: 11px;
  line-height: 1.55;
}

.ops-data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ops-line-soft);
  border-radius: 6px;
}

.ops-data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  table-layout: fixed;
}

.ops-data-table th,
.ops-data-table td {
  height: 42px;
  padding: 7px 11px;
  border-bottom: 1px solid var(--ops-line-soft);
  color: #3b495d;
  font-size: 10px;
  text-align: left;
  vertical-align: middle;
}

.ops-data-table th {
  height: 34px;
  background: #f7f9fc;
  color: #657389;
  font-weight: 720;
  white-space: nowrap;
}

.ops-data-table tbody tr:last-child td {
  border-bottom: 0;
}

.ops-data-table tbody tr:hover td {
  background: #fafcff;
}

.ops-data-table tbody tr.is-clickable {
  cursor: pointer;
  outline: none;
}

.ops-data-table tbody tr.is-clickable:focus td {
  background: #f0f5fd;
}

.ops-data-table td.is-numeric {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ops-data-table td.is-mono {
  overflow: hidden;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-data-table td.is-strong {
  color: #26364b;
  font-weight: 750;
}

.ops-data-identity {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.ops-data-identity strong,
.ops-data-identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-data-identity strong {
  color: #26364b;
  font-size: 11px;
  font-weight: 730;
}

.ops-data-identity small {
  color: #758296;
  font-size: 9px;
}

.ops-data-status {
  display: inline-flex;
  min-height: 21px;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #edf1f6;
  color: #56657a;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.ops-data-status.is-completed,
.ops-data-status.is-consumed,
.ops-data-status.is-usable,
.ops-data-status.is-ready,
.ops-data-status.is-confirmed {
  background: #edf8f2;
  color: #177245;
}

.ops-data-status.is-processing,
.ops-data-status.is-reserved,
.ops-data-status.is-review,
.ops-data-status.is-needs_review {
  background: #edf4ff;
  color: #2b61b7;
}

.ops-data-status.is-failed,
.ops-data-status.is-incomplete {
  background: #fff0f1;
  color: #a43a44;
}

.ops-data-status.is-released,
.ops-data-status.is-archived {
  background: #f0f2f5;
  color: #6d798c;
}

.ops-employee-table th:nth-child(1) { width: 30%; }
.ops-employee-table th:nth-child(2) { width: 76px; }
.ops-employee-table th:nth-child(3) { width: 120px; }
.ops-employee-table th:nth-child(4) { width: 88px; }
.ops-employee-table th:nth-child(5) { width: 88px; }
.ops-employee-table th:nth-child(6) { width: 136px; }

.ops-task-table th:nth-child(1) { width: 32%; }
.ops-task-table th:nth-child(2) { width: 136px; }
.ops-task-table th:nth-child(3) { width: 88px; }
.ops-task-table th:nth-child(4) { width: 112px; }
.ops-task-table th:nth-child(5) { width: 80px; }
.ops-task-table th:nth-child(6) { width: 136px; }

.ops-event-table th:nth-child(1) { width: 136px; }
.ops-event-table th:nth-child(2) { width: 22%; }
.ops-event-table th:nth-child(3) { width: 88px; }
.ops-event-table th:nth-child(4) { width: 76px; }
.ops-event-table th:nth-child(5) { width: 88px; }
.ops-event-table th:nth-child(6) { width: 28%; }

.ops-analytics-empty {
  display: grid;
  min-height: 92px;
  place-items: center;
  margin: 0;
  color: #738095;
  font-size: 11px;
}

.ops-analytics-pagination {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 10px 22px;
  background: #f8fafc;
  color: #647287;
  font-size: 10px;
}

.ops-analytics-pagination label,
.ops-analytics-pagination > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ops-analytics-pagination select {
  width: 64px;
  height: 32px;
  padding-inline: 7px;
  font-size: 10px;
}

.ops-analytics-pagination button {
  min-height: 32px;
  padding-inline: 10px;
  font-size: 10px;
}

.ops-task-detail-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.ops-task-detail-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(23 32 51 / 30%);
}

.ops-task-detail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(720px, 100%);
  grid-template-rows: auto minmax(0, 1fr);
  background: #ffffff;
  box-shadow: -2px 0 8px rgb(23 32 51 / 18%);
}

.ops-task-detail > header {
  display: flex;
  min-height: 78px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--ops-line);
}

.ops-task-detail > header > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.ops-task-detail > header span {
  color: #68768a;
  font-size: 10px;
  font-weight: 700;
}

.ops-task-detail > header h3,
.ops-task-detail > header p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-task-detail > header h3 {
  color: #25354a;
  font-size: 16px;
  font-weight: 780;
}

.ops-task-detail > header p {
  color: #718095;
  font-size: 10px;
}

.ops-task-detail-body {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px 28px;
}

.ops-task-detail-loading {
  display: grid;
  gap: 1px;
  background: var(--ops-line-soft);
}

.ops-task-detail-loading span {
  height: 88px;
  background: #f7f9fc;
}

.ops-task-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--ops-line-soft);
  border-radius: 6px;
  background: var(--ops-line-soft);
}

.ops-task-meta > div {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 11px 12px;
  background: #ffffff;
}

.ops-task-meta dt {
  color: #728095;
  font-size: 9px;
  font-weight: 680;
}

.ops-task-meta dd {
  overflow: hidden;
  margin: 0;
  color: #334258;
  font-size: 10px;
  font-weight: 670;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-task-result-head {
  margin-bottom: 10px;
}

.ops-result-table {
  min-width: 620px;
}

.ops-result-table th:nth-child(1) { width: 110px; }
.ops-result-table th:nth-child(2),
.ops-result-table th:nth-child(3) { width: 140px; }
.ops-result-table th:nth-child(4) { width: 70px; }
.ops-result-table th:nth-child(5) { width: 96px; }
.ops-result-table th:nth-child(6) { width: 76px; }

.ops-toast {
  position: fixed;
  z-index: var(--ops-z-toast);
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 44px));
  padding: 11px 14px;
  border-radius: 7px;
  background: #253246;
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
}

.ops-toast.is-error {
  background: #8f3039;
}

@media (max-width: 1024px) {
  :root {
    --ops-sidebar: 76px;
  }

  .ops-sidebar {
    align-items: center;
    padding-inline: 10px;
  }

  .ops-brand {
    padding-inline: 0;
  }

  .ops-brand img {
    width: 48px;
  }

  .ops-brand > span,
  .ops-sidebar nav a:not(.is-active)::after,
  .ops-sidebar nav a {
    font-size: 0;
  }

  .ops-sidebar nav a {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .ops-sidebar nav a.is-active::after {
    content: "企业";
    font-size: 10px;
  }

  .ops-sidebar-foot span {
    display: none;
  }

  .ops-sidebar-foot button {
    font-size: 11px;
  }

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

  .ops-summary > div:nth-child(2) {
    border-right: 0;
  }

  .ops-summary > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--ops-line-soft);
  }

  .ops-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-filters {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ops-search {
    width: min(100%, 360px);
  }

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

  .ops-invite-form button {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  :root {
    --ops-sidebar: 0px;
  }

  .ops-app {
    padding: 0;
  }

  .ops-sidebar {
    position: static;
    width: 100%;
    height: 58px;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--ops-line);
  }

  .ops-brand {
    min-height: auto;
    padding: 0;
  }

  .ops-brand img {
    width: 72px;
  }

  .ops-sidebar nav {
    display: none;
  }

  .ops-sidebar-foot {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .ops-topbar {
    min-height: 52px;
    padding: 0 16px;
  }

  .ops-topbar > div:first-child {
    display: none;
  }

  .ops-admin-identity {
    margin-left: auto;
  }

  .ops-main {
    width: calc(100% - 28px);
    padding-top: 22px;
  }

  .ops-page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-create-button {
    align-self: flex-start;
  }

  .ops-summary > div {
    min-height: 64px;
    padding: 0 14px;
  }

  .ops-summary strong {
    font-size: 19px;
  }

  .ops-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ops-search {
    width: 100%;
    grid-column: 1 / -1;
  }

  .ops-login {
    grid-template-columns: 1fr;
  }

  .ops-login-brand {
    min-height: auto;
    align-items: center;
    padding: 24px;
  }

  .ops-login-brand img {
    width: 130px;
  }

  .ops-login-brand span {
    margin-top: 0;
  }

  .ops-login-form {
    min-height: calc(100dvh - 96px);
  }

  .ops-form-grid {
    grid-template-columns: 1fr;
  }

  .ops-form-grid .is-wide {
    grid-column: auto;
  }

  .ops-drawer {
    width: 100%;
  }

  .ops-invite-form {
    grid-template-columns: 1fr;
  }

  .ops-person-row,
  .ops-invitation-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 10px 0;
  }

  .ops-inline-select,
  .ops-invite-expiry {
    grid-column: 1;
  }

  .ops-person-actions,
  .ops-person-row > .ops-text-button {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 1100px) {
  .ops-analytics-drawer {
    width: min(100%, 980px);
  }

  .ops-analytics-filters {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .ops-analytics-search {
    grid-column: span 2;
  }

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

@media (max-width: 780px) {
  .ops-analytics-drawer {
    width: 100%;
  }

  .ops-analytics-head {
    min-height: 74px;
    padding-inline: 16px;
  }

  .ops-analytics-filters {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 16px;
  }

  .ops-analytics-search,
  .ops-analytics-filter-actions {
    grid-column: 1 / -1;
  }

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

  .ops-analytics-metrics > div {
    min-height: 88px;
    padding: 12px 14px;
  }

  .ops-analytics-overview {
    grid-template-columns: 1fr;
  }

  .ops-analytics-overview .ops-analytics-section + .ops-analytics-section {
    border-top: 1px solid var(--ops-line);
    border-left: 0;
  }

  .ops-analytics-section {
    padding: 17px 16px 19px;
  }

  .ops-analytics-error {
    margin-inline: 16px;
  }

  .ops-analytics-pagination {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-inline: 16px;
  }

  .ops-task-detail-body,
  .ops-task-detail > header {
    padding-inline: 16px;
  }

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

@media (max-width: 480px) {
  .ops-analytics-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .ops-analytics-metrics strong {
    font-size: 18px;
  }

  .ops-analytics-filter-actions button {
    flex: 1;
  }

  .ops-trend-chart {
    gap: 2px;
  }

  .ops-analytics-pagination > span {
    order: -1;
    width: 100%;
  }

  .ops-task-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
