:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #02050a;
  --panel: #070b12;
  --panel-strong: #0a111d;
  --field: #03070d;
  --line: #172235;
  --line-strong: #2a4060;
  --blue: #39b7ff;
  --blue-strong: #0b87da;
  --blue-soft: rgba(57, 183, 255, 0.16);
  --white-soft: rgba(255, 255, 255, 0.08);
  --text: #eaf4ff;
  --muted: #8facd2;
  --muted-strong: #b8cce6;
  --green: #35d29f;
  --amber: #f6b84b;
  --red: #ff5d73;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(57, 183, 255, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(57, 183, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
}

body::selection {
  color: #00111f;
  background: var(--blue);
}

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

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.login-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(57, 183, 255, 0.06) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(57, 183, 255, 0.05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #020812 0%, #000000 100%);
}

.login-panel {
  position: relative;
  display: grid;
  width: min(460px, 100%);
  gap: 18px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(57, 183, 255, 0.08), transparent 34%),
    rgba(7, 11, 18, 0.96);
  box-shadow: var(--shadow);
}

.login-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.login-panel h1,
.login-panel p {
  margin: 0;
}

.login-panel h1 {
  margin-top: 4px;
  font-size: 30px;
  line-height: 1.05;
}

.login-panel p {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 14px;
}

.app-shell {
  display: grid;
  grid-template-columns: 314px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100vh;
  padding: 18px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(57, 183, 255, 0.08), transparent 240px),
    rgba(2, 5, 10, 0.98);
}

.brand-panel {
  display: grid;
  gap: 12px;
  padding-bottom: 4px;
}

.brand-logo-frame {
  display: grid;
  min-height: 108px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(57, 183, 255, 0.16), rgba(255, 255, 255, 0.03)),
    #00050a;
  box-shadow:
    inset 0 0 0 1px rgba(57, 183, 255, 0.1),
    0 18px 44px rgba(0, 0, 0, 0.34);
}

.brand-logo-frame img {
  width: min(210px, 100%);
  max-height: 72px;
  object-fit: contain;
}

.login-logo {
  min-height: 118px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy span,
.topbar-eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.1;
}

.brand-copy small,
.sidebar-foot span,
.sidebar-foot strong {
  color: var(--muted);
  font-size: 12px;
}

.quick-charge {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 64px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(57, 183, 255, 0.4);
  border-radius: var(--radius);
  color: var(--text);
  background: linear-gradient(135deg, rgba(57, 183, 255, 0.22), rgba(11, 135, 218, 0.12));
  text-align: left;
}

.quick-charge:hover,
.quick-charge.active {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(57, 183, 255, 0.32), rgba(11, 135, 218, 0.18));
}

.quick-charge > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: #001521;
  background: var(--blue);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.quick-charge div,
.nav-copy {
  min-width: 0;
}

.quick-charge strong,
.quick-charge small,
.nav-copy strong,
.nav-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-charge strong {
  font-size: 14px;
}

.quick-charge small {
  color: var(--muted-strong);
  font-size: 12px;
}

.nav-group {
  display: grid;
  gap: 8px;
  width: 100%;
}

.nav-button {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted-strong);
  background: transparent;
  text-align: left;
}

.nav-button:hover {
  color: var(--text);
  border-color: rgba(57, 183, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.nav-button.active {
  color: var(--text);
  border-color: rgba(57, 183, 255, 0.36);
  background: var(--blue-soft);
  box-shadow: inset 3px 0 0 var(--blue);
}

.nav-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(57, 183, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-button.active .nav-icon {
  color: #001521;
  border-color: var(--blue);
  background: var(--blue);
}

.nav-copy strong {
  color: inherit;
  font-size: 14px;
}

.nav-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.sidebar-foot {
  display: grid;
  gap: 2px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.sidebar-foot strong {
  overflow-wrap: anywhere;
  font-weight: 800;
}

.main {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(57, 183, 255, 0.035), transparent 220px),
    rgba(0, 0, 0, 0.86);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 5, 10, 0.92);
  backdrop-filter: blur(16px);
}

.topbar-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.topbar h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.05;
}

.topbar small {
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.badge.ok {
  color: #baffdf;
  border-color: rgba(53, 210, 159, 0.38);
  background: rgba(53, 210, 159, 0.12);
}

.badge.warn {
  color: #ffe0a0;
  border-color: rgba(246, 184, 75, 0.42);
  background: rgba(246, 184, 75, 0.13);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.content {
  padding: 30px 30px 48px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.page-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
}

.page-head p {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--muted);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
}

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

.field label,
.field span {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea,
.phase-table input,
.phase-table select,
.phase-table textarea {
  min-height: 42px;
  min-width: 180px;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  background: var(--field);
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.phase-table input:focus,
.phase-table select:focus,
.phase-table textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(57, 183, 255, 0.16);
}

.field textarea {
  min-height: 80px;
  resize: vertical;
}

.message-template {
  min-width: 280px;
  min-height: 74px;
}

.field.wide {
  min-width: 320px;
  flex: 1;
}

.field.wide input,
.field.wide textarea {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-weight: 900;
  text-decoration: none;
}

.button:hover {
  border-color: rgba(57, 183, 255, 0.48);
  background: rgba(57, 183, 255, 0.12);
}

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

.button.primary:hover {
  border-color: #74cbff;
  background: #74cbff;
}

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

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

.button.compact {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.button:disabled {
  cursor: not-allowed;
  color: #60758f;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.kpi,
.band,
.status-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(57, 183, 255, 0.06), transparent 70px),
    rgba(7, 11, 18, 0.98);
  box-shadow: var(--shadow);
}

.kpi::before,
.band::before,
.status-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, var(--blue), transparent);
}

.kpi {
  min-height: 132px;
  padding: 18px 18px 16px;
}

.kpi span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kpi strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.1;
}

