/* SOLVE, Esplora and Crea (Ale, 3 Nov, second UI round). The learner app's look, its own values (v2.css): the sidebar on
   the frame, the page in a ground with 28px corners, cards at 28-36px, buttons and fields as pills; corporate's poster
   card (main-look.css .km-poster), its field with the turning ring (course-builder.css .cb-ask), its EntryGate
   (entry-gate.css). Night and day from the same names. */

@property --turn { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  --frame: #0b0b0c; --bg: #141416; --card: #1c1c1f; --card-2: #242428; --card-3: #2c2c30;
  --ink: #f5f5f7; --ink-2: rgb(245 245 247 / .72); --ink-3: rgb(245 245 247 / .46); --faint: rgb(245 245 247 / .28);
  --line: rgb(255 255 255 / .07); --line-2: rgb(255 255 255 / .12); --fill: rgb(255 255 255 / .06); --fill-2: rgb(255 255 255 / .1);
  --blue: #3d9bff; --btn: #0a84ff; --blue-f: rgb(10 132 255 / .16);
  --coral: #ff7a63; --coral-f: rgb(255 122 99 / .15); --mint: #3ddc97; --mint-f: rgb(61 220 151 / .14);
  --lesson: #3d9bff; --case: #b18cff; --exam: #ffb340; --course: #3ddc97;
  --shadow: 0 0 0 1px var(--line); --shadow-hi: 0 0 0 1px var(--line), 0 30px 60px -30px rgb(0 0 0 / .7);
  --serif: Newsreader, Georgia, serif; --sans: Inter, -apple-system, system-ui, sans-serif;
  --out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); --ease: cubic-bezier(.2, .9, .25, 1);
  --ring: conic-gradient(from var(--turn), #0a84ff, #5e5ce6, #a35cf0, #e07ac8, #5e5ce6, #0a84ff);
  --gut: clamp(20px, 4vw, 52px);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --frame: #eef0f3; --bg: #fcfcfd; --card: #ffffff; --card-2: #f3f4f6; --card-3: #e9ebee;
  --ink: #111214; --ink-2: rgb(17 18 20 / .7); --ink-3: rgb(17 18 20 / .46); --faint: rgb(17 18 20 / .3);
  --line: rgb(17 18 20 / .07); --line-2: rgb(17 18 20 / .12); --fill: rgb(17 18 20 / .045); --fill-2: rgb(17 18 20 / .08);
  --blue: #0071e3; --btn: #0071e3; --blue-f: rgb(0 113 227 / .1);
  --coral: #e2553c; --coral-f: rgb(226 85 60 / .1); --mint: #12a86a; --mint-f: rgb(18 168 106 / .11);
  --lesson: #0071e3; --case: #7b4fd6; --exam: #c27a00; --course: #12a86a;
  --shadow: 0 0 0 1px rgb(17 18 20 / .04), 0 1px 2px rgb(17 18 20 / .04), 0 10px 30px -14px rgb(17 18 20 / .12);
  --shadow-hi: 0 0 0 1px rgb(17 18 20 / .05), 0 2px 4px rgb(17 18 20 / .04), 0 30px 60px -28px rgb(17 18 20 / .22);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--frame); }
body { color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; letter-spacing: -.006em; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
img, video { display: block; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.k-lesson { --kind: var(--lesson); } .k-case { --kind: var(--case); } .k-exam { --kind: var(--exam); } .k-course { --kind: var(--course); }
.kind { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kind); }
.muted { color: var(--ink-3); }
.kick { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* ---------- controls: pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--btn); color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 14px 34px -14px rgb(10 132 255 / .8); transition: filter .2s, transform .45s var(--spring); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); filter: brightness(1.08); } }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .35; pointer-events: none; box-shadow: none; }
.btn.lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn.sm { min-height: 36px; padding: 0 15px; font-size: 13.5px; box-shadow: none; }
.btn.ghost { background: var(--fill); color: var(--ink); box-shadow: none; }
@media (hover: hover) { .btn.ghost:hover { background: var(--fill-2); } }
.round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fill); color: var(--ink-2); transition: background .2s, transform .35s var(--spring); flex: none; }
@media (hover: hover) { .round:hover { background: var(--fill-2); color: var(--ink); } }
.round.sm { width: 34px; height: 34px; }
.lnk { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 550; color: var(--ink-3); }
@media (hover: hover) { .lnk:hover { color: var(--ink); } }
.ul { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.pill-back { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px 0 11px; border-radius: 999px; background: var(--fill); font-size: 14px; font-weight: 550; color: var(--ink-2); }
@media (hover: hover) { .pill-back:hover { background: var(--fill-2); color: var(--ink); } }
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--ink-3); white-space: nowrap; transition: color .2s, background .25s; }
@media (hover: hover) { .seg button:hover { color: var(--ink); } }
.seg button.on { background: var(--card-2); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .18); }
:root[data-theme="light"] .seg button.on { background: var(--bg); }
.card { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); }
.bar { height: 6px; border-radius: 6px; background: var(--fill-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #0a84ff, #5e5ce6); transform-origin: left; animation: grow 1.1s .2s var(--out) backwards; }
.segs { display: flex; gap: 3px; }
.segs i { flex: 1; max-width: 20px; height: 4px; border-radius: 4px; background: var(--fill-2); }
.segs i.on { background: var(--mint); } .segs i.cur { background: var(--blue); }
.av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, #3d9bff, #5e5ce6); color: #fff; font-weight: 700; font-size: 13.5px; flex: none; }

/* ---------- the shell: the learner app's sidebar on the frame, the page in its ground ---------- */
.shell { display: grid; grid-template-columns: var(--side-w, 264px) minmax(0, 1fr); height: 100vh; overflow: hidden; transition: grid-template-columns .5s var(--ease); }
body.is-resizing .shell { transition: none; }
body.is-resizing { cursor: col-resize; user-select: none; }
.side { position: relative; display: flex; flex-direction: column; gap: 26px; height: 100vh; padding: 22px 16px 18px; min-width: 0; overflow: hidden; }
.side-grip { position: absolute; z-index: 3; top: 0; bottom: 0; right: 0; width: 12px; cursor: col-resize; touch-action: none; }
.side-grip::after { content: ""; position: absolute; top: 50%; right: 4px; width: 2px; height: 36px; margin-top: -18px; border-radius: 2px; background: var(--blue); opacity: 0; transition: opacity .15s; }
.side-grip.is-dragging::after { opacity: 1; } @media (hover: hover) { .side-grip:hover::after { opacity: 1; } }
.side-toggle { position: absolute; z-index: 4; top: 24px; right: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--ink-3); transition: background .15s, color .15s; }
@media (hover: hover) { .side-toggle:hover { background: var(--fill); color: var(--ink); } }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; font-size: 15.5px; color: var(--ink-2); min-width: 0; }
.brand b { font-weight: 700; color: var(--ink); }
.mark { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(150deg, #1d1d22, #0b0b0d); color: #fff; font-weight: 800; font-size: 16px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), 0 4px 12px -4px rgb(10 132 255 / .5); }
.menu { display: grid; gap: 2px; }
.menu button { display: flex; align-items: center; gap: 13px; height: 44px; padding: 0 14px; border-radius: 14px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-align: left; transition: background .2s, color .2s; white-space: nowrap; }
.menu button svg { color: var(--ink-3); transition: color .2s; }
@media (hover: hover) { .menu button:hover { background: var(--fill); color: var(--ink); } }
.menu button.is-on { background: var(--bg); color: var(--ink); box-shadow: var(--shadow); }
:root[data-theme="light"] .menu button.is-on { background: #fff; }
.menu button.is-on svg { color: var(--blue); }
.menu small { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.side-sec { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; display: grid; align-content: start; gap: 4px; min-width: 0; margin: 0 -6px; padding: 0 6px; }
.side-sec > small { padding: 0 14px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.side-course { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border-radius: 14px; text-align: left; min-width: 0; }
.side-course.is-on { background: var(--fill); } @media (hover: hover) { .side-course:hover { background: var(--fill); } }
.side-course img { width: 30px; height: 30px; border-radius: 10px; object-fit: cover; object-position: 50% 18%; flex: none; }
.side-course > span { flex: 1; min-width: 0; display: grid; gap: 5px; }
.side-course b { font-size: 14px; font-weight: 550; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.side-course em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--coral); }
.side-foot { margin-top: auto; display: grid; gap: 12px; }
.plan { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); font-size: 13.5px; color: var(--ink-2); }
.plan div { display: flex; justify-content: space-between; white-space: nowrap; } .plan span { color: var(--ink-3); }
.plan .bar { height: 3px; }
.me { display: flex; align-items: center; gap: 10px; padding: 0 4px 0 8px; min-width: 0; }
.me-n { flex: 1; font-size: 14.5px; font-weight: 550; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shell.is-collapsed .side { padding: 62px 10px 14px; align-items: center; }
.shell.is-collapsed .side-toggle { left: 50%; right: auto; top: 18px; transform: translateX(-50%); }
.shell.is-collapsed .brand > span:last-child, .shell.is-collapsed .menu span, .shell.is-collapsed .side-sec, .shell.is-collapsed .plan, .shell.is-collapsed .me-n { display: none; }
.shell.is-collapsed .brand { padding: 0; }
.shell.is-collapsed .menu button { justify-content: center; width: 44px; padding: 0; }
.shell.is-collapsed .me { flex-direction: column; padding: 0; }
.ground { min-width: 0; height: calc(100vh - 20px); margin: 10px 10px 10px 0; overflow-y: auto; overflow-x: clip; border-radius: 28px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
:root[data-theme="light"] .ground { box-shadow: 0 0 0 1px rgb(17 18 20 / .05), 0 1px 3px rgb(17 18 20 / .05), 0 24px 60px -36px rgb(17 18 20 / .2); }
.page { width: min(1120px, 100%); margin: 0 auto; padding: 56px var(--gut) 120px; animation: rise .45s var(--out); }
.head { margin-bottom: 30px; }
.head h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.4vw, 64px); line-height: 1; letter-spacing: -.03em; }
.head p { margin: 12px 0 0; max-width: 60ch; font-size: 16.5px; color: var(--ink-3); }
.sec { margin-top: 52px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; flex: none; font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.02em; }
.sec-head .muted { margin-left: auto; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-nav { display: inline-flex; gap: 6px; }
.rail-nav button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fill); color: var(--ink-2); }
@media (hover: hover) { .rail-nav button:hover { background: var(--fill-2); color: var(--ink); } }

/* ---------- the poster: corporate's card with the face ---------- */
.rail-w { margin: 0 calc(var(--gut) * -1); }
.rail { display: flex; gap: 18px; padding: 6px var(--gut) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.poster { position: relative; flex: none; display: block; width: 236px; aspect-ratio: 3 / 3.6; border-radius: 26px; overflow: hidden; background: #15171d; box-shadow: 0 0 0 1px var(--line); text-align: start; scroll-snap-align: start; transition: transform .3s var(--ease), box-shadow .3s, border-radius .3s var(--ease); animation: rise .7s var(--out) backwards; }
.rail > .poster:nth-child(2) { animation-delay: .06s; } .rail > .poster:nth-child(3) { animation-delay: .12s; } .rail > .poster:nth-child(4) { animation-delay: .18s; } .rail > .poster:nth-child(5) { animation-delay: .24s; } .rail > .poster:nth-child(6) { animation-delay: .3s; }
@media (hover: hover) { .poster:hover { transform: translateY(-5px); border-radius: 34px; box-shadow: 0 24px 44px -22px rgb(0 0 0 / .8); } }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.92) contrast(1.02); transition: transform .6s var(--ease); }
@media (hover: hover) { .poster:hover img { transform: scale(1.05); } }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(8 9 11 / .96) 8%, rgb(8 9 11 / .35) 42%, transparent 64%); }
.p-n { position: absolute; top: 15px; left: 18px; z-index: 2; display: grid; place-items: center; min-width: 20px; height: 30px; color: #fff; font-size: 17px; font-weight: 800; text-shadow: 0 1px 2px rgb(0 0 0 / .55), 0 0 12px rgb(0 0 0 / .35); }
.p-top { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; }
.p-len, .p-lock, .p-play, .p-done { background: rgb(10 11 14 / .4); -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); color: #fff; }
.p-len { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.p-lock, .p-play, .p-done { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.p-play svg { margin-left: 2px; fill: currentColor; }
.p-play.is-solid { width: 34px; height: 34px; background: var(--btn); }
.p-done { background: var(--mint); }
.p-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 8px; padding: 22px; }
.p-kick { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.p-kick .kind { color: inherit; font-size: inherit; }
.poster.is-lesson .p-kick .kind { color: color-mix(in srgb, var(--kind) 70%, #fff); }
.p-title { font-size: 19px; font-weight: 700; line-height: 1.14; letter-spacing: -.02em; color: #fff; }
.p-bar { display: block; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .2); overflow: hidden; } .p-bar i { display: block; height: 100%; background: var(--blue); }
.poster.is-locked img { filter: saturate(.7) brightness(.82); }
.poster.is-known img { filter: grayscale(1) brightness(.7); }
.poster.is-known .p-title { opacity: .6; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.poster.is-done .p-title { opacity: .6; }
.poster.is-next { box-shadow: 0 0 0 2px var(--btn), 0 24px 44px -22px rgb(10 132 255 / .55); }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.poster-grid .poster { width: 100%; }
.poster-grid.is-lessons { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.poster-grid.is-lessons .p-title { font-size: 16.5px; }
.poster-grid.is-lessons .p-body { padding: 16px; }

/* ---------- Esplora ---------- */
.filters { display: grid; gap: 14px; justify-items: start; }
.search { display: flex; align-items: center; gap: 12px; width: 100%; height: 56px; padding: 0 22px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--ink-3); }
.search:focus-within { box-shadow: 0 0 0 1.5px var(--blue), var(--shadow); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 16px; color: var(--ink); }
.list { display: grid; padding: 8px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.row { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 20px; }
.row + .row::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: var(--line); }
.row > img { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; object-position: 50% 18%; flex: none; }
.row-main { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: left; }
.row-main small { font-size: 13px; color: var(--ink-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row-main b { font-size: 15.5px; font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (hover: hover) { button.row-main:hover b { color: var(--blue); } }
.row .segs { width: 120px; flex: none; }
.row-sc { font-family: var(--serif); font-size: 28px; letter-spacing: -.02em; }
.row-sc small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.invite { display: flex; align-items: center; gap: 18px; padding: 22px 26px; }
.invite .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--blue-f); color: var(--blue); flex: none; }
.invite div { flex: 1; } .invite b { display: block; font-size: 16px; } .invite span { font-size: 14px; color: var(--ink-3); }
.empty { display: grid; justify-items: center; gap: 10px; padding: 44px 30px; text-align: center; }
.empty h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.02em; }
.empty p { margin: 0; max-width: 46ch; color: var(--ink-3); }

/* ---------- the field: the learner app's, its ring of colour when written in ---------- */
.ask { position: relative; isolation: isolate; width: 100%; padding: 1px; border-radius: 26px; background: var(--line-2); animation: turn 14s linear infinite; }
.ask::after { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: var(--ring); opacity: 0; transition: opacity .5s; pointer-events: none; }
.ask::before { content: ""; position: absolute; z-index: -1; inset: 14px 40px -16px; border-radius: 40px; background: var(--ring); filter: blur(28px); opacity: 0; transition: opacity .6s; pointer-events: none; }
.ask:focus-within::after { opacity: .75; }
.ask:focus-within::before { opacity: .16; }
.ask-in { position: relative; z-index: 1; display: grid; border-radius: 25px; background: var(--card); box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 18px 40px -28px rgb(0 0 0 / .28); }
.ask textarea { display: block; width: 100%; min-height: 28px; margin: 0; padding: 16px 20px 4px; border: 0; background: none; resize: none; font-size: 15.5px; line-height: 1.5; outline: 0; field-sizing: content; }
.ask.is-first textarea { min-height: 92px; padding: 22px 24px 6px; font-size: 18px; }
.ask textarea::placeholder, .ask input::placeholder { color: var(--ink-3); }
.ask-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px 12px; }
.ask-bar .grow { flex: 1; }
.ask-line { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 999px; }
.ask:has(.ask-line) { border-radius: 999px; }
.ask-line input { flex: 1; min-width: 0; padding: 8px 6px; border: 0; outline: none; background: none; font-size: 15.5px; }
.tool, .send { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background .2s, color .2s, transform .35s var(--spring), opacity .2s; }
.tool { color: var(--ink-3); } @media (hover: hover) { .tool:hover { background: var(--fill); color: var(--ink); } }
.tool.is-on, .tool.is-on:hover { background: rgb(255 69 58 / .16); color: #ff453a; animation: mic-on 1.6s ease-out infinite; }
@keyframes mic-on { 0% { box-shadow: 0 0 0 0 rgb(255 69 58 / .45); } 100% { box-shadow: 0 0 0 12px rgb(255 69 58 / 0); } }
.send { background: var(--ink); color: var(--card); }
.send svg { transform: rotate(-90deg); }
@media (hover: hover) { .send:not(:disabled):hover { transform: scale(1.07); } }
.send:disabled { background: var(--fill); color: var(--ink-3); cursor: default; }
.files { padding: 4px 16px 0; } .files span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 12px; background: var(--fill); font-size: 13.5px; color: var(--ink-2); }
.files button { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--ink-3); }
.kind-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--fill); font-size: 13.5px; font-weight: 600; color: var(--ink-2); animation: rise .3s var(--out); }
.kind-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--kind); }
@media (hover: hover) { .kind-pill:hover { background: var(--fill-2); color: var(--ink); } }

