/* ===== Meu Cursinho — design system ===== */
:root{
  --bg:#f4f6fb;--surface:#fff;--ink:#0f172a;--muted:#64748b;--line:#e5e9f2;
  --brand:#4f46e5;--brand-600:#4338ca;--brand-50:#eef2ff;--brand-100:#e0e7ff;
  --ok:#059669;--ok-50:#d1fae5;--bad:#dc2626;--bad-50:#fee2e2;--warn:#b45309;--warn-50:#fef3c7;--rev:#7c3aed;--rev-50:#ede9fe;
  --side:#0f172a;--side-2:#1e293b;--radius:16px;--shadow:0 1px 2px rgba(15,23,42,.04),0 8px 24px rgba(15,23,42,.06);
  --font:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{scroll-behavior:smooth}
body{margin:0;font:15px/1.55 var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--brand)}
h1{font-size:26px;letter-spacing:-.02em;line-height:1.2;margin:0 0 .4em}
h2{font-size:20px;letter-spacing:-.01em;margin:0 0 .5em}h3{font-size:16px;margin:0 0 .5em}
p{margin:.4em 0}
.hidden{display:none!important}
.ic{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ===== layout ===== */
.shell{display:grid;grid-template-columns:268px 1fr;min-height:100vh}
.side{background:var(--side);color:#cbd5e1;padding:20px 14px;display:flex;flex-direction:column;gap:2px;position:sticky;top:0;height:100vh;overflow:auto}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:#fff;font-size:17px;padding:4px 10px 18px}
.brand-mark{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#6366f1,#06b6d4);box-shadow:0 4px 12px rgba(79,70,229,.45)}
.brand-mark .ic{width:19px;height:19px}
.side .grp{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#64748b;padding:16px 12px 6px;font-weight:600}
.side a{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none;padding:10px 12px;border-radius:11px;font-weight:500}
.side a:hover{background:var(--side-2);color:#fff}
.side a.on{background:var(--brand);color:#fff;box-shadow:0 4px 14px rgba(79,70,229,.35)}
.side a .count{margin-left:auto;background:#f43f5e;color:#fff;font-size:11px;font-weight:700;border-radius:99px;padding:1px 7px}
.side .spacer{flex:1}
.side .user{display:flex;align-items:center;gap:10px;padding:12px 10px;border-top:1px solid var(--side-2);margin-top:8px}
.avatar{width:36px;height:36px;border-radius:50%;background:var(--brand-100);color:var(--brand-600);display:grid;place-items:center;font-weight:700;flex:none}
.side .user .who{min-width:0;flex:1;font-size:13px;line-height:1.3}.side .user b{display:block;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side .user .mini{display:flex;gap:10px}.side .user button{background:none;border:0;color:#94a3b8;cursor:pointer;padding:0;font-size:12.5px}.side .user button:hover{color:#fff}
.main{padding:32px 36px 48px;max-width:1180px;width:100%}
.topbar,.tabbar,.backdrop{display:none}

/* ===== componentes ===== */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}
.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.g3{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 16px;cursor:pointer;font-weight:600;font-size:14px;text-decoration:none;color:var(--ink);transition:.15s}
.btn:hover{background:#f8fafc;border-color:#cbd5e1}
.btn.pri{background:var(--brand);color:#fff;border-color:var(--brand);box-shadow:0 4px 12px rgba(79,70,229,.28)}.btn.pri:hover{background:var(--brand-600)}
.btn.ok{background:var(--ok);color:#fff;border-color:var(--ok)}.btn.ok:hover{background:#047857}
.btn.danger{color:var(--bad)}.btn.danger:hover{background:var(--bad-50);border-color:#fecaca}
.btn.sm{padding:5px 11px;font-size:13px;border-radius:10px}.btn.block{width:100%;padding:12px}
.btn[disabled]{opacity:.5;cursor:not-allowed;box-shadow:none}
label{display:block;font-size:13px;font-weight:600;margin:14px 0 6px;color:#334155}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=url],input[type=tel],select,textarea{width:100%;padding:11px 13px;border:1px solid #d5dbe8;border-radius:12px;background:#fff;transition:.15s;font-size:15px}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-100)}
textarea{min-height:110px;resize:vertical}
input[type=file]{width:100%;padding:10px;border:1.5px dashed #cbd5e1;border-radius:12px;background:#f8fafc}
input[type=checkbox],input[type=radio]{accent-color:var(--brand);width:17px;height:17px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row>*{flex:0 0 auto}.row>.grow{flex:1 1 200px}
.muted{color:var(--muted)}.small{font-size:13px}
.badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:99px;font-size:12px;font-weight:600;background:var(--brand-50);color:var(--brand-600)}
.badge.ok{background:var(--ok-50);color:#065f46}.badge.bad{background:var(--bad-50);color:#991b1b}.badge.rev{background:var(--rev-50);color:#5b21b6}.badge.warn{background:var(--warn-50);color:#92400e}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:11.5px;text-transform:uppercase;color:var(--muted);letter-spacing:.06em;font-weight:600}
tr:last-child td{border-bottom:0}
td.row{display:table-cell;white-space:normal}td.row>*{margin-right:6px}
.tabs{display:flex;gap:6px;overflow-x:auto;margin-bottom:18px;padding-bottom:2px;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}
.tabs a{flex:none;padding:8px 16px;border-radius:99px;background:#fff;border:1px solid var(--line);text-decoration:none;color:var(--ink);font-weight:600;font-size:14px}
.tabs a.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.alert{padding:14px 16px;border-radius:14px;background:var(--bad-50);border:1px solid #fecaca;color:#7f1d1d}
.info{padding:14px 16px;border-radius:14px;background:var(--brand-50);border:1px solid var(--brand-100);color:#312e81}
.callout{display:flex;gap:14px;align-items:center;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#fffbeb,#fef3c7);border:1px solid #fde68a;margin-bottom:18px}
.callout .num{background:#f59e0b;color:#fff;font-weight:800;border-radius:12px;min-width:44px;height:44px;display:grid;place-items:center;font-size:20px}
.stat{font-size:32px;font-weight:800;letter-spacing:-.02em}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.page-head h1{margin:0}
.stat-card{display:flex;gap:14px;align-items:center}.stat-card .ico{width:44px;height:44px;border-radius:13px;background:var(--brand-50);color:var(--brand);display:grid;place-items:center}
.req{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid var(--line)}.req:last-child{border-bottom:0}
.req .info-col{flex:1 1 220px;min-width:0}.req .info-col b{display:block}

/* ===== login / cadastro ===== */
.auth-wrap{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}
.auth-hero{position:relative;overflow:hidden;color:#fff;padding:48px 56px;display:flex;flex-direction:column;justify-content:center;gap:28px;background:linear-gradient(140deg,#1e1b4b 0%,#3730a3 45%,#0891b2 120%)}
.auth-hero::before,.auth-hero::after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.07)}
.auth-hero::before{width:420px;height:420px;right:-140px;top:-120px}.auth-hero::after{width:300px;height:300px;left:-100px;bottom:-110px}
.auth-hero>*{position:relative;z-index:1}
.auth-hero .brand{padding:0;font-size:20px}
.auth-hero h1{font-size:40px;line-height:1.1;max-width:520px;margin:0}
.auth-hero .lead{font-size:17px;color:#c7d2fe;max-width:480px}
.feat{display:grid;gap:12px;max-width:480px}
.feat div{display:flex;gap:14px;align-items:flex-start;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(6px);border-radius:16px;padding:14px 16px}
.feat .ic{margin-top:2px;color:#a5f3fc}.feat b{display:block;font-size:15px}.feat span{color:#c7d2fe;font-size:13.5px}
.auth-panel{display:grid;place-items:center;padding:32px 20px;background:var(--bg)}
.auth-card{width:100%;max-width:440px;background:#fff;border-radius:22px;padding:30px;box-shadow:0 20px 50px rgba(15,23,42,.1);border:1px solid var(--line)}
.auth-card h2{font-size:22px;margin-bottom:4px}
.seg{display:grid;grid-template-columns:1fr 1fr;background:#eef1f7;border-radius:13px;padding:4px;margin:18px 0 6px}
.seg button{border:0;background:none;padding:10px;border-radius:10px;font-weight:700;color:var(--muted);cursor:pointer}
.seg button.on{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(15,23,42,.08)}
.notice{display:flex;gap:10px;margin-bottom:16px!important;background:var(--brand-50);border:1px solid var(--brand-100);color:#3730a3;border-radius:13px;padding:12px 14px;font-size:13.5px;margin:14px 0 4px}
.notice .ic{margin-top:1px;color:var(--brand)}
.formerr{background:var(--bad-50);color:#991b1b;border-radius:12px;padding:10px 13px;font-size:14px;margin-top:12px}
.formerr.warn{background:var(--warn-50);color:#92400e}
.success{text-align:center;padding:10px 0}.success .big{width:68px;height:68px;border-radius:50%;background:var(--ok-50);color:var(--ok);display:grid;place-items:center;margin:0 auto 14px}.success .big .ic{width:34px;height:34px}
.pw{position:relative}.pw button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--muted);cursor:pointer;font-size:13px;font-weight:600;padding:6px}

/* ===== assistente de cronograma ===== */
.wiz{max-width:920px;margin:0 auto;text-align:center}
.steps{display:flex;justify-content:center;align-items:center;gap:8px;margin:14px 0 4px}
.steps i{width:40px;height:40px;border-radius:50%;background:#e8ecf5;display:grid;place-items:center;font-style:normal;color:var(--muted);font-weight:700}
.steps i.on,.steps i.done{background:var(--brand);color:#fff;box-shadow:0 4px 12px rgba(79,70,229,.3)}.steps b{width:56px;height:3px;border-radius:3px;background:#d9dfec}
.tpl{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;text-align:left;margin-top:22px}
.tpl .card{cursor:pointer;transition:.15s}.tpl .card:hover{transform:translateY(-2px);border-color:var(--brand-100)}.tpl .card.sel{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-100)}
.daysgrid{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:12px;text-align:left;margin-top:22px}
.dcard{border:1px solid var(--line);background:#fff;border-radius:14px;padding:13px 14px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:.15s}
.dcard.focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-100)}.dcard.off{opacity:.6}
.tog{width:46px;height:26px;border-radius:99px;background:#cbd5e1;position:relative;border:0;cursor:pointer;flex:none;transition:.15s}.tog::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.15s;box-shadow:0 1px 3px rgba(0,0,0,.25)}.tog.on{background:var(--brand)}.tog.on::after{left:23px}
.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{padding:9px 16px;border-radius:11px;border:1px solid var(--line);background:#fff;cursor:pointer;font-weight:600}.chip.on{background:var(--brand);color:#fff;border-color:var(--brand)}
.progress{height:8px;background:#e8ecf5;border-radius:99px;overflow:hidden}.progress>div{height:100%;background:linear-gradient(90deg,#6366f1,#06b6d4);transition:width .4s;border-radius:99px}
.proc{text-align:left;max-width:540px;margin:22px auto;padding:22px}.proc li{list-style:none;padding:12px;border-radius:12px;color:var(--muted);margin-bottom:6px}.proc li.on{background:var(--brand-50);color:var(--ink)}.proc li.ok{color:var(--ink)}.proc li.ok::before{content:"✓ ";color:var(--ok);font-weight:800}
.confetti{position:fixed;top:-10px;width:8px;height:12px;z-index:90;animation:fall linear forwards;pointer-events:none}
@keyframes fall{to{transform:translateY(105vh) rotate(720deg)}}

/* ===== calendário ===== */
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.cal .h{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);text-align:center;padding:6px;font-weight:600}
.cell{min-height:108px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;font-size:12px;display:flex;flex-direction:column;gap:4px;transition:.15s}
.cell.out{background:transparent;border-color:transparent}.cell.today{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-100)}
.cell.clk{cursor:pointer}.cell.clk:hover{transform:translateY(-1px);box-shadow:var(--shadow)}
.cell .n{font-weight:700;font-size:14px}
.cell.today .n{background:var(--brand);color:#fff;border-radius:99px;min-width:24px;height:24px;display:inline-grid;place-items:center;padding:0 6px;align-self:flex-start}
.tag{border-radius:7px;padding:2px 7px;font-size:11px;font-weight:600;background:var(--brand-50);color:var(--brand-600)}.tag.rev{background:var(--rev-50);color:#5b21b6}.tag.pend{background:var(--warn-50);color:#92400e}.tag.done{background:var(--ok-50);color:#065f46}
.dots{display:none;gap:3px;flex-wrap:wrap}.dot{width:7px;height:7px;border-radius:50%;background:var(--brand)}.dot.rev{background:var(--rev)}.dot.pend{background:#f59e0b}.dot.done{background:var(--ok)}
.legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px;font-size:12.5px;color:var(--muted)}.legend span{display:inline-flex;align-items:center;gap:6px}

/* ===== modal / dia de estudo ===== */
.overlay{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter:blur(3px);display:grid;place-items:center;z-index:70;padding:16px}
.modal{background:#fff;border-radius:22px;width:min(700px,100%);max-height:92vh;overflow:auto;padding:24px;position:relative;box-shadow:0 30px 80px rgba(15,23,42,.35)}
.modal.wide{width:min(920px,100%)}
.modal .x{position:absolute;top:14px;right:14px;border:0;background:#eef1f7;border-radius:50%;width:34px;height:34px;cursor:pointer;z-index:2}
.dbar{background:var(--ink);color:#fff;border-radius:12px;padding:12px 16px;margin:18px 0 10px;font-weight:700}
details.topic{border:1px solid var(--line);border-radius:14px;margin-bottom:12px;background:#fff}
details.topic>summary{padding:14px 16px;cursor:pointer;font-weight:700}
details.topic .body{padding:0 16px 16px}
.sec{margin-top:16px}.sec h4{margin:0 0 8px;font-size:11.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.lawtext{white-space:pre-wrap;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:14px;font-family:Georgia,serif;font-size:14.5px;margin-top:6px}
.q{border:1px solid var(--line);border-radius:14px;padding:16px;margin:12px 0;background:#fff}
.q .opt{display:block;width:100%;text-align:left;margin:8px 0;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;transition:.12s}
.q .opt:hover:not([disabled]){background:var(--brand-50);border-color:var(--brand-100)}.q .opt.right{background:var(--ok-50);border-color:#6ee7b7}.q .opt.wrong{background:var(--bad-50);border-color:#fca5a5}
.q .expl{margin-top:10px;padding:12px;border-radius:12px;background:#f1f5f9;font-size:14px}

/* ===== material (layout padrão do curso) ===== */
.material{font-family:Georgia,"Times New Roman",serif;color:#1b2437;line-height:1.75}
.material-head{border-bottom:3px solid var(--brand);padding-bottom:12px;margin-bottom:18px}
.material-head .brand{padding:0;display:inline;font-family:system-ui,sans-serif;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--brand);font-weight:700}
.material-head .disc{font-family:system-ui,sans-serif;font-size:12px;margin-left:10px;background:var(--brand-50);color:var(--brand-600);padding:2px 9px;border-radius:99px}
.material-head h1{font-size:27px;margin:8px 0 2px;color:#1e1b4b}.material-head .topic{margin:0;color:var(--muted);font-style:italic}
.material h2{font-family:system-ui,sans-serif;font-size:18px;color:#1e1b4b;border-left:4px solid var(--brand);padding-left:10px;margin:24px 0 8px}
.material .destaque{background:#fffbeb;border-left:4px solid #f59e0b;padding:11px 15px;border-radius:8px;margin:14px 0;font-family:system-ui,sans-serif;font-size:14px}
.material-foot{margin-top:28px;padding-top:10px;border-top:1px solid var(--line);font:12px system-ui,sans-serif;color:var(--muted)}
.preview{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fff;max-height:560px;overflow:auto}
.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:95;width:min(420px,calc(100% - 28px))}
#toast div{background:#0f172a;color:#fff;padding:12px 16px;border-radius:13px;margin-top:8px;box-shadow:0 10px 30px rgba(0,0,0,.3);font-size:14px}
#toast div.err{background:#b91c1c}

/* ===== responsivo ===== */
@media(max-width:1000px){.auth-hero{padding:40px 36px}.auth-hero h1{font-size:34px}}
@media(max-width:900px){.split{grid-template-columns:1fr}}
@media(max-width:820px){
  body{font-size:15px}
  .shell{display:block}
  .side{position:fixed;top:0;bottom:0;left:0;width:min(300px,84%);z-index:60;height:100%;transform:translateX(-102%);transition:transform .22s;box-shadow:0 0 40px rgba(0,0,0,.4)}
  .side.open{transform:none}
  .backdrop{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:55}.backdrop.show{display:block}
  .topbar{display:flex;align-items:center;gap:12px;position:sticky;top:0;z-index:40;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:10px 16px}
  .topbar .brand{color:var(--ink);padding:0;font-size:16px;flex:1}
  .topbar button{border:0;background:#eef1f7;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;cursor:pointer}
  .main{padding:18px 16px 96px}
  h1{font-size:23px}
  .tabbar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;bottom:0;left:0;right:0;z-index:40;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:6px 6px calc(6px + env(safe-area-inset-bottom))}
  .tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:7px 4px;border-radius:12px;text-decoration:none;color:var(--muted);font-size:11.5px;font-weight:600;position:relative}
  .tabbar a.on{color:var(--brand);background:var(--brand-50)}
  .tabbar .count{position:absolute;top:2px;right:calc(50% - 22px);background:#f43f5e;color:#fff;font-size:10px;border-radius:99px;padding:0 5px;font-weight:700}
  #toast{bottom:84px}
  input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=url],input[type=tel],select,textarea{font-size:16px}
  .btn{padding:11px 16px}.btn.sm{padding:8px 12px}
  .card{padding:16px;border-radius:14px}
  .page-head{flex-direction:column;align-items:stretch}
  /* tabelas viram cartões */
  table,tbody{display:block;width:100%}tr:has(>th){display:none}
  tr{display:block;padding:12px 0;border-bottom:1px solid var(--line)}tr:last-child{border-bottom:0}
  td{display:block;border:0;padding:3px 0;width:auto!important}
  td.row{display:flex;flex-wrap:wrap;white-space:normal;margin-top:6px}
  td input,td select{width:100%}
  /* login */
  .auth-wrap{display:block}
  .auth-hero{padding:26px 22px 62px;gap:14px;min-height:0}
  .auth-hero h1{font-size:26px}.auth-hero .lead{font-size:15px}.feat{display:none}
  .auth-hero::before{width:240px;height:240px}
  .auth-panel{padding:0 14px 28px;margin-top:-40px;background:transparent;position:relative;z-index:2}
  .auth-card{padding:22px 18px;border-radius:20px}
  /* assistente / calendário */
  .daysgrid{grid-template-columns:1fr}.tpl{grid-template-columns:1fr}
  .steps b{width:34px}
  .cal{gap:4px}.cal .h{padding:4px 0;font-size:10.5px}
  .cell{min-height:56px;padding:5px;border-radius:10px;align-items:center;gap:3px}
  .cell .tag{display:none}.cell .dots{display:flex;justify-content:center}.cell .n{font-size:13px}
  .overlay{padding:0;place-items:end stretch}
  .modal,.modal.wide{width:100%;max-height:94vh;border-radius:22px 22px 0 0;padding:20px 16px 28px;animation:sheet .22s}
  @keyframes sheet{from{transform:translateY(40px);opacity:.4}}
  .modal::before{content:"";display:block;width:42px;height:4px;border-radius:4px;background:#d5dbe8;margin:-8px auto 14px}
}
@media print{.side,.topbar,.tabbar,.modal .x,.btn{display:none!important}.main{padding:0}}

/* ===== acompanhamento guiado ===== */
.hero-next{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:22px 24px;border-radius:20px;color:#fff;margin-bottom:18px;background:linear-gradient(135deg,#4338ca 0%,#4f46e5 50%,#0891b2 130%);box-shadow:0 14px 34px rgba(79,70,229,.32)}
.hero-next .eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#c7d2fe}
.hero-next h2{font-size:22px;margin:4px 0 6px;color:#fff}.hero-next p{margin:0;color:#e0e7ff;max-width:640px}
.hero-next>div{flex:1 1 320px}.hero-next .btn{background:#fff;color:#3730a3;border-color:#fff;font-size:15px;padding:12px 22px;box-shadow:0 6px 18px rgba(0,0,0,.18);flex:none}
.hero-next .btn:hover{background:#eef2ff}.hero-next.done{background:linear-gradient(135deg,#059669,#0d9488)}
.checklist .step{display:flex;gap:12px;align-items:center;padding:11px 12px;border-radius:13px;border:1px solid transparent}
.checklist .step.now{background:var(--brand-50);border-color:var(--brand-100)}
.checklist .mark{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef1f7;color:var(--muted);font-weight:700;font-size:13px;flex:none}
.checklist .mark .ic{width:16px;height:16px;stroke-width:3}
.checklist .step.done .mark{background:var(--ok);color:#fff}.checklist .step.done b{color:var(--muted);text-decoration:line-through;text-decoration-color:#cbd5e1}
.checklist .step.now .mark{background:var(--brand);color:#fff;box-shadow:0 0 0 4px var(--brand-100)}
.help{background:#fffbeb;border:1px solid #fde68a;border-radius:14px;padding:4px 16px;margin-bottom:16px}
.help summary{cursor:pointer;font-weight:700;padding:10px 0;color:#92400e}.help ol{margin:0 0 12px;padding-left:20px;color:#78350f}.help li{margin:5px 0}
.tour{text-align:center;padding:8px 4px}.tour-emoji{font-size:54px;line-height:1.1}.tour h2{margin:10px 0 8px}.tour p{color:var(--muted);font-size:16px;max-width:460px;margin:0 auto}
.tour-dots{display:flex;gap:7px;justify-content:center;margin-top:20px}.tour-dots i{width:8px;height:8px;border-radius:50%;background:#d5dbe8}.tour-dots i.on{background:var(--brand);width:22px;border-radius:99px}
.daysteps{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:12px 0 4px}
.daysteps div{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:12px;background:#f1f5f9;font-size:13.5px;font-weight:600;color:var(--muted)}
.daysteps div i{width:22px;height:22px;border-radius:50%;background:#d5dbe8;color:#fff;display:grid;place-items:center;font-style:normal;font-size:12px;flex:none}
.daysteps div.ok{background:var(--ok-50);color:#065f46}.daysteps div.ok i{background:var(--ok)}
.daysteps div.now{background:var(--brand-50);color:var(--brand-600);box-shadow:inset 0 0 0 2px var(--brand-100)}.daysteps div.now i{background:var(--brand)}
.daytip{font-size:13.5px;margin:8px 0 0;color:var(--muted)}
.pulse{animation:pulse 1.6s infinite}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(79,70,229,.5)}70%{box-shadow:0 0 0 12px rgba(79,70,229,0)}100%{box-shadow:0 0 0 0 rgba(79,70,229,0)}}
.cell.hint{border-color:var(--brand);animation:pulse 1.8s infinite}
.covbar{display:flex;align-items:center;gap:10px}.covbar .progress{flex:1;min-width:80px}
.yes{color:var(--ok);font-weight:700}.no{color:var(--bad);font-weight:700}
@media(max-width:820px){.hero-next{padding:18px;border-radius:18px}.hero-next h2{font-size:19px}.hero-next .btn{width:100%}}

.range-today{background:#fef9c3;box-shadow:-5px 0 0 #f59e0b;border-radius:4px}
