/* Vaultr: a skeuomorphic look. Walnut-panelled wall, oak shelves, plastic cases,
   a brass nameplate and a stitched leather tab bar. Pure CSS, no image files,
   so it works offline and stays sharp at any size. */
:root {
  --wall-1: #3b2414; --wall-2: #2e1b0e; --wall-3: #452b18;
  --oak-top: #d8a86a; --oak-1: #b9864b; --oak-2: #a2733c; --oak-3: #8a5f2f;
  --brass-1: #f3dc9a; --brass-2: #c9a34d; --brass-3: #8f6d22;
  --paper: #f6eedc; --paper-ink: #3a2a1a; --paper-muted: #7d6a52;
  --leather: #2a1a12; --stitch: #b88d55;
  --text: #f4e9d6; --muted: #cbb593;
  --bluray: #1f5fbf; --uhd: #121212; --dvd: #1a1a1a;
  --shelf-row: 196px;
}
* { box-sizing: border-box; }
html { background: var(--wall-2); }
body {
  margin: 0; color: var(--text); min-height: 100vh;
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  /* Walnut wall panelling: vertical planks with seams and a little grain. */
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 2px, transparent 2px 120px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 3px, transparent 3px 19px),
    linear-gradient(90deg, var(--wall-1), var(--wall-3) 30%, var(--wall-2) 60%, var(--wall-1));
  background-attachment: fixed;
}

/* Brass nameplate */
.topbar { display: flex; justify-content: center; padding: 18px 16px 10px; }
.nameplate {
  position: relative; display: flex; align-items: baseline; gap: 12px;
  padding: 8px 26px 9px; border-radius: 6px;
  background: linear-gradient(180deg, var(--brass-1), var(--brass-2) 45%, var(--brass-3) 100%);
  box-shadow: 0 2px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.25) inset,
              0 6px 14px rgba(0,0,0,.55), 0 1px 0 rgba(0,0,0,.6);
}
.nameplate::before, .nameplate::after { /* screws */
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff6d0, #9c7a2a 60%, #5d4512);
  box-shadow: 0 1px 1px rgba(0,0,0,.5);
}
.nameplate::before { left: 9px; } .nameplate::after { right: 9px; }
.nameplate h1 {
  margin: 0; font: 700 22px/1 Georgia, "Times New Roman", serif; letter-spacing: .28em; text-transform: uppercase;
  color: #6b4f16; text-shadow: 0 1px 0 rgba(255,240,190,.8), 0 -1px 0 rgba(0,0,0,.35);
}
.nameplate #count { font: italic 13px Georgia, serif; color: #5d4512; text-shadow: 0 1px 0 rgba(255,240,190,.6); }

main { padding: 0 16px; max-width: 900px; margin: 0 auto; }
.view { display: none; } .view.active { display: block; }
h2 { margin: 8px 0 12px; font: 700 20px Georgia, serif; color: var(--text); text-shadow: 0 2px 3px rgba(0,0,0,.6); }
.muted { color: var(--muted); } .small { font-size: 13px; }

