/* BlueChat Flash: estilos de flash.bluechatoposiciones.es, trasladados de la versión original (Codex Sites). */

/* Tipografías de la marca alojadas en el servidor (licencia SIL OFL 1.1, ver assets/fonts/). */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Base equivalente a la de Tailwind 4 (preflight, licencia MIT), en su misma capa para conservar la cascada original. */
@layer base {
/*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding
  3. Reset all borders.
*/

*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 2 */
  border: 0 solid; /* 3 */
}

/*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the user's configured `sans` font-family by default.
  5. Use the user's configured `sans` font-feature-settings by default.
  6. Use the user's configured `sans` font-variation-settings by default.
  7. Disable tap highlights on iOS.
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
  Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
  Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}

/*
  Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
  1. Use the user's configured `mono` font-family by default.
  2. Use the user's configured `mono` font-feature-settings by default.
  3. Use the user's configured `mono` font-variation-settings by default.
  4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
  Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
  Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
  Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
  Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
  Make lists unstyled by default.
*/

ol,
ul,
menu {
  list-style: none;
}

/*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
      This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
  Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/*
  1. Inherit font styles in all browsers.
  2. Remove border radius in all browsers.
  3. Remove background color in all browsers.
  4. Ensure consistent opacity for disabled states in all browsers.
*/

button,
input,
select,
optgroup,
textarea,
::file-selector-button {
  font: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  border-radius: 0; /* 2 */
  background-color: transparent; /* 3 */
  opacity: 1; /* 4 */
}

/*
  Restore default font weight.
*/

:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}

/*
  Restore indentation.
*/

:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}

/*
  Restore space after button.
*/

::file-selector-button {
  margin-inline-end: 4px;
}

/*
  Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/

::placeholder {
  opacity: 1;
}

/*
  Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
  crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/

@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
  (contain-intrinsic-size: 1px) /* Safari 17+ */ {
  ::placeholder {
    color: color-mix(in oklab, currentcolor 50%, transparent);
  }
}

/*
  Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
  Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
  1. Ensure date/time inputs have the same height when empty in iOS Safari.
  2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/

::-webkit-date-and-time-value {
  min-height: 1lh; /* 1 */
  text-align: inherit; /* 2 */
}

/*
  Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/

::-webkit-datetime-edit {
  display: inline-flex;
}

/*
  Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-datetime-edit,
::-webkit-datetime-edit-year-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-minute-field,
::-webkit-datetime-edit-second-field,
::-webkit-datetime-edit-millisecond-field,
::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}

/*
  Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/

::-webkit-calendar-picker-indicator {
  line-height: 1;
}

/*
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
  Correct the inability to style the border radius in iOS Safari.
*/

button,
input:where([type='button'], [type='reset'], [type='submit']),
::file-selector-button {
  appearance: button;
}

/*
  Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
  Make elements with the HTML hidden attribute stay hidden by default.
*/

[hidden]:where(:not([hidden='until-found'])) {
  display: none !important;
}

}

/* Estilos propios de BlueChat Flash */

:root {
  --navy-950: #071a2e;
  --navy-900: #0a2440;
  --navy-800: #0d2d4e;
  --brand-600: #15497a;
  --brand-500: #185890;
  --brand-400: #3c7ab5;
  --brand-300: #8fb4d6;
  --mist: #e9f1f8;
  --paper: #f7fafc;
  --line: #d8e3ee;
  --ink-900: #101d2c;
  --ink-600: #42566b;
  --ink-400: #7b8da1;
  --gold: #c9952e;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--navy-950); }
body { margin: 0; min-height: 100%; font-family: var(--font-body); color: var(--ink-900); background: var(--paper); }
button, a { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; }

.study-shell { min-height: 100svh; background: var(--paper); overflow: hidden; }
.top-nav { height: 74px; display: flex; align-items: center; justify-content: space-between; width: min(1160px, calc(100% - 40px)); margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-logo { display: block; width: 174px; height: 53px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; align-self: stretch; gap: 31px; margin-left: auto; margin-right: 28px; }
.main-nav a { position: relative; display: flex; align-items: center; height: 100%; color: var(--ink-600); text-decoration: none; font: 650 13px/1 var(--font-display); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand-600); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-500); }
.profile { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; background: white; color: var(--brand-600); cursor: pointer; font: 700 11px/1 var(--font-mono); }
.mobile-dock { display: none; }

