html.nataiji-professor-mode body{background:#f4f7f6;min-height:100vh;overflow-x:hidden}.professor-v2{min-height:100vh;color:#17362d;background:radial-gradient(circle at 85% 0,rgba(39,151,111,.12),transparent 32%),linear-gradient(180deg,#f7fbf9,#f4f7f6 300px);font-family:inherit}.professor-shell{max-width:1180px;margin:auto;padding:14px 18px 92px}.professor-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 0 16px}.professor-brand{display:flex;align-items:center;gap:10px;min-width:0}.professor-brand img{border-radius:15px;box-shadow:0 5px 18px rgba(23,93,70,.12)}.professor-brand span{display:grid;min-width:0}.professor-brand small{font-size:11px;color:#6d837b}.professor-brand b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.professor-top-actions{display:flex;gap:6px}.professor-v2 button,.professor-modal button{font:inherit;cursor:pointer;border:1px solid #d7e4df;border-radius:12px;background:#fff;color:#17362d;padding:10px 13px;font-weight:800}.professor-v2 button:disabled,.professor-modal button:disabled{opacity:.55;cursor:wait}.professor-v2 .primary,.professor-modal .primary{background:#127956;color:#fff;border-color:#127956;box-shadow:0 7px 18px rgba(18,121,86,.18)}.professor-v2 .ghost{background:rgba(255,255,255,.72);padding:8px 10px}.prof-v2-hero{background:linear-gradient(135deg,#0b513b,#147252 62%,#198462);border-radius:25px;padding:24px;color:#fff;display:flex;justify-content:space-between;align-items:flex-end;gap:18px;box-shadow:0 18px 40px rgba(12,82,59,.18);position:relative;overflow:hidden}.prof-v2-hero:after{content:"";position:absolute;width:230px;height:230px;border:40px solid rgba(255,255,255,.05);border-radius:50%;inset-inline-end:-85px;top:-105px}.prof-v2-hero>div{position:relative;z-index:1}.prof-v2-hero h1{margin:8px 0 3px;font-size:clamp(25px,4vw,36px)}.prof-v2-hero p{margin:0;color:#d7eee6}.professor-badge{display:inline-flex;align-items:center;gap:5px;background:#e9f8f1;color:#126a4d;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}.prof-v2-hero .professor-badge{background:rgba(255,255,255,.15);color:#fff}.prof-hero-actions{display:flex;gap:7px;flex-wrap:wrap}.prof-hero-actions button:not(.primary){background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);color:#fff}.prof-v2-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.prof-v2-stats article{background:#fff;border:1px solid #e0e9e5;border-radius:17px;padding:13px 15px;display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}.prof-v2-stats article>span{grid-row:1/3;width:34px;height:34px;border-radius:11px;background:#edf7f3;display:grid;place-items:center}.prof-v2-stats strong{font-size:21px;line-height:1}.prof-v2-stats small{color:#75877f;font-size:11px}.prof-v2-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:13px}.professor-content,.prof-side-card{background:#fff;border:1px solid #e0e9e5;border-radius:21px;padding:17px}.professor-section-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.professor-section-title h2,.prof-side-card h2{margin:0 0 4px;font-size:18px}.professor-section-title p{margin:0;color:#72857d;font-size:12px}.prof-assignment-list{display:grid;gap:9px;margin-top:15px}.prof-v2-assignment{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid #e1eae6;border-radius:16px;padding:12px;background:#fff;transition:.15s}.prof-v2-assignment:hover{border-color:#bfd8ce;box-shadow:0 7px 20px rgba(28,81,63,.07)}.prof-subject-icon{width:43px;height:43px;border-radius:13px;background:#eaf6f1;display:grid;place-items:center;color:#126b4d;font-weight:900}.prof-card-eyebrow{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:10px;color:#73867e}.prof-card-eyebrow em{font-style:normal;color:#176b50;background:#eef8f4;padding:2px 6px;border-radius:999px}.prof-card-body h3{margin:3px 0 8px;font-size:16px}.prof-progress{height:5px;background:#edf2f0;border-radius:999px;overflow:hidden}.prof-progress i{display:block;height:100%;background:#1a8b65;border-radius:999px}.prof-card-meta{display:flex;justify-content:space-between;font-size:10px;color:#71827c;margin-top:5px}.prof-card-meta strong{color:#17362d}.prof-open-grade{min-width:82px}.prof-class-mini-list{display:grid;gap:7px;margin:12px 0}.prof-class-mini{text-align:start!important;display:grid!important;gap:2px!important;width:100%;padding:11px!important}.prof-class-mini small{color:#73877e;font-weight:500}.prof-class-mini em{font-style:normal;font-size:10px;color:#167353}.prof-link-main,.prof-link-secondary{width:100%;margin-top:6px}.prof-link-main{background:#eff8f4!important;color:#126b4d!important;border-color:#cfe5dc!important}.prof-muted{color:#7d8f88;font-size:12px}.professor-empty{text-align:center;padding:38px 14px;background:#fbfdfc;border:1px dashed #cadbd4;border-radius:16px}.professor-empty>div{font-size:32px}.professor-empty h3{margin:8px 0 3px}.professor-empty p{margin:0 0 14px;color:#72847d}.professor-empty.compact{padding:20px}.professor-nav{position:fixed;z-index:70;left:50%;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);display:none;grid-template-columns:repeat(5,1fr);width:min(470px,calc(100% - 20px));background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border:1px solid #dce8e3;border-radius:18px;padding:5px;box-shadow:0 12px 34px rgba(20,72,55,.15)}.professor-nav button{border:0;background:transparent;padding:8px 5px;font-size:11px;display:grid;place-items:center;gap:1px}.professor-nav button span{font-size:17px}.professor-nav button.on{background:#eaf6f1;color:#126b4d}.prof-page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:8px 0 16px;padding:0 3px}.prof-page-head h1{margin:6px 0 4px;font-size:28px}.prof-page-head p{margin:0;color:#687d75;max-width:720px}.prof-page-head>div:last-child{display:flex;gap:7px;flex-wrap:wrap}.prof-back-inline{border:0!important;background:transparent!important;padding:3px!important;color:#137153!important}.prof-class-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:12px}.prof-class-card{background:#fff;border:1px solid #dde8e3;border-radius:19px;padding:15px}.prof-class-card header{display:flex;gap:10px;align-items:center}.prof-class-card h3{margin:0 0 3px}.prof-class-card p{margin:0;color:#71847d;font-size:11px}.prof-class-avatar{width:42px;height:42px;border-radius:13px;background:#edf7f3;display:grid;place-items:center;font-size:20px}.prof-class-tags{display:flex;gap:5px;flex-wrap:wrap;margin:13px 0}.prof-class-tags span{font-size:10px;background:#f2f6f4;padding:4px 7px;border-radius:999px}.prof-class-tags .muted{color:#7a8c84}.prof-class-link-state{display:grid;gap:2px;padding:10px;border-radius:12px;background:#f8faf9}.prof-class-link-state span{font-weight:800;font-size:12px}.prof-class-link-state .linked{color:#137354}.prof-class-link-state small{color:#71847d}.prof-class-card footer{display:flex;gap:7px;margin-top:12px}.prof-class-card footer .primary{flex:1}.prof-shared-banner{margin:0 0 13px;padding:11px 14px;border-radius:14px;background:#eaf7f1;border:1px solid #cfe7dc;display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#145f48}.prof-shared-banner span{font-size:11px}.prof-student-list{display:grid;gap:7px;margin-top:13px}.prof-student-row{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;border:1px solid #e5ece9;border-radius:13px;padding:9px 10px}.prof-student-row>span{width:27px;height:27px;border-radius:9px;background:#f0f6f3;display:grid;place-items:center;font-size:11px}.prof-student-row div{display:grid}.prof-student-row small{color:#8a9893;font-size:10px}.prof-student-row button{padding:5px 9px;color:#a53d3d}.prof-subject-chip-list{display:grid;gap:7px;margin-top:10px}.prof-subject-chip-list button{display:flex;justify-content:space-between;width:100%;text-align:start}.professor-table-wrap{overflow:auto;border:1px solid #e1e9e5;border-radius:15px}.professor-grade-table{width:100%;border-collapse:collapse;min-width:720px}.professor-grade-table th,.professor-grade-table td{padding:10px;border-bottom:1px solid #edf2ef;text-align:center}.professor-grade-table th{background:#f4f8f6;color:#587068;font-size:11px}.professor-grade-table input{width:78px;border:1px solid #cbdad4;border-radius:9px;padding:9px;text-align:center;font:inherit}.professor-student-name{text-align:start!important;min-width:180px}.professor-student-name small{display:block;color:#8b9994;font-size:10px}.professor-no-students{padding:30px!important;color:#71847d}.prof-save-bar{display:flex;justify-content:space-between;gap:10px;padding:11px 3px 0;color:#60746d;font-size:11px}.professor-modal{position:fixed;inset:0;z-index:100000;background:rgba(8,35,27,.5);display:grid;place-items:center;padding:15px}.professor-modal-card{width:min(520px,100%);max-height:92dvh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 25px 70px rgba(0,0,0,.2)}.professor-modal-card header{display:flex;justify-content:space-between;align-items:center;padding:16px 17px;border-bottom:1px solid #edf2ef}.professor-modal-card h2{margin:0;font-size:18px}.professor-x{padding:4px 10px!important;font-size:21px!important}.professor-modal-body{padding:17px;display:grid;gap:12px}.professor-modal-body label{display:grid;gap:5px;font-weight:800;font-size:12px}.professor-modal-body input,.professor-modal-body select{width:100%;box-sizing:border-box;border:1px solid #cad9d3;border-radius:11px;padding:11px;background:#fff;font:inherit}.professor-msg{margin:0;min-height:16px;color:#b24545;font-size:11px}.prof-link-explain{background:#eff8f4;border-radius:13px;padding:11px}.prof-link-explain p{margin:4px 0 0;color:#597067;font-size:11px}.prof-share-success{text-align:center;display:grid;gap:8px}.prof-share-success>span{font-size:34px}.prof-share-success h3,.prof-share-success p{margin:0}.prof-share-success p{color:#6e8179;font-size:11px}.prof-class-code{font:900 25px/1.2 monospace;letter-spacing:2px;background:#f2f6f4;border:1px dashed #adc9bd;border-radius:13px;padding:15px}.prof-code-loading{text-align:center;padding:22px}.professor-choice{min-height:100vh;display:grid;place-items:center;padding:18px}.professor-choice-card{width:min(680px,100%);background:#fff;border:1px solid #dfe9e5;border-radius:27px;padding:28px;text-align:center;box-shadow:0 22px 65px rgba(17,78,58,.14)}.professor-choice-card>img{border-radius:19px}.professor-choice-card>small{display:block;margin-top:10px;color:#71847d}.professor-choice-card h1{margin:6px 0}.professor-choice-card>p{color:#697d75}.professor-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.professor-choice-grid button{display:grid;gap:6px;text-align:start;padding:19px}.professor-choice-grid button span{font-size:27px}.professor-choice-grid button b{font-size:18px}.professor-choice-grid button small{font-weight:500;opacity:.8}.professor-choice-grid .featured{background:#137956;color:#fff;border-color:#137956}.professor-choice-msg{min-height:17px;color:#b24545}.professor-loading{min-height:70vh;display:grid;place-content:center;text-align:center;gap:8px}.professor-loading img{margin:auto}.professor-toast{position:fixed;z-index:100002;left:50%;bottom:27px;transform:translate(-50%,18px);opacity:0;background:#153d32;color:#fff;padding:9px 15px;border-radius:999px;transition:.2s;pointer-events:none}.professor-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:820px){.prof-v2-layout{grid-template-columns:1fr}.prof-side-card{order:2}.prof-v2-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.professor-shell{padding:10px 10px 122px}.professor-topbar{padding-bottom:10px}.professor-brand img{width:40px;height:40px}.professor-top-actions .ghost{padding:7px 8px;font-size:11px}.prof-v2-hero{border-radius:20px;padding:18px;display:grid;align-items:stretch}.prof-v2-hero h1{font-size:25px}.prof-hero-actions{display:grid;grid-template-columns:1fr 1fr auto}.prof-v2-stats{gap:7px;margin:10px 0}.prof-v2-stats article{padding:10px;column-gap:7px}.prof-v2-stats article>span{width:31px;height:31px}.prof-v2-stats strong{font-size:19px}.professor-content,.prof-side-card{padding:13px;border-radius:17px}.prof-v2-assignment{grid-template-columns:auto 1fr;padding:10px}.prof-open-grade{grid-column:1/-1;width:100%}.professor-nav{display:grid}.prof-page-head{display:grid;align-items:stretch}.prof-page-head>div:last-child{display:grid;grid-template-columns:1fr 1fr}.prof-page-head h1{font-size:24px}.prof-class-grid{grid-template-columns:1fr}.prof-class-card footer{display:grid;grid-template-columns:1fr 1fr}.prof-save-bar{display:grid}.professor-choice-card{padding:20px 14px}.professor-choice-grid{grid-template-columns:1fr}.professor-modal{padding:10px}}
.prof-term-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.prof-term-tabs button{background:#f4f8f6;border-color:#dce8e3;color:#527067}.prof-term-tabs button.on{background:#137956;color:#fff;border-color:#137956}.prof-term-formula{display:grid;gap:4px;margin-bottom:12px;padding:11px 13px;border:1px solid #d8e8e1;border-radius:13px;background:#f2f9f6}.prof-term-formula b{font-size:12px;color:#145f48}.prof-term-formula span{font-weight:800;font-size:12px;line-height:1.55}.prof-term-formula small{color:#667b73;line-height:1.5}@media(max-width:640px){.prof-term-tabs{position:sticky;top:0;z-index:3;background:#fff;padding:4px 0}.prof-term-tabs button{padding:9px 5px;font-size:11px}.prof-term-formula{padding:10px}.professor-grade-table{min-width:650px}}

.prof-results-select{min-width:210px;border:1px solid #cbdad4;border-radius:11px;padding:10px 12px;background:#fff;font:inherit;color:#17362d}
.prof-results-loading{padding:36px;text-align:center;color:#71847d}
.prof-results-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:9px;margin:2px 0 14px}
.prof-results-summary article{border:1px solid #e1ebe6;background:#f8fbfa;border-radius:14px;padding:11px;display:grid;gap:3px}
.prof-results-summary small{color:#70837b;font-size:10px}.prof-results-summary strong{font-size:20px}
.prof-results-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.prof-results-actions>div{display:grid;gap:2px}.prof-results-actions span{font-size:11px;color:#73867e}
.prof-results-table{min-width:820px}.prof-results-table th small{display:block;font-size:9px;color:#73867e;margin-top:3px}
.prof-result-subject{white-space:nowrap}.prof-incomplete-cell{color:#9b7a2d;background:#fffbef}
.prof-bulletin-btn{padding:6px 10px!important;white-space:nowrap}.prof-results-note{font-size:10px;color:#71847d;margin:9px 2px 0}
.prof-bulletin-preview{display:grid;gap:12px}.prof-report-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 11px;background:#f3f8f6;border-radius:12px}.prof-report-meta span{font-size:11px;color:#6d8178}
.prof-report-summary{display:flex;justify-content:space-between;gap:10px;background:#eaf7f1;border-radius:12px;padding:10px 12px}
.prof-report-warning{margin:0;color:#8a6a27;background:#fff8e7;border:1px solid #f0dfb3;border-radius:11px;padding:9px;font-size:11px}
@media(max-width:640px){.prof-home-guide{grid-template-columns:1fr}.prof-home-hidden-actions{display:grid;grid-template-columns:1fr 1fr}.prof-more-grid{grid-template-columns:1fr}.prof-results-summary{grid-template-columns:repeat(2,1fr)}.prof-results-actions{display:grid}.prof-results-actions button{width:100%}.prof-results-select{width:100%;min-width:0}.professor-nav button{font-size:9px;padding:7px 1px}.professor-nav button span{font-size:15px}}

.prof-home-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.prof-home-guide button{display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;row-gap:2px;text-align:start!important;align-items:center;padding:14px!important}
.prof-home-guide button>span{grid-row:1/3;width:34px;height:34px;border-radius:11px;background:#eaf6f1;color:#126b4d;display:grid;place-items:center;font-weight:900}
.prof-home-guide button>b{font-size:14px}.prof-home-guide button>small{font-size:10px;color:#72857d;font-weight:500}
.prof-home-recent{margin-top:0}.prof-home-hidden-actions{display:flex;gap:8px;justify-content:flex-end;margin:10px 2px 0}
.prof-home-hidden-actions button{padding:8px 11px;font-size:11px;background:#f8fbfa}
.prof-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.prof-more-grid>button{display:grid!important;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:11px;row-gap:2px;text-align:start!important;align-items:center;padding:15px!important;min-height:82px}
.prof-more-grid>button>span{grid-row:1/3;width:38px;height:38px;border-radius:12px;background:#edf7f3;color:#126b4d;display:grid;place-items:center;font-size:18px}
.prof-more-grid>button>b{font-size:14px}.prof-more-grid>button>small{font-size:10px;color:#74877f;font-weight:500;line-height:1.45}
.prof-more-grid .prof-more-danger{border-color:#efd8d8;color:#8e3535}.prof-more-grid .prof-more-danger>span{background:#fff0f0;color:#9a3939}

.prof-official-coefficient{display:grid;place-items:center;min-height:92px;margin:10px 0 14px;border:1px solid #cfe4db;border-radius:16px;background:#eff8f4;color:#137956;font-size:34px;font-weight:900}.professor-modal input[readonly]{background:#eef7f3;color:#176b51;font-weight:800}.professor-modal label>small{display:block;margin-top:5px;color:#71847d;font-size:10px;line-height:1.45}

.prof-curriculum-warning{display:grid;gap:4px;margin:0 0 12px;padding:10px 12px;border:1px solid #ecd99f;background:#fff9e8;border-radius:13px;color:#725b1d;font-size:11px;line-height:1.5}
.prof-curriculum-warning b{font-size:12px}.prof-curriculum-warning span{color:#7b6938}

/* Professor: one class can own several independent subjects */
.prof-class-subject-group{display:grid;gap:14px;padding:16px;border:1px solid rgba(15,76,65,.12);border-radius:20px;background:rgba(255,255,255,.72);margin-bottom:16px}
.prof-class-subject-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.prof-class-subject-head h2{margin:2px 0 0}
.prof-class-subject-head p{margin:4px 0 0;opacity:.72}
.prof-class-subject-head>button{border:1px solid rgba(15,76,65,.16);background:#fff;border-radius:12px;padding:10px 12px;font-weight:700}
.prof-subject-switch{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px;padding:10px 12px;border-radius:14px;background:rgba(15,76,65,.06)}
.prof-subject-switch>span{font-weight:800;white-space:nowrap}
.prof-subject-switch>div{display:flex;gap:8px;flex-wrap:wrap}
.prof-subject-switch button{border:1px solid rgba(15,76,65,.18);background:#fff;border-radius:999px;padding:8px 12px;font-weight:700}
.prof-subject-switch button.on{background:#0f4c41;color:#fff;border-color:#0f4c41}
@media(max-width:640px){.prof-class-subject-group{padding:12px;border-radius:16px}.prof-class-subject-head{align-items:stretch}.prof-class-subject-head>button{width:100%}.prof-subject-switch{align-items:stretch}.prof-subject-switch>span{width:100%}.prof-subject-switch>div{width:100%}.prof-subject-switch button{flex:1 1 auto}}

/* Official professor reports stay bilingual regardless of interface language */
.prof-bilingual-preview .prof-bilingual-name{display:grid;gap:2px}
.prof-bilingual-preview .prof-bilingual-name small{font-size:10px;font-weight:600;color:#6d8178}
.prof-bilingual-preview .dual-ar,.prof-bilingual-preview .dual-fr{display:block;line-height:1.25}
.prof-bilingual-preview .dual-fr{font-size:.86em;font-weight:600;margin-top:2px}
.prof-bilingual-preview .prof-results-table th,.prof-bilingual-preview .prof-results-table td{vertical-align:middle}
.prof-bilingual-preview .prof-results-table .name{text-align:center!important}
.prof-bilingual-preview .prof-report-summary b{display:grid;gap:2px}
.prof-bilingual-preview .prof-report-warning{line-height:1.55}
@media(max-width:640px){.prof-bilingual-preview .prof-report-meta{align-items:flex-start}.prof-bilingual-preview .prof-report-summary{display:grid}}

/* Secondary-school collective student bulletin: professor workspace only */
.prof-secondary-preview .secondary-bulletin-table{min-width:920px;font-size:11px;table-layout:fixed}
.prof-secondary-preview .secondary-bulletin-table th,
.prof-secondary-preview .secondary-bulletin-table td{padding:7px 5px;text-align:center;vertical-align:middle}
.prof-secondary-preview .secondary-bulletin-table thead th{background:rgba(15,76,65,.045)}
.prof-secondary-preview .secondary-bulletin-table .discipline-head{width:190px}
.prof-secondary-preview .secondary-bulletin-table .assessment-col{width:64px}
.prof-secondary-preview .secondary-bulletin-table .mean-head,
.prof-secondary-preview .secondary-bulletin-table .coef-head,
.prof-secondary-preview .secondary-bulletin-table .weighted-head{width:78px}
.prof-secondary-preview .secondary-bulletin-table .obs-head{width:140px}
.prof-secondary-preview .secondary-bulletin-table .dual-ar,
.prof-secondary-preview .secondary-bulletin-table .dual-fr{display:block;line-height:1.2}
.prof-secondary-preview .secondary-bulletin-table .dual-fr{font-size:.82em;font-weight:600;margin-top:2px}
@media(max-width:640px){.prof-secondary-preview .professor-table-wrap{margin-inline:-4px}.prof-secondary-preview .secondary-bulletin-table{min-width:860px}}


/* Professor-only student form: bilingual, mobile bottom-sheet */
.prof-student-modal{background:rgba(9,28,40,.56);backdrop-filter:blur(3px)}
.prof-student-modal .professor-modal-card{width:min(680px,100%);border-radius:30px;overflow:hidden}
.prof-student-modal .professor-modal-card>header{direction:rtl;padding:22px 28px 18px;border-bottom:0}
.prof-student-modal .professor-modal-card>header h2{font-size:25px;line-height:1.25;color:#12344c;text-align:right}
.prof-student-modal .professor-x{width:50px;height:50px;padding:0!important;border-radius:50%!important;background:#f1f5f8!important;color:#143a52!important;border:0!important;display:grid;place-items:center}
.prof-student-modal .professor-modal-body{padding:0 28px 26px}
.prof-student-form{display:grid;gap:16px;direction:rtl}
.prof-student-field{display:grid;gap:7px}
.prof-student-field>b{font-size:15px;color:#17394f}
.prof-student-field>small,.prof-field-optional{font-size:11px;line-height:1.45;color:#7a8791;font-weight:500}
.prof-student-field>small.locked{color:#16785a;font-weight:700}
.prof-student-field input,.prof-student-field select{height:58px;border:1px solid #d7e0e5!important;border-radius:15px!important;padding:0 16px!important;background:#fff!important;font-size:16px!important;color:#283943!important}
.prof-student-field select{background:#f3f4f5!important}
.prof-student-save-row{display:flex;justify-content:flex-start;padding-top:2px}
.prof-student-save-row .primary{min-width:220px;height:54px;border-radius:16px!important;font-size:15px!important}
.prof-student-msg{color:#a96b00!important;font-weight:800!important;text-align:center;font-size:12px!important;line-height:1.5;min-height:20px}
@media(max-width:640px){
 .prof-student-modal{padding:0!important;align-items:end;justify-items:stretch}
 .prof-student-modal .professor-modal-card{width:100%;max-width:none;max-height:89dvh;border-radius:32px 32px 0 0}
 .prof-student-modal .professor-modal-card>header{padding:28px 30px 14px;position:sticky;top:0;background:#fff;z-index:2}
 .prof-student-modal .professor-modal-card>header h2{font-size:24px}
 .prof-student-modal .professor-modal-body{padding:0 30px calc(30px + env(safe-area-inset-bottom))}
 .prof-student-form{gap:17px}
 .prof-student-field>b{font-size:15px}
 .prof-student-field input,.prof-student-field select{height:64px;border-radius:16px!important}
 .prof-student-save-row .primary{min-width:222px;height:58px;font-size:16px!important}
}


/* Professor-only individual subject lists */
.prof-card-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.prof-card-actions>button{border-radius:12px;padding:10px 12px;font-weight:800}
.prof-card-actions>button[data-subject-list-id]{background:#fff;border:1px solid rgba(15,76,65,.18);color:#0f4c41}
.prof-own-grade-table{min-width:900px}
.prof-own-grade-table input{min-width:72px;text-align:center}
.prof-own-list-preview .professor-table-wrap{margin-top:12px}
.professor-own-list-table th,.professor-own-list-table td{text-align:center;vertical-align:middle}
.professor-own-list-table .name .dual-ar,.professor-own-list-table .name .dual-fr{display:block}
.professor-own-list-meta{margin-bottom:2mm}
.professor-own-list-doc .result-table{font-size:8.2pt}
.professor-own-list-doc .result-table th,.professor-own-list-doc .result-table td{padding:1.15mm .7mm}
.professor-own-list-doc .own-list-annual-note{font-size:7pt;text-align:center;margin:2mm 0 0}
@media(max-width:640px){.prof-card-actions{width:100%}.prof-card-actions>button{flex:1 1 auto}.prof-own-grade-table{min-width:820px}}

.prof-reports-content{display:grid;gap:14px}
.prof-report-switcher{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:#eef5f2;border:1px solid #dce8e3;border-radius:17px}
.prof-report-switcher button{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:9px;align-items:center;text-align:start;padding:11px 13px;border:0;border-radius:13px;background:transparent;color:#49665d}
.prof-report-switcher button>span,.prof-report-switcher button:not(:has(>span))::before{grid-row:1/3}
.prof-report-switcher button>b{font-size:13px;color:#163e35}
.prof-report-switcher button>small{font-size:10px;color:#71867e}
.prof-report-switcher button.on{background:#0f8a70;color:#fff;box-shadow:0 5px 15px rgba(15,138,112,.18)}
.prof-report-switcher button.on>b,.prof-report-switcher button.on>small{color:#fff}
.prof-report-section-title{display:flex;justify-content:space-between;gap:16px;align-items:end}
.prof-report-section-title small{color:#188b70;font-weight:800}
.prof-report-section-title h2{margin:3px 0;font-size:24px;color:#123d4d}
.prof-report-section-title p{margin:0;color:#72837e;font-size:11px;line-height:1.6}
.prof-report-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.prof-report-subject-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:13px;border:1px solid #dce7e3;border-radius:16px;background:#fff}
.prof-report-subject-icon{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;background:#eaf7f2;color:#07886f;font-weight:900}
.prof-report-subject-card small{color:#789088}
.prof-report-subject-card h3{margin:2px 0;font-size:15px;color:#173d4d}
.prof-report-subject-card p{margin:0;color:#748781;font-size:10px}
.prof-report-subject-card button{white-space:nowrap;background:#f3f8f6;color:#0d725f;border-color:#d5e7e0}
.prof-collective-entry{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;border:1px solid #d9e7e1;border-radius:17px;background:linear-gradient(135deg,#f4faf7,#edf7f4)}
.prof-collective-entry>div{display:grid;gap:5px}
.prof-collective-entry b{color:#163f36}
.prof-collective-entry small{color:#6f837b}
.prof-collective-entry>button{background:#0f8a70;color:#fff;border-color:#0f8a70}
.prof-collective-tags{display:flex;gap:6px;flex-wrap:wrap}
.prof-collective-tags em{font-style:normal;font-size:10px;font-weight:800;padding:4px 8px;border-radius:999px;background:#e1f2ec;color:#0b775f}
.prof-collective-head{margin:0;padding:2px 0 0}
.prof-collective-head .prof-collective-tags{margin-top:9px}
@media(max-width:700px){
 .prof-report-switcher{grid-template-columns:1fr 1fr}
 .prof-report-switcher button{padding:10px 9px;column-gap:6px}
 .prof-report-switcher button>b{font-size:11px}
 .prof-report-switcher button>small{font-size:9px}
 .prof-report-subject-grid{grid-template-columns:1fr}
 .prof-report-subject-card{grid-template-columns:auto 1fr}
 .prof-report-subject-card button{grid-column:1/-1;width:100%}
 .prof-collective-entry{align-items:stretch;display:grid}
 .prof-collective-entry>button{width:100%}
}

/* Professor premium mobile polish — isolated from teacher/director UI */
.nataiji-professor-mode .professor-v2{
  --prof-navy:#103b5b;
  --prof-navy-2:#0a3150;
  --prof-teal:#0b8b73;
  --prof-teal-2:#12a084;
  --prof-mint:#edf8f5;
  --prof-line:#dbe8e4;
  --prof-muted:#71837d;
  background:
    radial-gradient(circle at 88% 4%,rgba(18,160,132,.10),transparent 24%),
    linear-gradient(180deg,#f7fbfa 0,#f4f8f7 290px,#f7f9f8 100%);
  color:#173d4d;
}
.nataiji-professor-mode .professor-shell{max-width:980px;padding-top:16px}
.nataiji-professor-mode .professor-topbar{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(173,199,191,.52);
  border-radius:24px;
  padding:13px 15px;
  margin:0 0 14px;
  box-shadow:0 10px 30px rgba(24,73,61,.07);
}
.nataiji-professor-mode .professor-brand{gap:11px}
.nataiji-professor-mode .professor-brand img{
  width:50px;height:50px;border-radius:16px;box-shadow:none;background:#fff;padding:2px
}
.nataiji-professor-mode .professor-brand span{gap:1px}
.nataiji-professor-mode .professor-brand small{font-size:10px;color:#81918b}
.nataiji-professor-mode .professor-brand b{font-size:17px;color:#173d4d;line-height:1.25}
.nataiji-professor-mode .professor-brand em{
  max-width:230px;font-style:normal;font-size:9px;color:#91a09b;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.nataiji-professor-mode .professor-top-actions{align-items:center;gap:6px}
.nataiji-professor-mode .professor-top-actions .ghost{
  min-height:38px;background:#fff;border-color:#d8e4e0;box-shadow:none;color:#294d45
}
.nataiji-professor-mode .professor-top-actions .prof-icon-action{width:40px;padding:8px}
.nataiji-professor-mode .professor-top-actions .prof-logout{color:#8f4545}

.nataiji-professor-mode .prof-v2-hero{
  min-height:185px;
  padding:23px 24px;
  border-radius:25px;
  background:linear-gradient(125deg,var(--prof-navy-2) 0%,var(--prof-navy) 42%,var(--prof-teal) 100%);
  box-shadow:0 16px 36px rgba(10,67,77,.17);
  align-items:stretch;
}
.nataiji-professor-mode .prof-v2-hero:before{
  content:"";position:absolute;inset:-45% auto auto -8%;width:220px;height:220px;
  border:1px solid rgba(255,255,255,.10);border-radius:50%;box-shadow:0 0 0 38px rgba(255,255,255,.035),0 0 0 75px rgba(255,255,255,.025)
}
.nataiji-professor-mode .prof-v2-hero:after{
  width:190px;height:190px;border-width:1px;border-color:rgba(255,255,255,.10);
  inset-inline-end:-66px;top:-50px;box-shadow:0 0 0 35px rgba(255,255,255,.035)
}
.nataiji-professor-mode .prof-hero-copy{display:flex;flex-direction:column;justify-content:center;max-width:620px}
.nataiji-professor-mode .prof-v2-hero .professor-badge{
  width:max-content;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.15);
  padding:6px 10px;font-size:10px;letter-spacing:.1px
}
.nataiji-professor-mode .prof-v2-hero h1{font-size:clamp(26px,4vw,35px);margin:11px 0 5px;letter-spacing:-.4px}
.nataiji-professor-mode .prof-v2-hero p{font-size:12px;line-height:1.65;color:#d9ece8}
.nataiji-professor-mode .prof-hero-actions{align-self:flex-end;align-items:end}
.nataiji-professor-mode .prof-hero-actions button{
  min-height:43px;border-radius:13px;padding:10px 14px
}
.nataiji-professor-mode .prof-hero-actions .primary{
  background:#fff;color:#08745f;border-color:#fff;box-shadow:0 8px 20px rgba(1,35,42,.14)
}
.nataiji-professor-mode .prof-hero-actions button:not(.primary){
  background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.18)
}
.nataiji-professor-mode .prof-hero-actions button span{font-size:16px}

.nataiji-professor-mode .prof-v2-stats{gap:11px;margin:14px 0}
.nataiji-professor-mode .prof-v2-stats article{
  min-height:88px;padding:14px 15px;border-radius:19px;border-color:#dee9e5;
  box-shadow:0 7px 22px rgba(27,72,61,.045);grid-template-columns:auto 1fr
}
.nataiji-professor-mode .prof-v2-stats article>span,
.nataiji-professor-mode .prof-v2-stats .prof-stat-icon{
  width:39px;height:39px;border-radius:13px;background:#edf8f5;color:#0d876f;font-size:18px
}
.nataiji-professor-mode .prof-v2-stats article>div{display:grid;gap:2px}
.nataiji-professor-mode .prof-v2-stats strong{font-size:25px;color:#143c4e}
.nataiji-professor-mode .prof-v2-stats small{font-size:10px}

.nataiji-professor-mode .prof-home-guide{gap:9px;margin:0 0 14px}
.nataiji-professor-mode .prof-home-guide button{
  border-radius:18px!important;border-color:#dde8e4!important;background:#fff!important;
  min-height:88px;padding:12px 13px!important;box-shadow:0 5px 17px rgba(31,74,63,.035)
}
.nataiji-professor-mode .prof-home-guide button>span{
  width:38px;height:38px;border-radius:12px;background:#edf8f5;color:#0c856e;font-size:18px
}
.nataiji-professor-mode .prof-home-guide button>div{display:grid;gap:2px}
.nataiji-professor-mode .prof-home-guide button b{font-size:13px;color:#163d4b}
.nataiji-professor-mode .prof-home-guide button small{font-size:9.5px;color:#7f8f8a;line-height:1.35;font-weight:500}

.nataiji-professor-mode .professor-content,
.nataiji-professor-mode .prof-side-card{
  border-color:#dee9e5;border-radius:22px;box-shadow:0 8px 26px rgba(28,72,62,.045)
}
.nataiji-professor-mode .professor-section-title h2{font-size:20px;color:#153e4d}
.nataiji-professor-mode .professor-section-title p{line-height:1.55}
.nataiji-professor-mode .prof-v2-assignment{
  border-radius:18px;padding:13px 14px;border-color:#dfe9e5;box-shadow:0 5px 18px rgba(31,76,64,.035)
}
.nataiji-professor-mode .prof-subject-icon{
  width:48px;height:48px;border-radius:15px;background:#edf8f5;color:#0c856e;font-size:17px
}
.nataiji-professor-mode .prof-card-eyebrow{gap:5px}
.nataiji-professor-mode .prof-card-eyebrow em{background:#f0f8f5;color:#19735f}
.nataiji-professor-mode .prof-card-body h3{font-size:17px;color:#173d4d;margin:5px 0 9px}
.nataiji-professor-mode .prof-progress{height:6px}
.nataiji-professor-mode .prof-card-meta{align-items:center;gap:8px}
.nataiji-professor-mode .prof-card-meta span{min-width:0}
.nataiji-professor-mode .prof-card-meta strong{white-space:nowrap;font-size:11px}
.nataiji-professor-mode .prof-card-actions{gap:7px}
.nataiji-professor-mode .prof-card-actions>button{min-height:39px;padding:9px 11px}

.nataiji-professor-mode .prof-page-head{
  background:#fff;border:1px solid #e0e9e6;border-radius:21px;padding:16px 18px;margin:0 0 13px;
  box-shadow:0 7px 22px rgba(29,74,63,.04);align-items:center
}
.nataiji-professor-mode .prof-page-head h1{font-size:25px;color:#173d4d;margin:3px 0 5px}
.nataiji-professor-mode .prof-page-head p{font-size:11px;line-height:1.65;color:#73867f}
.nataiji-professor-mode .prof-page-head>div:last-child button{min-height:42px}
.nataiji-professor-mode .prof-class-grid{gap:11px}
.nataiji-professor-mode .prof-class-card{
  border-radius:20px;padding:16px;border-color:#dce8e4;box-shadow:0 7px 23px rgba(28,73,62,.045)
}
.nataiji-professor-mode .prof-class-avatar{width:45px;height:45px;border-radius:14px;background:#edf8f5;color:#0b846d}
.nataiji-professor-mode .prof-class-tags span{background:#f2f7f5}
.nataiji-professor-mode .prof-class-link-state{border:1px solid #edf2f0;background:#f9fbfa}

.nataiji-professor-mode .prof-class-subject-group{
  border:1px solid #e1e9e6;border-radius:18px;background:#fbfdfc;padding:14px;margin-bottom:11px
}
.nataiji-professor-mode .prof-class-subject-head{padding:1px 2px 9px}
.nataiji-professor-mode .prof-class-subject-head h2{font-size:20px;color:#153d4b}
.nataiji-professor-mode .prof-class-subject-head p{font-size:10px;color:#778982}

.nataiji-professor-mode .prof-report-switcher{
  border-radius:18px;padding:5px;background:#edf5f2;border-color:#d8e6e1
}
.nataiji-professor-mode .prof-report-switcher button{
  min-height:64px;border-radius:14px;padding:10px 13px;background:transparent
}
.nataiji-professor-mode .prof-report-switcher button.on{
  background:linear-gradient(135deg,#0c856d,#11967c);box-shadow:0 7px 18px rgba(12,133,109,.17)
}
.nataiji-professor-mode .prof-report-subject-card{
  border-radius:18px;border-color:#dce7e3;box-shadow:0 5px 18px rgba(30,73,63,.035)
}
.nataiji-professor-mode .prof-collective-entry{
  border-radius:18px;background:linear-gradient(135deg,#f2faf7,#eaf7f2);border-color:#d4e7df
}

.nataiji-professor-mode .prof-more-head{
  color:#fff;border:0;background:linear-gradient(125deg,var(--prof-navy-2),var(--prof-teal));padding:19px 20px;
  box-shadow:0 14px 30px rgba(10,67,77,.14)
}
.nataiji-professor-mode .prof-more-head small{color:#cce8e2;font-weight:800}
.nataiji-professor-mode .prof-more-head h1{color:#fff}
.nataiji-professor-mode .prof-more-head p{color:#d9ece8}
.nataiji-professor-mode .prof-more-grid{gap:10px}
.nataiji-professor-mode .prof-more-grid>button{
  border-radius:18px!important;border-color:#dce7e3!important;background:#fff!important;
  min-height:91px!important;box-shadow:0 5px 18px rgba(31,75,64,.035)
}
.nataiji-professor-mode .prof-more-grid>button>span{background:#edf8f5;color:#0c866f}
.nataiji-professor-mode .prof-more-grid .prof-more-danger{border-color:#ecd8d8!important;background:#fffafa!important}
.nataiji-professor-mode .prof-more-grid .prof-more-danger>span{background:#fff0f0;color:#9c4141}

.nataiji-professor-mode .professor-nav{
  border-radius:23px;padding:6px;background:rgba(255,255,255,.97);border-color:#d8e6e1;
  box-shadow:0 13px 35px rgba(18,66,55,.16)
}
.nataiji-professor-mode .professor-nav button{
  position:relative;border-radius:17px;padding:9px 4px;color:#56706a;transition:.16s
}
.nataiji-professor-mode .professor-nav button span{font-size:19px;line-height:1}
.nataiji-professor-mode .professor-nav button.on{
  background:#e9f6f2;color:#07846d
}
.nataiji-professor-mode .professor-nav button.on:after{
  content:"";position:absolute;bottom:2px;left:50%;width:17px;height:2px;border-radius:999px;background:#d4a62c;transform:translateX(-50%)
}

@media(max-width:700px){
  .nataiji-professor-mode .professor-shell{padding:10px 14px 116px}
  .nataiji-professor-mode .professor-topbar{padding:12px 13px;border-radius:22px;margin-bottom:12px}
  .nataiji-professor-mode .professor-brand img{width:48px;height:48px}
  .nataiji-professor-mode .professor-brand b{font-size:16px}
  .nataiji-professor-mode .professor-brand em{max-width:155px}
  .nataiji-professor-mode .professor-top-actions{gap:5px}
  .nataiji-professor-mode .professor-top-actions .ghost{min-height:36px;padding:7px 9px;font-size:10px}
  .nataiji-professor-mode .professor-top-actions .prof-icon-action{width:37px;padding:7px}
  .nataiji-professor-mode .professor-top-actions .prof-logout{font-size:9.5px}
  .nataiji-professor-mode .prof-v2-hero{min-height:205px;padding:20px;border-radius:23px;display:flex;flex-direction:column;justify-content:space-between}
  .nataiji-professor-mode .prof-v2-hero h1{font-size:29px;margin-top:10px}
  .nataiji-professor-mode .prof-v2-hero p{font-size:11px;max-width:92%}
  .nataiji-professor-mode .prof-hero-actions{width:100%;display:grid;grid-template-columns:1.25fr 1fr 44px;gap:7px;align-self:auto}
  .nataiji-professor-mode .prof-hero-actions button{min-width:0;padding:9px 8px;font-size:11px}
  .nataiji-professor-mode .prof-v2-stats{grid-template-columns:1fr 1fr;gap:8px;margin:11px 0}
  .nataiji-professor-mode .prof-v2-stats article{min-height:79px;padding:11px 12px}
  .nataiji-professor-mode .prof-v2-stats strong{font-size:22px}
  .nataiji-professor-mode .prof-home-guide{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:11px}
  .nataiji-professor-mode .prof-home-guide button{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center;text-align:center!important;min-height:92px;padding:10px 6px!important;gap:5px}
  .nataiji-professor-mode .prof-home-guide button>span{width:34px;height:34px;font-size:16px}
  .nataiji-professor-mode .prof-home-guide button>div{display:block}
  .nataiji-professor-mode .prof-home-guide button b{display:block;font-size:11px}
  .nataiji-professor-mode .prof-home-guide button small{display:none}
  .nataiji-professor-mode .prof-home-hidden-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 0 11px}.nataiji-professor-mode .prof-home-hidden-actions button{min-height:38px;padding:8px 9px;font-size:9.5px;border-radius:13px;background:#f8fbfa;color:#58736b}
  .nataiji-professor-mode .professor-content,.nataiji-professor-mode .prof-side-card{padding:13px;border-radius:19px}
  .nataiji-professor-mode .professor-section-title h2{font-size:19px}
  .nataiji-professor-mode .professor-section-title p{font-size:10px}
  .nataiji-professor-mode .prof-v2-assignment{grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px}
  .nataiji-professor-mode .prof-card-body{min-width:0}
  .nataiji-professor-mode .prof-card-eyebrow{font-size:9px}
  .nataiji-professor-mode .prof-card-body h3{font-size:16px;margin:4px 0 8px}
  .nataiji-professor-mode .prof-card-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;font-size:9px}
  .nataiji-professor-mode .prof-card-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%}
  .nataiji-professor-mode .prof-card-actions>button{width:100%;font-size:10.5px;padding:9px 6px}
  .nataiji-professor-mode .prof-page-head{padding:15px;border-radius:19px;margin-bottom:11px}
  .nataiji-professor-mode .prof-page-head h1{font-size:24px}
  .nataiji-professor-mode .prof-page-head p{font-size:10.5px}
  .nataiji-professor-mode .prof-page-head>div:last-child{grid-template-columns:1fr 1fr}
  .nataiji-professor-mode .prof-page-head>div:last-child:only-child{grid-template-columns:1fr}
  .nataiji-professor-mode .prof-class-card{padding:14px;border-radius:19px}
  .nataiji-professor-mode .prof-class-card footer{gap:7px}
  .nataiji-professor-mode .prof-class-card footer button{font-size:10px;padding:9px 6px}
  .nataiji-professor-mode .prof-class-subject-group{padding:11px;border-radius:17px}
  .nataiji-professor-mode .prof-class-subject-head h2{font-size:18px}
  .nataiji-professor-mode .prof-report-switcher{gap:4px}
  .nataiji-professor-mode .prof-report-switcher button{min-height:57px;padding:8px 7px}
  .nataiji-professor-mode .prof-report-switcher button>b{font-size:11px}
  .nataiji-professor-mode .prof-report-switcher button>small{font-size:8.5px}
  .nataiji-professor-mode .prof-report-subject-grid{gap:8px}
  .nataiji-professor-mode .prof-report-subject-card{padding:11px;border-radius:16px}
  .nataiji-professor-mode .prof-collective-entry{padding:12px;border-radius:16px}
  .nataiji-professor-mode .prof-more-grid{grid-template-columns:1fr 1fr;gap:8px}
  .nataiji-professor-mode .prof-more-grid>button{min-height:102px!important;display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center;gap:5px;padding:12px!important}
  .nataiji-professor-mode .prof-more-grid>button>span{width:36px;height:36px;font-size:16px}
  .nataiji-professor-mode .prof-more-grid>button>b{font-size:12px}
  .nataiji-professor-mode .prof-more-grid>button>small{font-size:9px}
  .nataiji-professor-mode .professor-nav{
    left:12px;right:12px;bottom:calc(8px + env(safe-area-inset-bottom));transform:none;width:auto;max-width:none;
    grid-template-columns:repeat(5,1fr);border-radius:22px
  }
  .nataiji-professor-mode .professor-nav button{font-size:9px;padding:8px 2px}
  .nataiji-professor-mode .professor-nav button span{font-size:18px}
}

@media(max-width:420px){
  .nataiji-professor-mode .professor-shell{padding-inline:11px}
  .nataiji-professor-mode .professor-topbar{padding:10px 11px}
  .nataiji-professor-mode .professor-brand img{width:44px;height:44px}
  .nataiji-professor-mode .professor-brand em{display:none}
  .nataiji-professor-mode .professor-top-actions .prof-logout{padding-inline:8px}
  .nataiji-professor-mode .prof-v2-hero{min-height:198px;padding:18px}
  .nataiji-professor-mode .prof-v2-hero h1{font-size:27px}
  .nataiji-professor-mode .prof-v2-stats article{min-height:74px}
  .nataiji-professor-mode .prof-v2-stats article>span{width:35px;height:35px}
  .nataiji-professor-mode .prof-v2-stats strong{font-size:21px}
}

.professor-my-subjects-table{min-width:980px}
.professor-my-subjects-table th,.professor-my-subjects-table td{text-align:center;vertical-align:middle}
.professor-my-subjects-table .own-subject-group{background:#f1f8f5;color:#155f50}
.professor-my-subjects-table .own-subject-group small{display:block;margin-top:3px;color:#668078}
.prof-report-class-subjects{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.prof-report-class-subjects span{font-size:10px;background:#f1f8f5;color:#315e53;padding:4px 7px;border-radius:999px}
.prof-report-class-subjects small{font-size:9px;color:#6c827b}
.prof-results-print-actions{display:flex;gap:7px;flex-wrap:wrap}
@media(max-width:640px){
 .prof-results-print-actions{display:grid;grid-template-columns:1fr;min-width:100%}
 .prof-results-print-actions button{width:100%}
 .prof-report-class-card{grid-template-columns:auto 1fr}
 .prof-report-class-card>button{grid-column:1/-1;width:100%}
}

/* Professor home aligned with the approved teacher/director dashboard.
   Scoped to professor mode only. */
.nataiji-professor-mode .prof-home-shell{max-width:1180px}
.nataiji-professor-mode .professor-reference-topbar{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  padding:14px 16px;
  margin:0 0 14px;
  border:1px solid #dfeaec;
  border-radius:24px;
  background:rgba(255,255,255,.97);
  box-shadow:0 10px 26px rgba(8,43,75,.045)
}
.nataiji-professor-mode .professor-reference-main{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:12px
}
.nataiji-professor-mode .professor-account{
  display:flex;
  align-items:center;
  justify-self:start;
  gap:10px;
  min-width:0
}
.nataiji-professor-mode .prof-account-avatar{
  width:50px;height:50px;border-radius:15px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#eefaf6,#d8f2ea);
  border:1px solid #cfe9e0;
  color:#07866b;
  font-size:22px
}
.nataiji-professor-mode .professor-account>span:last-child{display:grid;min-width:0}
.nataiji-professor-mode .professor-account b{
  color:#153d51;font-size:17px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.nataiji-professor-mode .professor-account small{color:#7b8b91;font-size:9.5px;margin-top:2px}
.nataiji-professor-mode .professor-reference-topbar .professor-brand{
  justify-self:end;
  direction:ltr;
  flex-direction:row-reverse;
  gap:8px;
  min-width:0
}
.nataiji-professor-mode .professor-reference-topbar .professor-brand img{
  width:48px;height:48px;border-radius:13px;box-shadow:none;padding:2px;background:#fff
}
.nataiji-professor-mode .professor-reference-topbar .professor-brand span{
  display:grid;text-align:right;direction:rtl
}
.nataiji-professor-mode .professor-reference-topbar .professor-brand b{
  font-size:20px;color:#17384f;overflow:visible
}
.nataiji-professor-mode .professor-reference-topbar .professor-brand small{
  font-size:9px;color:#738892
}
.nataiji-professor-mode .prof-utility{position:absolute;inset-inline-start:55px;top:0;z-index:5}
.nataiji-professor-mode .prof-utility-toggle{
  width:32px;height:32px;padding:0!important;
  display:grid;place-items:center;
  border:0!important;background:transparent!important;
  color:#7b8d88!important;font-size:21px;line-height:1
}
.nataiji-professor-mode .professor-reference-topbar .professor-top-actions{
  position:absolute;
  top:35px;
  inset-inline-start:0;
  display:none;
  min-width:205px;
  padding:7px;
  gap:5px;
  border:1px solid #dce7e3;
  border-radius:15px;
  background:#fff;
  box-shadow:0 15px 34px rgba(22,64,53,.16)
}
.nataiji-professor-mode .professor-reference-topbar .professor-top-actions.open{display:grid}
.nataiji-professor-mode .professor-reference-topbar .professor-top-actions button{
  width:100%;text-align:start;min-height:37px;box-shadow:none
}
.nataiji-professor-mode .prof-home-context{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}
.nataiji-professor-mode .prof-home-context-item{
  min-height:58px!important;
  width:100%;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  padding:9px 13px!important;
  border-radius:14px!important;
  border:1px solid #dce7ea!important;
  background:#fff!important;
  color:#17384f!important;
  box-shadow:0 4px 10px rgba(8,43,75,.025)!important;
  text-align:start!important
}
.nataiji-professor-mode .prof-home-context-item>span{
  width:31px;height:31px;border-radius:10px;display:grid;place-items:center;
  color:#07866b;background:#eff9f6;font-size:15px
}
.nataiji-professor-mode .prof-home-context-item>div{display:grid;min-width:0}
.nataiji-professor-mode .prof-home-context-item small{font-size:9px;color:#7d8e93;font-weight:600}
.nataiji-professor-mode .prof-home-context-item b{font-size:13px;color:#17384f;margin-top:2px}
.nataiji-professor-mode .prof-home-class-select{cursor:default}
.nataiji-professor-mode .prof-home-class-select select{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  padding:0;
  background:transparent;
  color:#17384f;
  font:inherit;
  font-weight:800;
  font-size:13px
}

.nataiji-professor-mode .prof-reference-hero{
  min-height:165px;
  display:grid!important;
  grid-template-columns:105px minmax(0,1fr)!important;
  grid-template-areas:"art copy"!important;
  align-items:center!important;
  gap:10px!important;
  padding:19px 20px!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 9% 75%,rgba(41,211,167,.13),transparent 26%),
    radial-gradient(circle at 92% 10%,rgba(26,194,151,.24),transparent 34%),
    linear-gradient(125deg,#07314e 0%,#0a4a67 55%,#07866b 120%)!important;
  box-shadow:0 12px 28px rgba(8,43,75,.12)!important
}
.nataiji-professor-mode .prof-reference-hero:before,
.nataiji-professor-mode .prof-reference-hero:after{display:none}
.nataiji-professor-mode .prof-reference-hero .prof-home-hero-art{
  grid-area:art;
  position:relative!important;
  width:94px;height:94px;
  border:2px solid rgba(78,210,178,.55);
  border-radius:20px;
  display:grid;place-items:center;
  color:#79d9c2;
  background:rgba(255,255,255,.035)
}
.nataiji-professor-mode .prof-reference-hero .prof-home-hero-art b{font-size:45px;font-weight:400;line-height:1}
.nataiji-professor-mode .prof-reference-hero .prof-home-hero-art span{
  position:absolute;top:7px;inset-inline-end:8px;
  font-size:25px;color:#e1c55d
}
.nataiji-professor-mode .prof-reference-hero .prof-hero-copy{
  grid-area:copy;
  display:grid;
  justify-items:start;
  align-content:center;
  text-align:start;
  max-width:none
}
.nataiji-professor-mode .prof-reference-hero .prof-home-kicker{
  color:#bfe0d8;font-size:10px;font-weight:700
}
.nataiji-professor-mode .prof-reference-hero h1{
  margin:5px 0 3px;
  font-size:clamp(25px,4vw,34px);
  color:#fff;
  letter-spacing:-.3px
}
.nataiji-professor-mode .prof-reference-hero p{
  margin:0 0 10px;
  color:#d9ece8;
  font-size:11px
}
.nataiji-professor-mode .prof-reference-hero .primary{
  min-height:42px!important;
  background:#fff!important;
  color:#08745f!important;
  border-color:#fff!important;
  border-radius:12px!important;
  box-shadow:0 7px 17px rgba(1,35,42,.13)!important;
  padding:9px 15px!important
}

.nataiji-professor-mode .prof-reference-stats{
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin:13px 0!important
}
.nataiji-professor-mode .prof-reference-stats article{
  min-height:112px;
  position:relative;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  align-items:start!important;
  padding:15px 16px!important;
  border-radius:19px!important;
  border:1px solid #e0e9e8!important;
  box-shadow:0 7px 20px rgba(8,43,75,.035)!important
}
.nataiji-professor-mode .prof-reference-stats article>span{
  grid-column:2!important;
  grid-row:1/3!important;
  width:38px!important;height:38px!important;
  border-radius:12px!important;
  margin:0!important
}
.nataiji-professor-mode .prof-reference-stats article>div{
  grid-column:1!important;grid-row:1/4!important;
  display:grid;align-content:start;text-align:start
}
.nataiji-professor-mode .prof-reference-stats strong{
  font-size:31px!important;
  line-height:1!important;
  color:#103b56!important;
  margin:9px 0 7px
}
.nataiji-professor-mode .prof-reference-stats small{
  color:#74858b!important;
  font-size:10px!important
}
.nataiji-professor-mode .prof-reference-stats em{
  display:block;
  font-style:normal;
  color:#9aa6aa;
  font-size:8.5px;
  margin-top:7px
}
.nataiji-professor-mode .prof-reference-stats .students .prof-stat-icon{background:#eef8ff!important;color:#2778ad!important}
.nataiji-professor-mode .prof-reference-stats .average .prof-stat-icon{background:#edf9f5!important;color:#0a8b73!important}
.nataiji-professor-mode .prof-reference-stats .complete .prof-stat-icon{background:#fff8e8!important;color:#c09325!important}
.nataiji-professor-mode .prof-reference-stats .needs .prof-stat-icon{background:#fff0f0!important;color:#b84c4c!important}
.nataiji-professor-mode .prof-reference-stats .needs strong{color:#163c56!important}

.nataiji-professor-mode .prof-grade-outof{
  direction:ltr!important;
  unicode-bidi:isolate!important;
  display:inline-flex!important;
  align-items:baseline;
  gap:0;
  white-space:nowrap
}
.nataiji-professor-mode .prof-grade-outof span:last-child{font-size:.55em;margin-inline-start:1px}

.nataiji-professor-mode .prof-home-status{
  margin-top:0!important;
  padding:16px!important;
  border-radius:20px!important;
  border-color:#e0e9e8!important;
  box-shadow:0 7px 20px rgba(8,43,75,.04)!important
}
.nataiji-professor-mode .prof-home-status-head{
  display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:7px
}
.nataiji-professor-mode .prof-home-status-head>div{
  display:flex;align-items:flex-start;gap:10px
}
.nataiji-professor-mode .prof-home-status-icon{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  background:#edf9f5;color:#0a8b73;font-size:18px
}
.nataiji-professor-mode .prof-home-status-head h2{
  margin:0 0 2px;font-size:22px;color:#173d51
}
.nataiji-professor-mode .prof-home-status-head p{
  margin:0;font-size:9.5px;color:#869499
}
.nataiji-professor-mode .prof-home-status-head>button{
  padding:8px 10px!important;
  background:#eef9f5!important;
  color:#08745f!important;
  border-color:#d7ebe4!important;
  font-size:10px!important
}
.nataiji-professor-mode .prof-home-subject-list{display:grid}
.nataiji-professor-mode .prof-home-subject-row{
  width:100%;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(150px,45%);
  align-items:center!important;
  gap:13px!important;
  padding:12px 2px!important;
  border:0!important;
  border-bottom:1px solid #edf1f0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:start!important
}
.nataiji-professor-mode .prof-home-subject-row:last-child{border-bottom:0!important}
.nataiji-professor-mode .prof-home-subject-main{
  display:flex;align-items:center;gap:9px;min-width:0
}
.nataiji-professor-mode .prof-home-subject-icon{
  width:36px;height:36px;flex:0 0 auto;border-radius:11px;
  display:grid;place-items:center;
  background:#eef8f5;color:#0b876f;font-weight:900
}
.nataiji-professor-mode .prof-home-subject-main>div{display:grid;min-width:0}
.nataiji-professor-mode .prof-home-subject-main b{
  font-size:12px;color:#183e4e;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.nataiji-professor-mode .prof-home-subject-main small{font-size:9px;color:#85938f;margin-top:3px}
.nataiji-professor-mode .prof-home-subject-progress{
  display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:center
}
.nataiji-professor-mode .prof-home-subject-progress>span{
  direction:ltr;text-align:end;font-size:10px;color:#314f5c;font-weight:800
}
.nataiji-professor-mode .prof-home-subject-progress>div{
  height:7px;background:#edf2f1;border-radius:999px;overflow:hidden
}
.nataiji-professor-mode .prof-home-subject-progress i{
  display:block;height:100%;border-radius:999px;background:#0b8b73
}

/* Interface cleanup for professor subject cards outside the home page. */
.nataiji-professor-mode .prof-card-eyebrow>span:first-child{
  max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.nataiji-professor-mode .prof-card-eyebrow em{
  white-space:nowrap
}
.nataiji-professor-mode .prof-v2-assignment .prof-grade-outof{
  font-size:11px;color:#173d4d
}

@media(max-width:700px){
 .nataiji-professor-mode .professor-reference-topbar{padding:12px 13px;border-radius:22px;gap:10px}
 .nataiji-professor-mode .professor-reference-main{gap:8px}
 .nataiji-professor-mode .prof-account-avatar{width:46px;height:46px}
 .nataiji-professor-mode .professor-account b{font-size:15px}
 .nataiji-professor-mode .professor-account small{font-size:8.5px;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .nataiji-professor-mode .professor-reference-topbar .professor-brand img{width:45px;height:45px}
 .nataiji-professor-mode .professor-reference-topbar .professor-brand b{font-size:19px}
 .nataiji-professor-mode .professor-reference-topbar .professor-brand small{font-size:8px}
 .nataiji-professor-mode .prof-utility{inset-inline-start:49px}
 .nataiji-professor-mode .prof-home-context{gap:8px}
 .nataiji-professor-mode .prof-home-context-item{min-height:55px!important;padding:8px 10px!important}
 .nataiji-professor-mode .prof-home-context-item>span{width:29px;height:29px}
 .nataiji-professor-mode .prof-home-context-item small{font-size:8px}
 .nataiji-professor-mode .prof-home-context-item b,.nataiji-professor-mode .prof-home-class-select select{font-size:11px}
 .nataiji-professor-mode .prof-reference-hero{min-height:165px!important;padding:18px!important;grid-template-columns:88px minmax(0,1fr)!important}
 .nataiji-professor-mode .prof-reference-hero .prof-home-hero-art{width:78px;height:78px;border-radius:18px}
 .nataiji-professor-mode .prof-reference-hero .prof-home-hero-art b{font-size:39px}
 .nataiji-professor-mode .prof-reference-hero h1{font-size:28px!important}
 .nataiji-professor-mode .prof-reference-hero p{font-size:10px!important}
 .nataiji-professor-mode .prof-reference-stats{gap:8px!important;margin:10px 0!important}
 .nataiji-professor-mode .prof-reference-stats article{min-height:104px;padding:13px 14px!important}
 .nataiji-professor-mode .prof-reference-stats strong{font-size:29px!important}
 .nataiji-professor-mode .prof-home-status{padding:14px!important}
 .nataiji-professor-mode .prof-home-status-head h2{font-size:20px}
 .nataiji-professor-mode .prof-home-subject-row{grid-template-columns:minmax(0,1fr) minmax(120px,42%);gap:9px!important;padding:11px 0!important}
 .nataiji-professor-mode .prof-home-subject-main b{font-size:11px}
 .nataiji-professor-mode .prof-home-subject-progress{grid-template-columns:35px 1fr;gap:6px}
}

@media(max-width:430px){
 .nataiji-professor-mode .prof-home-shell{padding-inline:10px!important}
 .nataiji-professor-mode .professor-reference-topbar{padding:11px}
 .nataiji-professor-mode .professor-reference-main{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
 .nataiji-professor-mode .prof-account-avatar{width:42px;height:42px;border-radius:13px;font-size:19px}
 .nataiji-professor-mode .professor-account{gap:7px}
 .nataiji-professor-mode .professor-account b{font-size:14px}
 .nataiji-professor-mode .professor-reference-topbar .professor-brand img{width:42px;height:42px}
 .nataiji-professor-mode .professor-reference-topbar .professor-brand b{font-size:18px}
 .nataiji-professor-mode .prof-utility{inset-inline-start:43px}
 .nataiji-professor-mode .prof-home-context-item{padding:7px 8px!important;gap:6px!important}
 .nataiji-professor-mode .prof-home-context-item>span{width:27px;height:27px}
 .nataiji-professor-mode .prof-reference-hero{grid-template-columns:76px minmax(0,1fr)!important;gap:8px!important;padding:17px!important}
 .nataiji-professor-mode .prof-reference-hero .prof-home-hero-art{width:68px;height:68px}
 .nataiji-professor-mode .prof-reference-hero .prof-home-hero-art b{font-size:34px}
 .nataiji-professor-mode .prof-reference-hero h1{font-size:25px!important}
 .nataiji-professor-mode .prof-reference-stats article{min-height:98px;padding:12px!important}
 .nataiji-professor-mode .prof-reference-stats strong{font-size:27px!important}
 .nataiji-professor-mode .prof-reference-stats em{font-size:7.5px}
 .nataiji-professor-mode .prof-home-status-head p{font-size:8.5px}
 .nataiji-professor-mode .prof-home-subject-row{grid-template-columns:1fr;gap:7px!important}
 .nataiji-professor-mode .prof-home-subject-progress{grid-template-columns:38px 1fr}
}



/* Professor header mobile-safe v20
   Home header only: keeps teacher/director routes untouched. */
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar{
  width:100%!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  gap:10px!important;
  overflow:visible!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-main{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) max-content!important;
  align-items:center!important;
  gap:12px!important
}
.nataiji-professor-mode .prof-home-shell .professor-account{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  overflow:visible!important;
  align-self:center!important
}
.nataiji-professor-mode .prof-home-shell .professor-account>span:last-child{
  min-width:0!important;
  overflow:visible!important
}
.nataiji-professor-mode .prof-home-shell .professor-account b{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.25!important;
  word-break:normal!important
}
.nataiji-professor-mode .prof-home-shell .professor-account small{
  display:block!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.3!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand{
  min-width:max-content!important;
  max-width:none!important;
  justify-self:end!important;
  flex:0 0 auto!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context{
  grid-column:1/-1!important;
  width:100%!important;
  min-width:0!important;
  justify-self:stretch!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:9px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  min-height:58px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item>div{
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item small{
  display:block!important;
  white-space:normal!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item b{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-class-select select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important
}

@media(max-width:520px){
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar{
    padding:12px!important;
    gap:9px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-main{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:9px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-account-avatar{
    width:40px!important;
    height:40px!important;
    border-radius:12px!important;
    font-size:18px!important;
    flex:0 0 40px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-account{
    gap:7px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-account b{
    font-size:14px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-account small{
    font-size:8px!important;
    margin-top:2px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand{
    gap:5px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand img{
    width:38px!important;
    height:38px!important;
    border-radius:11px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand b{
    font-size:16px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand small{
    font-size:7px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-utility{
    top:-2px!important;
    inset-inline-start:40px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item{
    min-height:57px!important;
    padding:8px 9px!important;
    gap:7px!important;
    border-radius:13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item>span{
    width:28px!important;
    height:28px!important;
    flex:0 0 28px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item small{
    font-size:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item b,
  .nataiji-professor-mode .prof-home-shell .prof-home-class-select select{
    font-size:11px!important
  }
}

@media(max-width:360px){
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand small{display:none!important}
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand b{font-size:15px!important}
  .nataiji-professor-mode .prof-home-shell .prof-home-context{grid-template-columns:1fr!important}
}


/* Professor student roster aligned with teacher cards v21 */
.nataiji-professor-mode .prof-student-layout{grid-template-columns:minmax(0,1fr) 290px}
.nataiji-professor-mode .prof-student-roster-card{padding:19px!important;border-radius:22px!important}
.nataiji-professor-mode .prof-student-roster-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid #edf2f0}
.nataiji-professor-mode .prof-student-roster-head>div{min-width:0}
.nataiji-professor-mode .prof-student-roster-head small{display:block;color:#0b866e;font-weight:850;font-size:10px;margin-bottom:3px}
.nataiji-professor-mode .prof-student-roster-head h2{margin:0;color:#173d51;font-size:27px;line-height:1.15}
.nataiji-professor-mode .prof-student-roster-head p{margin:6px 0 0;color:#7d8b91;font-size:10px}
.nataiji-professor-mode .prof-add-student{min-height:48px!important;white-space:nowrap!important;padding:10px 16px!important;border-radius:14px!important;background:linear-gradient(135deg,#07896f,#0a9b7c)!important;border-color:#07896f!important;box-shadow:0 8px 20px rgba(8,137,111,.16)!important}
.nataiji-professor-mode .prof-add-student span{font-size:18px;margin-inline-end:5px}
.nataiji-professor-mode .prof-student-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:10px;align-items:center;padding:17px 0 7px}
.nataiji-professor-mode .prof-student-search{position:relative;display:block!important}
.nataiji-professor-mode .prof-student-search>span{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:#819099;font-size:20px;z-index:1}
.nataiji-professor-mode .prof-student-search input{width:100%;height:49px;border:1px solid #dce7e8!important;border-radius:15px!important;background:#fff!important;padding-inline-start:42px!important;padding-inline-end:14px!important;font:inherit!important;color:#173d51!important;box-sizing:border-box!important}
.nataiji-professor-mode .prof-student-toolbar select{height:49px;border:1px solid #dce7e8;border-radius:15px;background:#fff;padding:0 13px;color:#173d51;font:inherit;font-weight:750}
.nataiji-professor-mode #profStudentCount{grid-column:1/-1;justify-self:start;color:#879499;font-size:10px;padding:0 2px}
.nataiji-professor-mode .prof-student-list{display:grid!important;gap:11px!important;margin-top:10px!important}
.nataiji-professor-mode .prof-student-card{display:block!important;border:1px solid #dfe8e8!important;border-radius:18px!important;padding:14px 15px!important;background:#fff!important;box-shadow:0 5px 15px rgba(8,43,75,.025)!important}
.nataiji-professor-mode .prof-student-card[hidden]{display:none!important}
.nataiji-professor-mode .prof-student-card-main{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:11px!important;align-items:start!important}
.nataiji-professor-mode .prof-student-number{width:42px!important;height:42px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#edf7fb!important;color:#1680ad!important;font-size:18px!important;font-weight:900!important}
.nataiji-professor-mode .prof-student-names{display:grid!important;min-width:0!important;gap:2px!important}
.nataiji-professor-mode .prof-student-names b{font-size:16px!important;color:#173d51!important;white-space:normal!important;line-height:1.35!important}
.nataiji-professor-mode .prof-student-names small{font-size:10.5px!important;color:#9aa6ab!important;white-space:normal!important;line-height:1.3!important}
.nataiji-professor-mode .prof-student-gender{width:auto!important;height:auto!important;min-width:42px!important;padding:5px 8px!important;border-radius:999px!important;background:#f7faf9!important;border:1px solid #dde8e5!important;color:#637a72!important;font-size:9px!important;white-space:nowrap!important}
.nataiji-professor-mode .prof-student-meta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin:12px 0 0!important;padding:10px 0 0!important;border-top:1px solid #eef2f1!important}
.nataiji-professor-mode .prof-student-meta>span{display:grid!important;gap:3px!important}
.nataiji-professor-mode .prof-student-meta small{font-size:9px!important;color:#9aa5a9!important}
.nataiji-professor-mode .prof-student-meta b{font-size:10.5px!important;color:#5e737b!important;font-weight:700!important}
.nataiji-professor-mode .prof-student-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-top:12px!important}
.nataiji-professor-mode .prof-student-actions button{min-height:42px!important;border-radius:13px!important;font-weight:850!important;font-size:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
.nataiji-professor-mode .prof-student-edit{background:#f6fafc!important;border-color:#d7e4e9!important;color:#315c70!important}
.nataiji-professor-mode .prof-student-delete{background:#fff7f7!important;border-color:#efcece!important;color:#a43e3e!important}
.nataiji-professor-mode .prof-student-actions button span{font-size:16px!important}
.nataiji-professor-mode .prof-student-locked{margin-top:12px;padding:9px 11px;border-radius:11px;background:#f6f8f7;color:#71827d;font-size:10px}
.nataiji-professor-mode .prof-student-modal .locked{color:#0b866e!important;font-weight:800!important}

@media(max-width:700px){
 .nataiji-professor-mode .prof-student-layout{grid-template-columns:1fr!important}
 .nataiji-professor-mode .prof-student-roster-card{padding:15px!important}
 .nataiji-professor-mode .prof-student-roster-head{align-items:flex-end!important}
 .nataiji-professor-mode .prof-student-roster-head h2{font-size:24px!important}
 .nataiji-professor-mode .prof-add-student{min-height:46px!important;padding:9px 12px!important;font-size:11px!important}
 .nataiji-professor-mode .prof-student-toolbar{grid-template-columns:1fr!important;padding-top:14px!important}
 .nataiji-professor-mode .prof-student-toolbar select{width:62%!important;justify-self:end!important}
 .nataiji-professor-mode #profStudentCount{grid-column:1!important;justify-self:start!important}
 .nataiji-professor-mode .prof-student-card{padding:13px!important}
 .nataiji-professor-mode .prof-student-card-main{grid-template-columns:auto minmax(0,1fr) auto!important}
 .nataiji-professor-mode .prof-student-number{width:39px!important;height:39px!important;font-size:16px!important}
 .nataiji-professor-mode .prof-student-names b{font-size:15px!important}
}
@media(max-width:390px){
 .nataiji-professor-mode .prof-student-roster-head{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important}
 .nataiji-professor-mode .prof-add-student{align-self:start!important}
 .nataiji-professor-mode .prof-student-gender{font-size:8px!important;padding:4px 7px!important}
 .nataiji-professor-mode .prof-student-toolbar select{width:100%!important}
 .nataiji-professor-mode .prof-student-meta{grid-template-columns:1fr 1fr!important}
}


/* Professor student form compact fields v22 */
.nataiji-professor-mode .prof-student-modal .professor-modal-card{width:min(620px,100%)}
.nataiji-professor-mode .prof-student-modal .professor-modal-card>header{padding:17px 22px 11px}
.nataiji-professor-mode .prof-student-modal .professor-modal-card>header h2{font-size:21px}
.nataiji-professor-mode .prof-student-modal .professor-x{width:42px;height:42px}
.nataiji-professor-mode .prof-student-modal .professor-modal-body{padding:0 22px 20px}
.nataiji-professor-mode .prof-student-form{gap:11px}
.nataiji-professor-mode .prof-student-field{gap:5px}
.nataiji-professor-mode .prof-student-field>b{font-size:13px}
.nataiji-professor-mode .prof-student-field>small,
.nataiji-professor-mode .prof-field-optional{font-size:9.5px;line-height:1.35}
.nataiji-professor-mode .prof-student-field input,
.nataiji-professor-mode .prof-student-field select{
  height:47px!important;
  min-height:47px!important;
  border-radius:12px!important;
  padding:0 13px!important;
  font-size:14px!important
}
.nataiji-professor-mode .prof-student-save-row{
  position:sticky;
  bottom:0;
  z-index:2;
  padding:8px 0 2px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),#fff 32%)
}
.nataiji-professor-mode .prof-student-save-row .primary{
  width:100%;
  min-width:0;
  height:48px;
  border-radius:13px!important;
  font-size:14px!important
}
@media(max-width:640px){
 .nataiji-professor-mode .prof-student-modal .professor-modal-card{max-height:92dvh;border-radius:25px 25px 0 0}
 .nataiji-professor-mode .prof-student-modal .professor-modal-card>header{padding:17px 18px 10px}
 .nataiji-professor-mode .prof-student-modal .professor-modal-card>header h2{font-size:20px}
 .nataiji-professor-mode .prof-student-modal .professor-modal-body{padding:0 18px calc(18px + env(safe-area-inset-bottom))}
 .nataiji-professor-mode .prof-student-form{gap:10px}
 .nataiji-professor-mode .prof-student-field input,
 .nataiji-professor-mode .prof-student-field select{
   height:46px!important;
   min-height:46px!important;
   border-radius:12px!important
 }
 .nataiji-professor-mode .prof-student-save-row .primary{height:47px}
}


/* Professor student name emphasis follows UI language v23 */
.nataiji-professor-mode .prof-student-names.is-ar{
  direction:rtl!important;
  text-align:right!important;
  justify-items:start!important
}
.nataiji-professor-mode .prof-student-names.is-fr{
  direction:ltr!important;
  text-align:left!important;
  justify-items:start!important
}
.nataiji-professor-mode .prof-student-names.is-ar b,
.nataiji-professor-mode .prof-student-names.is-fr b{
  font-size:16px!important;
  font-weight:900!important;
  color:#173d51!important
}
.nataiji-professor-mode .prof-student-names.is-ar small,
.nataiji-professor-mode .prof-student-names.is-fr small{
  font-size:10.5px!important;
  font-weight:600!important;
  color:#9aa6ab!important
}


/* Professor grade entry mirrors teacher compact rows v24 */
.nataiji-professor-mode .prof-grade-teacher-style{
  padding:16px!important;
  border-radius:21px!important
}
.nataiji-professor-mode .prof-grade-entry-list{
  display:grid;
  gap:9px;
  margin-top:12px
}
.nataiji-professor-mode .prof-grade-student-card{
  border:1px solid #e1e9ed;
  border-radius:16px;
  background:#fff;
  padding:11px 12px;
  box-shadow:0 3px 12px rgba(20,56,75,.025)
}
.nataiji-professor-mode .prof-grade-student-head{
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding-bottom:8px;
  border-bottom:1px solid #edf2f4
}
.nataiji-professor-mode .prof-grade-call{
  width:40px;height:40px;border-radius:11px;
  display:grid;place-items:center;
  background:#eef7fb;color:#1680ad;
  font-size:17px;font-weight:900
}
.nataiji-professor-mode .prof-grade-student-copy{
  min-width:0;display:grid;gap:1px
}
.nataiji-professor-mode .prof-grade-student-copy b{
  color:#17364d;font-size:14.5px;font-weight:900;
  line-height:1.25;overflow-wrap:anywhere
}
.nataiji-professor-mode .prof-grade-student-copy small{
  color:#96a3aa;font-size:9.5px;font-weight:600;
  line-height:1.2;overflow-wrap:anywhere
}
.nataiji-professor-mode .prof-grade-student-copy em{
  margin-top:2px;color:#9aa6ab;font-size:8.5px;
  font-style:normal;font-weight:500
}
.nataiji-professor-mode .prof-grade-assessments{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding-top:9px
}
.nataiji-professor-mode .prof-grade-assessment{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  min-height:52px;
  padding:7px 8px;
  border:1px solid #e7edf0;
  border-radius:12px;
  background:#fbfdfe;
  transition:.15s ease
}
.nataiji-professor-mode .prof-grade-assessment-label{
  min-width:0;display:grid;gap:1px
}
.nataiji-professor-mode .prof-grade-assessment-label b{
  color:#405d6c;font-size:10.5px;font-weight:850;
  line-height:1.2
}
.nataiji-professor-mode .prof-grade-assessment-label small{
  color:#91a0aa;font-size:8.5px;font-weight:700
}
.nataiji-professor-mode .prof-grade-score-controls{
  display:grid;
  grid-template-columns:84px 56px;
  align-items:center;
  gap:5px;
  direction:ltr
}
.nataiji-professor-mode .prof-grade-score-field{
  width:84px;display:grid;
  grid-template-columns:57px 25px;
  align-items:center;gap:2px;direction:ltr
}
.nataiji-professor-mode .prof-grade-score-field input{
  width:57px!important;height:37px!important;min-height:37px!important;
  padding:0 4px!important;margin:0!important;
  border:1px solid #c8dce7!important;border-radius:9px!important;
  background:#f8fcfe!important;color:#17364d!important;
  text-align:center!important;font-size:15px!important;font-weight:650!important;
  line-height:37px!important;box-sizing:border-box!important;outline:none!important
}
.nataiji-professor-mode .prof-grade-score-field input:focus{
  border-color:#218fd2!important;
  box-shadow:0 0 0 3px rgba(33,143,210,.11)!important;
  background:#fff!important
}
.nataiji-professor-mode .prof-grade-score-field em{
  color:#80919d;font-size:10.5px;font-weight:750;
  font-style:normal;white-space:nowrap
}
.nataiji-professor-mode .prof-grade-absent{
  width:56px;min-width:56px;height:33px;min-height:33px;
  padding:0 4px!important;margin:0!important;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #d8e1e8!important;border-radius:9px!important;
  background:#fff!important;color:#667784!important;
  font-size:10px!important;font-weight:850!important;white-space:nowrap;
  box-shadow:0 1px 3px rgba(23,54,77,.04)!important
}
.nataiji-professor-mode .prof-grade-absent::before{
  content:"";width:6px;height:6px;border-radius:50%;
  background:#a9b7c1;margin-inline-end:4px;flex:none
}
.nataiji-professor-mode .prof-grade-assessment.is-absent{
  background:linear-gradient(90deg,rgba(255,249,226,.3),rgba(255,249,226,.75));
  border-color:#ecd999
}
.nataiji-professor-mode .prof-grade-assessment.is-absent .prof-grade-score-field input{
  background:#fffaf0!important;border-color:#e6cc78!important;
  color:#8a6200!important;font-size:10.5px!important;font-weight:800!important
}
.nataiji-professor-mode .prof-grade-assessment.is-absent .prof-grade-absent{
  background:#f2b51d!important;border-color:#b98300!important;
  color:#3f2b00!important;
  box-shadow:0 0 0 3px rgba(242,181,29,.16)!important
}
.nataiji-professor-mode .prof-grade-assessment.is-absent .prof-grade-absent::before{
  background:#704a00
}
.nataiji-professor-mode .prof-grade-student-results{
  display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;
  padding-top:8px;margin-top:8px;border-top:1px solid #f0f3f4
}
.nataiji-professor-mode .prof-grade-student-results span{
  display:flex;align-items:baseline;gap:5px
}
.nataiji-professor-mode .prof-grade-student-results small{
  color:#8a9aa2;font-size:8.5px;font-weight:650
}
.nataiji-professor-mode .prof-grade-student-results b{
  color:#17364d;font-size:11px;font-weight:900;direction:ltr
}
@media(max-width:760px){
 .nataiji-professor-mode .prof-grade-teacher-style{padding:12px!important}
 .nataiji-professor-mode .prof-grade-entry-list{gap:7px;margin-top:9px}
 .nataiji-professor-mode .prof-grade-student-card{padding:9px 10px;border-radius:14px}
 .nataiji-professor-mode .prof-grade-student-head{grid-template-columns:36px minmax(0,1fr);gap:8px;padding-bottom:7px}
 .nataiji-professor-mode .prof-grade-call{width:36px;height:36px;border-radius:10px;font-size:15px}
 .nataiji-professor-mode .prof-grade-student-copy b{font-size:13.5px}
 .nataiji-professor-mode .prof-grade-student-copy small{font-size:9px}
 .nataiji-professor-mode .prof-grade-assessments{grid-template-columns:1fr;gap:6px;padding-top:7px}
 .nataiji-professor-mode .prof-grade-assessment{
   grid-template-columns:minmax(90px,1fr) auto;
   min-height:48px;padding:5px 7px;border-radius:10px
 }
 .nataiji-professor-mode .prof-grade-assessment-label b{font-size:10px}
 .nataiji-professor-mode .prof-grade-score-controls{grid-template-columns:82px 54px;gap:4px}
 .nataiji-professor-mode .prof-grade-score-field{width:82px;grid-template-columns:56px 24px}
 .nataiji-professor-mode .prof-grade-score-field input{width:56px!important;height:36px!important;min-height:36px!important;line-height:36px!important;font-size:14px!important}
 .nataiji-professor-mode .prof-grade-absent{width:54px;min-width:54px;height:32px;min-height:32px;font-size:9.5px!important}
 .nataiji-professor-mode .prof-grade-student-results{justify-content:space-between;gap:6px;padding-top:7px;margin-top:7px}
}
@media(max-width:380px){
 .nataiji-professor-mode .prof-grade-assessment{grid-template-columns:minmax(78px,1fr) auto;gap:5px}
 .nataiji-professor-mode .prof-grade-score-controls{grid-template-columns:78px 51px}
 .nataiji-professor-mode .prof-grade-score-field{width:78px;grid-template-columns:53px 23px}
 .nataiji-professor-mode .prof-grade-score-field input{width:53px!important}
 .nataiji-professor-mode .prof-grade-absent{width:51px;min-width:51px;font-size:9px!important}
}


/* Professor collective reports reference layout v25 */
.nataiji-professor-mode .prof-collective-reference{
  max-width:760px!important;
  margin-inline:auto!important
}
.nataiji-professor-mode .prof-collective-reference .professor-reference-topbar{
  min-height:104px!important;
  padding:16px 18px!important;
  border-radius:25px!important;
  background:
    radial-gradient(circle at 5% 10%,rgba(21,178,144,.10),transparent 34%),
    rgba(255,255,255,.97)!important;
  box-shadow:0 10px 28px rgba(24,73,61,.07)!important
}
.nataiji-professor-mode .prof-collective-reference .professor-reference-main{
  width:100%!important;
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) 54px!important;
  align-items:center!important;
  gap:8px!important
}
.nataiji-professor-mode .prof-collective-reference .professor-account{
  grid-column:3!important;
  width:54px!important;
  min-width:54px!important;
  justify-self:end!important;
  display:block!important
}
.nataiji-professor-mode .prof-collective-reference .professor-account>span:last-child{
  display:none!important
}
.nataiji-professor-mode .prof-collective-reference .prof-account-avatar{
  width:54px!important;
  height:54px!important;
  border-radius:17px!important;
  background:#eaf8f4!important;
  border:1px solid #d4eee6!important;
  color:#07876e!important;
  font-size:25px!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand{
  grid-column:2!important;
  justify-self:center!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand img{
  width:58px!important;
  height:58px!important;
  border-radius:14px!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand b{
  font-size:24px!important;
  line-height:1.1!important;
  color:#103c52!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand small{
  display:block!important;
  margin-top:3px!important;
  font-size:9px!important;
  color:#71898c!important
}
.nataiji-professor-mode .prof-collective-reference .prof-utility{
  display:none!important
}
.nataiji-professor-mode .prof-collective-card{
  padding:18px!important;
  border-radius:25px!important;
  background:#fff!important;
  border:1px solid #dfe9e6!important;
  box-shadow:0 8px 24px rgba(25,72,62,.05)!important
}
.nataiji-professor-mode .prof-collective-switcher{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:5px!important;
  padding:5px!important;
  margin-bottom:22px!important;
  border:1px solid #dce7e4!important;
  border-radius:18px!important;
  background:#f4f8f7!important
}
.nataiji-professor-mode .prof-collective-switcher button{
  min-height:61px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  border:0!important;
  border-radius:15px!important;
  background:transparent!important;
  color:#31545a!important;
  box-shadow:none!important;
  padding:10px 12px!important
}
.nataiji-professor-mode .prof-collective-switcher button span{
  width:26px!important;
  height:26px!important;
  display:grid!important;
  place-items:center!important;
  color:#526b72!important
}
.nataiji-professor-mode .prof-collective-switcher button svg{
  width:23px!important;height:23px!important
}
.nataiji-professor-mode .prof-collective-switcher button b{
  font-size:16px!important;
  font-weight:900!important;
  color:inherit!important
}
.nataiji-professor-mode .prof-collective-switcher button.on{
  background:linear-gradient(135deg,#0d8f72,#0b7f68)!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(13,143,114,.17)!important
}
.nataiji-professor-mode .prof-collective-switcher button.on span{color:#fff!important}
.nataiji-professor-mode .prof-collective-title-block{
  text-align:start!important;
  margin:0 2px 18px!important
}
.nataiji-professor-mode .prof-collective-title-block h1{
  margin:0 0 8px!important;
  font-size:34px!important;
  line-height:1.2!important;
  color:#10394d!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-collective-title-block p{
  margin:0!important;
  max-width:92%!important;
  color:#71858a!important;
  font-size:12px!important;
  line-height:1.8!important
}
.nataiji-professor-mode .prof-collective-class-picker{
  position:relative!important;
  width:100%!important;
  height:58px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 34px!important;
  align-items:center!important;
  margin-bottom:13px!important;
  border:1px solid #d5e1e3!important;
  border-radius:14px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-sizing:border-box!important
}
.nataiji-professor-mode .prof-collective-class-picker select{
  grid-column:2!important;
  width:100%!important;
  height:56px!important;
  border:0!important;
  outline:0!important;
  appearance:none!important;
  background:transparent!important;
  color:#203f4e!important;
  font:inherit!important;
  font-size:20px!important;
  font-weight:850!important;
  text-align:start!important;
  padding:0 8px!important
}
.nataiji-professor-mode .prof-class-picker-icon{
  grid-column:1!important;
  width:38px!important;height:38px!important;
  display:grid!important;place-items:center!important;
  justify-self:center!important;
  color:#2d5260!important
}
.nataiji-professor-mode .prof-class-picker-icon svg{width:24px!important;height:24px!important}
.nataiji-professor-mode .prof-class-picker-arrow{
  grid-column:3!important;
  justify-self:center!important;
  color:#284d5d!important;
  font-size:20px!important
}
.nataiji-professor-mode .prof-collective-tabs{
  position:static!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:9px!important;
  margin:0 0 14px!important;
  padding:0!important;
  background:transparent!important
}
.nataiji-professor-mode .prof-collective-tabs button{
  min-height:54px!important;
  border-radius:13px!important;
  border:1px solid #d8e3e4!important;
  background:#f8faf9!important;
  color:#405a62!important;
  font-size:15px!important;
  font-weight:850!important
}
.nataiji-professor-mode .prof-collective-tabs button.on{
  background:#108a6d!important;
  border-color:#108a6d!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(16,138,109,.14)!important
}
.nataiji-professor-mode .prof-collective-reference .prof-results-loading{
  padding:22px 0!important
}
.nataiji-professor-mode .prof-collective-summary{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin:0 0 12px!important
}
.nataiji-professor-mode .prof-collective-summary article{
  min-height:100px!important;
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important;
  padding:13px!important;
  border-radius:17px!important;
  background:#fff!important;
  border:1px solid #e1e9e8!important;
  box-shadow:none!important
}
.nataiji-professor-mode .prof-collective-summary article>span{
  width:48px!important;height:48px!important;
  border-radius:50%!important;
  display:grid!important;place-items:center!important
}
.nataiji-professor-mode .prof-collective-summary article>span svg{width:25px!important;height:25px!important}
.nataiji-professor-mode .prof-collective-summary article>div{display:grid!important;gap:2px!important}
.nataiji-professor-mode .prof-collective-summary article small{
  color:#667a80!important;font-size:11px!important;font-weight:700!important
}
.nataiji-professor-mode .prof-collective-summary article strong{
  color:#123b4d!important;font-size:28px!important;line-height:1.05!important;font-weight:950!important
}
.nataiji-professor-mode .prof-collective-summary .stat-subjects{
  background:linear-gradient(135deg,#fbfefd,#f3fbf7)!important
}
.nataiji-professor-mode .prof-collective-summary .stat-subjects>span{
  color:#07886e!important;background:#e6f7f0!important
}
.nataiji-professor-mode .prof-collective-summary .stat-members{
  background:linear-gradient(135deg,#fbfdff,#f3f9ff)!important
}
.nataiji-professor-mode .prof-collective-summary .stat-members>span{
  color:#288bd0!important;background:#eaf5ff!important
}
.nataiji-professor-mode .prof-collective-summary .stat-average{
  background:linear-gradient(135deg,#fffdfa,#fff8e9)!important
}
.nataiji-professor-mode .prof-collective-summary .stat-average>span{
  color:#bf7600!important;background:#fff0cd!important
}
.nataiji-professor-mode .prof-collective-summary .stat-complete{
  background:linear-gradient(135deg,#fdfcff,#f6f3ff)!important
}
.nataiji-professor-mode .prof-collective-summary .stat-complete>span{
  color:#536de2!important;background:#eeeaff!important
}
.nataiji-professor-mode .prof-collective-warning{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  align-items:center!important;
  gap:13px!important;
  margin:4px 0 15px!important;
  padding:14px 15px!important;
  border-radius:16px!important;
  border:1px solid #ecd48b!important;
  background:#fff9e8!important;
  color:#72500f!important
}
.nataiji-professor-mode .prof-warning-icon{
  width:48px!important;height:48px!important;
  display:grid!important;place-items:center!important;
  color:#efad1d!important
}
.nataiji-professor-mode .prof-warning-icon svg{width:38px!important;height:38px!important}
.nataiji-professor-mode .prof-collective-warning b{
  display:block!important;margin-bottom:4px!important;
  color:#80540b!important;font-size:14px!important;font-weight:950!important
}
.nataiji-professor-mode .prof-collective-warning p{
  margin:0!important;color:#79693a!important;font-size:10.5px!important;line-height:1.7!important
}
.nataiji-professor-mode .prof-collective-section-title{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  margin:4px 2px 10px!important;
  color:#103d4d!important
}
.nataiji-professor-mode .prof-collective-section-title>span{
  width:38px!important;height:38px!important;
  border-radius:50%!important;
  display:grid!important;place-items:center!important;
  background:#e9f7f1!important;color:#07866c!important
}
.nataiji-professor-mode .prof-collective-section-title svg{width:21px!important;height:21px!important}
.nataiji-professor-mode .prof-collective-section-title b{
  font-size:18px!important;font-weight:950!important
}
.nataiji-professor-mode .prof-collective-print-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  direction:ltr!important;
  margin-bottom:12px!important
}
.nataiji-professor-mode .prof-collective-print-actions button{
  width:100%!important;
  min-height:55px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border-radius:13px!important;
  font-size:12px!important;
  font-weight:850!important;
  direction:rtl!important
}
.nataiji-professor-mode .prof-collective-print-actions button svg{
  width:21px!important;height:21px!important;flex:none!important
}
.nataiji-professor-mode .prof-collective-print-actions #pv2PrintAllStudents{
  background:#fff!important;
  border:1.5px solid #0d8a70!important;
  color:#174b5c!important
}
.nataiji-professor-mode .prof-collective-print-actions #pv2PrintClass{
  background:linear-gradient(135deg,#0e8d70,#0b8068)!important;
  border-color:#0e8d70!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(14,141,112,.13)!important
}
.nataiji-professor-mode .prof-collective-roster{
  overflow:hidden!important;
  border:1px solid #dbe5e5!important;
  border-radius:13px!important;
  background:#fff!important
}
.nataiji-professor-mode .prof-collective-roster table{
  width:100%!important;
  border-collapse:collapse!important;
  table-layout:fixed!important
}
.nataiji-professor-mode .prof-collective-roster th,
.nataiji-professor-mode .prof-collective-roster td{
  height:49px!important;
  padding:9px 13px!important;
  border-bottom:1px solid #e8eeee!important;
  color:#455f66!important;
  font-size:13px!important
}
.nataiji-professor-mode .prof-collective-roster th{
  background:#f6faf9!important;
  color:#536a70!important;
  font-size:11px!important;
  font-weight:850!important
}
.nataiji-professor-mode .prof-collective-roster th:first-child,
.nataiji-professor-mode .prof-collective-roster td:first-child{
  width:58px!important;
  text-align:center!important;
  border-inline-end:1px solid #e3eaea!important
}
.nataiji-professor-mode .prof-collective-roster th:last-child,
.nataiji-professor-mode .prof-collective-roster td:last-child{
  text-align:start!important
}
.nataiji-professor-mode .prof-collective-roster tr:last-child td{border-bottom:0!important}
.nataiji-professor-mode .prof-collective-reference .professor-nav{
  max-width:720px!important;
  margin-inline:auto!important
}

@media(max-width:700px){
 .nataiji-professor-mode .prof-collective-reference{
   padding-inline:11px!important
 }
 .nataiji-professor-mode .prof-collective-reference .professor-reference-topbar{
   min-height:92px!important;
   padding:12px 14px!important;
   border-radius:23px!important
 }
 .nataiji-professor-mode .prof-collective-reference .professor-reference-main{
   grid-template-columns:48px minmax(0,1fr) 48px!important
 }
 .nataiji-professor-mode .prof-collective-reference .professor-account{
   width:48px!important;min-width:48px!important
 }
 .nataiji-professor-mode .prof-collective-reference .prof-account-avatar{
   width:48px!important;height:48px!important;border-radius:15px!important;font-size:22px!important
 }
 .nataiji-professor-mode .prof-collective-reference .professor-brand img{
   width:51px!important;height:51px!important
 }
 .nataiji-professor-mode .prof-collective-reference .professor-brand b{
   font-size:21px!important
 }
 .nataiji-professor-mode .prof-collective-card{
   padding:14px!important;border-radius:22px!important
 }
 .nataiji-professor-mode .prof-collective-switcher{
   margin-bottom:18px!important;border-radius:16px!important
 }
 .nataiji-professor-mode .prof-collective-switcher button{
   min-height:55px!important;border-radius:13px!important;gap:7px!important;padding:8px!important
 }
 .nataiji-professor-mode .prof-collective-switcher button b{font-size:13px!important}
 .nataiji-professor-mode .prof-collective-switcher button span{width:23px!important;height:23px!important}
 .nataiji-professor-mode .prof-collective-switcher button svg{width:20px!important;height:20px!important}
 .nataiji-professor-mode .prof-collective-title-block h1{
   font-size:29px!important;margin-bottom:7px!important
 }
 .nataiji-professor-mode .prof-collective-title-block p{
   max-width:100%!important;font-size:10.5px!important;line-height:1.75!important
 }
 .nataiji-professor-mode .prof-collective-class-picker{
   height:54px!important;grid-template-columns:40px minmax(0,1fr) 31px!important
 }
 .nataiji-professor-mode .prof-collective-class-picker select{
   height:52px!important;font-size:18px!important
 }
 .nataiji-professor-mode .prof-collective-tabs{gap:7px!important}
 .nataiji-professor-mode .prof-collective-tabs button{
   min-height:50px!important;font-size:13px!important
 }
 .nataiji-professor-mode .prof-collective-summary{gap:8px!important}
 .nataiji-professor-mode .prof-collective-summary article{
   min-height:91px!important;
   grid-template-columns:45px minmax(0,1fr)!important;
   gap:8px!important;padding:10px!important;border-radius:15px!important
 }
 .nataiji-professor-mode .prof-collective-summary article>span{
   width:42px!important;height:42px!important
 }
 .nataiji-professor-mode .prof-collective-summary article>span svg{width:22px!important;height:22px!important}
 .nataiji-professor-mode .prof-collective-summary article small{font-size:9.5px!important}
 .nataiji-professor-mode .prof-collective-summary article strong{font-size:24px!important}
 .nataiji-professor-mode .prof-collective-warning{
   grid-template-columns:45px minmax(0,1fr)!important;
   gap:9px!important;padding:12px!important
 }
 .nataiji-professor-mode .prof-warning-icon{width:42px!important;height:42px!important}
 .nataiji-professor-mode .prof-warning-icon svg{width:32px!important;height:32px!important}
 .nataiji-professor-mode .prof-collective-warning b{font-size:12px!important}
 .nataiji-professor-mode .prof-collective-warning p{font-size:9.5px!important}
 .nataiji-professor-mode .prof-collective-section-title b{font-size:16px!important}
 .nataiji-professor-mode .prof-collective-print-actions button{
   min-height:51px!important;font-size:10.8px!important;padding:7px!important
 }
 .nataiji-professor-mode .prof-collective-roster th,
 .nataiji-professor-mode .prof-collective-roster td{
   height:45px!important;padding:8px 11px!important;font-size:12px!important
 }
 .nataiji-professor-mode .prof-collective-reference .professor-nav{
   left:14px!important;right:14px!important
 }
}
@media(max-width:380px){
 .nataiji-professor-mode .prof-collective-switcher button b{font-size:12px!important}
 .nataiji-professor-mode .prof-collective-title-block h1{font-size:26px!important}
 .nataiji-professor-mode .prof-collective-summary article{
   grid-template-columns:39px minmax(0,1fr)!important;padding:8px!important
 }
 .nataiji-professor-mode .prof-collective-summary article>span{width:37px!important;height:37px!important}
 .nataiji-professor-mode .prof-collective-summary article strong{font-size:22px!important}
 .nataiji-professor-mode .prof-collective-print-actions button{font-size:9.8px!important;gap:5px!important}
}


/* Professor more/settings reference layout v26 */
.nataiji-professor-mode .prof-more-reference{
  max-width:760px!important;
  margin-inline:auto!important
}
.nataiji-professor-mode .prof-more-reference .professor-reference-topbar{
  min-height:88px!important;
  padding:12px 15px!important;
  border-radius:23px!important;
  margin-bottom:13px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 9px 26px rgba(24,73,61,.07)!important
}
.nataiji-professor-mode .prof-more-reference-hero{
  min-height:180px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px;
  align-items:center;
  gap:12px;
  padding:26px 30px;
  margin-bottom:14px;
  border-radius:25px;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 82% 58%,rgba(255,255,255,.09) 0 14%,transparent 15% 100%),
    radial-gradient(circle at 67% 58%,rgba(255,255,255,.05) 0 22%,transparent 23% 100%),
    linear-gradient(125deg,#0b4058 0%,#076d67 48%,#07906e 100%);
  box-shadow:0 13px 30px rgba(6,92,82,.16)
}
.nataiji-professor-mode .prof-more-reference-hero>div{
  align-self:center;
  min-width:0
}
.nataiji-professor-mode .prof-more-reference-hero small{
  display:block;
  margin-bottom:10px;
  color:#d4eee9;
  font-size:14px;
  font-weight:750
}
.nataiji-professor-mode .prof-more-reference-hero h1{
  margin:0 0 10px;
  color:#fff;
  font-size:35px;
  line-height:1.15;
  font-weight:950
}
.nataiji-professor-mode .prof-more-reference-hero p{
  margin:0;
  color:#d6eae8;
  font-size:14px;
  line-height:1.65;
  font-weight:550
}
.nataiji-professor-mode .prof-more-hero-icon{
  justify-self:center;
  width:118px;
  height:118px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:72px;
  opacity:.96;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.12))
}
.nataiji-professor-mode .prof-more-list{
  display:grid;
  gap:10px
}
.nataiji-professor-mode .prof-more-list-row{
  width:100%!important;
  min-height:82px!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 34px!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 15px!important;
  border:1px solid #dfe9e7!important;
  border-radius:19px!important;
  background:#fff!important;
  color:#183c50!important;
  text-align:start!important;
  box-shadow:0 5px 16px rgba(28,71,61,.035)!important
}
.nataiji-professor-mode .prof-more-row-icon{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:#e9f7f2;
  color:#05896d
}
.nataiji-professor-mode .prof-more-row-icon svg{
  width:28px;
  height:28px
}
.nataiji-professor-mode .prof-more-row-copy{
  min-width:0;
  display:grid;
  gap:4px
}
.nataiji-professor-mode .prof-more-row-copy b{
  color:#173b50;
  font-size:18px;
  line-height:1.25;
  font-weight:950
}
.nataiji-professor-mode .prof-more-row-copy small{
  color:#89979d;
  font-size:11.5px;
  line-height:1.45;
  font-weight:550
}
.nataiji-professor-mode .prof-more-chevron{
  justify-self:end;
  color:#526c76;
  font-size:31px;
  line-height:1;
  font-weight:450
}
.nataiji-professor-mode .prof-more-list-row:nth-child(1) .prof-more-row-icon{background:#e8f8f1;color:#079474}
.nataiji-professor-mode .prof-more-list-row:nth-child(2) .prof-more-row-icon{background:#efefff;color:#4859db}
.nataiji-professor-mode .prof-more-list-row:nth-child(3) .prof-more-row-icon{background:#f1ecff;color:#7545d7}
.nataiji-professor-mode .prof-more-list-row:nth-child(4) .prof-more-row-icon{background:#e7f9fb;color:#06a4b9}
.nataiji-professor-mode .prof-more-list-row:nth-child(5) .prof-more-row-icon{background:#eaf4ff;color:#1788df}
.nataiji-professor-mode .prof-more-list-row:nth-child(6) .prof-more-row-icon{background:#fff4d7;color:#d39b08}
.nataiji-professor-mode .prof-more-list-row:nth-child(7) .prof-more-row-icon{background:#edf1f4;color:#526a78}
.nataiji-professor-mode .prof-more-list-row:nth-child(8) .prof-more-row-icon{background:#e8f8f1;color:#0b9b72}
.nataiji-professor-mode .prof-more-list-row:nth-child(9) .prof-more-row-icon{background:#e8f3ff;color:#177ed3}
.nataiji-professor-mode .prof-more-list-row.danger{
  border-color:#f0d9dc!important;
  background:#fffdfd!important
}
.nataiji-professor-mode .prof-more-list-row.danger .prof-more-row-icon{
  background:#ffe9eb!important;
  color:#d22633!important
}
.nataiji-professor-mode .prof-more-list-row.danger .prof-more-row-copy b,
.nataiji-professor-mode .prof-more-list-row.danger .prof-more-chevron{
  color:#c9232f!important
}
.nataiji-professor-mode .prof-more-list-row:active{
  transform:scale(.995)
}
.nataiji-professor-mode .prof-account-summary{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  align-items:center;
  gap:11px;
  padding:11px;
  margin-bottom:12px;
  border:1px solid #dce8e4;
  border-radius:15px;
  background:#f7fbf9
}
.nataiji-professor-mode .prof-account-summary>span{
  width:48px;height:48px;
  display:grid;place-items:center;
  border-radius:14px;
  background:#e8f7f2;color:#098b70
}
.nataiji-professor-mode .prof-account-summary svg{width:27px;height:27px}
.nataiji-professor-mode .prof-account-summary div{display:grid;gap:2px;min-width:0}
.nataiji-professor-mode .prof-account-summary b{font-size:15px;color:#173d4d}
.nataiji-professor-mode .prof-account-summary small{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#7d8e91
}
.nataiji-professor-mode .prof-info-sheet,
.nataiji-professor-mode .prof-support-sheet,
.nataiji-professor-mode .prof-delete-sheet{
  display:grid;
  gap:12px;
  text-align:start
}
.nataiji-professor-mode .prof-info-sheet h3,
.nataiji-professor-mode .prof-support-sheet h3,
.nataiji-professor-mode .prof-delete-sheet h3{
  margin:0;
  color:#173d4d;
  font-size:20px
}
.nataiji-professor-mode .prof-info-sheet p,
.nataiji-professor-mode .prof-support-sheet p,
.nataiji-professor-mode .prof-delete-sheet p{
  margin:0;
  color:#718289;
  line-height:1.7;
  font-size:12px
}
.nataiji-professor-mode .prof-info-icon{
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:17px
}
.nataiji-professor-mode .prof-info-icon svg{width:32px;height:32px}
.nataiji-professor-mode .prof-info-icon.privacy{background:#edf1f4;color:#536b79}
.nataiji-professor-mode .prof-info-icon.support{background:#e7f8f1;color:#07936f}
.nataiji-professor-mode .prof-info-icon.install{background:#e8f3ff;color:#177ed3}
.nataiji-professor-mode .prof-info-icon.delete{background:#ffe9eb;color:#cf2632}
.nataiji-professor-mode .prof-support-sheet textarea{
  width:100%;
  min-height:120px;
  resize:vertical;
  box-sizing:border-box;
  border:1px solid #d8e4e1;
  border-radius:13px;
  padding:12px;
  font:inherit;
  color:#173d4d;
  background:#fff
}
.nataiji-professor-mode .prof-delete-confirm{
  width:100%;
  min-height:48px;
  border:1px solid #dc3742!important;
  border-radius:13px!important;
  background:#d82431!important;
  color:#fff!important;
  font-weight:900!important
}

@media(max-width:700px){
 .nataiji-professor-mode .prof-more-reference{
   padding-inline:12px!important
 }
 .nataiji-professor-mode .prof-more-reference .professor-reference-topbar{
   min-height:82px!important;
   padding:11px 13px!important
 }
 .nataiji-professor-mode .prof-more-reference-hero{
   min-height:165px;
   grid-template-columns:minmax(0,1fr) 102px;
   padding:22px 23px;
   border-radius:23px
 }
 .nataiji-professor-mode .prof-more-reference-hero small{
   font-size:12px;margin-bottom:8px
 }
 .nataiji-professor-mode .prof-more-reference-hero h1{
   font-size:29px;margin-bottom:8px
 }
 .nataiji-professor-mode .prof-more-reference-hero p{
   font-size:11px;line-height:1.6
 }
 .nataiji-professor-mode .prof-more-hero-icon{
   width:92px;height:92px;font-size:57px
 }
 .nataiji-professor-mode .prof-more-list{gap:8px}
 .nataiji-professor-mode .prof-more-list-row{
   min-height:73px!important;
   grid-template-columns:49px minmax(0,1fr) 25px!important;
   gap:10px!important;
   padding:10px 12px!important;
   border-radius:17px!important
 }
 .nataiji-professor-mode .prof-more-row-icon{
   width:45px;height:45px;border-radius:13px
 }
 .nataiji-professor-mode .prof-more-row-icon svg{width:25px;height:25px}
 .nataiji-professor-mode .prof-more-row-copy b{font-size:15px}
 .nataiji-professor-mode .prof-more-row-copy small{font-size:9.7px}
 .nataiji-professor-mode .prof-more-chevron{font-size:27px}
}
@media(max-width:380px){
 .nataiji-professor-mode .prof-more-reference-hero{
   grid-template-columns:minmax(0,1fr) 80px;
   padding:18px
 }
 .nataiji-professor-mode .prof-more-reference-hero h1{font-size:26px}
 .nataiji-professor-mode .prof-more-hero-icon{width:76px;height:76px;font-size:48px}
 .nataiji-professor-mode .prof-more-row-copy b{font-size:14px}
 .nataiji-professor-mode .prof-more-row-copy small{font-size:9.2px}
}


/* Professor compact mobile system v27 */
/* Professor-only compact visual system. Teacher/director routes are untouched. */
.nataiji-professor-mode .prof-support-contact{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:9px 11px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  background:#f8fafc;
  color:#274656;
  font-size:11px
}
.nataiji-professor-mode .prof-support-link{
  display:block;
  width:100%;
  box-sizing:border-box;
  padding:11px 12px;
  border-radius:10px;
  text-align:center;
  text-decoration:none;
  color:#fff;
  font-size:11px;
  font-weight:900
}
.nataiji-professor-mode .prof-support-link.whatsapp{background:#16a34a}
.nataiji-professor-mode .prof-support-link.email{background:#2563eb}
.nataiji-professor-mode .prof-more-list-row.logout{
  border-color:#eadfda!important;
  background:#fffdfb!important
}
.nataiji-professor-mode .prof-more-list-row.logout .prof-more-row-icon{
  background:#fff1eb!important;
  color:#b85b37!important
}
.nataiji-professor-mode .prof-more-list-row.logout .prof-more-row-copy b{
  color:#8d4a32!important
}
.nataiji-professor-mode .prof-policy-sheet p b{
  color:#173d4d
}

@media(max-width:700px){
  /* Compact common top bar throughout the professor route. */
  .nataiji-professor-mode .professor-reference-topbar{
    min-height:72px!important;
    padding:9px 11px!important;
    border-radius:18px!important;
    gap:7px!important
  }
  .nataiji-professor-mode .professor-reference-main{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important
  }
  .nataiji-professor-mode .professor-account{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:7px!important;
    align-items:center!important
  }
  .nataiji-professor-mode .prof-account-avatar{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    flex:0 0 34px!important;
    border-radius:10px!important;
    font-size:15px!important
  }
  .nataiji-professor-mode .professor-account>span:last-child{
    min-width:0!important;
    overflow:hidden!important
  }
  .nataiji-professor-mode .professor-account b{
    display:block!important;
    max-width:100%!important;
    font-size:12px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important
  }
  .nataiji-professor-mode .professor-account small{
    display:block!important;
    max-width:100%!important;
    margin-top:2px!important;
    font-size:7.5px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important
  }
  .nataiji-professor-mode .professor-brand{
    justify-self:end!important;
    min-width:max-content!important;
    gap:5px!important
  }
  .nataiji-professor-mode .professor-brand img{
    width:34px!important;
    height:34px!important;
    border-radius:9px!important
  }
  .nataiji-professor-mode .professor-brand b{
    font-size:14px!important
  }
  .nataiji-professor-mode .professor-brand small{
    font-size:6.5px!important;
    margin-top:1px!important
  }
  .nataiji-professor-mode .prof-utility{
    position:absolute!important;
    inset-inline-start:7px!important;
    top:7px!important;
    transform:scale(.82)!important;
    transform-origin:top left!important
  }

  /* Home becomes denser and its icons no longer dominate small screens. */
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero{
    min-height:166px!important;
    padding:17px 18px!important;
    border-radius:20px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-art{
    width:76px!important;
    height:76px!important;
    inset-inline-end:17px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-art b{
    font-size:34px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-art span{
    font-size:16px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-hero-copy h1{
    font-size:25px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-hero-copy p{
    font-size:9.5px!important
  }
  .nataiji-professor-mode .prof-home-shell #profGoGrades{
    min-height:42px!important;
    padding:8px 14px!important;
    font-size:11px!important
  }
  .nataiji-professor-mode .prof-v2-stats article{
    min-height:91px!important;
    padding:10px!important
  }
  .nataiji-professor-mode .prof-stat-icon{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:10px!important;
    font-size:15px!important
  }
  .nataiji-professor-mode .prof-home-status-icon,
  .nataiji-professor-mode .prof-home-subject-icon{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    border-radius:9px!important;
    font-size:14px!important
  }

  /* More page: compact like a phone settings list, not dashboard cards. */
  .nataiji-professor-mode .prof-more-reference{
    padding-inline:10px!important
  }
  .nataiji-professor-mode .prof-more-reference .professor-reference-topbar{
    min-height:70px!important;
    margin-bottom:9px!important
  }
  .nataiji-professor-mode .prof-more-reference-hero{
    min-height:112px!important;
    grid-template-columns:minmax(0,1fr) 60px!important;
    gap:8px!important;
    padding:15px 17px!important;
    margin-bottom:9px!important;
    border-radius:18px!important
  }
  .nataiji-professor-mode .prof-more-reference-hero small{
    margin-bottom:4px!important;
    font-size:9px!important
  }
  .nataiji-professor-mode .prof-more-reference-hero h1{
    margin-bottom:4px!important;
    font-size:22px!important;
    line-height:1.15!important
  }
  .nataiji-professor-mode .prof-more-reference-hero p{
    max-width:100%!important;
    font-size:8.8px!important;
    line-height:1.45!important
  }
  .nataiji-professor-mode .prof-more-hero-icon{
    width:54px!important;
    height:54px!important;
    font-size:33px!important
  }
  .nataiji-professor-mode .prof-more-list{
    gap:6px!important
  }
  .nataiji-professor-mode .prof-more-list-row{
    min-height:59px!important;
    grid-template-columns:38px minmax(0,1fr) 18px!important;
    gap:8px!important;
    padding:7px 10px!important;
    border-radius:14px!important
  }
  .nataiji-professor-mode .prof-more-row-icon{
    width:36px!important;
    height:36px!important;
    border-radius:10px!important
  }
  .nataiji-professor-mode .prof-more-row-icon svg{
    width:19px!important;
    height:19px!important
  }
  .nataiji-professor-mode .prof-more-row-copy{
    gap:2px!important
  }
  .nataiji-professor-mode .prof-more-row-copy b{
    font-size:12.5px!important;
    line-height:1.18!important
  }
  .nataiji-professor-mode .prof-more-row-copy small{
    font-size:8.2px!important;
    line-height:1.25!important
  }
  .nataiji-professor-mode .prof-more-chevron{
    font-size:21px!important
  }

  /* Compact icons across every professor page on phones. */
  .nataiji-professor-mode .professor-nav button>span{
    width:19px!important;
    height:19px!important;
    min-width:19px!important;
    display:grid!important;
    place-items:center!important;
    font-size:14px!important;
    line-height:1!important
  }
  .nataiji-professor-mode .professor-nav button{
    font-size:8.5px!important;
    gap:3px!important
  }
  .nataiji-professor-mode .prof-subject-icon,
  .nataiji-professor-mode .prof-class-avatar{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:10px!important;
    font-size:15px!important
  }
  .nataiji-professor-mode .prof-collective-summary article>span{
    width:36px!important;
    height:36px!important
  }
  .nataiji-professor-mode .prof-collective-summary article>span svg{
    width:18px!important;
    height:18px!important
  }
  .nataiji-professor-mode .prof-class-picker-icon{
    width:31px!important;
    height:31px!important
  }
  .nataiji-professor-mode .prof-class-picker-icon svg{
    width:18px!important;
    height:18px!important
  }
  .nataiji-professor-mode .prof-collective-section-title>span{
    width:31px!important;
    height:31px!important
  }
  .nataiji-professor-mode .prof-collective-section-title svg{
    width:17px!important;
    height:17px!important
  }
  .nataiji-professor-mode .prof-info-icon{
    width:45px!important;
    height:45px!important;
    border-radius:13px!important
  }
  .nataiji-professor-mode .prof-info-icon svg{
    width:23px!important;
    height:23px!important
  }
  .nataiji-professor-mode .prof-grade-call,
  .nataiji-professor-mode .prof-student-number{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    font-size:14px!important
  }
}

@media(max-width:380px){
  .nataiji-professor-mode .prof-more-reference-hero{
    min-height:104px!important;
    grid-template-columns:minmax(0,1fr) 52px!important;
    padding:13px 14px!important
  }
  .nataiji-professor-mode .prof-more-reference-hero h1{
    font-size:20px!important
  }
  .nataiji-professor-mode .prof-more-hero-icon{
    width:48px!important;height:48px!important;font-size:29px!important
  }
  .nataiji-professor-mode .prof-more-list-row{
    min-height:56px!important;
    grid-template-columns:35px minmax(0,1fr) 16px!important;
    padding:6px 9px!important
  }
  .nataiji-professor-mode .prof-more-row-icon{
    width:33px!important;height:33px!important
  }
  .nataiji-professor-mode .prof-more-row-icon svg{
    width:18px!important;height:18px!important
  }
  .nataiji-professor-mode .prof-more-row-copy b{font-size:12px!important}
  .nataiji-professor-mode .prof-more-row-copy small{font-size:7.8px!important}
}


/* Professor term-three annual result cards v28 */
.nataiji-professor-mode .prof-grade-student-results.has-annual{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  justify-content:stretch
}
.nataiji-professor-mode .prof-grade-student-results.has-annual>span{
  min-width:0;
  min-height:46px;
  padding:7px 9px;
  border:1px solid #dce8e4;
  border-radius:11px;
  background:#f8fbfa;
  display:grid;
  align-content:center;
  gap:2px
}
.nataiji-professor-mode .prof-grade-student-results.has-annual>span small{
  line-height:1.25
}
.nataiji-professor-mode .prof-grade-student-results.has-annual>span b{
  font-size:13px
}
.nataiji-professor-mode .prof-grade-student-results.has-annual .annual-average{
  border-color:#c9e6da;
  background:#edf8f3
}
.nataiji-professor-mode .prof-grade-student-results.has-annual .annual-average small,
.nataiji-professor-mode .prof-grade-student-results.has-annual .annual-average b{
  color:#116c55
}
@media(max-width:420px){
  .nataiji-professor-mode .prof-grade-student-results.has-annual{
    grid-template-columns:1fr 1fr;
    gap:6px
  }
  .nataiji-professor-mode .prof-grade-student-results.has-annual>span{
    min-height:43px;
    padding:6px 7px
  }
  .nataiji-professor-mode .prof-grade-student-results.has-annual>span small{
    font-size:7.6px
  }
  .nataiji-professor-mode .prof-grade-student-results.has-annual>span b{
    font-size:11px
  }
}


/* Professor premium home + web/app parity v29 */
/* One professor visual source for browser, installed PWA and Capacitor WebView. */
.nataiji-professor-mode #nataijiProfessorRoot{
  width:100%;
  min-height:100dvh;
  background:
    radial-gradient(circle at 82% 7%,rgba(19,143,112,.055),transparent 26%),
    linear-gradient(180deg,#f9fcfb 0%,#f7faf9 55%,#f9fbfa 100%);
}
.nataiji-professor-mode .prof-home-shell{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  padding-inline:14px!important;
  padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
  box-sizing:border-box!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar{
  padding:10px 12px!important;
  gap:8px!important;
  margin-bottom:10px!important;
  border-radius:20px!important;
  border-color:#e1eae7!important;
  box-shadow:0 8px 22px rgba(20,69,58,.045)!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-main{
  min-height:48px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important
}
.nataiji-professor-mode .prof-home-shell .professor-account{
  gap:8px!important
}
.nataiji-professor-mode .prof-home-shell .prof-account-avatar{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  flex:0 0 38px!important;
  border-radius:11px!important;
  padding:8px!important;
  box-sizing:border-box!important
}
.nataiji-professor-mode .prof-home-shell .prof-account-avatar svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-home-shell .professor-account b{
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-home-shell .professor-account small{
  margin-top:2px!important;
  font-size:8px!important;
  line-height:1.25!important;
  color:#859398!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand{
  gap:6px!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand img{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand b{
  font-size:16px!important;
  line-height:1.1!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand small{
  font-size:6.8px!important;
  margin-top:2px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context{
  grid-template-columns:1fr 1fr!important;
  gap:7px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item{
  min-height:50px!important;
  padding:7px 9px!important;
  gap:7px!important;
  border-radius:13px!important;
  background:#fcfefd!important;
  border-color:#e1e9e7!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item>span{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  padding:7px!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  background:#edf8f4!important;
  color:#12856c!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item>span svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item small{
  font-size:7.5px!important;
  color:#929da1!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item b,
.nataiji-professor-mode .prof-home-shell .prof-home-class-select select{
  font-size:11.5px!important;
  font-weight:850!important;
  color:#284655!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-class-select select{
  min-height:24px!important;
  padding:0 18px 0 0!important;
  border:0!important;
  background-color:transparent!important
}

/* Compact premium hero. */
.nataiji-professor-mode .prof-home-shell .prof-reference-hero{
  min-height:154px!important;
  display:grid!important;
  grid-template-columns:84px minmax(0,1fr)!important;
  align-items:center!important;
  gap:15px!important;
  padding:18px 20px!important;
  margin:0 0 10px!important;
  border-radius:21px!important;
  box-shadow:0 12px 25px rgba(5,98,86,.11)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-hero-art{
  width:72px!important;
  height:72px!important;
  align-self:center!important;
  justify-self:center!important;
  border-radius:20px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  background:rgba(255,255,255,.08)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-hero-art b{
  width:36px!important;height:36px!important;
  display:grid!important;place-items:center!important;
  font-size:0!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-hero-art b svg{
  width:31px!important;height:31px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-hero-art span{
  position:absolute!important;
  inset-inline-end:8px!important;
  top:8px!important;
  width:18px!important;height:18px!important;
  display:grid!important;place-items:center!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-hero-art span svg{
  width:16px!important;height:16px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-kicker{
  font-size:9px!important;
  margin-bottom:5px!important;
  opacity:.82!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-hero h1{
  margin:0 0 6px!important;
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:950!important;
  letter-spacing:-.01em!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-hero p{
  margin:0 0 12px!important;
  font-size:9px!important;
  line-height:1.55!important;
  opacity:.85!important
}
.nataiji-professor-mode .prof-home-shell #profGoGrades{
  min-height:38px!important;
  width:max-content!important;
  padding:7px 13px!important;
  gap:6px!important;
  border-radius:11px!important;
  font-size:10.5px!important;
  font-weight:900!important;
  box-shadow:0 5px 12px rgba(1,67,55,.10)!important
}
.nataiji-professor-mode .prof-home-shell #profGoGrades>span{
  font-size:12px!important
}

/* Statistics: same geometry, hierarchy and icon scale. */
.nataiji-professor-mode .prof-home-shell .prof-reference-stats{
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin:0 0 10px!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
  min-height:92px!important;
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr)!important;
  align-items:start!important;
  gap:9px!important;
  padding:11px 12px!important;
  border-radius:17px!important;
  border-color:#e1e9e7!important;
  box-shadow:0 5px 15px rgba(22,67,58,.035)!important
}
.nataiji-professor-mode .prof-home-shell .prof-stat-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:10px!important;
  padding:8px!important;
  box-sizing:border-box!important
}
.nataiji-professor-mode .prof-home-shell .prof-stat-icon svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article>div{
  min-width:0!important;
  display:grid!important;
  align-content:start!important;
  gap:2px!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats strong{
  font-size:28px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.02em!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .prof-grade-outof{
  display:flex!important;
  align-items:baseline!important;
  gap:4px!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .prof-grade-outof>span:last-child{
  font-size:13px!important;
  font-weight:800!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats small{
  margin-top:3px!important;
  font-size:9px!important;
  line-height:1.2!important;
  color:#71858a!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats em{
  margin-top:4px!important;
  font-size:7.2px!important;
  line-height:1.25!important;
  color:#a0aaad!important
}

/* Classroom status is now a clean list of mini cards. */
.nataiji-professor-mode .prof-home-shell .prof-home-status{
  padding:13px!important;
  border-radius:18px!important;
  border-color:#e1e9e7!important;
  box-shadow:0 6px 18px rgba(22,67,58,.035)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head{
  margin-bottom:9px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head>div{
  gap:8px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-icon{
  width:32px!important;height:32px!important;min-width:32px!important;
  padding:8px!important;border-radius:10px!important;
  box-sizing:border-box!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-icon svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head h2{
  font-size:17px!important;
  line-height:1.2!important;
  margin:0 0 2px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head p{
  font-size:7.7px!important;
  line-height:1.35!important;
  color:#91a0a2!important
}
.nataiji-professor-mode .prof-home-shell #profShowAllGrades{
  min-height:31px!important;
  padding:5px 9px!important;
  border-radius:9px!important;
  font-size:8.5px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-list{
  display:grid!important;
  gap:6px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
  min-height:54px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(112px,40%)!important;
  align-items:center!important;
  gap:10px!important;
  padding:8px 9px!important;
  margin:0!important;
  border:1px solid #e6eeeb!important;
  border-radius:12px!important;
  background:#fbfdfc!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row:hover{
  background:#f7fbf9!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main{
  gap:8px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-icon{
  width:31px!important;height:31px!important;min-width:31px!important;
  border-radius:9px!important;
  font-size:13px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main b{
  font-size:10.5px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main small{
  margin-top:2px!important;
  font-size:7.8px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress{
  grid-template-columns:34px minmax(0,1fr)!important;
  gap:6px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress>span{
  font-size:8.8px!important;
  font-weight:850!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress>div{
  height:6px!important;
  border-radius:99px!important;
  overflow:hidden!important;
  background:#e5efeb!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress i{
  border-radius:99px!important
}

/* Same bottom navigation in website/PWA/Android app. */
.nataiji-professor-mode .professor-nav{
  width:min(calc(100% - 20px),720px)!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  bottom:max(8px,env(safe-area-inset-bottom,8px))!important;
  min-height:64px!important;
  padding:6px!important;
  border-radius:18px!important;
  border:1px solid #dfe9e6!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  box-shadow:0 10px 26px rgba(20,60,52,.10)!important
}
.nataiji-professor-mode .professor-nav button{
  min-height:51px!important;
  padding:5px 2px!important;
  gap:3px!important;
  border-radius:13px!important;
  font-size:8.3px!important;
  font-weight:750!important
}
.nataiji-professor-mode .professor-nav button>span{
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  padding:1px!important;
  display:grid!important;
  place-items:center!important
}
.nataiji-professor-mode .professor-nav button>span svg{
  width:18px!important;height:18px!important
}
.nataiji-professor-mode .professor-nav button.on{
  background:#eaf7f2!important;
  color:#0a8068!important;
  box-shadow:none!important
}
.nataiji-professor-mode .professor-nav button.on::after{
  width:21px!important;
  height:2px!important;
  bottom:2px!important;
  border-radius:99px!important
}

@media(max-width:520px){
  .nataiji-professor-mode .prof-home-shell{
    padding-inline:10px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar{
    padding:9px 10px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context{
    gap:6px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero{
    min-height:142px!important;
    grid-template-columns:68px minmax(0,1fr)!important;
    gap:11px!important;
    padding:15px 16px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-art{
    width:61px!important;height:61px!important;border-radius:17px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-art b svg{
    width:27px!important;height:27px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero h1{
    font-size:21px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
    min-height:86px!important;
    grid-template-columns:32px minmax(0,1fr)!important;
    gap:7px!important;
    padding:10px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-stat-icon{
    width:31px!important;height:31px!important;min-width:31px!important;padding:7px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats strong{
    font-size:24px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status{
    padding:11px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
    min-height:50px!important;
    padding:7px 8px!important
  }
}

@media(max-width:370px){
  .nataiji-professor-mode .prof-home-shell .professor-reference-main{
    gap:6px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand span{
    display:none!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item{
    padding:6px 7px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item>span{
    width:27px!important;height:27px!important;min-width:27px!important;padding:6px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero{
    grid-template-columns:56px minmax(0,1fr)!important;
    padding:13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-art{
    width:52px!important;height:52px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero h1{
    font-size:19px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
    min-height:82px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
    grid-template-columns:1fr!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-progress{
    grid-template-columns:34px minmax(0,1fr)!important
  }
}


/* Professor approved home reference v30 */
/* Exact professor-home proportions shared by website, PWA and Android WebView. */
.nataiji-professor-mode .prof-home-shell{
  width:min(calc(100% - 64px),800px)!important;
  max-width:800px!important;
  margin-inline:auto!important;
  padding:8px 0 calc(96px + env(safe-area-inset-bottom,0px))!important;
  box-sizing:border-box!important
}

/* Header card */
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar{
  position:relative!important;
  isolation:isolate!important;
  min-height:clamp(190px,29vw,255px)!important;
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  align-content:start!important;
  gap:17px!important;
  padding:22px 24px 24px!important;
  margin:0 0 17px!important;
  overflow:hidden!important;
  border:1px solid rgba(215,229,226,.95)!important;
  border-radius:34px!important;
  background:
    radial-gradient(ellipse at 48% -22%,rgba(19,145,118,.085) 0 30%,transparent 31%),
    radial-gradient(ellipse at 58% -14%,rgba(20,91,111,.045) 0 40%,transparent 41%),
    rgba(255,255,255,.985)!important;
  box-shadow:0 11px 30px rgba(12,72,61,.055)!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-main{
  position:relative!important;
  z-index:2!important;
  min-height:68px!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center!important;
  gap:18px!important
}
.nataiji-professor-mode .prof-home-shell .professor-account{
  justify-self:start!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  align-items:center!important;
  gap:13px!important
}
.nataiji-professor-mode .prof-home-shell .prof-account-avatar{
  position:relative!important;
  width:64px!important;
  height:64px!important;
  min-width:64px!important;
  padding:15px!important;
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  border:1px solid #cce9e1!important;
  border-radius:21px!important;
  background:linear-gradient(145deg,#effbf7,#ddf5ee)!important;
  color:#07886d!important;
  box-shadow:0 6px 14px rgba(4,119,94,.08)!important
}
.nataiji-professor-mode .prof-home-shell .prof-account-avatar::after{
  content:""!important;
  position:absolute!important;
  inset-inline-start:-1px!important;
  bottom:5px!important;
  width:9px!important;
  height:9px!important;
  border:3px solid #fff!important;
  border-radius:50%!important;
  background:#0ba77e!important;
  box-sizing:content-box!important
}
.nataiji-professor-mode .prof-home-shell .prof-account-avatar svg{
  width:100%!important;
  height:100%!important;
  stroke-width:1.85!important
}
.nataiji-professor-mode .prof-home-shell .professor-account>span:last-child{
  min-width:0!important;
  display:grid!important;
  gap:4px!important
}
.nataiji-professor-mode .prof-home-shell .professor-account b{
  max-width:100%!important;
  font-size:clamp(18px,3vw,29px)!important;
  line-height:1.12!important;
  font-weight:950!important;
  color:#0f3550!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important
}
.nataiji-professor-mode .prof-home-shell .professor-account small{
  max-width:100%!important;
  margin:0!important;
  font-size:clamp(9px,1.45vw,14px)!important;
  line-height:1.4!important;
  color:#819095!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand{
  justify-self:end!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:row-reverse!important;
  align-items:center!important;
  gap:13px!important;
  direction:ltr!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand img{
  width:64px!important;
  height:64px!important;
  padding:0!important;
  border-radius:15px!important;
  object-fit:contain!important;
  background:transparent!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand span{
  display:grid!important;
  gap:2px!important;
  text-align:right!important;
  direction:rtl!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand b{
  font-size:clamp(20px,3.25vw,31px)!important;
  line-height:1.1!important;
  font-weight:950!important;
  color:#123851!important
}
.nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand small{
  font-size:clamp(8px,1.3vw,12px)!important;
  line-height:1.2!important;
  color:#879598!important
}
.nataiji-professor-mode .prof-home-shell .prof-utility{
  z-index:8!important;
  inset-inline-start:72px!important;
  top:-2px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  align-self:end!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:13px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item{
  min-height:104px!important;
  display:grid!important;
  grid-template-columns:62px minmax(0,1fr)!important;
  align-items:center!important;
  gap:13px!important;
  padding:14px 18px!important;
  box-sizing:border-box!important;
  border:1px solid #dfe9e6!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.83)!important;
  box-shadow:0 4px 13px rgba(20,67,57,.025)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item>span{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  padding:13px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:16px!important;
  background:#eaf8f3!important;
  color:#07836a!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item>span svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item>div{
  min-width:0!important;
  display:grid!important;
  gap:7px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item small{
  font-size:clamp(9px,1.4vw,13px)!important;
  line-height:1.2!important;
  color:#89979b!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-context-item b,
.nataiji-professor-mode .prof-home-shell .prof-home-class-select select{
  width:100%!important;
  min-height:28px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#163a51!important;
  font-size:clamp(17px,2.55vw,25px)!important;
  line-height:1.1!important;
  font-weight:950!important
}

/* Hero matches the approved mockup: illustration at right, copy at left. */
.nataiji-professor-mode .prof-home-shell .prof-reference-hero{
  position:relative!important;
  isolation:isolate!important;
  min-height:clamp(222px,36vw,307px)!important;
  display:grid!important;
  grid-template-columns:minmax(210px,40%) minmax(0,1fr)!important;
  align-items:center!important;
  gap:17px!important;
  padding:22px 30px!important;
  margin:0 0 16px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  border-radius:31px!important;
  background:
    radial-gradient(circle at 83% 35%,rgba(14,196,162,.30),transparent 29%),
    radial-gradient(circle at 74% 95%,rgba(4,43,69,.48),transparent 36%),
    linear-gradient(118deg,#06486a 0%,#006a75 48%,#078d78 100%)!important;
  box-shadow:0 15px 32px rgba(0,82,77,.16)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-hero::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  width:118%!important;
  height:72%!important;
  inset-inline-start:-26%!important;
  bottom:-52%!important;
  border:6px solid rgba(243,207,102,.88)!important;
  border-radius:50%!important;
  transform:rotate(-5deg)!important;
  box-shadow:0 -13px 0 rgba(42,183,147,.18)!important;
  pointer-events:none!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-hero::after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  width:72%!important;
  height:64%!important;
  top:-39%!important;
  inset-inline-end:-12%!important;
  border-radius:50%!important;
  background:rgba(44,197,160,.10)!important;
  transform:rotate(-10deg)!important;
  pointer-events:none!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-hero>*{
  position:relative!important;
  z-index:2!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-hero-art{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-hero-svg{
  display:block!important;
  width:min(100%,265px)!important;
  height:auto!important;
  overflow:visible!important
}
.nataiji-professor-mode .prof-home-shell .prof-hero-copy{
  min-width:0!important;
  display:grid!important;
  justify-items:start!important;
  text-align:start!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-kicker{
  margin:0 0 10px!important;
  color:#d6ebe8!important;
  font-size:clamp(10px,1.65vw,15px)!important;
  line-height:1.2!important;
  font-weight:650!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-hero h1{
  margin:0 0 12px!important;
  color:#fff!important;
  font-size:clamp(27px,4.7vw,43px)!important;
  line-height:1.13!important;
  font-weight:950!important;
  letter-spacing:-.025em!important;
  white-space:normal!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-hero p{
  max-width:390px!important;
  margin:0 0 19px!important;
  color:#dbecea!important;
  font-size:clamp(10px,1.75vw,16px)!important;
  line-height:1.55!important;
  font-weight:520!important
}
.nataiji-professor-mode .prof-home-shell #profGoGrades{
  min-width:210px!important;
  min-height:58px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  padding:11px 24px!important;
  border:1px solid rgba(255,222,130,.84)!important;
  border-radius:17px!important;
  background:linear-gradient(180deg,#fff1bd 0%,#f2c85b 100%)!important;
  color:#163950!important;
  box-shadow:0 8px 20px rgba(45,39,7,.18)!important;
  font-size:clamp(13px,2vw,19px)!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-home-shell #profGoGrades>span{
  font-size:18px!important
}

/* Statistic cards */
.nataiji-professor-mode .prof-home-shell .prof-reference-stats{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:13px!important;
  margin:0 0 17px!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
  position:relative!important;
  isolation:isolate!important;
  min-height:clamp(128px,20.3vw,174px)!important;
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  align-items:center!important;
  gap:16px!important;
  padding:20px 23px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  direction:ltr!important;
  border:1px solid #e1e9e7!important;
  border-radius:25px!important;
  box-shadow:0 6px 18px rgba(20,63,56,.045)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article::after{
  content:""!important;
  position:absolute!important;
  z-index:-1!important;
  width:125px!important;
  height:125px!important;
  inset-inline-end:-44px!important;
  bottom:-55px!important;
  border-radius:50%!important;
  opacity:.55!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.students{
  background:linear-gradient(145deg,#ffffff 0%,#f6fbff 100%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.students::after{
  background:radial-gradient(circle,#d9efff 0 45%,transparent 46%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.average{
  background:linear-gradient(145deg,#ffffff 0%,#f6fffc 100%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.average::after{
  background:radial-gradient(circle,#d7f7ef 0 45%,transparent 46%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.complete{
  background:linear-gradient(145deg,#ffffff 0%,#fffaf0 100%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.complete::after{
  background:radial-gradient(circle,#ffe8aa 0 45%,transparent 46%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.needs{
  background:linear-gradient(145deg,#ffffff 0%,#fff7f7 100%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.needs::after{
  background:radial-gradient(circle,#ffdfe1 0 45%,transparent 46%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-stat-icon{
  position:relative!important;
  z-index:2!important;
  width:68px!important;
  height:68px!important;
  min-width:68px!important;
  padding:17px!important;
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  border-radius:50%!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .students .prof-stat-icon{
  background:#e3f2ff!important;color:#07558a!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .average .prof-stat-icon{
  background:#dff8f1!important;color:#087966!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .complete .prof-stat-icon{
  background:#fff1c9!important;color:#a66b00!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .needs .prof-stat-icon{
  background:#ffe7e8!important;color:#b12c39!important
}
.nataiji-professor-mode .prof-home-shell .prof-stat-icon svg{
  width:100%!important;height:100%!important;stroke-width:1.9!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article>div{
  min-width:0!important;
  display:grid!important;
  justify-items:end!important;
  align-content:center!important;
  gap:6px!important;
  text-align:right!important;
  direction:rtl!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats strong{
  width:100%!important;
  margin:0!important;
  color:#103650!important;
  font-size:clamp(32px,5.2vw,48px)!important;
  line-height:.95!important;
  font-weight:950!important;
  letter-spacing:-.035em!important;
  text-align:right!important;
  white-space:nowrap!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .prof-grade-outof{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-end!important;
  gap:7px!important;
  direction:ltr!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .prof-grade-outof>span:last-child{
  font-size:clamp(14px,2.2vw,20px)!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats small{
  width:100%!important;
  margin:0!important;
  color:#1d4053!important;
  font-size:clamp(12px,1.9vw,18px)!important;
  line-height:1.2!important;
  font-weight:850!important;
  text-align:right!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats em{
  width:100%!important;
  margin:0!important;
  color:#8c999d!important;
  font-size:clamp(8.5px,1.35vw,12px)!important;
  line-height:1.25!important;
  font-weight:520!important;
  text-align:right!important
}

/* Status card */
.nataiji-professor-mode .prof-home-shell .prof-home-status{
  padding:22px!important;
  margin:0!important;
  border:1px solid #dfe8e5!important;
  border-radius:27px!important;
  background:#fff!important;
  box-shadow:0 7px 21px rgba(20,64,56,.04)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head{
  min-height:56px!important;
  margin:0 0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:15px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head>div{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-icon{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  padding:13px!important;
  box-sizing:border-box!important;
  border-radius:15px!important;
  background:#e7f8f2!important;
  color:#0a866c!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-icon svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head h2{
  margin:0 0 4px!important;
  color:#123950!important;
  font-size:clamp(22px,3.5vw,32px)!important;
  line-height:1.1!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head p{
  margin:0!important;
  color:#859397!important;
  font-size:clamp(8.5px,1.4vw,12px)!important;
  line-height:1.35!important
}
.nataiji-professor-mode .prof-home-shell #profShowAllGrades{
  min-height:48px!important;
  padding:9px 18px!important;
  border:1px solid #cce7df!important;
  border-radius:15px!important;
  background:#ecf8f4!important;
  color:#0b7c66!important;
  font-size:clamp(10px,1.65vw,14px)!important;
  font-weight:850!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-list{
  display:grid!important;
  gap:10px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
  position:relative!important;
  min-height:86px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(210px,48%)!important;
  align-items:center!important;
  gap:16px!important;
  padding:13px 48px 13px 14px!important;
  margin:0!important;
  box-sizing:border-box!important;
  border:1px solid #e2eae7!important;
  border-radius:19px!important;
  background:#fff!important;
  box-shadow:0 3px 9px rgba(27,71,62,.025)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row::after{
  content:"‹"!important;
  position:absolute!important;
  inset-inline-start:17px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:#58747d!important;
  font-size:28px!important;
  line-height:1!important;
  font-weight:350!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-icon{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:15px!important;
  background:#e9f8f3!important;
  color:#09856c!important;
  font-size:21px!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main>div{
  min-width:0!important;
  display:grid!important;
  gap:4px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main b{
  color:#173c50!important;
  font-size:clamp(13px,2.1vw,18px)!important;
  line-height:1.2!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main small{
  color:#7f8e93!important;
  font-size:clamp(9px,1.45vw,12px)!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress{
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  direction:ltr!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress>span{
  color:#183d50!important;
  font-size:clamp(10px,1.55vw,13px)!important;
  font-weight:900!important;
  text-align:center!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress>div{
  height:9px!important;
  overflow:hidden!important;
  border-radius:99px!important;
  background:#e5eeeb!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress i{
  display:block!important;
  height:100%!important;
  border-radius:99px!important;
  background:linear-gradient(90deg,#119d83,#06886e)!important
}

/* Bottom navigation proportions from the approved reference. */
.nataiji-professor-mode .professor-nav{
  width:min(calc(100% - 64px),800px)!important;
  min-height:92px!important;
  left:50%!important;
  right:auto!important;
  bottom:max(10px,env(safe-area-inset-bottom,10px))!important;
  transform:translateX(-50%)!important;
  padding:8px!important;
  box-sizing:border-box!important;
  border:1px solid #dfe8e5!important;
  border-radius:25px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 12px 30px rgba(18,63,54,.10)!important
}
.nataiji-professor-mode .professor-nav button{
  min-height:74px!important;
  display:grid!important;
  place-items:center!important;
  align-content:center!important;
  gap:6px!important;
  padding:7px 4px!important;
  border-radius:21px!important;
  font-size:clamp(9px,1.45vw,12px)!important;
  font-weight:750!important
}
.nataiji-professor-mode .professor-nav button>span{
  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  padding:1px!important;
  display:grid!important;
  place-items:center!important
}
.nataiji-professor-mode .professor-nav button>span svg{
  width:27px!important;
  height:27px!important;
  stroke-width:1.8!important
}
.nataiji-professor-mode .professor-nav button.on{
  background:#e7f7f2!important;
  color:#087c66!important;
  box-shadow:none!important
}
.nataiji-professor-mode .professor-nav button.on::after{
  width:31px!important;
  height:3px!important;
  bottom:3px!important;
  border-radius:99px!important;
  background:#d9b845!important
}

/* Responsive proportional reduction while preserving the same composition. */
@media(max-width:700px){
  .nataiji-professor-mode .prof-home-shell{
    width:min(calc(100% - 40px),800px)!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar{
    min-height:clamp(178px,30vw,220px)!important;
    gap:13px!important;
    padding:16px 17px 18px!important;
    border-radius:25px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-main{
    min-height:54px!important;
    gap:12px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-account{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:9px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-account-avatar{
    width:48px!important;height:48px!important;min-width:48px!important;
    padding:11px!important;border-radius:15px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand{
    gap:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand img{
    width:48px!important;height:48px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context{
    gap:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item{
    min-height:78px!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:9px!important;
    padding:10px 11px!important;
    border-radius:17px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item>span{
    width:40px!important;height:40px!important;min-width:40px!important;padding:9px!important;border-radius:12px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item>div{gap:4px!important}
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero{
    min-height:clamp(218px,36vw,252px)!important;
    grid-template-columns:minmax(155px,39%) minmax(0,1fr)!important;
    gap:11px!important;
    padding:18px 21px!important;
    border-radius:25px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-svg{
    width:min(100%,205px)!important
  }
  .nataiji-professor-mode .prof-home-shell #profGoGrades{
    min-width:155px!important;
    min-height:46px!important;
    padding:8px 16px!important;
    border-radius:13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats{
    gap:9px!important;
    margin-bottom:13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
    min-height:132px!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:10px!important;
    padding:14px 15px!important;
    border-radius:20px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-stat-icon{
    width:50px!important;height:50px!important;min-width:50px!important;padding:12px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status{
    padding:16px!important;
    border-radius:22px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status-head>div{
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:9px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status-icon{
    width:39px!important;height:39px!important;min-width:39px!important;padding:10px!important;border-radius:12px!important
  }
  .nataiji-professor-mode .prof-home-shell #profShowAllGrades{
    min-height:38px!important;padding:7px 12px!important;border-radius:12px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
    min-height:68px!important;
    grid-template-columns:minmax(0,1fr) minmax(150px,46%)!important;
    gap:10px!important;
    padding:10px 36px 10px 10px!important;
    border-radius:15px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row::after{
    inset-inline-start:12px!important;font-size:23px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-main{
    grid-template-columns:42px minmax(0,1fr)!important;gap:9px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-icon{
    width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important;font-size:17px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-progress{
    grid-template-columns:40px minmax(0,1fr)!important;gap:7px!important
  }
  .nataiji-professor-mode .professor-nav{
    width:min(calc(100% - 28px),800px)!important;
    min-height:78px!important;
    padding:7px!important;
    border-radius:21px!important
  }
  .nataiji-professor-mode .professor-nav button{
    min-height:62px!important;
    gap:4px!important;
    border-radius:17px!important
  }
  .nataiji-professor-mode .professor-nav button>span{
    width:23px!important;height:23px!important;min-width:23px!important
  }
  .nataiji-professor-mode .professor-nav button>span svg{
    width:22px!important;height:22px!important
  }
}

@media(max-width:470px){
  .nataiji-professor-mode .prof-home-shell{
    width:calc(100% - 20px)!important;
    padding-top:5px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar{
    min-height:164px!important;
    padding:13px 13px 15px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-account{
    grid-template-columns:42px minmax(0,1fr)!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-account-avatar{
    width:42px!important;height:42px!important;min-width:42px!important;padding:10px!important
  }
  .nataiji-professor-mode .prof-home-shell .professor-reference-topbar .professor-brand img{
    width:42px!important;height:42px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item{
    min-height:70px!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    gap:7px!important;
    padding:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-context-item>span{
    width:34px!important;height:34px!important;min-width:34px!important;padding:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero{
    min-height:205px!important;
    grid-template-columns:118px minmax(0,1fr)!important;
    padding:15px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-svg{
    width:130px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero h1{
    font-size:24px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
    min-height:118px!important;
    grid-template-columns:43px minmax(0,1fr)!important;
    gap:8px!important;
    padding:12px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-stat-icon{
    width:42px!important;height:42px!important;min-width:42px!important;padding:10px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status{
    padding:13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status-head{
    gap:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
    grid-template-columns:1fr!important;
    gap:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-progress{
    width:100%!important
  }
}


/* Professor exact-reference correction v31 */
/* Final corrections against the approved phone reference.
   These rules deliberately reset legacy grid placements that were clipping numbers. */
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
  grid-template-columns:clamp(46px,15%,68px) minmax(0,1fr)!important;
  grid-template-rows:1fr!important;
  align-items:center!important;
  direction:ltr!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article>.prof-stat-icon{
  grid-column:1!important;
  grid-row:1!important;
  align-self:center!important;
  justify-self:start!important;
  margin:0!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article>div{
  grid-column:2!important;
  grid-row:1!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  justify-items:stretch!important;
  align-content:center!important;
  text-align:right!important;
  direction:rtl!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats strong,
.nataiji-professor-mode .prof-home-shell .prof-reference-stats small,
.nataiji-professor-mode .prof-home-shell .prof-reference-stats em{
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats strong{
  text-align:right!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .prof-grade-outof{
  width:100%!important;
  max-width:100%!important;
  justify-content:flex-end!important;
  overflow:visible!important;
  letter-spacing:-.04em!important
}

/* Reference-like quiet decorations, behind content only. */
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  pointer-events:none!important;
  opacity:.34!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.students::before{
  width:145px!important;height:80px!important;
  right:-24px!important;bottom:-10px!important;
  border:12px solid #b9e3ff!important;
  border-left-color:transparent!important;
  border-bottom-color:transparent!important;
  border-radius:50%!important;
  transform:rotate(-15deg)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.average::before{
  width:52px!important;height:42px!important;
  right:17px!important;bottom:17px!important;
  background:
    linear-gradient(135deg,transparent 42%,#7dd7c2 43% 48%,transparent 49%) 0 14px/18px 18px no-repeat,
    linear-gradient(135deg,transparent 42%,#7dd7c2 43% 48%,transparent 49%) 16px 4px/18px 18px no-repeat,
    linear-gradient(135deg,transparent 42%,#7dd7c2 43% 48%,transparent 49%) 32px 0/18px 18px no-repeat!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.complete::before{
  width:54px!important;height:58px!important;
  right:17px!important;bottom:13px!important;
  background:
    linear-gradient(to top,#efbd3f 0 100%) 4px 31px/8px 22px no-repeat,
    linear-gradient(to top,#efbd3f 0 100%) 21px 20px/8px 33px no-repeat,
    linear-gradient(to top,#efbd3f 0 100%) 38px 6px/8px 47px no-repeat!important;
  border-radius:7px!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.needs::before{
  width:54px!important;height:58px!important;
  right:17px!important;bottom:13px!important;
  background:
    linear-gradient(to top,#f2a6aa 0 100%) 4px 30px/8px 23px no-repeat,
    linear-gradient(to top,#f2a6aa 0 100%) 21px 10px/8px 43px no-repeat,
    linear-gradient(to top,#f2a6aa 0 100%) 38px 22px/8px 31px no-repeat!important;
  border-radius:7px!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article>.prof-stat-icon,
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article>div{
  position:relative!important;
  z-index:2!important
}

/* Keep status rows on one line like the approved reference, even on narrow phones. */
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
  grid-template-columns:minmax(125px,1fr) minmax(125px,48%)!important;
  min-height:72px!important;
  padding:10px 42px 10px 11px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row::after{
  left:14px!important;
  right:auto!important;
  inset-inline-start:auto!important;
  inset-inline-end:auto!important;
  content:"›"!important;
  transform:translateY(-50%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main{
  min-width:0!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress{
  min-width:0!important;
  width:100%!important
}

/* Enlarge hero illustration/copy to match the approved balance. */
@media(max-width:470px){
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero{
    min-height:204px!important;
    grid-template-columns:minmax(145px,39%) minmax(0,1fr)!important;
    gap:8px!important;
    padding:15px 16px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-svg{
    width:170px!important;
    max-width:none!important;
    transform:translateX(-3px)!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-kicker{
    margin-bottom:7px!important;
    font-size:10px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero h1{
    margin-bottom:8px!important;
    font-size:29px!important;
    line-height:1.08!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero p{
    margin-bottom:13px!important;
    font-size:10.5px!important
  }
  .nataiji-professor-mode .prof-home-shell #profGoGrades{
    min-width:160px!important;
    min-height:46px!important;
    font-size:12.5px!important
  }

  .nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
    min-height:119px!important;
    grid-template-columns:47px minmax(0,1fr)!important;
    gap:9px!important;
    padding:13px 14px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-stat-icon{
    width:46px!important;height:46px!important;min-width:46px!important;padding:11px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats strong{
    font-size:31px!important;
    line-height:1!important;
    letter-spacing:-.035em!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats .prof-grade-outof>span:last-child{
    font-size:13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats small{
    font-size:11px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats em{
    font-size:8.2px!important
  }

  .nataiji-professor-mode .prof-home-shell .prof-home-status{
    padding:13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status-head{
    min-height:48px!important;
    margin-bottom:10px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status-head h2{
    font-size:22px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
    grid-template-columns:minmax(118px,1fr) minmax(112px,47%)!important;
    min-height:66px!important;
    gap:8px!important;
    padding:9px 34px 9px 9px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row::after{
    left:11px!important;
    font-size:21px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-main{
    grid-template-columns:39px minmax(0,1fr)!important;
    gap:8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-icon{
    width:38px!important;height:38px!important;min-width:38px!important;
    border-radius:11px!important;font-size:16px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-progress{
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:6px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-progress>div{
    height:7px!important
  }
}

/* Tiny phones keep the same composition instead of stacking. */
@media(max-width:370px){
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero{
    grid-template-columns:126px minmax(0,1fr)!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-hero-svg{
    width:150px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-hero h1{
    font-size:25px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
    grid-template-columns:minmax(106px,1fr) minmax(96px,45%)!important
  }
}


/* Professor hybrid polish from dashboard reference v32 */
/* Keep the approved header/hero/nav; borrow only the stronger stat/status treatment. */
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
  min-height:126px!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:12px!important;
  padding:16px 17px!important;
  border-radius:22px!important;
  border:1px solid rgba(221,232,229,.96)!important;
  box-shadow:0 9px 24px rgba(24,70,61,.055)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.students{
  background:linear-gradient(145deg,#fff 0%,#f3f9ff 100%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.average{
  background:linear-gradient(145deg,#fff 0%,#f1fcf8 100%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.complete{
  background:linear-gradient(145deg,#fff 0%,#fff8e9 100%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.needs{
  background:linear-gradient(145deg,#fff 0%,#fff3f4 100%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article>.prof-stat-icon{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  padding:13px!important;
  border-radius:16px!important;
  box-shadow:0 8px 18px rgba(11,92,76,.08)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .students>.prof-stat-icon{
  background:linear-gradient(145deg,#58aaff,#2d83eb)!important;
  color:#fff!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .average>.prof-stat-icon{
  background:linear-gradient(145deg,#16c891,#06a96e)!important;
  color:#fff!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .complete>.prof-stat-icon{
  background:linear-gradient(145deg,#ffc842,#f0a50d)!important;
  color:#fff!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .needs>.prof-stat-icon{
  background:linear-gradient(145deg,#ff707c,#e94b59)!important;
  color:#fff!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article>div{
  gap:5px!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats strong{
  color:#103752!important;
  font-size:clamp(33px,5.1vw,46px)!important;
  line-height:.98!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats small{
  font-size:clamp(11.5px,1.8vw,16px)!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .students small{color:#277bd0!important}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .average small{color:#087b64!important}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .complete small{color:#b47a08!important}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats .needs small{color:#c33c49!important}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats em{
  color:#8c999d!important;
  font-size:clamp(8.3px,1.25vw,11px)!important
}

/* Decorative echoes inspired by the reference, kept behind actual content. */
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article::after{
  opacity:.5!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.average::after{
  width:110px!important;height:82px!important;
  right:-18px!important;bottom:-28px!important;
  background:radial-gradient(ellipse at 55% 100%,#bfeedd 0 48%,transparent 49%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.students::after{
  width:118px!important;height:88px!important;
  right:-22px!important;bottom:-31px!important;
  background:radial-gradient(ellipse at 55% 100%,#cae9ff 0 48%,transparent 49%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.complete::after{
  width:118px!important;height:88px!important;
  right:-22px!important;bottom:-31px!important;
  background:radial-gradient(ellipse at 55% 100%,#ffe6a5 0 48%,transparent 49%)!important
}
.nataiji-professor-mode .prof-home-shell .prof-reference-stats article.needs::after{
  width:118px!important;height:88px!important;
  right:-22px!important;bottom:-31px!important;
  background:radial-gradient(ellipse at 55% 100%,#ffd1d5 0 48%,transparent 49%)!important
}

/* Status section gets the clearer subject/progress hierarchy from the second reference. */
.nataiji-professor-mode .prof-home-shell .prof-home-status{
  padding:17px!important;
  border-radius:24px!important;
  box-shadow:0 9px 24px rgba(24,70,61,.05)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head{
  min-height:54px!important;
  margin-bottom:12px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-head h2{
  color:#113850!important;
  font-size:clamp(21px,3.2vw,29px)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-status-icon{
  background:linear-gradient(145deg,#e7faf3,#d8f3e9)!important;
  color:#07876d!important;
  box-shadow:0 5px 13px rgba(8,133,106,.07)!important
}
.nataiji-professor-mode .prof-home-shell #profShowAllGrades{
  border-color:#cbe9df!important;
  background:linear-gradient(180deg,#f1fbf8,#e9f8f3)!important;
  color:#087a64!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-list{
  gap:9px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
  min-height:74px!important;
  direction:rtl!important;
  border-color:#e2ece8!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,#fff,#fbfdfc)!important;
  box-shadow:0 5px 14px rgba(28,72,63,.035)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row:nth-child(even){
  background:linear-gradient(145deg,#fff,#f9fcff)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main{
  direction:rtl!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-icon{
  background:linear-gradient(145deg,#e6f8f1,#dff4ec)!important;
  color:#07866d!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row:nth-child(even) .prof-home-subject-icon{
  background:linear-gradient(145deg,#e8f3ff,#dbeeff)!important;
  color:#217bd0!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main b{
  color:#153a4f!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-main small{
  color:#7e8d92!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress>div{
  background:#e5efeb!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress i{
  background:linear-gradient(90deg,#10a784,#078b70)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row:nth-child(even) .prof-home-subject-progress i{
  background:linear-gradient(90deg,#2896ea,#117eda)!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-progress>span{
  color:#173b50!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row::after{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#f4f8f7!important;
  color:#496d78!important;
  font-size:19px!important
}
.nataiji-professor-mode .prof-home-shell .prof-home-subject-row:nth-child(even)::after{
  color:#237bc4!important;
  background:#f0f7fd!important
}

/* Phone tuning: keep the same structure without oversized text/icons. */
@media(max-width:470px){
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats article{
    min-height:116px!important;
    grid-template-columns:45px minmax(0,1fr)!important;
    gap:9px!important;
    padding:12px 13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats article>.prof-stat-icon{
    width:44px!important;height:44px!important;min-width:44px!important;padding:10px!important;border-radius:14px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats strong{
    font-size:30px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats small{
    font-size:10.5px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-reference-stats em{
    font-size:7.8px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-status{
    padding:13px!important
  }
  .nataiji-professor-mode .prof-home-shell .prof-home-subject-row{
    min-height:67px!important
  }
}


/* Professor grades premium-clean hybrid v33 */
/* Grades page: keep the clean production layout, borrow only the stronger card hierarchy. */
.nataiji-professor-mode .prof-grades-reference{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important
}
.nataiji-professor-mode .prof-grades-reference .professor-reference-topbar{
  margin-bottom:12px!important
}
.nataiji-professor-mode .prof-grades-head{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:18px!important;
  overflow:hidden!important;
  padding:20px 21px!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 0% 100%,rgba(213,241,232,.58),transparent 28%),
    linear-gradient(145deg,#fff,#fbfdfc)!important
}
.nataiji-professor-mode .prof-grades-head::after{
  content:""!important;
  position:absolute!important;
  inset-inline-end:-45px!important;
  bottom:-68px!important;
  width:170px!important;
  height:150px!important;
  border:18px solid rgba(217,186,78,.09)!important;
  border-radius:50%!important;
  pointer-events:none!important
}
.nataiji-professor-mode .prof-grades-head>div:first-child{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  align-items:center!important;
  gap:13px!important
}
.nataiji-professor-mode .prof-grades-head-icon{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  padding:11px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#eaf8f3,#dff3ec)!important;
  color:#0a856d!important
}
.nataiji-professor-mode .prof-grades-head-icon svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-grades-head h1{
  margin:0 0 5px!important;
  font-size:28px!important;
  line-height:1.12!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-grades-head p{
  margin:0!important;
  max-width:540px!important;
  font-size:10.5px!important;
  line-height:1.7!important
}
.nataiji-professor-mode .prof-grades-head>div:last-child{
  position:relative!important;
  z-index:2!important
}
.nataiji-professor-mode .prof-grades-head #profGradesAddSubject{
  min-height:48px!important;
  min-width:180px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:10px 18px!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,#0c896f,#0a745f)!important;
  box-shadow:0 8px 18px rgba(9,116,94,.16)!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-grades-head #profGradesAddSubject>span{
  width:23px!important;
  height:23px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.16)!important;
  font-size:16px!important
}

.nataiji-professor-mode .prof-grades-content{
  padding:14px!important;
  border-radius:23px!important;
  background:#fff!important
}
.nataiji-professor-mode .prof-luxe-class-group{
  position:relative!important;
  overflow:hidden!important;
  display:grid!important;
  gap:13px!important;
  margin:0 0 13px!important;
  padding:15px!important;
  border:1px solid #dce9e5!important;
  border-radius:22px!important;
  background:
    linear-gradient(180deg,rgba(235,248,243,.82) 0 92px,rgba(255,255,255,.98) 92px 100%)!important;
  box-shadow:0 8px 24px rgba(25,69,60,.045)!important
}
.nataiji-professor-mode .prof-luxe-class-group::before{
  content:""!important;
  position:absolute!important;
  top:-74px!important;
  inset-inline-start:-46px!important;
  width:230px!important;
  height:150px!important;
  border-radius:50%!important;
  background:rgba(15,144,113,.055)!important;
  transform:rotate(-8deg)!important;
  pointer-events:none!important
}
.nataiji-professor-mode .prof-luxe-class-group .prof-class-subject-head{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:11px!important;
  padding:2px 2px 4px!important
}
.nataiji-professor-mode .prof-luxe-class-title{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  align-items:center!important;
  gap:11px!important
}
.nataiji-professor-mode .prof-luxe-class-icon{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  padding:11px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:15px!important;
  background:#e6f7f1!important;
  color:#07866d!important;
  box-shadow:0 5px 12px rgba(11,121,97,.07)!important
}
.nataiji-professor-mode .prof-luxe-class-icon svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-luxe-class-title small{
  display:block!important;
  margin-bottom:2px!important;
  color:#809096!important;
  font-size:9px!important
}
.nataiji-professor-mode .prof-luxe-class-title h2{
  margin:0 0 3px!important;
  font-size:24px!important;
  line-height:1!important;
  color:#153d50!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-luxe-class-title p{
  margin:0!important;
  color:#7d8e91!important;
  font-size:9.5px!important;
  line-height:1.4!important
}
.nataiji-professor-mode .prof-luxe-class-group .prof-class-subject-head>button{
  width:100%!important;
  min-height:49px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:10px 14px!important;
  border:1px solid #cee4dd!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#f8fdfb,#eef9f5)!important;
  color:#105d4e!important;
  font-size:11px!important;
  font-weight:900!important;
  box-shadow:0 4px 11px rgba(22,83,69,.035)!important
}
.nataiji-professor-mode .prof-luxe-class-group .prof-class-subject-head>button>span{
  width:25px!important;
  height:25px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:#0a886e!important;
  color:#fff!important;
  font-size:17px!important;
  line-height:1!important
}

.nataiji-professor-mode .prof-luxe-class-group .prof-assignment-list{
  display:grid!important;
  gap:11px!important;
  margin:0!important
}
.nataiji-professor-mode .prof-luxe-subject-card{
  position:relative!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding:14px!important;
  overflow:hidden!important;
  border:1px solid #dee9e5!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,#fff,#fcfefd)!important;
  box-shadow:0 7px 20px rgba(27,72,62,.045)!important
}
.nataiji-professor-mode .prof-luxe-subject-card::after{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  inset-inline-end:-36px!important;
  bottom:-54px!important;
  width:125px!important;
  height:105px!important;
  border-radius:50%!important;
  background:rgba(11,143,112,.045)!important;
  pointer-events:none!important
}
.nataiji-professor-mode .prof-luxe-subject-card>*{
  position:relative!important;
  z-index:2!important
}
.nataiji-professor-mode .prof-luxe-subject-top{
  display:block!important
}
.nataiji-professor-mode .prof-luxe-subject-identity{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-subject-icon{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#0e9b7b,#087561)!important;
  color:#fff!important;
  font-size:23px!important;
  font-weight:950!important;
  box-shadow:0 8px 17px rgba(8,117,96,.14)!important
}
.nataiji-professor-mode .prof-luxe-subject-copy{
  min-width:0!important;
  display:grid!important;
  gap:6px!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-eyebrow{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:0!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-eyebrow em{
  min-height:26px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:4px 8px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:999px!important;
  background:#edf8f4!important;
  color:#50726a!important;
  font-size:8.5px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:750!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-eyebrow em svg{
  width:14px!important;
  height:14px!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-eyebrow .coef-chip{
  color:#176d5c!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-eyebrow .teacher-chip{
  background:#f4f8f7!important
}
.nataiji-professor-mode .prof-luxe-subject-card h3{
  margin:0!important;
  color:#153c50!important;
  font-size:20px!important;
  line-height:1.2!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-progress{
  width:100%!important;
  height:8px!important;
  overflow:hidden!important;
  margin:0!important;
  border-radius:99px!important;
  background:#e6eeeb!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-progress i{
  height:100%!important;
  display:block!important;
  border-radius:99px!important;
  background:linear-gradient(90deg,#129f7f,#07866d)!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-meta{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin:0!important;
  color:#78898e!important;
  font-size:9.5px!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-meta>span{
  min-width:0!important;
  color:#7c8d92!important;
  font-size:9.5px!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-meta strong{
  color:#0b6d5c!important;
  font-size:21px!important;
  line-height:1!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-luxe-subject-card .prof-card-meta strong span:last-child{
  color:#75888e!important;
  font-size:.54em!important
}
.nataiji-professor-mode .prof-luxe-subject-actions{
  width:100%!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin-top:1px!important
}
.nataiji-professor-mode .prof-luxe-subject-actions>button{
  min-height:45px!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:9px 10px!important;
  border-radius:13px!important;
  font-size:10px!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-luxe-subject-actions>button svg{
  width:17px!important;
  height:17px!important
}
.nataiji-professor-mode .prof-luxe-subject-actions .prof-list-action{
  border:1px solid #d8b95b!important;
  background:linear-gradient(180deg,#fffdf7,#fffaf0)!important;
  color:#6e5720!important
}
.nataiji-professor-mode .prof-luxe-subject-actions .prof-open-grade{
  border:1px solid #cfe2dc!important;
  background:#fff!important;
  color:#0a745f!important
}
.nataiji-professor-mode .prof-luxe-subject-actions .prof-open-grade:hover{
  background:#eff9f5!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-grades-reference{
    padding-inline:10px!important
  }
  .nataiji-professor-mode .prof-grades-head{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:16px!important;
    border-radius:20px!important
  }
  .nataiji-professor-mode .prof-grades-head>div:first-child{
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:10px!important
  }
  .nataiji-professor-mode .prof-grades-head-icon{
    width:40px!important;height:40px!important;min-width:40px!important;padding:9px!important
  }
  .nataiji-professor-mode .prof-grades-head h1{
    font-size:25px!important
  }
  .nataiji-professor-mode .prof-grades-head p{
    font-size:9.7px!important
  }
  .nataiji-professor-mode .prof-grades-head #profGradesAddSubject{
    width:100%!important;
    min-width:0!important;
    min-height:45px!important
  }
  .nataiji-professor-mode .prof-grades-content{
    padding:10px!important;
    border-radius:19px!important
  }
  .nataiji-professor-mode .prof-luxe-class-group{
    padding:11px!important;
    border-radius:19px!important
  }
  .nataiji-professor-mode .prof-luxe-class-title{
    grid-template-columns:41px minmax(0,1fr)!important;
    gap:9px!important
  }
  .nataiji-professor-mode .prof-luxe-class-icon{
    width:39px!important;height:39px!important;min-width:39px!important;padding:9px!important
  }
  .nataiji-professor-mode .prof-luxe-class-title h2{
    font-size:21px!important
  }
  .nataiji-professor-mode .prof-luxe-class-group .prof-class-subject-head>button{
    min-height:44px!important;
    font-size:10.5px!important
  }
  .nataiji-professor-mode .prof-luxe-subject-card{
    gap:9px!important;
    padding:12px!important;
    border-radius:17px!important
  }
  .nataiji-professor-mode .prof-luxe-subject-identity{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:9px!important
  }
  .nataiji-professor-mode .prof-luxe-subject-card .prof-subject-icon{
    width:46px!important;height:46px!important;min-width:46px!important;
    border-radius:14px!important;font-size:20px!important
  }
  .nataiji-professor-mode .prof-luxe-subject-card .prof-card-eyebrow em{
    min-height:23px!important;
    padding:3px 7px!important;
    font-size:7.8px!important
  }
  .nataiji-professor-mode .prof-luxe-subject-card h3{
    font-size:18px!important
  }
  .nataiji-professor-mode .prof-luxe-subject-card .prof-card-meta strong{
    font-size:19px!important
  }
  .nataiji-professor-mode .prof-luxe-subject-actions>button{
    min-height:42px!important;
    font-size:9.5px!important
  }
}
@media(max-width:380px){
  .nataiji-professor-mode .prof-luxe-subject-actions{
    grid-template-columns:1fr 1fr!important
  }
  .nataiji-professor-mode .prof-luxe-subject-actions>button{
    padding-inline:6px!important;
    font-size:9px!important
  }
}


/* Professor students clean-premium hybrid v34 */
.nataiji-professor-mode .prof-students-reference{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important
}
.nataiji-professor-mode .prof-students-reference .professor-reference-topbar{
  margin-bottom:12px!important
}
.nataiji-professor-mode .prof-students-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:14px!important;
  padding:18px 19px!important;
  overflow:hidden!important;
  border-radius:23px!important;
  background:
    radial-gradient(circle at 0% 100%,rgba(220,244,236,.58),transparent 28%),
    linear-gradient(145deg,#fff,#fbfdfc)!important
}
.nataiji-professor-mode .prof-students-head-copy{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  align-items:center!important;
  gap:12px!important
}
.nataiji-professor-mode .prof-students-head-icon{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  display:grid!important;
  place-items:center!important;
  padding:11px!important;
  box-sizing:border-box!important;
  border-radius:14px!important;
  background:linear-gradient(145deg,#e8f8f2,#dcf2ea)!important;
  color:#07866d!important
}
.nataiji-professor-mode .prof-students-head-icon svg{
  width:100%!important;
  height:100%!important
}
.nataiji-professor-mode .prof-students-head h1{
  margin:0 0 5px!important;
  color:#143b4f!important;
  font-size:27px!important;
  line-height:1.12!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-students-head p{
  margin:0!important;
  max-width:600px!important;
  color:#73858a!important;
  font-size:10.5px!important;
  line-height:1.65!important
}
.nataiji-professor-mode .prof-students-head-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:9px!important
}
.nataiji-professor-mode .prof-students-head-actions>button{
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:10px 13px!important;
  border-radius:15px!important;
  font-size:10.5px!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-students-head-actions>button svg{
  width:18px!important;
  height:18px!important
}
.nataiji-professor-mode .prof-students-head-actions #profClassJoin{
  border:1px solid #d5e4df!important;
  background:#fff!important;
  color:#194d52!important
}
.nataiji-professor-mode .prof-students-head-actions #profClassAddSubject{
  border:1px solid #0b826a!important;
  background:linear-gradient(135deg,#0d8e73,#08745f)!important;
  box-shadow:0 8px 18px rgba(8,116,95,.15)!important
}
.nataiji-professor-mode .prof-students-head-actions .plus{
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.42)!important;
  border-radius:50%!important;
  font-size:17px!important;
  line-height:1!important
}

.nataiji-professor-mode .prof-students-class-grid{
  display:grid!important;
  gap:12px!important
}
.nataiji-professor-mode .prof-student-class-card{
  position:relative!important;
  overflow:hidden!important;
  display:grid!important;
  gap:12px!important;
  padding:15px!important;
  border:1px solid #dce8e4!important;
  border-radius:22px!important;
  background:
    radial-gradient(ellipse at 7% 0%,rgba(9,142,111,.065),transparent 28%),
    linear-gradient(145deg,#fff,#fcfefd)!important;
  box-shadow:0 8px 23px rgba(25,69,60,.045)!important
}
.nataiji-professor-mode .prof-student-class-card::before{
  content:""!important;
  position:absolute!important;
  top:-45px!important;
  inset-inline-start:-55px!important;
  width:170px!important;
  height:115px!important;
  border:10px solid rgba(217,185,78,.07)!important;
  border-radius:50%!important;
  transform:rotate(-14deg)!important;
  pointer-events:none!important
}
.nataiji-professor-mode .prof-student-class-card>*{
  position:relative!important;
  z-index:2!important
}
.nataiji-professor-mode .prof-student-class-head{
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr) 34px!important;
  align-items:center!important;
  gap:10px!important;
  margin:0!important
}
.nataiji-professor-mode .prof-student-class-card .prof-class-avatar{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  padding:11px!important;
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,#e2f7ef,#d4efe6)!important;
  color:#07866d!important;
  box-shadow:0 5px 12px rgba(8,132,105,.075)!important
}
.nataiji-professor-mode .prof-student-class-card .prof-class-avatar svg{
  width:100%!important;
  height:100%!important
}
.nataiji-professor-mode .prof-student-class-title{
  min-width:0!important;
  display:grid!important;
  gap:4px!important
}
.nataiji-professor-mode .prof-student-class-title h3{
  margin:0!important;
  color:#143b50!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-student-class-title p{
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  color:#7b8c91!important;
  font-size:9.5px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-student-class-title p i{
  color:#9eb0b3!important;
  font-style:normal!important
}
.nataiji-professor-mode .prof-student-class-arrow{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#f1f7f5!important;
  color:#426a72!important;
  font-size:24px!important;
  line-height:1!important
}

.nataiji-professor-mode .prof-student-subject-tags{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0!important
}
.nataiji-professor-mode .prof-student-subject-chip{
  min-width:0!important;
  min-height:42px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:8px!important;
  row-gap:1px!important;
  padding:7px 9px!important;
  box-sizing:border-box!important;
  border:1px solid #e1ebe7!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,#f9fcfb,#f2f8f6)!important
}
.nataiji-professor-mode .prof-student-subject-chip:nth-child(even){
  background:linear-gradient(145deg,#fbfdff,#f1f7fc)!important
}
.nataiji-professor-mode .prof-student-subject-chip i{
  grid-column:1!important;
  grid-row:1/3!important;
  width:29px!important;
  height:29px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:#e2f6ef!important;
  color:#07866d!important;
  font-size:14px!important;
  font-style:normal!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-student-subject-chip:nth-child(even) i{
  background:#e5f1fd!important;
  color:#2b7bc1!important
}
.nataiji-professor-mode .prof-student-subject-chip b{
  grid-column:2!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#19404f!important;
  font-size:10px!important;
  line-height:1.15!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-student-subject-chip small{
  grid-column:2!important;
  color:#798b90!important;
  font-size:8px!important;
  line-height:1.1!important
}
.nataiji-professor-mode .prof-student-subject-chip.muted{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  grid-column:1/-1!important;
  color:#829297!important
}

.nataiji-professor-mode .prof-student-link-state{
  min-height:62px!important;
  display:grid!important;
  grid-template-columns:43px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  padding:10px 12px!important;
  box-sizing:border-box!important;
  border:1px solid #ddebe6!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,#f5fbf8,#eef9f5)!important
}
.nataiji-professor-mode .prof-student-link-icon{
  width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  padding:9px!important;
  box-sizing:border-box!important;
  border-radius:13px!important;
  background:#dcf4eb!important;
  color:#07866d!important
}
.nataiji-professor-mode .prof-student-link-icon svg{
  width:100%!important;
  height:100%!important
}
.nataiji-professor-mode .prof-student-link-state>div{
  min-width:0!important;
  display:grid!important;
  gap:3px!important
}
.nataiji-professor-mode .prof-student-link-state>div>span{
  color:#137460!important;
  font-size:11px!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-student-link-state small{
  color:#72868a!important;
  font-size:8.5px!important;
  line-height:1.3!important
}

.nataiji-professor-mode .prof-student-class-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important
}
.nataiji-professor-mode .prof-student-class-actions>button{
  min-height:45px!important;
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:9px 10px!important;
  border-radius:13px!important;
  font-size:10px!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-student-class-actions>button svg{
  width:17px!important;
  height:17px!important
}
.nataiji-professor-mode .prof-student-class-actions>button.primary{
  border-color:#08745f!important;
  background:linear-gradient(135deg,#0c8d72,#08745f)!important;
  box-shadow:0 7px 16px rgba(8,116,95,.13)!important
}
.nataiji-professor-mode .prof-student-class-actions>button:not(.primary){
  border:1px solid #d6e3df!important;
  background:#fff!important;
  color:#184b51!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-students-reference{
    padding-inline:10px!important
  }
  .nataiji-professor-mode .prof-students-head{
    padding:15px!important;
    border-radius:20px!important
  }
  .nataiji-professor-mode .prof-students-head-copy{
    grid-template-columns:41px minmax(0,1fr)!important;
    gap:9px!important
  }
  .nataiji-professor-mode .prof-students-head-icon{
    width:39px!important;height:39px!important;min-width:39px!important;padding:9px!important
  }
  .nataiji-professor-mode .prof-students-head h1{
    font-size:24px!important
  }
  .nataiji-professor-mode .prof-students-head p{
    font-size:9.5px!important
  }
  .nataiji-professor-mode .prof-students-head-actions>button{
    min-height:44px!important;
    padding-inline:8px!important;
    font-size:9.5px!important
  }
  .nataiji-professor-mode .prof-student-class-card{
    gap:10px!important;
    padding:12px!important;
    border-radius:19px!important
  }
  .nataiji-professor-mode .prof-student-class-head{
    grid-template-columns:43px minmax(0,1fr) 29px!important;
    gap:8px!important
  }
  .nataiji-professor-mode .prof-student-class-card .prof-class-avatar{
    width:41px!important;height:41px!important;min-width:41px!important;padding:9px!important;border-radius:12px!important
  }
  .nataiji-professor-mode .prof-student-class-title h3{
    font-size:21px!important
  }
  .nataiji-professor-mode .prof-student-class-title p{
    font-size:8.8px!important
  }
  .nataiji-professor-mode .prof-student-class-arrow{
    width:28px!important;height:28px!important;min-width:28px!important;font-size:21px!important
  }
  .nataiji-professor-mode .prof-student-subject-chip{
    min-height:39px!important;
    grid-template-columns:27px minmax(0,1fr)!important;
    column-gap:7px!important;
    padding:6px 7px!important;
    border-radius:12px!important
  }
  .nataiji-professor-mode .prof-student-subject-chip i{
    width:26px!important;height:26px!important;border-radius:8px!important;font-size:13px!important
  }
  .nataiji-professor-mode .prof-student-subject-chip b{
    font-size:9px!important
  }
  .nataiji-professor-mode .prof-student-subject-chip small{
    font-size:7.4px!important
  }
  .nataiji-professor-mode .prof-student-link-state{
    min-height:57px!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px 10px!important;
    border-radius:14px!important
  }
  .nataiji-professor-mode .prof-student-link-icon{
    width:36px!important;height:36px!important;padding:8px!important;border-radius:11px!important
  }
  .nataiji-professor-mode .prof-student-link-state>div>span{
    font-size:10px!important
  }
  .nataiji-professor-mode .prof-student-link-state small{
    font-size:7.8px!important
  }
  .nataiji-professor-mode .prof-student-class-actions>button{
    min-height:42px!important;
    font-size:9.4px!important;
    padding-inline:7px!important
  }
}

@media(max-width:380px){
  .nataiji-professor-mode .prof-students-head-actions{
    grid-template-columns:1fr 1fr!important
  }
  .nataiji-professor-mode .prof-students-head-actions>button{
    font-size:8.8px!important
  }
  .nataiji-professor-mode .prof-student-subject-tags{
    grid-template-columns:1fr 1fr!important
  }
  .nataiji-professor-mode .prof-student-class-actions>button{
    font-size:8.8px!important
  }
}


/* Professor students final compact polish v35 */
/* Final phone polish for the professor students page only. */
.nataiji-professor-mode .prof-students-reference .professor-reference-topbar{
  min-height:76px!important;
  padding:10px 13px!important;
  gap:7px!important;
  border-radius:19px!important
}
.nataiji-professor-mode .prof-students-reference .professor-reference-main{
  min-height:48px!important;
  gap:8px!important
}
.nataiji-professor-mode .prof-students-reference .prof-account-avatar{
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  padding:8px!important;
  border-radius:10px!important
}
.nataiji-professor-mode .prof-students-reference .professor-brand img{
  width:34px!important;
  height:34px!important
}
.nataiji-professor-mode .prof-students-reference .professor-brand b{
  font-size:14px!important
}
.nataiji-professor-mode .prof-students-reference .professor-account b{
  font-size:13px!important
}
.nataiji-professor-mode .prof-students-reference .professor-account small,
.nataiji-professor-mode .prof-students-reference .professor-brand small{
  font-size:7.5px!important
}

/* Bring the title copy closer together and reduce unused height. */
.nataiji-professor-mode .prof-students-head{
  gap:10px!important;
  padding:14px 16px!important;
  border-radius:20px!important
}
.nataiji-professor-mode .prof-students-head-copy{
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:9px!important
}
.nataiji-professor-mode .prof-students-head-icon{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  padding:9px!important;
  border-radius:12px!important
}
.nataiji-professor-mode .prof-students-head h1{
  margin-bottom:3px!important;
  font-size:25px!important
}
.nataiji-professor-mode .prof-students-head p{
  font-size:10px!important;
  line-height:1.45!important
}
.nataiji-professor-mode .prof-students-head-actions>button{
  min-height:43px!important
}

/* Denser class card, with slightly stronger subject text. */
.nataiji-professor-mode .prof-student-class-card{
  gap:9px!important;
  padding:12px!important;
  border-radius:19px!important
}
.nataiji-professor-mode .prof-student-class-head{
  grid-template-columns:42px minmax(0,1fr) 26px!important;
  gap:8px!important
}
.nataiji-professor-mode .prof-student-class-card .prof-class-avatar{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  padding:9px!important;
  border-radius:12px!important
}
.nataiji-professor-mode .prof-student-class-title{
  gap:3px!important
}
.nataiji-professor-mode .prof-student-class-title h3{
  font-size:22px!important
}
.nataiji-professor-mode .prof-student-class-title p{
  font-size:9px!important
}
.nataiji-professor-mode .prof-student-class-arrow{
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  font-size:18px!important;
  background:#f5f8f7!important;
  color:#58737b!important
}
.nataiji-professor-mode .prof-student-subject-tags{
  gap:7px!important
}
.nataiji-professor-mode .prof-student-subject-chip{
  min-height:40px!important;
  grid-template-columns:27px minmax(0,1fr)!important;
  column-gap:7px!important;
  padding:6px 8px!important;
  border-radius:12px!important
}
.nataiji-professor-mode .prof-student-subject-chip i{
  width:26px!important;
  height:26px!important;
  font-size:13px!important
}
.nataiji-professor-mode .prof-student-subject-chip b{
  font-size:10px!important
}
.nataiji-professor-mode .prof-student-subject-chip small{
  font-size:8px!important;
  font-weight:650!important
}
.nataiji-professor-mode .prof-student-link-state{
  min-height:54px!important;
  grid-template-columns:35px minmax(0,1fr)!important;
  gap:8px!important;
  padding:8px 10px!important;
  border-radius:14px!important
}
.nataiji-professor-mode .prof-student-link-icon{
  width:34px!important;
  height:34px!important;
  padding:8px!important;
  border-radius:10px!important
}
.nataiji-professor-mode .prof-student-class-actions{
  gap:7px!important
}
.nataiji-professor-mode .prof-student-class-actions>button{
  min-height:40px!important;
  padding:8px 9px!important
}

/* Prevent the content block from visually carrying extra empty space. */
.nataiji-professor-mode .prof-students-class-grid{
  gap:10px!important;
  align-content:start!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-students-reference{
    padding-inline:8px!important
  }
  .nataiji-professor-mode .prof-students-head{
    padding:13px!important;
    gap:9px!important
  }
  .nataiji-professor-mode .prof-students-head h1{
    font-size:23px!important
  }
  .nataiji-professor-mode .prof-students-head p{
    font-size:9.5px!important
  }
  .nataiji-professor-mode .prof-student-class-card{
    gap:8px!important;
    padding:11px!important
  }
  .nataiji-professor-mode .prof-student-subject-chip b{
    font-size:9.5px!important
  }
  .nataiji-professor-mode .prof-student-subject-chip small{
    font-size:7.8px!important
  }
  .nataiji-professor-mode .prof-student-link-state>div>span{
    font-size:10px!important
  }
  .nataiji-professor-mode .prof-student-link-state small{
    font-size:7.8px!important
  }
}


/* Professor students micro-polish v36 */
/* Final micro-adjustments requested from the latest phone screenshot.
   Scoped strictly to professor > students. */
.nataiji-professor-mode .prof-students-reference .professor-reference-topbar{
  min-height:68px!important;
  padding:8px 12px!important;
  gap:6px!important
}
.nataiji-professor-mode .prof-students-reference .professor-reference-main{
  min-height:44px!important
}
.nataiji-professor-mode .prof-students-reference .prof-account-avatar{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  padding:7px!important
}
.nataiji-professor-mode .prof-students-reference .professor-brand img{
  width:32px!important;
  height:32px!important
}
.nataiji-professor-mode .prof-students-reference .professor-brand b{
  font-size:13.5px!important
}
.nataiji-professor-mode .prof-students-reference .professor-account b{
  font-size:12.5px!important
}
.nataiji-professor-mode .prof-students-reference .professor-account small,
.nataiji-professor-mode .prof-students-reference .professor-brand small{
  font-size:7.2px!important
}

.nataiji-professor-mode .prof-students-reference .prof-student-subject-chip b{
  font-size:10.5px!important;
  line-height:1.16!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-subject-chip small{
  font-size:8.4px!important;
  line-height:1.12!important
}

.nataiji-professor-mode .prof-students-reference .prof-student-class-arrow{
  position:relative!important;
  left:-4px!important;
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  font-size:17px!important;
  background:#f5f8f7!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-students-reference .professor-reference-topbar{
    min-height:66px!important;
    padding:8px 11px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-subject-chip b{
    font-size:10.2px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-subject-chip small{
    font-size:8.1px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-class-arrow{
    left:-3px!important
  }
}


/* Professor reports premium-clean hybrid v37 */
/* Reports hub only: retain the clean app shell and borrow the stronger report-card hierarchy. */
.nataiji-professor-mode .prof-reports-reference{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important
}
.nataiji-professor-mode .prof-reports-reference .professor-reference-topbar{
  min-height:68px!important;
  padding:8px 12px!important;
  gap:6px!important;
  margin-bottom:12px!important;
  border-radius:19px!important
}
.nataiji-professor-mode .prof-reports-reference .professor-reference-main{
  min-height:44px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-account-avatar{
  width:34px!important;height:34px!important;min-width:34px!important;padding:7px!important
}
.nataiji-professor-mode .prof-reports-reference .professor-brand img{
  width:32px!important;height:32px!important
}
.nataiji-professor-mode .prof-reports-reference .professor-brand b{
  font-size:13.5px!important
}
.nataiji-professor-mode .prof-reports-reference .professor-account b{
  font-size:12.5px!important
}
.nataiji-professor-mode .prof-reports-reference .professor-account small,
.nataiji-professor-mode .prof-reports-reference .professor-brand small{
  font-size:7.2px!important
}

.nataiji-professor-mode .prof-reports-reference .prof-reports-content{
  display:grid!important;
  gap:12px!important;
  padding:13px!important;
  border-radius:22px!important;
  border:1px solid #dce8e4!important;
  background:linear-gradient(145deg,#fff,#fcfefd)!important;
  box-shadow:0 8px 24px rgba(25,69,60,.045)!important
}

/* Top report switcher. */
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:6px!important;
  padding:5px!important;
  border:1px solid #dce9e4!important;
  border-radius:17px!important;
  background:#edf6f3!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button{
  position:relative!important;
  min-height:68px!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  column-gap:9px!important;
  row-gap:2px!important;
  padding:10px 12px!important;
  border:0!important;
  border-radius:13px!important;
  background:transparent!important;
  color:#46695f!important;
  text-align:start!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>span{
  grid-column:1!important;
  grid-row:1/3!important;
  width:36px!important;
  height:36px!important;
  padding:8px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#16866e!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>span svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>b{
  grid-column:2!important;
  margin:0!important;
  font-size:11.5px!important;
  line-height:1.15!important;
  font-weight:950!important;
  color:#173e4d!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>small{
  grid-column:2!important;
  margin:0!important;
  font-size:8.2px!important;
  line-height:1.15!important;
  color:#758a84!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button.on{
  background:linear-gradient(135deg,#0d8e73,#08745f)!important;
  box-shadow:0 8px 18px rgba(8,116,95,.14)!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button.on>span{
  background:rgba(255,255,255,.14)!important;
  color:#fff!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button.on>b,
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button.on>small{
  color:#fff!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button.on::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:3px!important;
  width:34px!important;
  height:2px!important;
  border-radius:99px!important;
  transform:translateX(-50%)!important;
  background:#d7b64d!important
}

/* Three term buttons: slightly stronger, without decorative overload. */
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  gap:8px!important;
  padding:0!important;
  background:transparent!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button{
  min-height:47px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  padding:8px 9px!important;
  border:1px solid #dce6e3!important;
  border-radius:13px!important;
  background:#f8fbfa!important;
  color:#607a72!important;
  font-size:10.5px!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button span{
  width:18px!important;height:18px!important;display:grid!important;place-items:center!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button span svg{
  width:17px!important;height:17px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button.on{
  border-color:#0c8169!important;
  background:linear-gradient(135deg,#0d8c72,#08745f)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(8,116,95,.12)!important
}

/* Individual-report heading. */
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium{
  display:block!important;
  padding:5px 4px 2px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium small{
  display:block!important;
  margin-bottom:3px!important;
  color:#18856d!important;
  font-size:9px!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium h2{
  margin:0 0 5px!important;
  color:#143b4e!important;
  font-size:26px!important;
  line-height:1.1!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium p{
  max-width:650px!important;
  margin:0!important;
  color:#73858a!important;
  font-size:9.8px!important;
  line-height:1.58!important
}

/* Compact class report card. */
.nataiji-professor-mode .prof-reports-reference .prof-report-subject-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:9px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium{
  position:relative!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding:13px!important;
  border:1px solid #dce8e4!important;
  border-radius:18px!important;
  background:
    radial-gradient(ellipse at 8% 0%,rgba(18,144,113,.05),transparent 31%),
    linear-gradient(145deg,#fff,#fcfefd)!important;
  box-shadow:0 6px 18px rgba(27,72,62,.04)!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium::after{
  content:""!important;
  position:absolute!important;
  inset-inline-end:-42px!important;
  bottom:-68px!important;
  width:150px!important;
  height:110px!important;
  border:12px solid rgba(216,184,73,.055)!important;
  border-radius:50%!important;
  pointer-events:none!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>*{
  position:relative!important;
  z-index:2!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top{
  display:grid!important;
  grid-template-columns:45px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top .prof-report-subject-icon{
  width:43px!important;
  height:43px!important;
  min-width:43px!important;
  padding:10px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,#e5f7f0,#d9f1e8)!important;
  color:#07866d!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top .prof-report-subject-icon svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top small{
  display:block!important;
  margin-bottom:2px!important;
  color:#849498!important;
  font-size:9px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top h3{
  margin:0!important;
  color:#163c4e!important;
  font-size:18px!important;
  line-height:1.15!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin:0!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span{
  min-height:29px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#f0f8f5!important;
  color:#305e54!important;
  font-size:8.8px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span i{
  min-width:19px!important;
  height:19px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:6px!important;
  background:#e2f4ed!important;
  color:#07866d!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span b{
  font-size:9px!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span small{
  color:#7c8c89!important;
  font-size:8px!important;
  font-weight:750!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button{
  width:100%!important;
  min-height:44px!important;
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr) 18px!important;
  align-items:center!important;
  gap:7px!important;
  padding:8px 12px!important;
  border:1px solid #cfe3dc!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#f7fcfa,#eef8f4)!important;
  color:#0b745f!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button>span{
  width:20px!important;height:20px!important;display:grid!important;place-items:center!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button>span svg{
  width:18px!important;height:18px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button>b{
  font-size:10.5px!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button>em{
  color:#c29b2d!important;
  font-size:19px!important;
  font-style:normal!important;
  font-weight:800!important
}

/* Collective entry: stronger hierarchy but still flat/usable. */
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium{
  min-height:112px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 92px!important;
  align-items:center!important;
  gap:11px!important;
  padding:13px!important;
  border:1px solid #d9e8e2!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#f5fbf8,#edf8f4)!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-icon{
  width:43px!important;
  height:43px!important;
  min-width:43px!important;
  padding:10px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:13px!important;
  background:#dcf4eb!important;
  color:#087e68!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-icon svg{
  width:100%!important;height:100%!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>div{
  min-width:0!important;
  display:grid!important;
  gap:5px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium b{
  color:#163d4e!important;
  font-size:14px!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium small{
  color:#71847f!important;
  font-size:8.8px!important;
  line-height:1.45!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium .prof-collective-tags{
  gap:5px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium .prof-collective-tags em{
  padding:4px 8px!important;
  background:#e2f4ed!important;
  color:#0b735e!important;
  font-size:8.2px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>button{
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:8px 11px!important;
  border:1px solid #0c8169!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,#0d8e73,#08745f)!important;
  color:#fff!important;
  box-shadow:0 7px 16px rgba(8,116,95,.12)!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>button b{
  color:#fff!important;
  font-size:10.5px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>button span{
  color:#e1bd53!important;
  font-size:18px!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-reports-reference{
    padding-inline:8px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-reports-content{
    gap:10px!important;
    padding:11px!important;
    border-radius:19px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button{
    min-height:62px!important;
    grid-template-columns:33px minmax(0,1fr)!important;
    gap:7px!important;
    padding:8px 9px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>span{
    width:31px!important;height:31px!important;padding:7px!important;border-radius:10px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>b{
    font-size:10.5px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>small{
    font-size:7.7px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs{
    gap:6px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button{
    min-height:43px!important;
    gap:5px!important;
    padding:7px!important;
    font-size:9.5px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button span{
    width:16px!important;height:16px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium{
    padding-inline:2px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium h2{
    font-size:23px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium p{
    font-size:9.3px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium{
    gap:8px!important;
    padding:11px!important;
    border-radius:16px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-card-top{
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:8px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-card-top .prof-report-subject-icon{
    width:38px!important;height:38px!important;min-width:38px!important;padding:9px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-card-top h3{
    font-size:17px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span{
    min-height:27px!important;
    padding:4px 7px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button{
    min-height:41px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium{
    min-height:100px!important;
    grid-template-columns:40px minmax(0,1fr) 78px!important;
    gap:8px!important;
    padding:11px!important;
    border-radius:16px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-icon{
    width:38px!important;height:38px!important;min-width:38px!important;padding:9px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium b{
    font-size:12px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium small{
    font-size:8px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>button{
    min-height:41px!important;
    padding-inline:8px!important
  }
}
@media(max-width:380px){
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>b{
    font-size:9.8px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>small{
    font-size:7.3px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium{
    grid-template-columns:36px minmax(0,1fr) 70px!important
  }
}


/* Professor reports final balanced polish v38 */
/* Final report-page polish: keep the clean production layout and borrow only the strongest visual cues. */
.nataiji-professor-mode .prof-reports-reference .prof-reports-content{
  gap:11px!important;
  padding:12px!important
}

/* Stronger two-option switcher, without decorative overload. */
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium{
  gap:7px!important;
  padding:5px!important;
  border-radius:18px!important;
  background:#edf6f3!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button{
  min-height:66px!important;
  grid-template-columns:36px minmax(0,1fr)!important;
  column-gap:8px!important;
  padding:9px 11px!important;
  border-radius:14px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>span{
  width:34px!important;
  height:34px!important;
  padding:8px!important;
  border-radius:11px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button.on{
  background:linear-gradient(135deg,#0d8e73 0%,#08745f 100%)!important;
  box-shadow:0 8px 18px rgba(8,116,95,.13)!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button.on::after{
  width:31px!important;
  height:2px!important;
  bottom:4px!important;
  background:#d7b64d!important
}

/* Cleaner, slightly stronger trimester selector. */
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs{
  gap:7px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button{
  min-height:45px!important;
  border-radius:14px!important;
  background:#f8fbfa!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button.on{
  border-color:#08745f!important;
  background:linear-gradient(135deg,#0d8c72,#08745f)!important;
  box-shadow:0 7px 15px rgba(8,116,95,.11)!important
}

/* Tighten the individual report title block. */
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium{
  padding:3px 3px 1px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium small{
  margin-bottom:2px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium h2{
  margin-bottom:4px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium p{
  line-height:1.48!important
}

/* Compact class/list card: more information density, clearer hierarchy. */
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium{
  gap:8px!important;
  padding:11px!important;
  border-radius:17px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top{
  grid-template-columns:40px minmax(0,1fr)!important;
  gap:8px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top .prof-report-subject-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  padding:9px!important;
  border-radius:12px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top small{
  font-size:8.7px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top h3{
  font-size:17px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects{
  gap:5px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span{
  min-height:27px!important;
  padding:4px 7px!important;
  border:1px solid #e4efeb!important;
  background:#f3f9f7!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span:nth-child(even){
  background:#f3f7fb!important;
  border-color:#e1eaf2!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button{
  min-height:42px!important;
  border-color:#d9b957!important;
  background:linear-gradient(180deg,#fffdf7,#fff9eb)!important;
  color:#6b5621!important;
  box-shadow:0 4px 11px rgba(128,96,21,.045)!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button>span{
  color:#0b745f!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button>em{
  color:#b99125!important
}

/* Collective results card: clear but lighter than the active individual card. */
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium{
  min-height:102px!important;
  grid-template-columns:41px minmax(0,1fr) 82px!important;
  gap:9px!important;
  padding:11px!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,#f7fcfa,#edf8f4)!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-icon{
  width:39px!important;
  height:39px!important;
  min-width:39px!important;
  padding:9px!important;
  border-radius:12px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>div{
  gap:4px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium b{
  font-size:13px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium small{
  font-size:8.4px!important;
  line-height:1.38!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium .prof-collective-tags em{
  padding:3px 7px!important;
  font-size:7.9px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>button{
  min-height:42px!important;
  border-radius:12px!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-reports-reference .prof-reports-content{
    gap:9px!important;
    padding:10px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button{
    min-height:59px!important;
    grid-template-columns:31px minmax(0,1fr)!important;
    column-gap:7px!important;
    padding:8px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>span{
    width:30px!important;height:30px!important;padding:7px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button{
    min-height:41px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium{
    padding:10px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button{
    min-height:40px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium{
    min-height:94px!important;
    grid-template-columns:37px minmax(0,1fr) 74px!important;
    gap:7px!important;
    padding:10px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-icon{
    width:36px!important;height:36px!important;min-width:36px!important;padding:8px!important
  }
}


/* Professor more final polish + share v39 */
/* Scoped strictly to professor > more. */
.nataiji-professor-mode .prof-more-reference .prof-more-reference-hero{
  margin-bottom:6px!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-hero-icon{
  width:48px!important;
  height:48px!important;
  padding:11px!important;
  box-sizing:border-box!important;
  display:grid!important;
  place-items:center!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
  font-size:0!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-hero-icon svg{
  width:26px!important;
  height:26px!important;
  stroke-width:1.7!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-list{
  gap:5px!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-row-copy small{
  font-size:8.8px!important;
  line-height:1.32!important;
  color:#8a989c!important
}

/* Share is available in both website and installed app. */
.nataiji-professor-mode .prof-more-reference .prof-more-list-row.share .prof-more-row-icon{
  background:#e9f7f3!important;
  color:#087f69!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-list-row.share .prof-more-row-copy b{
  color:#174a45!important
}

/* Logout stays visually secondary to destructive account deletion. */
.nataiji-professor-mode .prof-more-reference .prof-more-list-row.logout{
  border-color:#f0e7e3!important;
  background:#fffefe!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-list-row.logout .prof-more-row-icon{
  background:#fff6f2!important;
  color:#a8664e!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-list-row.logout .prof-more-row-copy b,
.nataiji-professor-mode .prof-more-reference .prof-more-list-row.logout .prof-more-chevron{
  color:#8d604f!important
}

/* Share fallback sheet for browsers/WebViews without the native share sheet. */
.nataiji-professor-mode .prof-share-sheet{
  display:grid!important;
  gap:11px!important;
  text-align:start!important
}
.nataiji-professor-mode .prof-share-sheet .prof-info-icon.share{
  background:#e7f8f2!important;
  color:#07866d!important
}
.nataiji-professor-mode .prof-share-sheet h3{
  margin:0!important;
  color:#173d4d!important;
  font-size:20px!important;
  font-weight:950!important
}
.nataiji-professor-mode .prof-share-sheet p{
  margin:0!important;
  color:#718289!important;
  font-size:11px!important;
  line-height:1.65!important
}
.nataiji-professor-mode .prof-share-sheet label{
  display:grid!important;
  gap:6px!important;
  color:#435e68!important;
  font-size:10px!important;
  font-weight:850!important
}
.nataiji-professor-mode .prof-share-sheet input{
  width:100%!important;
  min-height:43px!important;
  box-sizing:border-box!important;
  padding:9px 10px!important;
  border:1px solid #dbe7e3!important;
  border-radius:11px!important;
  background:#f8fbfa!important;
  color:#244853!important;
  font-size:10px!important
}
.nataiji-professor-mode .prof-share-actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important
}
.nataiji-professor-mode .prof-share-actions>a,
.nataiji-professor-mode .prof-share-actions>button{
  min-height:43px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  border-radius:11px!important;
  font-size:10px!important;
  font-weight:900!important
}

@media(max-width:700px){
  .nataiji-professor-mode .prof-more-reference .prof-more-reference-hero{
    margin-bottom:6px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-hero-icon{
    width:46px!important;
    height:46px!important;
    padding:10px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-hero-icon svg{
    width:25px!important;
    height:25px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-row-copy small{
    font-size:8.8px!important;
    line-height:1.3!important
  }
}
@media(max-width:380px){
  .nataiji-professor-mode .prof-more-reference .prof-more-row-copy small{
    font-size:8.5px!important
  }
  .nataiji-professor-mode .prof-share-actions{
    grid-template-columns:1fr!important
  }
}


/* Professor more readability pass v40 */
/* Improve legibility on phones without changing the professor More-page structure. */
.nataiji-professor-mode .prof-more-reference{
  padding-bottom:calc(106px + env(safe-area-inset-bottom,0px))!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-reference-hero small{
  font-size:11px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-reference-hero h1{
  font-size:25px!important;
  line-height:1.15!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-reference-hero p{
  font-size:12px!important;
  line-height:1.5!important;
  font-weight:600!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-list-row{
  min-height:68px!important;
  grid-template-columns:40px minmax(0,1fr) 20px!important;
  gap:9px!important;
  padding:9px 11px!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-row-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-row-icon svg{
  width:20px!important;
  height:20px!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-row-copy{
  gap:3px!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-row-copy b{
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-row-copy small{
  font-size:11.3px!important;
  line-height:1.38!important;
  color:#7d8d92!important;
  font-weight:520!important
}
.nataiji-professor-mode .prof-more-reference .prof-more-chevron{
  font-size:23px!important
}
.nataiji-professor-mode .prof-more-reference .professor-account b{
  font-size:13.5px!important
}
.nataiji-professor-mode .prof-more-reference .professor-account small{
  font-size:9.5px!important;
  line-height:1.3!important
}
.nataiji-professor-mode .prof-more-reference .professor-brand b{
  font-size:15px!important
}
.nataiji-professor-mode .prof-more-reference .professor-brand small{
  font-size:8.8px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-share-sheet p{
  font-size:12px!important
}
.nataiji-professor-mode .prof-share-sheet label,
.nataiji-professor-mode .prof-share-sheet input,
.nataiji-professor-mode .prof-share-actions>a,
.nataiji-professor-mode .prof-share-actions>button{
  font-size:11px!important
}

@media(max-width:700px){
  .nataiji-professor-mode .prof-more-reference .prof-more-reference-hero small{
    font-size:10.5px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-reference-hero h1{
    font-size:24px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-reference-hero p{
    font-size:11.5px!important;
    line-height:1.48!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-list-row{
    min-height:66px!important;
    grid-template-columns:39px minmax(0,1fr) 19px!important;
    padding:8px 10px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-row-icon{
    width:37px!important;
    height:37px!important;
    min-width:37px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-row-copy b{
    font-size:14.5px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-row-copy small{
    font-size:11px!important;
    line-height:1.35!important
  }
  .nataiji-professor-mode .prof-more-reference .professor-account small{
    font-size:9.2px!important
  }
  .nataiji-professor-mode .prof-more-reference .professor-brand small{
    font-size:8.6px!important
  }
}
@media(max-width:380px){
  .nataiji-professor-mode .prof-more-reference .prof-more-row-copy b{
    font-size:14px!important
  }
  .nataiji-professor-mode .prof-more-reference .prof-more-row-copy small{
    font-size:10.7px!important
  }
}


/* Professor students + reports readability pass v41 */
/* Increase the smallest professor-only text on Students and Reports without changing layout structure. */

/* Students page */
.nataiji-professor-mode .prof-students-reference .professor-account small,
.nataiji-professor-mode .prof-students-reference .professor-brand small{
  font-size:9.3px!important;
  line-height:1.28!important
}
.nataiji-professor-mode .prof-students-reference .prof-students-head p{
  font-size:11.6px!important;
  line-height:1.58!important;
  color:#71848a!important;
  font-weight:520!important
}
.nataiji-professor-mode .prof-students-reference .prof-students-head-actions>button{
  font-size:11.4px!important;
  font-weight:900!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-class-title p{
  font-size:10.8px!important;
  line-height:1.35!important;
  color:#71858a!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-subject-chip{
  min-height:43px!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-subject-chip b{
  font-size:11.8px!important;
  line-height:1.22!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-subject-chip small{
  font-size:10px!important;
  line-height:1.22!important;
  font-weight:700!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-link-state>div>span{
  font-size:12px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-link-state small{
  font-size:10.2px!important;
  line-height:1.35!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-class-actions>button{
  min-height:43px!important;
  font-size:11.5px!important;
  line-height:1.2!important;
  font-weight:900!important
}

/* Reports page */
.nataiji-professor-mode .prof-reports-reference .professor-account small,
.nataiji-professor-mode .prof-reports-reference .professor-brand small{
  font-size:9.3px!important;
  line-height:1.28!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>b{
  font-size:12.8px!important;
  line-height:1.22!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>small{
  font-size:10px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button{
  min-height:44px!important;
  font-size:11.8px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium small{
  font-size:10.7px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium p{
  font-size:11.6px!important;
  line-height:1.62!important;
  color:#6f8288!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top small{
  font-size:10.4px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top h3{
  font-size:18.5px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span{
  min-height:31px!important;
  padding:5px 9px!important;
  font-size:10.2px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span b{
  font-size:10.8px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span small{
  font-size:9.6px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button>b{
  font-size:11.8px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium b{
  font-size:14px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium small{
  font-size:10.4px!important;
  line-height:1.5!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium .prof-collective-tags em{
  padding:4px 8px!important;
  font-size:9.7px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>button b{
  font-size:11.6px!important;
  line-height:1.2!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-students-reference .professor-account small,
  .nataiji-professor-mode .prof-students-reference .professor-brand small,
  .nataiji-professor-mode .prof-reports-reference .professor-account small,
  .nataiji-professor-mode .prof-reports-reference .professor-brand small{
    font-size:9px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-students-head p{
    font-size:11.2px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-class-title p{
    font-size:10.5px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-subject-chip b{
    font-size:11.5px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-subject-chip small{
    font-size:9.8px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-link-state>div>span{
    font-size:11.7px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-link-state small{
    font-size:10px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-class-actions>button{
    font-size:11.2px!important
  }

  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>b{
    font-size:12.2px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-premium button>small{
    font-size:9.6px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button{
    font-size:11.4px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium small{
    font-size:10.3px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-section-title-premium p{
    font-size:11.2px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-card-top small{
    font-size:10.1px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span b{
    font-size:10.5px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span small{
    font-size:9.3px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button>b{
    font-size:11.4px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium small{
    font-size:10.1px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium .prof-collective-tags em{
    font-size:9.4px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-collective-entry-premium>button b{
    font-size:11.2px!important
  }
}


/* Professor students final readability touch v42 */
/* Final two readability tweaks requested from the latest phone screenshot. */
.nataiji-professor-mode .prof-students-reference .professor-account small{
  font-size:10.3px!important;
  line-height:1.32!important
}
.nataiji-professor-mode .prof-students-reference .prof-student-class-title p{
  font-size:11.5px!important;
  line-height:1.38!important;
  font-weight:560!important
}
@media(max-width:640px){
  .nataiji-professor-mode .prof-students-reference .professor-account small{
    font-size:10px!important
  }
  .nataiji-professor-mode .prof-students-reference .prof-student-class-title p{
    font-size:11.2px!important
  }
}


/* Professor collective shell alignment fix v43 */
/* Collective results now uses the same professor header and bottom-nav geometry as the other professor pages. */
.nataiji-professor-mode .prof-collective-reference{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  padding-inline:8px!important;
  padding-bottom:calc(122px + env(safe-area-inset-bottom,0px))!important;
  box-sizing:border-box!important;
  overflow-x:clip!important
}
.nataiji-professor-mode .prof-collective-reference .professor-reference-topbar{
  min-height:68px!important;
  padding:8px 12px!important;
  gap:6px!important;
  margin-bottom:12px!important;
  border-radius:19px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 8px 24px rgba(24,73,61,.055)!important
}
.nataiji-professor-mode .prof-collective-reference .professor-reference-main{
  position:relative!important;
  width:100%!important;
  min-height:44px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important
}
.nataiji-professor-mode .prof-collective-reference .professor-account{
  grid-column:auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  justify-self:start!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important
}
.nataiji-professor-mode .prof-collective-reference .professor-account>span:last-child{
  display:grid!important;
  min-width:0!important
}
.nataiji-professor-mode .prof-collective-reference .prof-account-avatar{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  padding:7px!important;
  box-sizing:border-box!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#eefaf6,#dff4ed)!important;
  border:1px solid #d2ebe3!important;
  color:#07866d!important;
  font-size:0!important
}
.nataiji-professor-mode .prof-collective-reference .prof-account-avatar svg{
  width:100%!important;
  height:100%!important
}
.nataiji-professor-mode .prof-collective-reference .professor-account b{
  display:block!important;
  max-width:150px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#153d51!important;
  font-size:12.5px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-collective-reference .professor-account small{
  display:block!important;
  max-width:165px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  margin-top:2px!important;
  color:#71858a!important;
  font-size:9.3px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand{
  grid-column:auto!important;
  justify-self:end!important;
  display:flex!important;
  flex-direction:row-reverse!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  direction:ltr!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand img{
  width:32px!important;
  height:32px!important;
  padding:1px!important;
  border-radius:9px!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand span{
  display:grid!important;
  text-align:right!important;
  direction:rtl!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand b{
  color:#17384f!important;
  font-size:13.5px!important;
  line-height:1.1!important
}
.nataiji-professor-mode .prof-collective-reference .professor-brand small{
  display:block!important;
  margin-top:2px!important;
  color:#71898c!important;
  font-size:9.3px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-collective-reference .prof-utility{
  display:block!important
}

/* Enough breathing room below the report content so fixed navigation never covers the table or print buttons. */
.nataiji-professor-mode .prof-collective-reference .prof-collective-card{
  margin-bottom:12px!important
}

/* Fix the old collective-page left/right override that shifted half of the navigation off-screen. */
.nataiji-professor-mode .prof-collective-reference .professor-nav{
  position:fixed!important;
  width:min(calc(100% - 28px),720px)!important;
  max-width:720px!important;
  left:50%!important;
  right:auto!important;
  bottom:max(10px,env(safe-area-inset-bottom,10px))!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  z-index:1200!important
}
.nataiji-professor-mode .prof-collective-reference .professor-nav button{
  min-width:0!important
}

/* Slight readability lift for the warning on phones. */
.nataiji-professor-mode .prof-collective-reference .prof-collective-warning b{
  font-size:13.5px!important
}
.nataiji-professor-mode .prof-collective-reference .prof-collective-warning p{
  font-size:10.8px!important;
  line-height:1.6!important
}

@media(max-width:700px){
  .nataiji-professor-mode .prof-collective-reference{
    padding-inline:8px!important;
    padding-bottom:calc(118px + env(safe-area-inset-bottom,0px))!important
  }
  .nataiji-professor-mode .prof-collective-reference .professor-reference-topbar{
    min-height:66px!important;
    padding:8px 11px!important;
    border-radius:19px!important
  }
  .nataiji-professor-mode .prof-collective-reference .professor-reference-main{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    min-height:42px!important
  }
  .nataiji-professor-mode .prof-collective-reference .prof-account-avatar{
    width:33px!important;
    height:33px!important;
    min-width:33px!important
  }
  .nataiji-professor-mode .prof-collective-reference .professor-brand img{
    width:31px!important;
    height:31px!important
  }
  .nataiji-professor-mode .prof-collective-reference .professor-account b{
    font-size:12.2px!important
  }
  .nataiji-professor-mode .prof-collective-reference .professor-account small,
  .nataiji-professor-mode .prof-collective-reference .professor-brand small{
    font-size:9px!important
  }
  .nataiji-professor-mode .prof-collective-reference .professor-brand b{
    font-size:13.2px!important
  }
  .nataiji-professor-mode .prof-collective-reference .professor-nav{
    width:min(calc(100% - 28px),720px)!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important
  }
  .nataiji-professor-mode .prof-collective-reference .prof-collective-warning b{
    font-size:13px!important
  }
  .nataiji-professor-mode .prof-collective-reference .prof-collective-warning p{
    font-size:10.5px!important
  }
}


/* Professor grade readability + nav clearance v44 */
/* Grade-entry page only: enlarge secondary text and keep the fixed nav away from the final student/save state. */
.nataiji-professor-mode .prof-grade-reference{
  width:min(100%,760px)!important;
  max-width:760px!important;
  margin-inline:auto!important;
  padding-bottom:calc(148px + env(safe-area-inset-bottom,0px))!important;
  box-sizing:border-box!important
}
.nataiji-professor-mode .prof-grade-reference .prof-page-head p{
  font-size:12.2px!important;
  line-height:1.55!important;
  color:#6f8288!important
}
.nataiji-professor-mode .prof-grade-reference .professor-badge{
  font-size:11.3px!important;
  line-height:1.35!important
}
.nataiji-professor-mode .prof-grade-reference .prof-term-tabs button{
  min-height:46px!important;
  font-size:12.2px!important;
  font-weight:850!important
}
.nataiji-professor-mode .prof-grade-reference .prof-term-formula{
  gap:5px!important;
  padding:12px 13px!important;
  margin-bottom:13px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-term-formula b{
  font-size:13.2px!important;
  line-height:1.3!important
}
.nataiji-professor-mode .prof-grade-reference .prof-term-formula span{
  font-size:12.9px!important;
  line-height:1.65!important;
  font-weight:820!important
}
.nataiji-professor-mode .prof-grade-reference .prof-term-formula small{
  font-size:11.2px!important;
  line-height:1.55!important;
  color:#647872!important
}

.nataiji-professor-mode .prof-grade-reference .prof-grade-student-copy small{
  font-size:10.8px!important;
  line-height:1.32!important;
  color:#87979e!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-student-copy em{
  font-size:9.6px!important;
  line-height:1.25!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-assessment{
  min-height:54px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-assessment-label b{
  font-size:12px!important;
  line-height:1.28!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-assessment-label small{
  font-size:9.8px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-score-field em{
  font-size:11.5px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-absent{
  font-size:10.7px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-student-results small{
  font-size:10px!important;
  line-height:1.28!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-student-results b{
  font-size:12.3px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-save-bar{
  padding-top:13px!important;
  margin-bottom:12px!important;
  font-size:11.8px!important;
  line-height:1.45!important
}
.nataiji-professor-mode .prof-grade-reference .prof-save-bar small{
  font-size:10.7px!important;
  line-height:1.5!important;
  color:#75878b!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-teacher-style{
  margin-bottom:18px!important
}

@media(max-width:760px){
  .nataiji-professor-mode .prof-grade-reference{
    padding-bottom:calc(154px + env(safe-area-inset-bottom,0px))!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-page-head p{
    font-size:11.8px!important
  }
  .nataiji-professor-mode .prof-grade-reference .professor-badge{
    font-size:11px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-term-tabs button{
    min-height:44px!important;
    font-size:11.8px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-term-formula b{
    font-size:13px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-term-formula span{
    font-size:12.5px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-term-formula small{
    font-size:10.9px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-student-copy small{
    font-size:10.5px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-assessment{
    min-height:52px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-assessment-label b{
    font-size:11.7px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-assessment-label small{
    font-size:9.5px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-score-field em{
    font-size:11.2px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-absent{
    font-size:10.4px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-student-results small{
    font-size:9.8px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-student-results b{
    font-size:12px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-save-bar{
    font-size:11.4px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-save-bar small{
    font-size:10.4px!important
  }
}
@media(max-width:380px){
  .nataiji-professor-mode .prof-grade-reference .prof-grade-assessment-label b{
    font-size:11.3px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-term-formula span{
    font-size:12.1px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-term-formula small{
    font-size:10.5px!important
  }
}


/* Professor grade-entry simplification v45 — professor workspace only */
.nataiji-professor-mode .prof-grade-reference .prof-grade-simple-head{
  display:flex;align-items:center;gap:12px;margin:4px 0 12px;padding:2px 2px 0
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-simple-head h1{
  margin:0;color:#173d4d;font-size:26px;line-height:1.2
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-simple-head p{
  margin:3px 0 0;color:#73867f;font-size:11.5px;line-height:1.45
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-back{
  width:42px;height:42px;min-width:42px;padding:0!important;border-radius:50%!important;
  display:grid;place-items:center;font-size:29px!important;line-height:1;background:#fff!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-context-selectors{
  display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-context-selectors label{
  display:grid;gap:5px;min-width:0
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-context-selectors label>span{
  color:#6b7f78;font-size:11px;font-weight:800
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-context-selectors select{
  width:100%;min-width:0;height:52px;border:1px solid #d7e4df;border-radius:13px;
  background:#fff;color:#17362d;padding:0 12px;font:800 15px/1.2 inherit;box-sizing:border-box
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-shared-note{
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  padding:9px 11px;margin-bottom:10px;border:1px solid #cfe6dd;border-radius:12px;background:#eff9f5
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-shared-note b{
  color:#126b4d;font-size:12px
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-shared-note span{
  color:#6b8078;font-size:10.5px
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-subject-line{
  display:flex;align-items:center;gap:10px;padding:10px 12px;margin-bottom:10px;
  border:1px solid #e1eae6;border-radius:14px;background:#fbfdfc
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-subject-icon{
  width:42px;height:42px;border-radius:12px;background:#eaf6f1;color:#126b4d;
  display:grid;place-items:center;font-size:21px;font-weight:900;flex:none
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-subject-line>div{
  display:grid;gap:2px
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-subject-line b{
  font-size:16px;color:#173d4d
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-subject-line small{
  font-size:10.5px;color:#73867f
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-absence-tip{
  display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center;
  margin:10px 0 11px;padding:10px 11px;border-radius:13px;background:#eef8f4;border:1px solid #d6ebe2
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-absence-tip>span{
  width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:#14805c;color:#fff;font-weight:900;font-size:15px
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-absence-tip p{
  margin:0;color:#355a4d;font-size:11.5px;line-height:1.6;font-weight:700
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-wrap{
  overflow:hidden;border:1px solid #dbe7e2;border-radius:15px;background:#fff;margin-top:0
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table{
  width:100%;border-collapse:collapse;table-layout:fixed
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th,
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table td{
  border-bottom:1px solid #e7eeeb;border-inline-end:1px solid #edf2f0;text-align:center;vertical-align:middle
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:last-child,
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table td:last-child{
  border-inline-end:0
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table tr:last-child td{
  border-bottom:0
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th{
  background:#eef8f4;color:#234d40;padding:9px 3px;font-size:11px;font-weight:900;line-height:1.2
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th small{
  display:block;margin-top:2px;color:#668079;font-size:9px;font-weight:750
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(1){width:7%}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(2){width:33%}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(3){width:20%}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(4){width:20%}
.nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(5){width:20%}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-call{
  font-size:13px;font-weight:900;color:#294b40;padding:7px 2px
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-name{
  padding:8px 6px;text-align:start
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-name b{
  display:block;color:#17364d;font-size:13px;line-height:1.25;font-weight:900;overflow-wrap:anywhere
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-name small{
  display:block;margin-top:2px;color:#8b9994;font-size:8.8px;line-height:1.2;font-weight:600;overflow-wrap:anywhere
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell{
  padding:6px 5px;background:#fff
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell input{
  display:block;width:100%!important;height:38px!important;min-height:38px!important;
  box-sizing:border-box!important;margin:0 0 4px!important;padding:0 3px!important;
  border:1px solid #cfded8!important;border-radius:9px!important;background:#fff!important;
  color:#17364d!important;text-align:center!important;font-size:14px!important;font-weight:850!important;
  line-height:38px!important;outline:none!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell input:focus{
  border-color:#18855f!important;box-shadow:0 0 0 3px rgba(24,133,95,.1)!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell .prof-grade-absent{
  display:block;width:100%!important;min-width:0!important;height:27px!important;min-height:27px!important;
  padding:0 2px!important;margin:0!important;border-radius:8px!important;border:1px solid #e3e9e6!important;
  background:#f3f6f5!important;color:#6b7b75!important;font-size:9.5px!important;font-weight:850!important;box-shadow:none!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell .prof-grade-absent::before{display:none!important}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell.is-absent{background:#fff8f8}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell.is-absent input{
  background:#ffe9e9!important;border-color:#f3b8b8!important;color:#b93232!important;font-size:11px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell.is-absent .prof-grade-absent{
  background:#ffdede!important;border-color:#f0b1b1!important;color:#bd2f2f!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-average{
  padding:7px 4px;background:#f6fcf9
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-average>b{
  display:block;color:#126b4d;font-size:15px;line-height:1.2;font-weight:950;direction:ltr
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-average>b:not(:first-child){margin-top:2px}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-average small{
  display:block;margin-top:4px;color:#74877f;font-size:8px;font-weight:750
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-average strong{
  display:block;color:#355b4e;font-size:10px;line-height:1.2;direction:ltr
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-empty{
  padding:28px 10px!important;color:#71847d;font-size:12px
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-save-main{
  width:100%;min-height:52px;margin-top:11px;font-size:15px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-save-bar{
  display:grid!important;gap:3px!important;padding:9px 2px 0!important;margin-bottom:8px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-tools{
  margin-top:8px;border:1px solid #e0e9e5;border-radius:12px;background:#fbfdfc;overflow:hidden
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-tools summary{
  cursor:pointer;padding:10px 12px;color:#60766e;font-size:11px;font-weight:850
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-tools>div{
  display:flex;gap:6px;flex-wrap:wrap;padding:0 10px 10px
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-tools button{
  flex:1 1 130px;min-height:38px;padding:7px 9px!important;font-size:10.5px!important
}
@media(max-width:640px){
  .nataiji-professor-mode .prof-grade-reference{
    padding-inline:8px!important
  }
  .nataiji-professor-mode .prof-grade-reference .professor-reference-topbar{
    margin-bottom:7px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-simple-head{
    margin-bottom:9px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-simple-head h1{
    font-size:23px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-context-selectors{
    gap:7px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-context-selectors select{
    height:48px;font-size:13px;padding-inline:8px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-term-tabs{
    position:static!important;margin-bottom:8px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-term-tabs button{
    min-height:43px!important;font-size:11.5px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-absence-tip{
    margin:8px 0 9px;padding:9px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-absence-tip p{
    font-size:10.8px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th{
    font-size:10.5px;padding:8px 2px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(1){width:7%}
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(2){width:31%}
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(3){width:21%}
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(4){width:21%}
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(5){width:20%}
  .nataiji-professor-mode .prof-grade-reference .prof-grade-table-name{
    padding:7px 4px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-table-name b{
    font-size:12px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-table-name small{
    font-size:8px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-cell{
    padding:5px 3px
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-cell input{
    height:36px!important;min-height:36px!important;line-height:36px!important;font-size:13px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-cell .prof-grade-absent{
    height:26px!important;min-height:26px!important;font-size:9px!important
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-table-average>b{
    font-size:13px
  }
}
@media(max-width:380px){
  .nataiji-professor-mode .prof-grade-reference .prof-grade-context-selectors{
    grid-template-columns:1fr
  }
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(2){width:30%}
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(3),
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(4){width:21.5%}
  .nataiji-professor-mode .prof-grade-reference .prof-grade-compact-table th:nth-child(5){width:20%}
  .nataiji-professor-mode .prof-grade-reference .prof-grade-table-name b{font-size:11.5px}
}


/* Professor simplification pass v46 — scoped only to professor workspace */

/* Grades page: tighter class groups and subject cards. */
.nataiji-professor-mode .prof-grades-reference .prof-grades-head-simple{
  align-items:center!important;
  padding:14px 15px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-grades-head-simple>div:first-child{
  display:block!important
}
.nataiji-professor-mode .prof-grades-reference .prof-grades-head-simple h1{
  margin:0 0 4px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-class-group-compact{
  gap:9px!important;
  padding:11px!important;
  margin-bottom:10px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-class-subject-head{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  padding:0!important
}
.nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-luxe-class-title{
  display:block!important
}
.nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-luxe-class-title small{
  font-size:9.5px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-luxe-class-title h2{
  font-size:20px!important;
  line-height:1.15!important;
  margin:1px 0 3px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-luxe-class-title p{
  font-size:9.5px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-class-subject-head>button{
  width:auto!important;
  min-height:38px!important;
  padding:7px 10px!important;
  font-size:10px!important;
  border-radius:11px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-class-subject-head>button>span{
  width:21px!important;height:21px!important;font-size:14px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact{
  gap:7px!important;
  padding:10px!important;
  border-radius:15px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-luxe-subject-identity{
  grid-template-columns:44px minmax(0,1fr) auto!important;
  gap:9px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-subject-icon{
  width:42px!important;height:42px!important;min-width:42px!important;
  border-radius:12px!important;font-size:18px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-luxe-subject-copy{
  gap:4px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact h3{
  font-size:17px!important;
  line-height:1.2!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-card-eyebrow{
  gap:4px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-card-eyebrow em{
  min-height:21px!important;
  padding:3px 6px!important;
  font-size:8px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-average{
  font-size:18px!important;
  color:#0b6d5c!important;
  white-space:nowrap!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-average span:last-child{
  font-size:.55em!important;color:#75888e!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-meta{
  margin:0!important;
  font-size:9px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-progress{
  height:4px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-luxe-subject-actions{
  grid-template-columns:1.45fr .8fr!important;
  gap:6px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-luxe-subject-actions>button{
  min-height:38px!important;
  padding:7px 8px!important;
  font-size:9.8px!important;
  border-radius:11px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-open-grade{
  background:#0d8469!important;
  border-color:#0d8469!important;
  color:#fff!important;
  box-shadow:0 5px 12px rgba(13,132,105,.12)!important
}
.nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-list-action{
  background:#fffdf8!important;
  color:#735d28!important;
  border-color:#dfc873!important
}

/* Assignment modal: clearly separate "existing class" and "new class". */
.nataiji-professor-mode .prof-assignment-modal .professor-modal-card{
  width:min(560px,100%)!important
}
.nataiji-professor-mode .prof-assignment-mode{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px
}
.nataiji-professor-mode .prof-assignment-mode button{
  min-height:45px!important;
  padding:8px 10px!important;
  background:#f7faf9!important;
  color:#5f756d!important;
  border-color:#dbe6e2!important
}
.nataiji-professor-mode .prof-assignment-mode button.on{
  background:#e8f7f1!important;
  color:#0a745f!important;
  border-color:#8fcbbb!important;
  box-shadow:inset 0 0 0 1px rgba(10,116,95,.08)!important
}
.nataiji-professor-mode .prof-assignment-explain{
  padding:9px 11px!important
}
.nataiji-professor-mode .prof-assignment-explain b{
  font-size:12px!important
}
.nataiji-professor-mode .prof-assignment-explain p{
  font-size:10.5px!important;
  line-height:1.45!important
}
.nataiji-professor-mode .prof-assignment-modal #pv2NewClassFields{
  display:grid;
  gap:12px
}

/* Grade-entry table: preserve touch comfort but reduce wasted vertical space. */
.nataiji-professor-mode .prof-grade-reference .prof-grade-absence-tip{
  grid-template-columns:26px 1fr!important;
  padding:8px 9px!important;
  margin:7px 0 8px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-absence-tip>span{
  width:24px!important;height:24px!important;font-size:13px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-absence-tip p{
  font-size:10.5px!important;
  line-height:1.4!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell{
  padding:4px 3px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell input{
  height:34px!important;min-height:34px!important;line-height:34px!important;
  margin-bottom:3px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-cell .prof-grade-absent{
  height:24px!important;min-height:24px!important
}
.nataiji-professor-mode .prof-grade-reference .prof-grade-table-name{
  padding-block:6px!important
}

/* Reports page: remove repetition and decorative overload. */
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-simple{
  grid-template-columns:1fr 1fr!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-simple button{
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  gap:2px!important;
  min-height:54px!important;
  text-align:center!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-simple button>b{
  font-size:12.2px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-switcher-simple button>small{
  font-size:9px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button{
  gap:0!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple{
  gap:7px!important;
  padding:10px 11px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple .prof-report-card-top{
  display:block!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple .prof-report-card-top small{
  font-size:9.5px!important;
  color:#18856d!important;
  font-weight:850!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple .prof-report-card-top h3{
  font-size:18px!important;
  margin-top:2px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple .prof-report-class-subjects{
  gap:4px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple .prof-report-class-subjects span{
  min-height:26px!important;
  padding:4px 7px!important;
  gap:4px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple .prof-report-class-subjects span b{
  font-size:10px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple .prof-report-class-subjects span small{
  font-size:9px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple>button{
  width:auto!important;
  justify-self:stretch!important;
  min-height:38px!important;
  padding:7px 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple>button>b{
  font-size:10.8px!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-class-subject-head{
    grid-template-columns:1fr auto!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-class-group-compact .prof-class-subject-head>button{
    width:auto!important;
    min-height:36px!important;
    font-size:9.5px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact{
    padding:9px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-luxe-subject-identity{
    grid-template-columns:40px minmax(0,1fr) auto!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-subject-icon{
    width:38px!important;height:38px!important;min-width:38px!important;font-size:17px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact h3{
    font-size:16px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-subject-card-average{
    font-size:16.5px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-subject-card-compact .prof-luxe-subject-actions>button{
    min-height:36px!important
  }
  .nataiji-professor-mode .prof-assignment-mode{
    grid-template-columns:1fr!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-switcher-simple button{
    min-height:50px!important
  }
  .nataiji-professor-mode .prof-reports-reference .prof-report-class-card-simple .prof-report-class-subjects span{
    min-height:25px!important;
    padding:3px 6px!important
  }
}


/* Professor workflow simplification v47 */
/* Strictly scoped to professor pages/modals. Teacher/director UI is untouched. */
.nataiji-professor-mode .prof-grades-reference .prof-compact-class-group{
  gap:9px!important;padding:11px!important;margin-bottom:10px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-class-group .prof-class-subject-head{
  grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-class-group .prof-class-subject-head>button{
  width:auto!important;min-height:38px!important;padding:7px 10px!important;font-size:10.5px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-class-group .prof-class-subject-head>button>span{
  width:21px!important;height:21px!important;font-size:14px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-shared-class-badge{
  display:inline-flex!important;vertical-align:middle!important;margin-inline-start:6px!important;
  padding:4px 7px!important;border-radius:999px!important;background:#dff4ec!important;
  color:#08745f!important;font-size:9px!important;font-style:normal!important;font-weight:900!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card{
  gap:7px!important;padding:10px 11px!important;border-radius:16px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card .prof-luxe-subject-identity{
  grid-template-columns:44px minmax(0,1fr)!important;gap:9px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card .prof-subject-icon{
  width:42px!important;height:42px!important;min-width:42px!important;border-radius:12px!important;font-size:18px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card .prof-luxe-subject-copy{
  gap:4px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card h3{
  font-size:17px!important;line-height:1.18!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card .prof-card-eyebrow em{
  min-height:21px!important;padding:3px 7px!important;font-size:8.7px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card .prof-card-meta.compact{
  margin-top:1px!important;font-size:9.2px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card .prof-card-meta.compact strong{
  font-size:18px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card .prof-progress.compact{
  height:3px!important;margin:0!important;opacity:.72!important
}
.nataiji-professor-mode .prof-grades-reference .prof-luxe-subject-actions.compact-actions{
  grid-template-columns:minmax(0,1.55fr) minmax(0,.9fr)!important;gap:6px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-luxe-subject-actions.compact-actions>button{
  min-height:38px!important;padding:7px 8px!important;font-size:10.5px!important
}
.nataiji-professor-mode .prof-grades-reference .prof-luxe-subject-actions.compact-actions .primary-card-action{
  order:1!important;background:#0b8067!important;color:#fff!important;border-color:#0b8067!important;
  box-shadow:0 5px 13px rgba(8,116,95,.12)!important
}
.nataiji-professor-mode .prof-grades-reference .prof-luxe-subject-actions.compact-actions .secondary-card-action{
  order:2!important;background:#fffdf7!important;color:#6c5825!important;border-color:#ddc778!important
}

/* Cleaner add-subject / create-class flow. */
.nataiji-professor-mode .prof-assignment-modal .professor-modal-card{
  width:min(560px,100%)!important
}
.nataiji-professor-mode .prof-assignment-modal .professor-modal-body{
  gap:10px!important
}
.nataiji-professor-mode .prof-assignment-modal .prof-assignment-mode{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;
  padding:5px!important;border-radius:14px!important;background:#eef6f3!important
}
.nataiji-professor-mode .prof-assignment-modal .prof-assignment-mode button{
  min-height:42px!important;border:0!important;background:transparent!important;color:#60766e!important;
  box-shadow:none!important;font-size:11px!important
}
.nataiji-professor-mode .prof-assignment-modal .prof-assignment-mode button.on{
  background:#0d8068!important;color:#fff!important;box-shadow:0 5px 12px rgba(13,128,104,.12)!important
}
.nataiji-professor-mode .prof-assignment-modal .prof-assignment-help{
  padding:9px 11px!important
}
.nataiji-professor-mode .prof-assignment-modal .prof-assignment-help p{
  margin:0!important;font-size:10.5px!important;line-height:1.5!important
}
.nataiji-professor-mode .prof-assignment-modal label small{
  color:#7b8c86!important;font-size:9.5px!important;font-weight:600!important
}
.nataiji-professor-mode .prof-assignment-modal #pv2SaveAssignment{
  min-height:48px!important;margin-top:2px!important
}

/* Reports: top switcher is the only section switch; remove visual duplication. */
.nataiji-professor-mode .prof-reports-reference .prof-reports-content{
  gap:9px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-term-tabs button{
  gap:0!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium{
  padding:10px 11px!important;gap:7px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top{
  grid-template-columns:38px minmax(0,1fr)!important;gap:8px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top .prof-report-subject-icon{
  width:36px!important;height:36px!important;min-width:36px!important;padding:8px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top h3{
  font-size:18px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-card-top small{
  font-size:10px!important;color:#6f857e!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects{
  gap:4px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-subjects span{
  min-height:27px!important;padding:4px 7px!important
}
.nataiji-professor-mode .prof-reports-reference .prof-report-class-card-premium>button{
  min-height:38px!important;padding:7px 11px!important
}

@media(max-width:640px){
  .nataiji-professor-mode .prof-grades-reference .prof-compact-class-group .prof-class-subject-head{
    grid-template-columns:minmax(0,1fr) auto!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-compact-class-group .prof-class-subject-head>button{
    width:auto!important;min-height:36px!important;padding:6px 9px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-luxe-class-title{
    grid-template-columns:36px minmax(0,1fr)!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-luxe-class-icon{
    width:34px!important;height:34px!important;min-width:34px!important;padding:8px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-luxe-class-title h2{
    font-size:19px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card{
    padding:9px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card .prof-subject-icon{
    width:40px!important;height:40px!important;min-width:40px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-compact-subject-card h3{
    font-size:16.5px!important
  }
  .nataiji-professor-mode .prof-grades-reference .prof-luxe-subject-actions.compact-actions>button{
    min-height:37px!important;font-size:10px!important
  }
  .nataiji-professor-mode .prof-assignment-modal{
    align-items:end!important;padding:0!important
  }
  .nataiji-professor-mode .prof-assignment-modal .professor-modal-card{
    width:100%!important;max-height:92dvh!important;border-radius:24px 24px 0 0!important
  }
  .nataiji-professor-mode .prof-assignment-modal .prof-assignment-mode button{
    font-size:10.5px!important
  }
}

/* Keep the final action reachable above native/PWA navigation on every professor view. */
@media screen{
 html.nataiji-professor-mode{scroll-padding-bottom:calc(150px + env(safe-area-inset-bottom,0px))}
 .nataiji-professor-mode #nataijiProfessorRoot .professor-shell{padding-bottom:calc(170px + env(safe-area-inset-bottom,0px))!important}
 .nataiji-professor-mode .professor-nav{bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}
 .nataiji-professor-mode .professor-shell button{scroll-margin-bottom:170px}
 .nataiji-professor-mode .prof-archive-action{grid-column:1/-1;min-height:44px;color:#8b3636!important;background:#fff!important;border:1px solid #e0baba!important;font-size:13px!important}
 .nataiji-professor-mode .prof-archive-panel,.nataiji-professor-mode .prof-collective-completion{background:#fff;border:1px solid #d2dfdc;border-radius:16px;padding:16px;margin:14px 0}
 .nataiji-professor-mode .prof-archive-panel summary{cursor:pointer;font-weight:700;min-height:44px}
 .nataiji-professor-mode .prof-archive-panel>div,.nataiji-professor-mode .prof-collective-completion p{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:8px 0}
 .nataiji-professor-mode .prof-archive-panel button{min-height:44px}
 .nataiji-professor-mode .prof-member-row{border:1px solid #d2dfdc;border-radius:12px;padding:14px;margin:12px 0}
 .nataiji-professor-mode .prof-member-row small{display:block;color:#526668;font-size:13px;line-height:1.6}
 .nataiji-professor-mode .prof-member-row button{min-height:44px;margin:4px;white-space:normal}
 .nataiji-professor-mode .prof-current-term{font-size:14px;font-weight:700;line-height:1.6;color:#204e53}
 .nataiji-professor-mode .prof-card-meta.compact>span,.nataiji-professor-mode .prof-luxe-class-title p{font-size:12px!important;color:#53696c!important}
 .nataiji-professor-mode .prof-compact-subject-card{padding:12px!important}
 .nataiji-professor-mode .prof-compact-subject-card .prof-luxe-subject-top{padding:6px!important}
 .nataiji-professor-mode .prof-compact-subject-card h3{font-size:17px!important;margin:5px 0!important}
}
@media screen{.nataiji-professor-mode .prof-class-subject-group .prof-assignment-list[hidden]{display:none!important}}

/* v49: Give the primary roster action a clear mobile tap target without
   changing professor roster ownership or the existing add-student handler. */
.nataiji-professor-mode #pv2AddStudent.prof-add-student{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  min-height:54px!important;padding:12px 19px!important;font-size:14px!important;font-weight:900!important;
  color:#fff!important;background:linear-gradient(135deg,#087d69,#079d7b)!important;
  border:1px solid #067e6c!important;box-shadow:0 8px 19px rgba(4,121,96,.26)!important;
  border-radius:15px!important;cursor:pointer;
}
.nataiji-professor-mode #pv2AddStudent.prof-add-student span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:0!important;font-size:25px!important;font-weight:900!important;line-height:1!important;
}
.nataiji-professor-mode #pv2AddStudent.prof-add-student:focus-visible{
  outline:3px solid #e2b44c!important;outline-offset:3px!important;
}
@media(max-width:700px){
  .nataiji-professor-mode .prof-student-roster-head{
    display:flex!important;flex-wrap:wrap!important;align-items:stretch!important;gap:9px!important;
  }
  .nataiji-professor-mode .prof-student-roster-head>div:first-child{
    flex:0 0 100%!important;width:100%!important;min-width:0!important;
  }
  .nataiji-professor-mode #pv2AddStudent.prof-add-student{
    order:1!important;flex:1 1 100%!important;width:100%!important;min-height:59px!important;
    font-size:15px!important;letter-spacing:0!important;white-space:normal!important;
  }
  .nataiji-professor-mode .prof-student-roster-head>button:not(#pv2AddStudent){
    order:2!important;flex:1 1 130px;min-height:44px;
  }
}


/* Guardian contact is intentionally prominent in the pupil editor. */
.nataiji-professor-mode .prof-student-family-panel{
 display:grid;gap:11px;padding:16px;margin:4px 0 8px;
 border:1px solid #b6dfd1;border-radius:17px;
 background:linear-gradient(145deg,#f0fbf6,#ffffff);direction:inherit;
}
.nataiji-professor-mode .prof-student-family-heading{
 display:flex;align-items:center;gap:11px;color:#12664f;
}
.nataiji-professor-mode .prof-student-family-icon{
 display:grid;place-items:center;flex:none;width:38px;height:38px;
 border-radius:12px;background:#d8f2e7;font-size:21px;
}
.nataiji-professor-mode .prof-student-family-heading h3{
 font-size:16px;line-height:1.35;margin:0 0 4px;color:#115f4e;
}
.nataiji-professor-mode .prof-student-family-heading small,
.nataiji-professor-mode .prof-student-family-note,
.nataiji-professor-mode .prof-student-family-status{
 display:block;font-size:12px;line-height:1.65;color:#536f69;
}
.nataiji-professor-mode .prof-student-family-note{margin:0}
.nataiji-professor-mode .prof-student-family-status:empty{display:none}
.nataiji-professor-mode .prof-student-family-status{margin:0;font-weight:650}
.nataiji-professor-mode .prof-student-family-consent{
 display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;color:#214b43;
}
.nataiji-professor-mode .prof-student-family-consent input[type=checkbox]{
 appearance:auto!important;flex:none;width:18px!important;height:18px!important;
 min-height:18px!important;margin:2px 0 0!important;padding:0!important;
 border-radius:4px!important;accent-color:#0a9071;
}
.nataiji-professor-mode .prof-student-family-panel #pv2GuardianPhone{
 width:100%;box-sizing:border-box;direction:ltr;text-align:left;
 background:#fff!important;
}
@media(max-width:600px){
 .nataiji-professor-mode .prof-student-family-panel{padding:13px;border-radius:15px}
 .nataiji-professor-mode .prof-student-family-heading h3{font-size:15px}
}