/* ---------- Crea ---------- */
.cz { max-width: 860px; padding-top: clamp(52px, 11vh, 110px); }
.cz-hello { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 30px; }
.cz-hello h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.025em; text-align: center; }
.orb { flex: none; width: 46px; height: 46px; border-radius: 16px; background: var(--ring); animation: turn 10s linear infinite; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), 0 8px 24px -8px rgb(94 92 230 / .6); }
.cz-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.cz-chips button { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px 0 15px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; font-weight: 550; color: var(--ink-2); transition: box-shadow .2s, color .2s, transform .35s var(--spring); }
.cz-chips button svg { color: var(--kind); }
@media (hover: hover) { .cz-chips button:hover { color: var(--ink); transform: translateY(-1px); } }
.cz-chips button.on { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--kind); }
.cz-sec { margin-top: 56px; }
.cz-sec h4 { margin: 0 0 12px 8px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.cz-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--kind) 15%, transparent); color: var(--kind); flex: none; }
.cz-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px 10px; border-radius: 18px; text-align: left; }
@media (hover: hover) { .cz-row:hover { background: var(--fill); } }
.cz-row b { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cz-row .muted { font-size: 14px; white-space: nowrap; }
.cz-row > svg { color: var(--ink-3); }
.cz-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cz-cards button { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: start; padding: 20px 22px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); text-align: left; transition: transform .4s var(--spring), box-shadow .3s; }
@media (hover: hover) { .cz-cards button:hover { transform: translateY(-2px); box-shadow: var(--shadow-hi); } }
.cz-cards .cz-ic { grid-row: 1 / 3; }
.cz-cards b { font-size: 16px; font-weight: 600; }
.cz-cards span:not(.cz-ic) { font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }

