/* CDF CMS — premium editorial design system.
   Warm-dark by default; light via prefers-color-scheme + [data-theme]. */
:root {
  --ink: #17130f; --panel: #211a14; --panel-2: #2a2119; --panel-3: #322619;
  --line: #3a2f24; --line-2: #4a3c2c;
  --text: #efe6d8; --muted: #a5947f; --faint: #7d6e5c;
  --gold: #b98a35; --gold-hi: #e8b478; --gold-dim: #8a6626;
  --ok: #43a07c; --warn: #c9822e; --risk: #b8535a;
  --chip-ink: #17130f;
  --r: 8px; --r-sm: 5px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ui: -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ink: #f4efe6; --panel: #fffdf8; --panel-2: #f6efe2; --panel-3: #efe6d4;
    --line: #e0d4bf; --line-2: #d2c3a8;
    --text: #2a2118; --muted: #6f6052; --faint: #948467;
    --gold: #9a6f1f; --gold-hi: #7d5a17; --gold-dim: #b08a3e;
    --ok: #2e7d5d; --warn: #a3641a; --risk: #a03e46; --chip-ink: #fffdf8;
  }
}
:root[data-theme="light"] {
  --ink: #f4efe6; --panel: #fffdf8; --panel-2: #f6efe2; --panel-3: #efe6d4;
  --line: #e0d4bf; --line-2: #d2c3a8;
  --text: #2a2118; --muted: #6f6052; --faint: #948467;
  --gold: #9a6f1f; --gold-hi: #7d5a17; --gold-dim: #b08a3e;
  --ok: #2e7d5d; --warn: #a3641a; --risk: #a03e46; --chip-ink: #fffdf8;
}
* { box-sizing: border-box; }
/* the [hidden] attribute must beat component display rules (.menu-scrim,
   .preview, .toast all set their own display) */
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 14px/1.55 var(--ui); -webkit-font-smoothing: antialiased; }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }

.app { display: grid; grid-template-columns: 264px 1fr; height: 100vh; overflow: hidden; }
.app.has-preview { grid-template-columns: 264px 1fr minmax(320px, 40vw); }

/* ---------- sidebar ---------- */
.side { background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.brand { display: flex; align-items: center; gap: 11px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.seal { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold-dim); color: var(--gold-hi); font: 600 11px/1 var(--mono); flex: 0 0 auto; }
.brand-tx { display: flex; flex-direction: column; line-height: 1.2; }
.brand-tx b { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.brand-tx span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--faint); }
.nav { display: flex; flex-direction: column; padding: 8px; gap: 1px; overflow-y: auto; }
.nav-sep { padding: 12px 18px 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 0; color: var(--muted); font: 500 13.5px/1 var(--ui); padding: 9px 11px; border-radius: var(--r-sm); cursor: pointer; }
.nav-item .ic { color: var(--faint); font-size: 13px; width: 15px; text-align: center; flex: 0 0 auto; }
.nav-item:hover { background: var(--panel-2); color: var(--text); }
.nav-item.cur { background: var(--panel-3); color: var(--text); box-shadow: inset 2px 0 0 var(--gold); }
.nav-item .dot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.nav-item .dot.changed { background: var(--warn); }
.nav-item .dot.published { background: var(--ok); }
.side-foot { margin-top: auto; padding: 12px; border-top: 1px solid var(--line); }

/* ---------- editor ---------- */
.editor { overflow-y: auto; min-width: 0; }
.ed-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 26px 32px 18px; background: linear-gradient(var(--ink) 70%, transparent); border-bottom: 1px solid var(--line); }
.ed-eyebrow { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-hi); font-weight: 600; }
.ed-title { font-size: 27px; font-weight: 500; margin: 5px 0 3px; line-height: 1.1; }
.ed-sub { font-size: 12.5px; color: var(--faint); font-family: var(--mono); }
.ed-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.sections { padding: 20px 32px 120px; display: flex; flex-direction: column; gap: 12px; max-width: 860px; }

