/* ดีไซน์อ้างอิงจาก Smart Purchasing System (SPS) ของกลุ่มสมบูรณ์ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap');

:root {
  --bg: #f5f4fb;
  --card-bg: #ffffff;
  --card-border: #e3e8ef;
  --text: #1e2e3e;
  --text-muted: #5b6b7c;
  --navy-900: #0f2942;
  --navy-700: #14385a;
  --navy-600: #1a4671;
  --navy-500: #1d3f6b;
  --badge-bg: #e4eef6;
  --badge-text: #1a4671;
  --green-bg: #e5f4ea;
  --green-text: #1e7d3c;
  --amber-bg: #fdf1de;
  --amber-text: #a15c07;
  --red-bg: #fbe7e7;
  --red-text: #b3261e;
  --blue-bg: #e4eef6;
  --blue-text: #1a4671;
  --radius-card: 14px;
  --radius-btn: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 43, 0.05), 0 1px 3px -1px rgba(15, 29, 43, 0.05);
  --font: 'Inter', 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

[data-theme='dark'] {
  --bg: #10151c;
  --card-bg: #1a222c;
  --card-border: #2a3644;
  --text: #e7edf3;
  --text-muted: #9fb0c0;
  --badge-bg: #223347;
  --badge-text: #9cc4ec;
  --green-bg: #113822;
  --green-text: #6fd897;
  --amber-bg: #3a2c11;
  --amber-text: #f0b64c;
  --red-bg: #3a1616;
  --red-text: #f29a94;
  --blue-bg: #16283c;
  --blue-text: #9cc4ec;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
}

a { color: inherit; }

.top-header {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-600) 65%, var(--navy-500));
  color: #fff;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-header .brand .mark {
  font-size: 15px;
}

.brand-mark {
  height: 28px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.top-header .brand .sub {
  font-weight: 400;
  opacity: 0.85;
  font-size: 12.5px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 10px;
}

.top-header .actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.22); }

.page-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 18px 60px;
}

.page-wrap.wide { max-width: 1180px; }

.card {
  background: var(--card-bg);
  border: 0.8px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  margin-bottom: 18px;
  transition: box-shadow 0.15s;
}

.eyebrow {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-text);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge-amber { background: var(--amber-bg); color: var(--amber-text); }
.badge-green { background: var(--green-bg); color: var(--green-text); }
.badge-red { background: var(--red-bg); color: var(--red-text); }
.badge-blue { background: var(--blue-bg); color: var(--blue-text); }

h1, h2, h3 { font-family: var(--font); margin: 0 0 6px; }
h1 { font-size: 22px; font-weight: 700; }
h2 { font-size: 16px; font-weight: 700; margin-top: 2px; }
h3 { font-size: 13.5px; font-weight: 600; color: var(--text-muted); text-transform: none; }

.section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title .num {
  background: var(--navy-700);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

label.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 5px;
}
label.field-label .req { color: var(--red-text); margin-left: 2px; }

.hint { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }

.static-text-block {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 18px 0 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--card-border);
  white-space: pre-line;
}
.static-text-block:first-child { margin-top: 0; padding-top: 0; border-top: none; }

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='number'],
input[type='date'],
input[type='url'],
input[type='password'],
input[type='search'],
select,
textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 13.5px;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(29, 63, 107, 0.12);
}
[data-theme='dark'] input:focus,
[data-theme='dark'] select:focus,
[data-theme='dark'] textarea:focus {
  box-shadow: 0 0 0 3px rgba(156, 196, 236, 0.16);
}
textarea { resize: vertical; min-height: 64px; }

input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--navy-700);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ---------- select: custom chevron ---------- */
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 32px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235b6b7c' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
[data-theme='dark'] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239fb0c0' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- date input: consistent height + tinted picker icon ---------- */
input[type='date'] {
  color-scheme: light;
  cursor: pointer;
}
[data-theme='dark'] input[type='date'] { color-scheme: dark; }
input[type='date']::-webkit-calendar-picker-indicator {
  cursor: pointer;
  border-radius: 5px;
  padding: 3px;
  opacity: 0.65;
  transition: opacity 0.15s, background 0.15s;
}
input[type='date']::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background: var(--badge-bg);
}

/* ---------- file input: styled selector button ---------- */
input[type='file'] {
  font-family: var(--font);
  font-size: 12.5px;
  color: var(--text-muted);
  width: 100%;
  cursor: pointer;
}
input[type='file']::file-selector-button,
input[type='file']::-webkit-file-upload-button {
  appearance: none;
  -webkit-appearance: none;
  font: 600 12.5px var(--font);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 7px 14px;
  margin-right: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
[data-theme='dark'] input[type='file']::file-selector-button,
[data-theme='dark'] input[type='file']::-webkit-file-upload-button {
  color: #9cc4ec;
}
input[type='file']::file-selector-button:hover,
input[type='file']::-webkit-file-upload-button:hover {
  background: var(--badge-bg);
  border-color: var(--navy-600);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .field-row, .field-row.cols-3 { grid-template-columns: 1fr; }
}
.field { margin-bottom: 14px; }

.checkbox-row, .radio-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
}
.checkbox-row input, .radio-row input { margin-top: 3px; }
.checkbox-row label, .radio-row label { font-size: 13.5px; }