/* ---------- the workspace (the learner app's Crea) ---------- */
.ws { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(28px, 4vw, 64px); width: min(1160px, 100%); margin: 0 auto; padding: 28px var(--gut) 40px; animation: rise .4s var(--out); }
.ws-left { --h: min(720px, calc(100vh - 170px)); display: flex; flex-direction: column; height: calc(var(--h) + 76px); min-height: 520px; min-width: 0; }
.ws-left .pill-back { align-self: flex-start; margin-bottom: 26px; }
.ws-head { display: grid; gap: 12px; justify-items: start; }
.ws-head h1, .wsf-head h1 { margin: 0; max-width: 100%; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; letter-spacing: -.028em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.ws-head h1.is-empty, .wsf-head h1.is-empty { color: var(--ink-3); }
.kpill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; background: color-mix(in srgb, var(--kind) 15%, transparent); color: var(--kind); font-size: 14px; font-weight: 550; }
.ws-tabs { align-self: flex-start; margin-top: 22px; }
.ws-card { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 16px; padding: 28px 30px 18px; border-radius: 34px; }
.chat { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 18px; padding: 0 2px 16px; overflow-y: auto; scrollbar-width: none; }
.chat::before { content: ""; flex: 1 1 0; }
.chat > * { flex-shrink: 0; }
.solve { display: grid; gap: 10px; justify-items: start; animation: rise .45s var(--out); }
.who-says { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.who-says i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #5b8cff, #a77bff); color: #fff; }
.solve p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.38; letter-spacing: -.008em; text-wrap: pretty; }
.solve p.is-sm { font-size: 18px; color: var(--ink-2); }
.solve ol { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.solve li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 16px; background: var(--fill); font-size: 15px; line-height: 1.45; }
.solve li i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--card-2); font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.me-says { align-self: flex-end; max-width: 82%; margin: 0; padding: 10px 16px; border-radius: 20px 20px 6px 20px; background: var(--fill-2); font-size: 15px; line-height: 1.45; animation: rise .35s var(--out); }
.dots { display: inline-flex; gap: 5px; padding: 6px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dot 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
.set { display: grid; gap: 14px; overflow-y: auto; }
.set h4 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.faces { display: flex; flex-wrap: wrap; gap: 12px; }
.faces button { display: grid; justify-items: center; gap: 6px; width: 72px; font-size: 13px; color: var(--ink-3); }
.faces img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; transition: box-shadow .2s; }
.faces button.on { color: var(--ink); font-weight: 600; }
.faces button.on img { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--blue); }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.setrow b { display: block; font-size: 15.5px; font-weight: 600; } .setrow small { font-size: 13.5px; color: var(--ink-3); }
.setrow .seg { box-shadow: none; background: var(--fill); }
.ws-right { align-self: start; margin-top: 62px; }
.door { position: relative; height: min(720px, calc(100vh - 170px)); aspect-ratio: 3 / 4; max-width: 100%; border-radius: 34px; overflow: hidden; background: var(--card-2); box-shadow: 0 40px 90px -40px rgb(0 0 0 / .7); }
.door > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.door-pill { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; background: rgb(255 255 255 / .86); backdrop-filter: blur(10px); color: #333; font-size: 14px; }
.door-pill b { color: #111; font-weight: 600; }
.door-pill i { width: 9px; height: 9px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px rgb(48 209 88 / .25); }
.door-foot { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: center; gap: 14px; padding: 90px 20px 28px; background: linear-gradient(0deg, rgb(0 0 0 / .6), transparent); }
.door-note { padding: 7px 14px; border-radius: 999px; background: rgb(10 11 14 / .55); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgb(255 255 255 / .18); color: #fff; font-size: 13.5px; font-weight: 600; }
.door-busy { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgb(10 11 14 / .6); backdrop-filter: blur(6px); color: #fff; animation: fade .3s; }
.door-busy .dots i { background: #fff; }
/* the course being made: its outline on the right */
.outline { display: grid; gap: 14px; padding: 28px 28px 22px; border-radius: 34px; min-height: min(560px, calc(100vh - 220px)); align-content: start; }
.outline h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.ol { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.ol li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 18px; background: var(--fill); animation: rise .5s var(--out) backwards; }
.ol li:nth-child(2) { animation-delay: .08s; } .ol li:nth-child(3) { animation-delay: .16s; } .ol li:nth-child(4) { animation-delay: .24s; } .ol li:nth-child(5) { animation-delay: .32s; } .ol li:nth-child(6) { animation-delay: .4s; }
.ol li > i { width: 10px; height: 10px; border-radius: 50%; background: var(--kind); }
.ol li span { display: grid; gap: 1px; min-width: 0; } .ol b { font-size: 15px; font-weight: 550; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ol em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.ol-ghost { display: grid; gap: 8px; } .ol-ghost i { height: 46px; border-radius: 18px; background: repeating-linear-gradient(135deg, transparent 0 9px, var(--fill) 9px 10px); box-shadow: inset 0 0 0 1.5px var(--line); }
.outline-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 12px; font-size: 13.5px; }
.wsf { max-width: 820px; display: grid; gap: 22px; }
.wsf .pill-back { justify-self: start; }
.wsf-head { display: grid; gap: 12px; justify-items: start; }
.wsf .chat { overflow: visible; }
.wsf .chat::before { display: none; }
.wsf .outline { min-height: 0; }
.wsf-dock { position: sticky; bottom: 18px; z-index: 5; }

/* ---------- the course page ---------- */
.d1 { max-width: 860px; }
.d1 > .pill-back, .d3 > .pill-back { margin-bottom: 30px; }
.d1-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.d1-head img { width: 46px; height: 46px; border-radius: 15px; object-fit: cover; object-position: 50% 18%; }
.d1 h1, .d3-side h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 60px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.d1-line { margin: 14px 0 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.facts-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.facts-row span { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--fill); font-size: 13.5px; font-weight: 550; color: var(--ink-2); }
.facts-row svg { color: var(--ink-3); }
.author { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 18px; border-radius: 20px; background: var(--fill); font-size: 14px; color: var(--ink-2); }
.author > svg { color: var(--ink-3); } .author span { flex: 1; } .author b { color: var(--ink); }
.d1-cta { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.d1-share { display: flex; justify-content: center; margin-top: 26px; }
.prog { display: grid; gap: 10px; margin-top: 26px; padding: 22px 26px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.prog-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--ink-2); }
.prog-top b { color: var(--ink); }
.prog-top em { font-style: normal; font-family: var(--serif); font-size: 30px; letter-spacing: -.02em; color: var(--ink); }
.prog .bar { height: 8px; }
.prog small { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13.5px; color: var(--ink-3); }
/* the entry test: corporate's EntryGate, as it is */
.gate { position: relative; display: grid; justify-items: center; gap: 14px; margin-top: 34px; padding: 44px clamp(20px, 5vw, 56px) 36px; border-radius: 36px; background: var(--card); box-shadow: var(--shadow); text-align: center; overflow: hidden; }
/* no blue glow behind the face (Ale, 3 Nov: «non mi piace per niente questo gradiente») */
.gate > * { position: relative; }
.gate-kicker { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.gate-face { position: relative; display: grid; place-items: center; margin: 18px 0 10px; }
.gate-face::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; box-shadow: 0 0 0 2px var(--blue); opacity: .5; animation: ring 2.4s var(--out) infinite; }
.gate-face img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.gate h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 46px); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; }
.gate p { margin: 0 0 6px; max-width: 460px; font-size: 16px; line-height: 1.5; color: var(--ink-3); }
.gate-note { font-size: 14px; color: var(--ink-3); }
/* what joins the test to the programme */
.bridge { display: flex; align-items: center; gap: 14px; margin: 26px 0 4px; }
.bridge-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.bridge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--blue-f); color: var(--blue); font-size: 13.5px; font-weight: 600; text-align: center; }
.bridge-skip { margin: 4px 0 0; text-align: center; }
.more { margin-top: 0; overflow: hidden; }
.more summary { display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; font-weight: 600; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary svg { transform: rotate(180deg); }
.more-in { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 2px 26px 26px; }
.learn { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.learn li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; } .learn svg { margin-top: 3px; color: var(--mint); }
.person { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.person + .person { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.person b { display: block; } .person small { font-size: 13.5px; color: var(--ink-3); }
.facts { display: grid; padding: 6px 26px; margin-top: 26px; }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; }
.facts div + div { border-top: 1px solid var(--line); }
.facts small { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.av.sm { width: 34px; height: 34px; }
/* C: the course on the left, standing still */
.d3-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 32px; align-items: start; }
.d3-side { position: sticky; top: 20px; padding: 10px; border-radius: 34px; }
.d3-img { aspect-ratio: 16 / 11; border-radius: 26px; overflow: hidden; }
.d3-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .8s var(--out); }
@media (hover: hover) { .d3-side:hover .d3-img img { transform: scale(1.03); } }
.d3-in { display: grid; gap: 4px; padding: 20px 14px 14px; }
.d3-side h1 { margin-top: 6px; font-size: 36px; line-height: 1.06; }
.d3-in > p { margin: 8px 0 0; font-size: 15.5px; color: var(--ink-2); }
.d3-in .facts-row { margin-top: 14px; }
.d3-in .facts-row span { height: 30px; font-size: 13px; }
.d3-cta { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.d3-cta .btn { flex: 1; }
.d3-cta .round { width: 52px; height: 52px; }
.d3-in .prog { margin-top: 14px; padding: 16px 18px; border-radius: 22px; background: var(--fill); box-shadow: none; }
.d3-in .prog-top em { font-size: 24px; }
.d3-in .author { margin-top: 12px; }
.d3-main .gate { margin-top: 0; }
.d3-main > .sec-head { margin-top: 30px; }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 540px); place-content: center; place-items: center; padding: 20px max(16px, env(safe-area-inset-left)); overflow: auto; background: rgb(0 0 0 / .5); backdrop-filter: blur(10px); animation: fade .25s; }
.sheet { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 30px; border-radius: 34px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 40px 100px -30px rgb(0 0 0 / .7); animation: rise .45s var(--out); }
.sheet h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.05; letter-spacing: -.02em; }
.sheet-x { justify-self: end; margin: -12px -12px -26px 0; }
.dim { display: grid; gap: 6px; } .dim-top { display: flex; justify-content: space-between; font-size: 15px; } .dim-top b { font-family: var(--serif); font-weight: 400; font-size: 21px; } .dim small { font-size: 12.5px; font-weight: 600; }
.built { display: grid; padding: 6px 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.built div { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14.5px; }
.built div + div { border-top: 1px solid var(--line); }
.built img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.built span { flex: 1; } .built small { font-size: 13px; color: var(--ink-3); }
.built .sk span { color: var(--ink-3); text-decoration: line-through; } .built .sk img { filter: grayscale(1); opacity: .6; } .built .sk small { color: var(--mint); font-weight: 600; }
.linkbox { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); }
.linkbox span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; color: var(--ink-2); }
.share-facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.share-facts li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ink-2); } .share-facts svg { margin-top: 2px; color: var(--ink-3); }
.call { position: fixed; inset: 0; z-index: 45; display: grid; grid-template-rows: auto 1fr auto; background: #08090b; color: #fff; animation: fade .3s; }
.call-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; }
.call-top small { display: block; font-size: 12.5px; color: rgb(255 255 255 / .55); } .call-top > span:last-child { color: rgb(255 255 255 / .6); font-size: 13.5px; }
.call-stage { display: grid; place-items: center; padding: 0 20px; }
.call-face { position: relative; width: min(780px, 100%); aspect-ratio: 16 / 10; border-radius: 30px; overflow: hidden; background: #15171d; }
.call-face video, .call-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.call-cap { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); max-width: 86%; padding: 10px 16px; border-radius: 16px; background: rgb(0 0 0 / .6); backdrop-filter: blur(8px); text-align: center; }
.call-bar { display: flex; justify-content: center; gap: 12px; padding: 24px; }
.call-bar button { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgb(255 255 255 / .1); }
.call-bar .end { display: inline-flex; gap: 8px; width: auto; padding: 0 22px; border-radius: 999px; background: #ff453a; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 16px); padding: 12px 18px; border-radius: 16px; background: var(--ink); color: var(--bg); font-size: 14.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--out); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.vrow { display: grid; gap: 6px; } .vrow > span { font-size: 12px; font-weight: 600; color: #9aa0aa; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes turn { to { --turn: 360deg; } }
@keyframes ring { from { transform: scale(.92); opacity: .6; } to { transform: scale(1.18); opacity: 0; } }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 1100px) {
  .ws { grid-template-columns: 1fr; } .ws-right { margin-top: 0; } .ws-left { height: auto; min-height: 0; } .ws-card { min-height: 460px; }
  .door { height: auto; width: 100%; aspect-ratio: 4 / 3; }
  .d3-grid { grid-template-columns: 1fr; } .d3-side { position: static; }
}
@media (max-width: 900px) {
  :root { --gut: 16px; }
  .shell, .shell.is-collapsed { grid-template-columns: 1fr; height: auto; overflow: visible; }
  .side { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 30; height: auto; flex-direction: row; gap: 0; padding: 4px 6px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--frame) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); overflow: visible; }
  .shell.is-collapsed .side { padding: 4px 6px calc(6px + env(safe-area-inset-bottom)); }
  .side-toggle, .side-grip, .brand, .side-sec, .side-foot { display: none; }
  .menu { display: contents; }
  .menu button, .shell.is-collapsed .menu button { flex: 1; flex-direction: column; justify-content: center; gap: 2px; width: auto; height: 54px; padding: 0; font-size: 10.5px; }
  .menu button.is-on { background: none; box-shadow: none; }
  .shell.is-collapsed .menu span { display: inline; }
  .ground { height: auto; min-height: 100vh; margin: 0; border-radius: 0; overflow: visible; box-shadow: none; }
  .page { padding: 28px var(--gut) 170px; }
  .poster { width: 200px; }
  .cz-cards, .more-in { grid-template-columns: 1fr; }
  .cz-hello { flex-direction: column; }
  .row .segs { display: none; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .bridge-pill { font-size: 12.5px; }
  .proto { bottom: 74px; right: 8px; left: 8px; }
  .proto span { display: none; }
  .vpanel { bottom: 124px; }
  .toast { bottom: 140px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.ws .chat { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px); mask-image: linear-gradient(to bottom, transparent 0, #000 36px); padding-top: 18px; }
@media (max-width: 900px) {
  :root[data-theme="light"] .menu button.is-on, .menu button.is-on { background: none; box-shadow: none; color: var(--ink); }
  .row { flex-wrap: wrap; }
  .row-main { flex: 1 1 calc(100% - 70px); }
  .row > .btn, .row > .round { margin-left: auto; }
  .row > .btn + .round { margin-left: 0; }
}

/* ===== third round of the course page (Ale, 3 Nov): the entry test keeps its shape, but small ===== */
.gate .btn { min-height: 46px; }
.gate-skip { margin-top: 2px; font-size: 13.5px; }
.gate.is-compact { max-width: 560px; margin: 30px auto 0; padding: 28px 28px 24px; gap: 10px; border-radius: 30px; }
.gate.is-compact .gate-face { margin: 8px 0 4px; }
.gate.is-compact .gate-face img { width: 76px; height: 76px; }
.gate.is-compact .gate-face::before { inset: -6px; }
.gate.is-compact h2 { font-size: 30px; }
.gate.is-compact p { font-size: 15px; max-width: 420px; }
.gate.is-side { margin: 0; padding: 26px 24px 22px; gap: 10px; border-radius: 30px; }
.gate.is-side .gate-face { margin: 6px 0 2px; }
.gate.is-side .gate-face img { width: 72px; height: 72px; }
.gate.is-side .gate-face::before { inset: -6px; }
.gate.is-side h2 { font-size: 28px; }
.gate.is-side p { font-size: 14.5px; }
.gate.is-side .btn { width: 100%; }
.d3-main .gate.is-compact { margin-top: 0; max-width: none; }
/* B: the test beside the title */
.dB-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.dB-next { display: grid; gap: 10px; padding: 24px; border-radius: 30px; }
.dB-next b { font-size: 17px; font-weight: 600; }
.dB-next .btn { width: 100%; }
/* E: the teacher's video wide on top */
.dE > .pill-back { margin-bottom: 22px; }
.dE-hero { aspect-ratio: 21 / 9; border-radius: 32px; overflow: hidden; background: var(--card-2); box-shadow: var(--shadow); }
.dE-hero video, .dE-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.dE-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; margin-top: 30px; }
.dE-head .d1-head img { display: none; }
.dE-head h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.03em; }
.dE-head .d1-cta { margin-top: 0; }
.dE .gate.is-compact { max-width: none; }

/* the horizontal card: picture, number and length on it; under it only the title */
.wide { flex: none; display: grid; gap: 12px; width: 320px; text-align: left; scroll-snap-align: start; animation: rise .7s var(--out) backwards; }
.rail > .wide:nth-child(2) { animation-delay: .06s; } .rail > .wide:nth-child(3) { animation-delay: .12s; } .rail > .wide:nth-child(4) { animation-delay: .18s; }
.w-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: #15171d; box-shadow: 0 0 0 1px var(--line); transition: transform .3s var(--ease), border-radius .3s var(--ease), box-shadow .3s; }
@media (hover: hover) { .wide:hover .w-img { transform: translateY(-4px); border-radius: 30px; box-shadow: 0 22px 40px -22px rgb(0 0 0 / .7); } }
.w-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
@media (hover: hover) { .wide:hover .w-img img { transform: scale(1.05); } }
.w-img::after { content: ""; position: absolute; inset: 0 0 auto; height: 50%; background: linear-gradient(180deg, rgb(8 9 11 / .45), transparent); pointer-events: none; }
.w-img .p-n, .w-img .p-top { z-index: 2; }
.w-t { display: grid; gap: 4px; padding: 0 4px; }
.w-t small { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.w-t small .kind { font-size: inherit; }
.w-t b { font-size: 17px; font-weight: 650; line-height: 1.25; letter-spacing: -.012em; }
.w-bar { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--fill-2); overflow: hidden; } .w-bar i { display: block; height: 100%; background: var(--blue); }
.wide.is-locked .w-img img { filter: saturate(.7) brightness(.85); }
.wide.is-known .w-img img { filter: grayscale(1) brightness(.75); }
.wide.is-known b { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.wide.is-next .w-img { box-shadow: 0 0 0 2px var(--btn), 0 20px 40px -22px rgb(10 132 255 / .5); }
.wide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 16px; }
.wide-grid .wide { width: 100%; }

/* the row, as MasterClass lists its lessons */
.lrows { display: grid; }
.lrow { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 26px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.lrow:last-child { border-bottom: 0; }
.lr-img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--card-2); }
.lr-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--ease); }
@media (hover: hover) { .lrow:hover .lr-img img { transform: scale(1.04); } }
.lr-len { position: absolute; right: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgb(10 11 14 / .6); backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lr-badge { position: absolute; top: 12px; left: 12px; }
.lr-t { display: grid; gap: 3px; justify-items: start; }
.lr-t small { font-size: 12.5px; color: var(--ink-3); }
.lr-t b { margin-top: 2px; font-size: 20px; font-weight: 650; letter-spacing: -.015em; }
.lr-t > span { font-size: 15px; color: var(--ink-2); }
.lr-t p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.lr-t .btn { margin-top: 10px; }
.lrow.is-locked .lr-img img { filter: saturate(.75) brightness(.85); }
.lrow.is-known .lr-img img { filter: grayscale(1) brightness(.75); }
.lrow.is-known b { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.lrow.is-next .lr-img { box-shadow: 0 0 0 2px var(--btn); }

@media (max-width: 1000px) { .dB-hero, .dE-head { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .wide { width: 260px; }
  .lrow { grid-template-columns: 1fr; gap: 12px; }
  .gate.is-compact { padding: 24px 18px 20px; }
}
.dB > .pill-back { margin-bottom: 30px; }
.dB h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 60px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.dB .d1-cta { margin-top: 22px; }

/* ===== fourth round (Ale, 3 Nov): wide backgrounds, two kinds of card, Augment's lists, the chat ===== */
/* the portrait on its own background, widened and softened; the face sharp in the middle */
.wi { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

/* the course card, horizontal: the picture, then the progress and the title */
.wide.is-course { gap: 0; width: 340px; }
.wide.is-course .w-img { aspect-ratio: 16 / 10; }
.wide.is-course .w-img::after { display: none; }
.w-badge { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgb(10 11 14 / .55); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 600; }
.w-prog { display: flex; align-items: center; gap: 12px; margin: 16px 2px 10px; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.w-prog .bar { flex: 1; height: 4px; }
.w-prog .bar i { background: var(--ink); animation: none; }
.w-title { padding: 0 2px; font-size: 18px; font-weight: 650; line-height: 1.25; letter-spacing: -.015em; }
.wide-grid .wide.is-course { width: 100%; }

/* the lessons as Augment lists its items */
.aug-card { padding: 8px 18px; border-radius: 30px; }
.alist { display: grid; }
.arow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.alist > .arow:last-child { border-bottom: 0; }
.a-thumb { position: relative; width: 64px; height: 64px; border-radius: 18px; overflow: hidden; }
.a-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .5s var(--ease); }
@media (hover: hover) { .arow:hover .a-thumb img { transform: scale(1.06); } }
.a-n { position: absolute; left: 6px; bottom: 6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgb(10 11 14 / .6); backdrop-filter: blur(6px); color: #fff; font-size: 11.5px; font-weight: 700; }
.a-t { display: grid; gap: 3px; min-width: 0; }
.a-t small { font-size: 13px; color: var(--ink-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.a-t b { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.a-lock { color: var(--faint); }
.a-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--fill); font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.a-chip.is-ok { background: var(--mint-f); color: var(--mint); }
.arow.is-locked .a-thumb img { filter: saturate(.7) brightness(.85); }
.arow.is-known .a-thumb img { filter: grayscale(1) brightness(.75); }
.arow.is-known b { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 500; }
.arow.is-next { margin: 4px -10px; padding: 14px; border-radius: 22px; border-bottom-color: transparent; background: var(--blue-f); }
.a-acts { display: inline-flex; align-items: center; gap: 16px; }
.arow.is-test .a-n { padding: 0; min-width: 22px; }
.agroup.is-test h4 { margin-top: 14px; }
.agroup + .agroup { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.agroup h4 { display: flex; align-items: center; gap: 8px; margin: 12px 4px 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.agroup h4 span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--fill); font-size: 11.5px; letter-spacing: 0; }

/* F, H: title and the wide picture side by side; G: the wide picture on top */
.dF > .pill-back, .dG > .pill-back { margin-bottom: 30px; }
.dF-top { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.more-wrap { position: relative; }
.more-menu { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 6px; border-radius: 16px; background: var(--card-2); box-shadow: var(--shadow-hi); }
.more-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 11px; font-size: 14.5px; text-align: left; color: var(--ink); white-space: nowrap; } @media (hover: hover) { .more-menu button:hover { background: var(--fill); } }
.d1-cta:empty { display: none; }
.facts-row { align-items: center; }
.facts-row .round { flex: none; }
.row-end { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.dF-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.dF h1, .dG h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 4.8vw, 58px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.dF .d1-head img, .dG .d1-head img { display: none; }
.dF-img { position: relative; aspect-ratio: 16 / 10; border-radius: 30px; overflow: hidden; background: var(--card-2); box-shadow: var(--shadow); }
.dG-img { position: relative; aspect-ratio: 21 / 8; border-radius: 32px; overflow: hidden; background: var(--card-2); box-shadow: var(--shadow); }
.dG-head { margin-top: 28px; }
.dF .gate.is-compact, .dG .gate.is-compact { margin-top: 34px; }

/* the chat, B: bubbles with the faces */
.chat.is-bubbles { gap: 14px; }
.bub { display: flex; align-items: flex-end; gap: 10px; animation: rise .4s var(--out); }
.bub.is-me { justify-content: flex-end; }
.bub-av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, #3d9bff, #5e5ce6); color: #fff; font-size: 12.5px; font-weight: 700; }
.bub-av.is-solve { background: var(--ring); animation: turn 8s linear infinite; }
.bub-in, .bub.is-me p { max-width: 82%; padding: 12px 16px; border-radius: 22px 22px 22px 8px; background: var(--fill); }
.bub.is-me p { margin: 0; border-radius: 22px 22px 8px 22px; background: var(--btn); color: #fff; font-size: 15px; }
.bub-in p { margin: 0; font-size: 15.5px; line-height: 1.5; }
.bub-in p.is-sm { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.bub-in ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.bub-in li { display: flex; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.bub-in li svg { margin-top: 3px; color: var(--mint); }
/* the chat, C: the answer as a plan, quick replies under it */
.qplan { display: grid; width: 100%; border-radius: 20px; background: var(--fill); overflow: hidden; }
.qplan div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; padding: 12px 16px; font-size: 15px; }
.qplan div + div { border-top: 1px solid var(--line); }
.qplan i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--card-2); font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.quick button { height: 36px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 550; color: var(--ink-2); transition: background .2s, color .2s; }
@media (hover: hover) { .quick button:hover { background: var(--fill); color: var(--ink); } }
.quick button:first-child { background: var(--btn); color: #fff; box-shadow: none; }
/* the field with its ring always faintly lit (the learner app's, at rest a breath of colour) */
.ask.is-lit::after { opacity: .45; }
.ask.is-lit:focus-within::after { opacity: .85; }

/* the picture as tall as the words beside it, and the words in the middle of it: neither ever passes the other (Ale, 7 Nov) */
@media (min-width: 1001px) { .dF-hero { align-items: stretch; } .dF-hero > div:first-child { align-self: center; } .dF-img { aspect-ratio: auto; min-height: 300px; } .dF-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } }
@media (max-width: 1000px) { .dF-hero { grid-template-columns: 1fr; } .dF-img { order: -1; } }
@media (max-width: 900px) {
  .wide.is-course { width: 280px; }
  .arow { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; } .a-thumb { width: 52px; height: 52px; }
  .aug-card { padding: 4px 12px; }
  .dG-img { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .arow { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .a-thumb { width: 52px; height: 52px; border-radius: 15px; }
  .arow > :last-child:not(.a-t) { grid-column: 2; justify-self: start; }
}

/* ---------- 3 Nov, sixth round ---------- */
/* what you will be able to do: three outcomes, then who teaches you and what is inside */
.appetite .sec-head { margin-bottom: 18px; }
.ap-outs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ap-out { display: grid; align-content: start; gap: 10px; padding: 26px 26px 28px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.ap-check { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-f); color: var(--mint); margin-bottom: 6px; }
.ap-out b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; }
.ap-out p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.ap-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.ap-row.is-one .ap-person { grid-column: span 2; }
.ap-person { display: grid; align-content: start; gap: 12px; }
.ap-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: var(--card-2); box-shadow: var(--shadow); }
.ap-row.is-one .ap-img { aspect-ratio: auto; height: 100%; min-height: 220px; }
.ap-img .wi { position: absolute; inset: 0; }
.ap-img::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(0deg, rgb(0 0 0 / .55), transparent); }
.ap-name { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--serif); font-size: 26px; letter-spacing: -.02em; }
.ap-person small { padding: 0 6px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.ap-inside { display: grid; align-content: start; gap: 14px; padding: 24px 26px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.ap-inside > div { display: flex; align-items: baseline; gap: 12px; }
.ap-inside b { min-width: 44px; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.ap-inside span:not(.kick) { font-size: 14.5px; color: var(--ink-2); }
.dF .appetite { margin-top: 48px; }
@media (max-width: 900px) { .ap-outs, .ap-row { grid-template-columns: minmax(0, 1fr); } .ap-row.is-one .ap-person { grid-column: auto; } .ap-row.is-one .ap-img { aspect-ratio: 16 / 10; height: auto; min-height: 0; } }

/* the lessons list, B: a line of time through round faces */
.l-b .arow { position: relative; border-bottom: 0; }
.l-b .a-thumb { z-index: 1; width: 48px; height: 48px; margin: 8px; border-radius: 50%; overflow: visible; }
.l-b .a-thumb img { border-radius: 50%; box-shadow: 0 0 0 4px var(--card); }
@media (hover: hover) { .l-b .arow:hover .a-thumb img { transform: none; } }
.l-b .a-n { left: auto; right: -6px; bottom: -4px; box-shadow: 0 0 0 2px var(--card); }
.l-b .arow::before, .l-b .agroup h4::before { content: ""; position: absolute; left: 35px; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.l-b .agroup h4 { position: relative; margin: 0; padding: 18px 0 6px 84px; }
.l-b .agroup:first-child h4::before { display: none; }
.l-b .agroup:first-child .arow:first-child::before { top: 50%; }
.l-b .agroup:last-child .arow:last-child::before { bottom: 50%; }
.l-b .agroup + .agroup { margin-top: 0; padding-top: 0; border-top: 0; }
.l-b .arow.is-next { margin: 0; padding: 14px 4px; background: none; }
.l-b .arow.is-next .a-thumb img { box-shadow: 0 0 0 4px var(--card), 0 0 0 6px var(--btn); }
.l-b .arow.is-done .a-thumb img, .l-b .arow.is-known .a-thumb img { opacity: .55; }
/* C: wide pictures, like small course cards */
.l-c .arow { grid-template-columns: 116px minmax(0, 1fr) auto; }
.l-c .a-thumb { width: 116px; height: 72px; border-radius: 16px; }
.l-c .a-thumb img { object-position: 50% 30%; }
/* D: lighter: no counts, no lines between rows, no locks; the next one outlined, not filled */
.l-d .arow { border-bottom: 0; padding: 10px 4px; grid-template-columns: 54px minmax(0, 1fr) auto; }
.l-d .a-thumb { width: 54px; height: 54px; border-radius: 16px; }
.l-d .agroup h4 span, .l-d .a-lock { display: none; }
.l-d .agroup h4 { text-transform: none; letter-spacing: -.005em; font-size: 14px; font-weight: 600; margin: 18px 4px 4px; }
.l-d .agroup + .agroup { margin-top: 6px; padding-top: 0; border-top: 0; }
.l-d .arow.is-next { margin: 6px -8px; padding: 12px; background: none; box-shadow: inset 0 0 0 1.5px var(--btn); border-radius: 20px; }
.l-d .arow.is-locked .a-t { opacity: .62; }
.l-d .a-t small .kind { font-size: 11px; }

/* the course being made: the same list, every step can be opened and changed */
.aug-card.is-inner { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.outline .agroup h4 { margin-top: 10px; }
.arow.is-edit { width: 100%; text-align: left; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; padding: 10px 6px; border-radius: 18px; transition: background .2s; }
.arow.is-edit .a-thumb { width: 52px; height: 52px; border-radius: 15px; }
@media (hover: hover) { .arow.is-edit:hover { background: var(--fill); } }
.arow.is-edit .a-t b { font-size: 15.5px; }
.a-edit { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-3); transition: background .2s, color .2s; }
@media (hover: hover) { .arow.is-edit:hover .a-edit { background: var(--card); color: var(--ink); box-shadow: var(--shadow); } }
.l-c .arow.is-edit { grid-template-columns: 84px minmax(0, 1fr) auto; } .l-c .arow.is-edit .a-thumb { width: 84px; height: 54px; }
.l-b .arow.is-edit .a-thumb { width: 40px; height: 40px; } .l-b .arow.is-edit::before { left: 34px; } .l-b .outline .agroup h4, .outline .l-b .agroup h4 { padding-left: 74px; } .outline .l-b .agroup h4::before { left: 34px; }
.ol-hint { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; }

/* Crea, the box. B: one line. C: the kinds as tabs inside the box */
.ask.is-line .ask-line { padding: 10px 10px 10px 12px; }
.ask.is-line .ask-line input { font-size: 17px; padding: 10px 8px; }
.ask.is-line .send { width: 44px; height: 44px; }
.cz-files { display: flex; justify-content: center; margin-top: 10px; }
.cz-tabs { display: flex; gap: 4px; padding: 10px 10px 0; overflow-x: auto; scrollbar-width: none; }
.cz-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; color: var(--ink-3); font-size: 14.5px; font-weight: 550; white-space: nowrap; transition: background .2s, color .2s; }
.cz-tabs button svg { color: var(--kind); }
@media (hover: hover) { .cz-tabs button:hover { color: var(--ink); } }
.cz-tabs button.on { background: color-mix(in srgb, var(--kind) 14%, transparent); color: var(--ink); }
.ask.is-tabs textarea { min-height: 110px; padding-top: 14px; }

/* ---------- 3 Nov, seventh round ---------- */
/* Esplora and the list pages, Augment's way: the title on the page, then «Mostra» and the categories */
.xtitle { margin: 6px 0 26px; font-family: var(--sans); font-weight: 650; font-size: clamp(30px, 3vw, 36px); line-height: 1.1; letter-spacing: -.025em; }
.xbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 8px; }
.xshow { position: relative; }
.xshow-b { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; font-weight: 550; transition: background .2s; }
.xshow-b span { color: var(--ink-3); font-weight: 500; }
.xshow-b svg { color: var(--ink-3); transition: transform .25s var(--ease); }
.xshow-b.on svg { transform: rotate(180deg); }
.xshow-b.on { background: var(--fill); } @media (hover: hover) { .xshow-b:hover { background: var(--fill); } }
.xmenu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; display: grid; min-width: 220px; padding: 6px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow-hi); animation: rise .25s var(--out); }
.xmenu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 42px; padding: 0 14px; border-radius: 14px; font-size: 14.5px; text-align: left; color: var(--ink-2); }
@media (hover: hover) { .xmenu button:hover { background: var(--fill); color: var(--ink); } }
.xmenu button.on { color: var(--ink); font-weight: 600; }
.xcats { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.xcats button { flex: none; height: 46px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: color .2s, background .2s; }
@media (hover: hover) { .xcats button:hover { color: var(--ink); } }
.xcats button.on { color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }

/* what you will be able to do: one card of lines, like the lessons above it; the people at its foot */
.ap-card { padding: 6px 28px; }
.ap-line { display: grid; grid-template-columns: 30px minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ap-line .ap-check { width: 30px; height: 30px; margin: 0; }
.ap-line b { font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -.02em; }
.ap-line p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.ap-who { display: flex; flex-wrap: wrap; gap: 14px 30px; padding: 20px 0 22px; }
.ap-p { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-3); }
.ap-p img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.ap-p b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .ap-line { grid-template-columns: 30px minmax(0, 1fr); row-gap: 6px; } .ap-line p { grid-column: 2; } .ap-card { padding: 4px 20px; } }

/* the question mark on the entry test: what it is for */
.tip { position: relative; display: inline-grid; place-items: center; width: 19px; height: 19px; margin-left: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.3px var(--faint); color: var(--ink-3); font-size: 11.5px; font-weight: 700; letter-spacing: 0; cursor: help; outline-offset: 3px; transition: color .2s, box-shadow .2s; }
.tip:focus { color: var(--ink); box-shadow: inset 0 0 0 1.3px var(--ink-3); } @media (hover: hover) { .tip:hover { color: var(--ink); box-shadow: inset 0 0 0 1.3px var(--ink-3); } }
.tip-box { position: absolute; top: calc(100% + 10px); left: -14px; z-index: 30; width: min(320px, 78vw); padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-hi); color: var(--ink-2); font-size: 13.5px; font-weight: 450; line-height: 1.5; letter-spacing: -.003em; text-transform: none; text-align: left; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s, transform .25s var(--out); }
:root[data-theme="dark"] .tip-box { background: var(--card-3); }
.tip:focus .tip-box { opacity: 1; transform: none; } @media (hover: hover) { .tip:hover .tip-box { opacity: 1; transform: none; } }
.agroup h4 { overflow: visible; }

/* Crea: B, the box alone in the middle of the page */
.cz.is-center { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 140px); padding-top: 0; padding-bottom: 60px; }
/* the workspace's box: the same box, smaller, the kinds still in it */
.ask.is-ws { border-radius: 26px; }
.ask.is-ws .cz-tabs { padding: 8px 8px 0; }
.ask.is-ws .cz-tabs button { height: 34px; padding: 0 12px; font-size: 13.5px; }
.ask.is-ws .ask-line { border-radius: 0; padding: 4px 8px 8px; }
.agroup h4 .tip { display: inline-grid; min-width: 0; width: 19px; height: 19px; padding: 0; background: none; font-size: 11.5px; }
.agroup h4 .tip-box { display: block; min-width: 0; width: min(320px, 78vw); height: auto; padding: 14px 16px; background: var(--card); font-size: 13.5px; letter-spacing: -.003em; }
:root[data-theme="dark"] .agroup h4 .tip-box { background: var(--card-3); }
.agroup h4 .tip-box { border-radius: 18px; font-weight: 450; color: var(--ink-2); text-align: left; line-height: 1.5; }
@media (max-width: 640px) { .agroup h4 .tip-box { left: -150px; width: min(300px, calc(100vw - 48px)); } }

/* ---------- 3 Nov, eighth round: modules, four ways to draw the course's card, «Modifica» ---------- */
.mod-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; padding: 20px 4px 8px; }
.mod-h small { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mod-h b { display: inline-flex; align-items: center; margin-top: 3px; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -.02em; }
.mod-h em { font-style: normal; font-size: 13.5px; color: var(--ink-3); }
.mod-h .tip { margin-left: 10px; }
.agroup + .agroup { margin-top: 8px; padding-top: 4px; }
@media (max-width: 640px) { .tip-box { left: -150px; width: min(300px, calc(100vw - 48px)); } }

/* B and C: corporate's chapters, a line of circles; C puts the face in the circle */
.l-b, .l-c { padding: 6px 28px 0; }
.crow { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; }
.l-c .crow { grid-template-columns: 56px minmax(0, 1fr) auto; }
.crow::before { content: ""; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.l-c .crow::before { left: 27px; }
.alist > .crow:first-child::before { top: 50%; } .alist > .crow:last-child::before { bottom: 50%; } .alist > .crow:only-child::before { display: none; }
.c-hit { position: relative; z-index: 1; display: grid; place-items: center; }
.c-node { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 13px; font-weight: 650; color: var(--ink-3); }
.c-node svg, .c-badge svg { width: 13px; height: 13px; }
.crow.is-done .c-node, .crow.is-known .c-node { background: var(--ink); box-shadow: none; color: var(--card); }
.crow.is-next .c-node { background: var(--btn); box-shadow: 0 0 0 5px var(--blue-f); color: #fff; }
.crow.k-course:not(.is-done):not(.is-next) .c-node { color: var(--ink-2); }
.c-face { position: relative; display: block; width: 50px; height: 50px; }
.c-face img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; box-shadow: 0 0 0 4px var(--card); }
.c-badge { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--card-3); box-shadow: 0 0 0 2.5px var(--card); font-size: 11px; font-weight: 700; color: var(--ink-2); }
.crow.is-done .c-badge, .crow.is-known .c-badge { background: var(--ink); color: var(--card); }
.crow.is-next .c-badge { background: var(--btn); color: #fff; }
.crow.is-next .c-face img { box-shadow: 0 0 0 4px var(--card), 0 0 0 6px var(--btn); }
.crow.is-next { margin: 4px -14px; padding: 18px 14px; border-radius: 22px; background: var(--fill); }
.crow.is-next::before { left: 37px; } .l-c .crow.is-next::before { left: 41px; }
.c-t { display: grid; gap: 3px; min-width: 0; }
.c-t small, .b-t small { display: flex; align-items: center; gap: 0; min-height: 16px; font-size: 12.5px; color: var(--ink-3); }
.c-t small:empty, .b-t small:empty { display: none; }
.c-here { font-style: normal; font-weight: 600; color: var(--blue); white-space: pre; }
.c-t b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.c-t i { font-family: var(--serif); font-style: italic; font-size: 15.5px; color: var(--ink-3); }
.crow.is-done .c-t b { color: var(--ink-2); }
.crow.is-known .c-t b, .brow.is-known .b-t b { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1.2px; }
.crow.is-locked .c-t, .brow.is-locked .b-t { opacity: .7; }
.c-r { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.c-r em { font-style: normal; font-size: 13.5px; color: var(--ink-3); }
.crow.is-next .c-r em, .brow.is-next .c-r em { color: var(--ink); font-weight: 600; }
.c-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--btn); color: #fff; transition: transform .2s var(--spring); }
@media (hover: hover) { .c-play:hover { transform: scale(1.08); } }
.ch-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 18px 2px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.ch-foot b { color: var(--ink); font-weight: 650; }
.ch-foot span { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }

/* D: the learner app's bars */
.l-d { padding: 4px 22px 0; }
.brow { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 18px; align-items: stretch; padding: 14px 12px; border-radius: 20px; }
.b-bar { border-radius: 4px; background: var(--fill-2); }
.b-t { display: grid; gap: 3px; min-width: 0; text-align: left; }
.b-t b { font-size: 17.5px; font-weight: 650; letter-spacing: -.012em; }
.b-t > span { font-size: 14.5px; color: var(--ink-3); }
.brow .c-r { align-self: center; }
.brow.is-next { background: var(--blue-f); }
.brow.is-next .b-bar { background: color-mix(in srgb, var(--btn) 45%, transparent); }
.brow.is-done .b-bar { background: var(--mint); opacity: .55; }
.brow.k-course .b-bar { background: color-mix(in srgb, var(--course) 40%, transparent); }

/* a course being made: every row is a button that opens the step */
.crow.is-edit, .brow.is-edit { width: 100%; text-align: left; }
@media (hover: hover) { .crow.is-edit:hover, .brow.is-edit:hover { background: var(--fill); border-radius: 20px; } }
.crow.is-edit .c-r .a-edit, .brow.is-edit .a-edit { order: 2; }
.outline .l-b, .outline .l-c, .outline .l-d { padding: 0; }
.outline .c-t b { font-size: 18px; } .outline .c-t i { font-size: 14px; }

/* «Modifica», A: the bar at the foot of the course page */
.e-foot { position: sticky; bottom: 18px; z-index: 25; display: grid; gap: 10px; width: min(760px, 100%); margin: 48px auto 0; }
.e-peek { display: grid; gap: 8px; padding: 16px 18px 14px 20px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-hi); animation: rise .35s var(--out); }
.e-peek p { margin: 0; font-size: 15px; line-height: 1.5; }
.e-peek.is-hello { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.e-peek.is-hello p { color: var(--ink-2); }
.e-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.e-row .lnk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.e-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 6px; }
.e-hints span { font-size: 13.5px; color: var(--ink-3); margin-right: 4px; }
.e-hints button { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: 13.5px; font-weight: 550; }
@media (hover: hover) { .e-hints button:hover { box-shadow: var(--shadow-hi); } }
.ask.is-dock .ask-in { box-shadow: var(--shadow-hi); }
.page:has(.e-foot) { padding-bottom: 30px; }
.arow .a-edit, .crow .a-edit, .brow .a-edit { color: var(--ink-2); }
@media (hover: hover) { button.a-edit:hover { background: var(--card-2); color: var(--ink); } }
@media (max-width: 640px) {
  .l-b, .l-c { padding: 4px 16px 0; } .l-d { padding: 4px 10px 0; }
  .crow { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; } .l-c .crow { grid-template-columns: 50px minmax(0, 1fr); }
  .crow::before { left: 19px; } .l-c .crow::before { left: 24px; } .crow.is-next::before { left: 33px; } .l-c .crow.is-next::before { left: 38px; }
  .crow .c-r, .brow .c-r { grid-column: 2; justify-self: start; }
  .brow { grid-template-columns: 4px minmax(0, 1fr); } .ch-foot { flex-wrap: wrap; } .ch-foot span { margin-left: 0; }
  .c-t b { font-size: 19px; }
}
@media (max-width: 640px) { .e-foot { bottom: 84px; } .e-hints { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .e-hints button, .e-hints span { flex: none; } .e-peek.is-hello { padding: 12px 14px 12px 16px; } .e-peek.is-hello p { font-size: 14px; } }


/* ---------- the app (4 Nov): sign-in, the plan box as a button, the waiting rail ---------- */
.signin { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--frame); }
.signin-card { width: min(420px, 100%); display: grid; gap: 14px; padding: 34px 32px 26px; border-radius: 32px; background: var(--card); box-shadow: var(--shadow-hi, var(--shadow)); }
.signin-card .brand { margin: 0 0 10px; padding: 0; }
.signin-card h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.02em; line-height: 1.1; }
.ss-lead { margin: 0 0 4px; font-size: 15px; color: var(--ink-2); }
.ss-input { width: 100%; height: 50px; padding: 0 18px; border-radius: 16px; border: 0; background: var(--fill-2); color: var(--ink); font: inherit; font-size: 15.5px; outline: none; box-shadow: inset 0 0 0 1px var(--line); }
.ss-input:focus { box-shadow: inset 0 0 0 2px var(--btn); }
.ss-code { text-align: center; letter-spacing: .3em; font-size: 20px; }
.signin-card form { display: grid; gap: 10px; }
.ss-wide { width: 100%; justify-content: center; }
.ss-or { display: flex; align-items: center; gap: 12px; margin: 4px 0; font-size: 12.5px; color: var(--ink-3); }
.ss-or::before, .ss-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.ss-fine { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.ss-err { margin: 2px 0 0; font-size: 13.5px; color: var(--coral, #ff6b5a); }
.ss-social { display: grid; gap: 10px; }
.ss-social .ss-apple { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; background: var(--ink); color: var(--card); font-weight: 600; }
.signin-foot { display: flex; justify-content: center; margin-top: 4px; }
/* the email code (signin.js codeStepHtml): six cells over one real input, which takes typing, paste and autofill */
.otp { position: relative; display: block; cursor: text; }
.otp-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; font-size: 16px; color: transparent; caret-color: transparent; background: transparent; z-index: 1; }
.otp-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp-cell { height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--fill-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: box-shadow .2s, background .2s; }
.otp.is-focus .otp-cell.is-cur { background: var(--card); box-shadow: inset 0 0 0 2px var(--btn); }
.otp.is-focus .otp-cell.is-cur::after { content: ""; width: 2px; height: 26px; border-radius: 1px; background: var(--btn); animation: otp-caret 1s steps(1) infinite; }
.otp.is-bad .otp-cell { box-shadow: inset 0 0 0 2px var(--coral); animation: otp-shake .4s; }
@keyframes otp-caret { 50% { opacity: 0; } }
@keyframes otp-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .otp.is-bad .otp-cell { animation: none; } }
@media (max-width: 380px) { .otp-cells { gap: 6px; } .otp-cell { height: 52px; font-size: 22px; border-radius: 14px; } }
.ss-code-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 28px; }
.ss-note { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.45; }
.ss-typo { margin: -2px 2px 0; color: var(--ink-2); }
.ss-last, .ss-help { text-align: center; }
.otp.is-bad.is-focus .otp-cell.is-cur { box-shadow: inset 0 0 0 2px var(--coral); background: var(--fill-2); }
.ss-inapp { padding: 12px 14px; border-radius: 14px; background: var(--fill); color: var(--ink-2); }
.lnk.is-blue { color: var(--blue); }
@media (hover: hover) { .lnk.is-blue:hover { color: var(--btn); text-decoration: underline; text-underline-offset: 3px; } }
.ss-mailapp { text-decoration: none; }
.ss-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: ss-rot .8s linear infinite; }
@keyframes ss-rot { to { transform: rotate(360deg); } }
.sheet-top { margin-bottom: 4px; }
button.plan { width: 100%; text-align: left; }
.ghost-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.ghost-rail i { aspect-ratio: 16 / 10; border-radius: 22px; background: var(--fill-2); animation: pulse 1.4s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .5; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ghost-rail i { animation: none; } }
.me .round { flex: none; font-size: 12px; font-weight: 700; }

/* ---------- the report card (take.js) ---------- */
.rep-wait { display: grid; justify-items: center; gap: 10px; max-width: 520px; margin: 60px auto 0; text-align: center; }
.rep-wait img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; margin-bottom: 6px; }
.rep-wait h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.02em; line-height: 1.1; }
.rep-wait p { margin: 0 0 8px; color: var(--ink-2); }
.rep-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 26px; align-items: center; margin-top: 8px; }
.rep-head img { width: 96px; height: 96px; border-radius: 28px; object-fit: cover; object-position: 50% 20%; }
.rep-head h1 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: -.025em; line-height: 1.05; }
.rep-score { font-size: 64px !important; }
.rep-score small { margin-left: 4px; font-family: var(--sans); font-size: 18px; color: var(--ink-3); letter-spacing: 0; }
.rep-head p { margin: 10px 0 0; max-width: 64ch; font-size: 16px; color: var(--ink-2); }
.rep-list { padding: 6px 26px; }
.rep-item { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rep-item:last-child { border-bottom: 0; }
.rep-dot { width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--exam); }
.rep-item.is-good .rep-dot { background: var(--mint); } .rep-item.is-bad .rep-dot { background: var(--coral); }
.rep-item b { font-size: 16px; font-weight: 550; letter-spacing: -.01em; }
.rep-item p { margin: 6px 0 0; color: var(--ink-2); font-size: 14.5px; }
.rep-item p small { display: block; margin-bottom: 1px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.rep-better { color: var(--ink) !important; }
.rep-dims { display: grid; gap: 18px; padding: 22px 26px; }
.rep-dim > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.rep-dim .bar { display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: var(--fill-2); overflow: hidden; }
.rep-dim .bar i { display: block; height: 100%; border-radius: 6px; background: var(--btn); }
.rep-dim p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-3); }
.rep-mission { display: grid; gap: 6px; padding: 22px 26px; }
.rep-mission b { font-size: 18px; font-weight: 600; }
.rep-mission p { margin: 0; color: var(--ink-2); }
.rep-path { display: grid; padding: 6px 22px; }
.rep-path > div { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rep-path > div:last-child { border-bottom: 0; }
.rep-path img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; object-position: 50% 20%; }
.rep-path small { color: var(--ink-3); }
.rep-path .is-known span { color: var(--ink-3); text-decoration: line-through; }
.rep-path .is-known small { color: var(--mint); font-weight: 600; }
.rep-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.take-presence { margin: 2px 0 6px; }
@media (max-width: 640px) { .rep-head { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; } .rep-head img { width: 64px; height: 64px; border-radius: 20px; } .rep-score { font-size: 48px !important; } .rep-list, .rep-dims, .rep-mission { padding-left: 18px; padding-right: 18px; } }