/* section card */
.sec { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sec-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; user-select: none; }
.sec-h .tico { width: 26px; height: 26px; border-radius: var(--r-sm); background: var(--panel-3); display: grid; place-items: center; color: var(--gold-hi); font-size: 13px; flex: 0 0 auto; }
.sec-h .titles { min-width: 0; flex: 1; }
.sec-h .titles b { font-weight: 600; font-size: 13.5px; display: block; }
.sec-h .titles span { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.sec-h .sec-acts { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.icon-btn { width: 28px; height: 28px; border: 0; background: transparent; color: var(--faint); border-radius: var(--r-sm); cursor: pointer; font-size: 14px; line-height: 1; }
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.icon-btn.danger:hover { color: var(--risk); }
.icon-btn[disabled] { opacity: .3; cursor: default; }
.sec-h .chev { color: var(--faint); font-size: 11px; transition: transform .15s; }
.sec.open .chev { transform: rotate(90deg); }
.sec-b { border-top: 1px solid var(--line); padding: 14px 16px 18px; display: none; flex-direction: column; gap: 14px; }
.sec.open .sec-b { display: flex; }

/* fields */
.fld { display: flex; flex-direction: column; gap: 5px; }
.fld > label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.fld input[type=text], .fld input[type=url], .fld textarea {
  width: 100%; background: var(--ink); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 8px 10px; font: 13.5px/1.5 var(--ui); resize: vertical; }
.fld textarea { min-height: 62px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 22%, transparent); }
.fld.image input, .fld.video input { font-family: var(--mono); font-size: 12px; }
.fld .hint { font-size: 10.5px; color: var(--faint); }
.fld .media-prev { margin-top: 4px; height: 74px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--panel-3) center/cover no-repeat; display: grid; place-items: center; color: var(--faint); font-size: 11px; }

/* list editor */
.lst { border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 10px; display: flex; flex-direction: column; gap: 10px; background: var(--panel-2); }
.lst-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; display: flex; flex-direction: column; gap: 9px; position: relative; }
.lst-item .li-h { display: flex; align-items: center; justify-content: space-between; }
.lst-item .li-h span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.lst .add-item { align-self: flex-start; }

/* buttons + chips */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); border-radius: var(--r-sm); padding: 7px 13px; font: 600 12.5px/1 var(--ui); cursor: pointer; }
.btn:hover { border-color: var(--gold-dim); }
.btn.pri { background: var(--gold); color: var(--chip-ink); border-color: var(--gold); }
.btn.pri:hover { background: var(--gold-hi); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 11.5px; }
.chip { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 3px; padding: 3px 8px; background: var(--panel-3); color: var(--muted); }
.chip.published { background: var(--ok); color: var(--chip-ink); }
.chip.changed { background: var(--warn); color: var(--chip-ink); }

/* preview */
.preview { background: var(--panel); border-left: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.pv-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.pv-body { overflow-y: auto; padding: 8px; }
.pv-sec { border-bottom: 1px solid var(--line); padding: 18px 16px; }
.pv-sec .pv-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-hi); }
.pv-sec h3 { font-family: var(--serif); font-weight: 500; margin: 4px 0 6px; font-size: 20px; }
.pv-sec p { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.pv-img { height: 120px; border-radius: var(--r-sm); background: var(--panel-3) center/cover no-repeat; margin: 8px 0; display: grid; place-items: center; color: var(--faint); font: 11px var(--mono); }
.pv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pv-card { background: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px; font-size: 12px; }
.pv-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pv-btn { font-size: 11px; border: 1px solid var(--gold-dim); color: var(--gold-hi); border-radius: 99px; padding: 3px 11px; }

/* add-section menu */
.menu-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: grid; place-items: center; z-index: 40; padding: 20px; }
.menu-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; width: min(560px, 100%); }
.menu-h { font-family: var(--serif); font-size: 19px; margin-bottom: 14px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 14px; }
.menu-opt { display: flex; align-items: center; gap: 9px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px; cursor: pointer; text-align: left; color: var(--text); font: 500 12.5px/1.2 var(--ui); }
.menu-opt:hover { border-color: var(--gold); }
.menu-opt .mico { color: var(--gold-hi); font-size: 15px; }

/* per-section diff markers (Phase 3) */
.sec-mark { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 3px; padding: 2px 7px; margin-right: 4px; flex: 0 0 auto; }
.sec-mark.changed { background: var(--warn); color: var(--chip-ink); }
.sec-mark.new { background: var(--ok); color: var(--chip-ink); }
.sec.is-changed { box-shadow: inset 3px 0 0 var(--warn); }
.sec.is-new { box-shadow: inset 3px 0 0 var(--ok); }
.btn.danger { border-color: var(--risk); color: var(--risk); }

/* preview draft/published toggle */
.pv-seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.pv-seg button { background: transparent; border: 0; color: var(--muted); font: 600 11px/1 var(--ui); padding: 6px 12px; cursor: pointer; }
.pv-seg button.on { background: var(--gold); color: var(--chip-ink); }

