:root {
  --ink: #18211d; --muted: #5b6862; --faint: #8b958f; --line: #e3e7e3; --surface: #ffffff; --canvas: #f2f4f1;
  --accent: #1e5c46; --accent-soft: #e6f1eb; --amber: #9a5f0c; --amber-soft: #fcf2df; --red: #a2412f; --red-soft: #fbece8;
  --rail: #13201a; --rail-active: #223a30; --rail-text: #9db1a7;
  --primary: var(--accent); --primary-hover: #174a38;
  --card-shadow: 0 1px 2px #0000000f, 0 0 0 1px #00000009;
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: var(--canvas); }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: 0.6; }
input, textarea, select { color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }
svg { display: block; flex-shrink: 0; }
button svg { width: 18px; height: 18px; }
:is(.button, .icon-button, .rail-link, .topbar-search, .size-chip, .crumb-chevron) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button, a, input, select, textarea { outline-offset: 3px; }
:focus-visible { outline: 3px solid #7fb39a; }
::selection { background: #d6e9d8; color: #1e3d2b; }

/* Shared components */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease; }
.button svg { width: 16px; height: 16px; stroke-width: 2; }
.button-primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button-primary:hover { border-color: var(--primary-hover); background: var(--primary-hover); }
.button-secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.button-secondary:hover { border-color: #cdd5cf; background: #f6f8f6; }
.button-ghost { min-height: 30px; padding: 0 8px; border-color: transparent; background: transparent; color: var(--accent); font-size: 13px; }
.button-ghost:hover { background: var(--accent-soft); }
.button-small { min-height: 30px; padding: 0 11px; font-size: 12.5px; }
.button-wide { width: 100%; min-height: 42px; font-size: 14px; white-space: normal; }
.pill { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0 8px; border-radius: 999px; background: #eef0ed; color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill-ok { background: var(--accent-soft); color: var(--accent); }
.pill-warn { background: var(--amber-soft); color: var(--amber); }
.pill-bad { background: var(--red-soft); color: var(--red); }
.pill-busy { background: #e9f1fb; color: #2b5d8a; }
.segmented { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #f0f2ef; }
.segmented label { position: relative; display: grid; place-items: center; min-height: 26px; padding: 0 12px; border-radius: 6px; color: var(--muted); font-size: 12.5px; font-weight: 550; white-space: nowrap; cursor: pointer; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: 0 1px 2px #00000017; }
.segmented label:has(input:focus-visible) { outline: 3px solid #7fb39a; outline-offset: 1px; }
.switch { position: relative; width: 30px; height: 18px; flex-shrink: 0; margin: 0; border-radius: 999px; background: #cfd6d1; appearance: none; cursor: pointer; transition: background-color 150ms ease; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #0003; transition: left 150ms ease; }
.switch:checked { background: var(--accent); }
.switch:checked::after { left: 14px; }
.switch:disabled { opacity: 0.5; cursor: not-allowed; }
.notice { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--amber-soft); color: #7a4d0b; font-size: 12.5px; line-height: 1.45; }
.form-error { margin: 0 0 12px; padding: 10px 12px; border: 1px solid #f0d6cb; border-radius: 9px; background: var(--red-soft); color: var(--red); font-size: 12.5px; line-height: 1.5; }
.icon-button { display: grid; place-items: center; width: 31px; height: 31px; padding: 6px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
.icon-button:hover { background: #f0f3f0; color: var(--ink); }
.icon-button svg { width: 19px; height: 19px; }
.menu { position: fixed; inset: auto; margin: 0; min-width: 200px; max-width: min(320px, calc(100vw - 16px)); max-height: min(420px, calc(100vh - 16px)); overflow: auto; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 12px 36px #0f1a1529; }
.menu-item { display: grid; gap: 1px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 13.5px; text-align: left; }
.menu-item:hover, .menu-item:focus-visible { outline: none; background: #eef2ef; }
.menu-item > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-detail { color: var(--muted); font-size: 12px; }
.menu-heading { padding: 8px 10px 4px; color: var(--faint); font-size: 11px; font-weight: 650; letter-spacing: 0.6px; text-transform: uppercase; }
.menu-separator { height: 1px; margin: 6px 4px; background: var(--line); }

/* App shell: the rail and one scrolling view beside it */
.app-shell { display: grid; grid-template-columns: 72px minmax(0, 1fr); height: 100vh; height: 100dvh; }
.rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 0 12px; background: var(--rail); overflow-y: auto; }
.rail-logo { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; margin-bottom: 16px; border-radius: 11px; background: #2c7559; }
.rail-logo svg { width: 22px; height: 22px; }
.rail-link { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 60px; padding: 8px 0 6px; border-radius: 10px; color: var(--rail-text); font-size: 11px; font-weight: 550; line-height: 1.2; text-decoration: none; }
.rail-link:hover { background: #1b2d25; color: #fff; }
.rail-link[aria-current="page"] { background: var(--rail-active); color: #fff; }
.rail-link svg { width: 21px; height: 21px; stroke-width: 1.7; }
.rail-spacer { flex: 1; }
#nav-settings { position: relative; }
.rail-credit { position: absolute; top: -2px; right: -1px; max-width: 58px; padding: 2px 5px; border: 1px solid var(--rail); border-radius: 7px; background: #d6e9d8; color: #173c2b; font-size: 10px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.app-main { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app-main > .view { height: 100%; overflow: auto; overscroll-behavior: contain; }

/* One header row per view */
.view-topbar { position: sticky; top: 0; z-index: 5; display: grid; align-items: center; gap: 16px; min-height: 58px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.page-topbar { grid-template-columns: auto minmax(0, 1fr) auto; }
.page-title { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font-size: 16px; font-weight: 680; letter-spacing: -0.2px; line-height: 1.3; }
.count-pill { padding: 2px 8px; border-radius: 999px; background: #eef1ed; color: var(--muted); font-size: 12px; font-weight: 600; }
.count-pill:empty { display: none; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
.topbar-search { position: relative; justify-self: center; width: min(440px, 100%); }
.topbar-search svg { position: absolute; top: 50%; left: 12px; width: 16px; height: 16px; color: var(--faint); transform: translateY(-50%); pointer-events: none; }
.topbar-search input { width: 100%; height: 38px; padding: 0 12px 0 36px; border: 1px solid var(--line); border-radius: 10px; background: #f8faf8; font-size: 13.5px; }
.topbar-select { height: 36px; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 9px; background-color: #fff; font-size: 13.5px; }
.save-state { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.save-state:not(:empty)::before { content: ""; width: 9px; height: 5px; border: solid #3b8a62; border-width: 0 0 2px 2px; transform: translateY(-2px) rotate(-45deg); }
.save-state:is([data-tone="saving"], [data-tone="error"])::before { display: none; }
.save-state[data-tone="error"] { color: var(--red); }
.crumb-link { padding: 0; border: 0; background: none; color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.crumb-link:hover { color: var(--ink); text-decoration: underline; }
.crumb-chevron { width: 14px; height: 14px; color: var(--faint); stroke-width: 2; }
.view-content { padding: 24px 28px 32px; }

.eyebrow { font-size: 10px; font-weight: 650; text-transform: uppercase; color: #5f7658; letter-spacing: 1.8px; margin: 0 0 11px; }

.project-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 30px; border: 1px solid #dbe4d4; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 22px 80px #183a3429; overflow-y: auto; }
.project-dialog::backdrop { background: #1c302966; backdrop-filter: blur(3px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dialog-header .eyebrow { margin-bottom: 9px; }
.dialog-header h2 { margin: 0; font-size: 25px; font-weight: 600; letter-spacing: -0.75px; line-height: 1.2; }
.dialog-description { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 15px 0 26px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.form-field label span { color: #64745e; font-weight: 400; font-size: 11px; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #dce4d5; border-radius: 7px; padding: 11px 12px; font-size: 13px; line-height: 1.5; background: #fdfefb; }
.form-field input { min-height: 43px; }
.form-field textarea { resize: vertical; min-height: 94px; max-height: 220px; }
.form-field input:focus, .form-field textarea:focus { border-color: #74926d; }
.form-field input[aria-invalid="true"] { border-color: #ae6960; }
.field-meta { display: flex; justify-content: space-between; gap: 15px; color: #64745e; font-size: 10px; margin-top: 7px; line-height: 1.6; }
#name-count { white-space: nowrap; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 25px; }
.toast { position: fixed; z-index: 30; bottom: 24px; left: calc(50% + 36px); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.5; box-shadow: 0 8px 28px #0f1a1533; transform: translateX(-50%); overflow-wrap: anywhere; }

.configuration-dialog {
  width: min(1020px, calc(100% - 40px));
  max-width: none;
  height: min(870px, calc(100dvh - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: hidden;
}
.configuration-dialog:not([open]) { display: none; }
.configuration-dialog #project-form { height: 100%; min-height: 0; display: flex; flex-direction: column; }
.configuration-dialog .dialog-header { align-items: center; padding: 12px 24px; flex-shrink: 0; border-bottom: 1px solid var(--line); }
.configuration-dialog .dialog-header h2 { font-size: 21px; }
.configuration-dialog .icon-button { flex-shrink: 0; }
/* Only the fields scroll; the Live layout stays in place beside them. */
.configuration-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 38%); grid-template-rows: minmax(0, 1fr); gap: 24px; padding: 18px 24px 24px; overflow: hidden; min-height: 0; flex: 1; }
.config-editor { min-width: 0; min-height: 0; margin: -4px -10px -4px -4px; padding: 4px 10px 4px 4px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.config-section + .config-section { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.config-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.config-section-heading h3 { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 650; letter-spacing: -0.15px; line-height: 1.3; }
.config-help { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #e7ede3; color: #56704d; font-size: 9.5px; font-weight: 700; cursor: help; }
.configuration-dialog .form-field { margin-bottom: 12px; min-width: 0; }
.configuration-dialog .form-field:last-child { margin-bottom: 0; }
.configuration-dialog .form-field label { font-size: 11px; margin-bottom: 5px; line-height: 1.4; }
.config-name-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.config-name-label #name-count { color: #7c8a80; font-size: 10px; }
/* Saree setup: the machine supplies EPI, PPI and selvedge, shown read-only. */
.config-fields-grid .config-machine, .config-fields-grid .config-selvedge { grid-column: span 2; }
.config-machine-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.config-machine-actions { display: flex; gap: 2px; }
.config-machine-label .button-small { min-height: 0; padding: 0 4px; font-size: 11px; }
.config-machine select { width: 100%; }
.config-machine-note { margin: 6px 0 0; }
.config-fields-grid .reference-tag { padding: 0 4px; line-height: 14px; vertical-align: baseline; }
.configuration-dialog input[readonly] { background: #f3f5f0; color: #4d5d53; cursor: default; }
.config-name { margin-bottom: 14px !important; }
.configuration-dialog input:not([type="checkbox"]):not([type="radio"]), .configuration-dialog select, .configuration-dialog textarea {
  width: 100%; min-width: 0; min-height: 34px; padding: 6px 10px; border: 1px solid #dce4d5; border-radius: 6px; font-size: 12px; line-height: 1.5; background-color: #fdfefb;
}
.configuration-dialog textarea { min-height: 66px; max-height: 150px; }
.configuration-dialog input:not([type="checkbox"]):not([type="radio"]):focus, .configuration-dialog select:focus, .configuration-dialog textarea:focus { border-color: #74926d; }
.configuration-dialog input[aria-invalid="true"], .configuration-dialog select[aria-invalid="true"] { border-color: #ae6960 !important; }
.configuration-dialog input:disabled, .configuration-dialog select:disabled { color: #68796e; background: #f0f3ee; border-color: #e4e9e0; opacity: 1; cursor: not-allowed; }
.configuration-dialog input[readonly] { color: #617564; background: #f0f4ed; }
.config-fields-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.config-fields-grid .form-field { margin-bottom: 0; }
.measurement-input { position: relative; min-width: 0; }
.configuration-dialog .measurement-input input { padding-right: 42px !important; font-variant-numeric: tabular-nums; }
.measurement-input > span { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-size: 10px; color: #71816a; pointer-events: none; }
/* Two-option toggles beside the section headings (unit, length mode). */
.config-segmented { display: inline-flex; flex-shrink: 0; padding: 2px; border-radius: 7px; background: #edf1ea; }
.config-segmented label { position: relative; padding: 4px 10px; border-radius: 5px; color: #5b6c53; font-size: 11px; line-height: 1.4; cursor: pointer; }
.config-segmented label:has(input:checked) { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px #1c302922; }
.config-segmented label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
.configuration-dialog .config-segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.configuration-dialog input[type="radio"], .configuration-dialog input[type="checkbox"] { width: 15px; height: 15px; margin: 0; accent-color: var(--primary); flex-shrink: 0; cursor: pointer; }
.configuration-dialog input[type="checkbox"]:disabled { cursor: not-allowed; }
.config-hint { color: #66775e; font-size: 10px; line-height: 1.5; margin: 0 0 6px; }
.config-section > .config-hint:last-child { margin: 8px 0 0; }
.config-hint:empty { display: none; }
.config-section-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 10px; min-height: 38px; padding: 2px 0; }
.feet-row { grid-template-columns: minmax(0, 1fr) auto 120px; }
.config-segmented label:has(input:disabled) { color: #a3ad9c; cursor: not-allowed; }
.config-section-row.derived-row { grid-template-columns: minmax(0, 1fr) max-content; }
.config-section-row > label, .config-section-row > span { font-size: 11px; line-height: 1.5; }
.toggle-label { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.5; cursor: pointer; }
.toggle-label > span { min-width: 0; }
.border-link { color: #64775c; font-size: 10px; }
.config-section-row output { text-align: right; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.work-row { margin-top: 4px; padding-top: 6px; border-top: 1px dashed #dfe6d8; }
.work-row > label { font-weight: 600; }
.derived-row { min-height: 28px; }
.config-derived { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; padding-top: 8px; border-top: 1px dashed #dfe6d8; }
.config-derived .derived-row { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 11px; }
.config-derived output { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.derived-row > span { color: #5e7155; }
.reference-tag, .derived-tag { display: inline-block; vertical-align: middle; margin-left: 5px; font-size: 9px; line-height: 1.3; font-weight: 400; color: #6b7c62; }
.reference-tag { padding: 3px 5px; border-radius: 4px; background: #f1f2e9; color: #7a7953; }
.config-preview-column { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 14px; border: 1px solid #dee6d7; border-radius: 10px; background: #f6f8f2; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.preview-heading h3 { margin: 0; font-size: 12px; font-weight: 650; }
.saree-preview-wrap { flex: 1; min-width: 0; min-height: 0; margin-top: 10px; }
#saree-preview { display: block; width: 100%; height: 100%; overflow: visible; }
.configuration-footer { flex-shrink: 0; border-top: 1px solid var(--line); padding: 12px 24px; background: #fff; }
.configuration-dialog .dialog-actions { margin: 0; padding: 0; border: 0; }
.config-errors { margin: 0 0 12px; padding: 9px 12px; color: #90443c; font-size: 11px; line-height: 1.5; border: 1px solid #edd6cc; border-radius: 6px; background: #fff6f1; max-height: 78px; overflow-y: auto; }

@media (max-width: 600px) {
  .form-field input, .form-field textarea { font-size: 16px; }
  .project-dialog { padding: 25px 22px; }
  .dialog-header h2 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (max-width: 760px) {
  .configuration-dialog { width: calc(100% - 24px); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); padding: 0; }
  .configuration-dialog .dialog-header { padding: 11px 18px; gap: 12px; }
  .configuration-dialog .dialog-header h2 { font-size: 20px; }
  .configuration-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 24px; padding: 21px 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
  /* One scrolling column: every part takes its full content height. */
  .config-editor { min-height: auto; margin: 0; padding: 0; overflow: visible; scrollbar-gutter: auto; }
  .config-preview-column { min-height: auto; padding: 14px; }
  .saree-preview-wrap { min-height: auto; }
  #saree-preview { height: auto; aspect-ratio: 260 / 500; }
  .config-fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .configuration-footer { padding: 13px 20px; }
  .configuration-dialog input:not([type="checkbox"]):not([type="radio"]), .configuration-dialog select, .configuration-dialog textarea { font-size: 16px; }
  .configuration-dialog .field-meta { gap: 10px; font-size: 9px; }
  .config-section-row { grid-template-columns: minmax(0, 1fr) 112px; }
  .feet-row { grid-template-columns: minmax(0, 1fr) 112px; }
  .feet-row .border-link { grid-column: 1 / -1; grid-row: 2; padding-left: 23px; }
  .configuration-dialog .dialog-actions .button { min-height: 42px; }
}

@media (max-width: 380px) {
  .configuration-dialog .dialog-header { padding-inline: 15px; }
  .configuration-body { padding-inline: 15px; }
  .configuration-footer { padding-inline: 15px; }
  .config-section-row { grid-template-columns: minmax(0, 1fr) 106px; gap: 8px; }
  .config-fields-grid { gap: 14px 10px; }
  .reference-tag, .derived-tag { margin-left: 0; }
  .configuration-dialog .dialog-actions .button { padding-inline: 13px; }
}

@media (max-width: 1099px) { .view-content { padding: 20px 20px 28px; } }
@media (max-width: 759px) {
  .app-shell { display: block; height: auto; padding-bottom: 60px; }
  .rail { position: fixed; z-index: 20; inset: auto 0 0 0; flex-direction: row; justify-content: space-around; gap: 0; height: 60px; padding: 4px 6px; overflow: visible; }
  .rail-logo, .rail-spacer { display: none; }
  .rail-link { flex: 1; width: auto; max-width: 90px; padding: 6px 0 4px; }
  .app-main { overflow: visible; }
  .app-main > .view { height: auto; overflow: visible; }
  .view-topbar { gap: 10px; padding: 10px 16px; }
  .page-topbar { grid-template-columns: minmax(0, 1fr) auto; }
  .page-topbar .topbar-search { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; width: 100%; }
  .view-content { padding: 16px 16px 24px; }
  .toast { left: 50%; bottom: 76px; }
}
.page-where { display: flex; align-items: center; gap: 6px; min-width: 0; }
.page-where .crumb-link { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.page-where .page-title { min-width: 0; }
.library-content { display: grid; align-content: start; gap: 16px; }
.library-intro { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.library-intro > p { margin: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 759px) { .page-where .crumb-link { max-width: 120px; } }
