:root {
  --blue: #1d4486;
  --blue-dark: #142f5f;
  --blue-soft: #e8eef8;
  --red: #b01e2e;
  --red-soft: #fbe9eb;
  --gold: #f2c230;
  --gold-soft: #fdf6dc;
  --orange: #c45a17;
  --orange-soft: #fcebdf;
  --green: #2f7d4f;
  --green-soft: #e6f3eb;
  --ink: #1b2233;
  --muted: #5a6478;
  --line: #dfe4ee;
  --bg: #f6f8fc;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 47, 95, .06), 0 4px 14px rgba(20, 47, 95, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px; line-height: 1.45; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
h1, h2, h3 { font-family: "Fredoka", "Nunito Sans", sans-serif; line-height: 1.15; margin: 0; color: var(--blue-dark); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.08rem; font-weight: 600; }
a { color: var(--blue); font-weight: 700; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.wrap.wide { max-width: 1240px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lede { color: var(--muted); margin: 6px 0 16px; max-width: 46em; }
.spacer { flex: 1; }
[hidden] { display: none !important; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: var(--blue); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.top-row { display: flex; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 4px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.brand img { width: 36px; height: 36px; }
.brand b { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.15rem; display: block; line-height: 1.1; white-space: nowrap; }
.brand small { display: block; font-size: .78rem; color: #c9d5ea; font-weight: 600; }
.saved { margin-left: auto; font-size: .78rem; color: #c9d5ea; font-weight: 700; white-space: nowrap; }
.saved.err { color: #ffd2d6; }
.top-actions { display: flex; gap: 6px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  display: flex; align-items: center; gap: 7px; color: #dbe5f6; text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: 9px 12px 10px; border-bottom: 3px solid transparent; white-space: nowrap;
}
.tabs a i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; background: rgba(255,255,255,.16); }
.tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }
.tabs a[aria-current="page"] i { background: var(--gold); color: var(--blue-dark); }
.pill { background: var(--gold); color: var(--blue-dark); font-size: .72rem; font-weight: 800; border-radius: 99px; padding: 1px 7px; }
@media (max-width: 640px) {
  .top-actions .btn span { display: none; }
  .top-actions .btn { padding: 8px 10px; }
  .saved { display: none; }
  .top-actions { margin-left: auto; }
}

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; cursor: pointer;
  background: var(--blue); color: #fff; font: inherit; font-weight: 800; font-size: .92rem; padding: 9px 14px;
  border-radius: 10px; border: 0; min-height: 42px; white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); color: #fff; }
.btn-primary { background: var(--blue); }
.btn-gold { background: var(--gold); color: var(--blue-dark); }
.btn-gold:hover { background: #ffd34d; color: var(--blue-dark); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); }
.btn-quiet { background: var(--blue-soft); color: var(--blue); }
.btn-quiet:hover { background: #d6e1f3; color: var(--blue-dark); }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: #f6d3d7; color: var(--red); }
.btn-sm { min-height: 34px; padding: 6px 10px; font-size: .84rem; }
.btn:disabled { opacity: .55; cursor: wait; }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.icon-btn { background: transparent; border: 0; cursor: pointer; padding: 6px; border-radius: 9px; color: var(--muted); display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; }
.icon-btn:hover { background: var(--blue-soft); color: var(--blue); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn svg { width: 18px; height: 18px; }
input, select, textarea { font: inherit; color: var(--ink); }
input[type="text"], input[type="search"], input[type="date"], input:not([type]), select, textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; background: #fff; min-height: 40px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,68,134,.15); }
input::placeholder, textarea::placeholder { color: #8f98aa; }
textarea { resize: vertical; }
label { font-size: .86rem; font-weight: 700; color: var(--muted); }
label > input, label > textarea, label > select { margin-top: 4px; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; padding: 4px 0; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.inline { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.inline select { width: auto; min-height: 36px; margin: 0; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 4px; }
.page-title { font-size: 1.75rem; margin-top: 22px; }
.view-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.view-head .row-btns { margin-bottom: 16px; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------- import ---------- */
.drop {
  display: grid; justify-items: center; gap: 4px; text-align: center; cursor: pointer; padding: 34px 16px; margin-bottom: 12px;
  border: 2.5px dashed #aebbd4; border-radius: 18px; background: #fff; color: var(--muted); transition: all .15s;
}
.drop svg { width: 44px; height: 44px; color: var(--blue); stroke-width: 1.6; margin-bottom: 4px; }
.drop b { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--blue-dark); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:hover, .drop.over { border-color: var(--blue); background: var(--blue-soft); }
.drop:focus-within { box-shadow: 0 0 0 3px rgba(29,68,134,.25); }
.alt-starts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-left: 5px solid var(--gold); }
.resume b { display: block; font-size: 1.02rem; }
.mapping { margin: 6px 0 12px; }
.mapping summary { cursor: pointer; font-weight: 800; color: var(--blue); }
.map-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 10px; }
.filter { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.filter h3 { margin-bottom: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip-btn { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 12px; font: inherit; font-size: .84rem; font-weight: 700; color: var(--muted); cursor: pointer; }
.chip-btn:hover { border-color: var(--blue); color: var(--blue); }
.chip-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.date-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.date-row label { flex: 1; min-width: 150px; }
.import-summary { background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 10px 0 14px; font-size: .94rem; }
.import-summary b { color: var(--blue-dark); }
.import-summary .warn { color: #8a5a00; }
.help summary { cursor: pointer; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.08rem; color: var(--blue-dark); }
.help ol { margin: 10px 0 6px; padding-left: 20px; }
.help li { margin-bottom: 6px; }
.privacy { display: flex; align-items: center; gap: 8px; margin: 4px 0 40px; }
.privacy svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- review ---------- */
.attention { background: var(--gold-soft); border: 1px solid #f0dc95; color: #6b4d00; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: .94rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.attention b { color: #5a4000; }
.den-sec { margin-bottom: 22px; }
.den-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.den-head h2 { font-size: 1.25rem; }
.den-dot { width: 16px; height: 16px; border-radius: 4px; transform: rotate(45deg); flex-shrink: 0; }
.den-head .muted { font-size: .88rem; font-weight: 700; }
.scouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.scout { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; border-top: 5px solid var(--den, var(--blue)); display: flex; flex-direction: column; gap: 8px; }
.scout.off { opacity: .55; }
.scout-top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; align-items: center; }
.scout-top input { min-height: 36px; padding: 5px 8px; font-weight: 800; }
.scout-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.scout-meta select { width: auto; min-height: 34px; padding: 3px 8px; font-size: .88rem; }
.scout-meta .flag { font-size: .76rem; font-weight: 800; color: #8a5a00; background: var(--gold-soft); border-radius: 99px; padding: 2px 8px; }
.scout-meta .flag.bad { color: var(--red); background: var(--red-soft); }
.scout-meta label.check { font-size: .84rem; margin-left: auto; padding: 0; }
.awards { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.award {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: var(--bg); border: 1.5px solid transparent; border-radius: 10px;
  padding: 4px 8px 4px 4px; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 44px;
}
.award:hover { border-color: #b8c6e0; background: #fff; }
.award .thumb { width: 30px; height: 36px; object-fit: contain; flex-shrink: 0; border-radius: 4px; background: #fff; }
.award .thumb.tile { display: grid; place-items: center; font-size: .62rem; font-weight: 800; color: #fff; text-align: center; line-height: 1; padding: 2px; overflow: hidden; }
.award .nm { flex: 1; min-width: 0; }
.award .src { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.award .st { font-size: .7rem; font-weight: 800; border-radius: 99px; padding: 1px 7px; white-space: nowrap; }
.award.s-none { border-color: #f1b8bf; background: var(--red-soft); }
.award.s-none .st { background: var(--red); color: #fff; }
.award.s-fuzzy { border-color: #f0dc95; background: var(--gold-soft); }
.award.s-fuzzy .st { background: #e3b11a; color: #3d2c00; }
.add-award { justify-self: start; }

/* ---------- slides / outline ---------- */
.meeting summary { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; }
.meeting summary::-webkit-details-marker { display: none; }
.meeting summary::before { content: ""; width: 8px; height: 8px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); transition: transform .2s; align-self: center; margin-right: 2px; }
.meeting[open] summary::before { transform: rotate(45deg); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 14px; margin-top: 12px; }
.form-grid .span2 { grid-column: 1 / -1; }
.toggles { display: grid; gap: 2px; margin-top: 12px; }
.arrange { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .arrange { grid-template-columns: minmax(0, 1fr); } .preview-col { order: -1; } }
.outline-tools { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.outline-tools .muted { margin-right: auto; font-weight: 700; }
.outline { list-style: none; margin: 0 0 40px; padding: 0; }
.o-row {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 6px 6px 6px 10px;
  border-left: 6px solid var(--c, var(--blue)); min-height: 48px; cursor: pointer;
}
.o-row:hover { box-shadow: 0 0 0 2px #c3d0e8, var(--shadow); }
.o-row.sel { box-shadow: 0 0 0 2.5px var(--blue), var(--shadow); }
.o-row .o-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--bg); color: var(--blue); flex-shrink: 0; }
.o-row .o-ico svg { width: 16px; height: 16px; }
.o-row .o-main { flex: 1; min-width: 0; }
.o-row .o-t { font-weight: 800; font-size: .94rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.o-row .o-s { font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.o-row .o-btns { display: flex; gap: 0; flex-shrink: 0; }
.o-row.den { background: var(--c); color: #fff; border-left-color: var(--c); }
.o-row.den .o-s { color: rgba(255,255,255,.85); }
.o-row.den.light { color: var(--ink); }
.o-row.den.light .o-s { color: rgba(0,0,0,.65); }
.o-row.den .o-ico { background: rgba(255,255,255,.25); color: inherit; }
.o-row.den .icon-btn { color: inherit; }
.o-row.den .icon-btn:hover { background: rgba(255,255,255,.2); }
.o-row.scout { margin-left: 18px; min-height: 42px; box-shadow: none; border: 1px solid var(--line); border-left: 4px solid var(--c); }
.o-row.custom { border-left-style: dashed; background: #fffdf5; }
.o-row.custom .o-ico { background: var(--gold-soft); color: #8a6500; }
.o-row.dragging { opacity: .4; }
.o-row .grip { cursor: grab; color: #9aa6bd; display: grid; place-items: center; margin-left: -4px; }
.o-row .grip svg { width: 16px; height: 16px; }
.o-gap { position: relative; height: 14px; display: flex; align-items: center; }
.o-gap.indent { margin-left: 18px; }
.o-gap .add {
  position: relative; z-index: 1; margin: 0 auto; opacity: 0; transition: opacity .15s; border: 1.5px dashed #9fb1d3; background: var(--bg);
  color: var(--blue); font: inherit; font-size: .76rem; font-weight: 800; border-radius: 99px; padding: 1px 10px; cursor: pointer;
}
.o-gap:hover .add, .o-gap .add:focus-visible, .o-gap.always .add { opacity: 1; }
.o-gap.always { height: 34px; }
@media (hover: none) { .o-gap .add { opacity: 1; } .o-gap { height: 30px; } }
.o-gap::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 0; border-top: 3px solid transparent; border-radius: 3px; }
.o-gap.drop-on::before { border-top-color: var(--gold); }
.o-gap.drop-on { height: 30px; }
.o-row.drop-before { box-shadow: 0 -4px 0 0 var(--gold), var(--shadow); }
.o-group-head { margin-top: 2px; }
.preview-col { position: sticky; top: 112px; display: grid; gap: 14px; }
@media (max-width: 900px) { .preview-col { position: static; } }
.preview-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.preview { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #e9edf5; overflow: hidden; }
.preview-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; flex-wrap: wrap; }
.preview-bar #preview-label { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-nav { display: flex; align-items: center; gap: 2px; }
.backup h3 { margin-bottom: 2px; }

/* ---------- slide rendering (render.js) ---------- */
.sl-frame { position: relative; overflow: hidden; }
.sl { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; }
.sl-el { position: absolute; }
.sl-text { display: flex; flex-direction: column; padding: 0.1in; line-height: 1.18; white-space: pre-wrap; overflow: hidden; word-wrap: break-word; }
.sl-img img { width: 100%; height: 100%; display: block; }
.sl-diamond, .sl-diamond-in { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.sl-diamond-in { position: absolute; display: flex; flex-direction: column; justify-content: center; padding: 0 12%; }
.sl-bullets { padding: 0.1in; line-height: 1.18; overflow: hidden; }
.sl-bullets ul { margin: 0; padding-left: 1.05em; }
.sl-bullets li { margin-bottom: .4em; padding-left: .15em; }
.sl-bullets li::marker { color: var(--b); }

/* ---------- dialogs ---------- */
.dlg {
  border: 0; padding: 0; border-radius: 18px; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3); background: var(--bg); color: var(--ink);
}
.dlg-wide { width: min(1100px, calc(100vw - 24px)); }
.dlg[open] { display: flex; }
.dlg::backdrop { background: rgba(20, 30, 50, .55); }
.dlg-inner { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 24px); }
.dlg-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.dlg-head h2 { flex: 1; min-width: 0; font-size: 1.2rem; }
.dlg-body { overflow-y: auto; padding: 14px 16px; flex: 1; }
.dlg-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); }
.dlg-foot:empty { display: none; }
@media (max-width: 640px) {
  .dlg, .dlg-wide { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .dlg-inner { max-height: 100dvh; }
}
.picker-src { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-size: .9rem; border: 1px solid var(--line); }
.picker-src .row-btns { margin-top: 8px; }
.picker-src input { margin-top: 6px; }
.picker-list { margin-top: 10px; display: grid; gap: 4px; }
.picker-list h4 { margin: 10px 0 2px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pick { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 4px 10px 4px 4px; font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; min-height: 44px; color: var(--ink); }
.pick:hover, .pick:focus-visible { border-color: var(--blue); outline: none; }
.pick img, .pick .tile { width: 30px; height: 36px; object-fit: contain; flex-shrink: 0; border-radius: 4px; }
.pick .tile { display: grid; place-items: center; color: #fff; font-size: .6rem; font-weight: 800; }
.pick .req { margin-left: auto; font-size: .7rem; color: var(--muted); font-weight: 700; }
.custom-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
@media (max-width: 820px) { .custom-body { grid-template-columns: 1fr; } .custom-preview { order: -1; } }
.custom-fields { display: grid; gap: 12px; }
.custom-preview { position: sticky; top: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #fff; border-radius: 12px; padding: 4px; box-shadow: var(--shadow); }
@media (max-width: 480px) { .seg { grid-template-columns: repeat(2, 1fr); } }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; text-align: center; min-height: 38px; padding: 4px 6px; border-radius: 9px; font-size: .84rem; font-weight: 800; color: var(--muted); cursor: pointer; line-height: 1.1; }
.seg input:checked + span { background: var(--blue); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(29,68,134,.3); }
.lbl { display: block; font-size: .86rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 38px; height: 38px; border-radius: 10px; border: 2px solid var(--line); cursor: pointer; position: relative; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--blue); }
.lib-list { display: grid; gap: 8px; }
.lib-item { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
.lib-item .preview { width: 128px; flex-shrink: 0; border-radius: 6px; }
.lib-item .lib-main { flex: 1; min-width: 0; }
.lib-item b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-item .row-btns { margin-top: 6px; }

.add-menu { position: absolute; z-index: 60; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.2); padding: 6px; display: grid; min-width: 220px; }
.add-menu button { text-align: left; background: transparent; border: 0; font: inherit; font-weight: 700; font-size: .92rem; padding: 9px 12px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.add-menu button:hover, .add-menu button:focus-visible { background: var(--blue-soft); color: var(--blue); outline: none; }

/* ---------- slideshow ---------- */
.show { position: fixed; inset: 0; z-index: 100; background: #000; }
.show-stage { position: absolute; inset: 0; }
.show-ui {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px;
  background: rgba(20,20,30,.72); color: #fff; border-radius: 99px; padding: 4px 8px; font-weight: 700; font-size: .9rem; transition: opacity .3s;
}
.show-ui.idle { opacity: 0; }
.show-btn { background: transparent; border: 0; color: #fff; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.show-btn:hover { background: rgba(255,255,255,.15); }
.show.idle-cursor { cursor: none; }

.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: .92rem; z-index: 120; box-shadow: 0 8px 24px rgba(0,0,0,.25); max-width: calc(100vw - 32px); }