/* Inputs look like recessed paper labels; buttons are brass. */
input {
  font: inherit; width: 100%; padding: 11px 14px; border-radius: 8px; color: var(--paper-ink);
  border: 1px solid #6e4a28; background: linear-gradient(#efe4cc, var(--paper));
  box-shadow: inset 0 2px 4px rgba(0,0,0,.25), 0 1px 0 rgba(255,255,255,.08);
}
input::placeholder { color: var(--paper-muted); }
button {
  font: 600 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer;
  padding: 12px 16px; border-radius: 8px; width: 100%; color: #4a3510;
  border: 1px solid #7a5a1c; text-shadow: 0 1px 0 rgba(255,240,190,.7);
  background: linear-gradient(180deg, var(--brass-1), var(--brass-2) 55%, #b18b38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 3px 6px rgba(0,0,0,.45);
}
button:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.3); }
button:disabled { opacity: .6; }
button.secondary {
  color: var(--text); border-color: #1a0f08; text-shadow: 0 -1px 0 rgba(0,0,0,.6);
  background: linear-gradient(#5a3a22, #3a2414); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 6px rgba(0,0,0,.4);
}
button.danger { color: #fff; border-color: #5c1410; text-shadow: 0 -1px 0 rgba(0,0,0,.4);
  background: linear-gradient(#b8413a, #8a2520); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 6px rgba(0,0,0,.4); }
.stack { display: grid; gap: 10px; margin-bottom: 12px; }
label { display: grid; gap: 6px; color: var(--text); font-size: 14px; }
#search { margin-bottom: 14px; }

/* ---------- The shelf ---------- */
/* Each grid row is one shelf: cases stand on an oak board drawn at the bottom of
   the row, so the boards line up however many cases fit across the screen. */
.shelf {
  list-style: none; margin: 0 -16px; padding: 6px 18px 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  grid-auto-rows: var(--shelf-row); column-gap: 16px; align-items: end;
  background:
    /* shadow the board casts on the wall below it */
    linear-gradient(rgba(0,0,0,.55), transparent) 0 var(--shelf-row) / 100% 14px repeat-x,
    /* board: lit top face, front edge with grain, dark underside */
    linear-gradient(to bottom,
      transparent 0 calc(var(--shelf-row) - 26px),
      var(--oak-top) calc(var(--shelf-row) - 26px) calc(var(--shelf-row) - 21px),
      var(--oak-1) calc(var(--shelf-row) - 21px) calc(var(--shelf-row) - 3px),
      #5a3b1b calc(var(--shelf-row) - 3px)) 0 0 / 100% var(--shelf-row) repeat-y;
  position: relative;
}
.shelf::before { /* wood grain on the front edge of every board */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--shelf-row) - 21px),
      rgba(0,0,0,0) calc(var(--shelf-row) - 21px), transparent var(--shelf-row)),
    repeating-linear-gradient(92deg, rgba(90,55,20,.18) 0 2px, transparent 2px 23px, rgba(255,230,180,.08) 23px 25px, transparent 25px 61px);
  -webkit-mask: linear-gradient(to bottom, transparent 0 calc(var(--shelf-row) - 21px), #000 calc(var(--shelf-row) - 21px) calc(var(--shelf-row) - 3px), transparent calc(var(--shelf-row) - 3px)) 0 0 / 100% var(--shelf-row) repeat-y;
          mask: linear-gradient(to bottom, transparent 0 calc(var(--shelf-row) - 21px), #000 calc(var(--shelf-row) - 21px) calc(var(--shelf-row) - 3px), transparent calc(var(--shelf-row) - 3px)) 0 0 / 100% var(--shelf-row) repeat-y;
}
.shelf > li { margin-bottom: 24px; display: flex; justify-content: center; position: relative; z-index: 1; }

/* A movie case: coloured plastic edge, format banner, cover art, gloss. */
.case {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: flex; flex-direction: column;
  width: 100%; max-width: 112px; aspect-ratio: 135 / 171; max-height: 160px;
  border-radius: 4px 5px 5px 4px; overflow: hidden; padding: 3px 3px 3px 5px;
  background: var(--case, var(--dvd));
  box-shadow:
    inset 3px 0 0 rgba(255,255,255,.18),          /* hinge highlight */
    inset -1px 0 0 rgba(0,0,0,.4),
    -3px 0 0 -1px rgba(0,0,0,.5),                  /* spine depth */
    6px 4px 8px rgba(0,0,0,.55),                   /* shadow on the wall */
    0 2px 1px rgba(0,0,0,.6);                      /* contact shadow on board */
  transition: transform .15s ease;
}
.case:hover, .case:focus-visible { transform: translateY(-4px) rotate(-1deg); }
.case[data-format="Blu-ray"] { --case: var(--bluray); }
.case[data-format="4K"] { --case: var(--uhd); }
.case[data-format="DVD"] { --case: var(--dvd); aspect-ratio: 135 / 190; }
.case .band {
  flex: none; height: 13px; display: flex; align-items: center; justify-content: center;
  font: 800 7.5px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: .12em; color: #fff;
  text-transform: uppercase; background: linear-gradient(#ffffff22, transparent), var(--case);
}
.case[data-format="4K"] .band { background: linear-gradient(90deg, #000, #333 50%, #000); }
.case[data-format="4K"] .band::after { content: " ULTRA HD"; margin-left: .3em; color: #e6c76a; }
.case .cover { flex: 1; min-height: 0; border-radius: 1px; overflow: hidden; background: #222; }
.case .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case .cover .plain {
  height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 6px;
  font: 700 12px/1.2 Georgia, serif; color: #f4e9d6;
  background: radial-gradient(circle at 50% 30%, #6d4a7a, #2b1d33);
}
.case::after { /* gloss on the plastic sleeve */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.06) 28%, transparent 42%, transparent 80%, rgba(255,255,255,.08));
}

.empty {
  margin: 30px auto; max-width: 300px; padding: 18px; text-align: center; transform: rotate(-1.5deg);
  font: italic 16px Georgia, serif; color: var(--paper-ink);
  background: linear-gradient(var(--paper), #eadfc4); border-radius: 2px;
  box-shadow: 0 8px 16px rgba(0,0,0,.5);
}

/* ---------- Search results: paper index cards ---------- */
.movie-list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 12px; }
.movie {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 10px;
  color: var(--paper-ink); border-radius: 3px;
  background: repeating-linear-gradient(transparent 0 23px, rgba(80,120,170,.18) 23px 24px), linear-gradient(var(--paper), #efe3c8);
  box-shadow: 0 6px 12px rgba(0,0,0,.45);
}
.movie img, .movie .noposter { width: 58px; height: 86px; object-fit: cover; border-radius: 2px; background: #cbbb9c;
  box-shadow: 0 2px 4px rgba(0,0,0,.35); }
.movie .title { font: 700 16px Georgia, serif; } .movie .meta { color: var(--paper-muted); font-size: 14px; }
.movie button { width: auto; padding: 10px 14px; }
#lookup-status { margin-top: 6px; }

/* Settings and other panels sit on a leather-topped desk pad. */
#view-settings form, #view-add form {
  padding: 16px; border-radius: 10px;
  background: radial-gradient(ellipse at top, #4a2f1f, var(--leather));
  box-shadow: inset 0 0 0 4px var(--leather), inset 0 0 0 5px rgba(184,141,85,.0), 0 8px 18px rgba(0,0,0,.5);
  outline: 1px dashed var(--stitch); outline-offset: -9px;
}

/* ---------- Detail card ---------- */
dialog.detail {
  border: none; padding: 0; width: min(420px, calc(100vw - 32px)); border-radius: 4px; color: var(--paper-ink);
  background: linear-gradient(var(--paper), #eadcbd); box-shadow: 0 20px 50px rgba(0,0,0,.7);
}
dialog.detail::backdrop { background: rgba(15,8,3,.7); backdrop-filter: blur(2px); }
.detail .inner { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px; }
.detail .inner img, .detail .inner .noposter { width: 110px; aspect-ratio: 2/3; object-fit: cover; border-radius: 3px; background: #cbbb9c; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.detail h3 { margin: 0 0 4px; font: 700 20px/1.2 Georgia, serif; }
.detail .meta { color: var(--paper-muted); font-size: 14px; margin-bottom: 8px; }
.detail .overview { font-size: 14px; max-height: 9.5em; overflow: auto; }
.detail .actions { display: flex; gap: 10px; padding: 0 18px 18px; }
.detail .barcode { font: 12px ui-monospace, Menlo, monospace; color: var(--paper-muted); }

/* ---------- Navigation: a floating leather dock ---------- */
/* Stitched leather with engraved icons; the active tab lights up in brass, and
   Add is a raised brass knob in the middle, like a control on old hi-fi gear. */
body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.tabs {
  position: fixed; z-index: 10; left: 50%; transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(340px, calc(100vw - 48px)); height: 60px;
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end;
  border-radius: 22px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(255,255,255,.07), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 4px),
    linear-gradient(#3b271a, #24160d);
  box-shadow:
    inset 0 1px 0 rgba(255,235,200,.14), inset 0 -2px 0 rgba(0,0,0,.35),
    0 0 0 1px #120a05, 0 14px 30px rgba(0,0,0,.6), 0 3px 8px rgba(0,0,0,.5);
}
.tabs::before { /* stitching */
  content: ""; position: absolute; inset: 5px; border-radius: 17px; pointer-events: none;
  border: 1.3px dashed rgba(184,141,85,.55);
}
.tabs button {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: 60px; color: #a88c68;
  font: 600 10.5px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .12em; text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}
.tabs svg {
  width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 -1px 0 rgba(0,0,0,.7)) drop-shadow(0 1px 0 rgba(255,235,200,.08)); /* engraved */
}
.tabs button.active { color: var(--brass-1); }
.tabs button.active svg { filter: drop-shadow(0 0 6px rgba(243,220,154,.45)) drop-shadow(0 -1px 0 rgba(0,0,0,.6)); }
.tabs button.active::after { /* small brass jewel under the active tab */
  content: ""; position: absolute; bottom: 8px; width: 4px; height: 4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff4c8, var(--brass-2) 60%, var(--brass-3));
  box-shadow: 0 0 6px rgba(243,220,154,.8);
}
.tabs button.active svg { transform: translateY(-2px); }
.tabs button:focus-visible { outline: 2px solid var(--brass-2); outline-offset: -8px; border-radius: 14px; }

/* The raised brass Add knob */
.tabs .tab-add .knob {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  color: #5a4012;
  background:
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.06) 0 1px, transparent 1px 3px), /* turned-metal rings */
    radial-gradient(circle at 35% 28%, #fff3c4, var(--brass-1) 22%, var(--brass-2) 58%, var(--brass-3) 100%);
  box-shadow:
    0 0 0 4px #24160d, 0 0 0 5px rgba(184,141,85,.5),     /* leather collar + stitch ring */
    inset 0 2px 1px rgba(255,255,255,.7), inset 0 -3px 4px rgba(0,0,0,.3),
    0 8px 16px rgba(0,0,0,.6);
  transition: transform .12s ease, box-shadow .12s ease;
}
.tabs .tab-add .knob svg { width: 28px; height: 28px; stroke-width: 1.9; filter: drop-shadow(0 1px 0 rgba(255,245,210,.7)); }
.tabs .tab-add:active .knob { transform: translateX(-50%) translateY(2px); box-shadow:
    0 0 0 4px #24160d, 0 0 0 5px rgba(184,141,85,.5), inset 0 3px 6px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.6); }
.tabs .tab-add.active .knob { box-shadow:
    0 0 0 4px #24160d, 0 0 0 5px rgba(243,220,154,.9), 0 0 18px rgba(243,220,154,.45),
    inset 0 2px 1px rgba(255,255,255,.7), inset 0 -3px 4px rgba(0,0,0,.3), 0 8px 16px rgba(0,0,0,.6); }
.tabs .tab-add.active::after { display: none; }
.tabs .tab-add.active .knob svg { filter: drop-shadow(0 1px 0 rgba(255,245,210,.7)); }

/* ---------- Scanner ---------- */
.scan-open { padding: 16px; font-size: 16px; margin-bottom: 14px; }
.or { margin: 18px 0 8px; }
.scanner {
  padding: 14px; border-radius: 12px; margin-bottom: 6px;
  background: radial-gradient(ellipse at top, #4a2f1f, var(--leather));
  box-shadow: inset 0 0 0 4px var(--leather), 0 8px 18px rgba(0,0,0,.5);
  outline: 1px dashed var(--stitch); outline-offset: -9px;
}
.modes { display: flex; padding: 3px; gap: 3px; margin: 0 0 10px; border-radius: 9px; background: #1a0f08; box-shadow: inset 0 2px 4px rgba(0,0,0,.6); }
.modes button { background: none; border: none; box-shadow: none; color: var(--muted); text-shadow: none; padding: 9px; font-size: 14px; }
.modes button.active { color: #4a3510; text-shadow: 0 1px 0 rgba(255,240,190,.7);
  background: linear-gradient(180deg, var(--brass-1), var(--brass-2)); box-shadow: 0 1px 3px rgba(0,0,0,.5); }
/* The viewfinder is framed like a camera's metal bezel. */
.viewfinder {
  position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #000;
  border: 6px solid #2b2b2b; box-shadow: inset 0 0 0 1px #000, 0 0 0 1px #555, 0 6px 14px rgba(0,0,0,.6);
}
.viewfinder video { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewfinder .guide {
  position: absolute; left: 10%; right: 10%; top: 25%; bottom: 25%; border-radius: 6px;
  box-shadow: 0 0 0 999px rgba(0,0,0,.45); border: 2px solid rgba(243,220,154,.85);
}
.viewfinder .laser {
  position: absolute; left: 4%; right: 4%; top: 50%; height: 2px; background: #ff3b30;
  box-shadow: 0 0 8px 2px rgba(255,59,48,.7); animation: sweep 1.6s ease-in-out infinite alternate;
}
@keyframes sweep { from { transform: translateY(-28px); } to { transform: translateY(28px); } }
.scan-status { margin: 10px 4px; color: var(--text); text-align: center; font-size: 14px; }
.scan-actions { display: flex; gap: 10px; }
.queue { margin: 6px 0 12px; }
.queue .movie { grid-template-columns: 40px 1fr auto; padding: 8px; }
.queue .movie img, .queue .movie .noposter { width: 40px; height: 60px; }
.queue .movie .title { font-size: 15px; }
.queue-actions { display: flex; gap: 6px; }
.queue-actions button { padding: 8px 10px; }
.queue .q-looking .meta { font-style: italic; }
.queue .q-owned, .queue .q-unknown, .queue .q-error { opacity: .85; }
.queue .q-unknown .meta, .queue .q-error .meta { color: #9a3a22; }

/* ---------- Collection toolbar ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; margin: -4px 0 10px; }
.chips { display: flex; flex: 1; padding: 3px; gap: 3px; border-radius: 9px; background: #1a0f08;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.6); overflow-x: auto; }
.chips button { flex: 1; white-space: nowrap; background: none; border: none; box-shadow: none; color: var(--muted);
  text-shadow: none; padding: 8px 6px; font-size: 13px; }
.chips button.active { color: #4a3510; text-shadow: 0 1px 0 rgba(255,240,190,.7);
  background: linear-gradient(180deg, var(--brass-1), var(--brass-2)); box-shadow: 0 1px 3px rgba(0,0,0,.5); }
select, textarea {
  font: inherit; color: var(--paper-ink); border-radius: 8px; border: 1px solid #6e4a28; padding: 9px 10px;
  background: linear-gradient(#efe4cc, var(--paper)); box-shadow: inset 0 2px 4px rgba(0,0,0,.2);
}
.toolbar select { flex: none; width: auto; font-size: 14px; padding: 8px 10px; }
textarea { width: 100%; resize: vertical; }

/* ---------- Detail card fields ---------- */
dialog.detail { max-height: calc(100vh - 32px); overflow: auto; }
.detail .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 0 18px 16px; }
.detail .fields label { color: var(--paper-muted); font-size: 13px; gap: 4px; }
.detail .fields .wide { grid-column: 1 / -1; }
.detail .fields select, .detail .fields input { width: 100%; }
.detail .actions button { padding: 12px 10px; }

/* ---------- Settings panels ---------- */
#view-settings h2 { margin-top: 24px; }
.panel {
  padding: 16px; border-radius: 10px; color: var(--text);
  background: radial-gradient(ellipse at top, #4a2f1f, var(--leather));
  box-shadow: inset 0 0 0 4px var(--leather), 0 8px 18px rgba(0,0,0,.5);
  outline: 1px dashed var(--stitch); outline-offset: -9px;
}
.panel p { margin: 0; }
.backup-when { color: var(--brass-1); }

/* ---------- TV seasons and box sets ---------- */
/* Box sets look like a stack of cases: extra spines peek out behind the front one. */
.case[data-kind="collection"] {
  box-shadow:
    inset 3px 0 0 rgba(255,255,255,.18), inset -1px 0 0 rgba(0,0,0,.4),
    -3px 0 0 -1px rgba(0,0,0,.5),
    4px -4px 0 -1px color-mix(in srgb, var(--case) 75%, #000),
    8px -8px 0 -2px color-mix(in srgb, var(--case) 55%, #000),
    10px 4px 10px rgba(0,0,0,.55), 0 2px 1px rgba(0,0,0,.6);
  overflow: visible; margin-right: 8px;
}
.case[data-kind="collection"] .cover, .case[data-kind="collection"] .band { position: relative; z-index: 1; }
.case[data-kind="collection"]::after { border-radius: 4px 5px 5px 4px; }
.case .sticker {
  position: absolute; z-index: 2; right: -4px; top: 22px; padding: 3px 6px 3px 7px;
  font: 800 8.5px/1 -apple-system, "Helvetica Neue", Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase;
  color: #3a1d00; border-radius: 3px 0 0 3px;
  background: linear-gradient(#ffe066, #f2b81c); box-shadow: -1px 1px 3px rgba(0,0,0,.45);
  transform: rotate(4deg);
}
.case[data-kind="tv"] .sticker { background: linear-gradient(#ff8a7a, #e0453a); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); }
.detail .parts { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--paper-ink); max-height: 7.5em; overflow: auto; }
.detail .parts:empty { display: none; }