/* revision history */
.hist-sub { font-family: var(--ui); font-size: 11px; color: var(--faint); font-weight: 400; letter-spacing: 0; text-transform: none; margin-left: 8px; }
.hist-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; max-height: 56vh; overflow-y: auto; }
.hist-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.hist-when b { font-size: 13px; display: block; }
.hist-when span { font-size: 11px; color: var(--faint); }

/* import modal (Phase 5) */
.imp-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 14px; }
.imp-tabs button { background: transparent; border: 0; color: var(--muted); font: 600 12px/1 var(--ui); padding: 8px 14px; cursor: pointer; }
.imp-tabs button.on { background: var(--gold); color: var(--chip-ink); }
.imp-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; max-height: 56vh; overflow-y: auto; }
.imp-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; }
.imp-tx { min-width: 0; }
.imp-tx b { font-size: 13px; display: block; }
.imp-tx span { font-size: 11.5px; color: var(--faint); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imp-acts { display: flex; gap: 6px; flex: 0 0 auto; }

/* deploy modal (Phase 4) */
.deploy-note { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 10px; }
.deploy-note b { color: var(--text); }
.deploy-warn { color: var(--warn); font-size: 12.5px; background: color-mix(in srgb, var(--warn) 12%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); border-radius: var(--r-sm); padding: 8px 11px; margin: 0 0 12px; }
.deploy-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* media field row */
.media-row { display: flex; gap: 6px; align-items: center; }
.media-row input { flex: 1; }
.pick-open { flex: 0 0 auto; white-space: nowrap; }

/* media library */
.med-drop { border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--panel-2); padding: 26px; text-align: center; margin: 20px 32px 14px; max-width: 860px; }
.med-drop.over { border-color: var(--gold); background: var(--panel-3); }
.med-drop-in { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.med-drop-in b { font-family: var(--serif); font-size: 16px; }
.med-drop-in span { font-size: 11px; color: var(--faint); }
.med-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 0 32px 120px; max-width: 860px; }
.med-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.med-thumb { aspect-ratio: 4/3; background: var(--panel-3) center/cover no-repeat; display: grid; place-items: center; color: var(--faint); font-size: 11px; position: relative; }
.med-badge { position: absolute; top: 6px; left: 8px; color: var(--gold-hi); font-size: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.med-name { width: 100%; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--text); padding: 7px 9px; font: 12px var(--ui); }
.med-name:focus { outline: none; background: var(--panel-2); }
.med-meta { display: flex; align-items: center; justify-content: space-between; padding: 3px 6px 5px 9px; font-size: 10.5px; color: var(--faint); }

/* picker modal */
.pick-card { width: min(680px, 100%); }
.menu-foot { display: flex; justify-content: space-between; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 14px; max-height: 52vh; overflow-y: auto; }
.pick-item { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; cursor: pointer; padding: 0; text-align: left; color: var(--text); }
.pick-item:hover { border-color: var(--gold); }
.pick-thumb { aspect-ratio: 4/3; background: var(--panel-3) center/cover no-repeat; }
.pick-item span { display: block; padding: 6px 8px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* toast */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--panel-3); color: var(--text); border: 1px solid var(--line-2); border-radius: 99px; padding: 9px 18px; font-size: 12.5px; z-index: 60; box-shadow: 0 8px 30px rgba(0,0,0,.35); }

.empty { color: var(--faint); font-size: 13px; padding: 40px 0; text-align: center; }

/* ---------- full-fidelity preview (renders the site's editorial look) ---------- */
.pv-body { padding: 0; }
.site-pv { --pv-ink:#17130f; --pv-panel:#211a14; --pv-line:#3a2f24; --pv-text:#efe6d8; --pv-muted:#a5947f; --pv-faint:#7d6e5c; --pv-gold:#b98a35; --pv-gold-hi:#e8b478;
  background: var(--pv-ink); color: var(--pv-text); font-family: var(--ui); }
.site-pv .s-eyebrow { font-size: 9.5px; text-transform: uppercase; letter-spacing: .18em; color: var(--pv-gold-hi); font-weight: 600; margin-bottom: 5px; }
.site-pv .s-head { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; margin: 0 0 8px; color: var(--pv-text); }
.site-pv .s-body { color: var(--pv-muted); font-size: 12.5px; line-height: 1.55; margin: 0 0 8px; }
.site-pv .s-block { padding: 22px 20px; border-bottom: 1px solid var(--pv-line); }
.site-pv .s-cta { display: inline-block; font-size: 11px; border: 1px solid var(--pv-gold); color: var(--pv-gold-hi); border-radius: 99px; padding: 4px 13px; margin-top: 6px; }
.site-pv .s-cta.solid { background: var(--pv-gold); color: var(--pv-ink); border-color: var(--pv-gold); }
.site-pv .s-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.site-pv .s-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0; }
.site-pv .s-pill { font-size: 10px; border: 1px solid var(--pv-line); border-radius: 99px; padding: 2px 9px; color: var(--pv-muted); }