.study-layout { min-height: calc(100svh - 74px); display: grid; grid-template-columns: minmax(280px, .84fr) minmax(540px, 1.16fr); }
.session-intro { position: relative; padding: clamp(58px, 8vh, 98px) clamp(36px, 6vw, 92px); color: white; background: linear-gradient(160deg, var(--navy-900), var(--navy-950) 72%); overflow: hidden; }
.session-intro::after { content: ""; position: absolute; right: -155px; bottom: -190px; width: 430px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(143,180,214,.12); box-shadow: 0 0 0 54px rgba(143,180,214,.035), 0 0 0 110px rgba(143,180,214,.025); }
.eyebrow { position: relative; display: inline-flex; align-items: center; gap: 11px; color: var(--brand-300); font: 600 11px/1 var(--font-mono); letter-spacing: .15em; }
.eyebrow i { width: 25px; height: 2px; background: currentColor; }
.session-intro h1 { position: relative; margin: 28px 0 22px; max-width: 620px; font: 850 clamp(40px, 4.4vw, 68px)/.98 var(--font-display); letter-spacing: -.035em; font-stretch: 112%; }
.session-intro > p { position: relative; max-width: 515px; margin: 0; color: var(--brand-300); font-size: 16px; line-height: 1.75; }
.today-card { position: absolute; z-index: 1; left: clamp(36px, 6vw, 92px); right: clamp(36px, 6vw, 92px); bottom: clamp(38px, 6vh, 68px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(143,180,214,.2); padding-top: 24px; }
.today-card div + div { border-left: 1px solid rgba(143,180,214,.2); padding-left: 34px; }
.today-card span { display: block; margin-bottom: 8px; color: var(--brand-300); font: 500 10px/1 var(--font-mono); letter-spacing: .14em; }
.today-card strong { font: 700 26px/1 var(--font-display); }

.session-stage { width: min(650px, calc(100% - 54px)); align-self: center; justify-self: center; padding: 38px 0 54px; }
.session-meta { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.session-meta > div > span { display: block; margin-bottom: 6px; color: var(--brand-500); font: 600 10px/1 var(--font-mono); letter-spacing: .13em; }
.session-meta > div > strong { font: 750 19px/1.2 var(--font-display); }
.timer { padding: 8px 11px; border-radius: 999px; background: var(--mist); color: var(--brand-600); font: 600 12px/1 var(--font-mono); }
.progress-row { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; color: var(--ink-400); font: 600 10px/1 var(--font-mono); }
.progress-track { flex: 1; height: 5px; overflow: hidden; border-radius: 99px; background: var(--line); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--brand-500); transition: width .25s ease; }

.flashcard { width: 100%; min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; padding: 27px 30px 24px; border: 1px solid var(--line); border-radius: 20px; color: var(--ink-900); background: white; box-shadow: 0 24px 65px -32px rgba(13,45,78,.38); cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.flashcard:hover { transform: translateY(-3px); border-color: var(--brand-300); box-shadow: 0 30px 72px -34px rgba(13,45,78,.5); }
.flashcard.is-flipped { border-color: var(--brand-400); background: linear-gradient(148deg, #fff, #f4f9fd); }
.card-topline, .flip-hint { display: flex; align-items: center; justify-content: space-between; }
.article-pill { padding: 8px 11px; border-radius: 8px; color: var(--brand-600); background: var(--mist); font: 600 10px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.card-count { color: var(--ink-400); font: 500 11px/1 var(--font-mono); }
.card-body { display: block; padding: 30px 4px; }
.card-body small { display: block; margin-bottom: 18px; color: var(--ink-400); font: 600 10px/1 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; }
.card-body strong { display: block; max-width: 540px; font: 750 clamp(27px, 3vw, 39px)/1.15 var(--font-display); letter-spacing: -.025em; }
.is-flipped .card-body strong { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
.card-body em { display: inline-block; margin-top: 22px; padding: 7px 10px; border-left: 3px solid var(--gold); color: var(--brand-600); background: rgba(201,149,46,.09); font: 600 10px/1 var(--font-mono); font-style: normal; letter-spacing: .08em; }
.flip-hint { justify-content: flex-start; gap: 9px; color: var(--ink-400); font-size: 12px; }
.flip-hint i { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brand-500); font-style: normal; font-size: 17px; }
.show-answer { width: 100%; margin-top: 14px; padding: 15px 22px; border: 0; border-radius: 999px; color: white; background: var(--brand-500); cursor: pointer; font: 700 15px/1 var(--font-display); box-shadow: 0 14px 28px -16px rgba(24,88,144,.7); }
.show-answer span { margin-left: 8px; }
.response-zone { display: none; margin-top: 16px; }
.response-zone.is-visible { display: block; animation: rise .2s ease both; }
.response-zone > p { margin: 0 0 10px; text-align: center; color: var(--ink-600); font-size: 12px; }
.response-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.response-actions button { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 12px 13px; text-align: left; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-900); background: white; cursor: pointer; }
.response-actions button:hover { border-color: var(--brand-400); background: var(--mist); }
.response-actions button > span { grid-row: 1 / 3; align-self: center; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--brand-600); font: 700 16px/1 var(--font-mono); }
.response-actions strong { font: 700 12px/1.2 var(--font-display); }
.response-actions small { margin-top: 3px; color: var(--ink-400); font-size: 9px; }
.source-note { display: block; width: max-content; max-width: 100%; margin: 18px auto 0; color: var(--ink-400); text-align: center; text-decoration: none; font: 500 9px/1.4 var(--font-mono); letter-spacing: .04em; }
.source-note:hover { color: var(--brand-600); }
.session-finish { min-height: 470px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 42px; text-align: center; border: 1px solid var(--brand-300); border-radius: 20px; background: linear-gradient(155deg, white, var(--mist)); box-shadow: 0 24px 65px -32px rgba(13,45,78,.38); animation: rise .28s ease both; }
.finish-mark { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: white; background: var(--brand-500); box-shadow: 0 13px 28px -14px rgba(24,88,144,.7); font: 700 24px/1 var(--font-mono); }
.session-finish > small { color: var(--brand-500); font: 600 10px/1 var(--font-mono); letter-spacing: .15em; }
.session-finish h2 { margin: 14px 0 13px; font: 800 clamp(31px, 3.5vw, 43px)/1.04 var(--font-display); letter-spacing: -.03em; }
.session-finish > p { max-width: 470px; margin: 0; color: var(--ink-600); font-size: 14px; line-height: 1.65; }
.finish-stats { display: flex; gap: 44px; margin: 27px 0; }
.finish-stats strong { font: 750 25px/1 var(--font-display); }
.finish-stats strong span { display: block; margin-top: 6px; color: var(--ink-400); font: 500 9px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.session-finish > button { min-width: 190px; padding: 15px 22px; border: 0; border-radius: 999px; color: white; background: var(--brand-500); cursor: pointer; font: 700 14px/1 var(--font-display); }
.session-finish > button span { margin-left: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } }

/* Progreso */
.dashboard-shell { min-height: 100svh; background: var(--paper); }
.dashboard-main { width: min(1160px, calc(100% - 40px)); margin: auto; padding: clamp(48px, 7vw, 82px) 0 80px; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 38px; }
.dashboard-heading .eyebrow { color: var(--brand-500); }
.dashboard-heading h1 { margin: 19px 0 12px; font: 850 clamp(39px, 5vw, 64px)/1 var(--font-display); letter-spacing: -.04em; }
.dashboard-heading p { max-width: 650px; margin: 0; color: var(--ink-600); line-height: 1.7; }
.primary-link { flex: none; display: inline-flex; align-items: center; gap: 13px; padding: 16px 22px; border-radius: 999px; color: white; text-decoration: none; background: var(--brand-500); box-shadow: 0 16px 32px -18px rgba(24,88,144,.65); font: 700 14px/1 var(--font-display); }
.primary-link:hover { background: var(--brand-600); }

.summary-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.summary-card { min-height: 158px; display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 15px 38px -30px rgba(13,45,78,.35); }
.summary-card > span, .panel-heading > div > span, .next-action span { margin-bottom: 12px; color: var(--ink-400); font: 600 9px/1 var(--font-mono); letter-spacing: .13em; }
.summary-card > strong { font: 800 36px/1 var(--font-display); letter-spacing: -.03em; }
.summary-card > small { margin-top: 10px; color: var(--ink-400); font-size: 11px; }
.summary-card-main { color: white; border-color: var(--navy-800); background: linear-gradient(148deg, var(--navy-900), var(--navy-950)); }
.summary-card-main > span, .summary-card-main > small { color: var(--brand-300); }
.summary-progress { height: 5px; margin-top: 18px; overflow: hidden; border-radius: 99px; background: rgba(143,180,214,.18); }
.summary-progress i { display: block; height: 100%; border-radius: inherit; background: var(--brand-300); }

.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .85fr); gap: 18px; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 18px 42px -34px rgba(13,45,78,.35); }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.panel-heading > div > span { display: block; color: var(--brand-500); }
.panel-heading h2 { margin: 0; font: 750 22px/1.2 var(--font-display); letter-spacing: -.02em; }
.panel-heading > small { padding: 7px 9px; border-radius: 99px; color: var(--ink-400); background: var(--paper); font: 500 9px/1 var(--font-mono); }
.theme-list { display: grid; }
.theme-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 23px 0; }
.theme-row + .theme-row { border-top: 1px solid var(--line); }
.theme-index { color: var(--brand-400); font: 600 12px/1 var(--font-mono); }
.theme-copy small { display: block; margin-bottom: 5px; color: var(--ink-400); font-size: 10px; }
.theme-copy h3 { margin: 0 0 13px; font: 720 17px/1.2 var(--font-display); }
.theme-copy p { margin: 8px 0 0; color: var(--ink-400); font-size: 10px; }
.theme-track { height: 5px; overflow: hidden; border-radius: 99px; background: var(--mist); }
.theme-track i { display: block; height: 100%; border-radius: inherit; background: var(--brand-500); }
.theme-row > strong { color: var(--brand-600); font: 750 19px/1 var(--font-display); }

.activity-panel { display: flex; flex-direction: column; }
.activity-chart { height: 210px; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 9px; padding: 28px 2px 0; }
.activity-day { height: 100%; display: grid; grid-template-rows: 18px minmax(0, 1fr) 19px; align-items: end; justify-items: center; gap: 7px; }
.activity-day > i { width: min(25px, 75%); min-height: 8px; align-self: end; border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--brand-400), var(--brand-600)); }
.activity-value { color: var(--brand-600); font: 600 9px/1 var(--font-mono); }
.activity-day small { color: var(--ink-400); font: 500 9px/1 var(--font-mono); text-transform: uppercase; }
.next-action { display: grid; grid-template-columns: 48px minmax(0, 1fr) 35px; align-items: center; gap: 13px; margin-top: 27px; padding: 15px; border-radius: 13px; color: white; background: var(--navy-900); }
.next-action img { width: 44px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.next-action span { display: block; margin-bottom: 5px; color: var(--brand-300); }
.next-action strong { display: block; font: 700 13px/1.2 var(--font-display); }
.next-action > a { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-900); text-decoration: none; background: white; font-size: 17px; }

