/* Split from styles.css (2/4) — load order matters; cascade order preserved. */
.head-actions,
.row-actions,
.pager,
.read-chips,
.modal-foot {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

body:not(.login-page-active) .head-actions {
  width: auto;
  max-width: 100%;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
}

body:not(.login-page-active) .head-actions .primary-button,
body:not(.login-page-active) .head-actions .secondary-button {
  min-height: 30px;
  border-radius: 7px;
  padding: 0 9px;
  gap: 5px;
  font-size: 13px;
  line-height: 1;
}

body:not(.login-page-active) .head-actions .secondary-button {
  border-color: #d8e0ec;
  background: rgba(255, 255, 255, 0.86);
  color: #1f2937;
}

body:not(.login-page-active) .head-actions .primary-button {
  box-shadow: 0 5px 12px rgba(31, 111, 235, 0.14);
}

body:not(.login-page-active) .head-actions .primary-button svg,
body:not(.login-page-active) .head-actions .secondary-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
}

.primary-button,
.secondary-button,
.ghost-action,
.icon-button,
.user-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 12px;
  font-weight: 680;
  white-space: nowrap;
}

.primary-button {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.primary-button:hover {
  background: var(--blue-dark);
}

.primary-button:disabled,
.secondary-button:disabled,
.ghost-action:disabled,
.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.danger-button {
  border-color: #f4b3b0;
  color: var(--red);
}

.secondary-button.danger-button:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

.danger-solid,
.danger-solid:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.secondary-button:hover,
.ghost-action:hover,
.icon-button:hover,
.user-button:hover {
  border-color: #b8c7dc;
  background: var(--surface-soft);
}

.icon-button {
  width: 36px;
  padding: 0;
}

.icon-button.small {
  width: 32px;
  min-height: 32px;
}

.notification {
  position: relative;
}

.notification span {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
}

.notification span[hidden] {
  display: none;
}

.user-button span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #2d6cdf;
  color: #fff;
  font-size: 12px;
}

.user-button strong {
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 720;
}

.user-button small {
  max-width: 84px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: 11px;
  font-weight: 620;
}

.brand .brand-tools {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.brand .brand-search {
  width: 100%;
  justify-content: flex-start;
  min-height: 36px;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.09);
  color: #edf5ff;
}

.brand .brand-search svg,
.brand .brand-notification svg,
.brand .brand-user-button svg {
  color: #d9e7f7;
}

.brand .brand-tool-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.brand .brand-notification {
  flex: 0 0 38px;
  width: 38px;
  min-height: 38px;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.09);
  color: #edf5ff;
}

.brand .brand-user-button {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 38px;
  justify-content: flex-start;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(255, 255, 255, 0.09);
  color: #edf5ff;
  padding: 0 9px;
}

.brand .brand-search:hover,
.brand .brand-notification:hover,
.brand .brand-user-button:hover {
  border-color: rgba(191, 219, 254, 0.64);
  background: rgba(255, 255, 255, 0.15);
}

.brand .brand-user-button span {
  flex: 0 0 auto;
}

.brand .brand-user-button strong,
.brand .brand-user-button small {
  min-width: 0;
}

.brand .brand-user-button strong {
  max-width: 74px;
}

.brand .brand-user-button small {
  display: none;
}

.filter-panel,
.table-card,
.config-tabs,
.batch-bar,
.approval-metrics {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(138px, 1fr)) auto auto;
  gap: 8px;
  align-items: end;
  margin-bottom: 12px;
  padding: 10px 12px;
}

body:not(.login-page-active) .filter-panel {
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 10px;
}

body:not(.login-page-active) .filter-panel .search-field,
body:not(.login-page-active) .filter-panel .filter-control {
  gap: 0;
  min-width: 0;
}

body:not(.login-page-active) .filter-panel input,
body:not(.login-page-active) .filter-panel select {
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}

body:not(.login-page-active) .filter-panel .inline-filter-control select {
  color: #1d2939;
  font-weight: 650;
}

.inline-filter-control span {
  display: none;
}

