.btn {
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 760;
}

.btn.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.btn:disabled {
  cursor: default;
  opacity: 0.64;
}

.btn.secondary {
  color: var(--blue);
  background: rgba(10, 132, 255, 0.08);
  border-color: rgba(10, 132, 255, 0.16);
}

.btn.ghost {
  color: var(--blue);
  background: transparent;
  border-color: transparent;
}

.city-picker,
.language-picker {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.city-picker select,
.language-picker select {
  min-width: 92px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-weight: 760;
}

.language-picker select {
  min-width: 86px;
}

.btn.block {
  width: 100%;
}

[hidden] {
  display: none !important;
}

.btn.icon {
  width: 42px;
  padding: 0;
  border-radius: 14px;
}

.panel {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.auth-shell {
  width: min(100%, 430px);
  margin: 8px auto 0;
}

.auth-card {
  padding: 34px 34px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(22, 28, 36, 0.08);
}

.auth-card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.auth-card-head h2 {
  font-size: 28px;
  line-height: 34px;
}

.auth-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 22px;
}

.auth-provider-button {
  width: 100%;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-size: 15px;
}

.auth-provider-button > span {
  font-weight: 820;
}

.auth-provider-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.auth-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px;
  align-items: end;
}

.auth-code-row > .btn {
  min-height: 46px;
  border-radius: var(--radius-md);
}

.auth-code-input-wrap {
  position: relative;
  display: block;
}

.auth-code-input-wrap input {
  padding-right: 58px;
}

.auth-code-countdown {
  position: absolute;
  right: 12px;
  top: 50%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
  transform: translateY(-50%);
}

.auth-divider {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 22px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.auth-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  position: relative;
  padding: 0 14px;
  background: var(--white);
}

.auth-otp-section {
  display: grid;
  gap: 10px;
}

.auth-otp-section h2 {
  font-size: 18px;
  line-height: 24px;
}

.auth-otp-section .meta {
  margin: 0;
}

.auth-footnote {
  display: grid;
  gap: 6px;
  justify-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.auth-footnote p {
  margin: 0;
}

.auth-footnote button {
  color: var(--blue);
  background: transparent;
  border: 0;
  font-weight: 800;
}

.soft-panel {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 20px;
}

.search input,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 16px;
  line-height: 1.45;
  outline: 0;
}

.field textarea {
  min-height: 132px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
}

.radius-field input[type="range"] {
  width: calc(100% - 4px);
  min-height: 24px;
  margin-top: 6px;
  padding: 0;
  justify-self: center;
}

.radius-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field .radius-inline-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.radius-inline-control input[type="number"] {
  width: 82px;
  min-height: 36px;
  padding: 0 10px;
  text-align: center;
}

.service-center-map {
  display: grid;
  gap: 10px;
}

.service-center-title {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #ff3b30;
  box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.12);
}

.field {
  display: grid;
  gap: 10px;
}

.location-query-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 8px;
  align-items: stretch;
}

.location-query-control input {
  min-width: 0;
}

.location-query-go {
  min-height: 46px;
  padding: 0 14px;
  font-weight: 850;
}