@media (max-width: 900px) {
  .study-shell { overflow: visible; }
  .top-nav { height: 68px; width: calc(100% - 32px); }
  .study-layout { min-height: calc(100svh - 68px); display: block; }
  .session-intro { padding: 28px 22px 95px; border-radius: 0 0 28px 28px; }
  .session-intro h1 { margin: 20px 0 12px; font-size: clamp(35px, 10vw, 47px); }
  .session-intro > p { font-size: 14px; line-height: 1.6; }
  .today-card { left: 22px; right: 22px; bottom: 24px; padding-top: 16px; }
  .today-card span { margin-bottom: 5px; }
  .today-card strong { font-size: 19px; }
  .today-card div + div { padding-left: 22px; }
  .session-stage { width: min(100% - 28px, 620px); padding: 25px 0 38px; }
  .flashcard { min-height: 380px; padding: 22px 21px; border-radius: 18px; }
  .card-body { padding: 26px 1px; }
  .card-body strong { font-size: clamp(27px, 7.6vw, 35px); }
  .is-flipped .card-body strong { font-size: clamp(21px, 5.8vw, 27px); }
  .session-finish { min-height: 405px; padding: 30px 22px; }
  .summary-grid { grid-template-columns: 1.5fr 1fr; }
  .dashboard-columns { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  body { padding-bottom: 66px; }
  .brand-logo { width: 147px; height: 47px; }
  .main-nav { display: none; }
  .profile { width: 37px; height: 37px; }
  .mobile-dock { position: fixed; z-index: 80; left: 50%; bottom: 10px; transform: translateX(-50%); width: calc(100% - 22px); max-width: 390px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border: 1px solid rgba(216,227,238,.8); border-radius: 18px; background: rgba(255,255,255,.93); backdrop-filter: blur(13px); box-shadow: 0 15px 42px -18px rgba(7,26,46,.5); }
  .mobile-dock a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 45px; border-radius: 13px; color: var(--ink-400); text-decoration: none; font: 650 11px/1 var(--font-display); }
  .mobile-dock a span { font: 700 16px/1 var(--font-mono); }
  .mobile-dock a[aria-current="page"] { color: white; background: var(--navy-900); }
  .session-meta > div > strong { font-size: 16px; }
  .flashcard { min-height: 360px; }
  .response-actions { gap: 6px; }
  .response-actions button { grid-template-columns: 1fr; grid-template-rows: auto auto auto; justify-items: center; text-align: center; padding: 10px 5px; }
  .response-actions button > span { grid-row: auto; margin-bottom: 5px; }
  .dashboard-main { width: calc(100% - 28px); padding: 34px 0 42px; }
  .dashboard-heading { display: block; margin-bottom: 27px; }
  .dashboard-heading h1 { font-size: 39px; }
  .dashboard-heading p { font-size: 14px; }
  .primary-link { width: 100%; justify-content: center; margin-top: 22px; }
  .summary-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .summary-card { min-height: 128px; padding: 17px; }
  .summary-card-main { grid-column: 1 / -1; min-height: 145px; }
  .summary-card > strong { font-size: 30px; }
  .summary-card > small { font-size: 9px; line-height: 1.35; }
  .panel { padding: 20px 17px; }
  .panel-heading h2 { font-size: 19px; }
  .theme-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; }
  .theme-row > strong { font-size: 16px; }
  .activity-chart { height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Landing */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.landing-shell { min-height: 100svh; overflow: hidden; background: #f7fafc; }
.landing-nav { position: relative; z-index: 10; width: min(1180px, calc(100% - 48px)); height: 82px; display: flex; align-items: center; margin: auto; }
.landing-brand, .demo-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-600); text-decoration: none; }
.landing-brand img, .demo-brand img { width: 176px; height: 55px; object-fit: contain; object-position: left center; }
.landing-brand > span, .demo-brand > span { margin-left: -9px; padding: 5px 6px; border-radius: 5px; color: white; background: var(--brand-500); font: 700 8px/1 var(--font-mono); letter-spacing: .12em; }
.landing-nav nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.landing-nav nav a { color: var(--ink-600); text-decoration: none; font: 650 12px/1 var(--font-display); }
.landing-nav nav a:hover { color: var(--brand-600); }
.landing-nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 24px; }
.nav-login, .nav-demo { padding: 11px 16px; border: 1px solid var(--brand-300); border-radius: 999px; text-decoration: none; font: 700 11px/1 var(--font-display); }
.nav-login { color: var(--brand-600); }
.nav-demo { color: white; border-color: var(--brand-500); background: var(--brand-500); }

.landing-hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr); background: linear-gradient(90deg, var(--navy-950) 0 58%, var(--mist) 58% 100%); }
.hero-copy { width: min(690px, calc(100% - 70px)); justify-self: end; padding: 88px 70px 70px 0; color: white; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-300); font: 600 10px/1 var(--font-mono); letter-spacing: .13em; }
.hero-kicker i { width: 25px; height: 2px; background: currentColor; }
.hero-copy h1 { margin: 27px 0 24px; font: 850 clamp(57px, 6vw, 88px)/.91 var(--font-display); letter-spacing: -.055em; }
.hero-copy h1 em { color: var(--brand-300); font-style: normal; }
.hero-copy > p { max-width: 580px; margin: 0; color: #b8cbe0; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.hero-primary { display: inline-flex; align-items: center; gap: 16px; padding: 17px 22px; border-radius: 999px; color: var(--navy-950); text-decoration: none; background: white; box-shadow: 0 17px 34px -17px #000; font: 750 14px/1 var(--font-display); }
.hero-primary:hover { background: var(--mist); }
.hero-actions > span { color: var(--brand-300); font-size: 10px; }
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 47px; padding-top: 26px; border-top: 1px solid rgba(143,180,214,.18); }
.hero-proof strong { color: white; font: 800 24px/1 var(--font-display); }
.hero-proof span { color: var(--brand-300); font-size: 9px; line-height: 1.45; text-transform: uppercase; letter-spacing: .04em; }
.hero-proof i { width: 1px; height: 31px; margin: 0 5px; background: rgba(143,180,214,.2); }

.hero-product { position: relative; display: grid; place-items: center; padding: 45px 35px; }
.phone-aura { position: absolute; width: 480px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(24,88,144,.12); box-shadow: 0 0 0 50px rgba(24,88,144,.035), 0 0 0 100px rgba(24,88,144,.025); }
.phone-frame { position: relative; z-index: 2; width: min(340px, 84%); padding: 17px; border: 8px solid white; border-radius: 38px; background: #eff5fa; box-shadow: 0 38px 70px -30px rgba(7,26,46,.5); transform: rotate(2deg); }
.phone-status { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 14px; color: var(--brand-600); font: 700 8px/1 var(--font-mono); letter-spacing: .08em; }
.phone-status i { font-style: normal; }
.phone-progress { height: 4px; overflow: hidden; border-radius: 99px; background: white; }
.phone-progress span { display: block; width: 18%; height: 100%; background: var(--brand-500); }
.phone-card { min-height: 386px; display: flex; flex-direction: column; margin-top: 13px; padding: 22px 20px; border-radius: 22px; background: white; box-shadow: 0 18px 40px -30px rgba(7,26,46,.45); }
.phone-card > div { display: flex; align-items: center; justify-content: space-between; }
.phone-card > div span, .phone-card > div strong { color: var(--brand-500); font: 650 8px/1 var(--font-mono); letter-spacing: .06em; }
.phone-card > div span { padding: 6px 7px; border-radius: 6px; background: var(--mist); }
.phone-card > small { margin-top: 62px; color: var(--ink-400); font: 600 8px/1 var(--font-mono); letter-spacing: .14em; }
.phone-card h2 { margin: 15px 0 auto; font: 750 25px/1.17 var(--font-display); letter-spacing: -.025em; }
.phone-card button { padding: 13px; border: 0; border-radius: 999px; color: white; background: var(--brand-500); font: 700 11px/1 var(--font-display); }
.phone-card button span { margin-left: 7px; }
.phone-frame > p { margin: 13px 0 2px; color: var(--ink-400); text-align: center; font: 500 8px/1 var(--font-mono); }
.floating-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 13px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); box-shadow: 0 15px 35px -24px rgba(7,26,46,.55); }
.floating-note strong { color: var(--brand-600); font: 800 20px/1 var(--font-display); }
.floating-note span { color: var(--ink-400); font: 600 8px/1.3 var(--font-mono); letter-spacing: .06em; }
.note-top { top: 118px; left: 3%; }
.note-bottom { right: 3%; bottom: 115px; display: grid; gap: 4px; }