.kpi small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.band {
  padding: 18px;
}

.band + .band {
  margin-top: 16px;
}

.band-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.band-title h3 {
  margin: 0;
  font-size: 18px;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.preview-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(57, 183, 255, 0.08);
}

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

.compact-list div {
  grid-template-columns: 150px 1fr;
}

.status-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 14px;
}

.status-card span,
.status-card small,
.form-hint {
  color: var(--muted);
}

.status-card span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-card strong {
  color: var(--text);
  font-size: 24px;
}

.ok-text {
  color: var(--green);
}

.warn-text {
  color: var(--red);
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 11, 18, 0.96);
}

table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgba(57, 183, 255, 0.06);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status.PENDING,
.status.DRAFT,
.status.CREATING {
  color: #ffe0a0;
  background: rgba(246, 184, 75, 0.16);
}

.status.PAID {
  color: #baffdf;
  background: rgba(53, 210, 159, 0.14);
}

.status.OVERDUE {
  color: #ffc4cc;
  background: rgba(255, 93, 115, 0.16);
}

.status.CANCELLED,
.status.REFUNDED {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.08);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  display: grid;
  width: min(760px, 52vw);
  height: 100vh;
  grid-template-rows: auto 1fr;
  border-left: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.58);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 19;
  background: rgba(0, 0, 0, 0.68);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.98);
}

.drawer-head h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.1;
}

.drawer-body {
  overflow: auto;
  padding: 24px;
}

.step-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 26px;
}

.step-line span {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.step-line span.active {
  background: var(--blue);
  box-shadow: 0 0 16px rgba(57, 183, 255, 0.38);
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.drawer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

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

.detail-list div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-weight: 900;
}

.detail-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.timeline-item {
  padding: 12px;
  border-left: 4px solid var(--blue);
  background: rgba(57, 183, 255, 0.08);
}

.timeline-item strong {
  display: block;
}

.timeline-item small {
  color: var(--muted);
}

.rule-list {
  display: grid;
  gap: 18px;
}

.phase-table input,
.phase-table select,
.phase-table textarea {
  width: 100%;
  min-width: 80px;
  min-height: 36px;
  padding: 7px 9px;
}

.phase-table textarea {
  min-width: 280px;
  resize: vertical;
}

.phase-table .day-input {
  max-width: 90px;
}

.rule-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.rule-step {
  display: grid;
  gap: 6px;
  min-height: 108px;
  padding: 10px;
  border: 1px solid rgba(57, 183, 255, 0.24);
  border-radius: 6px;
  background: rgba(57, 183, 255, 0.07);
}

.rule-step strong {
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.rule-step span,
.rule-step small {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 800;
}

.rule-step small {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.rule-step.legal {
  border-color: rgba(255, 93, 115, 0.34);
  background: rgba(255, 93, 115, 0.09);
}

.rule-step.legal strong {
  color: var(--red);
}

.rule-step.muted-step {
  opacity: 0.58;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  max-width: 420px;
  padding: 14px 16px;
  border: 1px solid rgba(57, 183, 255, 0.35);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(7, 11, 18, 0.96);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.notice {
  padding: 12px 14px;
  border: 1px solid rgba(246, 184, 75, 0.42);
  border-radius: var(--radius);
  color: #ffe0a0;
  background: rgba(246, 184, 75, 0.12);
}

.notice.ok {
  color: #baffdf;
  border-color: rgba(53, 210, 159, 0.38);
  background: rgba(53, 210, 159, 0.12);
}

.notice-list {
  margin-top: 14px;
}

.notice-list strong {
  display: block;
  margin-bottom: 8px;
}

.notice-list ul {
  margin: 0;
  padding-left: 18px;
}

.notice-list li + li {
  margin-top: 4px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.links a {
  color: var(--blue);
  font-weight: 900;
}

.pay-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(57, 183, 255, 0.38);
  border-radius: 6px;
  color: var(--blue);
  background: rgba(57, 183, 255, 0.1);
  text-decoration: none;
}

.payment-box {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.message-preview {
  max-width: 420px;
  max-height: 120px;
  overflow: auto;
  margin: 8px 0 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #d7e9ff;
  background: #03070d;
  white-space: pre-wrap;
  font: 12px/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.pix-qr {
  width: 180px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.copy-code {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #03070d;
  color: #d7e9ff;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
}

.muted {
  color: var(--muted);
}

@media (max-width: 1280px) {
  .app-shell {
    grid-template-columns: 288px minmax(0, 1fr);
  }

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

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

  .drawer {
    width: min(720px, 66vw);
  }
}

@media (max-width: 900px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 14px;
  }

  .brand-panel {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
  }

  .brand-logo-frame {
    min-height: 72px;
    padding: 12px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

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

  .nav-button {
    min-height: 56px;
  }

  .sidebar-foot {
    display: none;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .topbar-actions {
    justify-content: flex-start;
  }

  .content {
    padding: 24px 20px 40px;
  }

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

  .page-head h2 {
    font-size: 28px;
  }

  .kpi-grid,
  .status-grid,
  .grid-two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .field,
  .field.wide,
  .field input,
  .field select,
  .field textarea {
    min-width: 0;
    width: 100%;
  }

  .drawer {
    width: 100vw;
  }

  .drawer-head h3 {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .login-screen {
    padding: 14px;
  }

  .login-panel {
    padding: 20px;
  }

  .brand-panel,
  .nav-group {
    grid-template-columns: 1fr;
  }

  .quick-charge,
  .nav-button {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .topbar h1,
  .page-head h2 {
    font-size: 24px;
  }

  .badge {
    white-space: normal;
  }

  .detail-list div,
  .compact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