.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.vehicle-row {
  display: grid;
  grid-template-columns: 28px 1fr 110px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--card-border);
}
.vehicle-row:last-child { border-bottom: none; }
.vehicle-row input[type='number'] { text-align: right; }

table.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
table.simple-table th {
  text-align: left;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  padding: 8px 8px;
  border-bottom: 1px solid var(--card-border);
}
table.simple-table td {
  padding: 8px 8px;
  border-bottom: 1px solid var(--card-border);
  vertical-align: middle;
}
table.simple-table tr:last-child td { border-bottom: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: 0.8px solid transparent;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.05s;
}
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover { background: var(--navy-900); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: var(--card-bg); color: var(--text); border-color: var(--card-border); }
.btn-secondary:hover { background: var(--bg); border-color: var(--navy-600); }
.btn-danger { background: var(--red-text); color: #fff; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }

.file-drop {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--bg);
  transition: border-color 0.15s, background 0.15s;
}
.file-drop:focus-within,
.file-drop:hover {
  border-color: var(--navy-600);
  background: var(--badge-bg);
}
.file-drop .file-drop-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-600);
}
[data-theme='dark'] .file-drop .file-drop-icon { color: #9cc4ec; }
.file-drop .file-drop-icon svg { width: 17px; height: 17px; }
.file-drop .file-drop-body { flex: 1; min-width: 0; }
.file-drop input[type='file'] { width: 100%; font-size: 12.5px; }
.file-drop .doc-label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.file-drop .file-size-warning { margin-top: 6px; }

.alert {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}
.alert-error { background: var(--red-bg); color: var(--red-text); }
.alert-success { background: var(--green-bg); color: var(--green-text); }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-card {
  background: var(--card-bg);
  border: 0.8px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
}
.stat-card .label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.stat-card .value { font-size: 26px; font-weight: 700; color: var(--navy-700); }
[data-theme='dark'] .stat-card .value { color: #9cc4ec; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.toolbar .search-box {
  flex: 1;
  min-width: 200px;
}

.footer-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 24px;
}

.doc-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--card-border);
}
.doc-list-item:last-child { border-bottom: none; }
.doc-list-item .name { font-size: 13px; }
.doc-list-item .meta { font-size: 11.5px; color: var(--text-muted); }

