/* Content OS. Style: DESIGN.md (Futuristic Dashboard Interface), locked by Ralph 10/21/2026.
   Grid: wrap 1280 max; rows split 7fr/5fr or 3 equal, one 16px gap. Cards: surface, 1px border, radius 16, no shadow. */
:root {
  --bg: #030508; --surface: #18181b; --raised: #222226; --border: #27272a; --rule: #232326; --control: #3f3f46;
  --text: #ffffff; --muted: #a1a1aa; --faint: #8e8e96;
  --accent: #2dd4bf; --accent-2: #3b82f6; --on-accent: #031512;
  --positive: #2dd4bf; --tint: #0f2724; --tint-2: #121c2e;
}
:root {
  color-scheme: dark;
  --font: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
  --gap: 16px; --pad: 24px; --r-card: 16px; --r-ctl: 8px; --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol, ul, table { margin: 0; padding: 0; }
ol, ul { list-style: none; }
body { min-height: 100svh; background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
html { scrollbar-color: var(--control) var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 500; }
table, .stage .val, .comp .n { font-variant-numeric: tabular-nums; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
main.wrap { padding: 32px 0 56px; }
i.ph { font-size: 16px; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border); }
.bar-in { display: flex; align-items: center; gap: 16px; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: none; }
.mark { width: 20px; height: 20px; fill: var(--accent); }
.mark rect:nth-child(3) { fill: var(--accent-2); }
.scope { color: var(--muted); font-size: 14px; }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--positive); }
.status.off .dot { background: #e5566f; }

/* ---------- title ---------- */
.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
h1 { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.sub { margin-top: 6px; font-size: 16px; color: var(--muted); }
.sub b { color: var(--text); font-weight: 600; }
.sub .link { margin-left: 8px; }
.stamp { font-size: 12px; color: var(--faint); white-space: nowrap; }

/* ---------- cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--pad); min-width: 0; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; margin-bottom: 16px; }
h2 { font-size: 16px; line-height: 1.3; font-weight: 600; }
.meta { font-size: 13px; color: var(--muted); white-space: nowrap; }
.row { display: grid; gap: var(--gap); margin-top: var(--gap); }
.r-work, .r-watch { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.r-setup { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cal { margin-top: var(--gap); }
.link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 14px; font-weight: 500; cursor: pointer; text-underline-offset: 3px; }
.link:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--control); background: transparent; color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; transition: transform .15s var(--ease), background-color .15s, border-color .15s; }
.btn:hover:not(:disabled) { background: var(--raised); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.btn.primary:hover:not(:disabled) { background: var(--accent); filter: brightness(1.08); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn:disabled { color: var(--faint); border-color: var(--border); cursor: not-allowed; }
.field { width: 100%; height: 40px; padding: 0 14px; border-radius: var(--r-ctl); border: 1px solid var(--control); background: var(--bg); }
textarea.field { height: auto; padding: 10px 14px; line-height: 1.5; resize: vertical; }
.field::placeholder { color: var(--faint); }
.field:focus { outline: none; border-color: var(--accent); }
.hint { min-height: 20px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 9999px; font-size: 12px; font-weight: 500; white-space: nowrap; flex: none; background: var(--raised); color: var(--text); }
.tag.ac { background: var(--tint); color: var(--accent); }
.tag.ok { background: color-mix(in srgb, var(--positive) 16%, var(--surface)); color: var(--positive); }

/* ---------- engine: the pipeline drawn live behind its five stages ---------- */
.engine { overflow: hidden; padding-bottom: 28px; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.engine-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.engine h2 { font-size: 20px; letter-spacing: -.01em; }
.now { margin-top: 4px; max-width: 64ch; color: var(--muted); }
.stages { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: 96px; }
.stage { padding-top: 8px; }
.stage .name { font-weight: 600; }
.stage .val { display: block; margin-top: 2px; font-family: var(--mono); font-size: 13px; color: var(--text); }
.stage .what { display: block; font-size: 13px; color: var(--muted); }

/* ---------- studio ---------- */
.pager { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-ctl); border: 1px solid var(--control); background: transparent; color: var(--text); cursor: pointer; }
.icon-btn:hover:not(:disabled) { background: var(--raised); }
.icon-btn:disabled { color: var(--faint); border-color: var(--border); cursor: not-allowed; }
.slotline { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.parts { display: grid; gap: 8px; }
.part { padding: 14px 16px; border-radius: 12px; background: var(--raised); }
.part h3 { margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.part p { white-space: pre-line; }
.part.hook p { font-size: 18px; line-height: 1.45; font-weight: 600; }
.src { margin-top: 14px; font-size: 13px; color: var(--muted); }
.src b { color: var(--text); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rewrite { display: grid; gap: 8px; margin-top: 12px; }
.done-state { display: grid; place-items: center; gap: 8px; min-height: 240px; text-align: center; color: var(--muted); }
.done-state i.ph { font-size: 28px; color: var(--positive); }

/* ---------- lists ---------- */
.list > li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.list > li + li { border-top: 1px solid var(--rule); }
.ideas-card, .r-watch .card { display: flex; flex-direction: column; }
.foot-link { margin-top: auto; padding-top: 12px; align-self: flex-start; }
.score { width: 40px; flex: none; font-family: var(--mono); font-size: 16px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.li-body { flex: 1; min-width: 0; }
.li-body b { display: block; font-weight: 500; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-body .s { display: block; font-size: 13px; color: var(--muted); }

th { height: 36px; padding: 0 0 0 12px; text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px 0 12px 12px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
th:first-child, td:first-child { padding-left: 0; }
tbody tr:last-child td { border-bottom: 0; }
table { width: 100%; border-collapse: collapse; }
.n { text-align: right; }
td .s { display: block; font-size: 13px; color: var(--muted); }
.trend { width: 72px; height: 24px; display: block; }
.trend polyline { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.trend.up polyline { stroke: var(--accent); }

.feed li { align-items: baseline; }
.feed .t { width: 64px; flex: none; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.feed .you .x { color: var(--accent); }
.cmd { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }

.offer-name { font-size: 18px; font-weight: 600; }
.offer-who { margin-top: 4px; color: var(--muted); }
.kv { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--raised); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.offer-form { display: grid; gap: 12px; }
.offer-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.acc-ic { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--r-ctl); background: var(--raised); color: var(--text); }
.edit-ic { width: 32px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--raised); color: var(--muted); }

/* ---------- calendar ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sw { width: 12px; height: 12px; border-radius: 3px; background: var(--raised); border: 1px solid transparent; }
.sw.approved { background: var(--accent); }
.sw.waiting { border-color: var(--accent); background: transparent; }
.sw.empty { border: 1px dashed var(--control); background: transparent; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day h3 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.day h3 .d { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--faint); }
.day.today h3 { color: var(--accent); }
.slots { display: grid; gap: 8px; }
.slot { display: grid; align-content: start; gap: 4px; height: 96px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: var(--raised); text-align: left; color: var(--text); }
button.slot { cursor: pointer; transition: transform .15s var(--ease), border-color .15s; }
button.slot:hover { transform: translateY(-2px); }
.slot .when { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.slot .what { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.4; }
.slot .state { font-size: 12px; font-weight: 500; color: var(--muted); }
.slot.approved { background: var(--accent); color: var(--on-accent); }
.slot.approved .when, .slot.approved .state { color: var(--on-accent); }
.slot.waiting { background: var(--surface); border-color: var(--accent); }
.slot.waiting .state { color: var(--accent); }
.slot.current { outline: 2px solid var(--text); outline-offset: 2px; }
.slot.empty { background: transparent; border: 1px dashed var(--control); place-content: center; text-align: center; font-size: 13px; color: var(--muted); }
.foot { margin-top: 24px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- tablet and phone ---------- */
@media (max-width: 1100px) {
  .r-work, .r-watch { grid-template-columns: minmax(0, 1fr); }
  .r-setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-setup .card:last-child { grid-column: 1 / -1; }
  .week { grid-template-columns: minmax(0, 1fr); }
  .day { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .day h3 { flex-direction: column; justify-content: flex-start; gap: 0; }
  .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scope { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  main.wrap { padding-top: 20px; }
  .bar-in { height: auto; min-height: 56px; flex-wrap: wrap; padding: 8px 0; row-gap: 8px; }
  .title-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card { padding: 20px 16px; }
  .head { flex-wrap: wrap; }
  .engine-head { flex-direction: column; gap: 4px; }
  .stages { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 20px; padding-left: 36px; }
  .r-setup { grid-template-columns: minmax(0, 1fr); }
  .day { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .day h3 { flex-direction: row; justify-content: space-between; }
  .slots { grid-template-columns: minmax(0, 1fr); }
  .slot { height: auto; min-height: 64px; }
  .actions .btn { flex: 1; min-height: 44px; }
  th:nth-child(3), td:nth-child(3), th:nth-child(2), td:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
/* round 2 fixes from the inspector screenshots */
.slot { height: 112px; }
.engine .meta { white-space: normal; text-align: right; }
@media (max-width: 760px) {
  .engine .meta { text-align: left; }
  .li-body b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .slot { height: auto; }
}

/* ---------- DESIGN.md exceptions (Ralph, 10/21: DESIGN.md wins over the house rules; logged in design/README.md) ---------- */
main.wrap { padding: 80px 0; }                                        /* section-padding 80px */
h1 { font-size: 64px; line-height: 1.04; font-weight: 500; letter-spacing: 0; }   /* display-lg */
.title-row { margin-bottom: 40px; }
.sub { margin-top: 14px; }
/* label-md: JetBrains Mono 12/600/1.2 for labels and technical metadata */
.part h3, th, .legend, .meta, .stamp, .stage .name, .day h3 .d, .feed .t, .slot .when, .tag, .score {
  font-family: var(--mono); font-size: 12px; font-weight: 600; line-height: 1.2;
}
.stage .name { display: block; margin-bottom: 6px; color: var(--muted); }
.stage .val { font-size: 15px; font-family: var(--font); font-weight: 600; }
.score { font-size: 15px; }
/* cards: subtle border plus shadow depth, and a hover lift */
.card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 40px -24px rgba(0, 0, 0, .8); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.card:hover { transform: translateY(-2px); border-color: var(--control); }
/* atmosphere behind the engine: an accent bloom under the live pipeline canvas */
.engine { background: radial-gradient(120% 140% at 15% 0%, color-mix(in srgb, var(--accent) 14%, var(--surface)) 0%, var(--surface) 55%); }
body { background: radial-gradient(1200px 500px at 50% -180px, color-mix(in srgb, var(--accent) 9%, var(--bg)), var(--bg) 70%) no-repeat, var(--bg); }
/* masked reveal on the headline, staggered entrance on cards, triggered on scroll. Only with JS, so content never stays hidden */
h1 { overflow: hidden; padding-bottom: .06em; }
h1 .m { display: inline-block; }
.js h1 .m { transform: translateY(105%); transition: transform .9s var(--ease); }
.js h1.in .m { transform: none; }
.js .card.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .35s, box-shadow .35s; transition-delay: var(--d, 0ms); }
.js .card.rv.in { opacity: 1; transform: none; }
.js .card.rv.in:hover { transform: translateY(-2px); transition-delay: 0ms; }
@media (max-width: 760px) { h1 { font-size: clamp(40px, 11vw, 64px); } main.wrap { padding: 40px 0 56px; } }
@media (prefers-reduced-motion: reduce) { .js h1 .m, .js .card.rv { opacity: 1; transform: none; } }

/* ---------- full width (Carrington, 10/21: "expanded so it can take the full screen") ---------- */
.wrap { width: min(1920px, 100% - 64px); }
@media (max-width: 760px) { .wrap { width: calc(100% - 32px); } }

/* ---------- first run: setup card and empty states ---------- */
.setup { margin-bottom: var(--gap); }
.track { height: 6px; border-radius: 9999px; background: var(--raised); overflow: hidden; margin-bottom: 8px; }
.track i { display: block; height: 100%; background: var(--accent); border-radius: 9999px; transition: width .6s var(--ease); }
.steps > li { padding: 14px 0; }
.steps > li + li { border-top: 1px solid var(--rule); }
.step-row { display: flex; align-items: center; gap: 14px; }
.step-ic { width: 24px; flex: none; color: var(--faint); font-size: 20px; }
.step.ok .step-ic { color: var(--positive); }
.step-ic i.ph { font-size: 20px; }
.step-form { display: grid; gap: 12px; max-width: 560px; margin: 14px 0 4px 38px; }
.step-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.step-form .hint { margin: 0; min-height: 0; }
.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
select.field { appearance: none; padding-right: 36px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5l3-3' fill='none' stroke='%23a1a1aa' stroke-width='1.5'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.err { flex-basis: 100%; min-height: 0; color: #f0717f; font-size: 13px; }
.err:empty { display: none; }
.blank { display: grid; justify-items: start; gap: 12px; padding: 18px 20px; border: 1px dashed var(--control); border-radius: 12px; color: var(--muted); }
.blank p { max-width: 60ch; }
.list > li.empty-row { display: block; padding: 0; border: 0; }
td .blank { margin: 4px 0; }
.dash { color: var(--faint); }
.s.warn { color: #f5b75a; }
.status.idle .dot { background: var(--faint); }
@media (max-width: 760px) { .step-form { margin-left: 0; } .times { grid-template-columns: minmax(0, 1fr); } }
.r-work { align-items: start; }

/* setup steps as four tiles; the open step's form sits under them */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 16px; }
.steps > li, .steps > li + li { display: grid; align-content: start; justify-items: start; gap: 10px; padding: 16px; border: 1px solid transparent; border-radius: 12px; background: var(--raised); }
.steps > li.open { border-color: var(--accent); }
.steps .li-body b { white-space: normal; }
#setup-form .step-form { margin: 20px 0 0; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.open-line { display: none; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .day.all-open .slots { display: none; }
  .day.all-open .open-line { display: block; padding: 10px 12px; border: 1px dashed var(--control); border-radius: 12px; }
}

.engine-side { display: grid; justify-items: end; gap: 10px; }
@media (max-width: 760px) { .engine-side { justify-items: start; } }
.checks { margin-top: 10px; }
.checks ul { margin: 4px 0 0; padding-left: 18px; list-style: disc; color: var(--muted); font-size: 13px; }

/* run button spinner */
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--on-accent) 30%, transparent); border-top-color: var(--on-accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-top-color: color-mix(in srgb, var(--on-accent) 30%, transparent); } }
#run-btn[aria-busy="true"] { cursor: progress; opacity: 1; color: var(--on-accent); background: var(--accent); border-color: var(--accent); }

/* competitor tags */
.tag-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags:empty { display: none; }
.tag-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 6px 0 12px; border-radius: 9999px; background: var(--raised); font-size: 14px; }
.tag-chip .pf-mark { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--muted); }
.tag-chip button { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.tag-chip button:hover { background: var(--control); color: var(--text); }
@media (max-width: 760px) { .tag-row { grid-template-columns: minmax(0, 1fr) auto; } .tag-row .pf { grid-column: 1 / -1; } }

/* script lines with timestamps */
.beats { display: grid; gap: 6px; }
.beats li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
.beats .t { color: var(--faint); font-size: 12px; padding-top: 3px; }
label.inline { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
label.inline .field { width: auto; }

.steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1300px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.head-end { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }


.hook-pick { display: grid; gap: 6px; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.edit-row { align-items: flex-start !important; }
.edit-video { display: block; width: 100%; max-width: 220px; margin-top: 10px; border-radius: 10px; background: #000; }

/* public preview (offer page) */
.preview-banner { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; padding: 10px 14px; border-radius: var(--r-ctl); background: var(--tint); color: var(--accent); font-size: 14px; font-weight: 500; }
.preview-note { position: fixed; left: 50%; bottom: 24px; z-index: 30; translate: -50% 12px; opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: var(--r-ctl);
  background: var(--raised); border: 1px solid var(--control); color: var(--text); font-size: 14px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .8); transition: opacity .2s, translate .2s var(--ease); }
.preview-note.show { opacity: 1; translate: -50% 0; }
