/* TahtaCep v11.6 classroom: calm, consistent and accessible */
.tc12-wrap{max-width:1450px;margin:0 auto;padding:30px clamp(14px,3vw,42px) 64px;color:#14283f;font-family:inherit}
.tc12-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}
.tc12-heading h1{font-size:clamp(26px,3vw,38px);line-height:1.18;letter-spacing:-.03em;margin:7px 0 9px}
.tc12-heading p{margin:0;color:#5b6d82;line-height:1.55}
.tc12-eyebrow{color:#1664c4;font-size:11px;letter-spacing:.12em;font-weight:800}
.tc12-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.tc12-card{background:#fff;border:1px solid #dce4ef;border-radius:16px;padding:24px;box-shadow:0 2px 8px #112a4510;margin-bottom:18px;min-width:0}
.tc12-card h2{margin:0 0 12px;font-size:20px;letter-spacing:-.015em;color:#182c46}
.tc12-card h3{margin:0 0 11px;font-size:17px}
.tc12-form{display:grid;gap:13px}.tc12-form label,.tc12-homework label{display:grid;gap:7px;font-size:13px;font-weight:650;color:#324963}
.tc12-form input,.tc12-form textarea,.tc12-form select,.tc12-homework textarea{background:#fff;color:#132b45;min-height:44px;border-radius:10px;border:1px solid #ccdae9;padding:10px 13px;width:100%;font:inherit;outline-offset:2px;box-sizing:border-box}
.tc12-form input:focus,.tc12-homework textarea:focus{outline:2px solid #84b6ef;border-color:#246dd4}
.tc12-form textarea,.tc12-homework textarea{resize:vertical;line-height:1.6}
.tc12-code{letter-spacing:.18em;font-weight:800;text-transform:uppercase}
.tc12-btn{border-radius:10px;border:1px solid #cbd9eb;background:#fff;color:#244366;min-height:42px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;cursor:pointer;font-size:13px;font-weight:750;box-sizing:border-box;white-space:nowrap}
.tc12-btn.primary{background:#2566d0;color:#fff;border-color:#2566d0}.tc12-btn.primary:hover{background:#1755b7}.tc12-btn.danger{border-color:#f5c9c9;background:#fff4f3;color:#a42e35}.tc12-btn.small{min-height:36px;padding:7px 13px}.tc12-btn.ghost{background:transparent}
.tc12-btn:disabled{opacity:.55;cursor:wait}
.tc12-small,.tc12-note,.tc12-empty{font-size:13px;line-height:1.7;color:#61748b}
.tc12-note{margin-top:15px;background:#f6f9fe;border:1px solid #e1eafb;padding:13px 15px;border-radius:10px}.tc12-note a{color:#1d5ec3;font-weight:700}
.tc12-section-head,.tc12-actions,.tc12-room-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tc12-section-head{margin-bottom:13px}.tc12-section-head h2,.tc12-section-head h3{margin:0}
.tc12-room-row{padding:15px 2px;border-bottom:1px solid #ecf0f5}.tc12-room-row:last-child{border-bottom:0}.tc12-room-row div{display:grid;gap:5px}.tc12-room-row strong{font-size:15px}.tc12-room-row span{font-size:12px;color:#63768d}
.tc12-big-code{font-size:clamp(32px,4vw,56px);font-weight:850;letter-spacing:.14em;color:#1c5ec3;margin:12px 0}
.tc12-list{display:grid;gap:12px}.tc12-item{border:1px solid #e5ebf4;border-radius:10px;padding:14px;background:#fbfcff;overflow-wrap:anywhere}.tc12-item p{white-space:pre-wrap;margin:8px 0;color:#34506e}.tc12-item strong{display:block}.tc12-item small{display:block;color:#6b7d92;font-size:12px;margin-top:5px}
.tc12-homework{padding:20px 0;border-bottom:1px solid #e1e8f2}.tc12-homework:last-child{border-bottom:0}.tc12-homework p{line-height:1.65;color:#36516e;white-space:pre-wrap}.tc12-homework textarea{display:block;margin-top:6px}.tc12-homework .tc12-actions{justify-content:flex-start;margin-top:14px}.tc12-homework small{color:#68809a}
.tc12-tag{font-size:11px;padding:5px 10px;background:#f0f4fa;color:#61758d;border-radius:99px}.tc12-tag.saved{background:#e6f5ed;color:#146739}
.tc12-student-head{display:flex;gap:20px;align-items:center;justify-content:space-between}.tc12-reveal{padding:12px;background:#f2f7fe;border:1px solid #d7e5fa;border-radius:10px;max-width:100%;overflow:hidden}.tc12-reveal code{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.8;margin:8px 0}
#tc12-flash{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:20010;border-radius:12px;padding:14px 21px;color:#fff;background:#153a65;box-shadow:0 10px 28px #10263b33;font-weight:650;max-width:min(90vw,620px);text-align:center}#tc12-flash.tc12-bad{background:#9b2529}#tc12-flash[hidden]{display:none}
.tc-nav-founder{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;background:#eaf2ff;border:1px solid #bcd5ff;border-radius:999px;font-weight:800;color:#0955b3;font-size:11px;line-height:1;white-space:nowrap}
.tc-nav-founder svg{width:15px;height:15px}
@media(max-width:850px){.tc12-cols{grid-template-columns:1fr}.tc12-heading{align-items:flex-start;flex-direction:column;gap:12px}.tc12-card{padding:18px}.tc12-student-head{align-items:flex-start;flex-direction:column}}
@media(max-width:540px){.tc12-wrap{padding:18px 14px 60px}.tc12-big-code{font-size:29px}.tc12-btn{white-space:normal}.tc-nav-founder{font-size:0;padding:5px}.tc-nav-founder svg{width:16px}}
