/* mesa-aula.css — «La mesa de corte» on the classroom page, /classroom/ and /es/aula/ (r1850, 14-11-2026).
   ==========================================================================
   The look of /es/vidrio/ (assets/css/mesa-area.css): the site's header and the opening band in one full colour (the
   documents' lilac of the mould, #b9a7ff, with ink on it), the eyebrow in spaced capitals after a black dash, a big
   title; the form on a sheet with an ink edge and a hard shadow, the topics as boxes with an ink edge, the legends in
   spaced capitals and pill buttons. Presentation only: no text, field, order or script changes. The band is light in
   both themes, as in the mould; the form below keeps the site's light and dark themes (its colours are the theme's).
   The printed sheets are not touched. Linked by tools/build-classroom.cjs after worlds.css.
   ========================================================================== */
@media screen{
body:has(> main #cl-form){ --ml-mat:#b9a7ff; --ml-vw:calc(1vw / var(--zc,1)); --ml-gut:max(18px, calc(3.2 * var(--ml-vw))); }

/* the header on the band */
body:has(> main #cl-form) .site-head{ position:relative; background:var(--ml-mat); border-bottom:0; color:#0b0f0e; box-shadow:none; color-scheme:light; }
body:has(> main #cl-form) .site-head > .wrap{ max-width:none; padding-inline:var(--ml-gut); }
body:has(> main #cl-form) .site-head :is(.nav > a, .nav-dd, .brand){ color:#0b0f0e; }
body:has(> main #cl-form) .site-head :is(.nav > a, .nav-dd):hover, body:has(> main #cl-form) .site-head .nav-drop.open > .nav-dd{ background:rgba(11,15,14,.1); }
body:has(> main #cl-form) .site-head .nav a[aria-current="page"]::after, body:has(> main #cl-form) .site-head .nav-dd.on::before{ background:#0b0f0e; }
body:has(> main #cl-form) .site-head :is(.sfp-btn, .menu-btn){ background:transparent; border-color:rgba(11,15,14,.55); color:#0b0f0e; }
body:has(> main #cl-form) .site-head .sfp-btn kbd{ border-color:rgba(11,15,14,.55); color:#0b0f0e; }
body:has(> main #cl-form) .site-head .nav > :is(a[href="/pricing/"], a[href="/es/precios/"]){ background:transparent; border:2px solid #0b0f0e; border-radius:999px; color:#0b0f0e; }
body:has(> main #cl-form) .site-head .nav > :is(a[href="/pricing/"], a[href="/es/precios/"]):hover{ background:#0b0f0e; color:#f4f1ea; }
@media (max-width:999px){ body:has(> main #cl-form) .site-head .nav > :is(a[href="/pricing/"], a[href="/es/precios/"]){ border:0; } }
body:has(> main #cl-form) .site-head :is(a, button):focus-visible{ outline:3px solid #0b0f0e; outline-offset:2px; }

/* the band: it reaches both edges by its shadows, so nothing scrolls sideways */
body:has(> main #cl-form) main > .hero{ position:relative; isolation:isolate; margin:0 0 30px; padding:10px 0 26px !important; background:var(--ml-mat); color:#0b0f0e; border:0; border-radius:0;
  box-shadow:0 0 0 100vmax var(--ml-mat), 0 3px 0 100vmax #0b0f0e; clip-path:inset(0 -100vmax -3px); color-scheme:light;
  --ink:#0b0f0e; --ink-2:#0b0f0e; --ink-3:#0b0f0e; --glass:#0b0f0e; --rule:rgba(11,15,14,.35); }
/* the area's drawing at the right (base.css, --wimg) stays, above the band */
body:has(> main #cl-form) main > .hero::before{ display:none; }
body:has(> main #cl-form) main > .hero > .eyebrow{ display:flex; align-items:center; gap:12px; margin:6px 0 0; color:#0b0f0e; font-size:.86rem; line-height:1.3; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
body:has(> main #cl-form) main > .hero > .eyebrow::before{ content:""; flex:0 0 34px; height:4px; background:currentColor; }
body:has(> main #cl-form) main > .hero > h1{ margin:14px 0 0; max-width:15em; color:#0b0f0e; font-weight:800; font-stretch:100%; letter-spacing:-.035em; line-height:.96; text-wrap:balance;
  font-size:clamp(2.1rem, calc(4.5 * var(--ml-vw)), 4.5rem); }
body:has(> main #cl-form) main > .hero > .answer{ margin:16px 0 0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; color:#0b0f0e; }
body:has(> main #cl-form) main > .hero > .answer > p{ margin:0; max-width:44em; color:#0b0f0e; font-size:1.04rem; line-height:1.45; }
body:has(> main #cl-form) main > .hero :is(a, .sf-more){ color:#0b0f0e; }
@media (min-width:1100px){ body:has(> main #cl-form) main > .hero > :is(h1, .eyebrow, .answer){ max-width:min(900px, 60%); } }

/* the form: a sheet with an ink edge and a hard shadow */
body:has(> main #cl-form) .calc.cl-calc{ border:3px solid var(--ink); border-radius:14px; box-shadow:8px 8px 0 var(--ink); }
body:has(> main #cl-form) .cl-calc legend{ display:flex; align-items:center; gap:10px; font-size:.82rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); }
body:has(> main #cl-form) .cl-calc legend::before{ content:""; flex:0 0 22px; height:4px; background:currentColor; }
body:has(> main #cl-form) .cl-chk{ border:2px solid var(--ink); border-radius:10px; }
body:has(> main #cl-form) .cl-chk:has(input:checked){ border-color:var(--ink); box-shadow:inset 0 0 0 2px var(--ink), 4px 4px 0 var(--ml-mat); }
body:has(> main #cl-form) .cl-chk input{ accent-color:var(--ink); }
body:has(> main #cl-form) main :is(.btn, .seg button){ border-radius:999px; }
body:has(> main #cl-form) main .btn{ min-height:44px; border:2px solid var(--ink); font-weight:700; }
body:has(> main #cl-form) main .btn.cl-primary{ background:var(--ink); border-color:var(--ink); color:var(--surface); }
body:has(> main #cl-form) main .btn.cl-primary:hover{ background:var(--ml-mat); border-color:var(--ink); color:#0b0f0e; filter:none; }
}
