
/* app/globals.css */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');
.teacher-header-actions{position:relative;display:flex;align-items:center;gap:10px}.course-manager{position:relative}.desktop-header .add-course{min-width:145px}.course-menu-panel{position:absolute;right:0;top:52px;z-index:120;width:min(430px,calc(100vw - 30px));max-height:min(70vh,620px);overflow:auto;padding:16px;border:1px solid #e4ccd5;border-radius:16px;background:#fff;box-shadow:0 22px 55px #35101f40}.course-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.course-menu-heading b{font-size:20px;color:#781332}.course-menu-heading span{padding:5px 9px;border-radius:999px;background:#f7e9ee;color:#781332;font-size:12px;font-weight:800}.course-menu-panel>p{margin:8px 0 13px;color:#6f6168;font-size:13px}.course-option-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.course-option-list label{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px;border:1px solid #ead8de;border-radius:11px;background:#fffafd;cursor:pointer;font-size:13px;font-weight:700}.course-option-list label.selected{border-color:#9b1745;background:#faeaf0;color:#781332}.course-option-list input{width:18px;height:18px;accent-color:#8e123d}.course-option-list label span{flex:1}.course-option-list label i{font-size:10px;font-style:normal;color:#7b6a72}.course-menu-panel form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:12px}.course-menu-panel form input{min-width:0;padding:11px 12px;border:1px solid #dfc2cc;border-radius:10px}.desktop-header .course-menu-panel button{min-width:0}.course-menu-panel form button{padding:0 16px;border:0;border-radius:10px;background:#286ca4;color:#fff;font-weight:800}.desktop-header .close-course-menu{width:100%;min-width:0;margin-top:10px;padding:11px;border:0;border-radius:10px;background:#781332;color:#fff;font-weight:800}@media(max-width:760px){.teacher-header-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.course-menu-panel{position:fixed;left:12px;right:12px;top:78px;width:auto;max-height:calc(100dvh - 96px)}.course-option-list{grid-template-columns:1fr}.desktop-header .add-course{min-width:130px}}
.install-app-button{position:fixed;right:18px;bottom:18px;z-index:10000;border:0;border-radius:999px;background:#14875b;color:#fff;padding:13px 20px;font-weight:700;box-shadow:0 8px 24px #1235}.install-app-help{position:fixed;inset:0;z-index:10001;display:grid;place-items:center;padding:20px;background:#16071099}.install-app-help section{position:relative;width:min(430px,100%);border-radius:22px;background:#fff;padding:28px;color:#17213d}.install-app-help h2{margin:0 36px 16px 0;color:#8e123d}.install-app-help p{line-height:1.5}.install-app-help section>button:last-child{width:100%;border:0;border-radius:12px;background:#8e123d;color:#fff;padding:12px;font-weight:700}.install-help-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px}@media(max-width:700px){.install-app-button{right:12px;bottom:12px}}
:root{--wine:#781332;--rose:#cf5578;--ink:#17152b;--blue:#286ca4;--paper:#fffafb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}main{min-height:100vh;overflow:hidden}nav{height:82px;padding:0 clamp(24px,6vw,100px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eedde3;background:#fffdfd;position:relative;z-index:5}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--wine);font:700 25px 'Playfair Display',serif;letter-spacing:6px}.links{display:flex;gap:34px}.links a{color:#4c4452;text-decoration:none;font-weight:600;font-size:14px}.support,.primary{border:0;background:var(--wine);color:white;border-radius:14px;padding:14px 22px;font-weight:700;box-shadow:0 8px 20px #7813322b}.hero{min-height:650px;padding:75px clamp(24px,7vw,120px);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px;background:radial-gradient(circle at 10% 5%,#f9dbe5 0 16%,transparent 38%),radial-gradient(circle at 92% 70%,#dbeafb 0 12%,transparent 35%),linear-gradient(140deg,#fff9fa,#f8fbff)}.eyebrow,.heading>span{font-size:12px;letter-spacing:2.2px;color:var(--rose);font-weight:700}.copy h1{font:700 clamp(44px,5vw,74px)/1.04 'Playfair Display',serif;margin:24px 0}.copy h1 em{color:var(--rose)}.copy>p{font-size:18px;line-height:1.7;max-width:650px;color:#615665}.actions{display:flex;gap:16px;margin:34px 0}.primary,.secondary{display:inline-flex;text-decoration:none;align-items:center;padding:17px 24px}.secondary{color:var(--wine);font-weight:700;border:1px solid #e7bdca;border-radius:14px;background:#fff}.trust{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;color:#786b77}.preview{background:#ffffffdc;border:1px solid white;border-radius:26px;padding:26px;box-shadow:0 32px 70px #5c466326;backdrop-filter:blur(14px)}.preview header{display:flex;justify-content:space-between;align-items:center}.preview header b{font-size:20px}.preview header small{display:block;color:#8a7c88;margin-top:5px}.preview header i,.rolegrid i{display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,var(--rose),var(--wine));color:white;font-style:normal;font-weight:700}.preview header i{width:48px;height:48px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.metrics article{background:#fbf1f4;border-radius:15px;padding:16px}.metrics strong{display:block;font-size:28px;color:var(--wine)}.metrics small{color:#766876}.dash{display:grid;grid-template-columns:1.5fr 1fr;gap:12px}.dash>article{background:#f8fafc;padding:18px;border-radius:16px}.dash p{display:flex;gap:15px;padding:12px 0;border-bottom:1px solid #e5e8ee}.dash p span{color:var(--rose);font-weight:700}.score>strong{display:block;font-size:42px;color:var(--blue);margin:25px 0 8px}.score>div{height:8px;background:#d9e6ef;border-radius:20px}.score>div i{display:block;width:84%;height:100%;background:var(--blue);border-radius:20px}.score small{display:block;margin-top:10px;color:#567}.login{padding:95px clamp(24px,8vw,150px);background:#fff}.heading{text-align:center}.heading h2{font:700 clamp(34px,4vw,52px) 'Playfair Display',serif;margin:14px 0}.heading p{color:#786b77}.rolegrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:50px auto 24px;max-width:1100px}.rolegrid button{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:30px;border:1px solid #ecd9df;border-radius:22px;background:#fffbfc;text-align:left;cursor:pointer;transition:.25s;color:var(--ink)}.rolegrid button:hover,.rolegrid button.active{transform:translateY(-7px);box-shadow:0 18px 40px #5f263a1d;border-color:#d76b89}.rolegrid i{width:50px;height:50px}.rolegrid b{font-size:19px}.rolegrid small{color:#786b77;min-height:40px}.rolegrid span{color:var(--rose);font-weight:700}.loginbar{max-width:1100px;margin:auto;border-radius:18px;padding:18px 22px;background:#f7edf1;display:flex;justify-content:space-between;align-items:center}.loginbar div{display:flex;flex-direction:column;gap:5px}.login-open{border:0;border-radius:12px;background:var(--blue);color:white;padding:14px 18px;font-weight:700;text-decoration:none;text-align:center}.features{padding:70px clamp(24px,8vw,150px);background:var(--wine);color:white;display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.features article{border-top:1px solid #ffffff52;padding-top:24px}.features span{color:#f3a6bc;font-weight:700}.features h3{font:700 29px 'Playfair Display',serif;margin:14px 0}.features p{color:#f6dfe6;line-height:1.6}footer{padding:45px clamp(24px,6vw,100px);display:flex;align-items:center;gap:35px}footer p{flex:1;color:#6e626c}footer small{color:#8c7d88}.admin-gear{position:fixed;right:22px;bottom:22px;z-index:30;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,var(--rose),var(--wine));color:#fff;text-decoration:none;font-size:29px;line-height:1;box-shadow:0 12px 28px #42101f55;border:2px solid #fff;transition:transform .2s ease,box-shadow .2s ease}.admin-gear:hover{transform:translateY(-3px) rotate(18deg);box-shadow:0 16px 34px #42101f66}.admin-gear:focus-visible{outline:4px solid #286ca455;outline-offset:3px}@media(max-width:900px){.links{display:none}.hero{grid-template-columns:1fr;padding-top:55px}.rolegrid,.features{grid-template-columns:1fr}.loginbar{gap:18px;align-items:stretch;flex-direction:column}}@media(max-width:560px){.admin-gear{right:16px;bottom:16px;width:52px;height:52px;font-size:26px}nav{height:70px}.support{padding:11px 13px;font-size:12px}.hero{padding:45px 20px}.copy h1{font-size:40px}.actions{flex-direction:column}.trust{flex-direction:column}.metrics,.dash{grid-template-columns:1fr}.login{padding:65px 20px}footer{align-items:flex-start;flex-direction:column}}


.public-news{padding:85px clamp(24px,7vw,120px);background:#fff}.public-news-head{max-width:760px;margin-bottom:34px}.public-news-head span{font-size:12px;letter-spacing:2px;color:#cf5578;font-weight:800}.public-news-head h2{font:700 clamp(34px,4vw,52px) Georgia,serif;margin:12px 0}.public-news-head p{color:#685e68;font-size:17px;line-height:1.6}
.search-about{max-width:1180px;margin:24px auto;padding:32px;border-radius:22px;background:#fff7fa;color:#28141d;text-align:center}.search-about>span{color:#9b1549;font-size:12px;font-weight:900;letter-spacing:.14em}.search-about h2{margin:8px auto 12px;max-width:780px;font-size:clamp(24px,4vw,38px);color:#194575}.search-about p{max-width:850px;margin:8px auto;color:#67565f;line-height:1.65}@media(max-width:760px){.search-about{margin:14px;padding:24px 18px;border-radius:18px}}
.install-guide-card{max-height:min(90vh,760px);overflow:auto}.install-guide-icon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 12px;border-radius:18px;background:linear-gradient(145deg,#9e1648,#6f0d31);color:#fff;font:800 28px/1 Georgia,serif;box-shadow:0 8px 20px #8e123d33}.install-guide-card h2{text-align:center;margin:0 34px 8px;color:#791137}.install-guide-lead{text-align:center;margin:0 0 18px;color:#6e6470;font-size:14px}.install-guide-steps{list-style:none;margin:0;padding:0;display:grid;gap:10px}.install-guide-steps li{display:flex;gap:12px;padding:11px;border-radius:14px;background:#fbf4f7}.install-guide-steps li>span{flex:0 0 30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#8e123d;color:#fff;font-weight:800}.install-guide-steps b{display:block;color:#301626}.install-guide-steps p{margin:3px 0 0;font-size:13px;line-height:1.35;color:#766873}.install-download-status{padding:10px 12px;border-radius:12px;background:#e8f8ef;color:#16704d;font-weight:700;font-size:13px}.install-guide-actions{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:16px}.install-guide-actions button,.install-guide-actions a{border:0;border-radius:12px;padding:12px 15px;font-weight:800;text-align:center;text-decoration:none}.install-download-button{background:#13845a;color:#fff}.install-cancel-button{background:#eee8eb;color:#583544}.install-guide-card>small{display:block;margin-top:12px;text-align:center;color:#857680}@media(max-width:520px){.install-app-help{align-items:end;padding:0}.install-app-help section{width:100%;max-height:94vh;border-radius:24px 24px 0 0;padding:22px 18px}.install-guide-actions{grid-template-columns:1fr}.install-cancel-button{order:2}}

.install-guide-actions .install-direct-link{background:#f2edf0;color:#6f2945;font-size:13px;display:grid;place-items:center}
/* Birleşik not merkezi */
.all-grades-page{display:grid;gap:18px;background:#fff;border:1px solid #ecd4dc;border-radius:24px;padding:24px;box-shadow:0 14px 35px #5d183113;min-width:0}.all-grades-page>header{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:4px 4px 18px;border-bottom:1px solid #f0dde3}.all-grades-page>header span,.student-all-grades>header span{font-size:12px;font-weight:900;letter-spacing:.16em;color:#99133f}.all-grades-page h2,.student-all-grades h2{margin:5px 0;font-size:30px}.all-grades-page header p,.student-all-grades header p{margin:0;color:#756873}.all-grades-page header label{display:grid;gap:6px;font-weight:800}.all-grades-page header select{min-width:150px;padding:11px 14px;border:1px solid #dfbdc9;border-radius:12px;background:#fff}.all-grades-legend{display:flex;gap:22px;flex-wrap:wrap;color:#5f5660;font-size:14px}.all-grades-legend span{display:flex;align-items:center;gap:7px}.all-grades-legend i{width:12px;height:12px;border-radius:50%}.all-grades-legend .exam{background:#1c74a7}.all-grades-legend .activity{background:#278c69}.all-grades-legend .performance{background:#8b46a7}.all-grades-table-wrap{overflow:auto;border:1px solid #ead7de;border-radius:16px;max-height:62vh}.all-grades-table-wrap table{width:100%;min-width:1180px;border-collapse:collapse}.all-grades-table-wrap th{position:sticky;top:0;z-index:1;background:#7f8fab;color:#fff;padding:14px 10px;white-space:nowrap}.all-grades-table-wrap td{padding:13px 10px;text-align:center;border-bottom:1px solid #f0dfe5;font-size:16px}.all-grades-table-wrap tbody tr:nth-child(even){background:#fff5f8}.all-grades-table-wrap td:first-child{text-align:left;min-width:220px}.all-grades-table-wrap td:first-child small{display:block;color:#877a83;margin-top:3px}.all-grades-table-wrap .exam-score{color:#145f8d;font-weight:900}.all-grades-table-wrap .activity-score{color:#147352;font-weight:900}.all-grades-table-wrap .performance-score{color:#71358b;font-weight:900}.all-grades-note{margin:0;color:#6d626a;font-size:13px}.all-grades-message{background:#fff0f0;color:#9b2525;padding:12px;border-radius:12px}.all-grades-loading{padding:40px;text-align:center}
.all-grades-table-wrap table{min-width:1830px;table-layout:fixed}.all-grades-table-wrap th:not(.student-heading){width:92px;min-width:92px;height:64px;padding:7px 5px;font-size:11px;line-height:1.15;white-space:normal;text-align:center;vertical-align:middle;border-right:1px solid #ffffff42}.all-grades-table-wrap th span,.all-grades-table-wrap th small{display:block}.all-grades-table-wrap th span{font-weight:900}.all-grades-table-wrap th small{margin-top:3px;font-size:10px;font-weight:700;opacity:.92}.all-grades-table-wrap .student-heading{width:205px;min-width:205px}.all-grades-table-wrap th.behavior-heading{background:#b05a70}.all-grades-table-wrap th.activity-heading{background:#328266}.all-grades-table-wrap th.film-heading{background:#b98232}.all-grades-table-wrap th.written-heading{background:#356f9f}.all-grades-table-wrap th.performance-heading{background:#83509b}.all-grades-table-wrap td{height:56px;padding:8px 5px;border-right:1px solid #eadde2;font-size:15px}.all-grades-table-wrap td:not(:first-child){background:linear-gradient(135deg,#fff 0 72%,#f7f1f4 72%)}.all-grades-table-wrap tbody tr:nth-child(even) td:not(:first-child){background:linear-gradient(135deg,#fff8fa 0 72%,#f0e5e9 72%)}.all-grades-table-wrap .behavior-score{color:#9a3552;font-weight:900;background-color:#fff4f7!important}.all-grades-table-wrap .film-score{color:#996015;font-weight:900;background-color:#fff9ed!important}.all-grades-table-wrap .written-score{color:#225f91;font-weight:900;background-color:#f1f8ff!important}.all-grades-table-wrap .performance-score{background-color:#faf4ff!important}
.student-all-grades{display:grid;gap:18px}.student-all-grades>header{padding:24px;border-radius:22px;background:linear-gradient(120deg,#fff1f5,#edf7ff);border:1px solid #ebd5dd}.student-all-grades>div{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:14px}.student-all-grades article{min-height:130px;padding:20px;border-radius:20px;background:#fff;border:1px solid #eadde2;box-shadow:0 10px 24px #51142d0d;display:flex;flex-direction:column;gap:7px}.student-all-grades article span{font-weight:800;color:#5e5360}.student-all-grades article b{font-size:35px}.student-all-grades article small{color:#897e86}.student-all-grades article.exam{border-top:5px solid #1c74a7}.student-all-grades article.activity{border-top:5px solid #278c69}.student-all-grades article.performance{border-top:5px solid #8b46a7}.student-all-grades>p{color:#6c6269}
@media(max-width:900px){.all-grades-page{padding:14px;border-radius:18px}.all-grades-page>header{align-items:stretch;flex-direction:column}.all-grades-page header select{width:100%}.all-grades-table-wrap{max-height:66vh}.student-all-grades>div{grid-template-columns:repeat(2,minmax(0,1fr))}.student-all-grades article{min-height:105px;padding:16px}.student-all-grades article b{font-size:29px}}
.all-grades-table-wrap th.sortable-heading{padding:0;transition:filter .18s ease,box-shadow .18s ease,transform .18s ease}.all-grades-table-wrap th.sortable-heading:hover{z-index:3;filter:brightness(1.12);box-shadow:0 7px 18px #14213d55 inset,0 4px 12px #14213d33}.all-grades-table-wrap th.sortable-heading:active{transform:translateY(1px)}.all-grades-table-wrap th.sortable-heading.is-sorted{box-shadow:inset 0 -4px 0 #ffe36e}.all-grades-table-wrap th.sortable-heading button{width:100%;height:64px;padding:7px 18px 7px 5px;border:0;background:transparent;color:inherit;font:inherit;line-height:inherit;cursor:pointer;position:relative}.all-grades-table-wrap th.sortable-heading button:focus-visible{outline:3px solid #ffe36e;outline-offset:-4px}.all-grades-table-wrap th.sortable-heading button i{position:absolute;right:5px;top:50%;transform:translateY(-50%);font-size:10px;font-style:normal;color:#fff;opacity:.72}.all-grades-table-wrap th.sortable-heading.is-sorted button i{color:#ffe36e;opacity:1}.all-grades-table-wrap th.student-heading.sortable-heading button{text-align:center;font-size:16px}
@media(min-width:901px){.all-grades-page{gap:10px;padding:14px 18px 12px;margin-top:-12px}.all-grades-page>header{padding:0 4px 10px}.all-grades-page h2{margin:2px 0;font-size:27px}.all-grades-page header p{font-size:14px}.all-grades-page header select{padding:8px 12px}.all-grades-legend{gap:18px;font-size:13px}.all-grades-table-wrap{height:calc(100dvh - 320px);min-height:500px;max-height:none}.all-grades-table-wrap th:not(.student-heading){height:52px;padding:5px 4px}.all-grades-table-wrap th.sortable-heading button{height:52px;padding-top:5px;padding-bottom:5px}.all-grades-table-wrap td{height:43px;padding:4px 5px;font-size:14px}.all-grades-table-wrap td:first-child small{margin-top:0;font-size:12px}.all-grades-note{font-size:12px}}

.copy .hero-title{display:grid;gap:14px;margin:18px 0 28px}
.hero-title span{display:block;color:var(--ink);font-size:clamp(48px,6.4vw,92px);line-height:.92;letter-spacing:-.045em}
.hero-title em{display:flex;align-items:center;gap:13px;color:var(--wine);font:700 clamp(22px,2.5vw,36px)/1.15 'DM Sans',sans-serif;letter-spacing:.015em;text-transform:uppercase}
.hero-title em:before{content:"";width:54px;height:5px;flex:0 0 54px;border-radius:99px;background:linear-gradient(90deg,var(--wine),var(--rose))}
@media(max-width:560px){.hero-title span{font-size:49px}.hero-title em{align-items:flex-start;font-size:20px}.hero-title em:before{width:32px;height:4px;flex-basis:32px;margin-top:9px}}

.exit-guard-backdrop{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:20px;background:#17152bb8;backdrop-filter:blur(6px)}
.exit-guard-dialog{width:min(520px,100%);padding:30px;border:1px solid #edcbd7;border-radius:24px;background:#fff;color:#241822;text-align:center;box-shadow:0 28px 80px #170b1459;font-family:"Segoe UI",Arial,sans-serif}
.exit-guard-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:20px;background:linear-gradient(135deg,#781332,#cf5578);color:#fff;font-size:31px;font-weight:900}
.exit-guard-dialog h2{margin:0 0 10px;color:#61112d;font:700 28px/1.2 Georgia,serif}
.exit-guard-dialog>p{margin:0 auto 22px;max-width:410px;color:#655761;font-size:16px;line-height:1.55}
.exit-guard-dialog .exit-guard-error{margin:0 0 16px;padding:11px 13px;border-left:4px solid #c92c4f;border-radius:10px;background:#fff0f2;color:#8a1835;font-weight:700;text-align:left}
.exit-guard-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.exit-guard-actions button{min-height:52px;border-radius:13px;padding:10px 14px;font:800 15px/1.25 "Segoe UI",Arial,sans-serif;cursor:pointer}
.exit-guard-actions button:disabled{opacity:.62;cursor:wait}
.exit-guard-stay{border:2px solid #397eb7;background:#eef7ff;color:#174f7c}
.exit-guard-save{border:0;background:linear-gradient(135deg,#781332,#cf5578);color:#fff;box-shadow:0 9px 20px #78133235}
.exit-guard-actions button:focus-visible{outline:4px solid #397eb74d;outline-offset:2px}
@media(max-width:560px){.exit-guard-backdrop{align-items:end;padding:12px}.exit-guard-dialog{padding:24px 18px calc(20px + env(safe-area-inset-bottom));border-radius:22px}.exit-guard-dialog h2{font-size:24px}.exit-guard-actions{grid-template-columns:1fr}.exit-guard-stay{order:2}.exit-guard-save{order:1}}
.persistent-login-note{padding:11px 13px;border-radius:11px;background:#eaf8f1;color:#176e50;font-size:14px;font-weight:700}
.social-clubs-page{display:grid;gap:18px}.club-search{display:grid;gap:7px;max-width:560px}.club-search span{font-weight:800;color:#6e1736}.club-search input{width:100%;padding:13px 15px;border:1px solid #dfbdc9;border-radius:13px;background:#fff;font:inherit}.club-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:58vh;overflow:auto;padding-right:6px}.club-list button{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:11px;min-height:58px;padding:10px 13px;border:1px solid #ead7de;border-radius:14px;background:#fffafd;color:#2b1c25;text-align:left;cursor:pointer}.club-list button:hover{border-color:#b8446b;background:#fff1f6}.club-list i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f3dce5;color:#7b1238;font-style:normal;font-weight:900}.club-list span{font-weight:750}.club-list b{color:#9a1745;font-size:12px;white-space:nowrap}@media(max-width:760px){.club-list{grid-template-columns:1fr;max-height:none}.club-list button{grid-template-columns:34px 1fr}.club-list b{display:none}}
.social-club-detail{display:grid;gap:22px}.club-back-button{justify-self:start;border:1px solid #dfbdc9;border-radius:999px;background:#fff7fa;color:#82123d;padding:9px 14px;font-weight:800;cursor:pointer}.club-detail-heading>span{color:#9b1745;font-size:11px;font-weight:900;letter-spacing:.14em}.club-detail-heading h2{margin:8px 0 7px;font-size:clamp(28px,4vw,42px);color:#17355e}.club-detail-heading p{margin:0;color:#6e626b}.club-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.club-detail-actions button{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:78px;padding:18px 24px;border:1px solid #dfe4e8;border-radius:18px;background:#fff;color:#17355e;text-align:left;font:800 19px/1.3 inherit;box-shadow:0 12px 28px #273c5910;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.club-detail-actions button:hover{transform:translateY(-2px);border-color:#c75b7e;box-shadow:0 16px 32px #74204018}.club-detail-actions b{color:#aab4bd;font-size:33px;font-weight:400;line-height:1}@media(max-width:760px){.club-detail-actions{grid-template-columns:1fr}.club-detail-actions button{min-height:66px;padding:15px 18px;font-size:17px}}
.install-guide-card>.install-download-button,.install-guide-card>.install-cancel-button{display:block;width:100%;margin-top:10px;border:0;border-radius:12px;padding:13px 15px;text-align:center;text-decoration:none;font-weight:800}

/* app/brand.css */
.brand img{display:block;width:155px;height:58px;object-fit:contain}
.desktop-logo img,.student-logo img,.admin-brand img{display:block;width:100%;max-width:205px;height:82px;margin:auto;object-fit:contain;background:#fffaf4;border-radius:15px;padding:8px}
.logo-splash-trigger{display:block;width:100%;border:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.logo-splash-trigger:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:17px}
.maiyy-logo-splash{position:fixed;inset:0;z-index:30000;display:grid;place-items:center;padding:24px;background:#170610b8;backdrop-filter:blur(7px);animation:maiyySplashIn .18s ease-out,maiyySplashOut .35s ease-in 1.65s forwards;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.maiyy-logo-splash img{display:block;width:min(1050px,92vw);max-height:78dvh;object-fit:contain;padding:clamp(15px,3vw,34px);border-radius:26px;background:#fffaf4;box-shadow:0 25px 85px #0009}
@keyframes maiyySplashIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes maiyySplashOut{to{opacity:0;transform:scale(.985)}}
.auth-brand>a img,.family-brand>a img{display:block;width:min(330px,82vw);height:auto;max-height:132px;object-fit:contain;background:#fffaf4;border-radius:18px;padding:10px 14px}
.chat-page nav a img,.guardian-page nav a img{display:block;width:130px;height:52px;object-fit:contain}
.chat-page nav a:first-child,.guardian-page nav a:first-child{letter-spacing:0}
@media(max-width:760px){.desktop-logo img,.student-logo img{max-width:190px;height:74px}.brand img{width:130px;height:50px}.maiyy-logo-splash{padding:12px}.maiyy-logo-splash img{width:96vw;max-height:72dvh;padding:14px;border-radius:18px}}

/* Öğrenci yan menüsünde genel nav arka planını ve mobil taşmayı sıfırla. */
.student-sidebar nav{display:grid!important;height:auto!important;width:100%!important;padding:0!important;gap:9px!important;border:0!important;background:transparent!important;position:static!important;align-items:stretch!important;justify-content:initial!important}
@media(max-width:850px){.student-sidebar{height:100dvh!important;min-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.student-sidebar nav{flex:none!important}}

/* components/news.css */
.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.news-grid-full{grid-template-columns:repeat(3,minmax(0,1fr))}.news-tile{position:relative;overflow:hidden;border:1px solid #ead9df;border-radius:18px;background:#fff;text-align:left;padding:0;color:#211d2b;cursor:pointer;box-shadow:0 10px 24px #42152812;font-family:Arial,"Segoe UI",sans-serif}.news-tile>img{width:100%;height:160px;object-fit:cover;background:#e9edf2}.news-tile>div{padding:16px}.news-tile small{color:#746a72;font-size:12px}.news-tile h3{font-size:18px;line-height:1.35;margin:8px 0;color:#251d2c}.news-tile p{font-size:14px;line-height:1.55;color:#5f5660;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.news-tile b{color:#8e123d}.news-kind{position:absolute;top:12px;left:12px;color:#fff;background:#8e123d;border-radius:20px;padding:7px 10px;font-size:10px;font-weight:900;letter-spacing:.7px}.news-kind.district{background:#236d9f}.news-kind.meb{background:#28795e}.news-kind.culture{background:#8b5a16}.news-loading{padding:35px;text-align:center;color:#756875}.news-modal{position:fixed;inset:0;z-index:200;background:#17152bb8;display:grid;place-items:center;padding:20px}.news-modal article{position:relative;width:min(680px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:25px;font-family:Arial,"Segoe UI",sans-serif}.news-modal article>img{width:100%;height:270px;object-fit:cover;border-radius:14px}.news-modal article>span{display:block;color:#8e123d;font-weight:800;margin-top:18px}.news-modal h2{font:700 30px/1.25 Georgia,serif}.news-modal p{font-size:17px;line-height:1.7;color:#514954}.news-modal a{display:inline-block;background:#781332;color:#fff;text-decoration:none;padding:13px 18px;border-radius:11px;font-weight:800}.news-close{position:absolute;right:34px;top:34px;width:40px;height:40px;border:0;border-radius:50%;font-size:27px;background:#fff;color:#781332}@media(max-width:900px){.news-grid-full{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.news-grid,.news-grid-full{grid-template-columns:1fr}.news-tile>img{height:190px}.news-modal article{padding:16px}.news-modal article>img{height:200px}.news-modal h2{font-size:24px}}
/* Haber özeti, ana sayfadaki yatay haber kartı kurallarından bağımsızdır. */
.news-card .news-modal article,
.news-page .news-modal article,
.news-modal article{
  display:block;
  width:min(720px,calc(100vw - 40px));
  max-height:calc(100vh - 40px);
  overflow-y:auto;
  overflow-x:hidden;
  padding:24px;
  border:0;
  text-align:left;
}
.news-card .news-modal article>img,
.news-page .news-modal article>img,
.news-modal article>img{
  display:block;
  width:100%;
  height:300px;
  min-height:0;
  object-fit:cover;
  border-radius:14px;
}
.news-card .news-modal article>span,
.news-page .news-modal article>span,
.news-modal article>span{display:block;width:auto;margin:18px 0 0}
.news-card .news-modal h2,
.news-page .news-modal h2,
.news-modal h2{width:auto;margin:10px 0 14px;font-size:30px;line-height:1.25}
.news-card .news-modal p,
.news-page .news-modal p,
.news-modal p{display:block;width:auto;margin:0 0 20px;font-size:17px;line-height:1.7;color:#514954}
.news-card .news-modal a,
.news-page .news-modal a,
.news-modal a{display:inline-block;width:auto;white-space:normal}
@media(max-width:620px){
  .news-card .news-modal article,.news-page .news-modal article,.news-modal article{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:14px}
  .news-card .news-modal article>img,.news-page .news-modal article>img,.news-modal article>img{height:210px}
  .news-card .news-modal h2,.news-page .news-modal h2,.news-modal h2{font-size:23px}
  .news-card .news-modal p,.news-page .news-modal p,.news-modal p{font-size:16px;line-height:1.6}
}
.news-refresh-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:12px 14px;border:1px solid #ead9df;border-radius:14px;background:#fff8fa;color:#6f626a;font-size:13px}
.news-refresh-bar button{min-height:42px;border:0;border-radius:11px;background:#86143a;color:#fff;padding:0 18px;font-weight:800;cursor:pointer;box-shadow:0 7px 16px #6b153029}
.news-refresh-bar button:hover{background:#6e102f}.news-refresh-bar button:disabled{opacity:.65;cursor:wait}
@media(max-width:620px){.news-refresh-bar{align-items:flex-start;flex-direction:column}.news-refresh-bar button{width:100%}}

/* app/giris/giris.css */
:root{--wine:#781332;--rose:#cf5578;--ink:#17152b;--blue:#286ca4;--paper:#fffafb}*{box-sizing:border-box}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:var(--paper);font-family:Arial,sans-serif;color:var(--ink)}.auth-brand{padding:48px clamp(30px,7vw,110px);background:radial-gradient(circle at 15% 10%,#d75479 0 12%,transparent 35%),linear-gradient(145deg,#6d0e2c,#8e2142 55%,#234e79);color:white;display:flex;flex-direction:column;justify-content:space-between}.auth-brand>a{color:white;text-decoration:none;font:700 28px Georgia,serif;letter-spacing:7px}.auth-brand span{font-size:11px;letter-spacing:2px;color:#f4b6c8}.auth-brand h1{font:700 clamp(42px,5vw,72px)/1.05 Georgia,serif;max-width:700px;margin:22px 0}.auth-brand p{font-size:18px;line-height:1.7;color:#f8dce4;max-width:590px}.auth-panel{display:grid;place-items:center;padding:35px}.auth-card{width:min(100%,520px);background:white;border:1px solid #ecd8df;border-radius:26px;padding:36px;box-shadow:0 30px 70px #5c2b3b20}.back{color:#6f5d67;text-decoration:none;font-weight:700}.secure{display:block;color:#2a966d;font-size:11px;font-weight:800;letter-spacing:1.5px;margin:32px 0 10px}.auth-card h2{font:700 38px Georgia,serif;margin:0 0 8px}.auth-card>p{color:#776a74}.role-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;background:#f8eef2;padding:6px;border-radius:14px;margin:25px 0}.role-tabs button{border:0;background:transparent;padding:12px 6px;border-radius:10px;font-weight:700;color:#74616b;cursor:pointer}.role-tabs button.active{background:white;color:var(--wine);box-shadow:0 5px 14px #6f1a3420}.auth-card form{display:grid;gap:17px}.auth-card label{display:grid;gap:8px;font-size:14px;font-weight:700}.auth-card input{width:100%;height:50px;border:1px solid #ddc9d0;border-radius:12px;padding:0 14px;font-size:16px;outline:none}.auth-card input:focus{border-color:var(--rose);box-shadow:0 0 0 4px #cf55781a}.password-field{position:relative;display:block}.password-field input{padding-right:78px}.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:#f8eef2;color:var(--wine);border-radius:8px;padding:8px 10px;font-weight:800;cursor:pointer}.password-toggle:focus-visible{outline:3px solid #cf55784d;outline-offset:2px}.auth-card label.remember-me{display:flex;grid-template-columns:none;align-items:center;gap:9px;width:max-content;cursor:pointer}.auth-card .remember-me input{width:19px;height:19px;accent-color:var(--wine);margin:0}.auth-submit{height:52px;border:0;border-radius:13px;background:linear-gradient(135deg,var(--wine),var(--rose));color:white;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 10px 22px #78133235}.auth-submit:disabled{opacity:.65}.forgot-password{border:0;background:transparent;color:var(--blue);font-weight:800;padding:4px;cursor:pointer}.forgot-password:disabled{opacity:.55}.auth-error{background:#fff0f2;color:#a30f35;border-left:4px solid #cf315b;padding:12px;border-radius:9px}.activation{margin-top:24px;border-top:1px solid #eee0e5;padding-top:22px}.activation p{font-size:13px;color:#766773;line-height:1.5}.activation button,.activation a{border:0;background:transparent;color:var(--blue);font-weight:800;padding:0;cursor:pointer;text-decoration:none}@media(max-width:850px){.auth-page{grid-template-columns:1fr}.auth-brand{min-height:300px;gap:80px}.auth-brand h1{font-size:42px}.auth-panel{padding:20px}.auth-card{padding:26px}}@media(max-width:460px){.auth-brand{padding:30px 22px}.auth-brand h1{font-size:36px}.auth-panel{padding:12px}.auth-card{border-radius:20px}.role-tabs{grid-template-columns:repeat(2,1fr)}.role-tabs button{font-size:12px}}

.login-admin-gear{position:fixed;right:22px;bottom:22px;z-index:40;width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,var(--rose),var(--wine));color:#fff;text-decoration:none;font-size:29px;line-height:1;box-shadow:0 12px 28px #42101f55;border:2px solid #fff;transition:transform .2s ease,box-shadow .2s ease}.login-admin-gear:hover{transform:translateY(-3px) rotate(18deg);box-shadow:0 16px 34px #42101f66}.login-admin-gear:focus-visible{outline:4px solid #286ca455;outline-offset:3px}@media(max-width:560px){.login-admin-gear{right:15px;bottom:15px;width:52px;height:52px;font-size:26px}}

/* app/panel.css */
﻿.role-page{min-height:100vh;background:linear-gradient(135deg,#fff7fa 0%,#f4f8ff 100%);color:#17213d;font-family:Arial,sans-serif}.role-page nav{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 6vw;background:#fff;border-bottom:1px solid #edd8e0}.role-page nav a{font-family:Georgia,serif;font-size:25px;letter-spacing:7px;color:#7d1237;text-decoration:none}.role-page nav span{color:#2d856e}.role-page section{max-width:760px;margin:12vh auto;padding:54px;border:1px solid #edd8e0;border-radius:28px;background:rgba(255,255,255,.92);box-shadow:0 22px 70px rgba(78,33,56,.12)}.role-page h1{font-size:44px;margin:8px 0 16px}.role-page section>p{font-size:19px;line-height:1.65;color:#62677a}.role-page .eyebrow{font-size:12px;letter-spacing:4px;color:#c84670;font-weight:800}.status{margin:28px 0;padding:16px 20px;border-radius:14px;background:#eaf9f3;color:#167458;font-weight:700}.home-link{display:inline-block;padding:13px 20px;border-radius:12px;background:#8a153d;color:white;text-decoration:none;font-weight:700}

.student-app-page{min-height:100dvh;overflow-x:hidden;background:linear-gradient(135deg,#fff7fa 0%,#f4f8ff 100%)}
.student-app-page>nav button.student-brand{border:0;background:transparent;font-family:Georgia,serif;font-size:25px;letter-spacing:7px;color:#7d1237;cursor:pointer}
.student-app-page>nav>a{font-family:Arial,sans-serif;font-size:15px;letter-spacing:0;font-weight:800}
.student-home{max-width:980px!important;margin:7vh auto!important;padding:clamp(28px,5vw,58px)!important}
.student-home h1{margin-top:10px}
.student-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:30px}
.student-home-grid button,.student-home-grid article{display:grid;gap:10px;align-content:start;min-height:210px;padding:26px;border:1px solid #ead6de;border-radius:20px;background:#fff;text-align:left;color:#34242b;box-shadow:0 10px 30px #6b294212}
.student-home-grid button{cursor:pointer}
.student-home-grid button:hover{transform:translateY(-2px);border-color:#b84a70}
.student-home-grid i{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#8e123d;color:#fff;font-size:22px;font-style:normal}
.student-home-grid b{font-size:22px;color:#7d1237}
.student-home-grid span{line-height:1.55;color:#71646a}
.student-home-grid em{margin-top:auto;color:#16815d;font-style:normal;font-weight:800}
@media(max-width:700px){.student-app-page>nav{height:64px;padding:0 16px}.student-app-page>nav button.student-brand{font-size:18px;letter-spacing:4px}.student-app-page>nav strong{font-size:14px}.student-home{margin:18px 12px!important;padding:28px 20px!important}.student-home h1{font-size:34px}.student-home-grid{grid-template-columns:1fr}}

/* Öğrenci paneli */
.student-shell{min-height:100vh;background:radial-gradient(circle at 8% 4%,#f2a2b9 0 13%,transparent 13.2%),radial-gradient(circle at 102% 100%,#418bc0 0 14%,transparent 14.2%),linear-gradient(135deg,#fff8fa,#f4f9fd);color:#211b31;display:grid;grid-template-columns:280px 1fr;padding:24px;gap:24px}.student-sidebar{background:linear-gradient(180deg,#7e123a,#66132f);color:#fff;border-radius:28px;padding:24px 18px;box-shadow:0 18px 40px #51132f40;display:flex;flex-direction:column;min-height:calc(100vh - 48px)}.student-logo{border:0;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;gap:10px;padding:10px;cursor:pointer}.student-logo span{font-size:30px}.student-logo b{font:700 29px Georgia;letter-spacing:12px}.student-identity{margin:20px 4px;padding:16px;border:1px solid #ffffff25;border-radius:16px;display:grid;gap:5px}.student-identity span{font-size:13px;color:#f4c7d5}.student-sidebar nav{display:grid;gap:9px}.student-sidebar nav button{border:1px solid #ffffff24;background:transparent;color:#fff;border-radius:14px;padding:13px 14px;text-align:left;font-weight:750;font-size:15px;cursor:pointer}.student-sidebar nav button i{font-style:normal;width:30px;display:inline-block}.student-sidebar nav button.active,.student-sidebar nav button:hover{background:#cf5d7e}.student-sidebar>a{margin-top:auto;color:#fff;text-decoration:none;border-top:1px solid #ffffff24;padding:18px 12px 4px;font-weight:700}.student-main{min-width:0}.student-main>header{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 10px}.student-main>header small{color:#9d1543;font-weight:850;letter-spacing:2px}.student-main>header h1{margin:4px 0 0;font:700 30px Georgia}.student-main>header button{border:0;border-radius:15px;background:#a51145;color:#fff;padding:14px 20px;font-weight:800;cursor:pointer;box-shadow:0 8px 18px #8b174039}.student-dashboard,.student-records,.student-behavior-list,.student-module-card,.student-state{background:#fffdfef2;border:1px solid #ead8df;border-radius:24px;padding:28px;box-shadow:0 15px 35px #223e5814}.student-welcome{padding:30px;border-radius:22px;background:linear-gradient(120deg,#fff2f6,#eef7fd)}.student-welcome span{color:#a31647;font-weight:800}.student-welcome h2{font:700 38px Georgia;margin:8px 0}.student-welcome p{font-size:17px;line-height:1.6;color:#685b65;max-width:750px}.student-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:20px}.student-summary button{border:1px solid #ead8df;background:#fff;border-radius:18px;padding:20px;text-align:left;display:grid;gap:7px;cursor:pointer}.student-summary i{font-style:normal;font-size:26px;color:#a31446}.student-summary b{font-size:24px}.student-summary span{color:#766773}.privacy-note{background:#eaf8f1;color:#14724f;padding:14px;border-radius:13px;margin:20px 0 0}.student-records{display:grid;gap:18px}.student-records article{border:1px solid #ead8df;border-radius:18px;overflow:hidden}.student-records article>header{padding:18px 20px;background:#fff4f7;display:flex;justify-content:space-between;align-items:center}.student-records h2{margin:0 0 5px;font-size:21px}.student-records header span,.student-records header small{color:#796873}.student-grade-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;padding:18px}.student-grade-grid div{background:#f4f8fc;border-radius:14px;padding:15px;display:grid;gap:6px}.student-grade-grid span{font-size:13px;color:#6f6870}.student-grade-grid b{font-size:25px;color:#174d79}.student-behavior-list{display:grid;gap:14px}.student-behavior-list article{display:flex;gap:16px;border:1px solid #e3d9dd;border-radius:16px;padding:18px}.student-behavior-list article>i{font-style:normal;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:900}.student-behavior-list article.plus>i{background:#dff6ea;color:#18865d}.student-behavior-list article.minus>i{background:#fff0e8;color:#bd5524}.student-behavior-list p{margin:7px 0}.student-behavior-list small{color:#7e7179}.student-module-card{text-align:center;min-height:520px;display:flex;flex-direction:column;align-items:center;justify-content:center}.student-module-card>i,.student-empty>i{font-style:normal;width:80px;height:80px;border-radius:24px;background:linear-gradient(135deg,#ae1b50,#235b8a);color:#fff;display:grid;place-items:center;font-size:36px}.student-module-card h2{font:700 32px Georgia;margin:20px 0 10px}.student-module-card p{max-width:650px;color:#70636d;line-height:1.6}.student-module-info{padding:18px;background:#edf6fc;border-radius:14px;color:#245678;margin-top:15px}.student-upload{background:#179567;color:#fff;border-radius:15px;padding:16px 22px;font-weight:800;margin:18px;cursor:pointer}.student-upload input{display:none}.student-upload-ready{display:grid;gap:5px;background:#eaf8f1;padding:14px 20px;border-radius:13px}.student-upload-ready span{font-size:13px}.student-empty{text-align:center;padding:80px 20px}.student-empty>i{margin:auto}.student-empty h2{margin-top:20px}.student-state{text-align:center;margin-top:20px}.student-state.error{color:#9b143f}.student-mobile-menu,.student-menu-close,.student-menu-backdrop{display:none}
@media(max-width:850px){.student-shell{display:block;padding:0;min-height:100dvh}.student-sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:min(86vw,310px);border-radius:0;min-height:100dvh;transform:translateX(-105%);transition:.2s}.student-sidebar.open{transform:translateX(0)}.student-menu-close{display:block;position:absolute;right:12px;top:8px;border:0;background:transparent;color:#fff;font-size:34px}.student-menu-backdrop{display:block;position:fixed;z-index:35;inset:0;border:0;background:#22101c88}.student-mobile-menu{display:block;position:fixed;z-index:30;left:12px;top:12px;border:0;border-radius:12px;background:#85153d;color:#fff;padding:11px 14px;font-weight:800}.student-main{padding:72px 12px 20px}.student-main>header{height:auto;align-items:flex-start;margin-bottom:16px}.student-main>header h1{font-size:25px}.student-main>header button{padding:11px 12px;font-size:12px}.student-dashboard,.student-records,.student-behavior-list,.student-module-card,.student-state{padding:17px;border-radius:18px}.student-welcome{padding:22px}.student-welcome h2{font-size:30px}.student-summary{grid-template-columns:1fr 1fr}.student-records article>header{display:block}.student-records article>header small{display:block;margin-top:9px}.student-grade-grid{grid-template-columns:1fr 1fr}.student-module-card{min-height:65dvh}}
.student-lesson-reader{display:grid;gap:12px;padding:18px;border:1px solid #ead8df;border-radius:22px;background:#fff}.student-lesson-reader>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.student-lesson-reader>header span{color:#a31647;font-size:12px;font-weight:900}.student-lesson-reader>header h2{margin:4px 0;font:700 25px Georgia}.student-lesson-reader>header a{padding:11px 14px;border-radius:11px;background:#235b8a;color:#fff;text-decoration:none;font-weight:800}.student-lesson-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px;border-radius:13px;background:#f5f1f3}.student-lesson-controls button,.student-lesson-controls label{min-height:40px;border:0;border-radius:10px;padding:0 12px;background:#fff;color:#5e1734;font-weight:800}.student-lesson-controls label{display:flex;align-items:center;gap:6px}.student-lesson-controls input{width:52px;height:30px;border:1px solid #dcc7d0;border-radius:7px;text-align:center}.student-lesson-frame{height:calc(100dvh - 245px);min-height:520px;overflow:auto;display:grid;align-items:start;justify-items:center;border-radius:14px;background:#292929;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch}.student-lesson-frame>div{align-self:center;color:#fff;font-weight:800}.student-lesson-frame img{display:block;max-width:none;height:auto;transform-origin:center top;user-select:none}.student-lesson-message{display:grid;place-items:center;min-height:420px;padding:20px;border-radius:14px;background:#edf6fc;color:#245678;text-align:center;font-weight:800}
@media(max-width:850px){.student-lesson-reader{padding:10px;border-radius:16px}.student-lesson-reader>header{align-items:flex-start}.student-lesson-reader>header h2{font-size:21px}.student-lesson-reader>header a{padding:9px;font-size:12px}.student-lesson-controls{position:sticky;top:0;z-index:2;gap:5px}.student-lesson-controls button,.student-lesson-controls label{min-height:38px;padding:0 9px;font-size:12px}.student-lesson-frame{height:calc(100dvh - 235px);min-height:460px}}
.student-lesson-controls .student-last-page{background:#8e1943;color:#fff}.student-lesson-controls .student-last-page:disabled{opacity:.45}
.student-sidebar nav button{position:relative}.student-homework-badge{display:block;margin:8px 0 0 30px;padding:5px 8px;border-radius:9px;background:#fff;color:#8e1943;font-size:12px;font-weight:900;text-align:center}.student-sidebar nav button.active .student-homework-badge{background:#fff;color:#8e1943}
.student-summary button.has-homework{border:2px solid #e09519;background:#fff8df;animation:studentSummaryHomework 1.5s ease-in-out infinite}.student-summary button.has-homework strong{display:block;margin-top:5px;padding:6px 8px;border-radius:9px;background:#a51145;color:#fff;font-size:12px;text-align:center}@keyframes studentSummaryHomework{0%,100%{transform:scale(1);box-shadow:0 0 0 #e0951900}50%{transform:scale(1.025);box-shadow:0 8px 22px #e095194d}}@media(prefers-reduced-motion:reduce){.student-summary button.has-homework{animation:none}}
.student-lesson-page{position:relative;flex:0 0 auto}.student-lesson-page img{display:block;width:100%;height:auto}.student-barcode-link{position:absolute;z-index:3;display:grid;place-items:center;min-width:34px;min-height:34px;border:3px solid #16a36f;border-radius:10px;background:#16a36f44;color:#075b3e;font-size:22px;font-weight:900;text-decoration:none;box-shadow:0 0 0 3px #fff9}.student-barcode-link:active{background:#16a36f;color:#fff}
.student-behavior-score{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 20px;padding:20px;border-radius:18px;background:linear-gradient(120deg,#fff0f5,#eaf7f1);border:1px solid #ead8df}.student-behavior-score span{font-weight:800;color:#8d1740}.student-behavior-score b{grid-row:1/3;grid-column:2;font-size:38px;color:#167351}.student-behavior-score p{margin:0;color:#5f555c}@media(max-width:500px){.student-behavior-score{grid-template-columns:1fr}.student-behavior-score b{grid-row:auto;grid-column:auto;font-size:34px}}
.student-agenda{display:grid;gap:18px}.student-agenda-intro,.student-agenda-form,.student-agenda-list{background:#fffdfef2;border:1px solid #ead8df;border-radius:24px;padding:24px;box-shadow:0 15px 35px #223e5814}.student-agenda-intro{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(120deg,#fff0f5,#edf8ff)}.student-agenda-intro span{color:#a31647;font-weight:850;letter-spacing:1px}.student-agenda-intro h2{font:700 30px Georgia;margin:7px 0}.student-agenda-intro p{margin:0;color:#685b65}.student-agenda-intro>strong{width:92px;height:92px;border-radius:28px;background:linear-gradient(135deg,#a41649,#28638f);color:#fff;display:grid;place-items:center;font-size:34px;line-height:1}.student-agenda-intro>strong small{display:block;font-size:11px;text-align:center}.student-agenda-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.student-agenda-form label{display:grid;gap:7px;font-weight:800;color:#6d5661}.student-agenda-form label.wide{grid-column:1/-1}.student-agenda-form input,.student-agenda-form textarea{width:100%;border:1px solid #dec9d1;border-radius:13px;padding:13px;background:#fff;font:inherit;color:#241c2d}.student-agenda-form textarea{min-height:95px;resize:vertical}.student-agenda-form>button{grid-column:1/-1;border:0;border-radius:13px;background:#a51145;color:#fff;padding:14px;font-weight:850;cursor:pointer}.student-agenda-form>button:disabled{opacity:.5}.student-agenda-message{padding:12px 15px;border-radius:12px;background:#fff1d6;color:#774e00;margin:0}.student-agenda-list>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.student-agenda-list h3{margin:0;font-size:21px}.student-agenda-list>header span{background:#f7e9ef;color:#941844;padding:7px 10px;border-radius:999px;font-weight:800}.student-agenda-list article{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:start;padding:16px;border:1px solid #e6d9de;border-radius:16px;margin-top:11px;background:#fff}.student-agenda-list article.overdue{border-color:#e29b45;background:#fff9ef}.student-agenda-list article.completed{opacity:.7}.student-agenda-list article.completed h4{text-decoration:line-through}.student-agenda-list h4{margin:1px 0 6px;font-size:17px}.student-agenda-list article p{margin:0 0 8px;white-space:pre-wrap;color:#5d5359}.student-agenda-list article small{color:#8b6876}.agenda-check,.agenda-delete{border:0;cursor:pointer}.agenda-check{width:38px;height:38px;border-radius:50%;background:#e6f7ef;color:#138158;font-size:22px;font-weight:900}.agenda-delete{background:#fff0f3;color:#a01442;border-radius:10px;padding:8px 10px;font-weight:800}.student-agenda-empty{display:grid;gap:5px;text-align:center;padding:38px 15px;border:2px dashed #ead8df;border-radius:16px;color:#74656d}.student-agenda-list details{margin-top:18px}.student-agenda-list summary{cursor:pointer;font-weight:850;color:#6a5761}@media(max-width:650px){.student-agenda-intro,.student-agenda-form,.student-agenda-list{padding:17px;border-radius:18px}.student-agenda-intro h2{font-size:25px}.student-agenda-intro>strong{width:72px;height:72px;border-radius:22px;font-size:27px}.student-agenda-form{grid-template-columns:1fr}.student-agenda-form label.wide,.student-agenda-form>button{grid-column:auto}.student-agenda-list article{grid-template-columns:auto 1fr}.agenda-delete{grid-column:2;justify-self:end}}

/* app/ogretmen/ogretmen.css */
.desktop-app{--wine:#69102f;--wine2:#7f1738;--rose:#cc5d7c;--navy:#173c6a;--blue:#397eb7;--ink:#29263b;min-height:100vh;display:grid;grid-template-columns:235px 1fr;padding:26px 34px;gap:24px;background:radial-gradient(circle at 2% 3%,#d65d7a55 0 10%,transparent 30%),radial-gradient(circle at 98% 95%,#3e85ba55 0 15%,transparent 36%),linear-gradient(135deg,#fff2f5,#fbfafc 52%,#eaf4fc);color:var(--ink);font-family:"Segoe UI",Arial,sans-serif}.desktop-sidebar{height:calc(100vh - 52px);position:sticky;top:26px;border-radius:24px;padding:18px 17px 17px;background:linear-gradient(180deg,#741538f2,#5d1230f2);box-shadow:0 20px 46px #45152f4d;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden}.desktop-logo{color:#fff;text-align:center;border-bottom:1px solid #ffffff24;padding:5px 0 17px}.desktop-logo span{display:block;font-size:27px}.desktop-logo b{font:700 24px Georgia,serif;letter-spacing:5px}.desktop-sidebar nav{display:grid;gap:5px;padding:12px 0 0;height:auto;background:transparent;border:0;position:static;z-index:auto;align-items:stretch;justify-content:initial;width:100%}.desktop-sidebar nav button,.sidebar-bottom button,.sidebar-bottom a{width:100%;flex:none;min-height:42px;border:1px solid transparent;background:transparent;color:#fff;border-radius:14px;text-align:left;padding:0 15px;font:600 13px "Segoe UI",sans-serif;cursor:pointer;display:flex;align-items:center;gap:10px;text-decoration:none;transition:.18s}.desktop-sidebar nav button i{font-style:normal;width:20px;font-size:16px}.desktop-sidebar nav button:hover,.desktop-sidebar nav button.active{background:var(--rose);border-color:#ffffff55;transform:translateY(-1px);box-shadow:0 7px 18px #d85e8280}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff24;padding-top:9px;display:grid;gap:5px}.desktop-content{min-width:0}.desktop-header{height:55px;display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.desktop-header h1{font-size:23px;margin:0;color:var(--ink);font-weight:600}.desktop-header>div{display:flex;align-items:center;gap:18px}.desktop-header time{color:var(--navy);font-weight:600}.desktop-header button{height:48px;min-width:205px;border:1px solid #fff;background:#fff;color:var(--ink);border-radius:24px;box-shadow:0 7px 22px #25355518}.desktop-card{background:#ffffffeb;border:1px solid #fff;border-radius:18px;box-shadow:0 12px 30px #29324815;padding:18px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat-card{min-height:94px;background:#ffffffeb;border:1px solid #fff;border-radius:18px;padding:17px;display:flex;align-items:center;gap:14px;cursor:pointer;box-shadow:0 12px 26px #28344814;transition:.2s}.stat-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px #68234424}.stat-card i{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:#fff;font-style:normal;font-weight:800}.stat-card span{display:grid;text-align:left}.stat-card b{font-size:27px}.stat-card small{font-size:14px;color:var(--ink)}.home-columns{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:18px;height:calc(100vh - 215px);min-height:470px}.calendar-card,.news-card{overflow:auto}.card-heading,.panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-heading h2,.panel-toolbar h2{font-size:18px;margin:0}.card-heading span,.panel-toolbar p{color:#7b7480;font-size:12px;margin:5px 0}.month-nav{display:flex;justify-content:space-between;align-items:center;margin:16px 0}.month-nav button{border:0;background:#f7e9ef;color:var(--wine);width:36px;height:32px;border-radius:9px}.weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekdays b{text-align:center;color:#827782;font-size:11px;padding:8px 0}.calendar-days button{aspect-ratio:1;border:0;border-radius:10px;background:#fbf7f9;color:var(--ink)}.calendar-days button.today{background:var(--wine2);color:#fff;font-weight:800}.calendar-days button.event{background:#dceefa;color:var(--navy);font-weight:700}.legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:17px;font-size:11px}.legend span:nth-child(1){color:#c33a5f}.legend span:nth-child(2){color:#2c8b68}.legend span:nth-child(3){color:#397eb7}.mini-calendar>p{font-size:12px;color:#776e78;background:#f7eff3;padding:10px;border-radius:9px}.news-card article,.news-page article{display:flex;gap:12px;align-items:center;border-top:1px solid #eee1e6;padding:14px 2px}.news-card article i,.news-page article i{width:58px;height:48px;border-radius:10px;background:linear-gradient(135deg,var(--wine),var(--blue));color:#fff;display:grid;place-items:center;font-style:normal;font:700 10px Georgia}.news-card article div,.news-page article div{flex:1}.news-card time,.news-page time{display:block;color:var(--rose);font-size:10px}.news-card article b{display:block;font-size:13px;margin-top:4px}.news-card article>span{font-size:24px;color:var(--blue)}.split-page{display:grid;grid-template-columns:270px minmax(0,1fr);gap:12px;height:calc(100vh - 125px)}.class-panel{height:100%;display:flex;flex-direction:column}.class-panel h2{color:var(--wine);font-size:20px;margin:5px 0 14px}.class-panel>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.class-panel button{height:46px;border:2px solid var(--rose);border-radius:10px;background:#fff0f5;color:var(--wine);font-weight:750;cursor:pointer}.class-panel button.active{background:var(--rose);color:#fff}.class-panel p{margin-top:auto;color:#817783;font-size:12px}.table-panel{overflow:hidden;display:flex;flex-direction:column}.panel-toolbar{min-height:48px}.panel-toolbar select,.panel-toolbar input,.panel-toolbar button,.book-controls button,.book-controls span,.link-panel button,.card-heading button{height:41px;border:1px solid #ddc9d2;border-radius:10px;background:#fff;padding:0 12px;color:var(--wine);font-weight:700}.panel-toolbar input{min-width:170px}.panel-toolbar button{background:var(--navy);color:#fff}.panel-toolbar button.positive{background:#27986d}.panel-toolbar button.negative{background:var(--wine)}.panel-toolbar button.blue{background:var(--blue)}.inline-form{display:flex;gap:8px;padding:12px 0;border-top:1px solid #eee1e6;margin-top:10px}.inline-form input{height:40px;border:1px solid #ddc9d2;border-radius:9px;padding:0 11px}.inline-form button{border:0;border-radius:9px;background:var(--wine);color:#fff;padding:0 15px;font-weight:700}.inline-form button.secondary{background:var(--blue)}.grade-table-wrap{overflow:auto;flex:1}.grade-table,.behavior-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.grade-table th,.behavior-table th{position:sticky;top:0;background:var(--navy);color:#fff;padding:11px 8px;border-right:1px solid #ffffff55;z-index:1}.grade-table th:nth-child(n+4):nth-child(-n+6){background:var(--rose)}.grade-table td,.behavior-table td{padding:10px 8px;border-bottom:1px solid #eadfe4;text-align:center}.grade-table td:nth-child(4),.behavior-table td:nth-child(2){text-align:left}.grade-table tbody tr:nth-child(even),.behavior-table tbody tr:nth-child(even){background:#fff4f7}.grade-table input{width:48px;height:34px;text-align:center;border:1px solid #dfcbd3;border-radius:7px}.grade-table strong{color:var(--wine);font-size:14px}.green{color:#16845b;font-weight:800}.red{color:#bc284c;font-weight:800}.lesson-page{display:grid;grid-template-columns:245px minmax(0,1fr) 265px;gap:12px;height:calc(100vh - 125px)}.book-view{display:flex;flex-direction:column;min-width:0}.book-view label select{height:40px;margin-left:8px;border:2px solid #c8dced;border-radius:9px;color:var(--navy);padding:0 9px}.book-controls{display:flex;justify-content:flex-end;gap:6px;margin:12px 0}.book-controls button,.book-controls span{display:grid;place-items:center;font-size:11px}.book-page{flex:1;display:grid;place-items:center;align-content:center;background:#f5f0f3;border-radius:10px;border:1px solid #eadfe5;position:relative;text-align:center}.book-page:before{content:"";position:absolute;width:min(70%,520px);height:82%;background:#fff;box-shadow:0 10px 25px #1b2a3e26}.book-page>*{position:relative;z-index:1}.book-page>span{color:var(--wine);font:700 20px Georgia}.book-page h3{max-width:350px;color:var(--navy)}.book-page p{color:#877d86}.link-panel h2{color:var(--navy);font-size:17px}.link-panel p{font-size:12px;color:#786e79;background:#f6edf2;padding:10px;border-radius:9px}.link-panel button{width:100%;height:58px;margin-top:8px;background:#2f9b70;color:#fff;text-align:left}.link-panel small{font-weight:400}.full-calendar{max-width:1050px;margin:auto}.full-calendar .mini-calendar{max-width:700px;margin:auto}.event-list{display:grid;grid-template-columns:140px 1fr;gap:9px;margin:18px auto 0;max-width:700px}.event-list b{color:var(--wine)}.news-page{max-height:calc(100vh - 125px);overflow:auto}.news-page article i{width:80px;height:65px}.news-page h3{margin:4px 0}.news-page p{color:#777;margin:4px 0}.news-page article>button{border:0;background:#f2e7ec;color:var(--wine);padding:10px;border-radius:9px}.simple-page{min-height:480px}.simple-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:25px}.simple-grid button{min-height:120px;border:1px solid #e5d6dc;background:#fff8fa;border-radius:16px;text-align:left;padding:20px;display:grid;grid-template-columns:50px 1fr;gap:5px;cursor:pointer}.simple-grid i{grid-row:1/3;width:45px;height:45px;border-radius:50%;background:var(--wine);color:#fff;display:grid;place-items:center;font-style:normal}.simple-grid span{color:var(--blue)}.settings-page h2{color:var(--wine)}.settings-tabs{display:flex;gap:7px;border-bottom:1px solid #e5ccd5;padding-bottom:9px;overflow:auto}.settings-tabs button{border:0;background:#f5e8ed;color:#592038;padding:11px 17px;border-radius:8px;font-weight:700;white-space:nowrap}.settings-tabs button.active{background:var(--wine);color:#fff}.settings-form{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:24px;max-width:850px}.settings-form>.location{grid-column:1/-1}.settings-form label{font-size:12px;font-weight:700}.settings-form input,.settings-form select{display:block;width:100%;height:45px;margin-top:7px;border:1px solid #dfcad2;border-radius:9px;padding:0 12px}.settings-form button{height:46px;border:0;border-radius:10px;background:var(--wine);color:#fff;font-weight:750;align-self:end}@media(max-width:1100px){.desktop-app{grid-template-columns:205px 1fr;padding:18px;gap:16px}.desktop-sidebar{height:calc(100vh - 36px);top:18px}.stat-grid{grid-template-columns:repeat(2,1fr)}.home-columns{height:auto}.lesson-page{grid-template-columns:220px 1fr}.link-panel{display:none}.panel-toolbar{flex-wrap:wrap}}@media(max-width:760px){.desktop-app{display:block;padding:0}.desktop-sidebar{height:auto;position:sticky;top:0;border-radius:0;padding:8px;z-index:10}.desktop-logo,.sidebar-bottom{display:none}.desktop-sidebar nav{display:flex;overflow:auto;padding:0}.desktop-sidebar nav button{white-space:nowrap;min-width:max-content}.desktop-content{padding:15px}.desktop-header>div time{display:none}.desktop-header button{min-width:auto}.stat-grid,.home-columns,.simple-grid,.settings-form{grid-template-columns:1fr}.split-page,.lesson-page{display:block;height:auto}.class-panel{height:auto;margin-bottom:12px}.class-panel p{display:none}.home-columns{min-height:0}.table-panel{min-height:600px}.lesson-page>.class-panel{display:none}}

.grade-actions{display:flex;gap:7px}.grade-modal{position:fixed;inset:0;z-index:100;background:#17213a88;display:grid;place-items:center;padding:20px}.grade-dialog{width:min(1180px,96vw);max-height:92vh;display:flex;flex-direction:column;background:#f7f4f6;border-radius:15px;overflow:hidden;box-shadow:0 24px 70px #1118}.grade-dialog header{text-align:center;position:relative;padding:18px}.grade-dialog h2{color:var(--wine);margin:0}.grade-dialog header p{background:#fff0f4;padding:10px;color:#765c68}.grade-dialog header>button{position:absolute;right:15px;top:8px;border:0;background:none;font-size:30px}.participation{padding:12px;margin:0 14px 10px;border:1px solid #ead3dc;border-radius:10px;text-align:center}.participation>div{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.participation label{display:grid;gap:5px;margin:8px;font-size:12px}.participation label>span{display:flex;justify-content:center;align-items:center}.participation label input[type=number]{width:65px}.participation strong{display:block;color:var(--wine)}.performance-tabs{display:flex;gap:6px;padding:0 14px 10px;overflow:auto}.performance-tabs button{min-width:105px;height:45px;border:0;border-radius:8px;background:#85449c;color:#fff;font-weight:700}.performance-tabs button.active{background:#299a70}.dialog-table{overflow:auto;flex:1;margin:0 14px}.dialog-table table{width:100%;border-collapse:collapse;background:#fff}.dialog-table th{position:sticky;top:0;background:#7f91aa;color:#fff;padding:12px}.dialog-table td{padding:4px;border:1px solid #eadfe4}.dialog-table tr:nth-child(even){background:#fff1f5}.dialog-table td:nth-child(2){min-width:220px}.dialog-table input{width:100%;height:34px;text-align:center}.grade-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:14px}.grade-dialog footer button{padding:11px 28px;border-radius:8px;border:1px solid #bbb;background:#fff}.grade-dialog footer .save{background:var(--blue);color:#fff}@media(max-width:760px){.grade-modal{padding:0}.grade-dialog{width:100vw;height:100vh;max-height:none;border-radius:0}.grade-actions{width:100%}.grade-actions button{flex:1}.participation>div{grid-template-columns:repeat(2,1fr)}}
.pdf-import{height:40px;border:0;border-radius:9px;background:var(--blue);color:#fff;padding:0 15px;font-weight:700;display:inline-flex;align-items:center;cursor:pointer}.pdf-import input{display:none}
.class-title{display:flex;align-items:center;justify-content:space-between}.class-title h2{margin:5px 0 14px}.class-title>button{width:auto;height:34px;padding:0 10px;border:1px solid var(--rose);background:#fff;color:var(--wine)}.class-modal{position:fixed;inset:0;z-index:120;background:#17213a88;display:grid;place-items:center;padding:20px}.class-modal>section{width:min(950px,96vw);max-height:94vh;overflow:auto;background:#f8f7f9;border-radius:14px;box-shadow:0 25px 70px #1118;padding:22px}.class-modal header{text-align:center;color:#fff;background:linear-gradient(100deg,var(--wine2),#bd426d);border-radius:18px;padding:18px}.class-modal header h2{margin:0 0 10px}.class-modal header p{margin:0}.class-levels{display:grid;gap:14px;margin:16px 0}.level{display:grid;grid-template-columns:100px 1fr;gap:10px;border:2px solid #fa7ca4;border-radius:16px;padding:12px}.level>b{display:grid;place-items:center;background:#cc4e76;color:#fff;border-radius:12px}.level>div{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.level label{height:48px;border:1px solid #ef7ba0;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--wine);font-weight:700}.level label.checked{background:#cc4e76;color:#fff}.level-10{border-color:#cc6afa}.level-10>b,.level-10 label.checked{background:#9a45c0}.level-10 label{border-color:#cc6afa}.level-11{border-color:#55aef0}.level-11>b,.level-11 label.checked{background:#3f89be}.level-11 label{border-color:#55aef0}.level-12{border-color:#35d896}.level-12>b,.level-12 label.checked{background:#2ea477}.level-12 label{border-color:#35d896}.class-modal footer{display:flex;align-items:center;justify-content:flex-end;gap:14px}.class-modal footer strong{margin-right:auto;background:#2ea477;color:#fff;padding:15px 35px;border-radius:12px}.class-modal footer button{height:48px;min-width:135px;border:2px solid #e1b7c5;border-radius:11px;background:#fff;color:var(--wine);font-weight:700}.class-modal footer .save{background:var(--wine);color:#fff}@media(max-width:760px){.class-modal{padding:0}.class-modal>section{width:100vw;height:100vh;max-height:none;border-radius:0;padding:12px}.level{grid-template-columns:1fr}.level>b{min-height:42px}.level>div{grid-template-columns:repeat(3,1fr)}.class-modal footer{position:sticky;bottom:0;background:#f8f7f9;padding:10px 0;flex-wrap:wrap}.class-modal footer strong{width:100%;margin:0;text-align:center}.class-modal footer button{flex:1}}
.student-actions{display:flex;gap:8px}.student-actions button:disabled{opacity:.45;cursor:not-allowed}.panel-toolbar h2 small{font:500 12px "Segoe UI";color:var(--blue);white-space:nowrap}.grade-table .selected-row{background:#dceeff!important}.grade-table td:first-child input{width:18px;height:18px;accent-color:var(--wine)}@media(max-width:760px){.student-actions{width:100%}.student-actions button{flex:1}}
.exam-tabs{display:flex;justify-content:center;gap:10px;padding:0 14px 12px}.exam-tabs button{min-width:100px;height:42px;border:2px solid var(--rose);border-radius:9px;background:#fff;color:var(--wine);font-weight:800;cursor:pointer}.exam-tabs button.active{background:var(--wine);color:#fff;box-shadow:0 5px 14px #69102f44}
.grade-table td:nth-child(4){padding-left:18px;white-space:nowrap}.grade-table td:nth-child(4) b{display:block;text-align:left}
.oral-tabs{display:flex;justify-content:center;gap:10px;padding:0 14px 12px}.oral-tabs button{min-width:90px;height:42px;border:2px solid var(--blue);border-radius:9px;background:#fff;color:var(--navy);font-weight:800;cursor:pointer}.oral-tabs button.active{background:var(--blue);color:#fff;box-shadow:0 5px 14px #397eb744}
.grade-head-button{width:100%;height:100%;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;cursor:pointer;padding:0}.grade-head-button:hover{background:#ffffff2c;text-decoration:underline}
/* desktop-reference-theme */
.desktop-app{--wine:#8e123d;--wine2:#761335;--rose:#cf587b;--navy:#194575;--blue:#3489c3;--green:#269f75;--purple:#8835a6;background:radial-gradient(ellipse 34% 57% at 3% 2%,#b2355b 0 30%,transparent 30.4%),radial-gradient(ellipse 34% 60% at 25% 2%,#eda1b5 0 30%,transparent 30.4%),radial-gradient(ellipse 45% 70% at 105% 100%,#4389bd 0 31%,transparent 31.4%),linear-gradient(135deg,#fff7f9 0%,#fbfafc 52%,#eef7fd 100%)}.desktop-sidebar{background:linear-gradient(180deg,#78163a 0%,#671532 100%);border:1px solid #ffffff24;box-shadow:0 14px 24px #3e143054,0 3px 7px #3e143036}.desktop-sidebar nav button,.sidebar-bottom button,.sidebar-bottom a{border-color:#ffffff26}.desktop-sidebar nav button:hover,.desktop-sidebar nav button.active{background:#cf5e80;box-shadow:0 8px 16px #a62e5966,0 2px 4px #3d102c44}.desktop-card,.stat-card{background:#fffdfef2;border:1px solid #fff;box-shadow:0 13px 28px #24496b16,0 2px 5px #79214212}.class-panel button{background:#fff1f5;border-color:#ea577f;box-shadow:0 3px 6px #9e34542b}.class-panel button:nth-child(3n){background:#d8edff;border-color:#3e9ee0;color:#174e79}.class-panel button:nth-child(4n){background:#d7fff0;border-color:#2fca92;color:#167250}.class-panel button.active{background:#cf587b;border-color:#cf587b;color:#fff;box-shadow:0 8px 14px #c53d6960}.class-panel button:nth-child(3n).active{background:#4a9bd1}.class-panel button:nth-child(4n).active{background:#34b486}.panel-toolbar button,.inline-form button,.pdf-import,.card-heading button{box-shadow:0 7px 13px #24354b2d,0 2px 3px #24354b25;transition:transform .15s,box-shadow .15s}.panel-toolbar button:hover,.inline-form button:hover,.pdf-import:hover,.card-heading button:hover{transform:translateY(-2px);box-shadow:0 10px 18px #24354b38,0 3px 5px #24354b2b}.panel-toolbar button.positive{background:#289f76}.panel-toolbar button.negative,.inline-form button{background:#8f123e}.panel-toolbar button.blue,.pdf-import{background:#3889c1}.grade-table th{background:#194575;border-color:#ffffff55}.grade-table th:nth-child(4){background:#c84f75}.grade-table th:nth-child(5),.grade-table th:nth-child(6){background:#d65b7f}.grade-table th:nth-child(7){background:#184878}.grade-table th:nth-child(8),.grade-table th:nth-child(9),.grade-table th:nth-child(10){background:#2e7fb7}.grade-table th:nth-child(11){background:#efab20}.grade-table tbody tr:nth-child(odd){background:#fff}.grade-table tbody tr:nth-child(even){background:#fff2f6}.grade-table td{border-bottom:1px solid #ecdce2}.grade-table input{background:#fff;border:1px solid #d7bdc8;box-shadow:inset 0 1px 2px #681a3214}.grade-dialog{border:1px solid #e0c5cf;box-shadow:0 25px 65px #35112755,0 5px 14px #35112732}.exam-tabs button,.oral-tabs button,.performance-tabs button{box-shadow:0 6px 12px #2c29422f}.exam-tabs button.active,.oral-tabs button.active,.performance-tabs button.active{transform:translateY(-2px);box-shadow:0 9px 16px #64203f4d}.desktop-header button{border:2px solid #d65377;box-shadow:0 8px 15px #8b234534}.desktop-header h1,.panel-toolbar h2,.class-panel h2{color:#2b2738}

/* Yazılı ve sözlü sütun renkleri */
.grade-table thead th.grade-col-written{background:#e8a0b5!important;color:#741234!important}
.grade-table thead th.grade-col-oral{background:#8bc4e6!important;color:#123f68!important}
.grade-table thead th.grade-col-written .grade-head-button,.grade-table thead th.grade-col-oral .grade-head-button{color:inherit!important;text-decoration:none}
.grade-table thead th.grade-col-written .grade-head-button:hover{background:#f7c9d6}
.grade-table thead th.grade-col-oral .grade-head-button:hover{background:#b7ddf2}


/* Yazılı ve sözlü başlık hücrelerini bütünüyle gölgele */
.grade-table thead th.grade-col-written,
.grade-table thead th.grade-col-oral{
  position:sticky;
  overflow:visible;
  box-shadow:inset 0 2px 0 #ffffffa8,inset 0 -3px 0 #00000020,0 5px 9px #1c29453d;
  z-index:3;
}
.grade-table thead th.grade-col-written{border-color:#f5cfda!important}
.grade-table thead th.grade-col-oral{border-color:#c9e7f7!important}
.grade-table thead th.grade-col-written .grade-head-button,
.grade-table thead th.grade-col-oral .grade-head-button{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  margin:0;
  border-radius:0;
  box-shadow:inset 0 1px 0 #ffffff8f,inset 0 -2px 0 #00000018;
  z-index:4;
}
.grade-table thead th.grade-col-written .grade-head-button:hover,
.grade-table thead th.grade-col-written .grade-head-button:focus-visible,
.grade-table thead th.grade-col-oral .grade-head-button:hover,
.grade-table thead th.grade-col-oral .grade-head-button:focus-visible{
  background:#ffffff24;
  outline:2px solid #fff3a8;
  outline-offset:-2px;
  box-shadow:inset 0 1px 0 #ffffffcc,inset 0 -2px 0 #00000018,0 7px 11px #7136ca99,0 0 15px #865deccc;
  transform:translateY(-1px);
}
.grade-table thead th.grade-col-written .grade-head-button:active,
.grade-table thead th.grade-col-oral .grade-head-button:active{
  transform:translateY(1px);
  box-shadow:inset 0 3px 5px #0000002e,0 2px 5px #7136ca70;
}


/* Not giriş penceresini ekran çözünürlüğüne uyarla */
.grade-modal{padding:24px}
.grade-dialog{width:min(1450px,calc(100vw - 48px));height:min(860px,calc(100vh - 48px));max-height:none}
.grade-dialog>header,.grade-dialog>.exam-tabs,.grade-dialog>.oral-tabs,.grade-dialog>.participation,.grade-dialog>.performance-tabs,.grade-dialog>footer{flex-shrink:0}
.grade-dialog>.oral-tabs,.grade-dialog>.exam-tabs{min-height:54px;box-sizing:border-box}
.grade-dialog>.participation{box-sizing:border-box}
.grade-dialog>.performance-tabs{min-height:57px;box-sizing:border-box;align-items:stretch}
.grade-dialog>.performance-tabs button{height:47px;flex-shrink:0}
.grade-dialog>.dialog-table{min-height:180px;overscroll-behavior:contain}
.grade-dialog>footer{min-height:68px;box-sizing:border-box}
@media(max-height:850px){
.grade-modal{padding:10px}.grade-dialog{width:min(1450px,calc(100vw - 20px));height:calc(100vh - 20px)}.grade-dialog header{padding:10px 14px}.grade-dialog header p{margin:8px 0 0;padding:7px}.grade-dialog>.oral-tabs,.grade-dialog>.exam-tabs{min-height:46px;padding-bottom:6px}.grade-dialog>.oral-tabs button,.grade-dialog>.exam-tabs button{height:38px}.grade-dialog>.participation{padding:7px 10px;margin-bottom:6px}.grade-dialog>.participation label{margin:3px}.grade-dialog>.performance-tabs{min-height:49px;padding-bottom:5px}.grade-dialog>.performance-tabs button{height:41px}.grade-dialog>footer{min-height:56px;padding:8px 14px}}
@media(max-width:760px){
.grade-modal{padding:0}.grade-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}.grade-dialog>.participation>div{grid-template-columns:repeat(2,minmax(0,1fr))}.grade-dialog>.dialog-table{min-height:160px;margin:0 8px}.grade-dialog>.performance-tabs{padding-left:8px;padding-right:8px}.grade-dialog>footer{padding:8px;position:relative;background:#f7f4f6}}

/* Takvim tatil, eğitim ve belirli gün görünümü */
.calendar-days button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;padding:9px;min-width:0;text-align:left}
.calendar-days button strong{font-size:17px;line-height:1;font-weight:800}
.calendar-days button small{display:block;font-size:9px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}
.calendar-days button:disabled{opacity:.45;cursor:default}
.calendar-days button.weekend{background:#fff0f2;color:#b42345;border:1px solid #f3a6b8}
.calendar-days button.holiday{background:#ffd9df;color:#9f1239;border:2px solid #e85776}
.calendar-days button.education{background:#d8f5e7;color:#126746;border:2px solid #39af7d}
.calendar-days button.special{background:#d9ecff;color:#164f82;border:2px solid #4b9bd4}
.calendar-days button.today{align-items:center;justify-content:center}
.calendar-compact-notes{display:none}
.full-calendar .calendar-days button{min-height:88px;aspect-ratio:auto}
.full-calendar .calendar-days button strong{font-size:21px}
.full-calendar .calendar-days button small{font-size:11px;margin-top:5px}
@media(max-width:760px){.full-calendar .calendar-days button{min-height:70px;padding:6px}.full-calendar .calendar-days button strong{font-size:18px}.full-calendar .calendar-days button small{font-size:9px}.calendar-days{gap:3px}}

.news-card .news-grid{grid-template-columns:1fr}.news-card .news-tile{display:grid;grid-template-columns:120px 1fr}.news-card .news-tile>img{height:100%;min-height:120px}.news-card .news-tile p{display:none}.news-card .news-kind{left:8px;top:8px}.news-card .news-grid .news-tile:nth-child(n+5){display:none}.news-page{font-family:Arial,"Segoe UI",sans-serif}.news-page>.card-heading{margin-bottom:20px}@media(max-width:760px){.news-card .news-tile{grid-template-columns:95px 1fr}}.course-picker{height:42px;max-width:240px;border:1px solid #d8c6ce;border-radius:12px;background:#fff;padding:0 12px;color:var(--wine);font-weight:700}.desktop-header .add-course{min-width:auto;padding:0 13px;background:var(--blue);color:#fff}@media(max-width:760px){.desktop-header{height:auto;gap:8px;align-items:flex-start}.desktop-header>div{gap:6px;flex-wrap:wrap;justify-content:flex-end}.course-picker{max-width:145px}.desktop-header .add-course{display:block}}
.mobile-menu-button,.mobile-menu-close,.mobile-menu-backdrop{display:none}
@media(max-width:760px){
.desktop-app{padding-top:64px!important}
.mobile-menu-button{display:flex;position:fixed;left:12px;top:10px;z-index:45;height:44px;align-items:center;gap:8px;border:0;border-radius:12px;padding:0 15px;background:#78163a;color:#fff;font:700 15px "Segoe UI",Arial,sans-serif;box-shadow:0 7px 18px #3e143054;cursor:pointer}
.mobile-menu-close{display:grid;position:absolute;right:12px;top:10px;z-index:2;width:38px;height:38px;place-items:center;border:1px solid #ffffff55;border-radius:10px;background:#ffffff16;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.mobile-menu-backdrop{display:block;position:fixed;inset:0;z-index:39;border:0;background:#17152b99;backdrop-filter:blur(2px)}
.desktop-sidebar{display:flex!important;position:fixed!important;left:0;top:0!important;z-index:40!important;width:min(84vw,320px);height:100vh!important;height:100dvh!important;border-radius:0 22px 22px 0!important;padding:62px 14px 18px!important;transform:translateX(-105%);transition:transform .25s ease;overflow-y:auto!important;overscroll-behavior:contain}
.desktop-sidebar.mobile-open{transform:translateX(0)}
.desktop-sidebar .desktop-logo{display:block!important;padding-bottom:14px}
.desktop-sidebar nav{display:grid!important;overflow:visible!important;padding:12px 0 0!important}
.desktop-sidebar nav button{width:100%!important;min-width:0!important;white-space:normal!important}
.desktop-sidebar .sidebar-bottom{display:grid!important}
.desktop-content{padding:15px!important}
}
@media(max-width:380px){.mobile-menu-button span{display:none}.mobile-menu-button{width:44px;justify-content:center;padding:0}}

.mobile-save-exit{display:none}
@media(max-width:760px){
.mobile-save-exit{display:block;width:100%;min-height:52px;margin:18px 0 calc(12px + env(safe-area-inset-bottom));border:0;border-radius:14px;background:linear-gradient(135deg,#78163a,#cf5e80);color:#fff;font:800 16px "Segoe UI",Arial,sans-serif;box-shadow:0 9px 22px #78163a42;cursor:pointer;touch-action:manipulation}
.mobile-save-exit:active{transform:translateY(1px);box-shadow:0 5px 13px #78163a38}
}
/* Grade table column proportions shared by Windows, Pardus, Android and iOS */
.grade-table{width:100%;min-width:1240px;table-layout:fixed}
.grade-table th:nth-child(1),.grade-table td:nth-child(1){width:52px;min-width:52px;max-width:52px;padding-left:5px;padding-right:5px}
.grade-table th:nth-child(2),.grade-table td:nth-child(2){width:70px;min-width:70px;max-width:70px;padding-left:5px;padding-right:5px}
.grade-table th:nth-child(3),.grade-table td:nth-child(3){width:92px;min-width:92px;max-width:92px;padding-left:6px;padding-right:6px}
.grade-table th:nth-child(4),.grade-table td:nth-child(4){width:270px;min-width:270px}
.grade-table th:nth-child(n+5):nth-child(-n+12),.grade-table td:nth-child(n+5):nth-child(-n+12){width:74px;min-width:74px;padding-left:5px;padding-right:5px}
.grade-table th:nth-child(13),.grade-table td:nth-child(13),.grade-table th:nth-child(14),.grade-table td:nth-child(14){width:85px;min-width:85px}
.grade-table input:not([type="checkbox"]){width:62px;min-width:62px;height:36px;font-size:14px}
.grade-table-wrap{overflow-x:auto;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
@media(max-width:760px){.grade-table{min-width:1180px}.grade-table th:nth-child(4),.grade-table td:nth-child(4){width:230px;min-width:230px}}
.grade-table th:nth-child(2),.grade-table td:nth-child(2){width:54px;min-width:54px;max-width:54px}
.grade-table th:nth-child(3),.grade-table td:nth-child(3){width:64px;min-width:64px;max-width:64px}
.grade-table{width:1202px!important;min-width:1202px!important;max-width:1202px!important}
@media(max-width:760px){.grade-table{width:1162px!important;min-width:1162px!important;max-width:1162px!important}}
.grade-table{width:1152px!important;min-width:1152px!important;max-width:1152px!important}
.grade-table th:nth-child(4),.grade-table td:nth-child(4){width:220px!important;min-width:220px!important;max-width:220px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.grade-table{width:1152px!important;min-width:1152px!important;max-width:1152px!important}.grade-table th:nth-child(4),.grade-table td:nth-child(4){width:220px!important;min-width:220px!important;max-width:220px!important}}
.grade-table{width:1096px!important;min-width:1096px!important;max-width:1096px!important;table-layout:fixed!important}
.grade-table th:nth-child(1),.grade-table td:nth-child(1){width:44px!important;min-width:44px!important;max-width:44px!important}
.grade-table th:nth-child(2),.grade-table td:nth-child(2){width:44px!important;min-width:44px!important;max-width:44px!important}
.grade-table th:nth-child(3),.grade-table td:nth-child(3){width:56px!important;min-width:56px!important;max-width:56px!important}
.grade-table th:nth-child(4),.grade-table td:nth-child(4){width:190px!important;min-width:190px!important;max-width:190px!important}
@media(max-width:760px){.grade-table{width:1096px!important;min-width:1096px!important;max-width:1096px!important}.grade-table th:nth-child(4),.grade-table td:nth-child(4){width:190px!important;min-width:190px!important;max-width:190px!important}}
.grade-table{width:1318px!important;min-width:1318px!important;max-width:1318px!important}
.grade-table .period-end-group{background:#f7f7f7!important;color:#17152b!important;border:2px solid #173c6a!important;border-bottom:1px solid #173c6a!important;text-align:center;font-size:11px;letter-spacing:.4px}
.grade-table .period-score,.grade-table .period-grade{background:#f7f7f7!important;color:#17152b!important;border:1px solid #173c6a!important;font-size:11px}
.grade-table thead tr:nth-child(2) th{top:37px}
@media(max-width:760px){.grade-table{width:1318px!important;min-width:1318px!important;max-width:1318px!important}}
.tpu-heading{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor;cursor:help}
.tpu-note{flex:none;margin:8px 2px 0;padding:8px 10px;border-radius:8px;background:#fff7df;color:#4f4050;font-size:11px;line-height:1.45}
.tpu-note strong{color:var(--wine)}
@media(max-width:760px){.tpu-note{font-size:10px}}
.grade-table thead .grade-group-row th{top:0;height:30px;padding:6px 5px;background:#f7f7f7!important;color:#17152b!important;border:1px solid #173c6a!important;font-size:10px;letter-spacing:2px}
.grade-table thead .grade-subgroup-row th{top:30px;height:34px;padding:7px 5px;border:1px solid #173c6a!important}
.grade-table thead .grade-label-row th{top:64px;height:36px;padding:6px 4px;border:1px solid #ffffff55!important}
.grade-table thead .student-group,.grade-table thead .exams-group,.grade-table thead .written-group,.grade-table thead .oral-group{background:#f7f7f7!important;color:#17152b!important;text-align:center}
.grade-table thead .written-group,.grade-table thead .oral-group{font-size:10px;letter-spacing:2px}
.grade-table thead .grade-subgroup-row .period-score,.grade-table thead .grade-subgroup-row .period-grade{background:#f7f7f7!important;color:#17152b!important}
.calculation-note{flex:none;margin:6px 2px 0;padding:8px 10px;border-radius:8px;background:#eef7fd;color:#33485c;font-size:11px;line-height:1.45}
.calculation-note strong{color:var(--navy)}
@media(max-width:760px){.calculation-note{font-size:10px}}
/* Sınıfları masaüstünde tablonun üstünde tek sıra göster. */
@media(min-width:761px){
  .split-page{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:calc(100vh - 125px)}
  .class-panel{height:auto;min-height:66px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:10px 16px}
  .class-panel h2{margin:0;white-space:nowrap;font-size:17px}
  .class-panel>div{display:flex;align-items:center;gap:8px;overflow-x:auto;overflow-y:hidden;padding:2px 1px 5px;scrollbar-width:thin}
  .class-panel button{flex:0 0 auto;min-width:82px;height:38px;padding:0 14px}
  .class-panel p{display:none}
  .table-panel{min-height:0}
}
/* Öğrenci alanları ve işlem düğmeleri her cihazda aynı alt hizaya oturur. */
.inline-form{align-items:stretch}
.inline-form>input,.inline-form>button,.inline-form>.pdf-import{box-sizing:border-box;height:48px!important;min-height:48px;margin:0}
.inline-form>.pdf-import{justify-content:center}
.grade-table th{box-sizing:border-box}
.grade-table thead .grade-subgroup-row th[rowspan="2"]{vertical-align:middle}
@media(max-width:760px){
  .inline-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
  .inline-form>input{width:100%;min-width:0}
  .inline-form>button,.inline-form>.pdf-import{grid-column:1/-1;width:100%;justify-content:center}
}
/* Nu ve Adı Soyadı başlıklarını rowspan kullanmadan hizala. */
.grade-table thead .grade-subgroup-row .student-label{background:#f7f7f7!important;color:#17152b!important;border:1px solid #173c6a!important;border-bottom:0!important;padding-bottom:0;vertical-align:middle}
.grade-table thead .grade-label-row .student-label-continuation{background:#f7f7f7!important;border:1px solid #173c6a!important;border-top:0!important;padding:0!important}
.grade-table{width:1244px!important;min-width:1244px!important;max-width:1244px!important}
@media(max-width:760px){.grade-table{width:1244px!important;min-width:1244px!important;max-width:1244px!important}}
/* T/P/U, Ödev, Muaf, Puanı ve Notu alt çizgilerini Y/S sütunlarıyla hizala. */
.grade-table thead .grade-subgroup-row .fixed-label{border:1px solid #173c6a!important;border-bottom:0!important;padding-bottom:0;vertical-align:middle}
.grade-table thead .grade-label-row .fixed-label-continuation{border:1px solid #173c6a!important;border-top:0!important;padding:0!important}
.grade-table thead .grade-subgroup-row .fixed-label:nth-child(5),.grade-table thead .grade-subgroup-row .fixed-label:nth-child(6),.grade-table thead .grade-label-row .fixed-label-continuation:nth-child(10),.grade-table thead .grade-label-row .fixed-label-continuation:nth-child(11){background:#cf587b!important;color:#fff!important}
.grade-table thead .grade-subgroup-row .fixed-label:nth-child(7),.grade-table thead .grade-label-row .fixed-label-continuation:nth-child(12){background:#194575!important;color:#fff!important}
.grade-table thead .grade-subgroup-row .fixed-label:nth-child(8),.grade-table thead .grade-subgroup-row .fixed-label:nth-child(9),.grade-table thead .grade-label-row .fixed-label-continuation:nth-child(13),.grade-table thead .grade-label-row .fixed-label-continuation:nth-child(14){background:#f7f7f7!important;color:#17152b!important}
/* Masaüstünde öğrenci listesinin dikey kullanımını sıkılaştır. */
@media(min-width:761px){
  .desktop-header{height:42px;margin-bottom:6px}
  .desktop-header h1{font-size:21px}
  .desktop-header>div{gap:10px}
  .desktop-header button,.desktop-header select{height:42px}
  .split-page{gap:8px;height:calc(100vh - 100px)}
  .class-panel{min-height:50px;padding:6px 12px;gap:10px}
  .class-panel h2{font-size:16px}
  .class-panel button{height:34px;min-width:78px;padding:0 12px}
  .table-panel{padding:11px 14px}
  .panel-toolbar{min-height:40px;gap:8px}
  .panel-toolbar h2{font-size:17px}
  .panel-toolbar p{margin:2px 0;font-size:11px}
  .panel-toolbar select,.panel-toolbar input,.panel-toolbar button{height:38px}
  .inline-form{padding:6px 0;margin-top:6px}
  .inline-form>input,.inline-form>button,.inline-form>.pdf-import{height:40px!important;min-height:40px}
  .grade-table td{padding:7px 6px}
  .grade-table input:not([type="checkbox"]){height:30px}
}
/* Toplu not girişi: kompakt, dokunmatik uyumlu ve okunaklı tablo */
.grade-dialog .dialog-table table{table-layout:fixed;min-width:690px}
.grade-dialog .dialog-table th:nth-child(1),.grade-dialog .dialog-table td:nth-child(1){width:82px}
.grade-dialog .dialog-table th:nth-child(2),.grade-dialog .dialog-table td:nth-child(2){width:220px;min-width:0}
.grade-dialog .dialog-table th:nth-child(n+3):nth-child(-n+5),.grade-dialog .dialog-table td:nth-child(n+3):nth-child(-n+5){width:92px}
.grade-dialog .dialog-table th:nth-child(6),.grade-dialog .dialog-table td:nth-child(6){width:76px}
.grade-dialog .dialog-table input[type="number"]{display:block;width:68px;max-width:100%;height:32px;margin:auto;padding:0 5px;border:1px solid #c9aeb9;border-radius:9px;background:#fff;text-align:center;font-size:16px;box-sizing:border-box}
.grade-dialog .dialog-table tbody tr:nth-child(odd){background:#fff}
.grade-dialog .dialog-table tbody tr:nth-child(even){background:#fff0f4}
.grade-dialog .dialog-table input[type="number"]:focus{outline:2px solid #3489c3;outline-offset:1px;border-color:#3489c3}
@media(max-width:760px){.grade-dialog .dialog-table table{min-width:600px}.grade-dialog .dialog-table th:nth-child(1),.grade-dialog .dialog-table td:nth-child(1){width:64px}.grade-dialog .dialog-table th:nth-child(2),.grade-dialog .dialog-table td:nth-child(2){width:170px}.grade-dialog .dialog-table th:nth-child(n+3):nth-child(-n+5),.grade-dialog .dialog-table td:nth-child(n+3):nth-child(-n+5){width:78px}.grade-dialog .dialog-table th:nth-child(6),.grade-dialog .dialog-table td:nth-child(6){width:64px}.grade-dialog .dialog-table input[type="number"]{width:58px;height:34px;border-radius:9px}.grade-dialog .dialog-table th{padding:9px 4px}.grade-dialog .dialog-table td{padding:4px 3px}}
.grade-dialog .dialog-table tbody tr:focus-within{background:#d9efff!important;box-shadow:inset 5px 0 0 #3489c3,inset 0 1px 0 #3489c3,inset 0 -1px 0 #3489c3}
.grade-dialog .dialog-table tbody tr:focus-within td{background:transparent!important;color:#112e4b;font-weight:600}

/* Performans yüzdeleri: toplam doğrulama ve kaydetme */
.participation-summary{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;margin-top:4px}.participation-summary button{border:0;border-radius:8px;padding:8px 14px;background:#194575;color:#fff;font-weight:800;cursor:pointer}.participation-invalid{border-color:#c9164e;background:#fff4f7}.participation-invalid .participation-summary strong{color:#b20e42}.participation-valid .participation-summary strong{color:#167654}.participation-error,.participation-success{margin:7px 0 0;font-weight:800}.participation-error{color:#b20e42}.participation-success{color:#167654}.participation input:disabled{opacity:.45;background:#eee}
@media(max-width:760px){.participation-summary{gap:7px}.participation-summary button{width:100%}}
/* Etkin PDF ders kitabı okuyucusu */
.lesson-reader-page{grid-template-columns:245px minmax(0,1fr) 265px}.lesson-reader{overflow:hidden}.lesson-reader-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.lesson-reader-head h2{margin:0}.lesson-reader-head p{margin:4px 0 0;color:#746c78;font-size:12px;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lesson-file-actions{display:flex;gap:7px;flex-wrap:wrap}.lesson-file-actions button,.lesson-tools a,.lesson-tools button,.pdf-empty button{border:0;border-radius:9px;padding:10px 13px;background:#194575;color:#fff;font-weight:800;text-decoration:none;cursor:pointer}.lesson-file-actions .lesson-upload,.pdf-empty button{background:#278f69}.lesson-message{margin-top:9px;padding:8px 11px;border-radius:8px;background:#edf7ff;color:#194575;font-weight:700;font-size:12px}.lesson-controls{justify-content:flex-start;align-items:center;overflow-x:auto;padding-bottom:3px}.lesson-controls label{display:flex;align-items:center;gap:5px;height:41px;padding:0 9px;border:1px solid #ddc9d2;border-radius:10px;background:#fff;color:#8e123d;font-size:11px;font-weight:800;white-space:nowrap}.lesson-controls input{width:58px;border:0;border-left:1px solid #ead7df;padding-left:7px;font-weight:800}.lesson-controls b{min-width:78px;text-align:center;white-space:nowrap}.lesson-controls button.active{background:#194575;color:#fff}.lesson-controls button:disabled{opacity:.4;cursor:not-allowed}.pdf-viewer{flex:1;min-height:420px;border:1px solid #dccbd3;border-radius:11px;overflow:hidden;background:#dedde1;position:relative}.pdf-viewer iframe{display:block;width:100%;height:100%;min-height:420px;border:0;background:#fff}.pdf-viewer:fullscreen{width:100vw;height:100vh;border:0;border-radius:0;background:#fff}.pdf-viewer:fullscreen iframe{height:100vh}.pdf-empty{height:100%;min-height:420px;display:grid;place-items:center;align-content:center;text-align:center;padding:22px;background:linear-gradient(135deg,#fff,#f6edf2)}.pdf-empty b{font-size:23px;color:#194575}.pdf-empty p{max-width:460px;color:#766b75}.lesson-tools{display:flex;flex-direction:column;gap:9px}.lesson-tools a,.lesson-tools button{display:block;width:100%;box-sizing:border-box;text-align:left;background:#2f9b70}.lesson-tools button{font:800 13px "Segoe UI",sans-serif}.lesson-tip{margin-top:auto;display:grid;gap:7px;padding:11px;border-radius:10px;background:#edf5fb;color:#194575;font-size:12px}
@media(max-width:1100px){.lesson-reader-page{grid-template-columns:220px minmax(0,1fr)}.lesson-reader-page .lesson-tools{display:none}}
@media(max-width:760px){.lesson-reader-page{display:block}.lesson-reader{height:calc(100dvh - 150px);min-height:600px;padding:10px}.lesson-reader-head{align-items:flex-start}.lesson-file-actions{width:100%}.lesson-file-actions button{flex:1}.lesson-controls{margin:7px 0}.lesson-controls button,.lesson-controls label{height:38px;flex-shrink:0}.pdf-viewer,.pdf-viewer iframe,.pdf-empty{min-height:390px}.pdf-viewer{height:100%}}
/* Ders anlatımı: kitap alanını büyüt ve araçları sıkıştır */
.lesson-mode{padding-top:12px;padding-bottom:12px}.lesson-mode .desktop-sidebar{height:calc(100vh - 24px);top:12px}.lesson-mode .desktop-header{height:42px;margin-bottom:8px}.lesson-mode .desktop-header h1{font-size:19px}.lesson-mode .desktop-header>div{gap:8px}.lesson-mode .course-picker,.lesson-mode .desktop-header button{height:40px}.lesson-mode .lesson-reader-page{grid-template-columns:minmax(0,1fr) 250px;height:calc(100vh - 74px);gap:9px}.lesson-mode .lesson-reader{padding:10px}.lesson-mode .lesson-reader-head{min-height:38px}.lesson-mode .lesson-reader-head h2{font-size:19px}.lesson-mode .lesson-reader-head p{margin-top:2px}.lesson-mode .lesson-file-actions button{padding:8px 11px}.lesson-mode .lesson-message{margin-top:5px;padding:6px 9px}.lesson-mode .lesson-controls{margin:6px 0;gap:4px}.lesson-mode .lesson-controls button,.lesson-mode .lesson-controls label{height:34px;padding-left:8px;padding-right:8px}.lesson-mode .pdf-viewer{display:flex;justify-content:center;align-items:stretch;scrollbar-gutter:stable both-edges}.lesson-mode .pdf-viewer iframe{margin-inline:auto;transform-origin:center top}.lesson-mode .lesson-tools{padding:13px}.lesson-mode .lesson-tools h2{margin:2px 0 5px}.lesson-mode .lesson-tools p{margin:0 0 5px}.lesson-mode .lesson-tools a,.lesson-mode .lesson-tools button{padding:9px 11px}
@media(max-width:1100px){.lesson-mode .lesson-reader-page{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.lesson-mode{padding:0}.lesson-mode .desktop-header{height:43px;margin-bottom:5px}.lesson-mode .desktop-header h1{font-size:17px}.lesson-mode .lesson-reader-page{height:auto}.lesson-mode .lesson-reader{height:calc(100dvh - 117px);padding:8px}.lesson-mode .lesson-reader-head h2{font-size:17px}.lesson-mode .lesson-controls{margin:4px 0}.lesson-mode .pdf-viewer{min-height:430px}}
/* Sol menüyü koruyan akıllı tahta modu */
.lesson-board-active .desktop-header{display:none}.lesson-board-active .lesson-reader-page{grid-template-columns:minmax(0,1fr);height:calc(100vh - 24px)}.lesson-board-active .lesson-tools{display:none}.lesson-board-active .lesson-reader{height:100%;padding:8px}.lesson-board-active .lesson-reader-head{min-height:34px}.lesson-board-active .lesson-message{margin-top:3px}.lesson-board-active .lesson-controls{margin:4px 0}.lesson-board-active .pdf-viewer{min-height:0;height:100%}.lesson-controls button.board-active{background:#278f69;color:#fff;border-color:#278f69}
@media(max-width:760px){.lesson-board-active .desktop-header{display:none}.lesson-board-active .lesson-reader-page{height:calc(100dvh - 58px)}.lesson-board-active .lesson-reader{height:100%;min-height:0}.lesson-board-active .pdf-viewer{min-height:420px}}
/* PDF barkodlarını tıklanabilir araçlara dönüştür */
.lesson-tools{overflow:auto}.lesson-tools .barcode-scan-button{background:#8e123d}.lesson-tools .barcode-scan-button:disabled{opacity:.6}.barcode-status{padding:8px 9px;border-radius:8px;background:#edf5fb;color:#194575;font-size:11px;font-weight:700}.barcode-buttons{display:grid;gap:6px;padding-top:4px}.barcode-buttons>b{color:#194575;font-size:13px}.lesson-tools .barcode-buttons button{height:auto;min-height:54px;margin:0;background:#194575;display:grid;gap:3px}.barcode-buttons button span{font-weight:800}.barcode-buttons button small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e7f5ff}.lesson-board-active .barcode-buttons{display:none}
/* PDF tam ekran çıkış düğmesi */
.pdf-viewer .fullscreen-exit{display:none;position:absolute;right:18px;bottom:18px;z-index:30;border:0;border-radius:12px;padding:12px 18px;background:#8e123d;color:#fff;font-weight:900;box-shadow:0 8px 24px #0008;cursor:pointer}.pdf-viewer:fullscreen .fullscreen-exit{display:block}.pdf-viewer:-webkit-full-screen .fullscreen-exit{display:block}
@media(max-width:760px){.pdf-viewer .fullscreen-exit{right:10px;bottom:10px;padding:11px 14px}}
/* Tam ekranda sayfa merkezini koruyan gezinme okları */
.pdf-viewer .fullscreen-page{display:none;position:absolute;top:50%;z-index:31;width:54px;height:76px;transform:translateY(-50%);border:0;border-radius:14px;background:#8e123ddd;color:#fff;font-size:46px;line-height:1;box-shadow:0 8px 24px #0007;cursor:pointer}.pdf-viewer .fullscreen-page-prev{left:18px}.pdf-viewer .fullscreen-page-next{right:18px}.pdf-viewer .fullscreen-page:disabled{opacity:.28;cursor:not-allowed}.pdf-viewer:fullscreen,.pdf-viewer:-webkit-full-screen{display:grid;place-items:center;overflow:hidden}.pdf-viewer:fullscreen iframe,.pdf-viewer:-webkit-full-screen iframe{width:100%;height:100%;margin:auto}.pdf-viewer:fullscreen .fullscreen-page,.pdf-viewer:-webkit-full-screen .fullscreen-page{display:block}
@media(max-width:760px){.pdf-viewer .fullscreen-page{width:42px;height:62px;font-size:38px}.pdf-viewer .fullscreen-page-prev{left:8px}.pdf-viewer .fullscreen-page-next{right:8px}}
/* Akıllı tahta ve mobil dokunmatik PDF hareketleri */
.touch-surface{display:none;position:absolute;inset:0;z-index:29;touch-action:none;cursor:grab}.touch-surface:active{cursor:grabbing}.touch-reset{display:none;position:absolute;left:18px;bottom:18px;z-index:31;border:0;border-radius:11px;padding:11px 15px;background:#194575dd;color:#fff;font-weight:900;box-shadow:0 8px 24px #0007;cursor:pointer}.lesson-board-active .touch-surface,.lesson-board-active .touch-reset,.pdf-viewer:fullscreen .touch-surface,.pdf-viewer:fullscreen .touch-reset,.pdf-viewer:-webkit-full-screen .touch-surface,.pdf-viewer:-webkit-full-screen .touch-reset{display:block}.pdf-viewer iframe{transform-origin:center center;will-change:transform;transition:transform .04s linear}
@media(max-width:760px){.touch-surface,.touch-reset{display:block}.touch-reset{left:8px;bottom:8px;padding:10px 12px}}
/* Önceki derste kalınan sayfa */
.lesson-tools .last-page-button{background:#194575;text-align:center;line-height:1.25}.lesson-tools .last-page-button:disabled{background:#8a929d;opacity:.7;cursor:not-allowed}
.lesson-tools .daily-plan-open-button{background:linear-gradient(135deg,#991840,#c53868);text-align:center;font-size:15px;box-shadow:0 7px 16px #99184030}.plan-selection-panel>a{padding:10px 14px;border-radius:9px;background:#991840;color:#fff;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}
/* Tam ekran ve akıllı tahtada yalnızca seçili PDF sayfası */
.single-page-canvas{display:none;max-width:calc(100% - 150px);max-height:calc(100% - 28px);width:auto;height:auto;margin:auto;object-fit:contain;transform-origin:center center;will-change:transform}.pdf-viewer:fullscreen .single-page-canvas,.pdf-viewer:-webkit-full-screen .single-page-canvas,.lesson-board-active .single-page-canvas{display:block}.pdf-viewer:fullscreen.single-page-ready iframe,.pdf-viewer:-webkit-full-screen.single-page-ready iframe,.lesson-board-active .pdf-viewer.single-page-ready iframe{display:none}
@media(max-width:760px){.single-page-canvas{max-width:calc(100% - 72px);max-height:calc(100% - 18px)}}.single-page-loading{display:grid;place-items:center;width:100%;min-height:420px;color:#194575;font-size:18px;font-weight:800}.pdf-viewer:fullscreen .single-page-loading,.pdf-viewer:-webkit-full-screen .single-page-loading,.lesson-board-active .single-page-loading{display:grid;color:#fff}
/* İnce akıllı tahta araç çubuğu */
.smartboard-toolbar{display:none;position:absolute;top:8px;left:50%;z-index:33;transform:translateX(-50%);align-items:center;gap:5px;min-height:38px;padding:5px 7px;border:1px solid #ffffff55;border-radius:12px;background:#16191de8;color:#fff;box-shadow:0 5px 18px #0008;white-space:nowrap}.smartboard-toolbar button,.smartboard-toolbar label{height:30px;border:0;border-radius:8px;padding:0 10px;background:#ffffff18;color:#fff;font-weight:800}.smartboard-toolbar button{cursor:pointer}.smartboard-toolbar button:disabled{opacity:.35;cursor:not-allowed}.smartboard-toolbar label{display:flex;align-items:center;gap:5px}.smartboard-toolbar input{width:48px;height:24px;border:0;border-radius:6px;text-align:center;font-weight:900}.smartboard-toolbar b{min-width:46px;text-align:center}.pdf-viewer:fullscreen .smartboard-toolbar,.pdf-viewer:-webkit-full-screen .smartboard-toolbar,.lesson-board-active .smartboard-toolbar{display:flex}
@media(max-width:760px){.smartboard-toolbar{top:5px;max-width:calc(100% - 12px);overflow-x:auto;padding:4px}.smartboard-toolbar button,.smartboard-toolbar label{height:28px;padding:0 8px;font-size:12px}.smartboard-toolbar input{width:40px}}.board-tool-divider{width:1px;height:24px;background:#ffffff40;margin:0 2px}.smartboard-toolbar button.active{background:#2f9b70;color:#fff;box-shadow:inset 0 0 0 1px #8fffd1}.touch-surface.drawing-disabled{pointer-events:none}.board-ink-layer{display:none;position:absolute;inset:52px 72px 18px;z-index:33;width:calc(100% - 144px);height:calc(100% - 70px);touch-action:none;pointer-events:none}.pdf-viewer:fullscreen .board-ink-layer,.pdf-viewer:-webkit-full-screen .board-ink-layer,.lesson-board-active .board-ink-layer{display:block}.board-ink-layer.active{pointer-events:auto;cursor:crosshair}
@media(max-width:760px){.board-ink-layer{inset:48px 36px 12px;width:calc(100% - 72px);height:calc(100% - 60px)}.smartboard-toolbar{scrollbar-width:thin}.smartboard-toolbar .board-tool-divider{flex:0 0 1px}}.single-page-stage{display:none;position:relative;z-index:31;pointer-events:none;height:calc(100% - 28px);max-width:calc(100% - 150px);margin:auto;transform-origin:center center;will-change:transform}.pdf-viewer:fullscreen .single-page-stage,.pdf-viewer:-webkit-full-screen .single-page-stage,.lesson-board-active .single-page-stage{display:block}.single-page-stage .single-page-canvas{display:block;pointer-events:none;width:100%;height:100%;max-width:none;max-height:none;object-fit:fill;transform:none;margin:0}.barcode-hotspots{position:absolute;inset:0;z-index:32;pointer-events:none}.barcode-hotspots button{position:absolute;pointer-events:auto;min-width:34px;min-height:34px;border:3px solid #19a76f;border-radius:10px;background:#19a76f33;color:#075b3d;font-size:20px;font-weight:900;cursor:pointer;box-shadow:0 0 0 4px #fff9,0 5px 16px #0005}.barcode-hotspots button:hover,.barcode-hotspots button:focus{background:#19a76fbb;color:#fff;transform:scale(1.08)}
@media(max-width:760px){.single-page-stage{height:calc(100% - 18px);max-width:calc(100% - 72px)}.barcode-hotspots button{min-width:40px;min-height:40px}}
/* Eşzamanlı sayfa numarası: uygulama tek sayfalık görünümü yönetir */
.pdf-viewer.single-page-ready .single-page-stage{display:block}
.pdf-viewer>iframe{display:none}
.pdf-viewer.single-page-ready .touch-surface,.pdf-viewer.single-page-ready .touch-reset{display:block}
.lesson-class-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px;background:#161522b8;backdrop-filter:blur(3px)}.lesson-class-modal>section{width:min(520px,100%);max-height:85vh;overflow:auto;padding:22px;border-radius:18px;background:#fff;box-shadow:0 24px 70px #1118}.lesson-class-modal h3{margin:0;color:#194575;font-size:24px}.lesson-class-modal p{margin:7px 0 17px;color:#6f6873}.lesson-class-modal section>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lesson-class-modal section>div button{min-height:66px;border:2px solid #cc5d7c;border-radius:12px;background:#fff4f7;color:#69102f;display:flex;align-items:center;justify-content:space-between;padding:12px 15px;cursor:pointer}.lesson-class-modal section>div button:hover{background:#cc5d7c;color:#fff}.lesson-class-modal section>div b{font-size:18px}.lesson-class-modal section>div span{font-size:13px}.lesson-class-modal .close-picker{width:100%;height:44px;margin-top:15px;border:0;border-radius:10px;background:#194575;color:#fff;font-weight:800;cursor:pointer}@media(max-width:560px){.lesson-class-modal section>div{grid-template-columns:1fr}}
.lesson-class-memory{display:grid;grid-template-columns:minmax(90px,130px) auto;align-items:center;gap:6px}.lesson-class-memory select,.lesson-class-memory button{height:36px;border:1px solid #d9bdc9;border-radius:9px;background:#fff;color:#8e123d;font-weight:800;padding:0 10px}.lesson-class-memory button{cursor:pointer}.lesson-class-memory p{grid-column:1/-1;margin:0!important}.lesson-class-memory button:hover{background:#8e123d;color:#fff}@media(max-width:760px){.lesson-class-memory{width:100%;grid-template-columns:100px minmax(0,1fr)}.lesson-class-memory select,.lesson-class-memory button{height:34px;padding:0 8px;font-size:12px}}
.settings-form button:disabled{opacity:.65;cursor:wait}.settings-message{grid-column:1/-1;margin:0;padding:11px 13px;border-radius:9px;background:#edf8f3;color:#176b4c;font-size:13px;font-weight:700}

.files-page{min-height:480px}.file-upload{height:42px;display:flex;align-items:center;border-radius:10px;background:var(--wine);color:#fff;padding:0 16px;font-weight:800;cursor:pointer}.file-upload input{display:none}.file-upload.disabled{opacity:.65;cursor:wait}.files-message{margin:16px 0 0;padding:11px 13px;border-radius:10px;background:#edf8f3;color:#176b4c;font-size:13px;font-weight:700}.account-files{display:grid;gap:10px;margin-top:20px}.account-files article{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;align-items:center;gap:12px;border:1px solid #ead9df;border-radius:14px;background:#fffafb;padding:13px}.account-files article i{width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:#a31642;color:#fff;font-size:11px;font-style:normal;font-weight:900}.account-files article div{min-width:0;display:grid;gap:5px}.account-files article b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-files article small{color:#756875}.account-files article button{height:38px;border:0;border-radius:9px;background:var(--navy);color:#fff;padding:0 15px;font-weight:800;cursor:pointer}.account-files article .delete-file{background:#fff0f3;color:#9a173d;border:1px solid #efcad5}.files-empty{min-height:250px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;color:#756875}.files-empty b{color:var(--ink);font-size:18px}@media(max-width:620px){.files-page>.card-heading{align-items:flex-start;flex-direction:column}.file-upload{width:100%;justify-content:center}.account-files article{grid-template-columns:48px minmax(0,1fr);gap:10px}.account-files article button{grid-row:2;grid-column:auto}.account-files article b{white-space:normal;overflow-wrap:anywhere}}
/* persistent-pdf-toolbar */
.lesson-mode .pdf-viewer{padding-top:48px;box-sizing:border-box}
.lesson-mode .smartboard-toolbar{display:flex;top:0;left:0;right:0;width:100%;min-height:46px;box-sizing:border-box;transform:none;justify-content:center;border:0;border-bottom:1px solid #c8c8c8;border-radius:0;background:#f7f7f7;color:#202124;box-shadow:0 2px 5px #0002}
.lesson-mode .smartboard-toolbar button,.lesson-mode .smartboard-toolbar label{background:#e7e8ea;color:#202124}
.lesson-mode .smartboard-toolbar button:hover{background:#d7d9dc}
.lesson-mode .smartboard-toolbar .board-tool-divider{background:#7775}
.lesson-mode .smartboard-toolbar button.active{background:#2f9b70;color:#fff}
.lesson-mode .pdf-viewer:fullscreen .smartboard-toolbar,.lesson-mode .pdf-viewer:-webkit-full-screen .smartboard-toolbar,.lesson-board-active .smartboard-toolbar{background:#16191de8;color:#fff;border-bottom-color:#ffffff55;box-shadow:0 5px 18px #0008}
.lesson-mode .pdf-viewer:fullscreen .smartboard-toolbar button,.lesson-mode .pdf-viewer:fullscreen .smartboard-toolbar label,.lesson-mode .pdf-viewer:-webkit-full-screen .smartboard-toolbar button,.lesson-mode .pdf-viewer:-webkit-full-screen .smartboard-toolbar label,.lesson-board-active .smartboard-toolbar button,.lesson-board-active .smartboard-toolbar label{background:#ffffff18;color:#fff}
@media(max-width:760px){.lesson-mode .pdf-viewer{padding-top:44px}.lesson-mode .smartboard-toolbar{min-height:42px;justify-content:flex-start}}
.pdf-viewer:fullscreen .single-page-stage,.pdf-viewer:-webkit-full-screen .single-page-stage{width:min(calc(100% - 150px),calc((100vh - 76px)*var(--page-ratio)));height:auto;max-height:calc(100vh - 76px)}
@media(max-width:760px){.pdf-viewer:fullscreen .single-page-stage,.pdf-viewer:-webkit-full-screen .single-page-stage{width:min(calc(100% - 72px),calc((100vh - 64px)*var(--page-ratio)));max-height:calc(100vh - 64px)}}

/* Pardus akıllı tahta: dar etkin çözünürlükte sağdaki Kitap Araçları panelini koru. */
@media(min-width:761px) and (max-width:1400px){
  .lesson-mode .lesson-reader-page{grid-template-columns:minmax(0,1fr) 210px!important;gap:7px}
  .lesson-mode .lesson-tools{display:flex!important;min-width:0;max-width:100%;padding:9px;gap:6px}
  .lesson-mode .lesson-tools h2{font-size:15px}
  .lesson-mode .lesson-tools p{padding:7px;font-size:10px;line-height:1.3}
  .lesson-mode .lesson-tools a,.lesson-mode .lesson-tools button{padding:7px 8px;font-size:11px;overflow-wrap:anywhere}
  .lesson-mode .lesson-tools .daily-plan-open-button{font-size:12px}
  .lesson-mode .lesson-tip{padding:8px;font-size:10px}
  .lesson-mode .smartboard-toolbar{justify-content:flex-start;gap:3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
  .lesson-mode .smartboard-toolbar button,.lesson-mode .smartboard-toolbar label{flex:0 0 auto;height:32px;padding:0 7px;font-size:12px}
  .lesson-mode .smartboard-toolbar input{width:38px}
  .lesson-mode .smartboard-toolbar b{min-width:38px}
  .lesson-mode .smartboard-toolbar .smartboard-tool-text{display:none}
}
@media(min-width:761px) and (max-width:1050px){
  .lesson-mode .lesson-reader-page{grid-template-columns:minmax(0,1fr) 185px!important}
  .lesson-mode .desktop-header .course-picker{max-width:180px}
}

/* Pardus akıllı tahta: ana sayfayı düşük yatay ekran yüksekliğine sığdır. */
@media(orientation:landscape) and (max-height:800px) and (min-width:761px){
  .home-page-mode{grid-template-columns:185px minmax(0,1fr);gap:10px;padding:8px 10px!important}
  .home-page-mode .desktop-sidebar{height:auto;min-height:calc(100dvh - 16px);align-self:stretch;top:8px;padding:8px 9px;border-radius:14px}
  .home-page-mode .desktop-logo{padding:2px 0 7px}
  .home-page-mode .desktop-logo img{max-height:66px}
  .home-page-mode .desktop-sidebar nav{gap:2px;padding-top:5px}
  .home-page-mode .desktop-sidebar nav button,.home-page-mode .sidebar-bottom a{min-height:31px;padding:0 9px;border-radius:9px;font-size:11px;gap:6px}
  .home-page-mode .desktop-sidebar nav button i{width:16px;font-size:13px}
  .home-page-mode .sidebar-bottom{padding-top:4px;gap:2px}
  .home-page-mode .desktop-header{height:40px;margin-bottom:5px;gap:6px}
  .home-page-mode{overflow-x:hidden}
  .home-page-mode .desktop-header h1{font-size:13px;line-height:1.05;white-space:nowrap}
  .home-page-mode .desktop-header>div{gap:4px;flex:1;flex-wrap:nowrap;min-width:0;justify-content:flex-end}
  .home-page-mode .course-picker{width:165px;max-width:165px;height:34px!important;padding:0 7px;font-size:11px}
  .home-page-mode .desktop-header button{height:34px!important;min-width:92px;padding:0 7px;font-size:10px}
  .home-page-mode .teacher-account-button{width:112px;min-width:112px!important;max-width:112px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .home-page-mode .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  .home-page-mode .stat-card{min-height:58px;padding:7px 9px;gap:8px;border-radius:12px}
  .home-page-mode .stat-card i{width:38px;height:38px;font-size:11px}
  .home-page-mode .stat-card b{font-size:19px}
  .home-page-mode .stat-card small{font-size:11px}
  .home-page-mode .home-schedule-reminder{margin:7px 0!important;border-radius:13px!important}
  .home-page-mode .schedule-status{gap:7px;padding:6px 9px}
  .home-page-mode .schedule-status-icon{width:34px;height:34px;border-radius:9px;font-size:17px}
  .home-page-mode .schedule-status h2{margin:1px 0;font-size:15px}
  .home-page-mode .schedule-status p,.home-page-mode .schedule-status small{font-size:10px}
  .home-page-mode .schedule-status>strong{font-size:16px}
  .home-page-mode .schedule-day-columns article{padding:5px 8px}
  .home-page-mode .schedule-day-columns header{margin-bottom:3px}
  .home-page-mode .schedule-day-columns header h3{font-size:14px}
  .home-page-mode .schedule-day-columns header small,.home-page-mode .schedule-day-columns header>span{font-size:9px}
  .home-page-mode .home-lesson{min-width:108px;padding:4px 6px;gap:4px;font-size:9px}
  .home-page-mode .schedule-empty{padding:7px;font-size:10px}
  .home-page-mode .home-columns{height:auto;min-height:0;margin-top:4px;gap:8px}
  .home-page-mode .desktop-card{padding:10px}
  .home-page-mode .calendar-days button small{display:none}
  .home-page-mode .calendar-days button{align-items:center;justify-content:center;padding:4px;overflow:visible}
  .home-page-mode .calendar-days button strong{font-size:16px}
  .home-page-mode .calendar-compact-notes{display:grid;gap:4px;margin-top:7px}
  .home-page-mode .calendar-compact-notes>div{display:grid;grid-template-columns:34px 18px minmax(0,1fr);align-items:center;min-height:27px;padding:3px 7px;border:1px solid #d8dfe5;border-radius:8px;background:#fff;font-size:12px;line-height:1.2}
  .home-page-mode .calendar-compact-notes b{display:grid;place-items:center;height:23px;border:2px solid currentColor;border-radius:5px}
  .home-page-mode .calendar-compact-notes i{font-style:normal;font-size:16px;font-weight:900;text-align:center}
  .home-page-mode .calendar-compact-notes .holiday{color:#9f1239}
  .home-page-mode .calendar-compact-notes .education{color:#126746}
  .home-page-mode .calendar-compact-notes .special{color:#164f82}
  .home-page-mode .legend,.home-page-mode .mini-calendar>p{display:none}
}

/* Ana sayfada menü takvimle biter; haberler altında tam genişlikte devam eder. */
@media(min-width:761px){
  .home-page-mode{align-items:stretch;row-gap:10px}
  .home-page-mode .desktop-content,.home-page-mode .home-layout{display:contents}
  .home-page-mode .desktop-sidebar{grid-column:1;grid-row:1/6;height:auto;min-height:calc(100dvh - 52px);align-self:stretch}
  .home-page-mode .desktop-header{grid-column:2;grid-row:1}
  .home-page-mode .stat-grid{grid-column:2;grid-row:2}
  .home-page-mode .responsibility-exam-alerts{grid-column:2;grid-row:3;width:100%;min-width:0;margin-bottom:0}
  .home-page-mode .home-schedule-reminder,.home-page-mode .home-schedule-loading,.home-page-mode .home-schedule-missing{grid-column:2;grid-row:4;margin-bottom:0}
  .home-page-mode .home-columns{grid-column:2;grid-row:5;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:auto;min-height:0;margin-top:0;gap:8px}
  .home-page-mode .calendar-card,.home-page-mode .news-card-main{min-width:0;overflow:hidden}
  .home-page-mode .news-card-more{grid-column:1/-1;grid-row:6;margin-top:4px;padding:18px}
  .home-page-mode .news-card-more .news-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .home-page-mode .news-card-more .news-grid .news-tile{display:flex;flex-direction:column;min-width:0;aspect-ratio:1/1}
  .home-page-mode .news-card-more .news-tile>img{width:100%;height:55%;min-height:0;object-fit:cover}
  .home-page-mode .news-card-more .news-tile>div{padding:11px}
  .home-page-mode .news-card-more .news-tile h3{margin:5px 0;font-size:14px;line-height:1.25}
  .home-page-mode .news-card-more .news-tile small{font-size:10px}
  .home-page-mode .news-card-more .news-tile b{margin-top:auto;font-size:11px}
  .home-page-mode .news-card-more .news-grid .news-tile:nth-child(n+5){display:flex}
}
@media(min-width:761px) and (max-width:1100px){.home-page-mode .news-card-more .news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.home-side-column{display:grid;align-content:start;gap:10px;min-width:0}.home-outcomes-card{border:2px solid #173c6a;border-radius:12px;background:linear-gradient(135deg,#fff 0 72%,#edf6ff);box-shadow:0 8px 22px #173c6a18}.home-outcomes-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #d9e4ee}.home-outcomes-card header small{display:block;color:#9c1644;font-size:12px;font-weight:900;letter-spacing:.1em}.home-outcomes-card header h2{margin:4px 0 0;color:#172b4b;font-size:20px}.home-outcomes-card header>b{padding:6px 10px;border-radius:999px;background:#173c6a;color:#fff;font-size:12px;white-space:nowrap}.home-outcomes-classes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px;max-height:430px;overflow:auto;padding-right:3px}.home-outcomes-classes article{min-width:0;padding:9px;border:1px solid #cbd9e6;border-radius:9px;background:#f8fbff}.home-outcomes-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:0 0 7px}.home-outcomes-meta strong,.home-outcomes-meta span{padding:6px 9px;border-radius:8px;background:#e8f0f7;color:#173c6a;font-size:13px}.home-outcomes-meta strong{background:#9c1644;color:#fff}.home-outcomes-card ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.home-outcomes-card li{position:relative;padding:8px 10px 8px 31px;border:1px solid #dde6ee;border-radius:8px;background:#fff;color:#29263b;font-size:14px;line-height:1.35}.home-outcomes-card li::before{content:"✓";position:absolute;left:10px;top:8px;color:#16845b;font-weight:900}.home-outcomes-card li em{display:block;margin-bottom:2px;color:#607083;font-size:12px;font-style:normal;font-weight:800}.home-outcomes-state{margin:12px 0 0;padding:13px;border-radius:8px;background:#f7f2f4;color:#6c5961;font-size:14px}.home-side-column .news-card-main{overflow:visible}
.home-outcomes-schedule{margin:0 0 8px;padding:7px 9px;border-radius:7px;background:#fff4d7;color:#654b00;font-size:11px;line-height:1.35}.home-outcomes-schedule b{color:#8a5b00}
@media(orientation:landscape) and (max-height:800px) and (min-width:761px){.home-outcomes-card{padding:9px!important}.home-outcomes-card header{padding-bottom:6px}.home-outcomes-card header small{font-size:9px}.home-outcomes-card header h2{font-size:15px}.home-outcomes-card header>b{padding:4px 7px;font-size:9px}.home-outcomes-classes{gap:5px;margin-top:6px;max-height:260px}.home-outcomes-classes article{padding:5px}.home-outcomes-meta{margin:0 0 4px;gap:4px}.home-outcomes-meta strong,.home-outcomes-meta span{padding:4px 6px;font-size:10px}.home-outcomes-card ul{gap:4px}.home-outcomes-card li{padding:5px 7px 5px 24px;font-size:11px;line-height:1.25}.home-outcomes-card li::before{left:8px;top:5px}.home-outcomes-card li em{font-size:9px}.home-outcomes-state{margin-top:7px;padding:8px;font-size:11px}}
@media(max-width:760px){.home-side-column{gap:10px}.home-outcomes-card header{align-items:flex-start}.home-outcomes-card header h2{font-size:18px}.home-outcomes-card header>b{white-space:normal;text-align:center}.home-outcomes-classes{grid-template-columns:1fr;max-height:none}.home-outcomes-card li{font-size:14px}}

/* Android: Ders Anlatımı başlığı ve PDF araçları ekranın dışına taşmaz. */
@media(max-width:760px){
  .lesson-mode{width:100%;max-width:100vw;overflow-x:hidden}
  .lesson-mode .desktop-content{width:100%;max-width:100%;padding:8px!important;box-sizing:border-box}
  .lesson-mode .desktop-header{display:grid;grid-template-columns:minmax(0,1fr);height:auto;margin:0 0 6px;gap:6px}
  .lesson-mode .desktop-header h1{font-size:18px;line-height:1.1}
  .lesson-mode .desktop-header>div{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(92px,.8fr) minmax(104px,.9fr);width:100%;gap:5px}
  .lesson-mode .course-picker,.lesson-mode .desktop-header button{width:100%;min-width:0!important;max-width:none;height:38px!important;padding:0 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
  .lesson-mode .lesson-reader-page,.lesson-mode .lesson-reader{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .lesson-mode .lesson-reader{height:auto;min-height:calc(100dvh - 132px);padding:7px}
  .lesson-mode .lesson-reader-head{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:6px}
  .lesson-mode .lesson-class-memory{grid-template-columns:86px minmax(0,1fr);width:100%;min-width:0}
  .lesson-mode .lesson-class-memory select,.lesson-mode .lesson-class-memory button{min-width:0;width:100%;height:36px;padding:0 6px;font-size:11px;white-space:normal;line-height:1.1}
  .lesson-mode .lesson-class-memory p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
  .lesson-mode .lesson-file-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
  .lesson-mode .lesson-file-actions button{width:100%;min-width:0;min-height:38px;padding:7px 9px;font-size:12px}
  .lesson-mode .lesson-message{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
  .lesson-mode .lesson-controls{width:100%;max-width:100%;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
  .lesson-mode .lesson-controls>*{flex:0 0 auto;scroll-snap-align:start}
  .lesson-mode .pdf-viewer{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding-top:42px;overflow:hidden}
  .lesson-mode .smartboard-toolbar{left:0;right:0;width:100%;max-width:none;transform:none;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;box-sizing:border-box;scrollbar-width:thin;overscroll-behavior-x:contain}
  .lesson-mode .smartboard-toolbar button,.lesson-mode .smartboard-toolbar label{flex:0 0 auto;padding:0 7px;font-size:11px}
  .lesson-mode .smartboard-toolbar .smartboard-tool-text{display:none}
  .lesson-mode .smartboard-toolbar input{width:36px}
  .lesson-mode .smartboard-toolbar b{min-width:38px}
  .lesson-mode .pdf-empty{width:100%;min-width:0;box-sizing:border-box;padding:18px 10px}
  .lesson-mode .pdf-empty b{font-size:20px}
  .lesson-mode .pdf-empty p{font-size:15px;line-height:1.35}
  .lesson-mode .lesson-controls button:nth-of-type(8){order:-2;background:#194575;color:#fff;border-color:#194575;font-weight:900}
  .lesson-board-active{position:fixed!important;inset:0!important;z-index:1500!important;width:100vw!important;height:100dvh!important;min-height:0!important;padding:0!important;background:#16191d!important;overflow:hidden!important}
  .lesson-board-active .mobile-menu-button,.lesson-board-active .desktop-sidebar,.lesson-board-active .desktop-header{display:none!important}
  .lesson-board-active .desktop-content{width:100vw!important;height:100dvh!important;padding:0!important}
  .lesson-board-active .lesson-reader-page,.lesson-board-active .lesson-reader{width:100vw!important;height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important}
  .lesson-board-active .lesson-reader-head,.lesson-board-active .lesson-message,.lesson-board-active .lesson-controls{display:none!important}
  .lesson-board-active .pdf-viewer{width:100vw!important;height:100dvh!important;min-height:0!important;border:0!important;border-radius:0!important}
}

/* Pardus akıllı tahta: Öğrencilerim ekranında en az 10 satırı ilk görünümde tut. */
@media(orientation:landscape) and (max-height:800px) and (min-width:761px){
  .students-page-mode{grid-template-columns:185px minmax(0,1fr);gap:10px;padding:8px 10px;overflow:hidden}
  .students-page-mode .desktop-sidebar{height:calc(100dvh - 16px);top:8px;padding:8px 9px;border-radius:14px}
  .students-page-mode .desktop-logo{padding:2px 0 7px}
  .students-page-mode .desktop-logo img{max-height:66px}
  .students-page-mode .desktop-sidebar nav{gap:2px;padding-top:5px}
  .students-page-mode .desktop-sidebar nav button,.students-page-mode .sidebar-bottom a{min-height:31px;padding:0 9px;border-radius:9px;font-size:11px;gap:6px}
  .students-page-mode .desktop-sidebar nav button i{width:16px;font-size:13px}
  .students-page-mode .sidebar-bottom{padding-top:4px;gap:2px}
  .students-page-mode .desktop-header{height:36px;margin-bottom:4px;gap:5px}
  .students-page-mode .desktop-header h1{font-size:17px;line-height:1;white-space:nowrap}
  .students-page-mode .desktop-header>div{min-width:0;gap:4px;flex-wrap:nowrap}
  .students-page-mode .course-picker{width:170px;max-width:170px;height:32px!important;padding:0 7px;font-size:11px}
  .students-page-mode .desktop-header button{height:32px!important;min-width:94px;padding:0 7px;font-size:10px}
  .students-page-mode .teacher-account-button{width:116px;min-width:116px!important;max-width:116px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .students-page-mode .split-page{height:calc(100dvh - 48px);gap:4px;grid-template-rows:42px minmax(0,1fr)}
  .students-page-mode .class-panel{min-height:42px;padding:3px 8px;gap:8px;border-radius:12px}
  .students-page-mode .class-panel h2{font-size:14px}
  .students-page-mode .class-panel>div{gap:5px;padding-bottom:2px}
  .students-page-mode .class-panel button{height:30px;min-width:70px;padding:0 10px;font-size:11px}
  .students-page-mode .table-panel{padding:6px 8px;border-radius:12px}
  .students-page-mode .panel-toolbar{min-height:31px;gap:5px;flex-wrap:nowrap}
  .students-page-mode .panel-toolbar>div:first-child{min-width:150px}
  .students-page-mode .panel-toolbar h2{font-size:14px;white-space:nowrap}
  .students-page-mode .panel-toolbar h2 small{font-size:10px}
  .students-page-mode .panel-toolbar p{display:none}
  .students-page-mode .student-actions{gap:4px;white-space:nowrap}
  .students-page-mode .panel-toolbar select,.students-page-mode .panel-toolbar input,.students-page-mode .panel-toolbar button{height:30px;padding:0 7px;font-size:10px}
  .students-page-mode .panel-toolbar input{min-width:120px;width:140px}
  .students-page-mode .inline-form{gap:5px;padding:3px 0;margin-top:3px}
  .students-page-mode .inline-form>input,.students-page-mode .inline-form>button,.students-page-mode .inline-form>.pdf-import{height:31px!important;min-height:31px;padding:0 8px;font-size:10px}
  .students-page-mode .inline-form input[name="no"]{width:100px}
  .students-page-mode .inline-form input[name="name"]{width:170px}
  .students-page-mode .grade-table thead .grade-group-row th{height:20px;padding:2px 4px;font-size:8px}
  .students-page-mode .grade-table thead .grade-subgroup-row th{top:20px;height:22px;padding:2px 4px;font-size:9px}
  .students-page-mode .grade-table thead .grade-label-row th{top:42px;height:22px;padding:2px 3px;font-size:9px}
  .students-page-mode .grade-table td{height:24px;padding:3px 5px;font-size:10px;line-height:16px}
  .students-page-mode .grade-table td:nth-child(4){padding-left:9px}
  .students-page-mode .grade-table td:nth-child(4) b{font-size:11px}
  .students-page-mode .grade-table td:first-child input{width:15px;height:15px}
  .students-page-mode .grade-table strong{font-size:11px}
}

/* Ayarlar sekmelerini tek ve dikkat çekici bir grup olarak vurgula. */
.weekly-settings .settings-tabs{display:flex;gap:8px;width:max-content;max-width:100%;padding:9px;border:2px solid var(--wine2);border-radius:14px;background:linear-gradient(135deg,#fff8fa,#f7e7ed);box-shadow:0 8px 20px #69102f24,0 0 0 3px #fff inset;overflow-x:auto}
.weekly-settings .settings-tabs button{border:1px solid #e2c4cf;background:#fff;color:#592038;padding:11px 17px;border-radius:9px;font-weight:750;white-space:nowrap;box-shadow:0 3px 8px #69102f12;transition:background .18s,color .18s,transform .18s,box-shadow .18s}
.weekly-settings .settings-tabs button:hover{background:#fbeef3;transform:translateY(-1px);box-shadow:0 5px 12px #69102f22}
.weekly-settings .settings-tabs button.active{border-color:var(--wine);background:linear-gradient(135deg,var(--wine),#a42855);color:#fff;box-shadow:0 6px 14px #69102f55}
@media(max-width:760px){.weekly-settings .settings-tabs{width:100%;padding:7px;border-radius:12px}.weekly-settings .settings-tabs button{padding:10px 14px}}

/* app/ogretmen/behavior-tracker.css */
.behavior-center{height:calc(100vh - 125px);display:flex;flex-direction:column;background:#fffdfef2;border-radius:20px;padding:18px}.behavior-toolbar{display:flex;justify-content:space-between;align-items:center}.behavior-toolbar h2{margin:0}.behavior-toolbar p{color:#7c7179}.behavior-toolbar button,.behavior-table-scroll button{border:0;border-radius:9px;padding:9px 13px;color:#fff;font-weight:800}.behavior-toolbar button{background:#194575}.behavior-rule{margin:12px 0;padding:11px;background:#fff2f6;border-radius:10px}.behavior-table-scroll{overflow:auto;flex:1}.behavior-table-scroll table{width:100%;border-collapse:collapse;min-width:760px}.behavior-table-scroll th{position:sticky;top:0;background:#194575;color:#fff;padding:12px}.behavior-table-scroll td{padding:9px;border-bottom:1px solid #eadde3;text-align:center}.behavior-table-scroll td:nth-child(3),.behavior-table-scroll td:last-child{text-align:left}.behavior-table-scroll tr:nth-child(even){background:#fff2f6}.behavior-table-scroll tr.selected{background:#d9efff!important;box-shadow:inset 5px 0 #3489c3}.behavior-table-scroll .plus{background:#269f75}.behavior-table-scroll .minus{background:#8e123d}.behavior-table-scroll strong{color:#8e123d}@media(max-width:760px){.behavior-center{height:auto;padding:10px}.behavior-table-scroll table{min-width:700px}}.behavior-modal-backdrop{position:fixed;inset:0;z-index:1000;background:#18203380;display:grid;place-items:center;padding:16px}.behavior-modal{width:min(680px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:18px;padding:22px;box-shadow:0 24px 70px #07122655}.behavior-modal header{padding:20px;border-radius:14px;background:#269f75;color:#fff;text-align:center;font-size:1.35rem;font-weight:900;text-transform:uppercase}.behavior-modal.minus header{background:#8e123d}.behavior-modal>p{padding:15px;background:#fff4f7;border-radius:12px;color:#76666f}.behavior-reasons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.behavior-reasons button{border:1px solid #ead8df;border-radius:11px;background:#fff;padding:13px;text-align:left;color:#30262c;font-weight:650}.behavior-reasons button:hover,.behavior-reasons button.active{border-color:#269f75;background:#e9f8f2}.behavior-modal.minus .behavior-reasons button:hover,.behavior-modal.minus .behavior-reasons button.active{border-color:#8e123d;background:#fff0f4}.behavior-modal>input{width:100%;box-sizing:border-box;margin-top:10px;padding:13px;border:1px solid #decbd3;border-radius:11px}.behavior-modal-actions{display:flex;gap:10px;margin-top:14px}.behavior-modal-actions button{border:0;border-radius:10px;padding:13px;font-weight:850}.behavior-modal-actions .cancel{background:#f4e9ed;color:#6e3145}.behavior-modal-actions .confirm{flex:1;background:#269f75;color:#fff}.behavior-modal.minus .confirm{background:#8e123d}.behavior-modal-actions .confirm:disabled{opacity:.45}@media(max-width:560px){.behavior-modal{padding:14px}.behavior-reasons{grid-template-columns:1fr}.behavior-modal header{padding:15px;font-size:1.1rem}}
.behavior-top-actions{display:flex;gap:8px}.behavior-top-actions .danger{background:#a70f3f}.behavior-top-actions button:disabled{cursor:not-allowed;opacity:.45}.behavior-settings{flex:0 0 auto;margin-top:12px;padding:13px 15px;border:1px solid #eadde3;border-radius:14px;background:#fff9fb}.behavior-settings h3{margin:0 0 9px}.behavior-mode{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:10px}.behavior-mode label{font-weight:750}.behavior-setting-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.behavior-setting-grid>label,.bell-info{display:grid;grid-template-columns:1fr 100px 170px;align-items:center;gap:8px;border:1px solid #eadde3;border-radius:11px;padding:10px}.behavior-setting-grid span{font-size:.82rem;color:#746770}.behavior-setting-grid input,.behavior-setting-grid select{padding:8px;border:1px solid #d9c5ce;border-radius:8px}.bell-info{grid-column:1/-1;grid-template-columns:minmax(160px,.35fr) minmax(260px,1fr) auto}.behavior-report{width:min(1050px,97vw);max-height:92vh;display:flex;flex-direction:column;background:#fff;border-radius:18px;padding:18px}.behavior-report header{display:flex;align-items:center;gap:10px}.behavior-report header div{flex:1}.behavior-report h2,.behavior-report p{margin:3px}.behavior-report header button{border:0;border-radius:9px;padding:10px 14px;background:#194575;color:#fff;font-weight:800}.report-table{overflow:auto}.report-table table{width:100%;border-collapse:collapse}.report-table th{position:sticky;top:0;background:#194575;color:#fff;padding:10px}.report-table td{padding:9px;border-bottom:1px solid #eadde3}.report-table .plus{color:#17875f;font-size:1.25rem;font-weight:900}.report-table .minus{color:#a00f40;font-size:1.25rem;font-weight:900}@media(max-width:900px){.behavior-setting-grid{grid-template-columns:1fr}.behavior-setting-grid>label{grid-template-columns:1fr 86px 155px}.bell-info{grid-column:auto;grid-template-columns:1fr auto}.bell-info span{grid-column:1/-1}}@media(max-width:560px){.bell-info{grid-template-columns:1fr}.behavior-toolbar{align-items:flex-start;gap:8px}.behavior-top-actions{flex-direction:column}.behavior-setting-grid>label{grid-template-columns:1fr}.behavior-mode{display:grid}.behavior-report{padding:10px}.behavior-report header{flex-wrap:wrap}}@media print{body *{visibility:hidden}.behavior-report,.behavior-report *{visibility:visible}.behavior-report{position:absolute;inset:0;width:auto;max-height:none}.behavior-report header button{display:none}}
.behavior-classbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;padding:10px 12px;background:#fff;border:1px solid #eadde3;border-radius:14px}.behavior-classbar b{margin-right:5px}.behavior-classbar button{min-width:82px;border:2px solid #d45179;border-radius:10px;background:#fff4f7;color:#891239;padding:9px 15px;font-weight:850}.behavior-classbar button.active{background:#d45179;color:#fff}.behavior-settings-dialog{display:block;width:min(1000px,95vw);max-height:88vh;overflow-y:auto;overflow-x:hidden;margin:0;background:#fff}.behavior-settings-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.behavior-settings-head h3{margin:0}.behavior-settings-head button{border:0;border-radius:9px;background:#194575;color:#fff;padding:9px 15px;font-weight:800}@media(max-width:600px){.behavior-classbar{flex-wrap:nowrap;overflow-x:auto}.behavior-classbar b{flex:0 0 auto}.behavior-classbar button{flex:0 0 auto}}.behavior-help-button{border:0;border-radius:9px;background:#8e123d;color:#fff;padding:10px 13px;font-weight:850;cursor:pointer}.behavior-help-backdrop{z-index:1010}.behavior-help{width:min(820px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:20px;box-shadow:0 24px 70px #07122655}.behavior-help header{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #eadde3;padding-bottom:12px}.behavior-help h2{margin:0;color:#8e123d;font-size:1.35rem}.behavior-help header button{border:0;border-radius:9px;background:#194575;color:#fff;padding:9px 14px;font-weight:800}.behavior-help-content{color:#30262c;line-height:1.55}.behavior-help-content>p{padding:12px 14px;background:#fff4f7;border-radius:11px}.behavior-help-content ol{margin:14px 0;padding-left:24px}.behavior-help-content li{margin:10px 0;padding-left:4px}.behavior-help-example{display:grid;gap:6px;padding:14px;border-left:5px solid #269f75;background:#edf9f5;border-radius:10px}.behavior-help-note{font-weight:750;color:#194575!important;background:#edf6ff!important}@media(max-width:560px){.behavior-help{padding:14px}.behavior-help header{align-items:flex-start}.behavior-help h2{font-size:1.08rem}.behavior-help-content ol{padding-left:20px}.behavior-help-button{width:100%}}.behavior-control-report{width:min(1180px,98vw)}.control-report-rule{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:12px 0;padding:12px 14px;border-radius:11px;background:#fff2f6;color:#46343d}.control-report-rule span{color:#194575}.behavior-control-report .report-table table{min-width:850px}.behavior-control-report .report-table td{text-align:center}.behavior-control-report .report-table td:nth-child(2){text-align:left}.behavior-control-report .raw-plus,.behavior-control-report .neutral-plus{color:#17875f;font-weight:900}.behavior-control-report .raw-minus,.behavior-control-report .neutral-minus{color:#a00f40;font-weight:900}.behavior-control-report .selected-control-row{background:#d9efff!important;box-shadow:inset 5px 0 #3489c3}.behavior-control-report footer{padding:11px 4px 0;color:#746770;font-size:.9rem}@media(max-width:760px){.behavior-control-report{padding:10px}.control-report-rule{font-size:.86rem}.behavior-control-report .report-table{overflow:auto}}
/* Behavior reporting */
.behavior-table-scroll table{min-width:980px}.behavior-table-scroll th:last-child,.behavior-table-scroll td:last-child{width:92px}.row-report{height:34px!important;padding:0 14px!important;border:0!important;border-radius:9px!important;background:#194575!important;color:#fff!important;font-weight:800!important;cursor:pointer}.student-report-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}.student-report-summary b{padding:14px;border-radius:12px;background:#f7edf1;color:#8e123d;text-align:center}.behavior-analysis-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px}.behavior-analysis-cards article{min-height:92px;padding:14px;border:1px solid #ead6de;border-radius:13px;background:#fff7fa;display:flex;flex-direction:column;gap:5px}.behavior-analysis-cards span{font-size:12px;color:#6f6570}.behavior-analysis-cards b{color:#194575;font-size:17px}.behavior-analysis-cards small{color:#8e123d}.class-report-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 14px}.class-behavior-report>h3{margin:18px 14px 8px;color:#194575}.class-report-columns h3{color:#194575}.class-behavior-report{width:min(1380px,97vw)!important}.student-behavior-report{width:min(980px,96vw)!important}.behavior-report .report-table td.plus,.behavior-report .report-table td.minus{font-size:18px;font-weight:900}.behavior-report .report-table td.plus{color:#16845b}.behavior-report .report-table td.minus{color:#bc284c}@media(max-width:760px){.behavior-analysis-cards{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.class-report-columns{grid-template-columns:1fr;padding:0 8px}.student-report-summary{grid-template-columns:1fr;padding:8px}.class-behavior-report,.student-behavior-report{width:100vw!important;height:100dvh!important;max-height:100dvh!important}}

/* Akıllı tahtada kaydırmadan en az 10 öğrenci satırını görünür tut. */
@media(min-width:761px){
  .behavior-center{height:calc(100dvh - 92px);padding:10px 12px}
  .behavior-classbar{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;flex:0 0 46px;margin-bottom:6px;padding:4px 7px;scrollbar-width:thin}
  .behavior-classbar b,.behavior-classbar button{flex:0 0 auto}
  .behavior-classbar button{min-width:72px;height:36px;padding:5px 11px}
  .behavior-toolbar{flex:0 0 48px;gap:8px}
  .behavior-toolbar h2{font-size:19px}
  .behavior-toolbar p{display:none}
  .behavior-top-actions{flex-wrap:nowrap}
  .behavior-toolbar button{height:34px;padding:5px 10px;font-size:11px;white-space:nowrap}
  .behavior-rule{flex:0 0 auto;margin:5px 0;padding:6px 9px;font-size:12px}
  .behavior-table-scroll{min-height:462px}
  .behavior-table-scroll th{height:38px;padding:6px 7px;font-size:12px}
  .behavior-table-scroll td{height:42px;padding:4px 7px;font-size:12px}
  .behavior-table-scroll td button{height:32px;padding:4px 10px}
}

/* Yüksek tarayıcı yakınlaştırması kullanan yatay akıllı tahtalar. */
@media(orientation:landscape) and (max-height:800px){
  .behavior-page-mode{padding:4px!important}
  .behavior-page-mode .desktop-header{display:none}
  .behavior-page-mode .desktop-content{padding:0!important}
  .behavior-center{height:calc(100dvh - 8px);padding:5px 7px;border-radius:10px;overflow:hidden}
  .behavior-classbar{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;flex:0 0 38px;margin-bottom:3px;padding:2px 4px;scrollbar-width:thin}
  .behavior-classbar b,.behavior-classbar button{flex:0 0 auto}
  .behavior-classbar b{font-size:12px}
  .behavior-classbar button{min-width:61px;height:31px;padding:3px 8px;font-size:11px}
  .behavior-toolbar{flex:0 0 39px;gap:5px}
  .behavior-toolbar h2{font-size:16px;white-space:nowrap}
  .behavior-toolbar p{display:none}
  .behavior-top-actions{flex-wrap:nowrap;gap:4px}
  .behavior-toolbar button{height:30px;padding:3px 7px;font-size:10px;white-space:nowrap}
  .behavior-rule{margin:3px 0;padding:4px 7px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .behavior-table-scroll{min-height:372px;flex:1;overflow-y:auto;overflow-x:hidden}
  .behavior-table-scroll table{width:100%;min-width:0;table-layout:fixed}
  .behavior-table-scroll th:nth-child(1){width:42px}
  .behavior-table-scroll th:nth-child(2){width:54px}
  .behavior-table-scroll th:nth-child(3){width:31%}
  .behavior-table-scroll th:nth-child(4),.behavior-table-scroll th:nth-child(5){width:58px}
  .behavior-table-scroll th:nth-child(6){width:92px}
  .behavior-table-scroll th:nth-child(8){width:70px}
  .behavior-table-scroll th{height:31px;padding:4px 5px;font-size:10px}
  .behavior-table-scroll td{height:34px;padding:2px 5px;font-size:10px}
  .behavior-table-scroll td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .behavior-table-scroll td button{height:28px;padding:2px 7px;font-size:10px}
  .behavior-table-scroll .row-report{width:100%;padding:0 4px!important}
}

/* app/ogretmen/exams.css */
.exams-page {
  display: grid;
  gap: 18px;
  padding-bottom: 30px;
}
.exams-hero,
.exam-create-panel,
.exam-list-panel {
  background: #fffdfef2;
  border: 1px solid #ead8df;
  border-radius: 22px;
  box-shadow: 0 15px 35px #223e5814;
}
.exams-hero {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(120deg, #fff1f5, #eef7fd);
}
.exams-hero span,
.exam-create-panel header span,
.exam-list-panel header span {
  color: #9d1543;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.6px;
}
.exams-hero h2 {
  font: 700 36px Georgia;
  margin: 6px 0;
}
.exams-hero p {
  margin: 0;
  color: #6f6570;
}
.exams-hero > div:last-child {
  min-width: 105px;
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  text-align: center;
}
.exams-hero > div:last-child b {
  display: block;
  color: #8e123d;
  font-size: 34px;
}
.exams-hero > div:last-child small {
  color: #746b75;
}
.exam-module-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}
.exam-module-grid > button {
  grid-column: span 2;
  min-height: 178px;
  border: 1px solid #e4d4dc;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: left;
  display: flex;
  gap: 15px;
  cursor: pointer;
  box-shadow: 0 10px 24px #252d4212;
  transition: 0.18s;
}
.exam-module-grid > button:hover,
.exam-module-grid > button.selected {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px #24354b24;
}
.exam-module-grid i {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  font: 900 20px Georgia;
  font-style: normal;
}
.exam-module-grid b {
  font-size: 17px;
}
.exam-module-grid p {
  color: #756b75;
  line-height: 1.45;
  margin: 8px 0;
}
.exam-module-grid span {
  font-size: 12px;
  font-weight: 850;
}
.exam-module-grid .wine i {
  background: #971744;
}
.exam-module-grid .wine span {
  color: #971744;
}
.exam-module-grid .blue i {
  background: #367fae;
}
.exam-module-grid .blue span {
  color: #367fae;
}
.exam-module-grid .green i {
  background: #268b69;
}
.exam-module-grid .green span {
  color: #268b69;
}
.exam-module-grid .purple i {
  background: #7c4ab2;
}
.exam-module-grid .purple span {
  color: #7c4ab2;
}
.exam-module-grid .orange i {
  background: #bd6d19;
}
.exam-module-grid .orange span {
  color: #a65e13;
}
.exam-create-panel,
.exam-list-panel {
  padding: 24px 28px;
}
.exam-create-panel > header,
.exam-list-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee0e6;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.exam-create-panel h3,
.exam-list-panel h3 {
  font-size: 22px;
  margin: 4px 0 0;
}
.exam-create-panel header button,
.exam-list-panel header button {
  border: 0;
  background: #f6e9ee;
  color: #8e123d;
  border-radius: 10px;
  padding: 9px 13px;
  font-weight: 800;
}
.exam-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.exam-form-grid label {
  font-size: 13px;
  font-weight: 800;
  color: #4e4350;
}
.exam-form-grid input,
.exam-form-grid select,
.exam-form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #dcc9d2;
  border-radius: 11px;
  background: #fff;
  padding: 12px;
  font: inherit;
}
.exam-form-grid input,
.exam-form-grid select {
  height: 47px;
}
.exam-form-grid textarea {
  resize: vertical;
}
.exam-form-grid .wide {
  grid-column: 1/-1;
}
.exam-file {
  border: 2px dashed #d7bec9;
  border-radius: 15px;
  padding: 16px;
  background: #fff9fb;
}
.exam-file input {
  height: auto;
  border: 0;
  padding: 8px 0;
}
.exam-file small {
  display: block;
  color: #82757e;
}
.writing-flow-note {
  background: #edf7fc;
  color: #255d7a;
  border-radius: 13px;
  padding: 14px;
  line-height: 1.5;
}
.publish-exam {
  margin-top: 18px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 13px;
  background: #8f153f;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}
.publish-exam:disabled {
  opacity: 0.6;
}
.exam-message {
  margin: 0;
  background: #e9f8f1;
  color: #176f51;
  border-radius: 13px;
  padding: 14px;
  font-weight: 750;
}
.exam-record-list {
  display: grid;
  gap: 12px;
}
.exam-record-list > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.55fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid #eadbe1;
  border-radius: 17px;
  padding: 18px;
}
.exam-record-main span {
  color: #9d1543;
  font-size: 12px;
  font-weight: 850;
}
.exam-record-main h4 {
  margin: 5px 0;
  font-size: 17px;
}
.exam-record-main p {
  color: #6f6570;
  margin: 7px 0;
}
.exam-record-main small {
  color: #857983;
}
.exam-record-files {
  display: grid;
  gap: 7px;
}
.exam-record-files a,
.exam-record-files > span {
  border: 1px solid #d8c8d0;
  border-radius: 11px;
  padding: 10px 12px;
  text-decoration: none;
  color: #6d1735;
  font-weight: 800;
}
.exam-record-files a small {
  display: block;
  color: #7b7279;
  margin-top: 3px;
  font-weight: 500;
}
.exam-record-files > span b {
  font-size: 20px;
}
.close-exam,
.open-exam {
  border: 0;
  border-radius: 11px;
  color: #fff;
  padding: 12px 15px;
  font-weight: 850;
}
.close-exam {
  background: #8f153f;
}
.open-exam {
  background: #287e60;
}
.exam-empty {
  text-align: center;
  padding: 42px;
  display: grid;
  gap: 7px;
  color: #786c75;
}
.exam-empty b {
  color: #29263b;
  font-size: 18px;
}
@media (max-width: 1100px) {
  .exam-module-grid {
    grid-template-columns: 1fr 1fr;
  }
  .exam-module-grid > button,
  .exam-module-grid > button:nth-child(4),
  .exam-module-grid > button:nth-child(5) {
    grid-column: auto;
  }
  .exam-record-list > article {
    grid-template-columns: 1fr 1fr;
  }
  .exam-record-list > article > button {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .exams-page {
    gap: 13px;
  }
  .exams-hero {
    padding: 20px;
    align-items: flex-start;
  }
  .exams-hero h2 {
    font-size: 30px;
  }
  .exams-hero p {
    font-size: 14px;
  }
  .exams-hero > div:last-child {
    min-width: 76px;
    padding: 12px;
  }
  .exam-module-grid {
    grid-template-columns: 1fr;
  }
  .exam-module-grid > button {
    min-height: 0;
    padding: 16px;
  }
  .exam-create-panel,
  .exam-list-panel {
    padding: 18px;
    border-radius: 18px;
  }
  .exam-form-grid {
    grid-template-columns: 1fr;
  }
  .exam-form-grid .wide {
    grid-column: auto;
  }
  .exam-record-list > article {
    grid-template-columns: 1fr;
  }
  .exam-record-list > article > button {
    grid-column: auto;
    width: 100%;
  }
}
.exam-record-files button {
  border: 1px solid #d8c8d0;
  border-radius: 11px;
  padding: 10px 12px;
  color: #6d1735;
  font-weight: 800;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.exam-record-files button small {
  display: block;
  color: #7b7279;
  margin-top: 3px;
  font-weight: 500;
}
.exam-class-strip,
.exam-term-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid #ead8df;
  border-radius: 17px;
  padding: 15px 18px;
  box-shadow: 0 8px 20px #223e5810;
}
.exam-class-strip > div:first-child,
.exam-term-strip > div:first-child {
  display: grid;
  gap: 3px;
}
.exam-class-strip span,
.exam-term-strip span {
  font-size: 10px;
  letter-spacing: 1.3px;
  color: #991641;
  font-weight: 900;
}
.exam-class-strip b,
.exam-term-strip b {
  font-size: 18px;
}
.exam-class-strip > div:last-child,
.exam-term-strip > div:last-child {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.exam-class-strip button,
.exam-term-strip button {
  min-width: 58px;
  border: 1px solid #d8c4cd;
  background: #fff8fa;
  color: #771331;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 850;
  cursor: pointer;
}
.exam-class-strip button.active,
.exam-term-strip button.active {
  background: #951641;
  color: #fff;
  border-color: #951641;
}
.exam-class-strip small {
  color: #796e76;
}
.exam-class-strip button.class-list-toggle {
  min-width: 190px;
  background: #173c6a;
  border-color: #173c6a;
  color: #fff;
}
.exam-class-strip button.class-list-toggle i {
  margin-left: 7px;
  font-style: normal;
  font-size: 10px;
}
.exam-class-strip button.add-classroom {
  background: #167254;
  border-color: #167254;
  color: #fff;
}
@media (max-width: 760px) {
  .exam-class-strip,
  .exam-term-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .exam-class-strip > div:last-child,
  .exam-term-strip > div:last-child {
    justify-content: flex-start;
    width: 100%;
  }
  .exam-class-strip button,
  .exam-term-strip button {
    flex: 1;
    min-width: 64px;
  }
}
.exam-record-files button.results-visible {
  border-color: #58ad88;
  background: #e7f8f0;
  color: #116944;
}
.exam-live-monitor {
  grid-column: 1/-1;
  border-top: 1px solid #eadbe1;
  padding-top: 14px;
  display: grid;
  gap: 7px;
}
.exam-live-monitor > header {
  display: flex;
  justify-content: space-between;
  color: #771331;
}
.exam-live-monitor > div {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.5fr) minmax(
      100px,
      0.45fr
    ) auto;
  align-items: center;
  gap: 10px;
  border-radius: 11px;
  padding: 10px 12px;
  background: #f7f9fb;
}
.exam-live-monitor > div.started {
  background: #edf8f3;
}
.exam-live-monitor > div.forced {
  background: #fff0ed;
}
.exam-live-monitor span {
  display: grid;
}
.exam-live-monitor span small {
  color: #857983;
}
.exam-live-monitor em {
  font-style: normal;
  font-weight: 850;
  color: #176f51;
}
.exam-live-monitor .forced em {
  color: #b73b2d;
}
.exam-live-monitor strong {
  font-size: 13px;
}
.exam-live-monitor button {
  border: 0;
  border-radius: 9px;
  background: #8f153f;
  color: #fff;
  padding: 9px 11px;
  font-weight: 850;
}
@media (max-width: 760px) {
  .exam-live-monitor > div {
    grid-template-columns: 1fr 1fr;
  }
  .exam-live-monitor > div button {
    grid-column: 1/-1;
  }
  .exam-live-monitor > header {
    align-items: flex-start;
    flex-direction: column;
  }
}
.exam-record-actions {
  display: grid;
  gap: 8px;
}
.exam-record-actions .cancel-exam {
  border: 2px solid #a31236;
  border-radius: 11px;
  background: #fff0f3;
  color: #971135;
  padding: 11px 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 14px #9711351f;
}
.exam-record-actions .cancel-exam:hover {
  background: #971135;
  color: #fff;
}
.exam-record-actions .cancel-exam small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.78;
}
.cancelled-exam {
  display: block;
  border: 1px solid #c99caa;
  border-radius: 11px;
  background: #f4e9ed;
  color: #75203d;
  padding: 12px 15px;
  text-align: center;
  font-weight: 900;
}
@media (max-width: 1100px) {
  .exam-record-actions {
    grid-column: 1/-1;
  }
}
@media (max-width: 760px) {
  .exam-record-actions {
    grid-column: auto;
  }
  .exam-record-actions button {
    width: 100%;
  }
}
.exam-absence-picker {
  margin-top: 14px;
  border: 1px solid #e2cbd5;
  border-radius: 15px;
  background: #fff9fb;
  padding: 15px;
}
.exam-absence-picker > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.exam-absence-picker > header div {
  display: grid;
  gap: 3px;
}
.exam-absence-picker > header small {
  color: #786c75;
}
.exam-absence-picker > header strong {
  white-space: nowrap;
  border-radius: 999px;
  background: #f4dfe7;
  color: #85143c;
  padding: 7px 11px;
}
.exam-absence-picker > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 240px;
  overflow: auto;
  padding-right: 4px;
}
.exam-absence-picker label {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e5d9de;
  border-radius: 11px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}
.exam-absence-picker label.absent {
  border-color: #9c1744;
  background: #f8e8ee;
}
.exam-absence-picker input {
  width: 19px;
  height: 19px;
  accent-color: #951641;
}
.exam-absence-picker label span {
  display: grid;
}
.exam-absence-picker label small {
  color: #7d727a;
}
@media (max-width: 900px) {
  .exam-absence-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.writing-review-modal .submission-modal-body{grid-template-columns:minmax(0,1.45fr) minmax(340px,.75fr)}
.writing-review-modal .submission-viewer{min-width:0;background:#2d3036;display:grid;grid-template-rows:auto auto minmax(0,1fr)}
.writing-review-modal .submission-viewer-tools{min-height:48px}
.writing-review-modal .submission-media-stage{min-height:0;overflow:auto}
.writing-review-modal .submission-media-stage img{max-width:100%;max-height:calc(92vh - 190px)}
.writing-modal-review{align-content:start}
.writing-modal-review .system-evaluation-button,.writing-modal-review .save-writing-review,.writing-modal-review .send-writing-report{border:0;border-radius:10px;padding:12px;font-weight:900;color:#fff;background:#8f153f;cursor:pointer}
.writing-modal-review .save-writing-review{background:#168c5e}
.writing-modal-review .system-evaluation-button{background:#8d1740}
.writing-modal-review button:disabled{opacity:.42;cursor:not-allowed;filter:grayscale(.8)}
.writing-modal-review button small{display:block;margin-top:3px;opacity:.85}
.writing-modal-review input{width:100%;box-sizing:border-box;border:1px solid #dac5ce;border-radius:9px;padding:10px;font:inherit}
@media(max-width:900px){.writing-review-modal .submission-modal-body{grid-template-columns:1fr;grid-template-rows:minmax(280px,45vh) minmax(0,1fr)}.writing-review-modal .submission-media-stage img{max-height:calc(45vh - 100px)}}
@media (max-width: 560px) {
  .exam-absence-picker > header {
    align-items: flex-start;
    flex-direction: column;
  }
  .exam-absence-picker > div {
    grid-template-columns: 1fr;
  }
}
.exam-format-choice {
  margin: 0 0 18px;
  border: 1px solid #dcc9d2;
  border-radius: 14px;
  background: #fff8fb;
  padding: 12px;
  display: flex;
  gap: 10px;
}
.exam-format-choice legend {
  padding: 0 7px;
  color: #6d1735;
  font-weight: 900;
}
.exam-format-choice button {
  flex: 1;
  border: 1px solid #cfaeba;
  border-radius: 11px;
  background: #fff;
  color: #7d1637;
  padding: 12px;
  font-weight: 900;
  cursor: pointer;
}
.exam-format-choice button.active {
  background: #8f153f;
  border-color: #8f153f;
  color: #fff;
  box-shadow: 0 6px 16px #8f153f2b;
}
.writing-evaluation-list {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 16px 0 0;
  border-top: 1px solid #ead7df;
  padding-top: 16px;
  display: grid;
  gap: 14px;
}
.writing-evaluation-list > header,
.writing-student-heading,
.writing-evaluation-footer,
.writing-evaluation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.writing-evaluation-list > header {
  padding: 2px 4px;
}
.writing-evaluation-list > header > span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f3e2e8;
  color: #85143c;
  padding: 7px 11px;
  font-weight: 900;
  white-space: nowrap;
}
.writing-evaluation-list > header div,
.writing-student-heading span {
  display: grid;
  gap: 3px;
}
.writing-evaluation-list > header small,
.writing-student-heading small {
  color: #766973;
}
.writing-evaluation-list > article {
  border: 1px solid #dec9d2;
  border-radius: 16px;
  background: #fffafd;
  padding: 16px;
  display: grid;
  gap: 13px;
  min-width: 0;
}
.writing-student-heading strong {
  background: #158d61;
  color: #fff;
  border-radius: 999px;
  padding: 8px 13px;
}
.writing-evaluation-actions button,
.writing-evaluation-footer button {
  flex: 1;
  border: 0;
  border-radius: 11px;
  background: #153f70;
  color: #fff;
  padding: 12px;
  font-weight: 900;
  cursor: pointer;
  min-height: 48px;
}
.writing-evaluation-actions button.system-evaluation-button {
  background: #8d1740;
}
.writing-evaluation-actions button:disabled,
.writing-evaluation-footer button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.8);
}
.writing-evaluation-actions button small,
.writing-evaluation-footer button small {
  display: block;
  margin-top: 3px;
  font-weight: 600;
  opacity: 0.88;
}
.writing-evaluation-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(280px, 1.4fr) minmax(240px, 1fr);
  gap: 12px;
  align-items: start;
}
.writing-evaluation-form label {
  color: #691431;
  font-weight: 900;
  display: grid;
  gap: 6px;
}
.writing-evaluation-form input,
.writing-evaluation-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d9c4cd;
  border-radius: 10px;
  background: #fff;
  color: #201b22;
  padding: 10px;
  font: inherit;
  resize: vertical;
  min-width: 0;
}
.writing-evaluation-footer > button:first-child {
  background: #168c5e;
}
.writing-evaluation-footer .send-writing-report {
  background: #8f153f;
}
@media (max-width: 1100px) {
  .writing-evaluation-form {
    grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1.55fr);
  }
  .writing-evaluation-form label:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .writing-evaluation-list > header,
  .writing-student-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .writing-evaluation-form {
    grid-template-columns: 1fr;
  }
  .writing-evaluation-form label:last-child {
    grid-column: auto;
  }
  .writing-evaluation-actions,
  .writing-evaluation-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

/* components/communication.css */
.communication-install-home{padding:10px 12px 2px;background:#fff}.communication-install-home:empty{display:none}.communication .install-app-button{position:static;width:100%;margin:0;padding:11px 12px;box-shadow:none;font-size:13px;white-space:nowrap}
.communication{display:grid;grid-template-columns:320px minmax(0,1fr);height:calc(100vh - 105px);min-height:560px;border:1px solid #e5d6dd;border-radius:18px;overflow:hidden;background:#f4efe9;box-shadow:0 12px 34px #53213818}.contact-list{display:flex;flex-direction:column;min-width:0;background:#fff;border-right:1px solid #e4d8dd}.contact-list>header,.chat-window>header{height:72px;display:flex;align-items:center;gap:12px;padding:0 18px;background:#f6edf1}.contact-list>header{justify-content:space-between}.contact-list header div,.chat-window header div{display:grid;gap:3px}.contact-list header b,.chat-window header b{font-size:17px;color:#2f1e25}.contact-list header small,.chat-window header small{color:#76666d}.contact-list>header>span{color:#1da66c}.contact-search{margin:10px 12px;padding:11px 14px;border-radius:10px;background:#f4f3f3;color:#756a6f;font-size:13px}.contacts{overflow:auto;flex:1}.contacts>p{padding:22px;color:#796e73;line-height:1.5}.contacts button{width:100%;display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #f2eaed;background:#fff;padding:12px 14px;text-align:left;cursor:pointer}.contacts button:hover,.contacts button.active{background:#fff0f5}.contacts button>i,.chat-window header>i{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#8e123d;color:#fff;font-style:normal;font-weight:900}.contacts button>span{display:grid;gap:4px;min-width:0;flex:1}.contacts button b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#30232a}.contacts button small{color:#7c7075}.contacts button em{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:20px;background:#20a66a;color:#fff;font-size:11px;font-style:normal;font-weight:900}.chat-window{display:flex;flex-direction:column;min-width:0}.chat-window>header{background:#fff;border-bottom:1px solid #e5d9de}.chat-back{display:none;border:0;background:transparent;font-size:32px;color:#8e123d}.message-stream{flex:1;overflow:auto;padding:22px clamp(12px,4vw,50px);background:linear-gradient(#f6f0ebdd,#f6f0ebdd),radial-gradient(circle at 20% 20%,#8e123d18 1px,transparent 1px);background-size:auto,22px 22px}.message-stream article{width:fit-content;max-width:min(72%,620px);margin:5px 0;padding:8px 10px 5px;border-radius:12px;box-shadow:0 1px 2px #0002}.message-stream article.mine{margin-left:auto;background:#d9fdd3;border-top-right-radius:3px}.message-stream article.theirs{background:#fff;border-top-left-radius:3px}.message-stream p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#211a1d;line-height:1.4}.message-stream small{display:block;margin-top:3px;text-align:right;color:#7e7478;font-size:10px}.chat-empty{height:100%;display:grid;place-items:center;align-content:center;gap:7px;text-align:center;color:#756970}.chat-empty b{font-size:20px;color:#194575}.chat-status{padding:7px 14px;background:#fff0d8;color:#8a5700;font-size:12px;font-weight:700}.chat-window>form{display:flex;gap:9px;padding:10px 14px;background:#f6edf1}.chat-window>form input{flex:1;min-width:0;border:1px solid #dfcfd6;border-radius:24px;padding:12px 16px;background:#fff;font:inherit;outline:none}.chat-window>form input:focus{border-color:#8e123d}.chat-window>form button{width:46px;border:0;border-radius:50%;background:#1f9d68;color:#fff;font-size:20px;cursor:pointer}.chat-window>form button:disabled{opacity:.4}.communication-compact{height:calc(100vh - 130px);max-width:1200px;margin:22px auto}.communication-compact .contact-list{min-height:500px}@media(max-width:760px){.communication{display:block;height:calc(100dvh - 116px);min-height:560px;border-radius:12px}.contact-list,.chat-window{height:100%}.chat-window{display:none}.communication.show-chat .contact-list{display:none}.communication.show-chat .chat-window{display:flex}.chat-back{display:block}.message-stream article{max-width:86%}.communication-compact{height:calc(100dvh - 110px);margin:12px}.communication-compact .contact-list{min-height:0}}.communication-home{border:1px solid #d8b9c5;border-radius:10px;background:#fff;color:#8e123d;padding:8px 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.communication-home:hover{background:#fff0f5}
.group-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 13px 4px;color:#5f404b}.group-toolbar button,.group-manage{border:1px solid #d8b9c5;border-radius:9px;background:#fff;color:#8e123d;padding:7px 9px;font-weight:800;cursor:pointer}.group-contacts{flex:0 1 auto;max-height:210px}.group-contacts button>i{background:#1f7f69;font-size:18px}.group-manage{margin-left:auto}.message-sender{display:block;margin-bottom:2px;color:#8e123d;font-size:11px}.group-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px;background:#20151baa}.group-modal>form,.group-manager{width:min(520px,95vw);max-height:86vh;overflow:auto;padding:22px;border-radius:18px;background:#fff;box-shadow:0 24px 70px #0005}.group-modal h3{margin:0 0 14px;color:#194575}.group-modal form>label{display:grid;gap:6px;margin:12px 0;font-weight:800;color:#5f404b}.group-modal input,.group-modal select{border:1px solid #d9c6ce;border-radius:10px;padding:10px;font:inherit}.member-picker{display:grid;gap:5px;max-height:290px;overflow:auto;margin-top:9px;border:1px solid #eadde2;border-radius:12px;padding:8px}.member-picker>label,.member-picker>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-radius:8px;background:#faf7f8}.member-picker>label{justify-content:flex-start}.member-picker small{color:#1f7f69}.member-picker button{border:0;border-radius:7px;padding:6px 8px;background:#f0dce4;color:#7d1238;font-weight:700;cursor:pointer}.group-modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.group-modal footer button{border:0;border-radius:10px;padding:10px 15px;background:#8e123d;color:#fff;font-weight:800;cursor:pointer}.group-modal footer button:first-child{background:#eee5e8;color:#5f404b}@media(max-width:760px){.group-manage{font-size:11px;padding:6px}.group-contacts{max-height:180px}}/* Polished standalone communication layout */
.communication-app-page{min-height:100dvh;background:linear-gradient(145deg,#fdf5f8 0%,#edf5ff 48%,#effaf6 100%);overflow:hidden}
.communication-app-page>nav{height:72px;padding:0 clamp(16px,4vw,54px);background:linear-gradient(110deg,#7c1238 0%,#a52d59 58%,#174b75 100%);border:0;box-shadow:0 8px 28px #52132d2b;color:#fff}
.communication-app-page>nav a{font-family:inherit;font-size:15px;letter-spacing:0;color:#fff;font-weight:800}.communication-app-page>nav a:first-child{font-family:Georgia,serif;font-size:22px;letter-spacing:5px}.communication-app-page>nav strong{font-size:17px;letter-spacing:.02em}.communication-app-page>nav a:last-child{padding:9px 14px;border:1px solid #ffffff55;border-radius:12px;background:#ffffff17}
.role-page .communication{width:min(1440px,calc(100% - 40px));max-width:none;height:calc(100dvh - 104px);min-height:540px;margin:16px auto;padding:0;border:0;border-radius:24px;background:#fff;box-shadow:0 24px 70px #30132120}
.communication .contact-list{background:#fff;border-right:1px solid #ecdfe5}.communication .contact-list>header{height:82px;padding:0 20px;background:linear-gradient(135deg,#fff5f8,#f5eef8)}.communication .contact-list header b{font-size:21px;color:#65112f}.communication .contact-list header small{font-size:12px;color:#977581}.communication-home{border:0;background:#fff;color:#7d163c;box-shadow:0 4px 14px #6c17331c}.communication-home:hover{background:#fce8ef}
.communication-install-home{padding:12px 14px 5px;background:#fff}.communication .install-app-button{border-radius:13px;background:linear-gradient(120deg,#18875f,#27aa78);padding:12px 14px;box-shadow:0 7px 17px #16845b25}
.group-toolbar{padding:14px 16px 7px;font-size:13px;letter-spacing:.02em;color:#704152}.group-toolbar button{border:0;background:#f9e8ef;color:#8a1741}.contact-search{position:relative;margin:9px 14px;padding:12px 15px 12px 39px;border:1px solid #ede4e8;border-radius:14px;background:#f8f6f7;color:#806c74}.contact-search:before{content:'⌕';position:absolute;left:15px;top:7px;font-size:22px;color:#a22c57}.contact-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#4f3b43;font:inherit}.contact-search input::placeholder{color:#806c74}
.contacts button{min-height:68px;padding:11px 15px;border-bottom:1px solid #f4ebef;transition:.18s ease}.contacts button:hover,.contacts button.active{background:linear-gradient(90deg,#fff0f5,#f5f8ff)}.contacts button.active{box-shadow:inset 4px 0 #a72d58}.contacts button>i,.chat-window header>i{flex-basis:46px;height:46px;background:linear-gradient(145deg,#a32653,#6e1235);box-shadow:0 5px 14px #7516382b}.contacts button b{font-size:14px}.contacts button small{font-size:12px}.group-contacts button>i{background:linear-gradient(145deg,#16866f,#1f6381)}
.communication .chat-window{background:#f5efe9}.communication .chat-window>header{height:82px;padding:0 20px;background:#fff;border-bottom:1px solid #eadde2;box-shadow:0 3px 12px #5f20300c;z-index:2}.chat-window header b{font-size:16px}.chat-window header small{font-size:12px;color:#25815f}.message-stream{padding:24px clamp(14px,4vw,58px);background:linear-gradient(#f7f1edec,#f7f1edec),radial-gradient(circle at 25% 25%,#9d2b561b 1.2px,transparent 1.2px);background-size:auto,24px 24px}.message-stream article{padding:10px 12px 6px;border-radius:16px;box-shadow:0 3px 10px #30131d12}.message-stream article.mine{background:linear-gradient(140deg,#d9f8df,#c9f0d7);border-top-right-radius:4px}.message-stream article.theirs{background:#fff;border-top-left-radius:4px}.message-stream p{font-size:14px}.chat-empty:before{content:'✉';display:grid;place-items:center;width:70px;height:70px;margin-bottom:9px;border-radius:24px;background:linear-gradient(145deg,#a82e59,#174f79);color:#fff;font-size:30px;box-shadow:0 13px 30px #69213b28}.chat-empty b{font-size:22px;color:#5f1634}.chat-empty span{max-width:330px;line-height:1.5;color:#8a747c}.chat-window>form{padding:12px 16px;background:#fff;border-top:1px solid #eadde2}.chat-window>form input{border:1px solid #eadde2;background:#faf8f9;padding:13px 17px}.chat-window>form input:focus{background:#fff;box-shadow:0 0 0 3px #9c23502a}.chat-window>form button{width:48px;background:linear-gradient(145deg,#1ca26d,#167354);box-shadow:0 7px 16px #16825b31}
@media(max-width:760px){.communication-app-page{overflow:hidden}.communication-app-page>nav{height:60px;padding:0 14px}.communication-app-page>nav a:first-child{font-size:17px;letter-spacing:3px}.communication-app-page>nav strong{font-size:15px}.communication-app-page>nav a:last-child{font-size:12px;padding:7px 9px}.role-page .communication{width:100%;height:calc(100dvh - 60px);min-height:0;margin:0;padding:0;border-radius:0;box-shadow:none}.communication .contact-list>header,.communication .chat-window>header{height:72px}.communication .contact-list{border:0}.message-stream{padding:16px 11px}.message-stream article{max-width:88%}.chat-window>form{padding:9px 10px calc(9px + env(safe-area-inset-bottom))}.chat-back{width:34px;height:40px;padding:0;color:#7d173c}.communication-install-home{padding:9px 12px 3px}}

.education-use-notice{display:flex;align-items:center;gap:12px;padding:10px 18px;border-bottom:1px solid #edd4a8;background:linear-gradient(90deg,#fff8e8,#fffdf7);color:#694a1c;box-shadow:0 2px 9px #6d48100b;z-index:1}.education-use-notice b{flex:0 0 auto;padding:5px 9px;border-radius:8px;background:#8e123d;color:#fff;font-size:11px;letter-spacing:.01em}.education-use-notice span{font-size:12px;line-height:1.45}.chat-status{font-size:13px;padding:9px 16px}.chat-status:before{content:'⚠';margin-right:7px}
@media(max-width:760px){.education-use-notice{display:grid;gap:5px;padding:8px 12px}.education-use-notice b{width:max-content;font-size:10px}.education-use-notice span{font-size:11px;line-height:1.35}}
.message-stream article{position:relative;font-family:Arial,"Segoe UI",sans-serif}.message-stream article.mine{padding-left:38px}.message-stream article.theirs{padding-right:38px}.message-stream p,.message-stream small,.chat-window>form input{font-family:Arial,"Segoe UI",sans-serif}
.message-options{position:absolute;top:4px;border:0;background:transparent;color:#796a70;font-size:22px;line-height:1;padding:4px 7px;border-radius:50%;cursor:pointer;z-index:3}
.message-stream article.mine .message-options{left:4px}
.message-stream article.theirs .message-options{right:4px}
.message-options:hover,.message-options:focus-visible{background:rgba(120,18,62,.1);outline:none}
.message-delete-menu{position:absolute;top:32px;min-width:190px;background:#fff;border:1px solid #ead8df;border-radius:12px;box-shadow:0 10px 28px rgba(59,25,41,.18);padding:6px;z-index:20;display:grid;gap:3px}
.message-stream article.mine .message-delete-menu{right:calc(100% - 38px)}
.message-stream article.theirs .message-delete-menu{left:calc(100% - 38px)}
.message-delete-menu button{border:0;background:transparent;color:#30242a;text-align:left;padding:10px 12px;border-radius:8px;font:inherit;white-space:nowrap;cursor:pointer}
.message-delete-menu button:hover,.message-delete-menu button:focus-visible{background:#f8edf1;outline:none}
.message-delete-menu .delete-everyone{color:#a10d42;font-weight:700}
@media(max-width:700px){.message-delete-menu{position:fixed;left:16px!important;right:16px!important;top:auto;bottom:88px;min-width:0;padding:10px;border-radius:18px}.message-delete-menu button{padding:14px 16px;font-size:16px}}
.contact-pending{border-style:dashed!important;background:#fffafc!important}.contact-pending small{color:#9d174d!important}.contact-no-results{margin:12px;padding:14px;border:1px dashed #d8b9c5;border-radius:14px;color:#805568;font-size:.86rem;text-align:center}.communication-welcome{width:min(660px,88%);margin:auto;padding:34px;border:1px solid #ead3dc;border-radius:26px;background:linear-gradient(145deg,#fff,#fff7fa);box-shadow:0 18px 55px rgba(95,22,53,.08);text-align:left}.communication-welcome>span{font-size:.76rem;font-weight:900;letter-spacing:.18em;color:#a20f46}.communication-welcome h2{margin:10px 0 12px;color:#65102f;font-size:clamp(1.45rem,3vw,2rem)}.communication-welcome>p{margin:0;color:#765767;line-height:1.7}.communication-welcome>div{margin:24px 0 18px;padding:18px;border-left:5px solid #b51650;border-radius:12px;background:#fff0f3;color:#75102f}.communication-welcome>div p{margin:6px 0 0;line-height:1.55}.communication-welcome>small{color:#7d6972}@media(max-width:760px){.communication-welcome{width:92%;padding:24px 20px}}

.communication .contact-list{min-height:0;overflow:hidden}.communication .contact-list>header,.communication .communication-install-home,.communication .group-toolbar,.communication .group-contacts,.communication .contact-search{flex:0 0 auto}.communication .people-contacts{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.people-search-hint{margin:14px!important;padding:18px!important;border:1px dashed #dcc1cc;border-radius:14px;background:#fff9fb;color:#795665!important;font-size:13px;line-height:1.55!important}.communication .contact-search{z-index:3;background:#fff;box-shadow:0 5px 12px #5b1c3210}
.communication .message-stream{scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#8e1943 #eadde2;overscroll-behavior:contain}.communication .message-stream::-webkit-scrollbar{width:18px}.communication .message-stream::-webkit-scrollbar-track{border-left:1px solid #dbc5ce;background:#f3e7ec}.communication .message-stream::-webkit-scrollbar-thumb{min-height:80px;border:3px solid #f3e7ec;border-radius:12px;background:linear-gradient(180deg,#b52b5e,#781436)}.communication .message-stream::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#ce3970,#8e1943)}.communication .message-stream::-webkit-scrollbar-button:single-button{display:block;height:18px;background:#8e1943}
.message-scroll-actions{position:absolute;right:30px;bottom:78px;z-index:8;display:flex;gap:7px}.message-scroll-actions button{border:1px solid #741334;border-radius:999px;padding:9px 13px;background:#8e1943;color:#fff;font-size:12px;font-weight:900;box-shadow:0 5px 16px #51112655;cursor:pointer}.message-scroll-actions button:hover{background:#ad2454}.communication .chat-window{position:relative;min-height:0;overflow:hidden}.communication .message-stream{min-height:0;isolation:isolate}@media(max-width:760px){.message-scroll-actions{right:21px;bottom:70px}.message-scroll-actions button{padding:8px 10px;font-size:11px}}
