/* Calm wellness — Sri Viveka Yoga Trust medical camps */
:root {
  --bg: #f5f4f0;
  --bg-subtle: #ebe8e3;
  --card: #ffffff;
  --card-warm: #fffcf9;
  --text: #2c2c2c;
  --muted: #6d6a66;
  --brand: #3d7a6b;
  --brand-hover: #34685c;
  --brand-light: #e8f0ee;
  --accent: #c4a574;
  --danger: #b91c1c;
  --border: #e8e6e3;
  --shadow-sm: 0 1px 3px rgba(44, 44, 44, 0.06);
  --shadow-md: 0 4px 18px rgba(44, 44, 44, 0.07);
  --radius: 14px;
  --radius-input: 10px;
  --radius-pill: 999px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text);
}

h2 {
  font-size: 1.15rem;
  color: var(--text);
}

h3 {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.hidden {
  display: none;
}

.error {
  color: var(--danger);
  font-size: 0.92rem;
}

/* —— App shell —— */
.topbar {
  background: var(--card-warm);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0 20px;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  flex-wrap: wrap;
}

.topbar h1 {
  margin: 0;
  font-size: 1.25rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-actions .muted,
#session-user,
#doctor-session {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 6px 12px;
  background: var(--bg);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.container {
  max-width: 1200px;
  margin: 24px auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
  width: 100%;
}

/* —— Cards —— */
.auth-card,
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
}

.card:not(.stat-card):hover {
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.2s ease;
}

.stat-card {
  text-align: left;
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
}

.stat-card h3 {
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.2;
  margin: 0;
}

/* —— Auth / landing —— */
.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(61, 122, 107, 0.09), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(196, 165, 116, 0.08), transparent 45%),
    var(--bg);
}

.auth-layout {
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.brand-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-light);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.auth-card h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.role-guide-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.role-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.role-list li {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: var(--brand-light);
  border-radius: var(--radius-input);
  border: 1px solid rgba(61, 122, 107, 0.15);
  font-size: 0.92rem;
  line-height: 1.5;
}

.role-list strong {
  color: var(--brand);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-list span {
  color: var(--text);
}

.role-guide-note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

/* —— Forms —— */
label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

label:has(input[type="checkbox"]),
label:has(input[type="radio"]) {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-input);
  border: 1px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  background: var(--card);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #d4d0ca;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}

label input[type="checkbox"],
label input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: var(--brand);
}

textarea {
  min-height: 88px;
  resize: vertical;
  min-width: 0;
  max-width: 100%;
  inline-size: 100%;
  max-inline-size: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  field-sizing: fixed;
}

button {
  width: 100%;
  padding: 11px 18px;
  border-radius: var(--radius-input);
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  transition: background 0.15s ease, transform 0.1s ease;
}

button:hover {
  background: var(--brand-hover);
}

button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-light), 0 0 0 5px var(--brand);
}

button:active {
  transform: translateY(1px);
}

button.secondary,
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 96px;
  padding: 10px 18px;
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  text-decoration: none;
  font-weight: 600;
}

button.secondary:hover,
.link-btn:hover {
  background: var(--brand-light);
  color: var(--brand-hover);
  border-color: var(--brand-hover);
}

/* —— Tabs —— */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: fit-content;
  max-width: 100%;
}

.tab {
  width: auto;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

.tab.active {
  background: var(--brand);
  color: #fff;
}

.tab.active:hover {
  background: var(--brand-hover);
  color: #fff;
}

.tab-panel {
  display: none;
  gap: 20px;
}

.tab-panel.active {
  display: grid;
}

/* —— Grids —— */
.grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}

#case-sheet-form {
  min-width: 0;
}

label:has(textarea) {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

#case-sheet-form label:has(input[type="file"]) {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

#case-sheet-form input[type="file"] {
  min-width: 0;
  max-width: 100%;
  inline-size: 100%;
  max-inline-size: 100%;
}

.card:has(#case-sheet-form) {
  contain: inline-size;
}

#case-sheet-form > button[type="submit"] {
  max-width: 100%;
}

.appointment-type-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* —— Lists —— */
.list-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--card-warm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.list-item:last-child {
  margin-bottom: 0;
}

.camp-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.camp-link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.list-item-static {
  cursor: default;
}

.current-patient-card-wrap {
  margin-top: 1.25rem;
}

.current-patient-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 16px 18px;
  margin-top: 8px;
  background: var(--card-warm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.current-patient-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.current-patient-card-body {
  position: relative;
  padding-left: 3.75rem;
  min-height: 2.5rem;
}

.current-patient-token {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
}

.queue-help {
  margin: 0 0 12px;
  font-size: 0.88rem;
}

.queue-list-heading {
  margin-top: 1.5rem;
}

.queue-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.queue-list > li {
  margin: 0 0 10px;
}

.queue-list-item,
a.queue-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  background: var(--card);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.queue-list-item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.queue-list-item--current {
  border-color: var(--brand);
  background: var(--card-warm);
  box-shadow: var(--shadow-sm);
}

.queue-list-item--warn {
  border-color: rgba(185, 28, 28, 0.35);
  background: #fff8f8;
}

.queue-list-token {
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand);
  min-width: 2.5rem;
}

.queue-list-body {
  flex: 1;
  min-width: 0;
}

