:root {
  color-scheme: dark;
  font-family: Manrope, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --bg: #15121b;
  --surface: #211a2b;
  --text: #fbf5ff;
  --muted: #c5b9cf;
  --accent: #e5caff;
  --cover: #2c203b;
  --cover-back: #32223d;
  --ink-dark: #271a33;
  --accent-soft: color-mix(in srgb, var(--accent) 15%, var(--surface));
  --accent-line: color-mix(in srgb, var(--accent) 31%, transparent);
  --line: #ffffff22;
  --radius: 16px;
}
:root[data-palette="iris"] {
  --bg: #141220;
  --surface: #201b32;
  --muted: #c1bbd6;
  --accent: #cdc1fc;
  --cover-back: #362d53;
}
:root[data-palette="plum"] {
  --bg: #1d1420;
  --surface: #2d2031;
  --muted: #d2bbd2;
  --accent: #edc5ed;
  --cover-back: #4e3452;
}
:root[data-palette="lilac"] {
  --bg: #1b1721;
  --surface: #262031;
  --muted: #cdc2d6;
  --accent: #dbcbec;
  --cover-back: #41344e;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 290px; background: var(--bg); color: var(--text); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 10px; top: 8px; padding: 12px; background: var(--surface); z-index: 5; transform: translateY(-160%); }
.skip:focus { transform: none; }
.shell { width: min(1280px, calc(100% - 104px)); margin-inline: auto; }
.header {
  height: 82px; display: flex; align-items: center; gap: 36px;
  justify-content: space-between; border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: .86rem; font-weight: 800; letter-spacing: .13em; white-space: nowrap; }
.brand img { display: block; flex: none; }
.brand-detail { font-weight: 600; color: var(--muted); }
.navigation { display: flex; align-items: center; gap: clamp(22px, 3.5vw, 48px); }
.nav-link, .footer > a:not(.brand) { color: var(--muted); font-size: .9rem; font-weight: 650; }
.nav-link:hover, .footer a:hover, .contact:hover { color: var(--accent); }
.languages {
  display: flex; gap: 2px; flex: none; align-items: center;
  border: 1px solid var(--line); border-radius: 11px; background: #ffffff05; padding: 3px;
}
.languages button { border: 0; border-radius: 7px; background: transparent; padding: 6px 9px; font-size: .82rem; font-weight: 800; color: var(--muted); }
.languages button[aria-pressed="true"] { background: var(--accent-soft); color: var(--text); }

.hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; align-items: center; min-height: 630px; padding-block: 28px 30px; }
.hero-text { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: var(--muted); font-size: .77rem; font-weight: 750; letter-spacing: .15em; }
.eyebrow > span:first-child { width: 26px; height: 1px; background: var(--accent); }
h1, .section-title h2, .about h2 { font-weight: 700; margin: 0; }
h1 { font-size: clamp(3.45rem, 6.8vw, 6.1rem); letter-spacing: -.073em; line-height: .98; }
h1 span, h1 em { display: block; }
h1 em { color: var(--accent); font-style: normal; font-weight: 650; }
.hero-description { margin: 26px 0 26px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65; max-width: 395px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 23px; }
.primary, .text-button, .download-link {
  display: inline-flex; gap: 9px; align-items: center; justify-content: center;
  min-height: 46px; border-radius: 10px; font-weight: 800; font-size: .88rem;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.primary { background: var(--accent); color: var(--ink-dark); padding: 0 18px; }
.primary:hover { background: var(--text); }
.text-button { background: transparent; color: var(--text); padding: 0 15px; border: 1px solid var(--line); }
.text-button:hover { background: var(--accent-soft); border-color: var(--accent-line); }

.reading-demo { min-width: 0; }
.book-stage {
  position: relative; height: clamp(425px, 40vw, 530px); isolation: isolate; perspective: 1100px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  --rx: 0deg; --ry: 0deg;
}
.stage-shadow {
  position: absolute; bottom: 7%; width: 55%; height: 9%; left: 23%; pointer-events: none;
  filter: blur(18px); background: #0006; border-radius: 50%;
}
.book-position {
  position: absolute; left: 50%; top: 48%; width: min(58%, 310px); height: min(82%, 416px);
  transform: translate(-50%, -50%); perspective: 1100px;
  transition: width .65s cubic-bezier(.19,.78,.2,1), height .65s cubic-bezier(.19,.78,.2,1);
}
.book-volume {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateX(calc(6deg + var(--rx))) rotateY(calc(-9deg + var(--ry))) rotateZ(-4deg);
  transition: transform .35s cubic-bezier(.22,.7,.28,.99);
}
.back-cover, .paper-edges, .front-cover { position: absolute; inset: 0; border-radius: 7px 9px 9px 7px; }
.back-cover { transform: translate3d(8px, 8px, -15px); background: var(--cover-back); box-shadow: 14px 24px 38px #0007; border: 1px solid #ffffff23; }
.paper-edges { inset: 6px -4px -4px 6px; background: repeating-linear-gradient(0deg, #d8d1c2 0 1px, #b3ac9e 2px 2.6px); border-radius: 9px; transform: translateZ(-7px); }
.front-cover {
  display: flex; align-items: flex-start; justify-content: space-between; flex-direction: column;
  text-align: left; overflow: hidden; padding: 12% 11% 9% 15%; border: 1px solid #ffffff32;
  width: 100%; transform-origin: left center;
  background: repeating-linear-gradient(0deg, #ffffff10 0 1px, transparent 1px 3px),
              repeating-linear-gradient(90deg, #0000000c 0 1px, transparent 1px 3px), var(--cover);
  box-shadow: inset 9px 0 12px #0003, inset -1px -1px 3px #ffffff43, 1px 3px 4px #0004;
  color: var(--ink-dark);
  transform: translateZ(9px);
  transition: transform .65s cubic-bezier(.19,.6,.23,1), opacity .5s, visibility .65s;
}
.front-cover::after { content: ""; position: absolute; inset: 0 auto 0 5%; width: 1px; background: #0003; box-shadow: 1px 0 #fff3; }
.cover-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 3vw, 30px); }
.cover-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .17em; }
.cover-title { font: 600 clamp(1.55rem, 3.25vw, 3rem)/.94 var(--serif); letter-spacing: -.045em; }
.cover-title span { display: block; }
.cover-footer { width: 100%; padding-top: .63rem; border-top: 1px solid #0005; font-size: .68rem; font-weight: 750; letter-spacing: .09em; }
.is-open .book-position { width: calc(100% - 28px); height: min(83%, 415px); }
.is-open .book-volume { transform: rotateX(calc(5deg + var(--rx) * .35)) rotateY(calc(var(--ry) * .35)); }
.is-open .front-cover { transform: translateZ(11px) rotateY(-165deg); opacity: 0; visibility: hidden; pointer-events: none; }
.is-open .paper-edges { inset: 6px -2px -4px 2px; }
.book-pages {
  --paper: #f2ebdb; --paper-edge: #d8d0bf; --ink: #2d2d28; --ink-soft: #59584e;
  position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr;
  color: var(--ink); border-radius: 6px; transform: translateZ(5px);
}
.book-pages[data-paper="lavender"] { --paper: #eee0f4; --paper-edge: #d2bddb; --ink: #392845; --ink-soft: #6c507b; }
.book-pages[data-paper="night"] { --paper: #242827; --paper-edge: #363d38; --ink: #f2f3ee; --ink-soft: #c2c9c2; }
.page { position: relative; min-width: 0; padding: 12% 11% 11%; display: flex; flex-direction: column; }
.page-left { border-radius: 6px 1px 2px 6px; background: linear-gradient(90deg, var(--paper-edge), var(--paper) 6% 90%, var(--paper-edge)); }
.page-right { border-radius: 1px 6px 6px 2px; background: linear-gradient(90deg, var(--paper-edge), var(--paper) 8% 94%, var(--paper-edge)); }
.chapter { color: var(--ink-soft); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.page h2 { font: 600 clamp(1.4rem, 2.4vw, 2.15rem)/.98 var(--serif); letter-spacing: -.035em; margin: .5rem 0 .55rem; }
.page p { font: 600 clamp(1rem, 1.45vw, 1.22rem)/1.2 var(--serif); margin: 0; white-space: pre-line; }
.folio { position: absolute; bottom: 4%; right: 12%; font-family: var(--serif); font-size: .95rem; color: var(--ink-soft); }
.page-right .folio { right: auto; left: 12%; }
.word-swarm {
  position: absolute; z-index: 1; inset: auto 7% 10% 7%; min-height: 86px;
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; justify-items: center;
}
.floating-word {
  --drift-x: 13px; --drift-y: -8px; --period: 7s; --offset: -2s;
  font: italic 600 clamp(1rem, 1.7vw, 1.46rem)/1 var(--serif); color: var(--ink-soft);
  background: transparent; padding: 4px 8px; border: 0; border-radius: 6px;
  animation: drift var(--period) ease-in-out var(--offset) infinite alternate;
}
.floating-word:nth-child(2n) { --drift-x: -10px; --drift-y: 8px; --offset: -4s; --period: 8.3s; }
.floating-word:nth-child(3n) { --drift-x: 9px; --drift-y: -11px; --offset: -3s; --period: 9.2s; }
.floating-word:lang(ar), .floating-word:lang(ja) { font-family: serif; font-style: normal; font-size: 1.03rem; }
.floating-word:hover, .floating-word:focus-visible, .floating-word[aria-pressed="true"] {
  background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink); animation-play-state: paused;
}
.floating-word:focus-visible { outline-color: var(--ink); outline-offset: 1px; }
.word-meaning {
  position: absolute; display: block; top: 100%; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 100%; padding: 4px 8px; border-radius: 5px;
  font: 750 .72rem/1.25 Manrope, sans-serif; color: var(--ink); background: var(--paper-edge);
  pointer-events: none;
}
.word-meaning:empty { display: none; }
@keyframes drift { from { transform: translate(-5px, 4px) rotate(-3deg); } to { transform: translate(var(--drift-x), var(--drift-y)) rotate(3deg); } }
.turning-leaf {
  position: absolute; z-index: 2; inset: 0 0 0 50%; pointer-events: none; opacity: 0;
  transform-origin: left center; border-radius: 2px 6px 6px 2px;
  background: linear-gradient(90deg, var(--paper-edge), var(--paper) 12% 95%, var(--paper-edge));
}
.turn-forward .turning-leaf { animation: turn-forward .52s ease both; }
.turn-back .turning-leaf { animation: turn-back .52s ease both; }
@keyframes turn-forward { 0% { transform: rotateY(0); opacity: .96; } 90% { opacity: .92; } 100% { transform: rotateY(-179deg); opacity: 0; } }
@keyframes turn-back { 0% { transform: rotateY(-179deg); opacity: .96; } 90% { opacity: .92; } 100% { transform: rotateY(0); opacity: 0; } }
.book-caption { display: flex; min-height: 43px; align-items: center; justify-content: center; position: relative; }
.closed-caption { display: flex; gap: 10px; align-items: center; color: var(--muted); font: 650 .84rem Manrope, sans-serif; margin: 0; }
.book-controls { display: flex; gap: 9px; align-items: center; justify-content: center; }
.round-button {
  display: inline-grid; place-items: center; width: 38px; height: 38px; background: #ffffff09;
  border: 1px solid #ffffff26; border-radius: 50%;
}
.round-button:hover:not(:disabled) { background: var(--accent-soft); }
.round-button:disabled { opacity: .36; cursor: default; }
.chevron { width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); margin-left: -2px; }
.chevron.left { transform: rotate(-135deg); margin-left: 2px; }
.page-progress { min-width: 54px; text-align: center; color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }
.controls-divider { width: 1px; height: 20px; background: #ffffff26; margin: 0 2px 0 3px; }
.paper-colors { display: flex; }
.paper-colors button { position: relative; width: 30px; height: 36px; background: none; border: 0; padding: 0; border-radius: 8px; }
.paper-colors button::after { content: ""; display: block; width: 16px; height: 16px; margin: auto; border-radius: 50%; background: #dec7a5; border: 1px solid #ffffff47; }
.paper-colors button[data-paper="lavender"]::after { background: #d6b6e5; }
.paper-colors button[data-paper="night"]::after { background: #414742; }
.paper-colors button[aria-pressed="true"]::after { outline: 1px solid var(--accent); outline-offset: 2px; }

.downloads { padding-block: 55px 57px; border-top: 1px solid var(--line); }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 25px; }
.section-title h2, .about h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.05; letter-spacing: -.053em; }
.section-title p { margin: 0; color: var(--muted); }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.download-card {
  min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); display: flex; flex-direction: column; align-items: flex-start;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.download-card:hover, .download-card:focus-within { transform: translateY(-2px); border-color: var(--accent-line); }
.app-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--accent-line); border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: 15px; }
.platform { margin: 0 0 5px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .1em; }
.download-card h3 { margin: 0; letter-spacing: -.035em; font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
.card-copy { color: var(--muted); margin: 9px 0 20px; line-height: 1.5; }
.download-link { margin-top: auto; padding: 0 11px; min-height: 42px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.download-link:hover { background: var(--accent); color: var(--ink-dark); }
.version { margin: 9px 0 0; color: var(--muted); font-size: .81rem; font-variant-numeric: tabular-nums; }
.version span { margin-inline: .2rem; }
.install { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; color: var(--muted); }
.install summary { cursor: pointer; color: var(--text); font-size: .88rem; font-weight: 750; }
.install p { margin: 8px 0 0; line-height: 1.6; }
.about { padding-block: 48px 58px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px 60px; }
.about p { color: var(--muted); line-height: 1.7; max-width: 470px; }
.contact { display: inline-flex; padding-block: 7px; align-items: center; gap: 7px; color: var(--text); font-size: .95rem; font-weight: 750; border-bottom: 1px solid var(--accent-line); }
.contact span { color: var(--accent); }
.verse {
  margin: 0; padding: 9px 0 9px 24px; border-left: 1px solid var(--accent-line);
  white-space: pre-line; font: italic 500 clamp(1.52rem, 3vw, 2.3rem)/1.16 var(--serif); color: var(--accent);
}
.footer { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding-block: 21px 27px; border-top: 1px solid var(--line); }
.footer .brand { margin-inline-end: auto; }
.icon-download { width: 15px; height: 15px; display: inline-block; flex: none; position: relative; border-bottom: 1.6px solid currentColor; border-radius: 1px; }
.icon-download::before, .icon-download::after, .icon-pointer::before, .icon-android::before, .icon-android::after, .icon-audio::before, .icon-audio::after { content: ""; position: absolute; }
.icon-download::before { width: 1.6px; height: 9px; background: currentColor; top: 0; left: 6.7px; }
.icon-download::after { width: 6px; height: 6px; left: 4.5px; top: 4.5px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.icon-pointer { color: var(--accent); border: 1.5px solid currentColor; border-radius: 7px; width: 13px; height: 17px; position: relative; }
.icon-pointer::before { inset: 2px 0 auto; margin: auto; width: 1.5px; height: 4px; background: currentColor; }
.icon-windows { width: 8px; height: 8px; margin: -9px 9px 0 0; background: currentColor; box-shadow: 10px 0, 0 10px, 10px 10px; }
.icon-android { width: 20px; height: 12px; position: relative; border-radius: 11px 11px 3px 3px; background: currentColor; }
.icon-android::before { width: 2px; height: 2px; top: 5px; left: 5px; background: var(--ink-dark); box-shadow: 8px 0 var(--ink-dark); border-radius: 50%; }
.icon-android::after { width: 14px; height: 10px; left: 3px; top: -3px; border: solid currentColor; border-width: 0 1px; transform: perspective(12px) rotateX(-32deg); }
.icon-audio { position: relative; width: 20px; height: 17px; border: 2px solid currentColor; border-bottom: 0; border-radius: 10px 10px 6px 6px; }
.icon-audio::before, .icon-audio::after { width: 4px; height: 7px; background: currentColor; top: 8px; border-radius: 2px; }
.icon-audio::before { left: -2px; }
.icon-audio::after { right: -2px; }

@media (max-width: 1100px) {
  .shell { width: min(1280px, calc(100% - 72px)); }
  .hero { min-height: 560px; gap: 20px; }
  .book-position { width: 62%; height: min(80%, 380px); }
  .page { padding-inline: 9%; }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 44px); }
  .header { height: 69px; gap: 20px; }
  .hero { grid-template-columns: 1fr; gap: 11px; align-items: start; min-height: unset; padding-block: 48px 32px; }
  .hero-text { text-align: center; }
  .hero-description { margin-inline: auto; }
  .hero-actions, .eyebrow { justify-content: center; }
  h1 { font-size: clamp(2.65rem, 10.5vw, 5.5rem); }
  .reading-demo { width: min(600px, 100%); margin-inline: auto; }
  .book-stage { height: clamp(345px, 69vw, 483px); }
  .cover-title { font-size: clamp(1.38rem, 4.6vw, 2.8rem); }
  .page p { font-size: clamp(1rem, 2.7vw, 1.22rem); }
  .page h2 { font-size: clamp(1.4rem, 4.5vw, 2.15rem); }
  .download-card { padding: 17px; }
}
@media (max-width: 580px) {
  .shell { width: calc(100% - 32px); }
  .header { height: 64px; gap: 10px; }
  .header .brand img { width: 32px; height: 32px; }
  .header .brand-detail, .navigation { display: none; }
  .hero { padding-top: 39px; }
  .hero-description { font-size: 1rem; margin-block: 19px 21px; }
  .hero-actions { gap: 9px; }
  .hero-actions > * { padding-inline: 11px; }
  .eyebrow { margin-bottom: 18px; }
  .book-position { width: min(64%, 260px); height: 78%; }
  .is-open .book-stage { min-height: 420px; }
  .is-open .book-position { width: calc(100% - 14px); height: 94%; }
  .is-open .book-volume { transform: none; }
  .book-pages { grid-template-columns: 1fr; grid-template-rows: max-content max-content; background: linear-gradient(90deg, var(--paper-edge), var(--paper) 5% 96%, var(--paper-edge)); overflow: hidden; }
  .page { padding: 15px 21px 0; background: transparent; }
  .page-right { padding-top: 7px; padding-bottom: 0; }
  .page p { line-height: 1.15; }
  .page h2 { margin-block: 4px 7px; }
  .folio { display: none; }
  .word-swarm { bottom: 9%; }
  .turning-leaf { inset-inline-start: 0; }
  .section-title, .about { display: grid; grid-template-columns: 1fr; }
  .section-title { gap: 11px; }
  .downloads { padding-block: 38px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { padding: 18px; }
  .about { padding-block: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .book-volume { --rx: 0deg; --ry: 0deg; }
  .floating-word { animation: none; }
}

.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.about-actions .text-button { min-height: 38px; }

body:has(.report-dialog[open]) { overflow: hidden; }
.report-dialog {
  width: min(550px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: clamp(20px, 4vw, 34px); border: 1px solid var(--accent-line);
  border-radius: var(--radius); background: var(--surface); color: var(--text);
  box-shadow: 0 24px 65px #0006; overflow: auto;
}
.report-dialog-wide { width: min(1240px, calc(100% - 24px)); }
.report-dialog::backdrop { background: #0009; }
.report-dialog h2 {
  margin: 0 42px 10px 0; font: 700 clamp(1.6rem, 4vw, 2.6rem)/1.1 Manrope, sans-serif;
  letter-spacing: -.03em;
}
.report-dialog h2:focus { outline: none; }
.report-dialog p { color: var(--muted); line-height: 1.55; margin: 0 0 20px; }
.report-close { position: absolute; inset: 13px 13px auto auto; }
.report-close button { font-size: 1.35rem; }
.report-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.report-dialog button.primary { border: 1px solid transparent; }
.exam-layout { display: grid; grid-template-columns: 1.32fr 1fr; gap: 20px; align-items: start; }
.exam-paper { position: sticky; top: 0; min-width: 0; background: var(--surface); }
.exam-links { display: flex; flex-wrap: wrap; gap: 9px 15px; padding-bottom: 11px; }
.exam-links a { color: var(--accent); font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.exam-paper iframe {
  display: block; width: 100%; height: clamp(300px, 66dvh, 760px);
  border: 1px solid var(--line); background: #f2ebdb; border-radius: 8px;
}
.exam-form fieldset {
  margin: 0 0 15px; min-inline-size: 0; padding: 12px;
  border: 1px solid #ffffff25; border-radius: 10px; background: #ffffff04;
}
.exam-form legend { font-weight: 800; padding-inline: 5px; }
.exam-short { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.report-dialog input, .report-dialog textarea, .report-dialog select {
  width: 100%; padding: 8px 10px; min-width: 0; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 7px;
  font: inherit; font-size: 1rem;
}
.report-dialog input, .report-dialog select { min-height: 41px; }
.report-dialog textarea { display: block; resize: vertical; min-height: 76px; }
.report-dialog label { display: block; margin: 0 0 3px; color: var(--accent); font-size: .9rem; font-weight: 750; }
.exam-short input { margin-top: 4px; }
.exam-long label:not(:first-child) { margin-top: 12px; }
.exam-long select { width: auto; max-width: 100%; margin-bottom: 6px; }
.report-dialog .exam-note { font-size: .85rem; margin: 0; }
.report-dialog #exam-word-count { margin-top: 7px; }
.report-dialog [aria-invalid="true"] { border-color: #ecaaaf; }
.report-dialog .exam-status { margin: 0 0 12px; color: #ffcad0; }
#report-form .primary { margin-top: 12px; }

@media (max-width: 770px) {
  .exam-layout { grid-template-columns: 1fr; }
  .exam-paper { position: static; }
  .exam-paper iframe { height: 310px; }
}