.kv-grid {
  display: block;
}
.kv-grid dt {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 4px;
}
.kv-grid dt:first-of-type { margin-top: 0; }
.kv-grid dd {
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
  font-size: 16px;
  line-height: 1.65;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.login-page {
  min-height: 100vh;
  background:
    radial-gradient(720px 420px at 12% -8%, rgba(255, 255, 255, 0.10), transparent 60%),
    radial-gradient(640px 480px at 108% 105%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(150deg, var(--navy-900), var(--navy-600) 60%, var(--navy-500));
}
[data-theme='dark'] .login-page {
  background:
    radial-gradient(720px 420px at 12% -8%, rgba(255, 255, 255, 0.05), transparent 60%),
    linear-gradient(150deg, #0a1520, #0f2942 65%, #14385a);
}
.login-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}
.login-brand {
  margin-bottom: 26px;
  width: 116px;
  height: 116px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-brand img { height: 68px; width: auto; }
.login-card {
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 48px -12px rgba(9, 20, 34, 0.35), 0 2px 6px rgba(9, 20, 34, 0.1);
  border: none;
  padding: 28px 26px 24px;
}
.login-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: -2px 0 18px;
}
.login-footnote {
  margin-top: 22px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.pill-link {
  font-size: 12.5px;
  color: var(--navy-600);
  text-decoration: none;
}
[data-theme='dark'] .pill-link { color: #9cc4ec; }
.pill-link:hover { text-decoration: underline; }

.repeat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
@media (max-width: 640px) {
  .repeat-row { grid-template-columns: 1fr; }
}

/* ---------- แดชบอร์ด: กราฟ ---------- */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .chart-grid { grid-template-columns: 1fr; }
}
.chart-card { margin-bottom: 0; }
.chart-box { position: relative; height: 220px; }

/* ---------- คะแนน / เกณฑ์บังคับ ในหน้ารายละเอียด ---------- */
.score-summary {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.score-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 140px;
}
.score-pill .score-pill-label { font-size: 11px; color: var(--text-muted); }
.score-pill .score-pill-value { font-size: 18px; font-weight: 700; }

/* ---------- ตัวอย่างไฟล์ (modal) ---------- */
.file-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 20, 34, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}
.file-preview-overlay.open { display: flex; }
.file-preview-box {
  background: var(--card-bg);
  border-radius: 14px;
  width: 100%;
  max-width: 900px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
}
.file-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--card-border);
  gap: 10px;
}
.file-preview-header .name { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-preview-body { flex: 1; overflow: auto; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.file-preview-body iframe, .file-preview-body img { width: 100%; height: 100%; object-fit: contain; border: none; }
.file-preview-body img { width: auto; max-width: 100%; max-height: 100%; }
.file-preview-body .no-preview { padding: 40px; text-align: center; color: var(--text-muted); font-size: 13px; }

/* ---------- form builder: ลากเพื่อจัดลำดับ (drag & drop) ---------- */
.drag-handle:active { cursor: grabbing; }
[data-section].drag-over-before,
[data-field].drag-over-before,
[data-widgetitem].drag-over-before {
  box-shadow: inset 0 3px 0 0 var(--navy-500);
}
[data-section].drag-over-after,
[data-field].drag-over-after,
[data-widgetitem].drag-over-after {
  box-shadow: inset 0 -3px 0 0 var(--navy-500);
}
[data-widgetitem].drag-over-before,
[data-widgetitem].drag-over-after {
  border-radius: 8px;
}

/* ---------- แบบฟอร์ม Supplier: แบ่งเป็นหน้าๆ (multi-page) ---------- */
#form-progress-wrap { margin-bottom: 16px; }
.progress-track { height: 8px; border-radius: 999px; background: var(--card-border); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--navy-500); border-radius: 999px; transition: width .2s ease; }
.form-page { display: block; }
.form-page[hidden] { display: none; }
.page-title-card { padding: 16px 20px; }
.page-title-card h2 { font-size: 19px; color: var(--text); font-weight: 700; margin: 0; }
#form-page-nav { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
#form-page-nav .btn { flex: 0 0 auto; }
#form-page-nav .btn-block-single { margin-left: auto; }

/* ---------- form builder: ตัวเลือกชนิดคำถามแบบก้อนไอคอน ---------- */
.type-picker { position: relative; }
.type-picker-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 9px 12px; border: 1px solid var(--card-border); border-radius: 8px;
  background: var(--card-bg); color: var(--text); font-family: var(--font); font-size: 13.5px; cursor: pointer; text-align: left;
}
.type-picker-btn:hover { border-color: var(--navy-500); }
.type-picker-btn .type-picker-icon { flex: 0 0 auto; width: 18px; height: 18px; color: var(--navy-500); }
.type-picker-btn .type-picker-label { flex: 1; font-family: var(--font); }
.type-picker-btn .type-picker-caret { flex: 0 0 auto; opacity: .6; }
.type-picker-panel {
  position: absolute; z-index: 40; top: calc(100% + 4px); left: 0;
  width: 320px; max-width: 90vw; background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 10px;
}
.type-picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.type-picker-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 6px; border: 1px solid var(--card-border); border-radius: 8px; background: var(--bg);
  cursor: pointer; color: var(--text); font-family: var(--font); font-size: 11.5px; text-align: center; line-height: 1.25;
}
.type-picker-tile:hover { border-color: var(--navy-500); background: var(--card-bg); }
.type-picker-tile.is-active { border-color: var(--navy-500); background: var(--badge-bg); }
.type-picker-tile svg { width: 22px; height: 22px; color: var(--navy-500); }
.type-picker-tile span { font-family: var(--font); }

/* ---------- form builder: กลุ่ม "หน้า" ที่ครอบหัวข้อต่างๆ ไว้ (ตรงกับการแบ่งหน้าจริงของฟอร์ม Supplier) ---------- */
.page-group {
  border: 2px solid var(--navy-500); border-radius: 16px; padding: 16px 16px 4px; margin-bottom: 6px;
}
.page-group-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.page-group-badge {
  background: var(--navy-700); color: #fff; padding: 5px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; font-family: var(--font); flex: none;
}
.page-group-title { font-size: 12px; color: var(--text-muted); font-family: var(--font); }
.page-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.page-divider-line { flex: 1; height: 0; border-top: 1px dashed var(--card-border); }
.page-divider-btn {
  flex: none; font-family: var(--font); font-size: 12px; padding: 6px 14px; border-radius: 999px;
  border: 1px dashed var(--card-border); background: var(--card-bg); color: var(--text-muted);
  cursor: pointer; white-space: nowrap;
}
.page-divider-btn:hover { border-color: var(--navy-500); color: var(--navy-700); }
.page-divider-btn.is-active {
  border-style: solid; border-color: var(--navy-500); color: var(--navy-700);
  background: var(--badge-bg); font-weight: 600;
}
