/* Collins Law Educational Center. Palette and type match collinslaw-lv.com:
   charcoal/black, gold #D4AF6A, Playfair Display headings, Lato body. */
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Italic.ttf") format("truetype"); font-style: italic; font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Italic.ttf") format("truetype"); font-style: italic; font-display: swap; }

:root {
  --black: #000; --ink: #161616; --charcoal: #1b1b1b; --char-2: #242424; --line-dark: #333;
  --gold: #D4AF6A; --gold-dk: #A9853F; --gold-ink: #7a5d22; --gold-tint: #f6efe0;
  --paper: #ffffff; --cream: #faf8f3; --mist: #f2f0eb; --line: #e4e0d7;
  --text: #1b1b1b; --muted: #5e5e5e; --soft: #8a8a8a;
  --ok: #2f6b45; --ok-bg: #e8f2ec; --warn: #8a5a00; --warn-bg: #fbf2df; --err: #a1262c; --err-bg: #fbeaea;
  --radius: 4px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --serif: "Playfair Display", Georgia, serif; --sans: "Lato", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--cream); font-size: 16.5px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(23px, 2.6vw, 30px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--gold-dk); margin-bottom: 10px; display: block; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar & header (mirrors the firm site) */
.topstrip { background: var(--gold); color: #111; font-size: 13px; text-align: center; padding: 5px 12px; letter-spacing: .02em; }
.topstrip a { color: #111; }
.site-header { background: var(--ink); color: #f7f7f7; border-bottom: 1px solid #000; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; color: #f7f7f7; text-decoration: none; flex-shrink: 0; }
.site-header .wrap { max-width: 1440px; }
.brand img { height: 40px; width: auto; }
.brand .brand-sub { border-left: 1px solid #555; padding-left: 14px; font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav a, .nav button.linklike { color: #e9e9e9; text-decoration: none; font-size: 14.5px; padding: 8px 9px; white-space: nowrap; border-radius: var(--radius); background: none; border: 0; font-family: var(--sans); cursor: pointer; }
.nav a:hover, .nav button.linklike:hover { color: var(--gold); }
.nav a.active { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav form { margin: 0; }
.menu-toggle { display: none; background: none; border: 1px solid #555; color: #fff; padding: 8px 12px; border-radius: var(--radius); font-size: 14px; }
@media (max-width: 1500px) { .brand .brand-sub { display: none; } .nav a, .nav button.linklike { padding: 8px 6px; font-size: 13.5px; } .brand img { height: 34px; } }
@media (max-width: 1290px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-top: 1px solid var(--line-dark); z-index: 40; }
  .nav.open { display: flex; }
  .nav a, .nav button.linklike { padding: 12px 6px; border-bottom: 1px solid #262626; text-align: left; }
  .nav a.active { box-shadow: none; }
  .site-header { position: relative; }
  .brand .brand-sub { display: none; }
}

/* ---------- buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 13px 22px; border-radius: 0; border: 1px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: #e2c389; color: #000; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: var(--gold); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--gold-ink); padding: 8px 10px; letter-spacing: .06em; }
.btn-ghost:hover { color: var(--ink); background: var(--mist); }
.btn-danger { background: var(--err); color: #fff; }
.btn-sm { padding: 8px 13px; font-size: 11.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
form.inline { display: inline; margin: 0; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field { margin-bottom: 18px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 5px; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid #cfcac0; border-radius: var(--radius); background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { border-color: var(--gold-dk); outline: 2px solid rgba(212,175,106,.35); outline-offset: 0; }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--gold-dk); }
.err { color: var(--err); font-size: 13.5px; margin-top: 5px; font-weight: 400; }
.field.has-err input { border-color: var(--err); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- alerts */
.flashes { margin: 18px 0 0; }
.alert { padding: 12px 16px; border-left: 4px solid; margin-bottom: 10px; background: #fff; font-size: 15px; }
.alert-success { border-color: var(--ok); background: var(--ok-bg); }
.alert-error { border-color: var(--err); background: var(--err-bg); }
.alert-info { border-color: var(--gold-dk); background: var(--gold-tint); }

/* ---------- page scaffolding */
main { min-height: 60vh; }
.page { padding: 34px 0 64px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { margin: 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 22px; }
.panel h2 { font-size: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 14px; gap: 10px; flex-wrap: wrap; }
.section-title h2 { margin: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.empty { padding: 30px; text-align: center; color: var(--muted); background: var(--mist); border: 1px dashed #d6d0c4; border-radius: var(--radius); }

/* ---------- hero (dark, like the firm home page) */
.hero { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.75)), radial-gradient(1200px 400px at 70% 0%, #2b2b2b, #0f0f0f); color: #f7f7f7; padding: 78px 0 84px; }
.hero h1 { color: #f7f7f7; font-size: clamp(34px, 5vw, 58px); max-width: 820px; }
.hero p.lead { font-size: 19px; color: #d9d9d9; max-width: 680px; font-weight: 300; }
.hero .btn-row { margin-top: 28px; }
.hero-shield { width: 74px; margin-bottom: 22px; }
.welcome { background: var(--ink); color: #eee; padding: 34px 0 30px; }
.welcome h1 { color: #f7f7f7; margin: 0; font-size: clamp(28px, 3.6vw, 40px); }
.welcome p { color: #c9c9c9; margin: 6px 0 0; }

/* ---------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); padding: 18px 18px 16px; border-top: 3px solid var(--gold); }
.stat .num { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--ink); }
.stat .lbl { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 8px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- progress */
.bar { height: 8px; background: #ece8df; border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-dk), var(--gold)); border-radius: 99px; }
.bar.lg { height: 12px; }
.bar.done > span { background: var(--ok); }
.ring { --p: 0; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), #ece8df 0); display: grid; place-items: center; flex: 0 0 auto; }
.ring > div { width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; }
.ring .num { font-family: var(--serif); font-size: 30px; line-height: 1; }
.ring .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.overview { display: flex; gap: 26px; align-items: center; }
@media (max-width: 640px) { .overview { flex-direction: column; align-items: flex-start; } }

/* ---------- badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--mist); color: var(--muted); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.gold { background: var(--gold-tint); color: var(--gold-ink); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.err { background: var(--err-bg); color: var(--err); }
.badge.dark { background: var(--ink); color: var(--gold); }

/* ---------- video cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; position: relative; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 14px 30px rgba(0,0,0,.09); }
.thumb { position: relative; aspect-ratio: 16 / 9; background: #111 center/cover no-repeat; display: block; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #2c2c2c, #0d0d0d); }
.thumb .placeholder img { width: 64px; height: auto; opacity: .9; }
.thumb .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.78); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 3px; }
.thumb .prog { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.25); }
.thumb .prog span { display: block; height: 100%; background: var(--gold); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 19px; margin: 0; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--gold-ink); }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); }
.save-btn { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.6); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.save-btn[aria-pressed=true] { background: var(--gold); color: #000; }
.save-btn svg { width: 16px; height: 16px; }

/* ---------- list rows (resume / compact) */
.rows { display: flex; flex-direction: column; gap: 10px; }
.row-item { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 10px; border-radius: var(--radius); }
.row-item .thumb { aspect-ratio: 16/9; border-radius: 3px; }
.row-item h3 { font-size: 18px; margin: 0 0 4px; }
.row-item h3 a { color: var(--ink); text-decoration: none; }
@media (max-width: 640px) { .row-item { grid-template-columns: 110px 1fr; } .row-item > :last-child { grid-column: 1 / -1; } }

/* ---------- filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: #fff; border: 1px solid var(--line); padding: 14px; margin-bottom: 22px; }
.filters .f { flex: 1 1 170px; }
.filters label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { padding: 7px 13px; border: 1px solid #d5cfc3; border-radius: 99px; text-decoration: none; color: var(--ink); font-size: 14px; background: #fff; }
.chip.active, .chip:hover { background: var(--ink); color: var(--gold); border-color: var(--ink); }

/* ---------- watch page */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
@media (max-width: 1060px) { .watch { grid-template-columns: 1fr; } }
.player-shell { background: #000; position: relative; aspect-ratio: 16/9; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.player-shell iframe, .player-shell video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player-msg { position: absolute; inset: 0; display: grid; place-items: center; color: #ddd; text-align: center; padding: 20px; }
.track-panel { background: #fff; border: 1px solid var(--line); padding: 20px; }
.track-panel .big { font-family: var(--serif); font-size: 40px; line-height: 1; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: 14.5px; margin: 14px 0 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 700; }
.speed { display: inline-flex; gap: 4px; align-items: center; }
.speed button { border: 1px solid #ccc; background: #fff; padding: 4px 8px; font-size: 13px; cursor: pointer; border-radius: 3px; }
.speed button.on { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.cert-ready { background: var(--ink); color: #eee; padding: 18px; border-left: 4px solid var(--gold); margin-top: 16px; }
.cert-ready h3 { color: #fff; margin-bottom: 6px; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin: 24px 0 16px; }
.tabs button { background: none; border: 0; padding: 10px 16px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button[aria-selected=true] { color: var(--ink); border-color: var(--gold); }
.notes-list { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.notes-list li { background: var(--cream); border: 1px solid var(--line); padding: 10px 12px; }
.notes-list .ts { font-weight: 700; color: var(--gold-ink); background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; }
.notes-list .acts { display: flex; gap: 8px; margin-top: 6px; }
.description { white-space: pre-line; }

/* ---------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th { text-align: left; background: var(--ink); color: #f1f1f1; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 11px 12px; white-space: nowrap; }
table.data td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data tr:nth-child(even) td { background: #fcfbf8; }
table.data td.num, table.data th.num { text-align: right; white-space: nowrap; }
table.data a { font-weight: 700; }

/* ---------- certificates */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.cert-card .seal { width: 44px; }
.cert-card h3 { margin: 0; }
.cert-card .num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .04em; color: var(--muted); }

/* ---------- activity chart */
.activity { display: grid; grid-template-columns: repeat(28, 1fr); gap: 3px; align-items: end; height: 90px; margin-top: 10px; }
.activity span { background: #ece8df; border-radius: 2px 2px 0 0; min-height: 3px; display: block; }
.activity span.on { background: var(--gold); }
.activity-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- layout helpers */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.auth-shell { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 40px 16px 60px; background: radial-gradient(900px 300px at 50% 0, #ece6d8, transparent), var(--cream); }
.auth-card { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); padding: 34px 32px; box-shadow: var(--shadow); }
.auth-card.wide { max-width: 640px; }
.auth-card .seal { width: 58px; margin: 0 auto 14px; }
.auth-card h1 { text-align: center; font-size: 30px; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); padding: 26px; }
.feature .icon { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; }
.feature .icon svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.legal h2 { font-size: 22px; margin-top: 30px; }
.legal { max-width: 820px; }
.draft-note { border: 1px dashed var(--gold-dk); background: var(--gold-tint); padding: 10px 14px; font-size: 14px; margin-bottom: 20px; }

/* ---------- footer */
.site-footer { background: var(--black); color: #bdbdbd; padding: 34px 0; font-size: 14px; margin-top: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: #e5e5e5; }
.site-footer img { height: 30px; width: auto; opacity: .9; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- admin */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 76px); }
.admin-side { background: var(--charcoal); color: #ddd; padding: 22px 0; }
.admin-side h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 18px 22px 8px; }
.admin-side a { display: block; color: #e2e2e2; text-decoration: none; padding: 9px 22px; font-size: 15px; border-left: 3px solid transparent; }
.admin-side a:hover { background: #222; color: var(--gold); }
.admin-side a.active { border-left-color: var(--gold); background: #242424; color: #fff; }
.admin-main { padding: 28px 30px 60px; min-width: 0; }
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { padding: 8px 0; display: flex; overflow-x: auto; white-space: nowrap; }
  .admin-side h4 { display: none; }
  .admin-side a { display: inline-block; border-left: 0; border-bottom: 3px solid transparent; padding: 10px 14px; }
  .admin-side a.active { border-bottom-color: var(--gold); }
  .admin-main { padding: 20px 16px 50px; }
}
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.toolbar form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar input[type=search], .toolbar select { width: auto; min-width: 200px; padding: 9px 12px; font-size: 15px; }
.pager { display: flex; gap: 6px; align-items: center; justify-content: flex-end; margin-top: 14px; font-size: 14px; }
.upload-zone { border: 2px dashed #cdbf9f; background: var(--gold-tint); padding: 34px; text-align: center; }
.upload-zone input[type=file] { margin: 12px auto; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.timeline-bar { position: relative; height: 18px; background: #ece8df; border-radius: 3px; overflow: hidden; }
.timeline-bar span { position: absolute; top: 0; bottom: 0; background: var(--gold); }
.mini-thumb { width: 96px; aspect-ratio: 16/9; object-fit: cover; background: #111; border-radius: 2px; }
.danger-zone { border: 1px solid #e8c3c3; background: #fff8f8; padding: 18px; margin-top: 22px; }
details.box { background: #fff; border: 1px solid var(--line); padding: 12px 16px; margin-top: 12px; }
details.box summary { cursor: pointer; font-weight: 700; }
.secret { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 20px; letter-spacing: .08em; background: var(--mist); padding: 12px 14px; display: inline-block; user-select: all; }

@media print {
  .site-header, .site-footer, .topstrip, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---------- store, forms, materials, CLE */
.price { font-family: var(--serif); font-size: 30px; color: var(--ink); line-height: 1; }
.price small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.plan { background: #fff; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--gold); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 22px; background: var(--gold); color: #000; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.doc-list li { display: flex; align-items: center; gap: 12px; justify-content: space-between; background: #fff; border: 1px solid var(--line); padding: 10px 14px; }
.doc-list .doc-kind { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dk); font-weight: 700; }
.locked-hero { position: relative; aspect-ratio: 16/9; background: radial-gradient(circle at 30% 20%, #2c2c2c, #0d0d0d); display: grid; place-items: center; color: #eee; text-align: center; padding: 24px; }
.locked-hero .icon-big { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #000; display: grid; place-items: center; margin: 0 auto 14px; }
.locked-hero .icon-big svg { width: 24px; height: 24px; }
.code-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.code-row input { max-width: 180px; text-transform: uppercase; letter-spacing: .1em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.code-dots { display: flex; gap: 6px; margin-top: 8px; }
.code-dots span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #ccc; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #999; }
.code-dots span.ok { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.checklist { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14.5px; }
.checklist li { padding: 4px 0 4px 26px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #bbb; }
.checklist li.done::before { border-color: var(--ok); background: var(--ok); }
