/* The AI-Empowered Educator. The page is built from the Founder's Lab course-page components (portal.css: pt-*, ss-card, ss-bar;
   session.css: ss2-card). This file only lays those pieces out and adds what Founder's Lab has no component for
   (copyable text blocks, the editable inputs, the module 3 drop zones, presenter sizing). Hub tokens only. */
.aie-gap { margin-top: 24px; }
.aie-gap-sm { margin-top: 14px; gap: 12px; flex-wrap: wrap; }
.aie-stack { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.aie-cards { display: grid; gap: 12px; margin-top: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.aie-cards .ss-card-t { margin-top: 10px; }
.aie-prose p, .aie-prose li { margin: 0 0 10px; line-height: 1.65; }
.aie-prose { padding-left: 0; }
.aie-prose a { color: var(--teal); word-break: break-all; }
.aie-pre { margin: 14px 0 0; padding: 16px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); font: 500 .9rem/1.65 var(--mono); }
.aie-inputs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; padding: 0; border: 0; }
.aie-inputs label, .aie-form label { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; color: var(--text-muted); }
.aie-inputs textarea, .aie-form input, .aie-form textarea, .aie-drag select { font: inherit; font-size: .95rem; color: var(--text); padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.aie-form { display: grid; gap: 14px; }

/* module 3 drop zones */
.aie-zones { display: grid; gap: 12px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.aie-zone { margin-top: 12px; min-height: 100px; padding: 12px; border: 1.5px dashed var(--border); border-radius: 16px; }
.aie-zone.over { border-color: var(--teal); background: var(--surface-3); }
.aie-zone ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.aie-pool { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.aie-drag { cursor: grab; }
.aie-drag select { width: 100%; margin-top: 10px; padding: 8px; }
.aie-drag[data-state="ok"] { border-color: var(--teal); }
.aie-drag[data-state="bad"] { border-color: var(--danger); }
.aie-score:empty { display: none; }

/* presenter mode: same components, larger type for a projector */
.aie-present .pt-h1 { margin-top: 20px; font-size: clamp(2.6rem, 5vw, 4.5rem); }
.aie-present-q { font-size: clamp(1.3rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.35; color: var(--text); }
.aie-present-big { font-size: clamp(1.05rem, .95rem + .6vw, 1.5rem); }
.aie-qr { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: color-mix(in srgb, var(--bg) 94%, transparent); cursor: pointer; }
.aie-qr img { width: min(60vh, 80vw); height: auto; background: #fff; padding: 16px; border-radius: 16px; }

/* Sidebar: every label stays on one line (a wider sidebar on this page, a little smaller type, ellipsis as the last resort; the full title is the link's tooltip) */
:root { --side-w: 300px; }
.side-nav a { height: 48px; }
.side-nav .lbl { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .9rem; }
.aie-h3 { margin: 18px 0 6px; font: 600 1.05rem var(--font-body); }

/* Programme content blocks */
.aie-prose p { margin: 0 0 12px; }
.aie-list, .aie-checks { margin: 0 0 12px; padding-left: 22px; line-height: 1.65; }
.aie-list li, .aie-checks li { margin: 0 0 8px; }
.aie-list ul { margin-top: 8px; }
.aie-checks { list-style: none; padding-left: 0; }
.aie-checks label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.aie-checks input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.aie-note { padding: 12px 14px; border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 10px; background: var(--surface-2); }
.aie-table-wrap { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--border); border-radius: 12px; }
.aie-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .92rem; }
.aie-table th { text-align: left; padding: 10px 14px; background: var(--surface-2); font: 600 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.aie-table td { padding: 10px 14px; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.55; }
.aie-table tr:last-child td { border-bottom: 0; }
.aie-table td.aie-first { font-weight: 600; white-space: nowrap; }
.aie-copy { margin: 0 0 16px; }
.aie-copy-label { margin: 0 0 4px; font: 600 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 640px) { .aie-table td.aie-first { white-space: normal; } }

/* PESTEL practice */
.aie-rounds { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.aie-pick { all: unset; display: block; cursor: pointer; width: 100%; border-radius: 8px; }
.aie-pick:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.aie-drag.is-selected { border-color: var(--gold); box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 45%, transparent); }
.aie-meaning { margin: 0 0 8px; font-size: .8rem; color: var(--text-muted); }
