:root {
  color-scheme: light;
  --ink: #173f35;
  --forest-strong: #0d2920;
  --green: #2a6b59;
  --mint: #edf5ef;
  --cream: #f7f4ec;
  --paper: #fffdf8;
  --muted: #66736f;
  --line: #d4e8da;
  --coral: #f28c6b;
  --coral-dark: #b85941;
  --aqua: #dcf2ed;
  --blue-soft: #e8f0fa;
  --danger: #9f3030;
  --shadow: 0 16px 44px rgba(13, 41, 32, 0.1);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 4%, rgba(242, 140, 107, 0.15), transparent 24rem),
    var(--mint);
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.62;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--cream);
  background: var(--forest-strong);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-layout {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 450px);
  padding: clamp(28px, 6vw, 48px);
  background: var(--paper);
  border: 1px solid rgba(23, 63, 53, 0.08);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--cream);
  background: var(--ink);
  border-radius: 20px;
  font-size: 28px;
  font-weight: 800;
}

.brand-mark.small {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 14px;
  font-size: 20px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.muted {
  color: var(--muted);
  line-height: 1.55;
}

.muted.compact {
  margin: 5px 0 0;
  font-size: 12px;
}

.stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  min-height: 50px;
  width: 100%;
  padding: 0 15px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
}

.field textarea { min-height: 110px; padding-top: 13px; resize: vertical; }
.field select { padding: 0 15px; }
.panel-actions, .dialog-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.editor-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.editor-dialog.wide { width: min(980px, calc(100vw - 32px)); }
.editor-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.dialog-actions { justify-content: flex-end; }
.day-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-bottom: 22px; }
.day-item { min-height: 42px; padding: 8px 12px; color: var(--ink); background: var(--mint); border: 1px solid var(--line); border-radius: 12px; text-align: left; }
.compact-form { padding-top: 20px; border-top: 1px solid var(--line); }

.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(42, 107, 89, 0.16);
}

.form-error {
  margin: -4px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 650;
}

.button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 750;
}

.button.primary {
  min-height: 52px;
  color: var(--cream);
  background: var(--ink);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--forest-strong);
}

.button.secondary {
  color: var(--ink);
  background: var(--aqua);
}

.button.quiet {
  color: var(--coral-dark);
  background: transparent;
  border: 1px solid rgba(184, 89, 65, 0.28);
}

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

.button.danger:hover,
.button.danger:focus-visible {
  background: #7f2525;
  border-color: #7f2525;
}

.danger-panel {
  border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent);
}

.button:focus-visible,
.nav-item:focus-visible,
.icon-button:focus-visible,
.table-action:focus-visible {
  outline: 3px solid rgba(242, 140, 107, 0.45);
  outline-offset: 2px;
}

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

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 24px 18px;
  color: var(--cream);
  background: var(--forest-strong);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
}

.brand-lockup strong,
.brand-lockup span {
  display: block;
}

.brand-lockup strong {
  font-size: 18px;
}

.brand-lockup span {
  margin-top: 2px;
  color: rgba(247, 244, 236, 0.66);
  font-size: 11px;
}

.nav-list {
  display: grid;
  gap: 7px;
}

.nav-item {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  color: rgba(247, 244, 236, 0.76);
  background: transparent;
  border: 0;
  border-radius: 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 650;
}

.nav-item:hover {
  background: rgba(237, 245, 239, 0.08);
}

.nav-item.active {
  color: var(--cream);
  background: rgba(242, 140, 107, 0.2);
}

.nav-item > span:first-child {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--coral);
  font-size: 17px;
}

.sidebar-footer {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 18px 10px 2px;
  color: rgba(247, 244, 236, 0.55);
  border-top: 1px solid rgba(247, 244, 236, 0.1);
  font-size: 10px;
  line-height: 1.45;
}

.sidebar-footer span:first-child {
  color: var(--cream);
  font-size: 12px;
  font-weight: 700;
}

.workspace {
  min-width: 0;
  padding: 28px clamp(18px, 4vw, 44px) 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.topbar h1 {
  margin: 0;
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.status-banner {
  margin-bottom: 18px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--aqua);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 650;
}

.status-banner.error {
  color: var(--danger);
  background: #fff1ed;
  border-color: #f0c8bd;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

#main-content:focus {
  outline: none;
}

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

.metric-card,
.panel {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(23, 63, 53, 0.08);
  box-shadow: 0 8px 28px rgba(13, 41, 32, 0.055);
}

.metric-card {
  position: relative;
  min-height: 154px;
  padding: 21px;
  overflow: hidden;
  border-radius: 20px;
}

.metric-card::after {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 76px;
  height: 76px;
  background: var(--mint);
  border-radius: 50%;
  content: "";
}

.metric-card.accent-green::after {
  background: var(--aqua);
}

.metric-card.accent-coral::after {
  background: #feede5;
}

.metric-card.accent-blue::after {
  background: var(--blue-soft);
}

.metric-card span,
.metric-card small,
.metric-card strong {
  position: relative;
  z-index: 1;
  display: block;
}

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

.metric-card strong {
  margin: 12px 0 8px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-card small {
  color: var(--green);
  font-size: 10px;
}

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

.two-column.wide-left {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  margin-top: 0;
}

.panel {
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius);
}

.panel-heading {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.count-badge,
.status-pill,
.access-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
}

.count-badge {
  min-width: 38px;
  height: 28px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--aqua);
}