.method-section, .plan-section, .landing-faq { width: min(1120px, calc(100% - 48px)); margin: auto; padding: 105px 0; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; margin-bottom: 48px; }
.section-heading > span { grid-column: 1 / -1; margin-bottom: 16px; color: var(--brand-500); font: 600 9px/1 var(--font-mono); letter-spacing: .16em; }
.section-heading h2 { margin: 0; font: 820 clamp(37px, 4.6vw, 61px)/.98 var(--font-display); letter-spacing: -.04em; }
.section-heading p { align-self: end; max-width: 410px; margin: 0; color: var(--ink-600); font-size: 14px; line-height: 1.7; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.method-grid article { position: relative; min-height: 290px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.method-grid article > span { position: absolute; top: 24px; right: 25px; color: var(--brand-300); font: 700 11px/1 var(--font-mono); }
.method-grid article > i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--navy-900); font: 500 21px/1 var(--font-mono); font-style: normal; }
.method-grid h3 { margin: 65px 0 12px; font: 760 25px/1 var(--font-display); }
.method-grid p { margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.7; }

.content-section { padding: 105px max(24px, calc((100vw - 1120px) / 2)); color: white; background: var(--navy-900); }
.section-heading.light > span, .section-heading.light p { color: var(--brand-300); }
.theme-showcase { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(143,180,214,.18); }
.theme-showcase article { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 22px; min-height: 145px; padding: 26px 30px; border-bottom: 1px solid rgba(143,180,214,.18); }
.theme-showcase article:nth-child(odd) { border-right: 1px solid rgba(143,180,214,.18); }
.theme-showcase article > span { color: var(--brand-300); font: 700 30px/1 var(--font-mono); }
.theme-showcase small { color: var(--brand-300); font: 500 8px/1 var(--font-mono); letter-spacing: .13em; }
.theme-showcase h3 { margin: 7px 0 6px; font: 730 20px/1.1 var(--font-display); }
.theme-showcase p { margin: 0; color: var(--brand-300); font-size: 10px; }
.theme-showcase article > i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(143,180,214,.24); border-radius: 50%; color: var(--brand-300); font-style: normal; }
.content-cta { width: max-content; display: flex; align-items: center; gap: 15px; margin: 42px auto 0; padding: 15px 21px; border-radius: 999px; color: var(--navy-900); text-decoration: none; background: white; font: 700 13px/1 var(--font-display); }

.plan-section { display: grid; grid-template-columns: 1fr 380px; gap: 100px; align-items: center; }
.plan-copy .hero-kicker { color: var(--brand-500); }
.plan-copy h2 { margin: 22px 0 19px; font: 820 clamp(40px, 4.8vw, 62px)/.98 var(--font-display); letter-spacing: -.04em; }
.plan-copy > p { max-width: 600px; color: var(--ink-600); line-height: 1.75; }
.plan-copy ul { display: grid; gap: 12px; padding: 0; margin: 27px 0 0; list-style: none; }
.plan-copy li { display: flex; gap: 11px; color: var(--ink-600); font-size: 13px; }
.plan-copy li span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--brand-600); background: var(--mist); font-size: 10px; }
.price-card { padding: 34px; border-radius: 22px; color: white; background: linear-gradient(150deg, var(--navy-900), var(--navy-950)); box-shadow: 0 30px 55px -35px rgba(7,26,46,.65); }
.price-card > span { color: var(--brand-300); font: 600 9px/1 var(--font-mono); letter-spacing: .14em; }
.price-card p { display: flex; align-items: end; gap: 8px; margin: 27px 0 8px; }
.price-card p strong { font: 820 50px/.9 var(--font-display); letter-spacing: -.04em; }
.price-card p small { color: var(--brand-300); font-size: 12px; }
.price-card > em { color: var(--brand-300); font-size: 10px; font-style: normal; }
.price-card a { display: flex; justify-content: space-between; margin: 30px 0 16px; padding: 15px 17px; border-radius: 999px; color: var(--navy-900); text-decoration: none; background: white; font: 700 12px/1 var(--font-display); }
.price-card > small { display: block; color: var(--brand-300); font-size: 9px; line-height: 1.5; }
.landing-faq { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 0 70px; padding-top: 20px; }
.landing-faq > div { grid-row: 1 / 4; }
.landing-faq > div span { color: var(--brand-500); font: 600 9px/1 var(--font-mono); letter-spacing: .14em; }
.landing-faq h2 { margin: 14px 0; font: 800 42px/1 var(--font-display); }
.landing-faq details { border-top: 1px solid var(--line); }
.landing-faq details:last-of-type { border-bottom: 1px solid var(--line); }
.landing-faq summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font: 690 14px/1.3 var(--font-display); list-style: none; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary i { color: var(--brand-500); font: 500 21px/1 var(--font-mono); font-style: normal; }
.landing-faq details p { margin: -4px 35px 22px 0; color: var(--ink-600); font-size: 13px; line-height: 1.65; }
.landing-footer { min-height: 115px; display: flex; align-items: center; padding: 24px max(24px, calc((100vw - 1120px) / 2)); color: white; background: var(--navy-950); }
.landing-footer img { width: 45px; height: 45px; object-fit: contain; filter: brightness(0) invert(1); margin-right: 13px; }
.landing-footer div { display: grid; gap: 3px; }
.landing-footer strong { font: 750 11px/1 var(--font-display); letter-spacing: .05em; }
.landing-footer span { color: var(--brand-300); font-size: 9px; }
.landing-footer a { margin-left: auto; color: var(--brand-300); text-decoration: none; font-size: 10px; }

