:root {
  --bg: #fbf6ee;
  --bg-2: #f3ece0;
  --card: #ffffff;
  --ink: #1f2933;
  --muted: #5d6877;
  --line: #e7dfd2;
  --brand: #0f5e6e;
  --brand-ink: #0b4a57;
  --brand-soft: #e2f0f1;
  --accent: #e8743b;
  --accent-soft: #fdebe0;
  --gold: #f2b134;
  --gold-soft: #fff4d9;
  --ok: #23885a;
  --ok-soft: #e3f5ea;
  --bad: #cc3f3f;
  --bad-soft: #fde8e8;
  --profe: #7b5ea7;
  --profe-soft: #f0eaf8;
  --radius: 18px;
  --shadow: 0 2px 0 rgba(31, 41, 51, .06), 0 8px 24px rgba(31, 41, 51, .06);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.55 var(--font); min-height: 100vh; }
a { color: var(--brand); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 .8em; }
[hidden] { display: none !important; }
main { max-width: 980px; margin: 0 auto; padding: 18px 16px 120px; outline: none; }

/* ── top bar ── */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 16px; background: rgba(251, 246, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.brand b { color: var(--brand); }
.brand-owl { width: 34px; height: 34px; display: inline-block; background: no-repeat center/contain; }
.stats { display: flex; align-items: center; gap: 6px; }
.stat { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: .95rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.stat-link.has { background: var(--accent-soft); border-color: #f5c5a8; }
.icon-btn { border: 1px solid var(--line); background: var(--card); border-radius: 12px; width: 42px; height: 40px; cursor: pointer; font-size: 1.2rem; }
.menu { position: fixed; z-index: 30; top: 62px; right: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; min-width: 250px; }
.menu a, .menu button { text-align: left; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; font-weight: 600; }
.menu a:hover, .menu button:hover { background: var(--bg-2); }
@media (max-width: 640px) { .hide-sm { display: none; } .stat { padding: 4px 8px; } .brand span:last-child { display: none; } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 14px; border: 0; cursor: pointer;
  font-weight: 800; text-decoration: none; background: var(--brand); color: #fff; box-shadow: 0 3px 0 var(--brand-ink); transition: transform .08s, box-shadow .08s, filter .15s; font-size: 1rem; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--brand-ink); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-accent { background: var(--accent); box-shadow: 0 3px 0 #b8572a; }
.btn-gold { background: var(--gold); color: #3b2a00; box-shadow: 0 3px 0 #c58b1c; }
.btn-ghost { background: var(--card); color: var(--ink); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); }
.btn-profe { background: var(--profe); box-shadow: 0 3px 0 #5b4380; padding: 8px 14px; border-radius: 12px; color: #fff; }
.btn-big { padding: 16px 26px; font-size: 1.1rem; border-radius: 16px; }
.btn-sm { padding: 7px 12px; font-size: .9rem; border-radius: 10px; }
.linkish { background: none; border: 0; color: var(--brand); font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.spread { justify-content: space-between; }

/* ── cards ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); transition: transform .12s; cursor: pointer; text-align: left; }
.tile:hover { transform: translateY(-2px); }
.tile .ico { font-size: 1.8rem; }
.tile b { font-size: 1.05rem; }
.tile small { color: var(--muted); }
.tile.t-profe { background: var(--profe-soft); border-color: #dccff0; }
.tile.t-accent { background: var(--accent-soft); border-color: #f5cdb4; }
.tile.t-gold { background: var(--gold-soft); border-color: #f3dc9f; }
.tile.t-brand { background: var(--brand-soft); border-color: #c4e0e3; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: .82rem; font-weight: 800; background: var(--bg-2); color: var(--muted); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.pill.accent { background: var(--accent-soft); color: #a8471b; }
.pill.profe { background: var(--profe-soft); color: var(--profe); }
.crumbs { font-size: .95rem; margin-bottom: 10px; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 700; }

/* ── hero ── */
.hero { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: linear-gradient(135deg, #0f5e6e, #137487 60%, #1b8a8f); color: #fff; border: 0; }
.hero h1 { color: #fff; margin-bottom: .2em; }
.hero p { color: #d7eef0; }
.hero .btn { background: var(--gold); color: #3b2a00; box-shadow: 0 3px 0 #c58b1c; }
.ring { --p: 0; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255,255,255,.22) 0); }
.ring > div { width: 88px; height: 88px; border-radius: 50%; background: #0f5e6e; display: grid; place-items: center; text-align: center; line-height: 1.1; font-weight: 900; }
.ring small { display: block; font-weight: 600; font-size: .72rem; color: #cfe7ea; }
.lvl { margin-top: 10px; }
.bar { height: 12px; border-radius: 99px; background: rgba(0,0,0,.08); overflow: hidden; }
.hero .bar { background: rgba(255,255,255,.22); }
.bar > i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--gold); transition: width .6s ease; }
.bar.brand > i { background: var(--brand); }
.bar.ok > i { background: var(--ok); }
@media (max-width: 560px) { .hero { grid-template-columns: 1fr; } .ring { justify-self: start; } }

/* ── chapter path ── */
.path { position: relative; margin: 26px 0 10px; padding: 0; list-style: none; }
.path::before { content: ""; position: absolute; left: 50%; top: 30px; bottom: 30px; width: 6px; margin-left: -3px; background: repeating-linear-gradient(var(--line) 0 14px, transparent 14px 24px); border-radius: 3px; }
.node { position: relative; display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; margin: 4px 0 18px; }
.node .bubble { grid-column: 2; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; position: relative; text-decoration: none;
  background: conic-gradient(var(--ok) calc(var(--p) * 1%), var(--line) 0); box-shadow: 0 5px 0 rgba(0,0,0,.08); transition: transform .12s; }
.node .bubble:hover { transform: scale(1.06); }
.node .bubble > span { width: 72px; height: 72px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 2rem; }
.node .bubble .num { position: absolute; top: -6px; right: -6px; background: var(--brand); color: #fff; font-weight: 900; font-size: .8rem; border-radius: 99px; padding: 2px 8px; }
.node .bubble .medal { position: absolute; bottom: -8px; right: -8px; font-size: 1.6rem; }
.node .label { grid-column: 3; padding-left: 14px; text-decoration: none; color: var(--ink); }
.node:nth-child(even) .label { grid-column: 1; grid-row: 1; text-align: right; padding: 0 14px 0 0; }
.node .label b { display: block; font-size: 1.02rem; line-height: 1.25; }
.node .label small { color: var(--muted); }
.node.current .bubble { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 5px 0 rgba(0,0,0,.08), 0 0 0 0 rgba(232,116,59,.45); } 50% { box-shadow: 0 5px 0 rgba(0,0,0,.08), 0 0 0 14px rgba(232,116,59,0); } }
@media (max-width: 640px) {
  .path::before { left: 44px; }
  .node { grid-template-columns: 88px 1fr; }
  .node .bubble { grid-column: 1; }
  .node .label, .node:nth-child(even) .label { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 0 14px; }
}

/* ── chapter page ── */
.ch-head { display: flex; gap: 16px; align-items: center; }
.ch-head .big-ico { font-size: 2.6rem; width: 76px; height: 76px; border-radius: 22px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.lesson-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lesson-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.lesson-item:hover { border-color: var(--brand); }
.lesson-item .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--bg-2); }
.lesson-item.done .n { background: var(--ok); color: #fff; }
.checks { display: flex; gap: 4px; font-size: .9rem; }
.checks span { opacity: .3; }
.checks span.on { opacity: 1; }

/* ── lesson ── */
.tabs { display: flex; gap: 6px; background: var(--bg-2); padding: 6px; border-radius: 16px; margin: 10px 0 16px; }
.tabs a { flex: 1; text-align: center; padding: 10px 8px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 800; }
.tabs a.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.tabs a .tick { color: var(--ok); }
.video-wrap { background: #0b1f24; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap video { width: 100%; display: block; aspect-ratio: 16/9; background: #0b1f24; }
.speed { display: flex; gap: 6px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.speed button { border: 2px solid var(--line); background: var(--card); border-radius: 10px; padding: 4px 10px; cursor: pointer; font-weight: 800; }
.speed button.on { border-color: var(--brand); color: var(--brand); }
.gancho { display: flex; gap: 14px; align-items: flex-start; background: var(--accent-soft); border: 1px solid #f5cdb4; border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.gancho .avatar { font-size: 2rem; }
.prose h3, .prose h4 { margin-top: 1.2em; color: var(--brand-ink); }
.prose h4 { font-size: 1.08rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .25em 0; }
.prose blockquote { margin: 1em 0; padding: 12px 16px; background: var(--gold-soft); border-left: 5px solid var(--gold); border-radius: 0 14px 14px 0; }
.prose blockquote p:last-child { margin: 0; }
.prose strong { color: #10232b; }
.art { display: inline-block; padding: 0 7px; margin: 0 1px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: .86em; cursor: pointer; border: 0; text-decoration: none; white-space: nowrap; }
.art:hover { background: var(--brand); color: #fff; }
.keypoints { list-style: none; padding: 0; margin: 0; }
.keypoints li { padding: 10px 0 10px 36px; position: relative; border-bottom: 1px dashed var(--line); }
.keypoints li::before { content: "✓"; position: absolute; left: 4px; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; font-weight: 900; display: grid; place-items: center; font-size: .8rem; }
.ojo { background: var(--bad-soft); border: 1px solid #f3c2c2; }
.ojo li { margin: .4em 0; }
table.plazos { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.plazos th, table.plazos td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.plazos th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
table.plazos td.pz { font-weight: 900; color: #a8471b; }
@media (max-width: 600px) { table.plazos thead { display: none; } table.plazos tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); } table.plazos td { display: block; border: 0; padding: 2px 0; } }
.gloss dt { font-weight: 800; }
.gloss dd { margin: 0 0 10px; color: var(--muted); }

/* ── slides fallback (when video not rendered) ── */
.slide { aspect-ratio: 16/9; border-radius: var(--radius); background: linear-gradient(135deg, #0f5e6e, #157a86); color: #fff; padding: 5% 6%; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.slide h2 { color: #fff; font-size: clamp(1.2rem, 3.4vw, 2.2rem); }
.slide p { font-size: clamp(1rem, 2.4vw, 1.4rem); color: #e2f3f4; }
.slide ul { font-size: clamp(.95rem, 2.2vw, 1.3rem); padding-left: 1.2em; }
.slide .big { font-size: clamp(2rem, 7vw, 4.5rem); font-weight: 900; color: var(--gold); line-height: 1; }
.slide .tag { position: absolute; top: 14px; left: 18px; font-size: .85rem; font-weight: 800; background: rgba(255,255,255,.18); padding: 3px 10px; border-radius: 99px; }
.slide.caso { background: linear-gradient(135deg, #b4532a, #e8743b); }
.slide.plazo { background: linear-gradient(135deg, #3b2f63, #7b5ea7); }
.slide.resumen { background: linear-gradient(135deg, #1d6b45, #23885a); }
.narr { margin-top: 12px; padding: 14px 16px; background: var(--profe-soft); border-radius: 14px; }

/* ── quiz ── */
.quiz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.quiz-top .bar { flex: 1; height: 16px; }
.combo { font-weight: 900; color: var(--accent); min-width: 64px; text-align: right; }
.qcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.qmeta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.qtext { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); cursor: pointer; box-shadow: 0 3px 0 var(--line); font-size: 1.04rem; transition: border-color .1s, transform .08s; }
.opt:hover:not(:disabled) { border-color: var(--brand); }
.opt:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.opt .k { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 900; background: var(--bg-2); }
.opt:disabled { cursor: default; }
.opt.right { border-color: var(--ok); background: var(--ok-soft); box-shadow: 0 3px 0 #9fd6b7; }
.opt.right .k { background: var(--ok); color: #fff; }
.opt.wrong { border-color: var(--bad); background: var(--bad-soft); box-shadow: 0 3px 0 #efb1b1; animation: shake .35s; }
.opt.wrong .k { background: var(--bad); color: #fff; }
.opt.dim { opacity: .55; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.feedback { margin-top: 16px; padding: 16px 18px; border-radius: 18px; }
.feedback.ok { background: var(--ok-soft); border: 2px solid #9fd6b7; }
.feedback.bad { background: var(--bad-soft); border: 2px solid #efb1b1; }
.feedback h3 { margin-bottom: .3em; }
.hint { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--gold-soft); }
.profe-box { margin-top: 12px; padding: 16px 18px 16px 70px; border-radius: 18px; background: var(--profe-soft); border: 1px solid #dccff0; position: relative; min-height: 70px; }
.profe-box::before { content: ""; position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; background: var(--owl) no-repeat center/contain; }
.result { text-align: center; }
.result .stars { font-size: 3rem; letter-spacing: 6px; }
.result .score { font-size: 3.4rem; font-weight: 900; color: var(--brand); line-height: 1; }
.xp-float { position: fixed; z-index: 60; pointer-events: none; font-weight: 900; color: var(--gold); font-size: 1.6rem; text-shadow: 0 2px 0 rgba(0,0,0,.15); animation: floatUp 1.1s ease-out forwards; }
@keyframes floatUp { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-70px) scale(1.3); } }
.typing::after { content: "▍"; animation: blink 1s infinite; color: var(--profe); }
@keyframes blink { 50% { opacity: 0; } }

/* ── flashcards ── */
.flash { perspective: 1200px; height: 300px; cursor: pointer; }
.flash-inner { position: relative; width: 100%; height: 100%; transition: transform .5s; transform-style: preserve-3d; }
.flash.flipped .flash-inner { transform: rotateY(180deg); }
.flash-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 22px; display: grid; place-items: center; padding: 26px; text-align: center; font-size: 1.25rem; font-weight: 700; box-shadow: var(--shadow); }
.flash-front { background: var(--card); border: 2px solid var(--line); }
.flash-back { background: var(--brand); color: #fff; transform: rotateY(180deg); }

/* ── profe / chat ── */
.profe-hero { display: flex; gap: 18px; align-items: center; background: var(--profe-soft); border-color: #dccff0; }
.owl-big { width: 96px; height: 96px; flex: none; background: var(--owl) no-repeat center/contain; }
.chat { display: flex; flex-direction: column; gap: 12px; margin: 14px 0; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.msg.bot .tools { margin-top: 8px; display: flex; gap: 8px; }
.chat-input { display: flex; gap: 8px; position: sticky; bottom: 10px; background: var(--bg); padding: 8px 0; }
.chat-input textarea { flex: 1; resize: none; min-height: 54px; max-height: 160px; padding: 14px; border-radius: 16px; border: 2px solid var(--line); font: inherit; background: var(--card); }
.chat-input textarea:focus { outline: none; border-color: var(--profe); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid #dccff0; background: var(--card); color: var(--profe); border-radius: 99px; padding: 7px 14px; cursor: pointer; font-weight: 700; font-size: .92rem; text-align: left; }
.chip:hover { background: var(--profe-soft); }
.tema { border-left: 6px solid var(--profe); }
.tema .truco { background: var(--gold-soft); padding: 10px 14px; border-radius: 12px; margin-top: 8px; }
.loading-owl { text-align: center; padding: 30px 10px; }
.loading-owl .owl-big { margin: 0 auto 12px; animation: bob 1.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }

/* ── forms / login ── */
.login { max-width: 460px; margin: 6vh auto 0; text-align: center; }
.login .owl-big { margin: 0 auto 10px; width: 120px; height: 120px; }
.field { display: grid; gap: 6px; text-align: left; margin-bottom: 14px; }
.field label { font-weight: 800; }
.field input, .search input { font: inherit; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); width: 100%; }
.field input:focus, .search input:focus { outline: none; border-color: var(--brand); }
.err { color: var(--bad); font-weight: 700; min-height: 1.4em; }
.search { display: flex; gap: 8px; margin: 10px 0 16px; }

/* ── modal / toast / misc ── */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(15, 30, 36, .55); display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; background: var(--card); border-radius: 22px; max-width: 760px; width: 100%; max-height: 86vh; overflow: auto; padding: 26px 22px 22px; }
.modal-x { position: absolute; top: 10px; right: 12px; border: 0; background: var(--bg-2); border-radius: 10px; width: 36px; height: 36px; cursor: pointer; font-size: 1rem; }
.art-text { white-space: pre-wrap; font-size: .98rem; line-height: 1.6; }
.toast-wrap { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 460px); }
.toast { background: #1f2933; color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; animation: toastIn .25s; }
.toast.gold { background: var(--gold); color: #3b2a00; }
@keyframes toastIn { from { transform: translateY(12px); opacity: 0; } }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; width: 100vw; height: 100vh; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.badge { text-align: center; padding: 16px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.badge .b-ico { font-size: 2.4rem; }
.badge.locked { opacity: .4; filter: grayscale(1); }
.badge b { display: block; font-size: .95rem; }
.badge small { color: var(--muted); font-size: .8rem; }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.sep { height: 1px; background: var(--line); margin: 18px 0; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }
.center { text-align: center; }
.spinner { width: 22px; height: 22px; border: 3px solid rgba(0,0,0,.12); border-top-color: var(--profe); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