.status-pill,
.access-pill {
  min-height: 24px;
  padding: 0 9px;
}

.status-pill.active,
.access-pill.premium {
  color: #155d47;
  background: #dff3e8;
}

.status-pill.inactive {
  color: #7d3e30;
  background: #feede5;
}

.access-pill.lifetime {
  color: #225478;
  background: var(--blue-soft);
}

.access-pill.free {
  color: #6f551c;
  background: #fff2cf;
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 45px;
  border-bottom: 1px solid var(--line);
}

.summary-list div:last-child {
  border-bottom: 0;
}

.summary-list dt {
  color: var(--muted);
  font-size: 12px;
}

.summary-list dd {
  margin: 0;
  font-weight: 800;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(23, 63, 53, 0.08);
  border-radius: 16px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
}

caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid #e8efeb;
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  background: #f8fbf8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td {
  color: #29473f;
  font-size: 12px;
}

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

tbody tr:hover td {
  background: #fcfdfb;
}

.cell-primary,
.cell-secondary {
  display: block;
}

.cell-primary {
  color: var(--ink);
  font-weight: 750;
}

.cell-secondary {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.table-action {
  min-height: 32px;
  padding: 0 11px;
  color: var(--ink);
  background: var(--aqua);
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
}

.table-wrap progress {
  width: 110px;
  height: 7px;
  overflow: hidden;
  appearance: none;
  background: #e9eee9;
  border: 0;
  border-radius: 99px;
}

.table-wrap progress::-webkit-progress-bar {
  background: #e9eee9;
  border-radius: 99px;
}

.table-wrap progress::-webkit-progress-value {
  background: var(--coral);
  border-radius: 99px;
}

.table-wrap progress::-moz-progress-bar {
  background: var(--coral);
  border-radius: 99px;
}

.empty-copy {
  margin: 16px 0 0;
  padding: 22px;
  color: var(--muted);
  background: var(--mint);
  border-radius: 16px;
  text-align: center;
  font-size: 13px;
}

dialog {
  width: min(92vw, 620px);
  max-height: min(86vh, 760px);
  padding: 24px;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(13, 41, 32, 0.28);
}

dialog::backdrop {
  background: rgba(13, 41, 32, 0.58);
  backdrop-filter: blur(3px);
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border: 0;
  border-radius: 12px;
  font-size: 24px;
}

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

.detail-grid div {
  min-width: 0;
  padding: 14px;
  background: var(--mint);
  border-radius: 14px;
}

.detail-grid dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.detail-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.loading-row td {
  height: 62px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column.wide-left {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

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

  .brand-lockup {
    padding: 0 4px 14px;
  }

  .nav-list {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .nav-item {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px;
  }

  .nav-item > span:first-child {
    display: none;
  }

  .sidebar-footer {
    display: none;
  }

  .workspace {
    padding-top: 22px;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions,
  .topbar-actions .button {
    width: 100%;
  }

  .topbar-actions .button {
    flex: 1;
  }

  .metric-grid,
  .two-column,
  .detail-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 130px;
  }

  .panel {
    padding: 17px;
    border-radius: 18px;
  }
}

.recipe-search { max-width: 480px; margin-bottom: 20px; }
.editor-dialog.program-workspace { width: min(1240px, calc(100vw - 32px)); }
.editor-hint, .day-editor-help { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 8px 0 16px; }
.program-day-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
.program-day-sidebar { position: sticky; top: 0; padding: 18px; border: 1px solid var(--line); background: var(--mint); border-radius: 18px; }
.program-day-sidebar h3, .day-editor-heading h3, .day-editor-section h3 { margin: 0; }
.program-day-sidebar .day-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 52vh; overflow-y: auto; padding: 2px; }
.program-day-sidebar .day-item { background: var(--paper); display: flex; flex-direction: column; gap: 5px; padding: 10px; }
.program-day-sidebar .day-item small { color: var(--muted); font-size: 11px; }
.program-day-sidebar .day-item.selected { background: var(--green); color: white; border-color: var(--green); }
.program-day-sidebar .day-item.selected small { color: white; }
.program-day-sidebar > .button { width: 100%; font-size: 12px; padding: 12px 8px; }
.day-workspace-form { min-width: 0; }
.day-editor-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.program-day-editor { display: grid; gap: 24px; }
.day-editor-section { border-top: 1px solid var(--line); padding-top: 22px; }
.day-editor-card { padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.day-editor-card h4 { margin: 0 0 14px; font-size: 14px; }
.day-editor-field { display: grid; gap: 7px; min-width: 0; font-size: 13px; font-weight: 600; }
.day-editor-field input, .day-editor-field textarea { width: 100%; min-width: 0; min-height: 44px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--paper); font: inherit; font-weight: 400; line-height: 1.6; }
.day-editor-field textarea { resize: vertical; min-height: 100px; }
.day-editor-row-actions, .day-editor-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.day-editor-row-actions { justify-content: flex-end; }
.day-editor-button { min-height: 38px; border: 1px solid var(--line); background: var(--mint); color: var(--ink); padding: 8px 12px; border-radius: 9px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.day-editor-button:hover:not(:disabled) { background: var(--aqua); }
.day-editor-targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.day-editor-empty { padding: 20px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.day-editor-warning { background: var(--cream); padding: 14px; border-radius: 10px; font-size: 13px; }
.day-copy-tools { padding: 18px; border-radius: 16px; background: var(--mint); display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.day-copy-tools .field { flex: 1; min-width: 180px; }
.day-copy-tools small { width: 100%; color: var(--muted); line-height: 1.5; }
.day-save-bar { position: sticky; bottom: -24px; padding: 16px 0; background: var(--paper); border-top: 1px solid var(--line); z-index: 2; }
.program-workspace button:disabled { opacity: .5; cursor: not-allowed; }
.program-workspace :focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (max-width: 760px) {
  .program-day-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .program-day-sidebar { position: static; }
  .program-day-sidebar .day-list { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 180px; }
  .program-workspace { padding: 16px; }
  .day-save-bar { bottom: -16px; }
  .day-editor-targets { grid-template-columns: minmax(0, 1fr); }
}
.recipe-linked-name { display: block; margin-top: 6px; color: var(--muted); }
.recipe-food-context { margin-bottom: 22px; }
.recipe-food-context h2 { margin-bottom: 12px; }
.recipe-food-context .panel-actions { margin-bottom: 16px; flex-wrap: wrap; }
.recipe-ingredient-list { display: grid; gap: 14px; margin-bottom: 16px; }
.recipe-ingredient-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
@media (max-width: 680px) { .recipe-ingredient-row { grid-template-columns: 1fr; border-bottom: 1px solid var(--line); padding-bottom: 14px; } }
.recipe-image-preview { width: min(100%, 360px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.recipe-preferences { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 0; min-width: 0; }
.recipe-preferences legend { font-weight: 700; font-size: 13px; }
.recipe-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.recipe-checks label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.recipe-checks input { width: 20px; height: 20px; accent-color: var(--green); }
#recipe-image { max-width: 100%; }
#recipe-form .field small { line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Daily mobile administration */
.nav-label { margin: 4px 14px 8px; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #aac4b8; }
.secondary-nav { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.secondary-nav summary { padding: 12px 14px; cursor: pointer; font-size: 13px; font-weight: 700; border-radius: 12px; }
.secondary-nav summary:hover { background: #244c3e; }
.secondary-nav summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.secondary-nav .nav-item { width: 100%; margin-top: 4px; }
.nav-hint { margin: 4px 14px 12px; color: #aac4b8; font-size: 11px; line-height: 1.6; }
.dashboard-intro { padding: 28px 32px; margin-bottom: 24px; background: var(--forest-strong); border-radius: var(--radius); color: #f7f9ed; }
.dashboard-intro .eyebrow { color: #d9f780; }
.dashboard-intro h2 { margin: 8px 0 12px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.04em; }
.dashboard-intro > p:last-child { margin: 0; color: #d0e3d9; line-height: 1.7; max-width: 650px; }
.dashboard-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.dashboard-action { position: relative; text-align: left; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dashboard-action:hover { border-color: var(--green); background: #f4f9ed; }
.dashboard-action:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.dashboard-action > span:not(.action-icon) { font-size: 12px; color: var(--muted); line-height: 1.6; }
.dashboard-action > b { position: absolute; right: 20px; top: 22px; font-size: 21px; }
.action-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #e5f1d3; font-size: 23px; }
@media (max-width: 900px) { .dashboard-actions { grid-template-columns: 1fr; } }
@media (max-width: 780px) {
  .nav-list { display: flex; flex-wrap: wrap; overflow: visible; }
  .nav-label { width: 100%; margin-top: 8px; }
  .secondary-nav { width: 100%; margin: 0; padding: 0; border: 0; }
  .secondary-nav .nav-item { width: auto; display: inline-flex; }
  .dashboard-intro { padding: 24px; }
}
