:root{--ink:#24203e;--purple:#6545d9;--muted:#706b83;--line:#e5e1ed;--bg:#f7f6fb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}header,main{max-width:1240px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;gap:16px;align-items:center}a{color:var(--purple);text-decoration:none}.brand{font-weight:850;font-size:19px;color:var(--ink)}.brand span{font-size:12px;color:var(--muted);display:block}h1,h2,p{margin:0}h2{font-size:24px;line-height:1.3}h1{font-size:clamp(38px,5vw,64px);line-height:1.07;letter-spacing:-2px;margin:16px 0 22px}h1 em{font-style:normal;color:#ddf5a4}.hero{background:radial-gradient(at 100% 0,#7753d9,transparent 70%),#292044;color:#eee9ff;border-radius:28px;padding:42px;display:grid;grid-template-columns:1.6fr 1fr;gap:40px;align-items:center}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.7px;color:var(--purple);margin-bottom:10px}.hero .eyebrow{color:#d1c5fc}.hero p{max-width:630px}.pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.pills span{font-size:12px;background:#ffffff12;border:1px solid #ffffff28;border-radius:30px;padding:5px 10px}.hero-art{background:#ffffff10;border:1px solid #ffffff30;border-radius:24px;padding:25px;transform:rotate(3deg);box-shadow:0 22px 40px #140b2e33}.hero-art strong{display:block;font-size:23px;line-height:1.3;margin:15px 0}.hero-art>span:last-child{font-size:11px;color:#e0d6fa}.art-badge{font-size:10px;font-weight:800;color:#e5f8b9}.bars{height:100px;display:flex;align-items:end;gap:12px;padding-top:15px}.bars i{width:16%;height:45%;background:#ae97ff;border-radius:7px 7px 0 0}.bars i:nth-child(2){height:65%}.bars i:nth-child(3){height:55%}.bars i:nth-child(4){height:85%;background:#dcf6ad}.bars i:nth-child(5){height:100%;background:#f8d98c}.steps{display:flex;gap:30px;margin:28px 0;flex-wrap:wrap}.steps a{color:var(--ink);font-size:14px;font-weight:650}.steps b{display:inline-grid;place-items:center;width:26px;height:26px;background:#e9e3ff;border-radius:50%;color:var(--purple);margin-right:7px}.card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;margin-bottom:22px;scroll-margin-top:20px}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:25px;flex-wrap:wrap}.fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700}input,select,textarea{font:inherit;color:var(--ink);border:1px solid #dcd7e8;border-radius:9px;background:#fcfbff;padding:11px;width:100%;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #b6a6f5;outline-offset:1px}button{font:inherit;font-size:13px;font-weight:750;border:0;border-radius:10px;padding:11px 17px;cursor:pointer;min-height:43px}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--purple);color:white}.secondary{background:#f0edf8;color:#4f3b8e}.danger{background:#fff0f0;color:#a33145}.text-button{background:transparent;color:var(--purple);font-size:13px;cursor:pointer;display:inline-flex;justify-content:center;padding:12px}.note{font-size:12px;color:var(--muted);line-height:1.65;margin:13px 0}.note a{text-decoration:underline}.actions{display:flex;gap:9px;flex-wrap:wrap}.badge{background:#f2edff;color:#6145aa;border-radius:30px;padding:6px 12px;font-size:12px;font-weight:700}.scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:12px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-size:11px;color:var(--muted);background:#f8f6fc;font-weight:750}td,th{padding:10px 12px;border-bottom:1px solid #eeeaf4;vertical-align:middle}tr:last-child td{border-bottom:0}td input,td select{padding:8px;min-width:70px}td .code{min-width:125px}td .outcome{min-width:280px}td button{padding:4px 9px;min-height:32px;margin:2px}#score-table th:first-child,#score-table td:first-child{position:sticky;left:0;background:#faf8ff;z-index:1;min-width:130px}#score-table input{width:75px}#score-table input[aria-invalid=true]{outline:2px solid #d84458;background:#fff1f3}#score-table th{white-space:nowrap}#score-table td:last-child{font-weight:800}.metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:20px 0}.metric{background:#f7f4fd;border-radius:14px;padding:17px 13px}.metric b{font-size:25px;display:block;line-height:1.2;margin:5px 0}.metric span{font-size:11px;color:var(--muted)}.metric:first-child{background:#ede6ff}.distribution{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:15px 0 28px}.distribution div{border:1px solid var(--line);border-radius:12px;padding:12px;font-size:12px}.meter{height:7px;overflow:hidden;border-radius:7px;background:#ede9f6;min-width:75px;margin-top:5px}.meter i{display:block;height:100%;background:#9575e2}.rate{white-space:nowrap;font-weight:700}.strong{color:#21704e}.support{color:#b13c49}.develop{color:#946816}.report h3{font-size:17px;margin:25px 0 12px}.report td:nth-child(3){max-width:340px}#errors:not(:empty),#notice{background:#fff4dd;color:#805819;border:1px solid #edd59f;border-radius:12px;padding:15px;margin-bottom:16px}#notice[hidden]{display:none}details{border:1px solid var(--line);padding:14px;border-radius:12px}summary{cursor:pointer;font-weight:700;font-size:13px}textarea{resize:vertical;margin:8px 0}footer{padding:24px 0;color:var(--muted);font-size:11px}.restore{display:flex;gap:12px;flex-wrap:wrap}.report-name{font-weight:800;color:var(--ink)}[hidden]{display:none!important}@media(max-width:800px){.hero{padding:26px;grid-template-columns:1fr}.hero-art{display:none}.fields{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}header,main{padding:16px}.card{padding:20px}.steps{gap:15px}.steps a{font-size:12px}.distribution{grid-template-columns:repeat(2,1fr)}h2{font-size:21px}}@media print{@page{size:A4 landscape;margin:12mm}body{background:white;font-size:10px}header,.hero,.steps,#notice,#setup,#questions,#entry,.no-print,.actions,footer{display:none!important}main{max-width:none;padding:0}.card{border:0;padding:0;margin:0}.metrics{grid-template-columns:repeat(6,1fr)}.metric{padding:9px}.metric b{font-size:20px}.scroll{overflow:visible;border:0}table{font-size:9px}th,td{padding:5px}.report h3{margin:15px 0 7px}tr{break-inside:avoid}.section-head{margin-bottom:10px}.meter{print-color-adjust:exact}.metric,.meter i{print-color-adjust:exact}thead{display:table-header-group}}
/* Mobile score entry: one student at a time, touch-sized controls, shared data with desktop. */
.mobile-only{display:none}.mobile-empty{padding:22px;background:#f7f4fd;border-radius:14px;color:var(--muted)}
@media screen and (max-width:800px){
 body{padding-bottom:90px}.mobile-only{display:block}.hero{padding:24px}.hero p br{display:none}.hero h1{font-size:40px}.pills{gap:6px}.pills span{font-size:11px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.steps a{display:flex;flex-direction:column;gap:7px;font-size:11px}.steps b{width:28px;height:28px}.card{padding:18px;border-radius:18px}.section-head{gap:13px;margin-bottom:18px}.fields{gap:13px}.fields>label:nth-child(1),.fields>label:nth-child(4),.fields>label:nth-child(8){grid-column:1/-1}input,select,textarea{font-size:16px;min-height:48px}button{min-height:46px}.actions{width:100%}.actions>button{flex:1}.note{font-size:12px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric{padding:14px}.metric b{font-size:27px}
 #question-editor{display:none;margin-top:15px}#question-editor.mobile-questions-open{display:block;border:0;overflow:visible}#question-editor table,#question-editor tbody{display:block}#question-editor thead{display:none}#question-editor tbody{display:grid;gap:12px}#question-editor tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:14px;padding:12px;gap:10px}#question-editor td{padding:0;border:0}#question-editor td:nth-child(1),#question-editor td:nth-child(3),#question-editor td:nth-child(5){grid-column:1/-1}#question-editor td:nth-child(2)::before{content:'Çıktı kodu';font-size:11px;color:var(--muted)}#question-editor td:nth-child(4)::before{content:'Tam puan';font-size:11px;color:var(--muted)}#question-editor td:nth-child(3){grid-row:3}#question-editor td:nth-child(4){grid-row:2;grid-column:2}#question-editor .code,#question-editor .outcome{min-width:0;width:100%}#question-editor textarea{margin:0}#toggle-questions{width:100%}
 #score-grid{display:none}#score-grid.mobile-grid-open{display:block}#toggle-grid{margin:12px 0;padding-left:0}#mobile-entry{scroll-margin-top:15px}.student-switch{padding:16px;border:1px solid #dcd3f6;border-radius:16px;background:#faf8ff}.student-switch>.eyebrow{display:block}.student-switch label{font-size:11px}.student-summary{display:grid;grid-template-columns:1fr 100px;gap:15px;margin-top:12px;align-items:end}.student-summary>div{padding:4px 0}.student-summary>div>span{font-size:10px;color:var(--muted)}#mobile-total{font-size:22px;display:block;line-height:1.4}.mobile-progress{height:5px;border-radius:9px;background:#e8e1f7;margin-top:15px;overflow:hidden}.mobile-progress i{height:100%;display:block;background:#9173e2;transition:width .15s}#mobile-progress-text{font-size:11px;color:var(--muted);margin-top:5px}.mobile-score-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.score-card{border:1px solid var(--line);border-radius:14px;padding:12px;gap:7px;background:white}.score-card>span{display:flex;justify-content:space-between;gap:4px;align-items:center}.score-card b{font-size:13px}.score-card small{font-size:10px;color:var(--muted);font-weight:500}.score-card input{font-size:25px;text-align:center;min-height:57px;font-weight:750;background:#fbfaff}.score-card input[aria-invalid=true]{border-color:#cc3d58;background:#fff0f3;outline:1px solid #cc3d58}.score-card input:disabled{background:#eee;opacity:.55}.student-nav{display:flex;gap:9px}.student-nav button{flex:1}.mobile-bottom{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;align-items:center;justify-content:space-around;gap:7px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#fffc;backdrop-filter:blur(18px);border-top:1px solid #e6e0f1;box-shadow:0 -6px 25px #30204a0b}.mobile-bottom a{font-size:12px;font-weight:750;padding:10px}.mobile-bottom button{font-size:11px;padding:8px 12px;color:white;background:var(--purple)}
 #analysis>.scroll{overflow:visible;border:0}#analysis table,#analysis tbody{display:block}#analysis thead{display:none}#analysis tbody{display:grid;gap:10px}#analysis tr{display:block;border:1px solid var(--line);border-radius:14px;padding:10px 13px}#analysis td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:7px 0;max-width:none;overflow-wrap:anywhere}#analysis td::before{content:attr(data-label);font-size:10px;color:var(--muted);font-weight:500}#analysis td:first-child{font-weight:800;color:var(--purple)}#analysis td:has(.meter){grid-template-columns:105px minmax(0,1fr)}#analysis td .meter{grid-column:2;margin-top:-6px}.report h3{margin-top:26px}header{align-items:start}.brand{font-size:15px}header>a:last-child{font-size:11px;margin-top:4px}footer{padding-bottom:15px}
}
