/* AIRadar Akademi — calm, bright, mobile first. One clear next step per screen, visible progress, immediate feedback
   (Technology Acceptance Model: perceived ease of use + usefulness). No inline styles (CSP): bars and rings are SVG. */
:root {
  --bg: #f4f7fb; --ink: #0f172a; --ink2: #334155; --muted: #64748b; --line: #e3e8f0; --card: #fff;
  --acc: #2563eb; --acc-d: #1d4ed8; --acc-l: #eff4ff; --acc2: #0d9488; --acc2-l: #e6f7f5;
  --good: #15803d; --good-bg: #ecfdf3; --good-bd: #86efac; --bad: #b91c1c; --bad-bg: #fef2f2; --bad-bd: #fca5a5;
  --warn-bg: #fff7e6; --warn: #92400e; --fire: #f97316;
  --r: 16px; --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .06); --shadow-h: 0 2px 6px rgba(15, 23, 42, .06), 0 10px 28px rgba(15, 23, 42, .10);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 "Plus Jakarta Sans", system-ui, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--acc); }
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; border-radius: 8px; }
svg { fill: currentColor; }

/* ---- top bar */
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); color: var(--ink); border-bottom: 1px solid var(--line); flex-wrap: wrap; position: sticky; top: 0; z-index: 5; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.2px; font-size: 17px; } .brand img { width: 30px; height: 30px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; background: #eef2f7; padding: 4px; border-radius: 999px; }
.tabs button { white-space: nowrap; background: transparent; color: var(--ink2); border: 0; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: #fff; color: var(--acc-d); font-weight: 800; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.top-r { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); } .code { font-family: ui-monospace, monospace; opacity: .55; }
.top-r select { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 5px 8px; font: inherit; }
.disclaimer { background: #fffbeb; color: #7a4b00; font-size: 13px; border-bottom: 1px solid #fde68a; }
.disclaimer summary { padding: 6px 20px; cursor: pointer; list-style: none; } .disclaimer summary::-webkit-details-marker { display: none; }
.disclaimer summary::after { content: " ▾"; opacity: .6; } .disclaimer[open] summary::after { content: " ▴"; }
.disclaimer p { margin: 0; padding: 0 20px 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 16px 48px; }
.foot { text-align: center; font-size: 12px; color: var(--muted); padding: 20px 16px 28px; }
h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.2; letter-spacing: -.4px; } h2 { font-size: 20px; margin: 28px 0 6px; letter-spacing: -.2px; } h3 { margin: 0 0 8px; font-size: 16px; }
.lead { color: var(--ink2); font-size: 17px; margin: 0 0 12px; } .muted { color: var(--muted); } .small { font-size: 13px; }

/* ---- buttons */
button, .btn { font: inherit; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 12px; padding: 9px 16px; cursor: pointer; text-decoration: none; display: inline-block; transition: background .15s, border-color .15s, box-shadow .15s, transform .08s; }
button:hover:not(:disabled), .btn:hover { border-color: #c7d2e3; }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.opt:disabled { opacity: 1; cursor: default; color: var(--ink); }
button.primary, .btn.primary { background: var(--acc); border-color: var(--acc); color: #fff; font-weight: 700; }
button.primary:hover:not(:disabled), .btn.primary:hover { background: var(--acc-d); border-color: var(--acc-d); }
button.ghost { background: transparent; border-color: transparent; color: var(--muted); } button.ghost:hover:not(:disabled) { background: #eef2f7; color: var(--ink); }
button.small, .btn.small { padding: 4px 12px; font-size: 13px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; } .row.center { justify-content: center; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #2563eb, #0ea5e9); color: #fff; border: 0; border-radius: 14px; padding: 14px 24px; font-size: 17px; font-weight: 800; box-shadow: 0 8px 20px rgba(37, 99, 235, .30); text-decoration: none; cursor: pointer; }
.cta svg { width: 20px; height: 20px; } .cta:hover { box-shadow: 0 10px 26px rgba(37, 99, 235, .40); }

/* ---- home: today */
.today { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: center; background: linear-gradient(135deg, #ffffff 0%, #eef5ff 60%, #e6f7f5 100%); border: 1px solid #dbe6f5; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--acc2); text-transform: capitalize; letter-spacing: .2px; }
.today .lead { max-width: 60ch; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; } .cta-sub { font-size: 14px; color: var(--muted); }
.goal { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ring-wrap { position: relative; width: 150px; height: 150px; } .ring-wrap.big { width: 180px; height: 180px; margin: 0 auto 10px; }
.ring { width: 100%; height: 100%; } .ring circle { fill: none; stroke-width: 10; } .ring-bg { stroke: #e2e8f0; }
.ring-fg { stroke: var(--acc); stroke-linecap: round; transition: stroke-dasharray .6s ease; } .ring-fg.done { stroke: #16a34a; }
.ring-txt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 3px; } .ring-txt b { font-size: 34px; font-variant-numeric: tabular-nums; } .ring-txt span { color: var(--muted); font-weight: 600; }
.goal-l { margin: 6px 0 2px; font-weight: 700; color: var(--ink2); }
.streak { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 14px; color: var(--muted); background: #f1f5f9; border-radius: 999px; padding: 4px 12px; }
.streak svg { width: 16px; height: 16px; } .streak.on { color: #9a3412; background: #fff1e6; } .streak.on svg { color: var(--fire); }
.steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.steps li { background: var(--card); border: 1px dashed #c7d2e3; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; } .steps b { color: var(--acc-d); } .steps span { font-size: 14px; color: var(--ink2); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 0; }
.tile { text-align: start; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line); }
.tile:hover:not(:disabled) { box-shadow: var(--shadow-h); border-color: #bfd3f5; }
.tile .ic { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--acc-l); color: var(--acc); margin-bottom: 6px; } .tile .ic svg { width: 20px; height: 20px; }
.tile b { font-size: 16px; } .tile > span:last-child { color: var(--muted); font-size: 13px; line-height: 1.45; }
.tile.locked .ic { background: #f1f5f9; color: #94a3b8; } .tile.locked b { color: var(--ink2); }
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.stats-strip div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.stats-strip b { font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; } .stats-strip span { font-size: 13px; color: var(--muted); }
.sec-h { margin-top: 8px; } .sec-h h2 { margin-bottom: 0; } .sec-h p { margin: 2px 0 10px; }
.subjects { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.subjects > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; box-shadow: var(--shadow); }
.grp { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 6px 8px 6px; }
.subj { width: 100%; text-align: start; display: flex; flex-direction: column; gap: 5px; background: transparent; border: 0; border-radius: 12px; padding: 9px 10px; }
.subj:hover { background: #f5f8fc; } .subj-h { display: flex; justify-content: space-between; gap: 8px; } .subj-h b { font-weight: 700; font-size: 15px; }
.subj-h em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; } .subj-h em.new { color: var(--acc); font-weight: 700; font-size: 13px; }
.subj small { color: var(--muted); font-size: 12px; }
.bar { width: 100%; height: 8px; display: block; } .bar-bg { fill: #e9eef5; }
.bar-fg { fill: var(--acc); } .bar-fg.lv0 { fill: #ef4444; } .bar-fg.lv1 { fill: #f97316; } .bar-fg.lv2 { fill: #eab308; } .bar-fg.lv3 { fill: #84cc16; } .bar-fg.lv4 { fill: #22c55e; } .bar-fg.lv5 { fill: #16a34a; }
.why-us { margin-top: 20px; } .why-us summary { cursor: pointer; font-weight: 700; } .why-us[open] summary { margin-bottom: 10px; }
.quota { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.skeleton { display: grid; gap: 12px; } .skeleton div { height: 90px; border-radius: var(--r); background: linear-gradient(90deg, #e9eef5, #f5f8fc, #e9eef5); background-size: 200% 100%; animation: sk 1.2s infinite; } .skeleton div:first-child { height: 180px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (max-width: 860px) { .tiles, .stats-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .today { grid-template-columns: 1fr; padding: 20px; text-align: start; } .goal { flex-direction: row; gap: 14px; text-align: start; flex-wrap: wrap; } .ring-wrap { width: 110px; height: 110px; } .ring-txt b { font-size: 26px; }
  .subjects, .steps { grid-template-columns: 1fr; } h1 { font-size: 25px; } .cta { width: 100%; justify-content: center; } .top { padding: 8px 12px; } .tabs { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; } }

/* ---- legacy home pieces still used by other views */
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 20px; align-items: start; background: linear-gradient(135deg, #ffffff 0%, #eef5ff 60%, #e6f7f5 100%); border: 1px solid #dbe6f5; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.ticks { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; } .ticks li { padding-inline-start: 28px; position: relative; color: var(--ink2); font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--acc2-l); color: var(--acc2); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; } .kpis div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; }
.kpis b { font-size: 28px; line-height: 1.1; font-variant-numeric: tabular-nums; } .kpis span { font-size: 13px; color: var(--muted); }
.kpis.small { grid-template-columns: repeat(4, 1fr); } .panel .kpis div { background: #f8fafc; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .kpis.small { grid-template-columns: repeat(2, 1fr); } }
.actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 12px 0; }
.act { text-align: start; display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--r); box-shadow: var(--shadow); }
.act span { color: var(--muted); font-size: 13px; } .act.primary span { color: #dbeafe; }
.heatmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.heat { text-align: start; display: flex; flex-direction: column; gap: 1px; border-radius: 12px; padding: 10px 12px; }
.heat.lvn { background: #fff; } .heat.lv0 { background: #fee2e2; } .heat.lv1 { background: #ffedd5; } .heat.lv2 { background: #fef9c3; }
.heat.lv3 { background: #ecfccb; } .heat.lv4 { background: #dcfce7; } .heat.lv5 { background: #bbf7d0; }
.heat span { font-size: 20px; font-weight: 800; } .heat small { color: var(--muted); font-size: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; } @media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 14px; box-shadow: var(--shadow); } .panel.left { text-align: start; }
.honest { background: #f8fafc; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; } .tbl td, .tbl th { border-bottom: 1px solid var(--line); padding: 8px; text-align: start; } .tbl th { color: var(--muted); font-weight: 700; font-size: 13px; }
.note { border-radius: 12px; padding: 10px 14px; background: var(--acc-l); margin: 10px 0; } .note.warn { background: var(--warn-bg); color: var(--warn); } .note.good { background: var(--good-bg); color: var(--good); }
.chips { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px; } .chips li { background: var(--acc-l); color: var(--acc-d); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }

/* ---- question runner */
.runner { max-width: 820px; margin: 0 auto; }
.rhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; } .rhead b { color: var(--ink); }
.tally { display: inline-flex; gap: 10px; margin-inline-start: auto; font-weight: 700; font-variant-numeric: tabular-nums; } .tally span { display: inline-flex; align-items: center; gap: 3px; } .tally svg { width: 15px; height: 15px; }
.tally .ok { color: var(--good); } .tally .no { color: var(--bad); }
.prog { margin: 8px 0 4px; } .prog .bar { height: 6px; } .prog .bar-fg { fill: var(--acc); }
.clock { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 2px 10px; margin-inline-start: auto; }
.qnav { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0; } .qnav button { width: 34px; padding: 3px 0; font-size: 12px; border-radius: 8px; }
.qnav .ans { background: #dbeafe; } .qnav .cur { outline: 2px solid var(--acc); }
.q { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; margin: 12px 0; position: relative; box-shadow: var(--shadow); }
.qmeta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { background: #e0f2fe; color: #075985; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.tag.light { background: #f1f5f9; color: var(--ink2); font-weight: 600; } .tag.ai { background: #fef3c7; color: #92400e; } .tag.ok, .tag.expert, .tag.calibrated { background: var(--good-bg); color: var(--good); }
.tag.draft, .tag.retired { background: var(--bad-bg); color: var(--bad); } .tag.ai_checked { background: #fef3c7; color: #92400e; }
.stem { font-size: 18px; line-height: 1.65; margin: 0 0 16px; }
.opts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.opt { width: 100%; text-align: start; display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; line-height: 1.5; }
.opt b { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; border-radius: 50%; background: #f1f5f9; font-size: 14px; flex: none; }
button.opt:not(:disabled):hover { border-color: var(--acc); background: #f8fbff; } button.opt:not(:disabled):hover b { background: var(--acc-l); color: var(--acc-d); }
.opt.sel { border-color: var(--acc); background: var(--acc-l); } .opt.sel b { background: var(--acc); color: #fff; }
.opt.key { border-color: var(--good-bd); background: var(--good-bg); } .opt.key b { background: #16a34a; color: #fff; }
.opt.bad { border-color: var(--bad-bd); background: var(--bad-bg); } .opt.bad b { background: #dc2626; color: #fff; }
.why { margin: 6px 0 2px 44px; font-size: 14px; color: #475569; } .why.good { color: var(--good); font-weight: 600; }
.fb { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 12px 14px; margin: 16px 0 0; animation: pop .25s ease; }
.fb svg { width: 26px; height: 26px; flex: none; border-radius: 50%; padding: 4px; color: #fff; } .fb div { display: flex; flex-direction: column; } .fb span { font-size: 14px; }
.fb.good { background: var(--good-bg); color: var(--good); border: 1px solid var(--good-bd); } .fb.good svg { background: #16a34a; }
.fb.bad { background: var(--bad-bg); color: var(--bad); border: 1px solid var(--bad-bd); } .fb.bad svg { background: #dc2626; }
@keyframes pop { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.teach { margin-top: 14px; background: #f8fafc; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 15px; } .teach p { margin: 4px 0; } .teach ul { margin: 6px 0; padding-inline-start: 18px; }
.teach summary { cursor: pointer; color: var(--acc-d); font-weight: 600; }
.links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.qfoot { display: flex; gap: 6px; margin-top: 14px; align-items: center; }
.wm { margin-inline-start: auto; font-family: ui-monospace, monospace; font-size: 11px; color: #cbd5e1; user-select: none; }
.rnav { display: flex; gap: 8px; justify-content: flex-end; }
.rnav button { padding: 11px 20px; } .rnav .primary { min-width: 160px; }
.pulse { animation: pulse 1.6s ease-in-out 2; } @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(37, 99, 235, .18); } }
.keys { text-align: end; margin: 6px 0 0; }
@media (max-width: 760px) { .rnav { position: sticky; bottom: 0; background: linear-gradient(rgba(244, 247, 251, 0), var(--bg) 35%); padding: 18px 0 12px; z-index: 2; } .rnav .primary { flex: 1; } .keys { display: none; } .q { padding: 16px; } .stem { font-size: 17px; } .why { margin-inline-start: 8px; } }
.rev { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 6px 0; }
.rev.good { border-inline-start: 4px solid #16a34a; } .rev.bad { border-inline-start: 4px solid #dc2626; } .rev summary { cursor: pointer; font-size: 14px; }
.summary { max-width: 620px; margin: 10px auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 22px; box-shadow: var(--shadow); }
.summary .lead { margin-inline: auto; max-width: 52ch; }

/* ---- dialogs and forms */
.modal { position: fixed; inset: 0; background: rgba(15, 23, 42, .5); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 20; }
.box { background: #fff; border-radius: 20px; padding: 24px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 20px 50px rgba(15, 23, 42, .25); animation: pop .2s ease; }
.box h2 { margin-top: 0; }
.box label { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; font-size: 14px; font-weight: 600; color: var(--ink2); }
.box label.chk { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; } .box label.inline { display: inline-flex; flex-direction: row; margin-inline-end: 10px; font-weight: 400; }
.box input, .box select, .box textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.box input:focus, .box select:focus, .box textarea:focus { border-color: var(--acc); outline: 3px solid #dbeafe; }
fieldset { border: 1px solid var(--line); border-radius: 12px; }

/* Hizmet İçi: status tags, the staff × course matrix, the printable certificate */
.tag.st-done { background: var(--good-bg); color: var(--good); } .tag.st-renew { background: #fef9c3; color: #854d0e; }
.tag.st-overdue, .tag.st-revoked, .tag.st-expired { background: var(--bad-bg); color: var(--bad); } .tag.st-open { background: #e0f2fe; color: #075985; }
.tag.approved { background: #ecfeff; color: #0e7490; }
.scrollx { overflow-x: auto; } .scrollx .tbl { min-width: 640px; }
.opt input[type=radio] { margin: 4px 0 0; }
label.opt { cursor: pointer; }
.cert { background: #fff; border: 6px double #0f766e; border-radius: 12px; padding: 40px 32px; text-align: center; max-width: 760px; margin: 16px auto; }
.cert h1 { font-size: 30px; letter-spacing: .5px; } .cert-org { font-weight: 800; color: #0f766e; text-transform: uppercase; letter-spacing: 1px; }
.cert-name { font-size: 26px; font-weight: 800; margin: 18px 0 8px; } .cert-code { font-family: ui-monospace, monospace; margin-top: 18px; }
.cert.revoked { opacity: .6; border-color: #b91c1c; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .top, .disclaimer, .foot, .noprint, #tabs { display: none !important; } body { background: #fff; } .cert { border-width: 4px; margin: 0 auto; } }
/* Lesson figures (client/figures.js, client/figs/*.js): SVG only, colours by class (CSP: no inline styles). */
.fig { margin: 14px 0 18px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.fig figcaption { font-size: 13px; color: var(--ink2); margin-top: 8px; line-height: 1.5; } .fig figcaption b { color: var(--ink); }
.fig-svg { width: 100%; height: auto; display: block; } .fig-note { margin: 8px 0 0; color: var(--ink2); }
.fig-ctl { display: grid; gap: 8px; margin-top: 8px; } .fig-ctl label { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr auto; gap: 10px; align-items: center; font-size: 13px; color: var(--ink2); }
.fig-ctl input[type=range] { width: 100%; accent-color: var(--acc); } .fig-ctl output { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 64px; text-align: end; }
.fig-ch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 560px) { .fig-ctl label { grid-template-columns: 1fr auto; } .fig-ctl label span { grid-column: 1 / -1; } }
.fig-svg .tx { font: 13px system-ui, sans-serif; fill: var(--ink); } .fig-svg .tx.sm { font-size: 12px; } .fig-svg .tx.xs { font-size: 10px; } .fig-svg .tx.b { font-weight: 700; }
.fig-svg .mid { text-anchor: middle; } .fig-svg .end { text-anchor: end; }
.fig-svg .tx.good { fill: var(--good); } .fig-svg .tx.bad { fill: var(--bad); } .fig-svg .tx.warn { fill: var(--warn); } .fig-svg .tx.muted { fill: var(--muted); }
.fig-svg[data-plate] .tx.sm { font-size: 16px; } .fig-svg[data-plate] .tx.b { font-size: 18px; } .fig-svg .st-plate { stroke: #475569; stroke-width: 1.2; } .fig-svg .fl-plate { fill: #fff; stroke: #0f172a; stroke-width: 1.5; }
.fig-ans { margin: 8px 0 0; font-size: 14px; } .fig-ans ol { margin: 6px 0 0; padding-inline-start: 22px; columns: 2; } .fig-ans summary { cursor: pointer; font-weight: 600; color: var(--acc); }
@media (max-width: 600px) { .fig-draw .fig-svg[data-plate] { min-width: 800px; } .fig-ans ol { columns: 1; } }   /* plate labels stay ~12 px on phones; the drawing scrolls sideways */
.fig-svg .st-ink { stroke: var(--ink2); stroke-width: 1.5; } .fig-svg .st-line { stroke: #cbd5e1; stroke-width: 1.2; } .fig-svg .st-grid { stroke: var(--line); stroke-width: 1; }
.fig-svg .st-muted { stroke: var(--muted); stroke-width: 1.2; } .fig-svg .st-acc { stroke: var(--acc); stroke-width: 2; } .fig-svg .st-acc2 { stroke: var(--acc2); stroke-width: 2; }
.fig-svg .st-bad { stroke: var(--bad); stroke-width: 2; } .fig-svg .st-good { stroke: var(--good); stroke-width: 2; } .fig-svg .st-warn { stroke: #d97706; stroke-width: 2; }
.fig-svg .thick { stroke-width: 3; } .fig-svg .dash { stroke-dasharray: 6 4; } .fig-svg .dash2 { stroke-dasharray: 10 5; } .fig-svg .nost { stroke: none; }
.fig-svg .fl-card { fill: var(--card); } .fig-svg .fl-plot { fill: #fbfdff; stroke: none; } .fig-svg .fl-acc { fill: var(--acc); } .fig-svg .fl-acc-l { fill: var(--acc-l); }
.fig-svg .fl-acc2-l { fill: var(--acc2-l); } .fig-svg .fl-bad { fill: var(--bad); } .fig-svg .fl-bad-l { fill: var(--bad-bg); } .fig-svg .fl-good-l { fill: var(--good-bg); } .fig-svg .fl-warn-l { fill: var(--warn-bg); }
/* Livelier lessons: opening case, key points, callouts, steps, comparison, "think first" card */
.hook { display: flex; gap: 12px; padding: 14px 16px; margin: 12px 0 6px; border-radius: 14px; background: linear-gradient(135deg, var(--acc-l), var(--acc2-l)); border: 1px solid var(--line); }
.hook p { margin: 6px 0 0; color: var(--ink2); } .hook .hook-q { font-weight: 700; color: var(--acc-d); }
.co-i { font-size: 22px; line-height: 1; flex: none; }
.keypts { margin: 18px 0; padding: 12px 16px; border-radius: 14px; background: var(--good-bg); border: 1px solid var(--good-bd); } .keypts ul { margin: 6px 0 0; padding-inline-start: 20px; } .keypts li { margin: 4px 0; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; margin: 10px 0; border-radius: 12px; border-inline-start: 4px solid var(--acc); background: var(--acc-l); font-size: 15px; }
.callout.klinik { border-color: var(--acc2); background: var(--acc2-l); } .callout.dikkat { border-color: var(--fire); background: var(--warn-bg); } .callout.biliyor { border-color: #a855f7; background: #faf5ff; }
.lsteps { counter-reset: st; list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.lsteps li { counter-increment: st; position: relative; padding: 10px 12px 10px 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.lsteps li::before { content: counter(st); position: absolute; inset-inline-start: 12px; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 10px 0; } .cmp { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--card); } .cmp ul { margin: 6px 0 0; padding-inline-start: 18px; }
.cmp:nth-child(1) { border-top: 4px solid var(--acc); } .cmp:nth-child(2) { border-top: 4px solid var(--acc2); } .cmp:nth-child(3) { border-top: 4px solid var(--fire); } .cmp:nth-child(4) { border-top: 4px solid #a855f7; }
.think { margin: 10px 0; border: 1px dashed var(--acc); border-radius: 12px; padding: 10px 14px; background: #fbfdff; } .think summary { cursor: pointer; } .think p { margin: 8px 0 0; color: var(--ink2); }
/* phones: keep figure text legible — the drawing keeps a minimum width and scrolls sideways inside its card */
.fig-hint { display: none; }
@media (max-width: 600px) { .fig-draw, .fig-out { overflow-x: auto; -webkit-overflow-scrolling: touch; } .fig-draw .fig-svg, .fig-out .fig-svg { min-width: 560px; } .fig { padding: 10px 8px; } .fig-hint { display: block; margin: 4px 0 0; font-size: 12px; color: var(--muted); } }

/* =====================================================================================================================
   AIRadar Akademi design v3 (2026-09-30): one token set (--ak-*), a brand band, a colour per course, a reading layout
   for units (sticky contents that follows the reader, reading progress), card lists for weeks and exams.
   ===================================================================================================================== */
:root {
  --ak-ink: #0b1324; --ak-ink2: #334155; --ak-muted: #64748b; --ak-bg: #f5f7fb; --ak-card: #ffffff; --ak-line: #e4e9f1;
  --ak-acc: #2563eb; --ak-acc-d: #1e40af; --ak-acc-l: #eef3ff; --ak-acc2: #0d9488; --ak-acc2-l: #e7f7f5;
  --ak-grad: linear-gradient(125deg, #0f766e 0%, #1d4ed8 55%, #4338ca 100%);
  --ak-r: 18px; --ak-r-s: 12px;
  --ak-sh: 0 1px 2px rgba(11, 19, 36, .05), 0 6px 20px rgba(11, 19, 36, .06);
  --ak-sh-h: 0 2px 6px rgba(11, 19, 36, .07), 0 14px 34px rgba(11, 19, 36, .12);
  --ink: var(--ak-ink); --bg: var(--ak-bg); --line: var(--ak-line); --shadow: var(--ak-sh); --shadow-h: var(--ak-sh-h);
}
body { font-family: "Inter", "Segoe UI Variable", "Plus Jakarta Sans", system-ui, "Segoe UI", Roboto, sans-serif; letter-spacing: -.005em; }
.wrap { max-width: 1180px; }
.top { box-shadow: 0 1px 0 rgba(11, 19, 36, .02), 0 6px 18px rgba(11, 19, 36, .04); }
.brand span { background: var(--ak-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.disclaimer { background: #fffdf5; }
.panel { border-radius: var(--ak-r); }
.tile, .stats-strip div, .subjects > div { border-radius: var(--ak-r); }
.tile { transition: box-shadow .18s, transform .18s, border-color .18s; } .tile:hover:not(:disabled) { transform: translateY(-2px); }
.today { border-radius: 24px; }
.q { border-radius: 22px; }

/* ---- course hues (one per course code) */
.h0 { --hue: #1d4ed8; --hue-l: #eef3ff; } .h1 { --hue: #0f766e; --hue-l: #e7f7f5; } .h2 { --hue: #6d28d9; --hue-l: #f3effe; }
.h3 { --hue: #be185d; --hue-l: #fdeef6; } .h4 { --hue: #c2410c; --hue-l: #fff1e8; } .h5 { --hue: #0e7490; --hue-l: #e7f7fb; }

/* ---- breadcrumbs */
.crumbs { margin: 0 0 12px; }
.crumb { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; padding: 6px 10px 6px 6px; color: var(--ak-muted); font-weight: 600; font-size: 14px; border-radius: 10px; }
.crumb svg { width: 18px; height: 18px; } .crumb:hover:not(:disabled) { background: #eaf0f8; color: var(--ak-ink); }

/* ---- programme home */
.pg-hero { position: relative; overflow: hidden; background: var(--ak-grad); color: #fff; border-radius: 26px; padding: 34px 32px 26px; box-shadow: 0 18px 40px rgba(29, 78, 216, .22); }
.pg-hero::before, .pg-hero::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.pg-hero::before { width: 360px; height: 360px; right: -90px; top: -160px; } .pg-hero::after { width: 220px; height: 220px; right: 140px; bottom: -150px; }
.pg-hero-in { position: relative; max-width: 760px; }
.pg-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 700; letter-spacing: .2px; }
.pg-kicker svg { width: 16px; height: 16px; }
.pg-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.8px; }
.pg-hero-lead { color: #dbeafe; font-size: 17px; margin: 8px 0 18px; max-width: 64ch; }
.pg-hero-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.pg-hero-stats div { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; padding: 10px 16px; min-width: 110px; display: flex; flex-direction: column; }
.pg-hero-stats b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; } .pg-hero-stats span { font-size: 13px; color: #dbeafe; }
.pg-hero-note { position: relative; color: #eef2ff; margin: 16px 0 0; }
.pg-term { margin-top: 30px; }
.pg-term-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.pg-term-h h2 { margin: 0; font-size: 22px; } .pg-term-h span { color: var(--ak-muted); font-size: 14px; font-weight: 600; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pg-card { position: relative; overflow: hidden; text-align: start; display: flex; flex-direction: column; gap: 8px; min-height: 164px; padding: 18px 18px 16px 22px; border-radius: var(--ak-r); background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); transition: box-shadow .18s, transform .18s, border-color .18s; }
.pg-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--hue); }
.pg-card:hover:not(:disabled) { transform: translateY(-3px); box-shadow: var(--ak-sh-h); border-color: #c7d6ee; }
.pg-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pg-code { display: inline-block; font: 800 12px/1 ui-monospace, "SFMono-Regular", monospace; letter-spacing: .6px; color: var(--hue, var(--ak-acc)); background: var(--hue-l, var(--ak-acc-l)); padding: 6px 9px; border-radius: 8px; }
.pg-code.light { color: #fff; background: rgba(11, 19, 36, .32); }
.pg-card-t { font-size: 17px; line-height: 1.35; color: var(--ak-ink); letter-spacing: -.2px; padding-inline-end: 30px; }
.pg-card-m { color: var(--ak-muted); font-size: 13px; margin-top: auto; }
.pg-card-go { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--hue-l); color: var(--hue); transition: transform .18s, background .18s, color .18s; }
.pg-card-go svg { width: 18px; height: 18px; } .pg-card:hover .pg-card-go { background: var(--hue); color: #fff; transform: translateX(3px); }
.pg-portal { margin-top: 22px; text-align: center; }

/* ---- course page */
.pg-chero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 22px; align-items: center; padding: 28px; border-radius: 24px; color: #fff; background: var(--hue); box-shadow: var(--ak-sh-h); }
.pg-chero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 19, 36, .34) 0%, rgba(11, 19, 36, .22) 60%, rgba(67, 56, 202, .25) 100%); pointer-events: none; }
.pg-chero::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -110px; top: -140px; background: rgba(255, 255, 255, .09); pointer-events: none; }
.pg-chero-main { position: relative; z-index: 1; }
.pg-chero h1 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.6px; margin: 6px 0 8px; }
.pg-chero-k { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.pg-chero-lead { color: rgba(255, 255, 255, .92); max-width: 70ch; margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; }
.pg-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; }
.pg-chero .cta { background: #fff; color: var(--hue); box-shadow: 0 8px 22px rgba(11, 19, 36, .18); } .pg-chero .cta:hover { box-shadow: 0 10px 28px rgba(11, 19, 36, .26); }
.pg-chero-side { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .24); border-radius: 20px; padding: 16px 12px; }
.pg-chero-side .ring-bg { stroke: rgba(255, 255, 255, .25); } .pg-chero-side .ring-fg { stroke: #fff; } .pg-chero-side .ring-fg.done { stroke: #bbf7d0; }
.pg-chero-side .ring-txt span { color: rgba(255, 255, 255, .8); } .pg-chero-side p { margin: 6px 0 0; color: rgba(255, 255, 255, .88); }
.pg-chero .ring-wrap { width: 130px; height: 130px; }
.pg-preview { margin-top: 14px; }
.pg-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin-top: 8px; }
.pg-h2 { font-size: 20px; margin: 26px 0 12px; }
.pg-weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pg-week { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; text-align: start; padding: 12px 14px; border-radius: 16px; background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: 0 1px 2px rgba(11, 19, 36, .04); transition: box-shadow .15s, border-color .15s, transform .15s; }
.pg-week:hover:not(:disabled) { border-color: #c7d6ee; box-shadow: var(--ak-sh); transform: translateX(2px); }
.pg-wn { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; background: #f1f5f9; color: var(--ak-ink2); font-variant-numeric: tabular-nums; }
.pg-wn svg { width: 20px; height: 20px; }
.pg-wt { display: flex; flex-direction: column; min-width: 0; } .pg-wt small { color: var(--ak-muted); font-size: 12px; font-weight: 600; } .pg-wt b { font-size: 15px; line-height: 1.4; }
.pg-wtags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.pg-week.done .pg-wn { background: var(--good-bg); color: var(--good); }
.pg-week.next { border-color: var(--ak-acc); box-shadow: 0 0 0 3px var(--ak-acc-l); } .pg-week.next .pg-wn { background: var(--ak-acc); color: #fff; }
.pg-week.locked .pg-wn { color: #94a3b8; }
.pg-week.pending { border-style: dashed; background: transparent; box-shadow: none; } .pg-week.pending .pg-wn { color: #94a3b8; } .pg-week.pending b { color: var(--ak-muted); font-weight: 600; }
.pg-partial { margin-top: 14px; border-inline-start: 4px solid #f59e0b; }
button.pg-week:disabled { opacity: .72; cursor: not-allowed; }
.pg-exams { display: grid; gap: 10px; }
.pg-exam { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); }
.pg-exam p { margin: 2px 0 0; }
.pg-exam-ic { width: 44px; height: 44px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--ak-acc-l); color: var(--ak-acc); flex: none; }
.pg-exam-ic svg { width: 22px; height: 22px; }
.pg-side { position: sticky; top: calc(var(--hdr-h, 64px) + 20px); display: grid; gap: 12px; margin-top: 26px; }
.pg-box { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 16px 18px; box-shadow: var(--ak-sh); }
.pg-box h3 { margin: 0 0 8px; } .pg-box summary { cursor: pointer; font-weight: 700; }
.pg-outc { margin: 0; padding-inline-start: 20px; font-size: 14px; color: var(--ak-ink2); } .pg-outc li { margin: 7px 0; line-height: 1.5; } .pg-outc .tag { font-size: 11px; padding: 1px 8px; }

/* ---- unit: reading layout */
.pg-read { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 30; pointer-events: none; } .pg-read-fg { fill: var(--ak-acc2); }
.pg-uhero { position: relative; overflow: hidden; padding: 26px 28px; border-radius: 24px; color: #fff; background: var(--hue); box-shadow: var(--ak-sh-h); }
.pg-uhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 19, 36, .34) 0%, rgba(11, 19, 36, .22) 60%, rgba(67, 56, 202, .25) 100%); pointer-events: none; }
.pg-uhero > * { position: relative; }
.pg-uhero h1 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.6px; margin: 10px 0 10px; max-width: 34ch; }
.pg-uhero .tag.light { background: rgba(255, 255, 255, .92); }
.pg-umeta { display: flex; gap: 16px; flex-wrap: wrap; margin: 0; font-size: 14px; color: rgba(255, 255, 255, .9); } .pg-umeta span { display: inline-flex; align-items: center; gap: 6px; } .pg-umeta svg { width: 16px; height: 16px; }
.pg-ulayout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 22px; }
.pg-toc { position: sticky; top: calc(var(--hdr-h, 64px) + 20px); max-height: calc(100vh - 100px); overflow-y: auto; padding: 16px; background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); box-shadow: var(--ak-sh); }
.pg-toc-h { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--ak-muted); }
.pg-toc ol, .pg-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pg-toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--ak-ink2); text-decoration: none; font-size: 14px; line-height: 1.35; border-inline-start: 3px solid transparent; }
.pg-toc a:hover { background: #f1f5fb; color: var(--ak-ink); } .pg-toc a.on { background: var(--ak-acc-l); color: var(--ak-acc-d); font-weight: 700; border-inline-start-color: var(--ak-acc); }
.pg-toc .pg-toc-parts { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ak-line); }
.pg-toc-quiz { width: 100%; margin-top: 12px; }
.pg-art { min-width: 0; max-width: 780px; font-size: 17px; line-height: 1.78; color: #1e293b; }
.pg-art > h2, .pg-block > h2 { font-size: 22px; letter-spacing: -.3px; margin: 34px 0 10px; scroll-margin-top: calc(var(--hdr-h, 64px) + 60px); }
.pg-art h3 { position: relative; font-size: 19px; letter-spacing: -.2px; margin: 30px 0 8px; padding-inline-start: 14px; scroll-margin-top: calc(var(--hdr-h, 64px) + 60px); color: var(--ak-ink); }
.pg-art h3::before { content: ""; position: absolute; inset-inline-start: 0; top: .28em; bottom: .28em; width: 4px; border-radius: 4px; background: var(--ak-grad); }
.pg-art p { margin: 0 0 14px; } .pg-art li { margin: 5px 0; }
.pg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-chipnav { display: none; }
.pg-obj { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 16px 20px; box-shadow: var(--ak-sh); margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; }
.pg-obj ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.pg-obj li { position: relative; padding-inline-start: 30px; margin: 0; }
.pg-obj li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ak-acc2-l); color: var(--ak-acc2); font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; line-height: 1; }
.pg-art .hook { font-size: 16px; line-height: 1.6; border-radius: var(--ak-r); padding: 18px 20px; }
.pg-art .keypts { border-radius: var(--ak-r); padding: 16px 20px; font-size: 16px; }
.pg-art .callout, .pg-art .think, .pg-art .lsteps li, .pg-art .cmp { font-size: 15.5px; line-height: 1.6; }
.pg-art .fig { border-radius: var(--ak-r); box-shadow: var(--ak-sh); }
.pg-block { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 4px 22px 16px; box-shadow: var(--ak-sh); margin: 26px 0; }
.pg-block > h2 { margin-top: 18px; } .pg-block .muted svg { width: 15px; height: 15px; vertical-align: -2px; }
.pg-tasks { counter-reset: tk; list-style: none; padding: 0; display: grid; gap: 8px; }
.pg-tasks li { counter-increment: tk; position: relative; padding: 10px 12px 10px 46px; background: #f8fafc; border-radius: 12px; font-size: 15.5px; line-height: 1.55; margin: 0; }
.pg-tasks li::before { content: counter(tk); position: absolute; inset-inline-start: 12px; top: 10px; width: 24px; height: 24px; border-radius: 8px; background: var(--ak-acc-l); color: var(--ak-acc-d); font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.pg-clin { border-inline-start: 5px solid var(--ak-acc2); }
.pg-clin h3::before { background: var(--ak-acc2); }
.pg-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pg-model { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); text-decoration: none; color: var(--ak-ink); font-size: 15px; line-height: 1.4; transition: box-shadow .15s, transform .15s; }
.pg-model:hover { box-shadow: var(--ak-sh-h); transform: translateY(-2px); } .pg-model .small { color: var(--ak-acc); font-weight: 600; } .pg-model.disabled { opacity: .65; } .pg-model.disabled .small { color: var(--ak-muted); }
.pg-quizcta { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 30px 0 18px; padding: 20px 22px; border-radius: 20px; background: linear-gradient(135deg, var(--ak-acc-l), var(--ak-acc2-l)); border: 1px solid #d6e2f5; }
.pg-quizcta h2 { margin: 0 0 4px; font-size: 20px; scroll-margin-top: calc(var(--hdr-h, 64px) + 60px); } .pg-quizcta p { margin: 0; font-size: 15px; color: var(--ak-ink2); }
.pg-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.pg-pn-b { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--ak-card); border: 1px solid var(--ak-line); box-shadow: var(--ak-sh); text-align: start; }
.pg-pn-b span { display: flex; flex-direction: column; } .pg-pn-b small { color: var(--ak-muted); font-size: 12px; } .pg-pn-b b { font-size: 15px; }
.pg-pn-b svg { width: 20px; height: 20px; color: var(--ak-acc); flex: none; } .pg-pn-b.next { justify-content: flex-end; text-align: end; grid-column: 2; }
.pg-pn-b:hover:not(:disabled) { box-shadow: var(--ak-sh-h); border-color: #c7d6ee; }

.pg-hero :focus-visible, .pg-chero :focus-visible, .pg-uhero :focus-visible, .today :focus-visible { outline-color: #fff; }

/* ---- results */
.pg-score { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 12px 0; }
.pg-score .ring-wrap { width: 132px; height: 132px; } .pg-score .ring-txt b { font-size: 28px; }
.pg-score-n { font-size: 18px; color: var(--ak-ink2); margin: 0; } .pg-score-n b { font-size: 26px; color: var(--ak-ink); }

/* ---- TUS home in the brand band */
.today { position: relative; overflow: hidden; background: var(--ak-grad); color: #fff; border: 0; box-shadow: 0 18px 40px rgba(29, 78, 216, .22); }
.today::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -170px; background: rgba(255, 255, 255, .08); pointer-events: none; }
.today > * { position: relative; z-index: 1; }
.today h1 { color: #fff; } .today .lead { color: #dbeafe; } .today .eyebrow { color: #a7f3d0; } .today .cta-sub { color: #c7d2fe; }
.today .cta { background: #fff; color: var(--ak-acc-d); box-shadow: 0 8px 22px rgba(11, 19, 36, .2); }
.today .ring-bg { stroke: rgba(255, 255, 255, .22); } .today .ring-fg { stroke: #fff; } .today .ring-fg.done { stroke: #bbf7d0; }
.today .ring-txt b { color: #fff; } .today .ring-txt span, .today .goal-l { color: #e0e7ff; }
.today .streak { background: rgba(255, 255, 255, .14); color: #e0e7ff; } .today .streak.on { background: #fff1e6; color: #9a3412; }
.steps li { border: 1px solid var(--ak-line); background: var(--ak-card); box-shadow: var(--ak-sh); border-radius: var(--ak-r); padding: 14px 16px; }
.steps b { color: var(--ak-acc-d); }
.subj:hover { background: #f3f7fd; }
/* ---- TUS Hazırlık v3 (2026-09-30): stats inside the brand band, coloured action cards, subject cards with rings,
   an honest upgrade band for demo members, the question-quality story in the open */
.today { grid-template-columns: minmax(0, 1fr) 220px; padding: 30px 32px; }
.today .exam-in { color: #fde68a; }
.today-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; max-width: 620px; }
.today-stats div { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 10px 12px; }
.today-stats dt { font-size: 12px; color: #c7d2fe; font-weight: 600; } .today-stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.stats-strip { display: none; }
.journey { margin-top: 18px; } .journey li { box-shadow: inset 0 3px 0 var(--ak-acc2), var(--ak-sh); }
.sec-h { margin: 30px 0 12px; } .sec-h h2 { margin: 0 0 2px; font-size: 21px; letter-spacing: -.3px; } .sec-h p { margin: 0; max-width: 90ch; }
.tiles { margin-top: 0; gap: 14px; }
.tile { position: relative; overflow: hidden; min-height: 150px; padding: 18px 18px 16px; gap: 6px; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hue, var(--ak-acc)); }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--hue-l, var(--ak-acc-l)); color: var(--hue, var(--ak-acc)); } .tile .ic svg { width: 22px; height: 22px; }
.tile b { font-size: 17px; letter-spacing: -.2px; } .tile .tile-d { color: var(--ak-muted); font-size: 13.5px; line-height: 1.45; }
.tile-go { position: absolute; inset-inline-end: 16px; top: 18px; font-weight: 800; color: var(--hue, var(--ak-acc)); opacity: .5; transition: transform .18s, opacity .18s; }
.tile:hover:not(:disabled) .tile-go { opacity: 1; transform: translateX(3px); }
.tile-lock { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 700; color: #7c2d12; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 999px; padding: 4px 10px; }
.tile-lock svg { width: 13px; height: 13px; }
.tile.locked .ic { background: var(--hue-l, #f1f5f9); color: var(--hue, #94a3b8); opacity: .75; } .tile.locked b { color: var(--ak-ink); }
.subjects { gap: 18px; } .subjects > div { padding: 16px; }
.grp { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: var(--ak-muted); }
.grp small { background: #eef2f7; color: var(--ak-ink2); border-radius: 999px; padding: 1px 8px; font-size: 11px; letter-spacing: 0; }
.sgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.subj { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--ak-line); border-radius: 14px; background: var(--ak-card); transition: border-color .15s, box-shadow .15s, transform .15s; }
.subj:hover { background: var(--ak-card); border-color: var(--hue, #c7d6ee); box-shadow: var(--ak-sh); transform: translateY(-2px); }
.sring { grid-row: 1 / 3; position: relative; width: 52px; height: 52px; } .sring .ring { width: 52px; height: 52px; }
.sring .ring-bg { stroke: var(--hue-l, #eef2f7); stroke-width: 10; } .sring .ring-fg { stroke: var(--hue, var(--ak-acc)); stroke-width: 10; }
.sring em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 800; color: var(--ak-ink2); font-variant-numeric: tabular-nums; }
.subj-t { display: flex; flex-direction: column; min-width: 0; } .subj-t b { font-size: 14.5px; line-height: 1.3; } .subj-t small { color: var(--ak-muted); font-size: 12px; }
.subj-go { font-size: 12px; font-weight: 700; color: var(--hue, var(--ak-acc)); }
.upsell { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; align-items: center; margin-top: 30px; padding: 30px 32px; border-radius: 24px; color: #fff; background: linear-gradient(125deg, #312e81 0%, #6d28d9 55%, #be185d 100%); box-shadow: 0 18px 40px rgba(109, 40, 217, .22); }
.upsell::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; left: -120px; bottom: -200px; background: rgba(255, 255, 255, .07); pointer-events: none; }
.upsell > * { position: relative; z-index: 1; } .upsell h2 { margin: 4px 0 8px; font-size: 26px; letter-spacing: -.4px; color: #fff; }
.upsell .eyebrow { color: #f9a8d4; text-transform: none; } .upsell .lead { color: #ede9fe; } .upsell .cta-sub { color: #ddd6fe; }
.upsell .cta { background: #fff; color: #5b21b6; box-shadow: 0 8px 22px rgba(11, 19, 36, .22); }
.up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.up-list li { display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.up-list svg { flex: none; width: 20px; height: 20px; padding: 2px; border-radius: 50%; background: #fff; fill: #6d28d9; }
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feat { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 18px; box-shadow: var(--ak-sh); }
.feat .ic { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--hue-l); color: var(--hue); } .feat .ic svg { width: 20px; height: 20px; }
.feat p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--ak-ink2); }
.qsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: q; }
.qsteps > div { position: relative; background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: var(--ak-r); padding: 18px 18px 16px; box-shadow: var(--ak-sh); display: flex; flex-direction: column; gap: 6px; }
.qsteps > div:not(:last-child)::after { content: "→"; position: absolute; inset-inline-end: -13px; top: 22px; z-index: 1; width: 24px; height: 24px; border-radius: 50%; background: var(--ak-bg); color: var(--ak-muted); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.qn { width: 30px; height: 30px; border-radius: 10px; background: var(--ak-acc2-l); color: var(--ak-acc2); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.qsteps b { font-size: 16px; } .qsteps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ak-ink2); }
.qc { margin-top: auto !important; padding-top: 8px; border-top: 1px dashed var(--ak-line); color: var(--ak-muted) !important; font-size: 13px !important; } .qc strong { font-size: 20px; color: var(--ak-ink); font-variant-numeric: tabular-nums; }
.why-us { margin-top: 14px; }
.recent { margin-top: 20px; } .recent ul { list-style: none; margin: 0; padding: 0; }
.recent li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--ak-line); font-size: 14px; } .recent li:last-child { border-bottom: 0; }
.recent .rk { font-weight: 700; } .recent .rd { color: var(--ak-muted); font-size: 13px; }
.quota { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 22px auto 0; max-width: 360px; }
.quota .qbar { width: 100%; height: 6px; } .quota .qbar .bar-fg { fill: var(--ak-acc2); }
@media (max-width: 1080px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sgrid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .upsell { grid-template-columns: 1fr; padding: 24px 20px; } .qsteps { grid-template-columns: 1fr; } .qsteps > div:not(:last-child)::after { content: "↓"; inset-inline-end: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%); } }
@media (max-width: 720px) { .today { grid-template-columns: 1fr; padding: 24px 20px; } .today-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .today-stats dd { font-size: 19px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tile { min-height: 136px; padding: 14px; } .tile-go { display: none; }
  .subjects { grid-template-columns: 1fr; } .feats { grid-template-columns: 1fr; } .upsell h2 { font-size: 22px; } .upsell .cta { width: 100%; justify-content: center; } }
.sum-up { margin: 22px auto 0; max-width: 520px; display: flex; gap: 14px; align-items: center; justify-content: space-between; text-align: start; padding: 14px 16px; border-radius: 16px; background: linear-gradient(125deg, #f3effe, #fdeef6); border: 1px solid #e9d5ff; }
.sum-up p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ak-ink2); } .sum-up b { color: #5b21b6; } .sum-up .btn { flex: none; }
.runner .rhead { background: var(--ak-card); border: 1px solid var(--ak-line); border-radius: 16px; padding: 10px 16px; box-shadow: var(--ak-sh); }
.runner .prog { margin: 10px 2px 14px; } .runner .prog-bar .bar-fg { fill: var(--ak-acc2); }
.runner .q { border-radius: 22px; } .runner .stem { font-size: 18px; line-height: 1.65; letter-spacing: -.1px; }
.runner button.opt:hover:not(:disabled) { border-color: var(--ak-acc); box-shadow: 0 0 0 3px var(--ak-acc-l); }
.runner .opt b { border-radius: 10px; }
.kpis div:nth-child(1) b { color: #15803d; } .kpis div:nth-child(2) b { color: #b91c1c; } .kpis div:nth-child(3) b { color: var(--ak-muted); } .kpis div:nth-child(4) b { background: var(--ak-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 720px) { .sum-up { flex-direction: column; align-items: stretch; } .runner .stem { font-size: 16.5px; } }
/* ---- Keşif Kredisi: a locked unit that credits can open */
.pg-week.kesif { border-style: dashed; border-color: #93c5fd; } .pg-week.kesif:hover { border-color: var(--ak-acc); }
.pg-ktag { background: linear-gradient(125deg, #0f766e, #1d4ed8); color: #fff; }
.pg-kbox { max-width: 640px; margin: 20px auto; text-align: start; } .pg-kbox .pg-exam-ic { margin-bottom: 8px; } .pg-kbox h2 { margin: 6px 0 8px; }
@media (max-width: 1080px) { .pg-ulayout { grid-template-columns: 1fr; } .pg-toc { display: none; } .pg-art { max-width: none; }
  .pg-chipnav { display: flex; gap: 6px; overflow-x: auto; position: sticky; top: var(--hdr-h, 58px); z-index: 3; margin: 0 -4px 14px; padding: 8px 4px; background: var(--ak-bg); -webkit-overflow-scrolling: touch; }
  .pg-chipnav a { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--ak-card); border: 1px solid var(--ak-line); color: var(--ak-ink2); font-size: 13px; font-weight: 600; text-decoration: none; }
  .pg-cols { grid-template-columns: 1fr; } .pg-side { position: static; margin-top: 8px; } }
@media (max-width: 720px) { .pg-hero { padding: 24px 20px 20px; border-radius: 20px; } .pg-chero { grid-template-columns: 1fr; padding: 22px 18px; border-radius: 20px; }
  .pg-chero-side { flex-direction: row; gap: 14px; text-align: start; } .pg-chero .ring-wrap { width: 92px; height: 92px; } .pg-chero .ring-txt b { font-size: 24px; }
  .pg-uhero { padding: 20px 18px; border-radius: 20px; } .pg-art { font-size: 16.5px; line-height: 1.72; }
  .pg-week { grid-template-columns: 38px minmax(0, 1fr); } .pg-wn { width: 38px; height: 38px; border-radius: 12px; } .pg-wtags { grid-column: 2; justify-content: flex-start; }
  .pg-exam { grid-template-columns: 40px minmax(0, 1fr); } .pg-exam > :last-child { grid-column: 1 / -1; } .pg-exam-ic { width: 40px; height: 40px; }
  .pg-pn { grid-template-columns: 1fr; } .pg-pn-b.next { grid-column: auto; } .pg-quizcta .cta { width: 100%; justify-content: center; } }
@media print { .pg-read, .pg-toc, .pg-chipnav, .pg-pn, .pg-quizcta { display: none !important; } .pg-ulayout { grid-template-columns: 1fr; } }