.site-pv .s-hero { position: relative; padding: 0; background: #0f0b08 center/cover no-repeat; min-height: 220px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--pv-line); }
.site-pv .s-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,11,8,.25), rgba(15,11,8,.85)); }
.site-pv .s-hero-in { position: relative; z-index: 2; padding: 26px 20px 22px; }
.site-pv .s-title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.08; margin: 4px 0 8px; color: #fff; text-wrap: balance; }
.site-pv .s-lede { color: #e8ddcb; font-size: 13px; max-width: 42ch; margin: 0 0 8px; }

.site-pv .s-stats { display: flex; flex-wrap: wrap; gap: 18px; }
.site-pv .s-stat-v { font-family: var(--serif); font-size: 26px; color: var(--pv-gold-hi); line-height: 1; }
.site-pv .s-stat-l { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--pv-faint); margin-top: 3px; }

.site-pv .s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.site-pv .s-fcard, .site-pv .s-gcard { background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 6px; overflow: hidden; }
.site-pv .s-thumb { aspect-ratio: 16/10; background: #2a2119 center/cover no-repeat; position: relative; }
.site-pv .s-num { position: absolute; top: 7px; left: 9px; font-family: var(--serif); font-size: 18px; color: var(--pv-gold-hi); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.site-pv .s-fcard-b, .site-pv .s-gcard-b { padding: 10px 11px 12px; }
.site-pv .s-ctitle { font-family: var(--serif); font-weight: 500; font-size: 15px; margin: 2px 0 5px; color: var(--pv-text); }

.site-pv .s-quote blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--pv-text); margin: 0; font-style: italic; }
.site-pv .s-quote cite { display: block; margin-top: 8px; font-size: 11px; color: var(--pv-gold-hi); font-style: normal; letter-spacing: .04em; }

.site-pv .s-cta-banner { text-align: center; }
.site-pv .s-cta-banner .s-btns { justify-content: center; }

.site-pv .s-figure { aspect-ratio: 16/9; background: #2a2119 center/cover no-repeat; border-radius: 6px; }
.site-pv .s-cap { font-size: 11px; color: var(--pv-faint); margin-top: 6px; }

.site-pv .s-journey { display: flex; justify-content: space-between; gap: 12px; }
.site-pv .s-jn { font-size: 11px; }
.site-pv .s-jn-dir { color: var(--pv-gold-hi); text-transform: uppercase; letter-spacing: .1em; font-size: 9.5px; display: block; }
.site-pv .s-jn b { font-family: var(--serif); font-weight: 500; font-size: 14px; display: block; margin: 2px 0; }
.site-pv .s-jn span { color: var(--pv-faint); }
.site-pv .s-jn-next { text-align: right; }

.site-pv .s-logos { display: flex; flex-wrap: wrap; gap: 14px; }
.site-pv .s-logo-img { width: 48px; height: 30px; background: #2a2119 center/contain no-repeat; border-radius: 4px; margin-bottom: 4px; }
.site-pv .s-logo-n { font-family: var(--serif); font-size: 13px; }
.site-pv .s-logo-t { font-size: 10px; color: var(--pv-faint); }

.site-pv .s-timeline { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.site-pv .s-tl { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.site-pv .s-tl-num { font-family: var(--serif); font-size: 18px; color: var(--pv-gold); }
.site-pv .s-tl-img { grid-column: 2; height: 90px; background: #2a2119 center/cover no-repeat; border-radius: 5px; margin-top: 6px; }

.site-pv .s-oracle .s-search { display: flex; justify-content: space-between; align-items: center; background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 99px; padding: 9px 8px 9px 15px; font-size: 12px; color: var(--pv-faint); margin: 8px 0; }
.site-pv .s-oracle .s-search b { color: var(--pv-gold-hi); }
.site-pv .s-gate { text-align: center; }
.site-pv .s-empty { color: var(--faint); text-align: center; padding: 40px; }

@media (max-width: 900px) {
  .app, .app.has-preview { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 30; width: 264px; height: 100%; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; }
  .preview { display: none; }
}
