/* Theme selection uses real shadcn React components and hand-drawn UI previews. */
.theme-selector {
  max-width: 1180px;
  margin: 12px auto 40px;
}
.theme-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.theme-intro h1 {
  font-size: 28px;
  margin: 8px 0;
}
.theme-intro p {
  font-size: 12px;
}
.theme-eyebrow {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
.theme-saved {
  font-size: 10px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
}
.theme-separator {
  height: 1px;
  background: var(--line);
  margin-bottom: 28px;
}
.theme-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.theme-option {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 5px 24px #14253d06;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.theme-option.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 12px 28px #1838440c;
}
.theme-option-head {
  padding: 22px 20px 18px;
}
.theme-option-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}
.theme-current {
  font-size: 10px;
  color: var(--teal);
  font-weight: 500;
}
.theme-option-body {
  padding: 0 16px;
}
.theme-description {
  font-size: 11px;
  line-height: 2;
  min-height: 62px;
  margin: 16px 4px 0;
  color: var(--muted);
}
.theme-option-footer {
  padding: 12px 20px 20px;
}
.theme-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  font-size: 12px;
}
.theme-choice[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.theme-footnote {
  margin-top: 24px;
  text-align: center;
}
.design-preview {
  position: relative;
  aspect-ratio: 1.22;
  border-radius: 12px;
  padding: 18px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #0b28400a;
  background: #f3f8f8;
  color: #173c45;
  box-shadow: inset 0 0 0 1px #ffffff50;
}
.preview-toolbar {
  height: 23px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #45657515;
  margin-bottom: 12px;
}
.preview-toolbar i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: #0e9390;
}
.preview-toolbar span {
  width: 40px;
  height: 4px;
  background: currentColor;
  opacity: 0.25;
  border-radius: 3px;
}
.preview-toolbar b {
  margin-right: auto;
  width: 18px;
  height: 5px;
  background: currentColor;
  opacity: 0.15;
  border-radius: 3px;
}
.preview-body {
  display: flex;
  gap: 10px;
}
.preview-menu {
  width: 25px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  flex-direction: column;
  padding-top: 8px;
}
.preview-menu i {
  height: 4px;
  width: 23px;
  background: currentColor;
  opacity: 0.18;
  border-radius: 3px;
}
.preview-menu i:first-child {
  opacity: 1;
  background: #0e9390;
}
.preview-panel {
  background: #ffffffb8;
  border: 1px solid #fff;
  border-radius: 8px;
  padding: 10px;
  flex: 1;
  min-width: 0;
}
.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.preview-heading span {
  height: 5px;
  width: 35px;
  background: currentColor;
  opacity: 0.4;
  border-radius: 4px;
}
.preview-heading b {
  height: 13px;
  width: 26px;
  background: #0e9390;
  border-radius: 4px;
}
.preview-input {
  height: 15px;
  border: 1px solid #d9e5e7;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 9px;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.preview-grid i {
  height: 14px;
  background: #e9f2f0;
  border-radius: 3px;
}
.preview-grid i.filled {
  background: #77c9b4;
}
.preview-caption {
  position: absolute;
  bottom: 11px;
  left: 18px;
  font-size: 9px;
  letter-spacing: 1px;
  opacity: 0.6;
}
.preview-glass {
  background: radial-gradient(ellipse at 78% 15%, #69e2e6a8, transparent 60%),
    radial-gradient(ellipse at 20% 90%, #b5a1eecd, transparent 62%),
    linear-gradient(125deg, #e6d4c2, #9daebd);
  color: #34344c;
}
.preview-glass .preview-panel {
  background: #ffffff25;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff90;
  box-shadow: 8px 12px 12px #38334e3b, inset 1px 1px 4px #ffffff80;
  border-radius: 16px;
}
.preview-glass .preview-input {
  border-radius: 12px;
  background: #ffffffa0;
}
.preview-glass .preview-heading b,
.preview-glass .preview-toolbar i {
  background: linear-gradient(120deg, #b685ff, #6948e5);
  box-shadow: 2px 4px 6px #6948e54a;
}
.preview-glass .preview-grid i {
  background: #ffffff50;
  box-shadow: 1px 2px 2px #34384d20;
}
.preview-glass .preview-grid i.filled {
  background: linear-gradient(140deg, #b1fff0, #48b6b4);
  box-shadow: 2px 3px 4px #12667440;
}
.preview-glass .preview-menu i:first-child {
  background: #8360ce;
}
.preview-shadcn {
  background: #fafafa;
  color: #18181b;
}
.preview-shadcn .preview-panel {
  border: 1px solid #e4e4e7;
  box-shadow: 0 1px 2px #0000000b;
  border-radius: 7px;
}
.preview-shadcn .preview-toolbar i,
.preview-shadcn .preview-heading b,
.preview-shadcn .preview-menu i:first-child {
  background: #18181b;
}
.preview-shadcn .preview-grid i {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
}
.preview-shadcn .preview-grid i.filled {
  background: #3f3f46;
}
.preview-shadcn .preview-input {
  border-color: #e4e4e7;
}
html[data-theme="dark"] .theme-option {
  background: #1b2635;
}
html[data-theme="dark"] .theme-choice {
  color: var(--ink);
}

/* Liquid Glass: warm light, translucent surfaces and violet/aqua reflections. */
html[data-design="glass"] {
  --ink: #29293e;
  --muted: #66617a;
  --line: #ffffff80;
  --teal: #7350cb;
  --teal-dark: #5c3eaf;
  --soft: #ffffff35;
  --glass-panel: #ffffff40;
  --glass-field: #ffffff88;
  --glass-header: #eee9f5e6;
  --glass-solid: #eee7ec;
  --glass-shadow: 9px 13px 24px #3d345b20, -2px -2px 7px #ffffff70;
  --glass-backdrop: radial-gradient(
      ellipse at 85% 12%,
      #90e1de80,
      transparent 42%
    ),
    radial-gradient(ellipse at 16% 76%, #bb9aef65, transparent 45%),
    linear-gradient(125deg, #ead6c3 0%, #d5ced1 48%, #94a9b7 100%);
}
html[data-design="glass"][data-theme="dark"] {
  --ink: #f1edf9;
  --muted: #bcb4d0;
  --line: #eee5ff30;
  --teal: #ba9bff;
  --teal-dark: #a987f2;
  --soft: #ffffff08;
  --glass-panel: #26253eaa;
  --glass-field: #343149a8;
  --glass-header: #363348ed;
  --glass-solid: #302d41;
  --glass-shadow: 10px 14px 28px #05051155, inset 1px 1px #ffffff25;
  --glass-backdrop: radial-gradient(
      ellipse at 85% 12%,
      #275e6355,
      transparent 48%
    ),
    radial-gradient(ellipse at 16% 76%, #744bab45, transparent 50%),
    linear-gradient(125deg, #292333, #171e2c 75%, #26333e);
}
html[data-design="glass"] body {
  background: var(--glass-backdrop);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
}
html[data-design="glass"]
  :is(.sidebar, .schedule-card, .settings-card, .auth-card, .theme-option, .message-card, .request-card, .empty-state, .context-menu) {
  background: var(--glass-panel);
  border: 1px solid var(--line);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  color: var(--ink);
  border-radius: 20px;
}
html[data-design="glass"] .sidebar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 22px 0 0 22px;
  box-shadow: -5px 0 22px #36394f15;
}
html[data-design="glass"] .topbar {
  border-bottom-color: var(--line);
}
html[data-design="glass"] .auth-screen {
  background: var(--glass-backdrop);
}
html[data-design="glass"]
  :is(input, select, textarea, .secondary-button, .logout-button, .modal-close, .week-arrow) {
  background: var(--glass-field);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 11px;
  box-shadow: inset 1px 1px 2px #ffffff50, 2px 3px 6px #36364910;
}
html[data-design="glass"] select option {
  background: var(--glass-solid);
  color: var(--ink);
}
html[data-design="glass"]
  :is(.primary-button, .theme-choice[aria-pressed="true"]) {
  background: linear-gradient(145deg, #b890fb, #7954df 65%, #724acd);
  color: #fff;
  border: 1px solid #e8ccff80;
  border-radius: 12px;
  box-shadow: inset 1px 2px 4px #ffffff65, 3px 5px 10px #7758c644;
}
html[data-design="glass"]
  :is(.secondary-button, .logout-button, .theme-choice):hover {
  box-shadow: inset 1px 1px 3px #ffffff70, 3px 5px 10px #453f651f;
}
html[data-design="glass"]
  :is(.primary-button, .theme-choice[aria-pressed="true"]):hover {
  filter: brightness(1.07);
}
html[data-design="glass"] :is(.nav-item, .nav-parent) {
  color: var(--ink);
}
html[data-design="glass"]
  :is(.nav-item.active, .nav-item:hover, .nav-parent:hover, .segmented
    button.active) {
  color: var(--ink);
  background: linear-gradient(120deg, #c2ade53d, #87dedb5c);
  border-radius: 10px;
  box-shadow: inset 1px 1px 1px #ffffff70;
}
html[data-design="glass"] :is(.menu-toggle, .brand-mark) {
  background: linear-gradient(135deg, #9570dd, #77c4c6);
  color: #fff;
  border: 1px solid #ffffff65;
  box-shadow: inset 1px 1px 3px #ffffff60, 2px 4px 8px #3c345833;
}
html[data-design="glass"]
  :is(.legend, .schedule-head, .admin-toolbar, .table-wrap, .data-table-wrap) {
  background: transparent;
  border-color: var(--line);
}
html[data-design="glass"]
  :is(.schedule-table, .nurse-table, .data-table)
  :is(th, td) {
  border-color: var(--line);
  color: var(--ink);
}
html[data-design="glass"]
  :is(.schedule-table, .nurse-table, .data-table)
  thead
  th {
  background: var(--glass-header);
  color: var(--muted);
}
html[data-design="glass"] :is(.schedule-table, .nurse-table) tbody th {
  background: var(--glass-solid);
}
html[data-design="glass"] :is(.schedule-table, .nurse-table) tfoot :is(th, td),
html[data-design="glass"] :is(.experience-cell, .hours-cell) {
  background: var(--glass-panel);
}
html[data-design="glass"]
  .subcell:not(.selected):not(.leave-request):not(.proposed) {
  background: #ffffff16;
  color: var(--muted);
  border-color: #ffffff30;
}
html[data-design="glass"] :is(.current-day, thead th:has(.today)) {
  background: #66c8c831 !important;
  box-shadow: inset 2px 0 #5badae, inset -2px 0 #5badae;
}
html[data-design="glass"] .day-number.today {
  background: #76ccc8;
  color: #163f47;
}
html[data-design="glass"] .day-number.today small {
  color: #163f47;
  opacity: 1;
}
html[data-design="glass"] :is(.schedule-table, .nurse-table) tfoot :is(.coverage, .daily-minimum) {
  border-radius: 5px !important;
}
html[data-design="glass"] .modal-card {
  background: var(--glass-solid);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--glass-shadow);
  border-radius: 22px;
}
html[data-design="glass"] dialog::backdrop {
  background: #27203950;
  backdrop-filter: blur(7px);
}
html[data-design="glass"]
  :is(.swap-slots, .segmented, .profile-form input[readonly]) {
  background: #ffffff12;
  color: var(--ink);
}
html[data-design="glass"] .messages-table tr.unread {
  background: #a782f82c;
  color: var(--ink);
}
html[data-design="glass"] .theme-option.is-selected {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--glass-shadow);
}
html[data-design="glass"] .toast {
  background: var(--glass-solid);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--glass-shadow);
}

/* Shadcn's default neutral tokens. Domain-specific calendar styling is explicit. */
html[data-design="shadcn"] {
  --ui-background: 0 0% 100%;
  --ui-foreground: 240 10% 3.9%;
  --ui-card: 0 0% 100%;
  --ui-card-foreground: 240 10% 3.9%;
  --ui-popover: 0 0% 100%;
  --ui-popover-foreground: 240 10% 3.9%;
  --ui-primary: 240 5.9% 10%;
  --ui-primary-foreground: 0 0% 98%;
  --ui-secondary: 240 4.8% 95.9%;
  --ui-secondary-foreground: 240 5.9% 10%;
  --ui-muted: 240 4.8% 95.9%;
  --ui-muted-foreground: 240 3.8% 46.1%;
  --ui-accent: 240 4.8% 95.9%;
  --ui-accent-foreground: 240 5.9% 10%;
  --ui-destructive: 0 84.2% 60.2%;
  --ui-destructive-foreground: 0 0% 98%;
  --ui-border: 240 5.9% 90%;
  --ui-input: 240 5.9% 90%;
  --ui-ring: 240 5.9% 10%;
  --ui-radius: 0.5rem;
  --control-height: 36px;
  --ink: hsl(var(--ui-foreground));
  --muted: hsl(var(--ui-muted-foreground));
  --line: hsl(var(--ui-border));
  --soft: hsl(var(--ui-muted));
  --teal: hsl(var(--ui-primary));
  --teal-dark: hsl(var(--ui-primary) / 0.9);
}
html[data-design="shadcn"][data-theme="dark"] {
  --ui-background: 240 10% 3.9%;
  --ui-foreground: 0 0% 98%;
  --ui-card: 240 10% 3.9%;
  --ui-card-foreground: 0 0% 98%;
  --ui-popover: 240 10% 3.9%;
  --ui-popover-foreground: 0 0% 98%;
  --ui-primary: 0 0% 98%;
  --ui-primary-foreground: 240 5.9% 10%;
  --ui-secondary: 240 3.7% 15.9%;
  --ui-secondary-foreground: 0 0% 98%;
  --ui-muted: 240 3.7% 15.9%;
  --ui-muted-foreground: 240 5% 64.9%;
  --ui-accent: 240 3.7% 15.9%;
  --ui-accent-foreground: 0 0% 98%;
  --ui-destructive: 0 62.8% 30.6%;
  --ui-border: 240 3.7% 15.9%;
  --ui-input: 240 3.7% 15.9%;
  --ui-ring: 240 4.9% 83.9%;
}
html[data-design="shadcn"] body,
html[data-design="shadcn"] .auth-screen {
  background: hsl(var(--ui-background));
  color: var(--ink);
}
html[data-design="shadcn"]
  :is(.sidebar, .context-menu, .empty-state, .data-table-wrap, .theme-option) {
  background: hsl(var(--ui-card));
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
html[data-design="shadcn"]
  :is(.schedule-card, .settings-card, .auth-card, .modal-card) {
  border-color: var(--line);
  background: hsl(var(--ui-card));
  color: var(--ink);
}
html[data-design="shadcn"] :is(select, .modal-close, .week-arrow) {
  background: hsl(var(--ui-background));
  color: var(--ink);
  border-color: var(--line);
  border-radius: calc(var(--ui-radius) - 2px);
  height: 36px;
}
html[data-design="shadcn"] select:focus {
  outline: 1px solid hsl(var(--ui-ring));
}
html[data-design="shadcn"] .nav-item,
html[data-design="shadcn"] .nav-parent {
  justify-content: flex-start;
  color: var(--ink);
}
html[data-design="shadcn"] :is(.nav-item.active, .segmented button.active) {
  background: hsl(var(--ui-secondary));
  color: var(--ink);
  box-shadow: none;
  border-radius: 6px;
}
html[data-design="shadcn"] :is(.menu-toggle, .brand-mark) {
  background: hsl(var(--ui-primary));
  color: hsl(var(--ui-primary-foreground));
  border-radius: 7px;
}
html[data-design="shadcn"] .data-table :is(td, th) {
  border-color: var(--line);
  text-align: center;
}
html[data-design="shadcn"] .data-table th {
  background: hsl(var(--ui-muted) / 0.45);
  color: var(--muted);
}
html[data-design="shadcn"] :is(.schedule-table, .nurse-table) :is(th, td) {
  border-color: var(--line);
  text-align: center;
  padding: 4px 5px;
}
html[data-design="shadcn"] :is(.schedule-table, .nurse-table) thead th {
  background: hsl(var(--ui-muted) / 0.5);
  color: var(--muted);
}
html[data-design="shadcn"] :is(.schedule-table, .nurse-table) tbody th {
  background: hsl(var(--ui-card));
  color: var(--ink);
}
html[data-design="shadcn"]
  :is(.schedule-table, .nurse-table)
  tfoot
  :is(th, td) {
  background: hsl(var(--ui-muted) / 0.7);
  color: var(--muted);
}
html[data-design="shadcn"]
  :is(.experience-cell, .hours-cell, .segmented, .swap-slots, .profile-form
    input[readonly]) {
  background: hsl(var(--ui-muted) / 0.35);
  color: var(--ink);
}
html[data-design="shadcn"] :is(.current-day, thead th:has(.today)) {
  background: hsl(var(--ui-muted)) !important;
  box-shadow: inset 2px 0 hsl(var(--ui-ring)), inset -2px 0 hsl(var(--ui-ring));
}
html[data-design="shadcn"] .day-number.today {
  background: hsl(var(--ui-primary));
  color: hsl(var(--ui-primary-foreground));
}
html[data-design="shadcn"]
  .subcell:not(.selected):not(.leave-request):not(.proposed) {
  background: hsl(var(--ui-muted) / 0.45);
  color: var(--muted);
  border-color: var(--line);
}
html[data-design="shadcn"] .messages-table tr.unread {
  background: hsl(var(--ui-muted));
  color: var(--ink);
}
html[data-design="shadcn"] .theme-choice[aria-pressed="true"] {
  color: hsl(var(--ui-primary-foreground));
}
html[data-design="shadcn"] .theme-option {
  border-radius: var(--ui-radius);
}
html[data-design="shadcn"] input[type="checkbox"] {
  accent-color: hsl(var(--ui-primary));
}
html[data-design="shadcn"] dialog::backdrop {
  background: #0009;
}
html[data-design="shadcn"] .toast {
  background: hsl(var(--ui-primary));
  color: hsl(var(--ui-primary-foreground));
}

/* Closed navigation is only the floating hamburger in every design. */
html[data-design="glass"] .sidebar:not(.is-open),
html[data-design="shadcn"] .sidebar:not(.is-open) {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html[data-design="glass"] .classic-input,
html[data-design="shadcn"] .classic-input {
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-design="shadcn"] dialog[open] .modal-card,
html[data-design="shadcn"] .modal-backdrop:not([hidden]) .modal-card {
  border-color: hsl(var(--ui-border));
  box-shadow: 0 24px 70px #00000030, 0 3px 12px #00000024;
}
html[data-design="shadcn"][data-theme="dark"] dialog[open] .modal-card,
html[data-design="shadcn"][data-theme="dark"]
  .modal-backdrop:not([hidden])
  .modal-card {
  border-color: hsl(var(--ui-muted-foreground) / 0.65);
  box-shadow: 0 26px 75px #000c, 0 3px 14px #000a;
}
@media (max-width: 1100px) {
  .theme-options {
    gap: 12px;
  }
  .theme-option-head {
    padding: 18px 14px;
  }
  .theme-option-body {
    padding: 0 10px;
  }
  .design-preview {
    padding: 12px;
  }
  .preview-menu {
    width: 18px;
  }
  .preview-menu i {
    width: 16px;
  }
  .theme-option-footer {
    padding: 12px 14px 16px;
  }
}
@media (max-width: 800px) {
  .theme-options {
    grid-template-columns: 1fr;
  }
  .theme-selector {
    max-width: 480px;
  }
  .theme-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .theme-intro h1 {
    font-size: 25px;
  }
  .theme-saved {
    font-size: 9px;
  }
  .design-preview {
    aspect-ratio: 1.8;
    padding: 20px;
  }
  .preview-panel {
    max-width: 260px;
    margin-left: auto;
  }
  .preview-grid i {
    height: 16px;
  }
  .preview-caption {
    bottom: 8px;
  }
  .theme-description {
    min-height: 0;
    margin-bottom: 5px;
  }
  .theme-option-head {
    padding: 18px;
  }
  .theme-option-body {
    padding: 0 18px;
  }
  .theme-option-footer {
    padding: 14px 18px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-option {
    transition: none;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  html[data-design="glass"]
    :is(.sidebar, .schedule-card, .settings-card, .auth-card, .theme-option, .context-menu) {
    background: var(--glass-solid);
  }
}

/* Override legacy dark selectors only for the two additional themes. */
html[data-design="shadcn"]
  .current-day
  .subcell:not(.selected):not(.leave-request):not(.proposed) {
  background: hsl(var(--ui-background));
  border-color: hsl(var(--ui-ring) / 0.4);
}
html[data-design="shadcn"][data-theme]
  body
  :is(.menu-toggle, .nurse-avatar, .group-chip, .nav-item.active, .segmented
    button.active, .context-menu button:hover) {
  background: hsl(var(--ui-secondary));
  color: var(--ink);
}
html[data-design="shadcn"][data-theme] body .menu-toggle {
  background: hsl(var(--ui-primary));
  color: hsl(var(--ui-primary-foreground));
}
html[data-design="shadcn"][data-theme]
  body
  :is(.daily-minimum, .classic-input, input[type="color"], [data-classic-toggle], .week-arrow) {
  background: hsl(var(--ui-background));
  color: var(--ink);
  border-color: var(--line);
}
html[data-design="shadcn"][data-theme]
  body
  :is(.profile-form > label, .calendar-controls label, .data-table
    td, .hours-cell, .experience-cell, .message-body) {
  color: var(--ink);
}
html[data-design="glass"][data-theme]
  body
  :is(.menu-toggle, .nurse-avatar, .group-chip, .nav-item.active, .segmented
    button.active, .context-menu button:hover) {
  background: linear-gradient(130deg, #9470c950, #71cac66b);
  color: var(--ink);
}
html[data-design="glass"][data-theme]
  body
  :is(.profile-form > label, .calendar-controls label, .data-table
    td, .hours-cell, .experience-cell, .message-body) {
  color: var(--ink);
}
@media (max-width: 800px) {
  .design-preview {
    aspect-ratio: 1.5;
    min-height: 172px;
  }
  .preview-caption {
    bottom: 8px;
  }
  .preview-body {
    padding-bottom: 18px;
  }
}
@media (max-width: 480px) {
  html[data-design="shadcn"] .header-user :is(.logout-button, #theme-toggle) {
    padding: 0 8px;
    font-size: 11px;
  }
  html[data-design="shadcn"] .header-user {
    gap: 5px;
    flex-wrap: nowrap;
  }
  .theme-saved {
    max-width: 100%;
    white-space: normal;
  }
}
