/* The student dashboard in the /learn start screen's look (2026-09-25):
   the shared top menu (css/nav.css), Tara beside the question, a sticky note,
   and ready lessons as icon cards. Loaded after css/site.css and scoped to
   body.studio, so login and the other site.css pages are untouched. */
body.studio{
  --d-ink:#10244b;--d-soft:#61718c;--d-faint:#8a97ad;--d-line:#e2eaf6;--d-blue:#1677ff;--d-violet:#6a5cf0;
  background:
    radial-gradient(900px 520px at 8% -8%, #e6f0ff 0%, transparent 60%),
    radial-gradient(760px 460px at 96% 2%, #fdeef6 0%, transparent 58%),
    #f7faff;
  color:var(--d-ink);
}
body.studio .sn .side-btn{flex:none;width:40px;height:40px;border-radius:12px;border:1px solid var(--d-line);background:#fff;
  font-size:18px;box-shadow:none}
body.studio .sn .btn.sm{padding:8px 14px;border-radius:12px}
body.studio .avatar{width:40px;height:40px;background:linear-gradient(135deg,#7b6cf6,var(--d-blue));font-weight:800}

/* ---- hero: Tara | the question | the sticky note ---- */
.dHero{display:grid;grid-template-columns:minmax(200px,270px) minmax(0,760px) minmax(160px,220px);justify-content:center;
  align-items:end;gap:12px 28px;padding:24px 28px 0;max-width:1280px;margin:0 auto}
.dHero .hero-tara{position:relative;align-self:end}
.dHero .hero-tara img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;object-position:bottom;
  -webkit-mask-image:linear-gradient(to right,#000 72%,transparent 99%),linear-gradient(to top,transparent 0,#000 16%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,#000 72%,transparent 99%),linear-gradient(to top,transparent 0,#000 16%);
  mask-composite:intersect}
.dHero .hero-bubble{position:absolute;z-index:2;top:6px;right:-6px;transform:rotate(-6deg);background:#fff;border-radius:20px;
  padding:12px 16px;box-shadow:0 10px 28px rgba(23,75,131,.14);font-family:'Caveat',cursive;font-size:25px;font-weight:700;
  line-height:1.05;color:var(--d-ink);max-width:230px}
.dHero .hero-bubble small{display:block;font-size:19px;font-weight:600;margin-top:2px}
.dHero .hero-bubble::after{content:"";position:absolute;left:18px;bottom:-9px;width:18px;height:18px;background:#fff;
  transform:rotate(45deg);border-radius:3px}
.dHero .scribble::after{content:none}
.dHero .hero-note{align-self:start;padding-top:18px;display:flex;flex-direction:column;align-items:center;gap:18px}
.dHero .sticky{background:#fff4a8;color:#3b3413;padding:22px 18px 18px;width:170px;transform:rotate(5deg);
  font-family:'Caveat',cursive;font-size:24px;font-weight:700;line-height:1.1;text-align:center;
  box-shadow:0 14px 26px rgba(80,70,20,.16);position:relative}
.dHero .sticky::before{content:"";position:absolute;top:-10px;left:50%;width:62px;height:20px;margin-left:-31px;
  background:#ffffffaa;transform:rotate(-4deg);box-shadow:0 1px 3px #0001}
.dHero .scribble{position:static;max-width:none;pointer-events:auto;display:block;margin:0;font-family:'Caveat',cursive;font-size:26px;line-height:1.02;color:#2f67d8;transform:rotate(-8deg)}

body.studio .prompt{min-height:0;padding:18px 0 34px;justify-content:flex-start}
body.studio .prompt .banner{width:100%}
body.studio .prompt h1{font-size:clamp(28px,2.9vw,40px);font-weight:800;letter-spacing:-1.4px;color:var(--d-ink);margin:0 0 20px;line-height:1.12}
body.studio .prompt h1 b{font-weight:900;color:var(--d-blue);padding-bottom:5px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C30 2 70 2 118 6' fill='none' stroke='%23ffb020' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") bottom/100% 9px no-repeat}
body.studio .modes{gap:12px}
body.studio .modes button{min-width:0;justify-content:center;border:1px solid var(--d-line);border-radius:14px;padding:11px 22px;
  font-size:15px;font-weight:600;color:var(--d-ink);box-shadow:0 4px 14px rgba(23,75,131,.06)}
body.studio .modes button.on{color:#fff;border-color:transparent;background:linear-gradient(135deg,#7b6cf6,var(--d-violet));
  box-shadow:0 10px 22px #6a5cf03d}
body.studio .modes button.on small{background:#ffffff33;color:#fff}
body.studio .composer2{width:100%;border:1px solid var(--d-line);border-radius:22px;padding:18px 20px 16px;
  box-shadow:0 22px 55px rgba(23,75,131,.12)}
body.studio .composer2:focus-within{box-shadow:0 0 0 3px #1677ff1f,0 22px 55px rgba(23,75,131,.12)}
body.studio .composer2 textarea{font-size:16.5px;color:var(--d-ink)}
body.studio .composer2 .row{flex-wrap:wrap}
body.studio .chip-btn{border-color:var(--d-line);border-radius:12px;padding:9px 14px;font-weight:600;color:var(--d-soft)}
body.studio .composer2 .seg{background:#fff;border-color:var(--d-line);border-radius:12px;padding:0;overflow:hidden;gap:0}
body.studio .composer2 .seg button{border-radius:0;padding:9px 15px;font-weight:700;color:var(--d-soft)}
body.studio .composer2 .seg button.on{background:var(--d-blue);color:#fff;box-shadow:none}
body.studio .composer2 .row .btn.primary{border-radius:14px;padding:12px 30px;font-weight:800;
  background:linear-gradient(135deg,var(--d-blue),#19a9f5);box-shadow:0 10px 25px #1677ff38}

/* ready lessons: the /learn topic cards */
body.studio .ready-chips{display:block;width:100%;max-width:none;margin-top:22px;text-align:left}
body.studio .ready-chips a.tcard{font-size:inherit;border-radius:16px;padding:10px 12px;background:#fff;border:1px solid #e3eaf5;color:var(--d-ink)}
body.studio .ready-chips a.tcard:hover{border-color:#bcd0f5}
body.studio .ready-chips span{padding:0;font-size:inherit;color:inherit}
body.studio .ready-chips .ttxt small{font-size:12px;color:var(--d-soft)}
body.studio .ready-chips .cg-t{font-size:13.5px;color:var(--d-soft);padding:0}
.chips-head{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--d-blue);font-weight:900;margin:0 0 10px;text-align:center}
.chip-group{margin-bottom:12px}
.cg-t{display:block;font-size:13.5px;font-weight:700;color:var(--d-soft);margin:0 0 8px 2px}
.cg-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tcard{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e3eaf5;border-radius:16px;padding:10px 12px;
  text-decoration:none;color:var(--d-ink);box-shadow:0 3px 10px rgba(23,75,131,.04);transition:border-color .15s,box-shadow .15s}
.tcard:hover{border-color:#bcd0f5;box-shadow:0 8px 20px rgba(23,75,131,.09)}
.tico{flex:none;width:46px;height:46px;border-radius:50%;background:#eef5ff;display:grid;place-items:center;overflow:hidden}
.tico img{width:38px;height:38px;object-fit:contain}
.tico .glyph{font-size:20px;color:var(--d-blue)}
.ttxt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.ttxt b{font-size:13.5px;line-height:1.25}
.ttxt small{font-size:12px;color:var(--d-soft)}
.tgo{flex:none;color:var(--d-faint);font-size:20px;line-height:1}
body.studio .more-hint{margin-top:16px;color:var(--d-blue);font-weight:700}
body.studio .more-note{margin:6px 0 0;font-size:13px;color:var(--d-soft);text-align:left}
body.studio .more-note a{color:var(--d-blue);font-weight:700}

/* ---- below the fold ---- */
body.studio .below{border-top:1px solid var(--d-line);padding-top:30px;max-width:1180px}
body.studio .card{border-color:var(--d-line);border-radius:24px;box-shadow:0 12px 34px rgba(23,75,131,.07)}
body.studio .card-head h2{font-size:20px;font-weight:800;letter-spacing:-.4px}
body.studio .card-head .seg{background:#fff;border-radius:999px;padding:4px;gap:4px}
body.studio .card-head .seg button{border-radius:999px;font-weight:700;color:var(--d-ink)}
body.studio .card-head .seg button.on{background:var(--d-blue);color:#fff;box-shadow:0 6px 16px #1677ff33}
body.studio .rcard{background:#fbfcff;border-color:var(--d-line);border-radius:18px}
body.studio .chap{border-color:#e8eef8;border-radius:16px}
body.studio .chap.has{border-left:4px solid #18a36b}
body.studio .chap-h .num{border-radius:50%;background:#eef2f8}
body.studio .chap.has .chap-h .num{background:linear-gradient(135deg,#7b6cf6,var(--d-violet));color:#fff}
body.studio .chap-h .t{font-weight:600}
body.studio .chap-h:hover{background:#f7faff}

/* ---- narrower screens ---- */
@media (max-width:1180px){
  .dHero{grid-template-columns:minmax(170px,240px) minmax(0,680px)}
  .dHero .hero-note{display:none}
}
@media (max-width:860px){
  .dHero{grid-template-columns:1fr;padding:14px 16px 0}
  .dHero .hero-tara{display:none}
  .cg-row{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .cg-row{grid-template-columns:1fr}
  body.studio .composer2 .row .btn.primary{width:100%;margin-left:0}
  body.studio .modes button{padding:9px 14px;font-size:14px}
  body.studio .composer2 textarea{min-height:104px}
}