/* ---------- Create (create.js) ---------- */
.door-points { position: absolute; left: 22px; right: 22px; bottom: 92px; display: grid; gap: 8px; margin: 0; padding: 16px 18px; list-style: none; border-radius: 20px; background: color-mix(in srgb, var(--card) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 14px; color: var(--ink-2); }
.door-points li { display: flex; gap: 10px; align-items: flex-start; } .door-points svg { margin-top: 3px; color: var(--mint); }
.crow.is-edit { width: 100%; text-align: left; border-radius: 16px; transition: background .2s; }
@media (hover: hover) { .crow.is-edit:hover { background: var(--fill); } }
label.tool { cursor: pointer; }
.ask-bar .tool { color: var(--ink-2); }
/* the plus: one thin stroke, like the microphone beside it; pressed it turns a quarter and springs back */
label.tool svg { stroke-width: 1.75; transition: transform .55s var(--spring); }
label.tool:active { background: var(--fill); }
label.tool:active svg { transform: rotate(90deg) scale(.8); transition: transform .1s ease-out; }

/* ---------- the course's steps: «Senza linee» (Ale, 4 Nov; ~/orca/course-card-alt ui/alt.css .w7.is-clean) ---------- */
.box { border-radius: 32px; background: var(--card); box-shadow: var(--shadow); }
.g-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.g-acts { position: relative; z-index: 2; display: flex; align-items: center; gap: 18px; flex-direction: row-reverse; }
.w7.is-clean { display: grid; gap: 6px; padding: 16px; }
.w7-r { position: relative; display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 14px 22px 14px 14px; border-radius: 26px; transition: background .25s; }
@media (hover: hover) { .w7-r:hover { background: var(--fill); } }
.w7-r.is-next { background: var(--blue-f); }
.w7-img { position: relative; display: block; pointer-events: none; }
.th { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #15171d; box-shadow: 0 0 0 1px var(--line); }
.th .sc { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(1.12); transform-origin: 50% 35%; transition: transform .8s var(--out), filter .4s; }
@media (hover: hover) { .w7-r:hover .th .sc { transform: scale(1.17); } }
.is-known .th .sc, .is-skipped .th .sc { filter: grayscale(1) brightness(.78); }
.w7-t { display: grid; gap: 5px; justify-items: start; min-width: 0; pointer-events: none; }
.w7-t .tip { pointer-events: auto; position: relative; z-index: 2; margin: 0 0 0 10px; flex: none; }
/* the entry test's «?» next to its title, not on a line of its own (Ale, 8 Nov) */
.w7-tt { display: flex; align-items: center; min-width: 0; }
/* next to the title the «?» can sit anywhere on the row: on a phone its box spans the screen, inside its 16px gutters */
@media (max-width: 640px) { .w7-tt .tip-box { position: fixed; left: 16px; right: 16px; top: auto; width: auto; } }
.w7-t small { font-size: 13px; color: var(--ink-3); }
.w7-t b { font-size: 17px; font-weight: 600; letter-spacing: -.016em; line-height: 1.25; }
.w7-r.is-known .w7-t b { color: var(--ink-3); font-weight: 500; }
.w7-a { position: relative; z-index: 2; display: flex; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--fill); font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; pointer-events: none; }
.chip.is-ok { background: var(--mint-f); color: var(--mint); }
.e-go { display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink-3); pointer-events: none; transition: color .2s, transform .35s var(--out); }
@media (hover: hover) { .w7-r:hover .e-go { color: var(--ink-2); transform: translateX(3px); } }
@media (max-width: 760px) {
  .w7.is-clean { padding: 8px; }
  .w7-r { grid-template-columns: 104px minmax(0, 1fr) auto; gap: 14px; padding: 10px; }
  .th { border-radius: 14px; }
  .w7-t b { font-size: 16px; }
  .w7-r.is-next { grid-template-columns: 104px minmax(0, 1fr); } .w7-r.is-next .w7-a { grid-column: 2; }
}

