/* Web ve Android için ortak marka renkleri. Mobil gezinme ayrı kalır. */
:root,html.kocla-mobile {
  --ink:#0c2038;--deep:#0c2038;--navy:#0c2038;--muted:#607087;
  --primary:#3068f3;--primary-dark:#2454cf;--primary-live:#3068f3;
  --blue:#3068f3;--blue-live:#3068f3;--brand-blue:#3068f3;
  --green:#3068f3;--aqua:#00aaa5;--teal-live:#00aaa5;
  --brand-teal:#00aaa5;--brand-violet:#5041d9;
  --aqua-soft:#e9f8f6;--mint:#e9f8f6;--blue-soft:#edf3ff;
  --soft-blue:#edf3ff;--lavender:#f7f9fc;--page:#f7f9fc;
  --paper:#fff;--surface:#fff;--line:#e5ebf1;--cream:#fff;
  color-scheme:light;
}
body {font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink)}
#login .simple-home {font-family:inherit}
#login {--ink:inherit;--muted:inherit;--line:inherit;--accent:var(--aqua);--electric:var(--primary);--teal:var(--primary-dark);--night:var(--navy)}
#login .simple-home-icon {background:#fff url('kocla-brand-54da92e1.png') center/contain no-repeat;font-size:0;width:64px;height:64px;border-radius:0}
#login .simple-home .brand-eyebrow {font-size:11px;letter-spacing:.14em;font-weight:700;color:var(--muted);margin:0 0 22px}
#login .simple-home h1 {font-family:inherit!important;line-height:1.06!important;letter-spacing:-.055em;margin-bottom:24px}
#login .simple-home h1 em {font-family:inherit;font-weight:inherit;letter-spacing:inherit;font-style:normal;color:var(--primary)}
#login .simple-home>p:not(.brand-eyebrow) {line-height:1.75;font-size:17px;color:var(--muted);margin:0 0 28px}
#login .simple-home>.primary {display:flex;align-items:center;justify-content:center;gap:26px}
#login .simple-home>.primary span {font-size:21px;line-height:1}
#login .simple-home li {display:flex;gap:18px;align-items:center;line-height:1.6}
#login .simple-home li strong {font-size:15px;color:var(--ink);margin-bottom:2px}
#login .role-number {font-size:12px;letter-spacing:.04em;color:var(--primary);font-weight:700;flex:none}
#login .simple-home details p {color:var(--muted);font-size:14px;line-height:1.7}
.class-social {--class-ink:var(--ink);--class-muted:var(--muted);--class-line:var(--line)}
.class-leaderboard li.is-self {background:var(--blue-soft)}
html:not(.kocla-mobile) body:has(#login:not([hidden])) .topbar {max-width:1200px;margin:auto;padding:22px 40px;border-bottom:0;min-height:92px;background:var(--page)!important}
html:not(.kocla-mobile) body:has(#login:not([hidden])) #menu-toggle {display:none!important}
html:not(.kocla-mobile) body:has(#login:not([hidden])) #site-nav {display:flex!important;position:static;width:auto;padding:0;background:transparent!important;border:0;box-shadow:none;gap:12px;align-items:center;flex-direction:row}
html:not(.kocla-mobile) #nav-login {order:5;padding:11px 20px;border-color:var(--primary)!important;background:var(--primary)!important;color:#fff!important}
html:not(.kocla-mobile) body:has(#login:not([hidden])) #site-nav>a {font-size:13px}
html:not(.kocla-mobile) #login .simple-home {max-width:900px;padding:35px 40px 48px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);column-gap:90px;align-items:start}
html:not(.kocla-mobile) #login .simple-home-icon {grid-column:1;margin-bottom:24px}
html:not(.kocla-mobile) #login .simple-home>.brand-eyebrow {grid-column:1}
html:not(.kocla-mobile) #login .simple-home h1 {grid-column:1;font-size:56px!important;font-weight:760!important}
html:not(.kocla-mobile) #login .simple-home>p {grid-column:1}
html:not(.kocla-mobile) #login .simple-home>.primary {grid-column:1;max-width:340px}
html:not(.kocla-mobile) #login .simple-home>small {grid-column:1;max-width:340px}
html:not(.kocla-mobile) #login .simple-home>ul {grid-column:2;grid-row:3/7;margin:4px 0 0;padding:0}
html:not(.kocla-mobile) #login .simple-home>ul li {padding:25px 0}
html:not(.kocla-mobile) #login .simple-home>details {grid-column:1/-1;margin-top:30px;padding-top:18px;border-top:1px solid var(--line);border-bottom:0;max-width:100%}
html.kocla-mobile #login .simple-home .brand-eyebrow {display:none}
html.kocla-mobile #login .simple-home h1 {font-size:38px!important}
html.kocla-mobile #login .simple-home {margin-top:25px}
html.kocla-mobile #login .simple-home>ul {margin:24px 0}
html.kocla-mobile #login .simple-home>p:not(.brand-eyebrow) {font-size:15px}
html.kocla-mobile :is(button,a,input,select,textarea,summary):focus-visible {outline-color:var(--primary)!important}
/* Uygulamanın görsel dili; masaüstü gezinmesi ve tanıtım akışı korunur. */
html:not(.kocla-mobile) body {background:var(--page)!important;color:var(--ink)!important;font-family:Inter,"Segoe UI",Arial,sans-serif}
html:not(.kocla-mobile) :is(h1,h2,h3,h4) {font-family:inherit;font-weight:760;letter-spacing:-.035em;color:var(--ink)!important;overflow-wrap:anywhere}
html:not(.kocla-mobile) :is(p,small,.hint,.help-text) {line-height:1.65}
html:not(.kocla-mobile) :is(.topbar,.workspace-main,.sidebar,#login,#parent-panel) {background:var(--page)!important}
html:not(.kocla-mobile) .topbar {border:0;box-shadow:none!important}
html:not(.kocla-mobile) .brand {gap:9px;color:var(--ink)!important}
html:not(.kocla-mobile) .brand img {border-radius:0;object-fit:contain}
html:not(.kocla-mobile) .brand strong {font-family:inherit;font-size:31px;font-weight:850;letter-spacing:-1.6px;line-height:1.2;color:var(--ink)!important}
html:not(.kocla-mobile) .brand strong::after {content:'.';color:var(--primary)}
html:not(.kocla-mobile) #login .simple-home-icon {background-color:transparent}
html:not(.kocla-mobile) .sidebar-profile {background:transparent}
html:not(.kocla-mobile) :is(.panel-card,.card,.note-card,.institution-section,.account-management,.timer-card,.subject,.subject-card,.topic-row) {background:transparent!important;color:var(--ink)!important;border-color:var(--line)!important;box-shadow:none!important}
html:not(.kocla-mobile) button {min-height:44px;border-radius:12px;padding:11px 15px;font:650 13px/1.4 Inter,"Segoe UI",Arial,sans-serif;box-shadow:none!important}
html:not(.kocla-mobile) :is(button.primary,.small-primary,.workspace-main .primary,#login .primary) {min-height:48px;border-radius:12px!important;border-bottom-width:3px!important;padding:13px 16px;font-size:14px;font-weight:750}
html:not(.kocla-mobile) :is(.ghost-button,.secondary-button) {border-radius:12px!important}
html:not(.kocla-mobile) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {min-width:0;max-width:100%;min-height:48px;padding:12px 13px;border:1px solid #dfe7ee!important;border-radius:12px!important;font:400 16px/1.5 Inter,"Segoe UI",Arial,sans-serif;background:#fff!important;color:var(--ink)!important}
html:not(.kocla-mobile) .password-field input {padding-right:60px}
html:not(.kocla-mobile) input:is([type=checkbox],[type=radio]) {width:20px!important;height:20px!important;min-height:20px!important;margin:0;padding:0;accent-color:var(--primary)}
html:not(.kocla-mobile) input[type=file] {padding:8px!important;font-size:12px!important;min-height:60px}
html:not(.kocla-mobile) input[type=file]::file-selector-button {font-size:12px;min-height:42px;padding:11px 12px;border-bottom-width:3px}
html:not(.kocla-mobile) :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid var(--primary)!important;outline-offset:3px}
html:not(.kocla-mobile) .simple-focus {position:relative;overflow:hidden;padding:22px;border:1px solid #d1eeea;border-radius:22px;background:linear-gradient(125deg,#edf9f7,#f4fbfa);box-shadow:none}
html:not(.kocla-mobile) .simple-focus::after {content:'';position:absolute;right:-48px;top:-42px;width:108px;height:108px;border:18px solid #dcf2ee;border-radius:50%;pointer-events:none}
html:not(.kocla-mobile) .simple-focus>:is(span,h3,p) {position:relative;z-index:1}
html:not(.kocla-mobile) .simple-focus h3 {font-size:24px;line-height:1.25;letter-spacing:-.7px}
html:not(.kocla-mobile) :is(.question-answer,.question-math-block) {background:#edf9f7!important;border-color:#d4ebe6!important;border-radius:14px;color:var(--ink)!important}
html:not(.kocla-mobile) :is(.summary-chips span,.pill) {background:#e8f6f3!important;border-color:#d5efea!important;border-radius:8px;color:var(--primary-dark)!important}
html:not(.kocla-mobile) details>summary {min-height:48px}
html:not(.kocla-mobile) details>summary::before {background:#e8f6f3}
html:not(.kocla-mobile) details>summary::after {border-color:var(--primary-dark)}
html:not(.kocla-mobile) :is(dialog,.login-panel) {max-width:calc(100vw - 24px);max-height:calc(100dvh - 30px);padding:22px;overflow:auto;overscroll-behavior:contain;background:#fff!important;border:1px solid var(--line)!important;border-radius:24px!important;box-shadow:0 20px 65px #0c20382b}
html:not(.kocla-mobile) dialog::backdrop {background:#10263d70;backdrop-filter:blur(3px)}
html:not(.kocla-mobile) :is(.login-card,dialog.login-panel .login-card) {padding:6px!important;background:#fff!important;border:0!important}
html:not(.kocla-mobile) .login-close {background:#e9f8f6!important;color:var(--primary-dark)!important;min-height:40px}
@media(max-width:760px) {
  html:not(.kocla-mobile) body:has(#login:not([hidden])) .topbar {padding:18px 22px;min-height:78px}
  html:not(.kocla-mobile) body:has(#login:not([hidden])) #site-nav>a {display:none}
  html:not(.kocla-mobile) #login .simple-home {display:block;max-width:520px;padding:25px 24px 36px}
  html:not(.kocla-mobile) #login .simple-home h1 {font-size:38px!important}
  html:not(.kocla-mobile) #login .simple-home>.primary,html:not(.kocla-mobile) #login .simple-home>small {max-width:none}
  html:not(.kocla-mobile) #login .simple-home>ul {margin-top:28px}
  html:not(.kocla-mobile) #login .simple-home>ul li {padding:17px 0}
}
@media(max-width:360px) {html:not(.kocla-mobile) #login .simple-home h1 {font-size:36px!important}}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {scroll-behavior:auto!important;transition:none!important;animation:none!important}}