.field span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.select-action {
  min-height: 50px;
  padding: 9px 14px;
  display: grid;
  gap: 4px;
  width: 100%;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

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

.select-action strong {
  font-size: 16px;
}

.select-action span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-helper {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.form-readiness {
  margin: 0;
  padding: 10px 12px;
  color: #5b5f66;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 760;
}

.form-readiness[data-ready="true"] {
  color: #0a7a45;
  background: rgba(52, 199, 89, 0.1);
  border-color: rgba(52, 199, 89, 0.24);
}

.field-meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.field-error {
  color: #d70015;
  font-size: 13px;
  font-weight: 760;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 680;
}

.chip.active {
  color: var(--blue);
  background: rgba(10, 132, 255, 0.08);
  border-color: rgba(10, 132, 255, 0.18);
}

.chip-row.compact .chip {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.chip-row.section-tight {
  margin-top: 8px;
}

.filter-bar {
  display: grid;
  gap: 8px;
}

.filter-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.filter-menu button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 720;
}

.filter-menu button.active {
  color: var(--blue);
  background: rgba(10, 132, 255, 0.08);
  border-color: rgba(10, 132, 255, 0.2);
}

.field.compact {
  gap: 4px;
}

.field.compact select {
  min-height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  padding: 4px 8px;
  color: var(--green);
  background: rgba(31, 122, 77, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.status-pill {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.green {
  color: var(--green);
  background: rgba(31, 122, 77, 0.08);
}

.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.1);
  border-radius: 14px;
  font-weight: 850;
}

.account-menu-wrap {
  position: relative;
}

.account-avatar-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(10, 132, 255, 0.1);
  border: 1px solid rgba(10, 132, 255, 0.18);
  border-radius: 50%;
  font-weight: 850;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  width: 230px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.account-menu-head {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.account-menu-head span {
  color: var(--muted);
  font-size: 12px;
}

.account-menu button {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  text-align: left;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  font-weight: 760;
}

.account-menu button:last-child {
  border-bottom: 0;
}

.service-card,
.lead-card,
.plan-card,
.request-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.request-card {
  width: 100%;
  text-align: left;
}

.request-card.active {
  border-color: rgba(10, 132, 255, 0.32);
  background: rgba(10, 132, 255, 0.06);
}

.service-card {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.service-card .actions {
  grid-column: 2;
}

.card-main strong,
.card-main span {
  display: block;
}

.card-main strong {
  font-size: 17px;
}

.card-main span,
.meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.response-tier {
  color: var(--blue);
  font-style: normal;
  font-weight: 850;
}

.response-tier.top {
  color: #d97706;
}

.response-tier.fast {
  color: var(--blue);
}

.response-tier.steady {
  color: var(--green);
}

.card-main .provider-reputation {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.star-meter {
  position: relative;
  display: inline-block;
  width: max-content;
  color: #d7dee8;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.star-meter .star-base,
.star-meter .star-fill {
  display: block;
  white-space: nowrap;
}

.star-meter .star-fill {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--rating-percent, 0%);
  overflow: hidden;
  color: #f59e0b;
}

.star-row {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #d7dee8;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
}

.star-row .filled {
  color: #f59e0b;
}

.star-row span {
  display: inline;
  margin-top: 0;
}

.metric-row .star-row {
  display: inline-flex;
  margin-top: 0;
}

.metric-row .star-row span {
  display: inline;
}

.list {
  display: grid;
  gap: 10px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-row > div,
.metric-row > button {
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: inherit;
  text-align: left;
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row > button {
  cursor: pointer;
}

.metric-row > button:hover,
.metric-row > button:focus-visible {
  border-color: rgba(10, 132, 255, 0.34);
  outline: none;
}

.metric-row strong {
  font-size: 20px;
}

.metric-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.segmented button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 760;
}

.segmented button.active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.transaction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.transaction-row:first-child {
  border-top: 0;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.admin-row:first-child {
  border-top: 0;
}

.admin-actions {
  display: grid;
  gap: 8px;
  min-width: 118px;
  max-width: 140px;
}

.admin-actions.compact {
  min-width: 84px;
  max-width: 96px;
  gap: 6px;
}

.admin-actions.digest-actions {
  min-width: 168px;
  max-width: 220px;
}

.admin-actions.digest-actions select {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13px;
}

.followup-preview {
  max-width: 720px;
  margin: 8px 0 0;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(0, 122, 255, 0.06);
  border: 1px solid rgba(0, 122, 255, 0.16);
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.55;
}

.admin-kpi-list {
  display: grid;
  gap: 10px;
}

.admin-kpi-list div,
.audit-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.admin-kpi-list div:first-child,
.audit-row:first-child {
  border-top: 0;
}

.audit-action {
  width: 100%;
  color: var(--ink);
  font: inherit;
  text-align: left;
  background: transparent;
}

.audit-action:hover,
.audit-action:focus-visible {
  color: var(--blue);
}

.audit-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quality-badge {
  min-height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--green);
  background: rgba(52, 199, 89, 0.1);
  font-size: 12px;
  font-weight: 760;
}

.quality-badge.watch {
  color: #946200;
  background: rgba(255, 204, 0, 0.16);
}

.quality-badge.warning {
  color: #b42318;
  background: rgba(255, 59, 48, 0.1);
}

.quality-badge.muted {
  color: var(--muted);
  background: rgba(142, 142, 147, 0.12);
}

.review-flag-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.review-flag-main {
  flex: 1;
  display: grid;
  gap: 4px;
  padding: 0;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
}

.review-flag-main:hover,
.review-flag-main:focus-visible {
  color: var(--blue);
}

.task-row {
  align-items: center;
}

.task-select {
  align-self: flex-start;
  padding-top: 3px;
}

.task-select input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.task-row p {
  margin: 4px 0 0;
}

.task-selection-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.task-scope-summary {
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.task-selection-bar .hint {
  color: var(--muted);
}

.task-selection-bar .text-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.task-selection-bar .text-link.active {
  color: var(--green);
}

.task-selection-bar .text-link:disabled {
  color: var(--muted);
  cursor: default;
}

.task-empty-state {
  display: grid;
  gap: 6px;
}

.task-empty-state strong {
  color: var(--text);
}

.task-empty-state span {
  display: block;
}

.task-empty-reset {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.task-empty-reset:disabled {
  color: var(--muted);
  cursor: default;
}

.task-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.task-batch-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  margin-top: 10px;
}

.task-batch-sla-bar {
  grid-template-columns: minmax(0, 1fr) auto auto auto auto;
  margin-top: 8px;
}

.task-batch-bar input {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13px;
}

@media (max-width: 760px) {
  .task-batch-bar,
  .task-batch-sla-bar {
    grid-template-columns: 1fr 1fr;
  }

  .task-batch-bar input {
    grid-column: 1 / -1;
  }
}

.task-sla-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.task-sla-editor label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.task-sla-editor input {
  min-height: 34px;
  max-width: 180px;
  padding: 0 9px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 13px;
}

.task-sla-editor .text-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.task-sla-editor .text-link:disabled {
  color: var(--muted);
  cursor: default;
}

.review-flag-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.42fr);
  gap: 10px;
  align-items: end;
}

.task-toolbar {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.task-toolbar .chip-row {
  grid-column: 1 / -1;
}

.task-search-field {
  grid-column: 1 / -1;
}

.task-search-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.review-assignee-strip {
  display: grid;
  gap: 6px;
  padding: 9px 0 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.review-assignee-action {
  width: 100%;
  padding: 0;
  color: var(--muted);
  font: inherit;
  line-height: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.review-assignee-action:hover,
.review-assignee-action:focus-visible {
  color: var(--blue);
}

.review-flag-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
  gap: 8px;
  margin-top: 2px;
}

.review-flag-controls label {
  display: grid;
  gap: 4px;
}

.review-flag-controls span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.review-flag-controls input {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
}

.review-flag-controls input:focus {
  outline: 2px solid rgba(0, 122, 255, 0.18);
  border-color: rgba(0, 122, 255, 0.45);
}

.growth-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
}

.growth-row:first-child {
  border-top: 0;
}

.growth-row strong,
.growth-row span {
  display: block;
}

.seed-field-grid {
  display: grid;
  gap: 10px;
}

.seed-field-grid div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.seed-field-grid div:first-child {
  border-top: 0;
}

.seed-field-grid span {
  color: var(--muted);
  font-weight: 800;
}

.script-list {
  display: grid;
  gap: 12px;
}

.script-list article {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.script-list p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.notification-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.notification-row.unread {
  border-color: rgba(10, 132, 255, 0.24);
  background: rgba(10, 132, 255, 0.04);
}

.review-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.review-row:first-child {
  border-top: 0;
}

.review-row strong {
  color: var(--blue);
  letter-spacing: 1px;
}

.sticky-actions {
  position: sticky;
  bottom: 94px;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: rgba(251, 251, 253, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  backdrop-filter: blur(18px);
}

.api-badge {
  display: none;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.internal-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.api-badge.online {
  color: var(--green);
  background: rgba(31, 122, 77, 0.08);
}

.api-badge.offline {
  color: var(--red);
  background: rgba(255, 55, 95, 0.08);
}

.notice,
.empty {
  padding: 12px 14px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
}

.notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.notice-message {
  min-width: 0;
}

.notice-dismiss {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}

.notice-dismiss:hover {
  color: var(--ink);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.28);
}

.modal-panel {
  width: min(360px, 100%);
  padding: 22px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.modal-panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.modal-panel p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.dialog-actions {
  display: grid;
  gap: 10px;
}