.queue-list-body .queue-row-note {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.queue-list-body code {
  font-size: 0.85em;
}

.readonly-sheet-block {
  white-space: pre-wrap;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.volunteer-case-type {
  min-width: 0;
  max-width: 100%;
}

.volunteer-case-type + .volunteer-case-type {
  margin-top: 12px;
}

.list-item a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.list-item a:hover {
  text-decoration: underline;
  color: var(--brand-hover);
}

.report-box {
  background: var(--card-warm);
  border: 1px dashed var(--border);
  border-radius: var(--radius-input);
  padding: 16px 18px;
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

/* —— Sub-tabs (e.g. camps past / future) —— */
.sub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.sub-tab {
  width: auto;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.sub-tab:hover {
  color: var(--text);
  border-color: #d4d0ca;
}

.sub-tab.active {
  background: var(--brand-light);
  color: var(--brand);
  border-color: var(--brand);
}

.camp-sub-panel {
  display: none;
}

.camp-sub-panel.active {
  display: block;
}

/* —— List row actions —— */
.list-item-with-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.list-item-body {
  flex: 1 1 200px;
  min-width: 0;
}

.list-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-inline {
  min-width: auto;
  width: auto;
  padding: 8px 14px;
  font-size: 0.88rem;
}

.btn-danger-outline {
  border-color: var(--danger);
  color: var(--danger);
}

.btn-danger-outline:hover {
  background: #fef2f2;
  color: #991b1b;
  border-color: #991b1b;
}

.form-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-actions-row button {
  width: auto;
  flex: 0 1 auto;
}

/* —— Patient cards (admin) —— */
.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 10px;
}

.section-heading-row .section-label {
  margin: 0;
}

.section-label {
  margin: 20px 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.patient-search-hits {
  margin-top: 12px;
}

.patient-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.patient-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background: var(--card-warm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.patient-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.patient-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.patient-card-actions {
  display: flex;
  justify-content: flex-end;
}

.patient-card-id {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.patient-card-name {
  display: block;
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.patient-card-meta {
  font-size: 0.86rem;
  color: var(--muted);
}

.patient-inline-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* —— Disclosure blocks —— */
details.disclosure summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--brand);
  padding: 4px 0;
  list-style-position: outside;
}

details.disclosure summary::-webkit-details-marker {
  color: var(--brand);
}

details.disclosure[open] summary {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

/* —— Admin patient detail —— */
.detail-dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 4px 24px;
  min-width: 0;
}

.detail-dl dt {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

.detail-dl dd {
  margin: 0 0 14px;
  grid-column: span 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.visit-block .visit-key {
  margin: 0 0 8px;
}

.case-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.case-block:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.case-block h4 {
  margin: 0 0 6px;
  text-transform: capitalize;
  font-size: 0.92rem;
  font-weight: 600;
}

.case-block-body {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Visit disclosure (admin) */
.visit-disclosure {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px 12px;
  margin-bottom: 10px;
  background: var(--surface-2, var(--card-bg, #fff));
  min-width: 0;
  max-width: 100%;
}

.visit-disclosure-summary {
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.visit-disclosure-body {
  padding-top: 4px;
  min-width: 0;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.section-heading-row h2 {
  margin: 0;
}

.case-detail-body {
  min-width: 0;
  overflow-wrap: break-word;
}

.case-detail-body .case-line {
  margin: 0 0 8px;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.case-detail-body .case-line-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 700;
  text-transform: capitalize;
  vertical-align: baseline;
}

.case-detail-body .case-line-value {
  white-space: pre-wrap;
}

.case-images-label {
  margin: 12px 0 6px;
  font-size: 0.82rem;
}

/* Fixed-size tiles in a single scrollable “filmstrip” card (no variable-width gaps). */
.case-image-strip {
  --case-thumb-size: 100px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  margin-top: 4px;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
}

.case-image-thumb-wrap {
  flex: 0 0 var(--case-thumb-size);
  width: var(--case-thumb-size);
  height: var(--case-thumb-size);
  scroll-snap-align: start;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--card);
  cursor: zoom-in;
  line-height: 0;
}

.case-image-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--bg-subtle);
}

/* Image lightbox zoom */
.image-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 16px;
  background: rgba(8, 12, 10, 0.92);
  box-sizing: border-box;
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.image-lightbox-prev,
.image-lightbox-next {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox-prev:hover,
.image-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.image-lightbox-prev:disabled,
.image-lightbox-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.image-lightbox-prev {
  left: 12px;
}

.image-lightbox-next {
  right: 12px;
}

.image-lightbox-toolbar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.88rem;
  max-width: calc(100% - 120px);
}

.image-lightbox-counter {
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
  min-width: 3.5rem;
  text-align: center;
}

.image-lightbox-zoom-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.image-lightbox-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.image-lightbox-scroll {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: calc(100vh - 100px);
  overflow: auto;
  margin-top: 8px;
  -webkit-overflow-scrolling: touch;
}

.image-lightbox-img {
  display: block;
  margin: 0 auto;
  max-width: none;
  max-height: none;
}

.existing-case-images {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.case-image-strip-editable {
  gap: 10px;
}

.case-image-edit-tile {
  flex: 0 0 var(--case-thumb-size);
  width: var(--case-thumb-size);
}

.case-image-edit-tile .case-image-thumb-wrap {
  width: 100%;
}

.case-image-remove-btn {
  width: 100%;
  margin-top: 6px;
  padding: 6px 8px;
  border: 1px solid var(--danger);
  border-radius: 6px;
  background: #fff;
  color: var(--danger);
  font-size: 0.78rem;
  line-height: 1.2;
}

.case-image-remove-btn:hover {
  background: #fef2f2;
  color: #991b1b;
  border-color: #991b1b;
}

@media (max-width: 768px) {
  .case-image-strip {
    --case-thumb-size: 88px;
    padding: 8px;
    gap: 5px;
  }

  .grid-three {
    grid-template-columns: 1fr;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .tabs {
    width: 100%;
  }

  .tab {
    flex: 1 1 auto;
    text-align: center;
  }
}