/* ===== bug hunt (4 Nov): the phone's account row, the rails' arrows, the door's note ===== */
/* on a phone the sidebar's foot is hidden: the plan, the language, the theme and the exit live on top of the page */
.m-top { display: none; }
@media (max-width: 900px) {
  .m-top { display: flex; align-items: center; gap: 8px; padding: 14px var(--gut) 0; }
  .m-top .grow { flex: 1; }
  .m-top .plan { min-width: 0; padding: 8px 12px; gap: 6px; }
}
/* a long section title pushed the arrows past a phone's edge: there the rails scroll under the finger */
@media (max-width: 640px) { .rail-nav { display: none; } }
/* the plan's note sits over the button: the points go up to leave it room */
.door:has(.door-note) .door-points { bottom: 140px; }

/* the course chat at full page: the box always at the foot of the screen, the conversation above it (Ale, 4 Nov) */
.page.wsf { min-height: calc(100vh - 20px); grid-template-rows: auto auto 1fr auto; align-content: stretch; padding-bottom: 22px; }
.wsf .chat { align-self: start; }
.wsf-dock { align-self: end; bottom: 18px; padding-top: 10px; background: linear-gradient(to bottom, transparent, var(--bg) 40%); }
@media (max-width: 900px) { .page.wsf { min-height: 100vh; padding-bottom: 90px; } .wsf-dock { bottom: 78px; } }

