html:has(body.novatc-legacy-page) {
  overflow-x: hidden;
  background: #021b46;
}

body.novatc-legacy-page {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #021b46;
}

body.novatc-legacy-page > .novatc-lv {
  width: 100%;
  max-width: none;
  margin: 0;
}

.novatc-lv {
  --ink: #10264b;
  --muted: #5b6f91;
  --paper: #fffaf0;
  --line: rgba(240, 213, 139, 0.45);
  --gold: #cfa33e;
  --cobalt: #0047ab;
  --cobalt-bright: #1761ca;
  --cobalt-deep: #032c73;
  --cobalt-night: #021b46;
  --shadow: 0 18px 44px rgba(1, 22, 60, 0.28);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 3%, rgba(62, 126, 219, 0.48), transparent 31rem),
    linear-gradient(145deg, var(--cobalt-night), var(--cobalt) 48%, var(--cobalt-deep));
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

.novatc-lv *, .novatc-lv *::before, .novatc-lv *::after { box-sizing: border-box; }
.novatc-lv button, .novatc-lv input, .novatc-lv textarea, .novatc-lv select { font: inherit; }
.novatc-lv button, .novatc-lv a { -webkit-tap-highlight-color: transparent; }
.novatc-lv .tester-shell { width: min(100%, 1760px); max-width: none; margin: auto; padding: 0 clamp(24px, 3vw, 64px) 36px; }
.novatc-lv .screen-message { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 18px 0 0; padding: 18px 22px; border: 1px solid rgba(207, 163, 62, 0.72); border-left: 5px solid #a61f2b; border-radius: 14px; color: #fffaf0; background: linear-gradient(110deg, rgba(3, 44, 115, 0.98), rgba(0, 71, 171, 0.96)); box-shadow: 0 14px 32px rgba(2, 27, 70, 0.2); }
.novatc-lv .screen-message[hidden] { display: none; }
.novatc-lv .screen-message strong { display: block; color: #f0d58b; font-size: 1rem; }
.novatc-lv .screen-message p { margin: 5px 0; color: #fff; white-space: pre-wrap; }
.novatc-lv .screen-message small { color: #c7d8f6; }
.novatc-lv .screen-message button { flex: 0 0 auto; padding: 9px 15px; border: 1px solid rgba(240, 213, 139, 0.7); border-radius: 999px; color: #fffaf0; background: rgba(2, 27, 70, 0.72); cursor: pointer; }
.novatc-lv .screen-message button:hover, .novatc-lv .screen-message button:focus-visible { border-color: #f0d58b; background: #a61f2b; }

.novatc-lv .tester-header {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(240, 213, 139, 0.52);
}
.novatc-lv .brand { display: flex; align-items: center; gap: 10px; color: #fffaf0; text-decoration: none; }
.novatc-lv .brand-logo { width: 46px; height: 46px; object-fit: contain; border: 1px solid rgba(240, 213, 139, 0.72); border-radius: 10px; background: #fffaf0; box-shadow: 0 8px 20px rgba(1, 17, 49, 0.28); }
.novatc-lv .brand-wordmark { padding-right: 11px; border-right: 1px solid rgba(240, 213, 139, 0.42); font: 700 25px/1 Georgia, serif; letter-spacing: -0.04em; }
.novatc-lv .brand-wordmark strong { color: #f0d58b; }
.novatc-lv .brand-module small { display: block; color: #c7d8f6; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.novatc-lv .header-identity { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.novatc-lv .private-pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(240, 213, 139, 0.52); color: #fffaf0; background: rgba(23, 97, 202, 0.68); border-radius: 99px; font-size: 9px; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 800; }
.novatc-lv .private-pill i, .novatc-lv .review-status i { width: 7px; height: 7px; border-radius: 50%; background: #f0d58b; box-shadow: 0 0 0 3px rgba(240, 213, 139, 0.2); }
.novatc-lv .viewer-name { display: grid; color: #fffaf0; text-align: right; font: 600 12px Georgia, serif; }
.novatc-lv .viewer-name small { margin-top: 3px; color: #c7d8f6; font: 8px Arial, sans-serif; letter-spacing: 0.09em; text-transform: uppercase; }
.novatc-lv .account-switch { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid rgba(240, 213, 139, 0.68); border-radius: 999px; color: #fffaf0; background: rgba(2, 27, 70, 0.72); font-size: 9px; font-weight: 800; letter-spacing: 0.035em; text-decoration: none; white-space: nowrap; }
.novatc-lv .account-switch:hover, .novatc-lv .account-switch:focus-visible { color: #fff; background: #a61f2b; outline: 2px solid #f0d58b; outline-offset: 2px; }

.novatc-lv .hero { padding: 82px clamp(0px, 2.5vw, 48px) 58px; max-width: 1180px; color: #fffaf0; background: radial-gradient(circle at 78% 34%, rgba(61, 128, 224, 0.3), transparent 17rem), linear-gradient(90deg, rgba(2, 27, 70, 0.08), rgba(2, 27, 70, 0.34)); }
.novatc-lv .eyebrow { margin: 0 0 15px; color: #f0d58b; font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.novatc-lv .hero h1 { margin: 0; color: #fffaf0; font: 500 clamp(43px, 7vw, 78px)/0.98 Georgia, serif; letter-spacing: -0.045em; }
.novatc-lv .lede { max-width: 720px; color: #dce8fb; font: 18px/1.65 Georgia, serif; }
.novatc-lv .rule-strip { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 29px; color: #dce8fb; font-size: 10px; }
.novatc-lv .rule-strip b { padding: 5px 8px; border-radius: 4px; color: #fffaf0; background: rgba(207, 163, 62, 0.3); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }

.novatc-lv .book-workspace, .novatc-lv .boundary, .novatc-lv .evidence-desk, .novatc-lv .queue-section {
  border: 1px solid rgba(240, 213, 139, 0.48);
  color: #fffaf0;
  background: radial-gradient(circle at 100% 0, rgba(52, 119, 215, 0.34), transparent 24rem), linear-gradient(145deg, rgba(3, 44, 115, 0.98), rgba(0, 71, 171, 0.96));
  box-shadow: var(--shadow);
  border-radius: 15px;
}
.novatc-lv .book-workspace { padding: 30px; }
.novatc-lv .section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 20px; }
.novatc-lv .section-heading h2, .novatc-lv .boundary h2, .novatc-lv .desk-intro h2 { margin: 4px 0 7px; color: #fffaf0; font: 600 clamp(26px, 3vw, 38px)/1.12 Georgia, serif; }
.novatc-lv .section-heading p, .novatc-lv .boundary p, .novatc-lv .desk-intro > p { max-width: 720px; margin: 0; color: #c7d8f6; font-size: 11px; line-height: 1.65; }
.novatc-lv .locked-standard { flex: 0 0 auto; display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid rgba(240, 213, 139, 0.52); border-radius: 8px; color: #fffaf0; background: rgba(23, 97, 202, 0.58); }
.novatc-lv .locked-standard > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--cobalt-deep); background: #fffaf0; }
.novatc-lv .locked-standard b, .novatc-lv .locked-standard small { display: block; }
.novatc-lv .locked-standard b { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.novatc-lv .locked-standard small { margin-top: 3px; color: #c7d8f6; font-size: 8px; }

.novatc-lv .player-launch { display: grid; grid-template-columns: minmax(220px, 0.66fr) minmax(0, 1.34fr); min-height: 430px; overflow: hidden; border: 1px solid rgba(240, 213, 139, 0.54); border-radius: 11px; background: var(--cobalt-night); }
.novatc-lv .book-cover { position: relative; display: grid; place-items: center; min-height: 430px; padding: 14px; overflow: hidden; background: radial-gradient(circle at 52% 22%, rgba(50, 118, 214, 0.62), transparent 16rem), var(--cobalt-deep); box-shadow: inset -1px 0 rgba(255,255,255,0.2); }
.novatc-lv .book-cover-page { display: block; width: 100%; height: 100%; max-height: 570px; object-fit: contain; object-position: top center; border-radius: 3px; box-shadow: 0 18px 45px rgba(1, 17, 49, 0.44); }
.novatc-lv .player-launch-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 76px); color: var(--ink); background: radial-gradient(circle at 95% 0, rgba(207, 163, 62, 0.2), transparent 20rem), var(--paper); }
.novatc-lv .player-launch-copy h3 { max-width: 620px; margin: 0 0 16px; color: var(--cobalt-deep); font: 600 clamp(28px, 4vw, 44px)/1.08 Georgia, serif; letter-spacing: -0.025em; }
.novatc-lv .player-launch-copy > p:not(.eyebrow) { max-width: 640px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.novatc-lv .player-primary, .novatc-lv .submit { border: 0; border-radius: 7px; color: white; background: linear-gradient(135deg, var(--cobalt), var(--cobalt-bright)); box-shadow: 0 9px 22px rgba(0, 71, 171, 0.25); font-size: 11px; font-weight: 800; text-decoration: none; }
.novatc-lv .player-primary { align-self: flex-start; margin-top: 27px; padding: 14px 17px; }
.novatc-lv .player-primary:hover, .novatc-lv .player-primary:focus-visible, .novatc-lv .submit:hover, .novatc-lv .submit:focus-visible { color: #fff; background: var(--cobalt-deep); outline: 3px solid #f0d58b; outline-offset: 2px; }
.novatc-lv .player-primary span { margin-left: 10px; font-size: 15px; }
.novatc-lv .player-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.novatc-lv .player-facts span { display: flex; align-items: baseline; gap: 5px; }
.novatc-lv .player-facts b { color: var(--gold); font: 600 18px Georgia, serif; }

.novatc-lv .chapter-review { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 25px; margin-top: 25px; padding-top: 24px; border-top: 1px solid rgba(240, 213, 139, 0.32); }
.novatc-lv .chapter-review h3 { margin: 0 0 8px; color: #fffaf0; font: 600 21px Georgia, serif; }
.novatc-lv .chapter-review p { margin: 0; color: #c7d8f6; font-size: 10px; line-height: 1.6; }
.novatc-lv .chapter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.novatc-lv .chapter-grid button { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 1px 9px; align-items: center; border: 1px solid #c5d3e8; border-radius: 8px; background: #fffaf0; padding: 10px; color: var(--ink); text-align: left; cursor: pointer; }
.novatc-lv .chapter-grid button:hover, .novatc-lv .chapter-grid button:focus-visible { border-color: var(--gold); outline: 2px solid #f0d58b; }
.novatc-lv .chapter-grid button > span { grid-row: 1 / 3; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #fffaf0; background: var(--cobalt); font: 700 9px Georgia, serif; }
.novatc-lv .chapter-grid b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 11px Georgia, serif; }
.novatc-lv .chapter-grid small { color: var(--muted); font-size: 8px; }

.novatc-lv .boundary { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 35px; margin: 14px 0; padding: 30px; }
.novatc-lv .boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px; }
.novatc-lv .boundary-grid p { border-left: 3px solid #f0d58b; padding-left: 13px; }
.novatc-lv .boundary-grid p:last-child { border-color: #75a8ed; }
.novatc-lv .boundary-grid b { color: #fffaf0; }

.novatc-lv .evidence-desk { display: grid; grid-template-columns: 0.8fr 1.25fr; gap: 44px; padding: 38px; }
.novatc-lv .desk-intro { position: sticky; top: 30px; align-self: start; }
.novatc-lv .dictation-tip { margin-top: 14px !important; color: #e7effd !important; font-size: 10px !important; line-height: 1.55 !important; }
.novatc-lv .dictation-tip kbd { display: inline-block; margin: 0 2px; padding: 1px 6px; border: 1px solid rgba(240, 213, 139, 0.5); border-radius: 4px; color: #fffaf0; background: rgba(23, 97, 202, 0.5); font: 700 9px/1.5 Arial, sans-serif; white-space: nowrap; }
.novatc-lv .review-status { margin-top: 25px; display: flex; gap: 10px; align-items: center; color: #c7d8f6; font-size: 10px; font-weight: bold; line-height: 1.4; }
.novatc-lv .evidence-form { display: grid; gap: 15px; }
.novatc-lv .maintenance-notice { margin: 0; padding: 13px 15px; border: 1px solid #d8b85c; border-left: 4px solid var(--gold); border-radius: 7px; color: #44320c; background: #fff3cd; font-size: 11px; line-height: 1.55; }
.novatc-lv .maintenance-notice strong { display: block; margin-bottom: 3px; color: #6d211b; }
.novatc-lv .founder-maintenance { color: #dce8fb; background: rgba(240, 213, 139, 0.12); }
.novatc-lv .founder-maintenance strong { color: #f0d58b; }
.novatc-lv .submissions-paused .evidence-form .submit:disabled { cursor: not-allowed; color: #5c6270; background: #d7dce5; opacity: 1; }
.novatc-lv .evidence-form > label, .novatc-lv .target-row label { display: grid; gap: 7px; color: #e2ecfb; font-size: 10px; font-weight: bold; }
.novatc-lv .evidence-form input, .novatc-lv .evidence-form textarea, .novatc-lv .evidence-form select, .novatc-lv .owner-actions select { width: 100%; border: 1px solid #b8c8df; border-radius: 6px; background: #fffaf0; padding: 11px; color: var(--ink); font-size: 12px; }
.novatc-lv .evidence-form textarea { min-height: 156px; resize: vertical; line-height: 1.55; }
.novatc-lv .evidence-form input:focus, .novatc-lv .evidence-form textarea:focus, .novatc-lv .evidence-form select:focus, .novatc-lv .owner-actions select:focus { outline: 2px solid #f0d58b; border-color: #f0d58b; }
.novatc-lv .finding-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 0; padding: 0; border: 0; }
.novatc-lv .finding-options legend { width: 100%; margin-bottom: 8px; color: #e2ecfb; font-size: 10px; font-weight: bold; }
.novatc-lv .finding-options label { position: relative; min-height: 84px; padding: 11px; border: 1px solid rgba(199, 216, 246, 0.42); border-radius: 8px; background: rgba(255, 250, 240, 0.96); cursor: pointer; }
.novatc-lv .finding-options label.selected { border-color: #f0d58b; background: #e8f1ff; box-shadow: inset 0 0 0 1px var(--cobalt); }
.novatc-lv .finding-options input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.novatc-lv .finding-options b, .novatc-lv .finding-options small { display: block; }
.novatc-lv .finding-options b { color: var(--cobalt-deep); font: 600 11px Georgia, serif; }
.novatc-lv .finding-options small { margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: normal; line-height: 1.45; }
.novatc-lv .target-row { display: grid; grid-template-columns: 1.5fr 0.6fr; gap: 10px; }
.novatc-lv .file-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; border: 1px dashed rgba(240, 213, 139, 0.58); padding: 13px; border-radius: 7px; }
.novatc-lv .file-row p, .novatc-lv .file-row ul { margin: 0; color: #dce8fb; font-size: 10px; line-height: 1.6; }
.novatc-lv .file-row ul { padding-left: 16px; }
.novatc-lv .secondary { border: 1px solid rgba(240, 213, 139, 0.66); border-radius: 6px; background: #fffaf0; padding: 10px 12px; color: var(--cobalt-deep); white-space: nowrap; font-size: 10px; font-weight: bold; cursor: pointer; }
.novatc-lv .secondary:hover, .novatc-lv .secondary:focus-visible { outline: 2px solid #f0d58b; outline-offset: 2px; }
.novatc-lv .secondary:disabled { cursor: wait; opacity: 0.6; }
.novatc-lv .certify { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; padding: 12px 13px; border: 1px solid rgba(240, 213, 139, 0.5); border-radius: 7px; color: #fffaf0; background: rgba(23, 97, 202, 0.56); line-height: 1.45; }
.novatc-lv .certify input { width: 17px; height: 17px; margin: 0; flex: 0 0 auto; accent-color: var(--cobalt); }
.novatc-lv .submit { justify-self: start; margin: 0; padding: 12px 15px; cursor: pointer; }
.novatc-lv .submit span { margin-left: 8px; font-size: 15px; }
.novatc-lv .submit:disabled { opacity: 0.6; cursor: wait; }
.novatc-lv .notice { margin: 0; padding: 10px 12px; border-left: 3px solid var(--gold); background: #fff3d5; color: var(--cobalt-deep); font-size: 11px; line-height: 1.5; }
.novatc-lv .notice.is-error { border-color: #a34135; background: #ffe4dc; color: #6f221a; }

.novatc-lv .queue-section { margin-top: 14px; padding: 30px; }
.novatc-lv .queue-heading { align-items: center; }
.novatc-lv .queue-empty { display: grid; place-items: center; min-height: 150px; padding: 28px; border: 1px dashed rgba(240, 213, 139, 0.54); border-radius: 9px; color: #c7d8f6; text-align: center; font-size: 11px; }
.novatc-lv .queue-empty b, .novatc-lv .queue-empty span { display: block; }
.novatc-lv .queue-empty b { color: #fffaf0; font: 600 16px Georgia, serif; }
.novatc-lv .queue-empty span { margin-top: 5px; }
.novatc-lv .submission-list { display: grid; gap: 10px; }
.novatc-lv .submission-card { border: 1px solid #c8d4e5; border-radius: 10px; color: var(--ink); background: #fffaf0; padding: 18px; }
.novatc-lv .submission-top { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.novatc-lv .submission-top > div { display: flex; align-items: center; gap: 9px; }
.novatc-lv .submission-top small, .novatc-lv .submitter { color: var(--muted); font-size: 8px; }
.novatc-lv .submitter { font-weight: bold; }
.novatc-lv .status { display: inline-block; padding: 5px 7px; border-radius: 4px; color: var(--cobalt-deep); background: #dbe8fa; font-size: 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.novatc-lv .status-accepted_for_revision { background: #e8ddb9; }
.novatc-lv .status-not_used { background: #e6e9ef; }
.novatc-lv .submission-card h3 { margin: 13px 0 8px; color: var(--cobalt-deep); font: 600 20px Georgia, serif; }
.novatc-lv .submission-card > p { color: #405575; font: 13px/1.65 Georgia, serif; white-space: pre-wrap; }
.novatc-lv .submission-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.novatc-lv .submission-meta span { padding: 4px 6px; border-radius: 4px; color: #536886; background: #e9f0fb; font-size: 8px; }
.novatc-lv .citation { display: grid; grid-template-columns: 55px 1fr; gap: 10px; padding: 10px; border-left: 3px solid var(--gold); background: #f7edcf; font-size: 9px; line-height: 1.5; }
.novatc-lv .attachment-list { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.novatc-lv .attachment-list > b { width: 100%; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: 0.08em; }
.novatc-lv .attachment-list a { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid #b8c8df; border-radius: 6px; color: var(--cobalt-deep); font-size: 9px; font-weight: bold; text-decoration: none; }
.novatc-lv .attachment-list a:hover { background: #e9f0fb; }
.novatc-lv .attachment-list small { color: var(--muted); font-size: 7px; font-weight: normal; }
.novatc-lv .attachment-security-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; width: 100%; align-items: center; gap: 8px; padding: 7px; border: 1px solid #c8d4e5; border-radius: 7px; background: #fffaf0; }
.novatc-lv .attachment-security-row > span { color: var(--cobalt-deep); font-size: 9px; font-weight: bold; }
.novatc-lv .attachment-security-status { color: #7a5b18 !important; font-weight: bold !important; }
.novatc-lv .attachment-review { padding: 7px 9px; font-size: 8px; }
.novatc-lv .owner-actions { display: grid; grid-template-columns: auto minmax(220px, 330px); align-items: center; justify-content: end; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #c8d4e5; }
.novatc-lv .owner-actions span { color: var(--muted); font-size: 9px; font-weight: bold; }
.novatc-lv footer { display: flex; justify-content: space-between; gap: 20px; margin: 28px 0 0; padding: 17px 0 12px; border-top: 1px solid rgba(240, 213, 139, 0.42); color: #c7d8f6; font-size: 9px; }

.novatc-lv-access { min-height: 70vh; display: grid; place-items: center; padding: 45px 22px; }
.novatc-lv-access > div { width: min(620px, 100%); padding: clamp(28px, 6vw, 55px); border: 1px solid rgba(240, 213, 139, 0.55); border-radius: 16px; color: #fffaf0; background: linear-gradient(145deg, rgba(3,44,115,0.98), rgba(0,71,171,0.96)); box-shadow: var(--shadow); }
.novatc-lv-access h1 { margin: 0 0 14px; color: #fffaf0; font: 600 clamp(30px, 6vw, 48px)/1.08 Georgia, serif; }
.novatc-lv-access p { color: #dce8fb; }
.novatc-lv-access .login-username, .novatc-lv-access .login-password { display: grid; gap: 5px; }
.novatc-lv-access input[type="text"], .novatc-lv-access input[type="password"] { width: 100%; border: 1px solid #b8c8df; border-radius: 6px; padding: 11px; background: #fffaf0; color: var(--ink); }
.novatc-lv-access input[type="submit"] { border: 0; border-radius: 7px; padding: 12px 15px; color: #fff; background: linear-gradient(135deg, var(--cobalt), var(--cobalt-bright)); font-weight: 700; cursor: pointer; }
.novatc-lv-access .access-session { margin-top: 22px; color: #fffaf0; }
.novatc-lv-access .access-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.novatc-lv-access .access-switch { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid rgba(240, 213, 139, 0.74); border-radius: 7px; color: #fff; background: linear-gradient(135deg, var(--cobalt-bright), var(--cobalt)); box-shadow: 0 9px 22px rgba(0, 20, 65, 0.26); font-weight: 800; text-decoration: none; }
.novatc-lv-access .access-switch:hover, .novatc-lv-access .access-switch:focus-visible { color: #fff; background: #a61f2b; outline: 3px solid #f0d58b; outline-offset: 2px; }
.novatc-lv-access .security-notice { margin: 20px 0; padding: 16px 18px; border: 1px solid rgba(240, 213, 139, 0.58); border-left: 4px solid #f0d58b; border-radius: 9px; background: rgba(0, 24, 67, 0.45); }
.novatc-lv-access .security-notice p { margin: 0 0 9px; }
.novatc-lv-access .security-notice p:last-child { margin-bottom: 0; }
.novatc-lv-access .privacy-notice { margin: 16px 0; border: 1px solid rgba(220, 232, 251, 0.32); border-radius: 8px; background: rgba(255, 255, 255, 0.07); }
.novatc-lv-access .privacy-notice summary { cursor: pointer; padding: 12px 14px; color: #fffaf0; font-weight: 800; }
.novatc-lv-access .privacy-notice[open] summary { border-bottom: 1px solid rgba(220, 232, 251, 0.24); }
.novatc-lv-access .privacy-notice p { margin: 11px 14px; font-size: 13px; line-height: 1.55; }
.novatc-lv-access .decline-form { margin-top: 10px; }
.novatc-lv-access .decline-form .secondary { width: 100%; }

/* Clan Gunn documentary companion */
.novatc-lv .clan-story-shell { width: min(100%, 1560px); }
.novatc-lv .clan-story-shell h1,
.novatc-lv .clan-story-shell h2,
.novatc-lv .clan-story-shell h3 { text-wrap: balance; }
.novatc-lv .clan-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(34px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(240, 213, 139, 0.52);
  border-radius: 18px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 82% 18%, rgba(62, 126, 219, 0.52), transparent 22rem),
    linear-gradient(135deg, #021b46, #063d94 64%, #032c73);
  box-shadow: var(--shadow);
}
.novatc-lv .clan-hero h1 { max-width: 900px; margin: 0; font: 600 clamp(42px, 6.4vw, 76px)/0.98 Georgia, serif; letter-spacing: -0.045em; }
.novatc-lv .clan-hero .lede { max-width: 800px; margin: 24px 0 0; }
.novatc-lv .clan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.novatc-lv .clan-actions .player-primary { margin: 0; }
.novatc-lv .clan-secondary, .novatc-lv .source-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 11px 15px;
  border: 1px solid rgba(240, 213, 139, 0.72);
  border-radius: 7px;
  color: #fffaf0;
  background: rgba(255, 250, 240, 0.08);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}
.novatc-lv .clan-secondary:hover, .novatc-lv .clan-secondary:focus-visible,
.novatc-lv .source-button:hover, .novatc-lv .source-button:focus-visible { outline: 3px solid #f0d58b; outline-offset: 2px; color: #fff; }
.novatc-lv .clan-badge-card { margin: 0; padding: clamp(22px, 4vw, 38px); border-radius: 15px; color: var(--ink); background: #fffaf0; box-shadow: 0 24px 55px rgba(1, 17, 49, 0.34); text-align: center; }
.novatc-lv .clan-badge-card img { display: block; width: min(230px, 75%); max-height: 270px; margin: 0 auto 18px; }
.novatc-lv .clan-badge-card figcaption { display: grid; gap: 4px; }
.novatc-lv .clan-badge-card b { color: var(--cobalt-deep); font: 600 22px Georgia, serif; }
.novatc-lv .clan-badge-card span { color: #9a4b24; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; }
.novatc-lv .clan-badge-card small { color: var(--muted); font-size: 9px; line-height: 1.5; }

.novatc-lv .clan-position,
.novatc-lv .clan-lineage-graphic,
.novatc-lv .peace-card,
.novatc-lv .family-meaning,
.novatc-lv .clan-sources {
  margin-top: 16px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(240, 213, 139, 0.48);
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.novatc-lv .clan-position,
.novatc-lv .clan-lineage-graphic { color: #fffaf0; background: linear-gradient(145deg, rgba(3, 44, 115, 0.98), rgba(0, 71, 171, 0.96)); }
.novatc-lv .clan-position h2,
.novatc-lv .clan-lineage-graphic h2,
.novatc-lv .peace-card h2,
.novatc-lv .family-meaning h2,
.novatc-lv .clan-sources h2,
.novatc-lv .story-copy h2,
.novatc-lv .document-card h2,
.novatc-lv .map-card h2 { margin: 0; font: 600 clamp(28px, 3.5vw, 43px)/1.08 Georgia, serif; letter-spacing: -0.025em; }
.novatc-lv .position-grid, .novatc-lv .meaning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.novatc-lv .position-grid article { min-height: 175px; padding: 21px; border: 1px solid rgba(240, 213, 139, 0.38); border-radius: 10px; background: rgba(255, 250, 240, 0.08); }
.novatc-lv .position-grid p { margin: 15px 0 0; color: #dce8fb; font: 15px/1.65 Georgia, serif; }
.novatc-lv .position-grid b { color: #fffaf0; }
.novatc-lv .evidence-state { display: inline-flex; padding: 5px 8px; border-radius: 4px; font-size: 8px; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.novatc-lv .evidence-state.established { color: #063d47; background: #cdebd8; }
.novatc-lv .evidence-state.tradition { color: #6b4510; background: #f4dda4; }
.novatc-lv .evidence-state.unresolved { color: #6e2822; background: #f5c6bd; }

.novatc-lv .clan-narrative { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr); gap: 0; margin-top: 16px; overflow: hidden; border: 1px solid rgba(240, 213, 139, 0.48); border-radius: 15px; background: #fffaf0; box-shadow: var(--shadow); }
.novatc-lv .ackergill-figure { position: relative; min-height: 580px; margin: 0; overflow: hidden; background: #0d3158; }
.novatc-lv .ackergill-figure img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; }
.novatc-lv .ackergill-figure figcaption { position: absolute; inset: auto 18px 18px; display: grid; gap: 3px; padding: 14px; border-left: 3px solid #f0d58b; color: #fffaf0; background: rgba(2, 27, 70, 0.88); backdrop-filter: blur(6px); }
.novatc-lv .ackergill-figure b { font: 600 17px Georgia, serif; }
.novatc-lv .ackergill-figure span { color: #dce8fb; font-size: 9px; line-height: 1.5; }
.novatc-lv .story-copy { padding: clamp(32px, 5vw, 68px); color: var(--ink); background: radial-gradient(circle at 100% 0, rgba(207, 163, 62, 0.18), transparent 18rem), #fffaf0; }
.novatc-lv .story-copy h2, .novatc-lv .document-card h2, .novatc-lv .map-card h2 { color: var(--cobalt-deep); }
.novatc-lv .story-copy > p:not(.eyebrow), .novatc-lv .document-card > p:not(.eyebrow), .novatc-lv .map-card > p:not(.eyebrow) { color: #405575; font: 15px/1.78 Georgia, serif; }

.novatc-lv .clan-lineage-graphic .section-heading { align-items: center; }
.novatc-lv .confidence-chip { flex: 0 0 auto; max-width: 320px; padding: 8px 11px; border: 1px solid rgba(240, 213, 139, 0.52); border-radius: 99px; color: #f5e5b4; font-size: 8px; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: 0.08em; }
.novatc-lv .lineage-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; margin-top: 25px; }
.novatc-lv .lineage-flow > div { display: flex; flex-direction: column; justify-content: center; min-height: 155px; padding: 18px; border: 1px solid rgba(240, 213, 139, 0.42); border-radius: 10px; background: rgba(255, 250, 240, 0.09); }
.novatc-lv .lineage-flow small { color: #f0d58b; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; }
.novatc-lv .lineage-flow b { margin: 6px 0; color: #fffaf0; font: 600 21px Georgia, serif; }
.novatc-lv .lineage-flow span { color: #c7d8f6; font-size: 9px; line-height: 1.55; }
.novatc-lv .lineage-flow > i { align-self: center; color: #f0d58b; font: 600 28px Georgia, serif; }
.novatc-lv .lineage-flow .broken-link { display: grid; place-items: center; width: 34px; height: 34px; border: 2px dashed #f0d58b; border-radius: 50%; font-size: 17px; }
.novatc-lv .lineage-flow .unproved-node { border-style: dashed; background: rgba(100, 30, 35, 0.18); }

.novatc-lv .clan-record-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 16px; margin-top: 16px; }
.novatc-lv .document-card, .novatc-lv .map-card { padding: clamp(28px, 4vw, 45px); overflow: hidden; border: 1px solid rgba(240, 213, 139, 0.48); border-radius: 15px; background: #fffaf0; box-shadow: var(--shadow); }
.novatc-lv .document-frame { position: relative; margin: 25px 0 17px; padding: 46px 23px 26px; overflow: hidden; border: 1px solid #d1b563; background: #fff; box-shadow: 0 14px 28px rgba(16, 38, 75, 0.14); transform: rotate(-0.35deg); }
.novatc-lv .document-frame::before { content: ""; position: absolute; inset: 17px 20px auto; height: 4px; background: linear-gradient(90deg, #b34f2e 0 23%, #e9d09a 23% 100%); }
.novatc-lv .document-tab { position: absolute; top: 25px; left: 23px; color: #9a4b24; font-size: 8px; font-weight: 900; letter-spacing: 0.1em; }
.novatc-lv .document-frame img { display: block; width: 100%; min-height: 78px; object-fit: contain; }
.novatc-lv .document-card .source-button { margin-top: 8px; color: #fff; background: linear-gradient(135deg, var(--cobalt), var(--cobalt-bright)); }
.novatc-lv .map-card > img { display: block; width: 100%; max-height: 390px; margin: 25px 0 17px; border: 1px solid #cfb875; object-fit: cover; object-position: center; box-shadow: 0 14px 28px rgba(16, 38, 75, 0.16); }

.novatc-lv .peace-card, .novatc-lv .family-meaning, .novatc-lv .clan-sources { color: var(--ink); background: #fffaf0; }
.novatc-lv .peace-card { text-align: center; background: radial-gradient(circle at 50% 0, rgba(207, 163, 62, 0.25), transparent 22rem), #fffaf0; }
.novatc-lv .peace-card h2, .novatc-lv .family-meaning h2, .novatc-lv .clan-sources h2 { color: var(--cobalt-deep); }
.novatc-lv .peace-card > p:not(.eyebrow) { max-width: 920px; margin: 20px auto 0; color: #405575; font: 17px/1.75 Georgia, serif; }
.novatc-lv .peace-card blockquote { max-width: 940px; margin: 28px auto 0; padding: 22px 26px; border: 0; border-top: 1px solid #cfb875; border-bottom: 1px solid #cfb875; color: #7b3a22; font: italic 600 clamp(20px, 3vw, 31px)/1.4 Georgia, serif; }
.novatc-lv .meaning-grid article { min-height: 185px; margin-top: 22px; padding: 22px; border: 1px solid #d8c284; border-radius: 10px; background: #fffdf8; }
.novatc-lv .meaning-grid b { color: var(--cobalt-deep); font: 600 20px Georgia, serif; }
.novatc-lv .meaning-grid p { color: #405575; font: 14px/1.68 Georgia, serif; }
.novatc-lv .clan-sources ol { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 24px 0 0; padding-left: 20px; }
.novatc-lv .clan-sources li { color: #405575; font-size: 11px; line-height: 1.65; }
.novatc-lv .clan-sources a { color: var(--cobalt); font-weight: 800; }

@media (max-width: 980px) {
  .novatc-lv .finding-options { grid-template-columns: repeat(2, 1fr); }
  .novatc-lv .chapter-review { grid-template-columns: 1fr; }
  .novatc-lv .clan-hero, .novatc-lv .clan-narrative, .novatc-lv .clan-record-grid { grid-template-columns: 1fr; }
  .novatc-lv .clan-badge-card { width: min(430px, 100%); }
  .novatc-lv .ackergill-figure, .novatc-lv .ackergill-figure img { min-height: 430px; }
  .novatc-lv .lineage-flow { grid-template-columns: 1fr; }
  .novatc-lv .lineage-flow > i { transform: rotate(90deg); justify-self: center; }
  .novatc-lv .lineage-flow .broken-link { transform: none; }
}

@media (max-width: 800px) {
  .novatc-lv .screen-message { align-items: flex-start; flex-direction: column; gap: 12px; }
  .novatc-lv .tester-shell { padding: 0 18px; }
  .novatc-lv .tester-header { min-height: 70px; }
  .novatc-lv .private-pill { font-size: 8px; }
  .novatc-lv .viewer-name, .novatc-lv .brand-module { display: none; }
  .novatc-lv .header-identity { gap: 8px; }
  .novatc-lv .account-switch { padding-inline: 10px; }
  .novatc-lv .hero { padding: 56px 0 42px; }
  .novatc-lv .hero h1 { font-size: 47px; }
  .novatc-lv .book-workspace, .novatc-lv .queue-section { padding: 22px; }
  .novatc-lv .section-heading { flex-direction: column; align-items: flex-start; gap: 15px; }
  .novatc-lv .locked-standard { width: 100%; }
  .novatc-lv .player-launch { grid-template-columns: 1fr; }
  .novatc-lv .book-cover { min-height: 350px; }
  .novatc-lv .player-launch-copy { padding: 34px 28px; }
  .novatc-lv .chapter-grid, .novatc-lv .boundary-grid { grid-template-columns: 1fr; }
  .novatc-lv .boundary, .novatc-lv .evidence-desk { grid-template-columns: 1fr; }
  .novatc-lv .boundary { gap: 12px; }
  .novatc-lv .evidence-desk { padding: 25px; gap: 22px; }
  .novatc-lv .desk-intro { position: static; }
  .novatc-lv .target-row { grid-template-columns: 1fr; }
  .novatc-lv .file-row { align-items: flex-start; flex-direction: column; }
  .novatc-lv .owner-actions { grid-template-columns: 1fr; justify-content: stretch; }
  .novatc-lv .attachment-security-row { grid-template-columns: 1fr; }
  .novatc-lv footer { flex-direction: column; }
  .novatc-lv .clan-hero { padding: 34px 25px; }
  .novatc-lv .position-grid, .novatc-lv .meaning-grid, .novatc-lv .clan-sources ol { grid-template-columns: 1fr; }
  .novatc-lv .clan-lineage-graphic .section-heading { align-items: flex-start; }
  .novatc-lv .confidence-chip { max-width: none; }
}

@media (max-width: 560px) {
  .novatc-lv .private-pill { display: none; }
  .novatc-lv .tester-header { gap: 10px; }
  .novatc-lv .brand-wordmark { font-size: 21px; }
  .novatc-lv .finding-options { grid-template-columns: 1fr; }
  .novatc-lv .chapter-grid button { min-width: 0; }
  .novatc-lv .submission-top { flex-direction: column; }
  .novatc-lv .submission-top > div { align-items: flex-start; flex-direction: column; }
}