.customer-filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(96px, 0.56fr)) minmax(392px, auto);
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 10px;
}

.customer-filter-panel .search-field {
  min-width: 210px;
}

.customer-filter-panel .filter-control {
  min-width: 92px;
}

.customer-filter-panel .search-field,
.customer-filter-panel .filter-control {
  gap: 0;
}

.customer-filter-panel input,
.customer-filter-panel select {
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.customer-filter-panel .customer-inline-select select,
.customer-tag-filter-panel .customer-inline-select select {
  color: #1d2939;
  font-weight: 650;
}

.customer-filter-panel .customer-inline-select select:has(option[value=""]:checked) {
  color: #667085;
}

.customer-tag-filter-panel {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) repeat(2, minmax(112px, 0.5fr)) minmax(560px, auto);
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 10px;
}

.customer-tag-filter-panel .search-field,
.customer-tag-filter-panel .filter-control {
  gap: 0;
  min-width: 0;
}

.customer-tag-filter-panel input,
.customer-tag-filter-panel select {
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.customer-filter-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
  min-width: 0;
  width: 100%;
}

.customer-tag-filter-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
  min-width: 0;
  width: 100%;
}

.customer-filter-actions .primary-button,
.customer-filter-actions .secondary-button,
.customer-tag-filter-actions .primary-button,
.customer-tag-filter-actions .secondary-button {
  min-height: 34px;
  padding: 0 10px;
}

.filter-action-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 24px;
  background: var(--line);
}

.batch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 10px 12px;
}