/* Demo */
.demo-shell { min-height: 100svh; background: #f3f7fa; }
.demo-nav { width: min(1000px, calc(100% - 40px)); height: 74px; display: flex; align-items: center; justify-content: space-between; margin: auto; }
.demo-brand img { width: 150px; height: 47px; }
.demo-nav-meta { display: flex; align-items: center; gap: 12px; color: var(--ink-400); font: 500 9px/1 var(--font-mono); }
.demo-mode, .simulation-badge { padding: 7px 9px; border-radius: 999px; color: var(--brand-600); background: var(--mist); font: 650 8px/1 var(--font-mono); letter-spacing: .09em; }
.demo-study { width: min(790px, calc(100% - 32px)); margin: auto; padding: 42px 0 80px; }
.demo-study-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.section-kicker { color: var(--brand-500); font: 650 9px/1 var(--font-mono); letter-spacing: .15em; }
.demo-study-head h1 { margin: 13px 0 0; font: 820 clamp(35px, 5vw, 50px)/1 var(--font-display); letter-spacing: -.035em; }
.demo-timer { min-width: 78px; padding: 10px 13px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: white; }
.demo-timer small { display: block; margin-bottom: 5px; color: var(--ink-400); font: 600 7px/1 var(--font-mono); letter-spacing: .12em; }
.demo-timer strong { color: var(--brand-600); font: 650 14px/1 var(--font-mono); }
.demo-progress { height: 5px; overflow: hidden; margin-top: 24px; border-radius: 99px; background: var(--line); }
.demo-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand-500); transition: width .25s ease; }
.demo-progress-label { display: flex; justify-content: space-between; margin: 8px 1px 18px; color: var(--ink-400); font: 500 8px/1 var(--font-mono); }
.demo-card { min-height: 460px; display: flex; flex-direction: column; padding: 28px 31px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 28px 70px -43px rgba(7,26,46,.55); }
.demo-card.is-revealed { border-color: var(--brand-300); background: linear-gradient(155deg, white, #f8fbfd); }
.demo-card-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.demo-card-tags { display: flex; gap: 7px; }
.demo-card-tags span { padding: 7px 9px; border-radius: 7px; color: var(--brand-600); background: var(--mist); font: 650 8px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.demo-card-tags span + span { color: var(--ink-400); background: var(--paper); }
.demo-card-head > strong { color: var(--brand-500); font: 650 9px/1 var(--font-mono); }
.demo-question, .demo-answer { flex: 1; display: flex; flex-direction: column; padding: 58px 4px 2px; }
.demo-question > small, .demo-answer > small { color: var(--ink-400); font: 650 8px/1 var(--font-mono); letter-spacing: .15em; }
.demo-question h2 { max-width: 650px; margin: 18px 0 auto; font: 780 clamp(31px, 4.6vw, 46px)/1.11 var(--font-display); letter-spacing: -.035em; }
.demo-question button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 35px; padding: 15px; border: 0; border-radius: 999px; color: white; background: var(--brand-500); cursor: pointer; font: 720 13px/1 var(--font-display); }
.demo-question button:hover { background: var(--brand-600); }
.demo-question button span { font: 500 17px/1 var(--font-mono); }
.demo-answer { padding-top: 29px; }
.demo-answer h2 { max-width: 720px; margin: 13px 0 9px; color: var(--brand-600); font: 730 clamp(20px, 2.75vw, 30px)/1.32 var(--font-display); letter-spacing: -.018em; }
.memory-tip { display: flex; gap: 12px; margin-top: 22px; padding: 14px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(201,149,46,.09); }
.memory-tip > span { color: var(--gold); }
.memory-tip > div { display: grid; gap: 7px; }
.memory-tip small { display: block; margin-bottom: 4px; color: #8b681e; font: 650 7px/1 var(--font-mono); letter-spacing: .13em; }
.memory-tip strong { display: block; color: var(--ink-600); font-size: 11px; line-height: 1.45; }
.legal-source { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: auto; padding-top: 21px; border-top: 1px solid var(--line); }
.legal-source span { display: grid; gap: 5px; }
.legal-source small { color: var(--ink-400); font: 600 7px/1 var(--font-mono); letter-spacing: .13em; }
.legal-source strong { color: var(--ink-600); font-size: 10px; }
.legal-source a { color: var(--brand-500); font: 650 9px/1 var(--font-mono); }
.demo-rating { margin-top: 18px; }
.demo-rating > p { margin: 0 0 9px; color: var(--ink-600); text-align: center; font-size: 11px; }
.demo-rating > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.demo-rating button { min-height: 72px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr 1fr; align-items: center; column-gap: 9px; padding: 11px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; }
.demo-rating button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -23px rgba(7,26,46,.65); }
.demo-rating i { grid-row: 1 / 3; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; font: 700 13px/1 var(--font-mono); font-style: normal; }
.demo-rating strong { align-self: end; font: 700 11px/1 var(--font-display); }
.demo-rating small { align-self: start; margin-top: 4px; color: var(--ink-400); font-size: 8px; }
.rating-again i { color: #a23c3c; background: #fbecec; }
.rating-hard i { color: #a36d12; background: #fff4dd; }
.rating-good i { color: var(--brand-600); background: var(--mist); }
.rating-easy i { color: #2b7550; background: #e9f6ef; }

.demo-results { width: min(1000px, calc(100% - 40px)); margin: auto; padding: 48px 0 90px; }
.results-hero { text-align: center; }
.result-check { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 19px; border-radius: 50%; color: white; background: var(--brand-500); font: 700 21px/1 var(--font-mono); }
.results-hero h1 { margin: 16px 0 13px; font: 830 clamp(39px, 5.7vw, 61px)/.98 var(--font-display); letter-spacing: -.045em; }
.results-hero p { margin: 0; color: var(--ink-600); font-size: 13px; }
.results-stats { display: grid; grid-template-columns: repeat(5, 1fr); margin: 42px 0 16px; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: white; }
.results-stats > div { min-height: 128px; display: flex; flex-direction: column; justify-content: center; padding: 21px; }
.results-stats > div + div { border-left: 1px solid var(--line); }
.results-stats span { color: var(--ink-400); font: 600 7px/1 var(--font-mono); letter-spacing: .12em; }
.results-stats strong { margin: 10px 0 6px; font: 800 30px/1 var(--font-display); }
.results-stats small { color: var(--ink-400); font-size: 8px; }
.results-stats .score-stat { color: white; background: var(--navy-900); }
.results-stats .score-stat span, .results-stats .score-stat small { color: var(--brand-300); }
.results-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.result-panel { padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.result-panel-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.result-panel-head span { display: block; margin-bottom: 7px; color: var(--brand-500); font: 600 7px/1 var(--font-mono); letter-spacing: .13em; }
.result-panel-head strong { font: 740 20px/1 var(--font-display); }
.result-theme { display: grid; grid-template-columns: 31px 1fr 42px; align-items: center; gap: 12px; padding: 16px 0; }
.result-theme + .result-theme { border-top: 1px solid var(--line); }
.result-theme > span { color: var(--brand-400); font: 650 10px/1 var(--font-mono); }
.result-theme div strong { display: block; margin-bottom: 8px; font-size: 11px; }
.result-theme div i { display: block; height: 4px; overflow: hidden; border-radius: 99px; background: var(--mist); }
.result-theme div b { display: block; height: 100%; background: var(--brand-500); }
.result-theme em { color: var(--brand-600); text-align: right; font: 700 13px/1 var(--font-display); font-style: normal; }
.result-insights { display: grid; gap: 14px; }
.result-insights > div { display: flex; gap: 13px; padding: 15px; border-radius: 12px; background: var(--paper); }
.insight-icon { width: 35px; height: 35px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #2b7550; background: #e7f4ed; font: 700 15px/1 var(--font-mono); }
.insight-icon.review { color: #a36d12; background: #fff4dd; }
.result-insights p { margin: 0; }
.result-insights p small { display: block; margin-bottom: 7px; color: var(--ink-400); font: 600 7px/1 var(--font-mono); letter-spacing: .12em; }
.result-insights p strong { font-size: 11px; line-height: 1.4; }
.result-insights blockquote { margin: 0; padding: 20px; border-radius: 12px; color: var(--brand-300); background: var(--navy-900); font: 650 15px/1.5 var(--font-display); }
.unlock-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 16px; padding: 30px; border-radius: 17px; color: white; background: var(--navy-950); }
.unlock-card > div > span { color: var(--brand-300); font: 600 8px/1 var(--font-mono); letter-spacing: .13em; }
.unlock-card h2 { margin: 9px 0 7px; font: 760 25px/1.1 var(--font-display); }
.unlock-card p { max-width: 630px; margin: 0; color: var(--brand-300); font-size: 10px; line-height: 1.5; }
.unlock-card > a { flex: none; padding: 14px 17px; border-radius: 999px; color: var(--navy-900); text-decoration: none; background: white; font: 700 11px/1 var(--font-display); }
.unlock-card > a span { margin-left: 10px; }
.results-actions { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 23px; }
.results-actions button, .results-actions a { padding: 12px 17px; border-radius: 999px; cursor: pointer; font: 650 10px/1 var(--font-display); }
.results-actions button { border: 0; color: white; background: var(--brand-500); }
.results-actions a { color: var(--brand-600); text-decoration: none; border: 1px solid var(--line); background: white; }

/* Simulated checkout and admin */
.simulation-shell { min-height: 100svh; background: var(--paper); }
.simple-nav { width: min(1100px, calc(100% - 40px)); height: 76px; display: flex; align-items: center; justify-content: space-between; margin: auto; }
.checkout-layout { width: min(1000px, calc(100% - 40px)); display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center; margin: auto; padding: 85px 0 110px; }
.checkout-copy h1 { margin: 18px 0 20px; font: 830 clamp(45px, 6vw, 67px)/.97 var(--font-display); letter-spacing: -.045em; }
.checkout-copy > p { max-width: 530px; color: var(--ink-600); line-height: 1.7; }
.checkout-copy ul { display: grid; gap: 15px; padding: 0; margin: 32px 0 0; list-style: none; }
.checkout-copy li { display: flex; gap: 13px; }
.checkout-copy li > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--brand-600); background: var(--mist); font-size: 11px; }
.checkout-copy li div { display: grid; gap: 5px; }
.checkout-copy li strong { font-size: 13px; }
.checkout-copy li small { color: var(--ink-400); font-size: 10px; }
.checkout-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 27px 65px -40px rgba(7,26,46,.5); }
.checkout-card-head { display: grid; gap: 7px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.checkout-card-head span { color: var(--brand-500); font: 650 8px/1 var(--font-mono); letter-spacing: .13em; }
.checkout-card-head strong { font: 740 22px/1 var(--font-display); }
.checkout-price { display: flex; align-items: end; gap: 7px; padding: 28px 0; }
.checkout-price strong { font: 820 45px/.9 var(--font-display); letter-spacing: -.04em; }
.checkout-price span { color: var(--ink-400); font-size: 10px; }
.checkout-line { display: flex; justify-content: space-between; padding: 12px 0; color: var(--ink-600); font-size: 11px; }
.checkout-line.total { margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-900); }
.checkout-card button { width: 100%; margin: 19px 0 13px; padding: 14px; border: 0; border-radius: 999px; color: #6c6f74; background: #e1e5e8; cursor: not-allowed; font: 700 11px/1 var(--font-display); }
.checkout-card button span { margin-right: 6px; color: #153a74; font-size: 14px; font-style: italic; }
.checkout-card > p { padding: 12px; border-radius: 10px; color: #7f6020; background: #fff4dd; font-size: 8px; line-height: 1.6; }
.checkout-card > a { display: block; margin-top: 19px; color: var(--brand-500); text-align: center; font-size: 10px; }

.admin-shell { min-height: 100svh; display: grid; grid-template-columns: 210px minmax(0, 1fr); background: #f3f6f9; }
.admin-sidebar { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: 27px 18px; color: white; background: var(--navy-950); }
.admin-logo { display: flex; align-items: center; gap: 10px; padding: 0 7px 26px; color: white; text-decoration: none; }
.admin-logo img { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); }
.admin-logo span { font: 750 10px/1.15 var(--font-display); letter-spacing: .05em; }
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 9px; color: var(--brand-300); text-decoration: none; font-size: 10px; }
.admin-sidebar nav a.active { color: white; background: rgba(143,180,214,.13); }
.admin-sidebar nav a span { font: 600 14px/1 var(--font-mono); }
.admin-exit { margin-top: auto; padding: 12px 7px; color: var(--brand-300); text-decoration: none; font-size: 9px; }
.admin-main { width: min(1100px, calc(100% - 60px)); margin: 0 auto; padding: 48px 0 70px; }
.admin-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.admin-head > div > span { color: var(--brand-500); font: 650 8px/1 var(--font-mono); letter-spacing: .14em; }
.admin-head h1 { margin: 11px 0 0; font: 800 36px/1 var(--font-display); letter-spacing: -.035em; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin: 29px 0 17px; }
.admin-stats article { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.admin-stats article > span { color: var(--ink-400); font: 600 7px/1 var(--font-mono); letter-spacing: .1em; }
.admin-stats article > strong { margin: 12px 0 7px; font: 800 28px/1 var(--font-display); }
.admin-stats article > small { color: var(--ink-400); font-size: 8px; }
.admin-panel { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.admin-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.admin-panel-head span { color: var(--brand-500); font: 600 7px/1 var(--font-mono); letter-spacing: .13em; }
.admin-panel-head h2 { margin: 7px 0 0; font: 730 21px/1 var(--font-display); }
.admin-panel-head button { padding: 10px 13px; border: 0; border-radius: 999px; color: var(--ink-400); background: var(--mist); font-size: 9px; }
.admin-table-wrap { overflow-x: auto; }
.admin-panel table { width: 100%; border-collapse: collapse; }
.admin-panel th { padding: 14px 10px; color: var(--ink-400); text-align: left; font: 600 7px/1 var(--font-mono); letter-spacing: .1em; }
.admin-panel td { padding: 14px 10px; border-top: 1px solid var(--line); color: var(--ink-600); font-size: 9px; }
.admin-panel td:first-child { max-width: 450px; }
.admin-panel td strong { display: block; margin-bottom: 5px; color: var(--ink-900); font-size: 10px; line-height: 1.35; }
.admin-panel td small { color: var(--ink-400); }
.published-dot { color: #2b7550; }
.published-dot::before { content: ""; width: 6px; height: 6px; display: inline-block; margin-right: 6px; border-radius: 50%; background: #4ca57a; }
.admin-footnote { margin: 16px 0 0; color: var(--ink-400); font-size: 8px; }

/* Acceso individual */
.access-shell { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); background: var(--paper); }
.access-brand { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 4.5vw, 68px); color: white; background: radial-gradient(circle at 80% 20%, rgba(60,122,181,.25), transparent 35%), linear-gradient(150deg, var(--navy-900), var(--navy-950)); }
.access-brand > a { width: max-content; display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; }
.access-brand > a img { width: 185px; height: 58px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); }
.access-brand > a span { padding: 6px 8px; border-radius: 7px; background: var(--brand-500); font: 700 9px/1 var(--font-mono); letter-spacing: .08em; }
.access-brand > div { max-width: 650px; padding-bottom: 7vh; }
.access-brand h1 { margin: 28px 0 23px; font: 850 clamp(47px, 6vw, 78px)/.95 var(--font-display); letter-spacing: -.05em; }
.access-brand p { max-width: 590px; margin: 0; color: var(--brand-300); font-size: 15px; line-height: 1.75; }
.access-card { width: min(450px, calc(100% - 60px)); align-self: center; justify-self: center; padding: 42px; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: 0 30px 80px -50px rgba(7,26,46,.6); }
.access-card > img { width: 58px; height: 58px; object-fit: contain; margin-bottom: 28px; }
.access-card > span { display: block; color: var(--brand-500); font: 650 9px/1 var(--font-mono); letter-spacing: .14em; }
.access-card h2 { margin: 13px 0 14px; font: 800 34px/1.05 var(--font-display); letter-spacing: -.035em; }
.access-card > p { margin: 0 0 24px; color: var(--ink-600); font-size: 13px; line-height: 1.7; }
.access-primary, .access-secondary { display: flex; align-items: center; justify-content: center; padding: 15px 18px; border-radius: 999px; text-decoration: none; font: 700 12px/1 var(--font-display); }
.access-primary { justify-content: space-between; color: white; background: var(--brand-500); box-shadow: 0 15px 30px -18px rgba(24,88,144,.8); }
.access-secondary { color: var(--brand-600); border: 1px solid var(--line); background: white; }
.access-card > small { display: block; margin-top: 14px; color: var(--ink-400); text-align: center; font-size: 8px; }
.access-notice { margin: 0 0 16px; padding: 13px 14px; border-radius: 11px; color: #7f6020; background: #fff4dd; font-size: 10px; line-height: 1.5; }
.access-login-form { display: grid; gap: 13px; }
.access-login-form label { display: grid; gap: 7px; }
.access-login-form label > span { color: var(--ink-600); font: 650 9px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.access-login-form input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink-900); background: var(--paper); outline: none; font-size: 13px; }
.access-login-form input:focus { border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(60,122,181,.12); }
.access-login-form > button { min-height: 48px; display: flex; align-items: center; justify-content: space-between; margin-top: 3px; padding: 0 17px; border: 0; border-radius: 999px; color: white; background: var(--brand-500); cursor: pointer; font: 700 12px/1 var(--font-display); }
.access-login-form > button:disabled { opacity: .65; cursor: wait; }
.access-error { margin: 0; padding: 11px 12px; border-radius: 10px; color: #8b332d; background: #fff0ee; font-size: 10px; line-height: 1.5; }
.access-help { margin: -2px 0 0; color: var(--ink-400); text-align: center; font-size: 9px; }
.code-requirements { display: grid; gap: 7px; margin: 1px 0 3px; padding: 13px 14px 13px 29px; border-radius: 11px; color: var(--ink-600); background: var(--mist); font-size: 9px; line-height: 1.45; }
.code-requirements li::marker { color: var(--brand-500); }

/* Administración de alumnos */
.live-badge { padding: 8px 10px; border-radius: 8px; color: #2b7550; background: #e9f6ef; font: 650 7px/1 var(--font-mono); letter-spacing: .1em; }
.student-admin-panel { margin-bottom: 17px; }
.student-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; padding-top: 20px; }
.student-form label { display: grid; gap: 8px; }
.student-form label span { color: var(--ink-400); font: 600 8px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.student-form input { width: 100%; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-900); background: var(--paper); outline: none; font-size: 11px; }
.student-form input:focus { border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(60,122,181,.12); }
.student-form button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; color: white; background: var(--brand-500); cursor: pointer; font: 700 10px/1 var(--font-display); }
.student-form button:disabled { opacity: .6; cursor: wait; }
.admin-message { margin: 14px 0 0; color: var(--brand-600); font-size: 10px; }
.student-list-panel .admin-panel-head > small { color: var(--ink-400); font-size: 9px; }
.paused-dot { color: #a36d12; }
.paused-dot::before { content: ""; width: 6px; height: 6px; display: inline-block; margin-right: 6px; border-radius: 50%; background: #d59b37; }
.table-action { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--brand-600); background: white; cursor: pointer; font-size: 8px; }
.table-actions { display: flex; gap: 6px; white-space: nowrap; }
.issued-code { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 16px; border: 1px solid var(--brand-300); border-radius: 12px; background: var(--mist); }
.issued-code span, .issued-code small { display: block; color: var(--ink-400); font: 600 7px/1.4 var(--font-mono); letter-spacing: .08em; }
.issued-code strong { display: block; margin: 7px 0; color: var(--brand-600); font: 800 19px/1 var(--font-mono); letter-spacing: .08em; }
.issued-code button { flex: none; padding: 10px 13px; border: 0; border-radius: 999px; color: white; background: var(--brand-500); cursor: pointer; font-size: 9px; }
.admin-security-panel { margin-top: 17px; }
.admin-security-panel .admin-panel-head > small { color: var(--ink-400); font-size: 8px; }
.admin-security-note { margin: 14px 0 0; color: var(--ink-400); font-size: 9px; }

@media (max-width: 900px) {
  .access-shell { grid-template-columns: 1fr 420px; }
  .access-brand { padding: 38px; }
  .student-form { grid-template-columns: 1fr 1fr; }
  .student-form button { grid-column: 1 / -1; }
  .landing-hero { grid-template-columns: 1fr; background: var(--navy-950); }
  .hero-copy { width: min(100% - 44px, 690px); justify-self: center; padding: 75px 0 48px; }
  .hero-product { min-height: 620px; background: var(--mist); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading p { margin-top: 20px; }
  .plan-section { grid-template-columns: 1fr 330px; gap: 45px; }
  .checkout-layout { gap: 38px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .results-stats { grid-template-columns: repeat(3, 1fr); }
  .results-stats > div:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .results-stats > div:nth-child(5) { border-top: 1px solid var(--line); }
}

@media (max-width: 650px) {
  .access-shell { display: block; min-height: 100svh; padding-bottom: 30px; background: linear-gradient(160deg, var(--navy-900) 0 38%, var(--paper) 38%); }
  .access-brand { min-height: 0; padding: 22px 20px 55px; background: transparent; }
  .access-brand > a img { width: 145px; height: 45px; }
  .access-brand > div { padding: 50px 0 0; }
  .access-brand h1 { margin: 19px 0 15px; font-size: 45px; }
  .access-brand p { font-size: 12px; }
  .access-card { width: calc(100% - 24px); margin: -25px auto 0; padding: 28px 22px; }
  .access-card h2 { font-size: 29px; }
  .student-form { grid-template-columns: 1fr; }
  .student-form button { grid-column: auto; }
  .landing-nav { width: calc(100% - 28px); height: 68px; }
  .landing-nav nav { display: none; }
  .landing-brand img { width: 141px; height: 44px; }
  .landing-brand img { width: 124px; }
  .landing-nav-actions { gap: 5px; margin-left: auto; }
  .nav-login, .nav-demo { padding: 8px 9px; font-size: 8px; }
  .landing-hero { min-height: 0; }
  .hero-copy { width: calc(100% - 36px); padding: 54px 0 43px; }
  .hero-copy h1 { margin: 22px 0 19px; font-size: clamp(48px, 15vw, 67px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { display: grid; }
  .hero-primary { justify-content: space-between; }
  .hero-proof { gap: 8px; }
  .hero-proof strong { font-size: 20px; }
  .hero-proof span { font-size: 7px; }
  .hero-proof i { margin: 0 1px; }
  .hero-product { min-height: 560px; padding: 30px 12px; }
  .phone-frame { width: min(315px, 88%); }
  .phone-aura { width: 360px; }
  .note-top { top: 78px; left: 1px; }
  .note-bottom { right: 1px; bottom: 70px; }
  .method-section, .plan-section, .landing-faq { width: calc(100% - 32px); padding: 72px 0; }
  .section-heading { margin-bottom: 29px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading p { font-size: 13px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 230px; }
  .method-grid h3 { margin-top: 42px; }
  .content-section { padding: 72px 16px; }
  .theme-showcase { grid-template-columns: 1fr; }
  .theme-showcase article:nth-child(odd) { border-right: 0; }
  .theme-showcase article { grid-template-columns: 47px minmax(0, 1fr) 30px; gap: 14px; min-height: 120px; padding: 20px 10px; }
  .theme-showcase article > span { font-size: 23px; }
  .theme-showcase h3 { font-size: 17px; }
  .plan-section { grid-template-columns: 1fr; gap: 38px; }
  .plan-copy h2 { font-size: 40px; }
  .price-card { padding: 27px; }
  .landing-faq { grid-template-columns: 1fr; padding-top: 0; }
  .landing-faq > div { grid-row: auto; margin-bottom: 20px; }
  .landing-footer { padding: 22px 16px; }
  .landing-footer a { max-width: 80px; text-align: right; }

  .demo-nav { width: calc(100% - 28px); height: 64px; }
  .demo-brand img { width: 132px; height: 42px; }
  .demo-nav-meta > span:last-child { display: none; }
  .demo-study { width: calc(100% - 24px); padding: 28px 0 58px; }
  .demo-study-head h1 { font-size: 33px; }
  .demo-card { min-height: 465px; padding: 20px 18px; border-radius: 17px; }
  .demo-card-tags span + span { display: none; }
  .demo-question { padding-top: 47px; }
  .demo-question h2 { font-size: clamp(29px, 8.7vw, 38px); }
  .demo-answer h2 { font-size: 20px; line-height: 1.34; }
  .legal-source { align-items: start; }
  .legal-source span { max-width: 210px; }
  .demo-study:has(.demo-rating) { padding-bottom: 132px; }
  .demo-rating { position: fixed; z-index: 90; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); max-width: 430px; margin: 0; padding: 10px; transform: translateX(-50%); border: 1px solid rgba(216,227,238,.9); border-radius: 17px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: 0 20px 48px -22px rgba(7,26,46,.65); }
  .demo-rating > p { margin-bottom: 8px; }
  .demo-rating > div { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .demo-rating button { min-height: 67px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 6px 2px; text-align: center; }
  .demo-rating i { grid-row: auto; width: 25px; height: 25px; flex: none; font-size: 11px; }
  .demo-rating strong { font-size: 9px; line-height: 1.05; }
  .demo-rating small { display: none; }
  .demo-results { width: calc(100% - 24px); padding: 33px 0 60px; }
  .results-hero h1 { font-size: 39px; }
  .results-stats { grid-template-columns: 1fr 1fr; }
  .results-stats > div { min-height: 112px; padding: 16px; }
  .results-stats > div:nth-child(odd) { border-left: 0; }
  .results-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .results-stats > div:last-child { grid-column: 1 / -1; }
  .results-grid { grid-template-columns: 1fr; }
  .unlock-card { display: grid; padding: 24px 20px; }
  .unlock-card > a { text-align: center; }

  .simple-nav { width: calc(100% - 28px); height: 66px; }
  .simple-nav .landing-brand img { width: 125px; }
  .simulation-badge { font-size: 6px; }
  .checkout-layout { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 40px; padding: 52px 0 72px; }
  .checkout-copy h1 { font-size: 45px; }
  .admin-shell { display: block; }
  .admin-sidebar { position: static; width: 100%; height: auto; display: block; padding: 13px 14px; }
  .admin-logo { display: none; }
  .admin-sidebar nav { display: flex; overflow-x: auto; }
  .admin-sidebar nav a { flex: none; }
  .admin-exit { display: none; }
  .admin-main { width: calc(100% - 24px); padding: 30px 0 50px; }
  .admin-head { align-items: start; }
  .admin-head h1 { font-size: 29px; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 7px; }
  .admin-stats article { min-height: 112px; padding: 14px; }
  .admin-panel { padding: 18px 12px; }
  .admin-panel table { min-width: 680px; }
}


/* Anchos y altos en porcentaje para barras (la CSP no admite estilos en línea). */
.w-p0{width:0%}.h-p0{height:0%}
.w-p1{width:1%}.h-p1{height:1%}
.w-p2{width:2%}.h-p2{height:2%}
.w-p3{width:3%}.h-p3{height:3%}
.w-p4{width:4%}.h-p4{height:4%}
.w-p5{width:5%}.h-p5{height:5%}
.w-p6{width:6%}.h-p6{height:6%}
.w-p7{width:7%}.h-p7{height:7%}
.w-p8{width:8%}.h-p8{height:8%}
.w-p9{width:9%}.h-p9{height:9%}
.w-p10{width:10%}.h-p10{height:10%}
.w-p11{width:11%}.h-p11{height:11%}
.w-p12{width:12%}.h-p12{height:12%}
.w-p13{width:13%}.h-p13{height:13%}
.w-p14{width:14%}.h-p14{height:14%}
.w-p15{width:15%}.h-p15{height:15%}
.w-p16{width:16%}.h-p16{height:16%}
.w-p17{width:17%}.h-p17{height:17%}
.w-p18{width:18%}.h-p18{height:18%}
.w-p19{width:19%}.h-p19{height:19%}
.w-p20{width:20%}.h-p20{height:20%}
.w-p21{width:21%}.h-p21{height:21%}
.w-p22{width:22%}.h-p22{height:22%}
.w-p23{width:23%}.h-p23{height:23%}
.w-p24{width:24%}.h-p24{height:24%}
.w-p25{width:25%}.h-p25{height:25%}
.w-p26{width:26%}.h-p26{height:26%}
.w-p27{width:27%}.h-p27{height:27%}
.w-p28{width:28%}.h-p28{height:28%}
.w-p29{width:29%}.h-p29{height:29%}
.w-p30{width:30%}.h-p30{height:30%}
.w-p31{width:31%}.h-p31{height:31%}
.w-p32{width:32%}.h-p32{height:32%}
.w-p33{width:33%}.h-p33{height:33%}
.w-p34{width:34%}.h-p34{height:34%}
.w-p35{width:35%}.h-p35{height:35%}
.w-p36{width:36%}.h-p36{height:36%}
.w-p37{width:37%}.h-p37{height:37%}
.w-p38{width:38%}.h-p38{height:38%}
.w-p39{width:39%}.h-p39{height:39%}
.w-p40{width:40%}.h-p40{height:40%}
.w-p41{width:41%}.h-p41{height:41%}
.w-p42{width:42%}.h-p42{height:42%}
.w-p43{width:43%}.h-p43{height:43%}
.w-p44{width:44%}.h-p44{height:44%}
.w-p45{width:45%}.h-p45{height:45%}
.w-p46{width:46%}.h-p46{height:46%}
.w-p47{width:47%}.h-p47{height:47%}
.w-p48{width:48%}.h-p48{height:48%}
.w-p49{width:49%}.h-p49{height:49%}
.w-p50{width:50%}.h-p50{height:50%}
.w-p51{width:51%}.h-p51{height:51%}
.w-p52{width:52%}.h-p52{height:52%}
.w-p53{width:53%}.h-p53{height:53%}
.w-p54{width:54%}.h-p54{height:54%}
.w-p55{width:55%}.h-p55{height:55%}
.w-p56{width:56%}.h-p56{height:56%}
.w-p57{width:57%}.h-p57{height:57%}
.w-p58{width:58%}.h-p58{height:58%}
.w-p59{width:59%}.h-p59{height:59%}
.w-p60{width:60%}.h-p60{height:60%}
.w-p61{width:61%}.h-p61{height:61%}
.w-p62{width:62%}.h-p62{height:62%}
.w-p63{width:63%}.h-p63{height:63%}
.w-p64{width:64%}.h-p64{height:64%}
.w-p65{width:65%}.h-p65{height:65%}
.w-p66{width:66%}.h-p66{height:66%}
.w-p67{width:67%}.h-p67{height:67%}
.w-p68{width:68%}.h-p68{height:68%}
.w-p69{width:69%}.h-p69{height:69%}
.w-p70{width:70%}.h-p70{height:70%}
.w-p71{width:71%}.h-p71{height:71%}
.w-p72{width:72%}.h-p72{height:72%}
.w-p73{width:73%}.h-p73{height:73%}
.w-p74{width:74%}.h-p74{height:74%}
.w-p75{width:75%}.h-p75{height:75%}
.w-p76{width:76%}.h-p76{height:76%}
.w-p77{width:77%}.h-p77{height:77%}
.w-p78{width:78%}.h-p78{height:78%}
.w-p79{width:79%}.h-p79{height:79%}
.w-p80{width:80%}.h-p80{height:80%}
.w-p81{width:81%}.h-p81{height:81%}
.w-p82{width:82%}.h-p82{height:82%}
.w-p83{width:83%}.h-p83{height:83%}
.w-p84{width:84%}.h-p84{height:84%}
.w-p85{width:85%}.h-p85{height:85%}
.w-p86{width:86%}.h-p86{height:86%}
.w-p87{width:87%}.h-p87{height:87%}
.w-p88{width:88%}.h-p88{height:88%}
.w-p89{width:89%}.h-p89{height:89%}
.w-p90{width:90%}.h-p90{height:90%}
.w-p91{width:91%}.h-p91{height:91%}
.w-p92{width:92%}.h-p92{height:92%}
.w-p93{width:93%}.h-p93{height:93%}
.w-p94{width:94%}.h-p94{height:94%}
.w-p95{width:95%}.h-p95{height:95%}
.w-p96{width:96%}.h-p96{height:96%}
.w-p97{width:97%}.h-p97{height:97%}
.w-p98{width:98%}.h-p98{height:98%}
.w-p99{width:99%}.h-p99{height:99%}
.w-p100{width:100%}.h-p100{height:100%}

/* Añadidos de la versión en PHP: enlaces con aspecto de botón y mensajes de estado de la sesión. */
.flash-button-link { min-height: 48px; display: flex; align-items: center; justify-content: space-between; margin-top: 3px; padding: 0 17px; border-radius: 999px; color: white; background: var(--brand-500); text-decoration: none; font: 700 12px/1 var(--font-display); }
.study-status { margin: 0 0 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-600); background: white; font-size: 13px; line-height: 1.6; }
.study-retry { margin-left: 6px; padding: 6px 12px; border: 1px solid var(--brand-300); border-radius: 999px; color: var(--brand-600); background: var(--mist); cursor: pointer; font: 700 11px/1 var(--font-display); }
.access-login-form .access-help + .access-help { margin-top: -6px; }
/* Enlace a los tests de Pràctica: cuatro botones en el menú del móvil. */
.mobile-dock { grid-template-columns: repeat(4, 1fr); }
.main-nav a.nav-tests span { margin-left: 3px; font-size: 11px; }