/* ---------- the page of one step (step.js) ---------- */
.step-kick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.step-kick .kind { color: var(--kind); font-weight: 650; }
.step-kick i { font-style: normal; opacity: .6; }
.step-kick .chip { margin-left: 6px; }
.step-page h1 { margin: 12px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; letter-spacing: -.028em; }
.step-who { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14.5px; color: var(--ink-3); }
.step-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.step-who b { margin-right: 6px; color: var(--ink); font-weight: 600; }
.step-page .d1-cta { flex-wrap: wrap; align-items: center; gap: 16px; }
.step-img { position: relative; overflow: hidden; }
.step-img .sc { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.step-page .ap-line { grid-template-columns: 30px minmax(0, 1fr); } .step-page .ap-line p { display: none; }
.step-page .ap-line b { font-size: 21px; }

/* ===== persona fixes (4 Nov) ===== */
/* Create's kinds and My creations' filter: on a phone every option in view, on as many lines as it takes */
.cz-tabs { flex-wrap: wrap; overflow: visible; }
.seg { flex-wrap: wrap; overflow: visible; }
@media (max-width: 640px) {
  .cz-tabs { gap: 0; padding: 8px 6px 0; }
  .cz-tabs button { height: 34px; padding: 0 8px; gap: 5px; font-size: 13px; }
  .cz-tabs button svg { width: 14px; height: 14px; }
  .seg { border-radius: 22px; }
  .seg button { height: 34px; padding: 0 12px; font-size: 13.5px; }
}
/* the share sheet on a phone: smaller title and padding, the link's button never past the edge */
.linkbox .btn { flex: none; }
@media (max-width: 640px) {
  .sheet { padding: 24px 20px; border-radius: 28px; }
  .sheet h2 { font-size: 30px; }
  .sheet-x { margin: -8px -6px -24px 0; }
}
/* a person's own course while it is being written */
.writing-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 16px 8px 14px; border-radius: 999px; background: var(--blue-f); color: var(--ink); font-size: 14px; font-weight: 600; }
.writing-pill .dots { padding: 0; } .writing-pill .dots i { background: var(--blue); }
.chip.is-wip { gap: 8px; } .chip.is-wip .dots { padding: 0; gap: 3px; } .chip.is-wip .dots i { width: 5px; height: 5px; }
/* «Sto traducendo…» (8 Nov): a course, a lesson or a call translated into the language on screen. Corporate's shimmer
   (workspace.css .shimmer, course-builder-v8.css .cb-wait): the words themselves shine, nothing spins; the words still in
   the other language are veiled until the translation is there, never half in one language and half in the other */