.batch-summary,
.batch-actions {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.batch-summary {
  color: #344054;
}

.batch-summary svg {
  color: var(--blue);
}

.batch-summary span {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.approval-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

.finance-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.metric-card {
  display: grid;
  align-content: center;
  gap: 5px;
  min-height: 72px;
  border-radius: var(--radius);
  padding: 11px 14px;
  background: #fbfcfe;
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.metric-card strong {
  font-size: 23px;
  line-height: 1;
}

.metric-card.good {
  border-left: 3px solid var(--green);
}

.metric-card.warning {
  border-left: 3px solid var(--amber);
}

.metric-card.danger {
  border-left: 3px solid var(--red);
}

.metric-card.blue {
  border-left: 3px solid var(--blue);
}

.metric-card.neutral {
  border-left: 3px solid var(--line-strong);
}

.metric-card.metric-button {
  width: 100%;
  border: 0;
  border-left: 3px solid var(--line-strong);
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.metric-card.metric-button.good {
  border-left-color: var(--green);
}

.metric-card.metric-button.warning {
  border-left-color: var(--amber);
}

.metric-card.metric-button.danger {
  border-left-color: var(--red);
}

.metric-card.metric-button.blue {
  border-left-color: var(--blue);
}

.metric-card.metric-button:hover,
.metric-card.metric-button.active {
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.metric-card.metric-button.active {
  outline: 2px solid rgba(37, 99, 235, 0.16);
  outline-offset: 1px;
}

.workbench-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.report-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.report-source-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 10px 14px;
}

.report-source-card.good {
  border-left-color: var(--green);
}

.report-source-card.warning {
  border-left-color: var(--amber);
}

.report-source-card.blue {
  border-left-color: var(--blue);
}

.report-source-card strong {
  display: block;
  margin-bottom: 4px;
}

.report-source-card > div {
  min-width: 0;
}

.report-source-card span,
.report-source-card p,
.report-source-card small {
  color: var(--muted);
  line-height: 1.45;
}

body:not(.login-page-active) .report-source-card span,
body:not(.login-page-active) .report-source-card p {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-filter-panel {
  grid-template-columns: minmax(220px, 1.35fr) repeat(7, minmax(86px, 0.56fr)) auto;
}

.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 13px 16px;
}

.section-title > div {
  min-width: 0;
}

.section-title h2 {
  line-height: 1.25;
}

.section-title p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.section-title .secondary-button,
.section-title .primary-button {
  flex: 0 0 auto;
}

.report-panel {
  min-width: 0;
}

.report-mini-table {
  min-width: 720px;
}

.report-table {
  min-width: 1180px;
}

.report-detail-table {
  min-width: 980px;
}

.order-filter-panel {
  grid-template-columns: minmax(220px, 1.35fr) repeat(7, minmax(86px, 0.56fr)) auto;
}

.inventory-filter-panel {
  grid-template-columns: minmax(220px, 1.35fr) repeat(6, minmax(94px, 0.62fr)) auto;
}

.finance-filter-panel {
  grid-template-columns: minmax(220px, 1.35fr) repeat(5, minmax(100px, 0.66fr)) auto;
}

.inventory-table {
  min-width: 1240px;
}

.inventory-grid {
  align-items: start;
}

.finance-table {
  min-width: 1280px;
}

.finance-balance-table {
  min-width: 1360px;
}

.finance-ledger-table {
  min-width: 1320px;
}

.finance-grid {
  align-items: start;
}

.order-table {
  min-width: 1320px;
}

.order-audit-table {
  min-width: 1520px;
}

.order-workbench-grid {
  align-items: start;
}

.order-inline-warning {
  margin-bottom: 14px;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  background: #fff7ed;
  color: #9a3412;
  padding: 10px 12px;
  font-weight: 650;
}

.order-detail-grid {
  margin-bottom: 18px;
}

.order-modal-section {
  margin-top: 18px;
}

.order-modal-table {
  min-width: 760px;
}

.order-modal-table th:last-child,
.order-modal-table td:last-child {
  position: static;
  min-width: auto;
  background: inherit;
  box-shadow: none;
}

.order-timeline {
  display: grid;
  gap: 12px;
}

.order-timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
}

.order-timeline-item > span {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: #fff;
}

.order-timeline-item div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.order-timeline-item:last-child div {
  border-bottom: 0;
  padding-bottom: 0;
}

.order-timeline-item p,
.order-timeline-item small {
  color: var(--muted);
  line-height: 1.45;
}

.report-rate {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 124px;
}

.report-rate span {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.report-rate i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.report-rate strong {
  color: #344054;
  font-size: 13px;
}

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

.health-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}

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

.setup-wizard-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 18px;
  overflow: hidden;
}

.setup-wizard-card.full {
  margin-bottom: 0;
}

.setup-wizard-list {
  display: grid;
  gap: 0;
  padding: 0 16px 16px;
}

.setup-wizard-list.compact {
  padding-top: 0;
}

.setup-wizard-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 120px auto;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

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

.setup-wizard-row strong {
  font-weight: 780;
}

.setup-wizard-row p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.setup-wizard-row em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.setup-wizard-row.missing em,
.setup-wizard-row.warning em {
  color: var(--text);
}

.workbench-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.workbench-card {
  display: grid;
  gap: 8px;
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px;
  text-align: left;
}

.workbench-card:hover {
  border-color: #b8c7dc;
  background: #fbfdff;
}

.workbench-card span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
}

.workbench-card strong {
  font-size: 16px;
}

.workbench-card em,
.workbench-card small {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.dependency-list {
  display: grid;
  padding: 8px 18px 18px;
}

.dependency-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.dependency-row:last-child {
  border-bottom: 0;
}

.dependency-row span {
  color: var(--muted);
}

.change-log-card {
  margin-top: 18px;
}

.data-table.change-log-table {
  min-width: 0;
  table-layout: fixed;
}

.data-table.change-log-table th:last-child,
.data-table.change-log-table td:last-child {
  position: static;
  min-width: auto;
  box-shadow: none;
}

.data-table.change-log-table th,
.data-table.change-log-table td {
  white-space: normal;
}

.data-table.change-log-table th:nth-child(1),
.data-table.change-log-table td:nth-child(1) {
  width: 136px;
}

.data-table.change-log-table th:nth-child(5),
.data-table.change-log-table td:nth-child(5) {
  width: 74px;
}

.data-table.change-log-table td:nth-child(3),
.data-table.change-log-table td:nth-child(4) {
  white-space: normal;
}

.search-field,
.filter-control,
.field {
  display: grid;
  gap: 7px;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--subtle);
  transform: translateY(-50%);
}

.search-field input {
  padding-left: 36px;
}

.filter-control span,
.field span,
.field legend {
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}

.field b {
  margin-left: 3px;
  color: var(--red);
}

input,
select,
textarea {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  padding: 7px 10px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: var(--focus);
}

.table-card {
  overflow: hidden;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.data-table th {
  background: #fbfcfe;
  color: #475467;
  font-size: 13px;
  font-weight: 760;
}

.data-table td {
  color: #26334d;
}

.data-table tbody tr:hover {
  background: #f8fbff;
}

.data-table th:last-child,
.data-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 1;
  min-width: 148px;
  background: #fff;
  box-shadow: -10px 0 16px rgba(15, 23, 42, 0.06);
}

.data-table th:last-child {
  z-index: 2;
  background: #fbfcfe;
}

.data-table tbody tr:hover td:last-child {
  background: #f8fbff;
}

.check-cell {
  width: 44px;
  padding-right: 8px !important;
  text-align: center !important;
}

.check-cell input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
}

