:root {
 --bg:#f6f7fb; --surface:#fff; --surface-soft:#f8f9fc;
 --ink:#1b2840; --ink-soft:#43516a; --muted:#69758a; --line:#e7eaf1; --line-strong:#d4dbe6;
 --accent:#5146db; --accent-hover:#4035bd; --accent-soft:#eeedff;
 --ai-ink:#1d4ed8; --ai-bg:#eff6ff; --ai-border:#3b82f6;
 --danger:#b42335; --danger-bg:#fff1f3; --danger-border:#fecdd3;
 --success:#18725a; --success-bg:#ecfdf5; --success-border:#a7e6cf;
 --radius-sm:9px; --radius-md:12px; --radius-lg:16px;
 --shadow-sm:0 2px 6px rgba(27,40,64,.025); --shadow-md:0 8px 32px rgba(27,40,64,.07);
}
* { box-sizing:border-box; }
[hidden] { display:none!important; }
html { scroll-padding-top:24px; }
body { margin:0; background:var(--bg); color:var(--ink); font:1rem/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-decoration:none; transition:color .15s; }
a:hover { color:var(--accent-hover); text-decoration:underline; }
button,input,select,textarea { font:inherit; }
.icon { display:inline-block; flex-shrink:0; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:8px; left:16px; z-index:100; background:var(--ink); color:white; padding:10px 20px; border-radius:8px; transform:translateY(-150%); }
.skip-link:focus { transform:translateY(0); }
.shell { display:flex; min-height:100vh; }
.sidebar { width:256px; flex-shrink:0; background:white; border-right:1px solid var(--line); padding:32px 20px 20px; position:sticky; top:0; height:100dvh; display:flex; flex-direction:column; }
.brand { display:flex; align-items:center; gap:11px; color:var(--ink); font-size:1.2rem; line-height:1.35; letter-spacing:-.045em; white-space:nowrap; }
.brand:hover { color:var(--ink); text-decoration:none; }
.brand strong { font-weight:750; }
.brand small { font-size:.625rem; letter-spacing:.075em; margin-top:5px; font-weight:650; color:var(--muted); }
.mark { display:grid; place-items:center; width:43px; height:45px; flex-shrink:0; color:white; background:var(--accent); border-radius:13px; box-shadow:0 4px 10px #5146db23; }
.mark .icon { width:25px; height:25px; }
.sidebar-content { display:flex; flex-direction:column; flex:1; min-height:0; overflow-y:auto; margin-top:42px; }
.sidebar nav { display:grid; gap:7px; }
.nav-caption { margin:0 12px 8px; color:#7c879b; letter-spacing:.11em; font-weight:650; font-size:.6875rem; }
.nav-caption-secondary { margin-top:26px; }
.sidebar nav a { padding:12px 14px; display:flex; align-items:center; gap:12px; border-radius:9px; font-size:.875rem; font-weight:550; color:#5c6980; }
.sidebar nav a:hover { background:var(--surface-soft); color:var(--accent); text-decoration:none; }
.sidebar nav a.active { background:var(--accent-soft); color:var(--accent); font-weight:650; }
.sidebar nav a.active::after { content:""; width:5px; height:20px; border-radius:8px; margin-left:auto; background:var(--accent); }
.sidebar-bottom { margin-top:auto; padding-top:36px; }
.sidebar-note { border-radius:12px; padding:20px 16px; background:linear-gradient(140deg,#f0efff,#f7f8fe); margin-bottom:24px; }
.sidebar-note .icon-box { margin-bottom:12px; width:34px; height:34px; background:#e4e1ff; color:var(--accent); }
.sidebar-note strong { display:block; font-size:.9375rem; line-height:1.5; }
.sidebar-note p { font-size:.8125rem; line-height:1.65; margin-bottom:0; color:#69728c; }
.account { border-top:1px solid var(--line); padding-top:20px; }
.account-head { display:flex; gap:11px; align-items:center; }
.account-head>div { min-width:0; }
.avatar { width:38px; height:38px; flex-shrink:0; display:grid; place-items:center; border-radius:50%; background:#e9e7ff; color:#5146b9; font-size:.875rem; font-weight:700; border:3px solid #f5f3ff; }
.account-name { display:block; font-size:.8125rem; font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.account small { font-size:.75rem; }
.account .logout { width:100%; margin-top:14px; border-color:transparent; background:transparent; color:var(--muted); justify-content:flex-start; padding-left:12px; }
.account .logout:hover { background:var(--surface-soft); color:var(--ink); }
.nav-toggle { display:none; }
.app-frame { flex:1; min-width:0; }
.topbar { height:78px; padding:0 36px; background:#ffffffd9; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.breadcrumb { display:flex; align-items:center; gap:14px; color:var(--muted); font-size:.8125rem; min-width:0; }
.breadcrumb strong { font-weight:550; color:var(--ink-soft); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.breadcrumb-divider { color:#b5bdcc; }
.topbar-meta { display:flex; align-items:center; gap:22px; flex-shrink:0; }
.today { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:.8125rem; }
.today .icon { width:17px; height:17px; }
.role-chip { font-size:.75rem; padding:4px 12px; background:#f4f3fb; border:1px solid #e9e6f6; border-radius:7px; color:#675b98; }
main { padding:30px 36px 24px; max-width:1660px; margin:auto; min-width:0; }
main:focus { outline:none; }
.page-head { display:flex; justify-content:space-between; align-items:center; gap:20px; margin:0 0 28px; }
h1 { font-size:clamp(1.65rem,2.2vw,2rem); line-height:1.25; letter-spacing:-.04em; margin:5px 0 8px; font-weight:750; overflow-wrap:anywhere; }
h2 { font-size:1.0625rem; line-height:1.45; margin:0 0 16px; font-weight:700; letter-spacing:-.02em; }
h3 { font-size:1rem; margin:22px 0 10px; font-weight:650; color:var(--ink); }
p { margin:10px 0; }
.page-head p.muted { margin:0; font-size:.875rem; }
.eyebrow { font-size:.6875rem; letter-spacing:.13em; font-weight:700; color:var(--accent); margin:0; }
.muted,small { color:var(--muted); }
small { display:block; font-size:.8125rem; line-height:1.6; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; margin:22px 0; box-shadow:var(--shadow-sm); min-width:0; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.section-head h2 { margin:0; }
.section-head p { margin:5px 0 0; font-size:.875rem; }
.section-head .eyebrow { margin-bottom:7px; font-size:.6875rem; }
button,.button { border:1px solid var(--accent); background:var(--accent); color:white; border-radius:var(--radius-sm); font-size:.875rem; font-weight:600; padding:11px 18px; display:inline-flex; align-items:center; justify-content:center; gap:9px; line-height:1.5; cursor:pointer; text-align:center; text-decoration:none; transition:background .15s,box-shadow .15s,border-color .15s; }
button:hover,.button:hover { color:white; background:var(--accent-hover); border-color:var(--accent-hover); text-decoration:none; box-shadow:0 4px 12px #5146db20; }
button:disabled { opacity:.6; cursor:wait; }
button .icon,.button .icon { width:18px; height:18px; }
.subtle,.button.subtle { background:white; color:var(--ink-soft); border-color:var(--line-strong); box-shadow:none; padding:8px 13px; }
.subtle:hover,.button.subtle:hover { background:var(--surface-soft); color:var(--accent); border-color:#b9b5e5; box-shadow:none; }
.subtle.danger-subtle { color:#a65763; border-color:transparent; background:transparent; }
.subtle.danger-subtle:hover { color:var(--danger); border-color:var(--danger-border); background:var(--danger-bg); }
.row-actions { display:flex; align-items:center; gap:4px; }
.row-actions .button,.row-actions button { font-size:.8125rem; }
.welcome-banner { display:flex; align-items:center; justify-content:space-between; gap:32px; background:linear-gradient(115deg,#192943 15%,#25375c 100%); padding:30px 34px; border-radius:16px; color:white; position:relative; overflow:hidden; isolation:isolate; }
.welcome-banner::after { content:""; width:430px; height:430px; border:1px solid #ffffff0a; box-shadow:0 0 0 48px #ffffff03,0 0 0 96px #ffffff02; border-radius:50%; position:absolute; right:-100px; top:-150px; z-index:-1; }
.banner-label { display:flex; align-items:center; gap:8px; font-size:.625rem; letter-spacing:.14em; font-weight:600; color:#b9c7e2; }
.banner-label .icon { width:16px; height:16px; color:#c5c0ff; }
.welcome-copy h2 { color:white; font-size:1.875rem; line-height:1.32; letter-spacing:-.025em; margin:12px 0 10px; }
.welcome-copy em,.story-content em { color:#bdb9ff; font-style:normal; }
.welcome-copy p { margin:0; font-size:.8125rem; line-height:1.8; color:#bfcbe0; }
.journey { display:flex; flex:1; justify-content:flex-end; max-width:490px; }
.journey-step { flex:1; position:relative; text-align:center; min-width:100px; }
.journey-step:not(:last-child)::after { content:""; width:calc(100% - 68px); height:1px; background:#ffffff26; position:absolute; top:29px; left:calc(50% + 34px); }
.journey-step>span { width:58px; height:58px; display:grid; place-items:center; margin:0 auto 15px; background:#ffffff0c; border:1px solid #ffffff25; border-radius:17px; color:#d8d5ff; }
.journey-step:last-child>span { background:#a9a0ff20; border-color:#a9a0ff50; }
.journey-step .icon { width:25px; height:25px; }
.journey-step strong { display:block; font-size:.8125rem; font-weight:550; }
.journey-step small { color:#adbbd4; font-size:.6875rem; margin-top:3px; }
.stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:22px 0; }
.dashboard-stats { grid-template-columns:repeat(4,minmax(0,1fr)); }
.stats article { background:white; border:1px solid var(--line); padding:18px 20px; border-radius:12px; box-shadow:var(--shadow-sm); }
.stat-top { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--ink-soft); font-size:.8125rem; }
.stats article>strong { display:block; font-size:2rem; font-weight:650; letter-spacing:-.05em; line-height:1.2; font-variant-numeric:tabular-nums; margin:6px 0 9px; }
.stats article>small { font-size:.75rem; }
.icon-box { width:38px; height:38px; display:inline-grid; place-items:center; flex-shrink:0; border-radius:10px; background:var(--accent-soft); color:var(--accent); }
.purple { color:#7463cc; background:#f0edfd; }
.blue { color:#4180b4; background:#eaf3fb; }
.green { color:#318773; background:#e9f6f1; }
.amber { color:#b78936; background:#fcf4e5; }
.stat-top .icon-box { width:34px; height:34px; border-radius:9px; }
.stat-top .icon { width:18px; height:18px; }
.dashboard-grid { display:grid; grid-template-columns:minmax(0,1fr) 268px; gap:22px; align-items:start; }
.dashboard-grid .card { margin:0; }
.lesson-list { padding:0; overflow:hidden; }
.lesson-list .section-head { padding:24px 24px 0; margin-bottom:20px; }
.count-badge { display:inline-flex; justify-content:center; min-width:25px; padding:1px 7px; margin-left:5px; border:1px solid var(--line); background:var(--surface-soft); border-radius:6px; color:var(--muted); font-size:.75rem; font-weight:550; vertical-align:2px; }
.sort-label { font-size:.75rem; color:var(--muted); white-space:nowrap; }
.list-toolbar { display:flex; gap:12px; padding:0 24px 20px; }
.search-field { position:relative; flex:1; }
.search-field>.icon { position:absolute; left:13px; top:12px; width:18px; height:18px; color:#8994a6; }
.search-field input { padding-left:40px; background:#fafbfe; }
.status-filter { width:174px; }
.table-wrap { position:relative; overflow:auto; border:1px solid var(--line); border-radius:10px; }
table { border-collapse:collapse; width:100%; text-align:left; font-size:.875rem; }
th { background:#f8f9fc; font-size:.875rem; font-weight:500; color:var(--muted); white-space:nowrap; }
td,th { padding:16px; border-bottom:1px solid var(--line); }
tbody tr:last-child td { border-bottom:0; }
tbody tr:hover { background:#fafaff; }
td small { font-size:.75rem; }
.lesson-table { border:0; border-radius:0; }
.lesson-table td:first-child,.lesson-table th:first-child { padding-left:24px; }
.lesson-table td:last-child { padding-right:20px; }
.lesson-table td,.lesson-table th { padding:15px 10px; }
.lesson-name { display:flex; gap:12px; align-items:center; min-width:160px; }
.lesson-name>div { min-width:0; }
.lesson-icon { width:39px; height:43px; background:#f2f1fc; color:#8580bd; border:1px solid #e9e7f8; border-radius:9px; display:grid; place-items:center; flex-shrink:0; }
.lesson-icon .icon { width:19px; height:19px; }
.lesson-title { color:var(--ink); font-weight:600; font-size:.875rem; overflow-wrap:anywhere; }
.lesson-title:hover { color:var(--accent); }
.lesson-name small { margin-top:3px; }
.date-cell { font-size:.8125rem; white-space:nowrap; color:var(--muted); }
.pill { display:inline-flex; align-items:center; padding:4px 10px; border:1px solid #e2def7; border-radius:6px; background:#f2efff; color:#6555a4; font-size:.8125rem; font-weight:550; line-height:1.5; }
.pill.ready { color:#28735d; background:#edf8f1; border-color:#d5ecdd; }
.pill.pending { color:#916c2e; background:#fcf7eb; border-color:#f3e7cb; }
.pill.text-ready { color:#4676a2; background:#edf5fd; border-color:#dbe9f6; }
.pill.attention { color:var(--danger); background:var(--danger-bg); border-color:var(--danger-border); }
.list-footer { display:flex; justify-content:space-between; gap:14px; padding:15px 24px; border-top:1px solid var(--line); color:var(--muted); font-size:.75rem; }
.dashboard-rail { display:grid; gap:20px; }
.quick-actions { padding:22px 20px; }
.quick-actions h2 { margin-bottom:13px; }
.quick-link { display:flex; align-items:center; gap:12px; padding:13px 0; color:var(--ink); }
.quick-link+.quick-link { border-top:1px solid #f0f1f6; }
.quick-link>span:last-child { min-width:0; }
.quick-link strong { font-size:.875rem; font-weight:600; }
.quick-link small { margin-top:2px; font-size:.75rem; }
.quick-link:hover { text-decoration:none; color:var(--accent); }
.truncate { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.privacy-card { padding:23px; border:1px solid #e0e6ee; border-radius:14px; background:#eef2f8; }
.privacy-card>.icon { color:#7483a0; width:25px; height:25px; }
.privacy-card h3 { font-size:.875rem; margin:12px 0 7px; }
.privacy-card p { font-size:.8125rem; color:#6b7890; margin:0; line-height:1.8; }
.empty { text-align:center; padding:45px 20px; color:var(--muted); }
.empty h3 { margin:16px 0 6px; font-size:1rem; }
.empty p { font-size:.875rem; margin:0 0 20px; }
.empty-icon { display:grid; place-items:center; width:64px; height:64px; background:#f2f0fc; border:7px solid #faf9fe; border-radius:20px; margin:auto; color:#8276c2; }
.empty-icon .icon { width:27px; height:27px; }
.shared-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
.shared-report { display:flex; align-items:center; gap:14px; padding:18px; border:1px solid var(--line); border-radius:10px; color:var(--ink); }
.shared-report:hover { border-color:#b5aedf; text-decoration:none; }
.shared-report strong { font-size:.875rem; }
.stack { display:grid; gap:20px; }
.form-row { display:flex; gap:14px; align-items:flex-end; flex-wrap:wrap; }
.form-row label { flex:1; min-width:170px; }
label { display:grid; gap:8px; font-size:.875rem; color:var(--ink-soft); font-weight:550; }
input,select,textarea { width:100%; min-width:0; border:1px solid var(--line-strong); border-radius:8px; padding:11px 13px; font-size:.875rem; background:white; color:var(--ink); transition:border-color .15s,box-shadow .15s; }
input::placeholder,textarea::placeholder { color:#8d97a9; }
input:hover,select:hover,textarea:hover { border-color:#a9b2c7; }
textarea { resize:vertical; line-height:1.65; }
select { appearance:none; padding-right:36px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2369748a' stroke-width='2'/%3E%3C/svg%3E"); background-position:right 12px center; background-repeat:no-repeat; }
input[type=file] { padding:16px; border-style:dashed; background:var(--surface-soft); cursor:pointer; }
input::file-selector-button { border:1px solid var(--line-strong); padding:8px 12px; border-radius:6px; margin-right:12px; background:white; color:var(--ink); font:inherit; cursor:pointer; }
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible,summary:focus-visible { outline:3px solid #b8b3fb; outline-offset:3px; border-color:var(--accent); }
.checkbox { display:flex; align-items:flex-start; gap:10px; font-weight:400; }
.checkbox input { width:auto; margin-top:6px; accent-color:var(--accent); }
.inline { display:flex; gap:8px; align-items:center; }
.workflow-steps { list-style:none; padding:0; margin:0 0 24px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--line); background:white; border-radius:12px; overflow:hidden; }
.workflow-steps li { display:flex; align-items:center; gap:14px; padding:20px 24px; color:var(--muted); }
.workflow-steps li+li { border-left:1px solid var(--line); }
.workflow-steps .current { background:#f2f0ff; color:var(--accent); }
.step-symbol { display:grid; place-items:center; width:40px; height:40px; border:1px solid var(--line); border-radius:11px; background:var(--surface-soft); flex-shrink:0; }
.current .step-symbol { background:var(--accent); border-color:var(--accent); color:white; }
.workflow-steps strong { display:block; font-size:.875rem; font-weight:600; }
.workflow-steps small { font-size:.75rem; }
.step-label { margin-left:auto; font-size:.6875rem; border:1px solid #dcd7ff; border-radius:6px; padding:2px 7px; white-space:nowrap; }
.form-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:24px; align-items:start; }
.form-layout .card { margin:0; }
.form-card { padding:30px; }
.form-card .section-head { padding-bottom:24px; border-bottom:1px solid var(--line); }
.field-help { margin-top:-13px; }
.form-actions { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; padding-top:22px; border-top:1px solid var(--line); margin-top:10px; }
.form-actions>span { font-size:.8125rem; }
.form-aside { display:grid; gap:22px; }
.preparation-card>h2 { margin:18px 0 6px; }
.preparation-card>p { font-size:.875rem; }
.check-list { padding:0; list-style:none; margin:20px 0 0; display:grid; gap:18px; }
.check-list li { display:flex; align-items:flex-start; gap:10px; font-size:.875rem; color:var(--ink-soft); }
.check-list .icon { color:#6c8c82; width:18px; height:18px; margin-top:3px; }
.page-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#7d889c; border-top:1px solid var(--line); padding-top:22px; margin-top:40px; font-size:.75rem; }
.page-footer>span:first-child { font-weight:650; }
/* Giriş */
.auth-page { background:white; }
.auth-page main { max-width:none; margin:0; padding:0; }
.auth-page main>.notice { margin:0; border-radius:0; }
.login-layout { display:grid; grid-template-columns:1fr 1fr; min-height:100dvh; }
.login-story { background:linear-gradient(135deg,#16243d,#273c60); padding:42px 52px 28px; color:white; display:flex; flex-direction:column; position:relative; overflow:hidden; }
.brand-light,.brand-light:hover { color:white; }
.brand-light small { color:#b0bdd6; }
.brand-light .mark { background:#ffffff12; border:1px solid #ffffff25; box-shadow:none; }
.story-content { max-width:460px; width:100%; margin:auto; padding:64px 0 20px; }
.story-content .banner-label { font-size:.625rem; letter-spacing:.13em; }
.story-content h2 { font-size:clamp(2.5rem,4vw,3.7rem); line-height:1.18; letter-spacing:-.045em; font-weight:650; margin:22px 0; }
.story-content>p { color:#bbc9df; max-width:370px; font-size:1rem; line-height:1.85; }
.story-visual { position:relative; height:250px; margin-top:20px; }
.visual-orbit { position:absolute; width:205px; height:205px; border:1px solid #ffffff12; border-radius:50%; left:50%; top:18px; transform:translateX(-50%); }
.orbit-two { width:310px; height:310px; top:-35px; border-style:dashed; border-color:#ffffff0e; }
.visual-book { position:absolute; top:62px; left:50%; transform:translateX(-50%) rotate(-10deg); width:112px; height:112px; display:grid; place-items:center; border-radius:27px; background:linear-gradient(135deg,#7974cf,#a29ce5); border:1px solid #ffffff35; box-shadow:0 18px 45px #11192c60,inset 0 1px 0 #ffffff50; }
.visual-book .icon { width:62px; height:62px; stroke-width:1.2; }
.visual-chip { position:absolute; display:flex; align-items:center; gap:10px; padding:12px 18px; background:#354967; border:1px solid #ffffff20; border-radius:11px; box-shadow:0 10px 25px #101d3020; font-size:.8125rem; color:#e2e8f5; }
.chip-video { left:0; top:40px; transform:rotate(-5deg); }
.chip-feedback { right:0; top:175px; transform:rotate(4deg); }
.visual-chip .icon { color:#ccc8ff; }
.visual-spark { position:absolute; color:#aca8e3; font-size:1.6rem; font-weight:200; }
.spark-one { right:25px; top:40px; }
.spark-two { left:58px; top:176px; }
.story-footer { display:flex; justify-content:space-between; gap:16px; color:#a8b8d2; font-size:.75rem; margin-top:30px; }
.login-form-panel { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:56px; position:relative; }
.login { max-width:400px; width:100%; margin:auto; padding:50px 0; }
.login-emblem { display:grid; place-items:center; width:52px; height:52px; background:#f2f0ff; color:var(--accent); border:1px solid #e7e3fe; border-radius:15px; margin-bottom:30px; }
.login-emblem .icon { width:23px; height:23px; }
.login h1 { font-size:2rem; margin:9px 0 12px; }
.login>.muted { font-size:.9375rem; margin:0; max-width:350px; }
.login-form { margin-top:32px; gap:10px; }
.login-form .validation-summary-valid { display:none; }
.login-form label:not(:first-of-type) { margin-top:12px; }
.input-with-icon { position:relative; }
.input-with-icon>.icon { position:absolute; left:15px; top:16px; width:18px; height:18px; color:#8b96a8; pointer-events:none; }
.input-with-icon input { padding:14px 14px 14px 44px; font-size:.9375rem; }
.password-field input { padding-right:50px; }
.password-toggle { position:absolute; top:4px; right:4px; width:44px; height:44px; padding:0; color:#8791a4; background:transparent; border:0; }
.password-toggle:hover { background:var(--surface-soft); color:var(--accent); box-shadow:none; }
.login-submit { width:100%; padding:14px; margin-top:16px; }
.login-help { border-top:1px solid var(--line); margin-top:30px; padding-top:20px; display:flex; gap:12px; }
.login-help>.icon { margin-top:4px; color:#7a8395; width:19px; height:19px; }
.login-help p { margin:0; font-size:.8125rem; color:var(--ink-soft); line-height:1.8; }
.login-help p span { color:var(--muted); }
.login-footer { display:flex; align-items:center; justify-content:center; gap:8px; text-align:center; color:#7e8899; font-size:.75rem; margin:22px 0 0; }
.login-footer .icon { width:16px; height:16px; }

/* Ders çalışma alanı, transkript ve rapor bileşenleri */
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; align-items: start; }
.workspace .card { min-width: 0; margin-top: 0; }

video {
 width: 100%;
 background: #0b1420;
 border-radius: var(--radius-md);
 max-height: 440px;
 box-shadow: var(--shadow-sm);
}

.notice {
 background: #f0f9ff;
 border: 1px solid #bae6fd;
 border-left: 4px solid #0284c7;
 padding: 14px 18px;
 border-radius: var(--radius-md);
 font-size: 14px;
 color: #0c4a6e;
 margin: 16px 0;
}
.notice small { color: #0369a1; margin-top: 4px; }
.notice.error, .error {
 background: var(--danger-bg);
 border-color: var(--danger-border);
 border-left-color: var(--danger);
 color: var(--danger);
}
.notice.success {
 background: var(--success-bg);
 border-color: var(--success-border);
 border-left-color: var(--success);
 color: var(--success);
}

.job {
 padding: 13px 14px;
 margin: 8px 0;
 border: 1px solid var(--line);
 border-radius: var(--radius-sm);
 background: var(--surface-soft);
 font-size: 14px;
}
.job span {
 float: right;
 font-size: 12.5px;
 font-weight: 600;
 color: var(--ink-soft);
 background: var(--surface);
 border: 1px solid var(--line);
 padding: 2px 10px;
 border-radius: 999px;
}

.turn { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.turn strong { font-size: 13.5px; margin-left: 8px; }
.time { font-variant-numeric: tabular-nums; }
.turn p, .note p { white-space: pre-wrap; margin: 8px 0 0; }

.turn-editor { display: grid; gap: 12px; transition: border-color .15s ease, box-shadow .15s ease; }
.turn-editor[open] { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 118, 110, .08); }
.turn-editor .form-row { justify-content: space-between; }
.turn-editor input[type=checkbox] { order: -1; }
.turn-editor .form-row label { min-width: 110px; }
.turn-editor summary {
 cursor: pointer;
 white-space: pre-wrap;
 overflow-wrap: anywhere;
 line-height: 1.55;
 padding: 2px 0;
 font-size: 14px;
 color: var(--ink);
 display: flex;
 align-items: flex-start;
 gap: 10px;
}
.turn-editor[open] summary { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
#transcript-preview { max-height: 62vh; overflow: auto; padding-right: 6px; }

.note {
 border: 1px solid var(--line);
 border-left: 3px solid var(--accent);
 border-radius: var(--radius-sm);
 background: var(--surface-soft);
 padding: 15px 18px;
 margin-top: 14px;
}

.back {
 font-size: 13.5px;
 font-weight: 600;
 display: inline-flex;
 align-items: center;
 gap: 6px;
 margin-top: 20px;
 color: var(--muted);
}
.back:hover { color: var(--accent); text-decoration: none; }

blockquote {
 font-size: 17.5px;
 line-height: 1.7;
 border-left: 4px solid var(--accent);
 background: var(--surface-soft);
 border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
 margin: 16px 0 22px;
 padding: 14px 22px;
 color: var(--ink);
}
.next {
 background: var(--accent-soft);
 border: 1px solid rgba(15, 118, 110, .18);
 padding: 16px 20px;
 border-radius: var(--radius-md);
 margin-top: 18px;
}
.next h3 { margin-top: 0; color: var(--accent-hover); }

.share-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 padding: 12px 14px;
 margin-top: 8px;
 border: 1px solid var(--line);
 border-radius: var(--radius-sm);
 background: var(--surface-soft);
}

progress { width: 100%; height: 10px; accent-color: var(--accent); border-radius: 999px; }
.validation-summary-errors { color: var(--danger); font-size: 14px; }

/* Okuma dokümanı, sekmeler ve YZ vurgusu */
.reading-document {
 max-width: 92ch;
 margin: 18px auto;
 font-size: 16px;
 line-height: 1.9;
 overflow-wrap: anywhere;
 white-space: normal;
}
.reading-document p { white-space: normal; margin: 0 0 1.25em; color: var(--ink); }
.transcript-reading {
 max-height: 58vh;
 overflow: auto;
 padding: 18px 20px;
 margin: 12px 0;
 background: var(--surface-soft);
 border: 1px solid var(--line);
 border-radius: var(--radius-md);
}
.transcript-source { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 10px; }
.transcript-source > summary { cursor: pointer; padding: 8px 0; font-weight: 650; color: var(--accent); font-size: 14.5px; }

.speaker-tag {
 display: inline-block;
 font-size: 11.5px;
 font-weight: 700;
 letter-spacing: .04em;
 padding: 2px 8px;
 margin-right: 8px;
 border-radius: 6px;
 background: #e2e8f0;
 color: #334155;
 vertical-align: 1px;
}
.speaker-tag.speaker-teacher {
 background: var(--accent-soft);
 color: var(--accent-hover);
 border: 1px solid rgba(15, 118, 110, .22);
}

.tab-bar { margin-bottom: 18px; }
.tab-list {
 display: inline-flex;
 gap: 4px;
 padding: 4px;
 background: #edf2f7;
 border: 1px solid var(--line);
 border-radius: 11px;
 flex-wrap: wrap;
}
.tab-btn {
 background: transparent;
 border: 1px solid transparent;
 color: var(--muted);
 padding: 8px 16px;
 border-radius: 8px;
 font-size: 13.5px;
 font-weight: 600;
 box-shadow: none;
}
.tab-btn:hover {
 background: rgba(255, 255, 255, .6);
 color: var(--ink);
 border-color: transparent;
 box-shadow: none;
}
.tab-btn.active {
 background: var(--surface);
 color: var(--ink);
 border-color: var(--line);
 box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}
.tab-badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 20px;
 height: 20px;
 padding: 0 6px;
 border-radius: 999px;
 font-size: 11.5px;
 font-weight: 700;
 background: var(--ai-bg);
 color: var(--ai-ink);
 border: 1px solid rgba(59, 130, 246, .45);
}
.tab-note { font-size: 13.5px; margin-top: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }

.ai-completion-bar {
 margin-bottom: 18px;
 padding: 14px 16px;
 background: var(--surface-soft);
 border: 1px solid var(--line);
 border-radius: var(--radius-md);
}
.ai-legend { font-size: 13.5px; color: var(--ink-soft); margin: 0; flex: 1; }
.ai-legend small { margin-top: 6px; }
.ai-completed {
 color: var(--ai-ink);
 background: var(--ai-bg);
 border-bottom: 2px dashed var(--ai-border);
 padding: 1px 5px;
 border-radius: 4px;
 font-weight: 500;
}

.ai-progress {
 margin-top: 12px;
 padding: 12px 14px;
 background: rgba(255, 255, 255, .75);
 border: 1px solid rgba(2, 132, 199, .2);
 border-radius: var(--radius-sm);
 display: grid;
 gap: 8px;
}
.ai-progress-head {
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 12px;
 font-size: 13.5px;
 color: var(--ink);
}
.progress-track {
 position: relative;
 height: 10px;
 border-radius: 999px;
 background: #dbe7f0;
 overflow: hidden;
}
.progress-fill {
 height: 100%;
 border-radius: 999px;
 background: linear-gradient(90deg, #0f766e, #14b8a6);
 transition: width .35s ease;
 width: 0;
}
.progress-fill.indeterminate {
 position: absolute;
 width: 38%;
 animation: progress-slide 1.35s ease-in-out infinite;
}
@keyframes progress-slide {
 0% { left: -38%; }
 100% { left: 100%; }
}

/* Bileşen uyumu ve farklı ekranlar */
.workspace { margin-top:24px; }
.back { margin:0 0 18px; }
.progress-fill { background:linear-gradient(90deg,#5146db,#8d83eb); }
.notice { font-size:.875rem; }
.notice.success { border-left-color:var(--success); }
.job { overflow-wrap:anywhere; }
.job span { float:none; display:inline-flex; margin-left:10px; }
.turn-editor .form-row { align-items:flex-start; }
.tab-btn,.transcript-source>summary { font-size:.875rem; }
.speaker-tag { font-size:.75rem; }
#upload-form { background:var(--surface-soft); border:1px dashed var(--line-strong); border-radius:12px; padding:22px; }
#upload-status:empty { display:none; }
.stack>p[role=alert]:empty { display:none; }
.evidence { border-left:3px solid #8b7dd4; }
@media(min-width:1600px) { main { padding:36px 48px 28px; } .topbar { padding:0 48px; } .dashboard-grid { grid-template-columns:minmax(0,1fr) 300px; } .welcome-banner { padding:36px 40px; } }
@media(max-width:1250px) {
 .sidebar { width:232px; padding:28px 16px 18px; }
 .brand { font-size:1.0625rem; gap:9px; } .brand small { font-size:.5625rem; }
 main { padding:26px 26px 22px; } .topbar { padding:0 26px; }
 .dashboard-grid { grid-template-columns:minmax(0,1fr); }
 .dashboard-rail { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); }
 .quick-actions { display:flex; flex-wrap:wrap; gap:0 20px; } .quick-actions h2 { width:100%; }
 .quick-link { flex:1 1 42%; } .quick-link+.quick-link { border:0; }
 .dashboard-stats { gap:12px; } .stats article { padding:16px; } .stat-top { align-items:flex-start; }
 .journey { max-width:390px; } .journey-step small { display:none; }
 .welcome-banner { padding:28px; } .welcome-copy h2 { font-size:1.75rem; }
 .step-label { display:none; } .workflow-steps li { padding:18px; }
 .form-layout { grid-template-columns:minmax(0,1fr) 260px; gap:20px; }
 .workspace { grid-template-columns:1fr; }
 .login-story { padding:34px; } .login-form-panel { padding:40px; }
}
@media(max-width:1000px) {
 .welcome-banner { gap:20px; } .journey { max-width:210px; flex-wrap:wrap; gap:12px; justify-content:flex-start; }
 .journey-step { text-align:left; min-width:100%; display:flex; align-items:center; gap:12px; }
 .journey-step>span { width:34px; height:34px; border-radius:10px; margin:0; } .journey-step .icon { width:18px; height:18px; }
 .journey-step:not(:last-child)::after { display:none; }
 .dashboard-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .stats article>strong { margin:2px 0 6px; }
 .form-layout { grid-template-columns:1fr; } .form-aside { grid-template-columns:1fr 1fr; }
 .workflow-steps li { padding:15px 12px; gap:8px; } .workflow-steps small { display:none; }
 .workflow-steps strong { font-size:.8125rem; } .step-symbol { width:32px; height:34px; }
 .today { display:none; } .login-layout { grid-template-columns:.9fr 1fr; }
 .login-story { padding:28px; } .login-form-panel { padding:32px; }
 .story-content h2 { font-size:2.6rem; } .story-visual { transform:scale(.85); transform-origin:center; margin:0 -12px; }
 .story-footer { flex-direction:column; gap:4px; }
}
@media(max-width:760px) {
 .shell { display:block; }
 .sidebar { width:100%; height:auto; position:relative; padding:17px 20px; border-right:0; border-bottom:1px solid var(--line); }
 .sidebar>.brand { padding-right:48px; }
 .brand { font-size:1.125rem; } .brand small { font-size:.5625rem; } .mark { width:39px; height:41px; }
 .nav-toggle { display:none; position:absolute; right:20px; top:18px; padding:10px; }
 .nav-ready .nav-toggle { display:inline-flex; }
 .sidebar-content { margin-top:20px; overflow:visible; }
 .nav-ready .sidebar-content { display:none; } .nav-ready.nav-open .sidebar-content { display:flex; }
 .sidebar nav { grid-template-columns:1fr 1fr; gap:6px; } .nav-caption { grid-column:1/-1; margin:8px 12px; }
 .nav-caption-secondary { margin-top:16px; } .sidebar-note { display:none; }
 .sidebar-bottom { padding-top:20px; } .account { display:flex; gap:16px; justify-content:space-between; align-items:center; padding-top:16px; }
 .account .logout { margin:0; } .account-head { min-width:0; }
 .topbar { height:55px; padding:0 20px; } .topbar-meta { gap:0; } .role-chip { font-size:.6875rem; }
 .breadcrumb { font-size:.75rem; gap:9px; } .breadcrumb>span:first-child { display:none; } .breadcrumb-divider { display:none; }
 main { padding:24px 20px; } .page-head { align-items:flex-start; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
 h1 { font-size:1.75rem; } .page-head>.button { padding:10px 16px; }
 .welcome-banner { padding:26px; } .welcome-copy h2 { font-size:1.75rem; } .welcome-copy p { font-size:.8125rem; }
 .journey { max-width:185px; } .journey-step strong { font-size:.75rem; }
 .card { padding:22px; } .lesson-list { padding:0; }
 .dashboard-rail { grid-template-columns:1fr 1fr; gap:16px; } .quick-actions { display:block; padding:20px; }
 .quick-link { padding:10px 0; } .quick-link+.quick-link { border-top:1px solid var(--line); }
 .privacy-card { padding:20px; } .list-toolbar { padding:0 20px 18px; }
 .lesson-list .section-head { padding:22px 20px 0; } .sort-label { display:none; }
 .form-row { flex-direction:column; align-items:stretch; } .form-row label { min-width:0; }
 .form-aside { gap:16px; } .form-actions { align-items:stretch; flex-direction:column; }
 .workflow-steps li { flex-direction:column; align-items:center; text-align:center; gap:8px; padding:15px 7px; }
 .workflow-steps strong { font-size:.75rem; }
 .share-row { flex-wrap:wrap; } .page-footer { margin-top:30px; font-size:.6875rem; }
 .login-layout { grid-template-columns:1fr; }
 .login-story { padding:22px 26px 26px; } .login-story .brand { font-size:1.125rem; }
 .story-content { margin:28px 0 0; padding:0; max-width:none; }
 .story-content .banner-label,.story-visual,.story-footer,.story-content>p { display:none; }
 .story-content h2 { font-size:1.75rem; margin:0; line-height:1.35; } .story-content h2 br { display:none; } .story-content h2 br::after { content:" "; }
 .login-form-panel { padding:32px 24px 24px; } .login { padding:6px 0 20px; }
 .login-emblem { display:none; } .login h1 { font-size:1.75rem; }
 .login-footer { max-width:320px; margin-top:10px; }
 input,select,textarea,.input-with-icon input { font-size:1rem; }
}
@media(max-width:480px) {
 main { padding:22px 16px; } .sidebar { padding:16px; } .nav-toggle { right:16px; top:17px; } .topbar { padding:0 16px; }
 .page-head>div { width:100%; } .page-head>.button { width:100%; }
 .welcome-banner { display:block; padding:24px; }
 .welcome-copy h2 { font-size:1.85rem; } .welcome-copy p { max-width:260px; } .desktop-break { display:none; }
 .journey { display:none; }
 .dashboard-stats { gap:10px; margin:16px 0; } .stats article { padding:14px; }
 .stat-top { font-size:.75rem; gap:6px; } .stat-top .icon-box { width:28px; height:28px; border-radius:7px; } .stat-top .icon { width:16px; height:16px; }
 .stats article>strong { font-size:1.875rem; margin:8px 0 6px; } .stats article>small { font-size:.6875rem; }
 .dashboard-grid { gap:16px; } .dashboard-rail { grid-template-columns:1fr; }
 .quick-actions { padding:20px; } .privacy-card { display:grid; grid-template-columns:26px 1fr; gap:0 12px; }
 .privacy-card h3 { margin:0 0 6px; } .privacy-card p { grid-column:2; }
 .list-toolbar { flex-direction:column; gap:10px; } .status-filter { width:100%; }
 .list-footer>span:last-child { display:none; } .form-aside { grid-template-columns:1fr; }
 .section-head { gap:10px; } .form-card { padding:22px; }
 .page-footer { flex-wrap:wrap; gap:4px; } .page-footer>span { width:100%; }
 .login-story { padding:22px; } .story-content h2 { font-size:1.5rem; }
 .sidebar nav { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
@media print {
 .sidebar,.topbar,.page-footer,.back,.skip-link,button,.button { display:none!important; }
 .shell,.app-frame { display:block; } main { max-width:none; padding:0; }
 body { background:white; } .card { box-shadow:none; break-inside:avoid; }
 .reading-document,.transcript-reading { max-height:none; overflow:visible; }
}
.analysis-readiness { display:flex; align-items:flex-start; gap:18px; padding:24px; margin:22px 0; background:#fffcf5; border:1px solid #eedfbd; border-radius:14px; }
.readiness-content { min-width:0; }
.readiness-content>.eyebrow { color:#94722f; }
.readiness-content h2 { margin:6px 0; font-size:1.125rem; }
.readiness-content p { font-size:.875rem; color:var(--ink-soft); }
.readiness-counts { display:flex; flex-wrap:wrap; gap:8px 20px; margin:16px 0 20px; font-size:.8125rem; color:#806b42; }
.readiness-counts strong { color:#765b2c; }
.readiness-content small { margin-top:12px; max-width:680px; }
.editor-guide { font-size:.875rem; padding:16px; background:#f2f0ff; border-radius:9px; color:#5d5386; }
@media(max-width:480px) { .analysis-readiness { padding:20px; gap:12px; } .analysis-readiness>.icon-box { display:none; } .readiness-counts { flex-direction:column; } }

.ai-suggestion { border-left: 3px solid var(--ai-border); background: var(--ai-bg); padding: 8px 12px; border-radius: 6px; margin: 8px 0; }
.ai-suggestion p { margin: 6px 0; }

/* Transcript editor: the row-select checkbox must not take the global input width:100% (pushed text right). */
.turn-editor summary input[type=checkbox] { width:auto; flex:none; margin-top:4px; padding:0; accent-color:var(--accent); }
.turn-editor summary .turn-summary-text { flex:1; min-width:0; white-space:normal; }
.turn-editor summary .turn-meta { color:var(--ink-soft); font-variant-numeric:tabular-nums; margin-right:4px; }
.speaker-select { gap:8px; margin:4px 0 12px; }
/* Keep the video beside the long editor so the scholar can listen while editing. */
@media (min-width: 1251px) { .workspace > .card:first-child { position:sticky; top:16px; } }
.turn-editor:not([open]) { gap:0; }
@media (max-width: 760px) { .form-row.speaker-select { flex-direction:row; flex-wrap:wrap; align-items:center; } .speaker-select button { width:auto; flex:none; padding:8px 12px; } }
/* Fluent row list: closed rows are compact lines with dividers instead of separate cards. */
#transcript-preview { border:1px solid var(--line); border-radius:var(--radius-sm); padding:0; background:var(--surface); }
#transcript-preview .turn-editor { margin:0; border:0; border-bottom:1px solid var(--line); border-radius:0; padding:9px 12px; }
#transcript-preview .turn-editor:last-child { border-bottom:0; }
#transcript-preview .turn-editor:not([open]):hover { background:var(--surface-soft); }
#transcript-preview .turn-editor[open] { border:1px solid var(--accent); border-radius:var(--radius-sm); margin:6px; padding:12px 14px; }
.time-link { border:0; background:none; padding:0 2px; margin:0; font:inherit; color:var(--accent); font-variant-numeric:tabular-nums; cursor:pointer; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:3px; }
.time-link:hover,.time-link:focus-visible { text-decoration-color:currentColor; }
/* Row currently playing in the video. */
.turn.playing, #transcript-preview .turn-editor.playing { background:#eef2ff; box-shadow:inset 3px 0 0 var(--accent); }
.turn.playing .time-link, .turn.playing .turn-meta { font-weight:650; }

/* Question quality (full-text page) */
.question-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.question-stats .stat { border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.question-stats .stat strong { font-size: 1.25rem; }
.question-stats .stat span { font-size: .85rem; color: var(--muted, #6b7280); }
.question-levels { margin: 4px 0 12px; }
.question-item { border-bottom: 1px solid var(--line, #e5e7eb); padding: 10px 0; }
.question-item blockquote { margin: 6px 0; }
.question-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.q-tag { font-size: .78rem; padding: 2px 8px; border-radius: 999px; background: #f3f4f6; color: #374151; white-space: nowrap; }
.q-open { background: #dcfce7; color: #166534; }
.q-closed { background: #fef3c7; color: #92400e; }
.q-time { background: #f1f5f9; color: #475569; }
.verdict-row { align-items: center; gap: 8px; }
.verdict-row button[aria-pressed="true"] { background: var(--ai-ink); color: #fff; border-color: var(--ai-ink); }
[data-verdict-item][data-state="rejected"] > p { opacity: .55; text-decoration: line-through; }
@media (max-width: 700px) { .question-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .q-tag { white-space: normal; } }
.consent-declaration { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.consent-declaration input { width: auto; flex: none; margin-top: 5px; }
.consent-form { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; align-items: flex-start; }
.question-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.question-card-head h2 { margin: 0; }
/* Lesson overview card */
.overview-card h2 { margin: 4px 0 8px; }
.overview-summary { margin: 0 0 10px; }
.concepts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.talk-share { margin: 8px 0 12px; }
.talk-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--line); }
.talk-teacher { background: var(--accent); }
.talk-student { background: #34d399; }
.talk-share p { margin: 6px 0 0; font-size: .9rem; }
.phase-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 8px; }
.phase-list li { display: flex; gap: 12px; align-items: flex-start; border-left: 3px solid var(--ai-border); padding: 4px 0 4px 10px; }
.phase-list li p { margin: 2px 0 0; }
.phase-list .time-link { white-space: nowrap; flex: none; }
.move-group { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; margin: 8px 0; }
.move-group summary { cursor: pointer; font-weight: 600; }
.context-form { margin: 16px 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.context-form h3 { margin: 0; }
.context-form .form-row > label { flex: 1; min-width: 160px; }
.student-talk { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