.tr-shimmer { color: transparent; background: linear-gradient(90deg, var(--ink-3) 0%, var(--ink-3) 38%, var(--ink) 50%, var(--ink-3) 62%, var(--ink-3) 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; animation: tr-shimmer 2s linear infinite; }
@keyframes tr-shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.tr-line { margin: 4px 0 6px; font: italic 400 18px/1.3 var(--serif); letter-spacing: -.005em; }
.tr-veil { opacity: .45; transition: opacity .4s var(--ease); }
/* on the dark glass of a call's pill and a step's door the words shine light */
.meet-wait .tr-shimmer, .k-item-join .tr-shimmer { background-image: linear-gradient(90deg, rgb(255 255 255 / .5) 0%, rgb(255 255 255 / .5) 38%, #fff 50%, rgb(255 255 255 / .5) 62%, rgb(255 255 255 / .5) 100%); }
.meet-wait.is-words .fk-spin { display: none; }
@media (prefers-reduced-motion: reduce) { .tr-shimmer { animation: none; color: var(--ink-2); background: none; } }
.w7-r.is-wip .w7-img, .w7-r.is-wip .w7-t { opacity: .55; }
/* a single content on a phone: «Crea» above the chat, in view without scrolling down to the picture (the chat's field
   stays free at the card's foot) */
.ws-make { display: none; }
@media (max-width: 1100px) {
  .ws-make { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
  .ws-make .door-note { padding: 0; background: none; box-shadow: none; backdrop-filter: none; color: var(--ink-3); font-size: 13px; font-weight: 500; }
  .ws-make .btn { margin-left: auto; flex: none; }
  .ws .door-foot .btn { display: none; }
}
@media (max-width: 760px) { .w7-r.is-wip { grid-template-columns: 104px minmax(0, 1fr); } .w7-r.is-wip .w7-a { grid-column: 2; } }
.rep-wait + .rep-foot { justify-content: center; margin-top: 8px; }

/* ===== sharing by link (4 Nov) ===== */
.share-body { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 14px; }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.share-row b { display: block; font-size: 15.5px; font-weight: 600; }
.share-row small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.ss-toggle { position: relative; flex: none; width: 50px; height: 30px; border-radius: 999px; background: var(--fill-2); transition: background .2s; }
.ss-toggle i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .3); transition: transform .25s var(--out); }
.ss-toggle[aria-checked="true"] { background: var(--btn); }
.ss-toggle[aria-checked="true"] i { transform: translateX(20px); }
.ss-toggle:disabled { opacity: .5; }
.shared-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }
.shared-note svg { flex: none; }
.takers .row-main { cursor: default; }
.takers .card.empty .btn { margin-top: 6px; }

/* ===== Create and My creations, Elena's round (4 Nov) ===== */
.kpill-w { position: relative; display: inline-flex; }
button.kpill { cursor: pointer; } button.kpill svg:last-child { margin-left: -2px; opacity: .7; }
.kmenu { min-width: 200px; } .kmenu button { justify-content: flex-start; } .kmenu button svg:last-child { margin-left: auto; }
.kmenu button svg:first-child { color: var(--ink-3); }
.cz-draft { display: flex; align-items: center; gap: 14px; width: min(640px, 100%); margin: 18px auto 0; padding: 12px 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); text-align: left; }
.cz-draft > span:nth-child(2) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cz-draft small { font-size: 12.5px; color: var(--ink-3); }
.cz-draft b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; font-weight: 600; }
.cz-draft em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.cr-acts { display: grid; gap: 6px; }
.cr-act { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); text-align: left; }
.cr-act > svg { flex: none; color: var(--ink-3); }
.cr-act span { display: grid; gap: 2px; } .cr-act b { font-size: 15px; font-weight: 600; } .cr-act small { font-size: 13px; color: var(--ink-3); }
.cr-act:disabled { opacity: .5; }
.cr-act.is-danger b, .cr-act.is-danger > svg { color: var(--coral, #ff453a); }
.btn.danger { background: var(--coral, #ff453a); box-shadow: none; }
@media (hover: hover) { .cr-act:not(:disabled):hover, .cz-draft:hover { box-shadow: var(--shadow-hi); } }
/* a single content on a phone: room under the picture for the bottom bar; the plan's note once, above the chat */
@media (max-width: 1100px) { .ws .door-foot { display: none; } }
@media (max-width: 900px) { .ws { padding-bottom: 110px; } }
/* sharing, second round (4 Nov): whose minutes, the invite on the sign-in */
.share-row.is-minutes { background: var(--fill); box-shadow: none; }
.share-hint { display: flex; align-items: center; gap: 8px; margin: -4px 4px 0; font-size: 13px; color: var(--ink-3); text-align: left; }
.share-hint.is-link { color: var(--blue); font-weight: 600; }
.shared-note.is-gift { color: var(--mint); font-weight: 600; margin-top: 6px; }
.ss-invite { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 14px; border-radius: 16px; background: var(--blue-f); color: var(--ink); font-size: 14px; font-weight: 550; }
.ss-invite svg { flex: none; color: var(--blue); }
.send.is-busy .fk-spin { width: 16px; height: 16px; }
.cz-reading { margin: 12px auto 0; text-align: center; font-size: 13.5px; }
/* the draft under Create's box, with its cross to delete it (Ale, 4 Nov) */
.cz-draft-w { position: relative; width: min(640px, 100%); margin: 18px auto 0; }
.cz-draft-w .cz-draft { width: 100%; margin: 0; padding-right: 52px; }
.cz-draft-x { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); }
.btn.sm.ghost.is-bad { color: var(--bad, #d93025); }
.sec-head.is-sm { margin-bottom: 10px; } .sec-head.is-sm h2 { font-size: 20px; }
/* on a phone with a sheet open the toast goes to the top: at the bottom it covered the sheet's last line (Giulia, 4 Nov) */
@media (max-width: 640px) { body:has(#sheet) .toast { top: calc(14px + env(safe-area-inset-top)); bottom: auto; transform: translate(-50%, -16px); } body:has(#sheet) .toast.on { transform: translate(-50%, 0); } }