.approval-table {
  min-width: 1240px;
}

.approval-summary-grid {
  margin-bottom: 18px;
}

.approval-compare-section {
  display: grid;
  gap: 12px;
}

.approval-compare-table {
  min-width: 760px;
}

.approval-compare-table td {
  white-space: normal;
}

.approval-compare-table th:last-child,
.approval-compare-table td:last-child {
  position: static;
  min-width: auto;
  background: inherit;
  box-shadow: none;
}

.approval-compare-table td:first-child {
  width: 150px;
  color: var(--muted);
  font-weight: 720;
}

.approval-compare-table .compare-changed td {
  background: #fff7ed;
}

.approval-compare-table .compare-changed td:last-child {
  color: #9a3412;
  font-weight: 760;
}

.product-table {
  min-width: 1280px;
}

.product-price-table {
  min-width: 1180px;
}

.product-rule-table {
  min-width: 1040px;
}

.product-filter-panel {
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(110px, 0.58fr)) auto auto;
}

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

.customer-tag-table {
  min-width: 1320px;
}

.tag-dictionary-card,
.archive-support-grid {
  margin-top: 18px;
}

.tag-dictionary-table {
  min-width: 980px;
}

.archive-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
}

.compact-support-table {
  min-width: 680px;
}

.compact-support-table th:last-child,
.compact-support-table td:last-child {
  min-width: 104px;
}

.product-name-cell {
  display: grid;
  gap: 4px;
}

.product-name-cell span,
.muted-mini {
  color: var(--muted);
  font-size: 12px;
}

.empty-cell {
  height: 180px;
  color: var(--muted);
  text-align: center !important;
}

.row-actions button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 0 3px;
  font-weight: 680;
  line-height: 1;
}

.row-actions button:hover {
  text-decoration: underline;
}

.row-actions .danger {
  color: var(--red);
}

.row-actions .enable {
  color: var(--green);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 760;
}

.chip.good {
  background: var(--green-soft);
  color: var(--green);
}

.chip.warning {
  background: var(--amber-soft);
  color: var(--amber);
}

.chip.danger {
  background: var(--red-soft);
  color: var(--red);
}

.chip.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.chip.neutral {
  background: #f2f4f7;
  color: #667085;
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  padding: 0 18px;
  color: var(--muted);
}

.source-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.pager strong {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
}

.pager select {
  min-height: 32px;
  width: 100px;
}

.config-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.customer-config-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 7px 10px;
}

.config-tab-strip {
  display: flex;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.config-tab-strip::-webkit-scrollbar {
  display: none;
}

.config-tabs > button,
.config-tab-strip > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0 14px;
  color: #475467;
  font-weight: 700;
  white-space: nowrap;
}

.config-tabs > button:hover,
.config-tab-strip > button:hover {
  background: var(--surface-soft);
}

