.tf-open{overflow:hidden}.tf-overlay{position:fixed;inset:0;background:#f6f7f2;z-index:1500;overflow:auto;color:#203d37;font-family:BasraArabic,Tahoma,sans-serif}.tf-header{position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid #e1e7de;display:flex;align-items:center;justify-content:space-between;padding:20px 4%;gap:20px}.tf-header p{font-size:11px;color:#7a8d7d;margin:0 0 6px}.tf-header p span{padding:0 10px}.tf-header h1{font-size:24px;margin:0;line-height:1.6}.tf-head-actions{display:flex;gap:10px;align-items:center}.tf-overlay button,.tf-editor button{border:1px solid #dce4d6;padding:9px 16px;border-radius:8px;background:#fff;color:#36594b;font-family:inherit;font-size:12px;min-height:38px}.tf-overlay button:hover,.tf-editor button:hover{background:#eef4e8}.tf-overlay .tf-close{border:0;background:#f2f4ed;border-radius:50%;width:40px;height:40px;padding:0;font-size:25px}.tf-layout{display:grid;grid-template-columns:230px minmax(0,1fr);max-width:1600px;margin:auto}.tf-sidebar{padding:28px 22px;border-left:1px solid #e1e6da;display:flex;flex-direction:column;gap:18px;background:#fbfcf8}.tf-sidebar label{display:grid;gap:8px;font-size:11px;font-weight:700}.tf-sidebar select,.tf-sidebar input{font:inherit;color:#365c48;background:white;border:1px solid #dce5d5;padding:10px;width:100%;border-radius:7px;min-height:42px}.tf-sidebar form{display:grid;gap:9px}.tf-sidebar form button{background:none;border:0;padding:0;text-align:start;font-size:11px;color:#326e52}.tf-eyebrow{font-size:10px;letter-spacing:.3px;color:#769075;margin:0}.tf-student-meta{display:grid;gap:6px;border-block:1px solid #e4e8db;padding:17px 0;font-size:12px}.tf-student-meta span{font-size:11px;color:#8b9588}.tf-sidebar nav{display:grid;gap:7px}.tf-sidebar nav button{border:0;text-align:start;background:transparent;font-size:12px}.tf-sidebar nav button[aria-current]{background:#e7efdd;color:#2d633f;font-weight:700}.tf-note,.tf-method{font-size:10px;line-height:2;color:#8b9584}.tf-note{margin-top:auto}.tf-content{padding:30px;min-width:0;max-width:1280px}.tf-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.tf-section-title h2{font-size:23px;letter-spacing:-.5px;margin:5px 0}.tf-section-title p{font-size:12px;line-height:2;color:#85917f;margin:4px 0}.tf-overlay .tf-primary,.tf-editor .tf-primary{background:#205644;color:#fff;border-color:#205644}.tf-overlay .tf-primary:hover,.tf-editor .tf-primary:hover{background:#123e30}.tf-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:23px}.tf-stats article{border:1px solid #e2e7da;border-radius:12px;background:#fff;padding:19px 20px;display:grid;gap:5px}.tf-stats article>span{font-size:11px;color:#7e8d75}.tf-stats article>b{font-size:30px;font-weight:700;line-height:1.5}.tf-stats article small{font-size:9px;color:#9aa38f}.tf-stats .tf-highlight{background:#e9f0df;border-color:#d8e2cb}.tf-panel{padding:22px;background:white;border:1px solid #e2e7dc;border-radius:12px;margin-bottom:22px;min-width:0}.tf-panel h3{font-size:15px;margin:0 0 10px}.tf-panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.tf-panel-title h3{margin:0}.tf-panel-title>span{font-size:10px;color:#8e9986}.tf-table-wrap{overflow:auto}.tf-overlay table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:11px}.tf-overlay th,.tf-overlay td{padding:14px 9px;border-bottom:1px solid #edf0e6;text-align:center}.tf-overlay thead th{background:#f3f6ed;color:#7a8b6f;font-size:10px;font-weight:500}.tf-overlay tbody th{text-align:start;font-weight:500}.tf-exam-row{background:#faf6e9}.tf-rating{display:inline-block;border-radius:20px;padding:3px 8px;font-size:9px;background:#f1f4eb;color:#748568}.tf-rating-low{background:#fff0df;color:#ae7f44}.tf-alert-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#cb9962;margin-left:4px}.tf-overlay .tf-text-button{border:0;background:transparent;padding:3px 7px;color:#40785a;font-size:10px;min-height:30px}.tf-two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.tf-skill{display:grid;grid-template-columns:75px 1fr 30px;gap:14px;align-items:center;padding:11px 0;font-size:11px}.tf-skill [role=meter]{background:#f1f4eb;border-radius:6px;height:6px;overflow:hidden}.tf-skill i{height:100%;display:block;background:#91ae7c;border-radius:6px}.tf-skill b{font-size:12px;text-align:end}.tf-attendance{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:25px 0 15px}.tf-attendance>div{display:grid;gap:7px;text-align:center}.tf-attendance strong{font-size:25px;color:#4f7c5f}.tf-attendance span{font-size:10px;color:#9a9d87}.tf-family-status{border-top:1px dashed #e4e9d9;padding-top:20px;margin-top:15px;font-size:12px}.tf-family-status p{font-size:11px;color:#8c9984;line-height:1.9}.tf-observation{padding:15px 0;border-top:1px solid #edf0e6}.tf-observation>div{display:flex;align-items:center;justify-content:space-between;font-size:12px}.tf-observation span,.tf-observation small{font-size:9px;color:#8b9b7e}.tf-observation p,.tf-contact p{font-size:12px;color:#687c61;line-height:2}.tf-overlay .tf-private{background:#f8f4eb;padding:10px;border-right:2px solid #c7b890;color:#a38b64;font-size:10px}.tf-empty{font-size:12px;color:#8c9981;padding:25px 15px;line-height:2;text-align:center}.tf-method{margin-bottom:0}.tf-contact{padding:18px 0;border-bottom:1px solid #edf0e6}.tf-contact:first-child{padding-top:0}.tf-contact>div{display:flex;align-items:center;gap:14px;margin-bottom:12px}.tf-contact h3{font-size:14px}.tf-contact time{font-size:10px;color:#8d9b83}.tf-channel,.tf-sharing{font-size:9px;color:#739266}.tf-channel{background:#eff4e6;padding:4px 8px;border-radius:5px}.tf-sharing{margin-inline-start:auto}.tf-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.tf-plan-number{font-size:10px;color:#a7b19c}.tf-plan-grid h3{margin:12px 0}.tf-preserve{white-space:pre-wrap;font-size:12px;line-height:2;color:#7d8d72}.tf-profile{display:grid;grid-template-columns:1fr 1fr;gap:25px}.tf-profile dt{font-size:11px;color:#9ba58f}.tf-profile dd{margin:9px 0;font-size:14px}.tf-error{padding:15px;background:#fff3e8;color:#9f6c39;border-radius:8px;font-size:12px;line-height:2}.tf-loading{padding:50px;color:#8a9d7d;text-align:center;font-size:13px}.tf-editor{padding:26px;border:1px solid #dce4d1;border-radius:15px;width:min(620px,94vw);max-height:90vh;overflow:auto;color:#2b4c3a;background:#fffefb;z-index:1600;font:inherit}.tf-editor::backdrop{background:#102e26a6}.tf-editor form{display:grid;gap:16px}.tf-editor header{display:flex;justify-content:space-between;align-items:center;position:sticky;top:-26px;background:#fffefb;padding:5px 0 12px;z-index:2}.tf-editor header h2{font-size:20px;margin:0}.tf-editor header button{border:0;font-size:24px;padding:0 10px}.tf-editor h4{font-size:13px;margin:0}.tf-field{display:grid;gap:8px;font-size:11px}.tf-field input,.tf-field textarea,.tf-field select{font:inherit;background:#fcfdf8;border:1px solid #dce5d4;color:#3a6046;padding:10px;border-radius:6px;min-height:42px;width:100%}.tf-field textarea{resize:vertical;line-height:1.8}.tf-fields-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.tf-checkbox{display:flex;align-items:center;gap:10px;font-size:11px;line-height:2}.tf-checkbox input{width:17px;height:17px;accent-color:#3b7454}.tf-editor footer{display:flex;gap:10px;border-top:1px solid #edf0e3;padding-top:20px;margin-top:7px}
@media(max-width:1000px){.tf-layout{grid-template-columns:195px minmax(0,1fr)}.tf-content{padding:22px}.tf-stats{grid-template-columns:repeat(2,1fr)}.tf-two-col{grid-template-columns:1fr}}@media(max-width:680px){.tf-header{padding:15px 20px}.tf-header h1{font-size:19px}.tf-header p{font-size:10px}.tf-head-actions>button{font-size:10px;padding:7px}.tf-layout{display:block}.tf-sidebar{padding:20px;border-left:0;border-bottom:1px solid #e0e5d6;display:grid;grid-template-columns:1fr 1fr;gap:12px}.tf-sidebar>.tf-eyebrow,.tf-note,.tf-student-meta{display:none}.tf-sidebar nav{grid-column:1/-1;display:flex;overflow:auto;white-space:nowrap}.tf-sidebar nav button{font-size:10px;padding:8px 12px}.tf-sidebar label{font-size:10px}.tf-sidebar form{gap:3px}.tf-sidebar form button{min-height:20px;font-size:9px}.tf-content{padding:22px 15px}.tf-section-title{align-items:start;margin-bottom:20px}.tf-section-title h2{font-size:19px}.tf-section-title p{font-size:11px}.tf-section-title .tf-primary{font-size:10px;padding:8px 10px;white-space:nowrap}.tf-panel{padding:16px}.tf-stats{gap:10px}.tf-stats article{padding:14px}.tf-stats article>span{font-size:10px}.tf-stats article>b{font-size:27px}.tf-plan-grid{grid-template-columns:1fr}.tf-profile{grid-template-columns:1fr}}
@media print{body.tf-open #teacher-app,body.tf-open #teacher-auth,body.tf-open>.ta-credentials{display:none!important}body.tf-open{overflow:visible;background:white}.tf-overlay{position:static;overflow:visible;background:white}.tf-header{position:static;padding:10px 0 20px}.tf-head-actions,.tf-sidebar,.tf-no-print,.tf-section-title>button{display:none!important}.tf-layout{display:block}.tf-content{padding:20px 0;max-width:none}.tf-panel{break-inside:avoid;padding:15px;border-color:#bfcbb8}.tf-stats{gap:8px}.tf-stats article{padding:10px}.tf-stats article>b{font-size:22px}.tf-overlay th,.tf-overlay td{font-size:9px;padding:9px 6px}.tf-table-wrap{overflow:visible}.tf-two-col{gap:15px}.tf-section-title h2{font-size:21px}.tf-editor{display:none!important}@page{size:A4;margin:12mm}}
@media print{body.tf-open>.tf-overlay{display:block!important}body.tf-open>#tw-print{display:none!important}}
.tf-overlay :focus-visible,.tf-editor :focus-visible{outline:3px solid #bb9958;outline-offset:3px}
.tf-record-template form{display:flex;align-items:end;gap:15px}.tf-record-template .tf-field{flex:1}.tf-record-template select{min-height:43px;padding:10px;border:1px solid #dce4d4;border-radius:7px;background:#fcfdf8;color:#34573f;font:inherit;width:100%}.tf-rubric-results{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.tf-rubric-results>div{background:#f6f8ef;padding:15px;border-radius:7px;display:grid;gap:12px}.tf-rubric-results span{font-size:10px;line-height:1.8;color:#7d8e70}.tf-rubric-results strong{font-size:22px}.tf-rubric-results small{font-size:11px;color:#9aa48c}@media(max-width:680px){.tf-record-template form{display:grid;gap:12px}.tf-rubric-results{grid-template-columns:1fr 1fr}}

@media screen {
  .tf-overlay{background:radial-gradient(ellipse at 10% 0,#eaf0ff,transparent 40%),#f4f7fc;color:#29415f}
  .tf-header{background:#ffffffed;backdrop-filter:blur(12px);border-top:3px solid #6e62bc;border-bottom-color:#dce5f4;box-shadow:0 3px 16px #2c457406}
  .tf-header h1{color:#2c4165}.tf-header p{color:#7a8daa}.tf-header p span{color:#a7b6cb}
  .tf-sidebar{background:linear-gradient(180deg,#fff,#f6f8ff);border-left-color:#e0e7f3}.tf-eyebrow{color:#6d67aa;font-weight:650}
  .tf-sidebar nav button{color:#667c9b;transition:background-color .18s,color .18s}.tf-sidebar nav button[aria-current]{color:#63539e;background:#efebfb;box-shadow:inset -3px 0 #8b74c8}
  .tf-sidebar nav button:hover{background:#edf3fc;color:#4f6fa4}.tf-student-meta{border-color:#e3eaf6;color:#355373}.tf-student-meta span{color:#7a8fa9}
  .tf-sidebar select,.tf-sidebar input,.tf-record-template select,.tf-field input,.tf-field textarea,.tf-field select{background:#fcfdff;border-color:#d8e2f1;color:#3b5678;transition:border-color .18s,box-shadow .18s}
  .tf-sidebar form button{color:#4b6da1}.tf-section-title h2,.tf-panel h3{color:#2d4669}.tf-section-title p,.tf-note,.tf-method{color:#7387a3}
  .tf-overlay button,.tf-editor button{border-color:#d8e3f2;color:#4d7196;transition:background-color .18s,border-color .18s,box-shadow .18s}
  .tf-overlay button:hover,.tf-editor button:hover{background:#edf5fc;border-color:#bacee7}
  .tf-overlay .tf-primary,.tf-editor .tf-primary{background:#6a58ad;border-color:#6a58ad;color:#fff;box-shadow:0 3px 8px #7462ad20}
  .tf-overlay .tf-primary:hover,.tf-editor .tf-primary:hover{background:#584897;border-color:#584897}.tf-overlay .tf-close{background:#edf1fb;color:#657ca4}
  .tf-stats article{--tf-accent:#21828e;background:linear-gradient(135deg,#fff,#eaf8f9);border-color:#cee8ee;border-radius:13px;box-shadow:0 4px 12px #2c497608;transition:transform .2s,box-shadow .2s}
  .tf-stats article:nth-child(2){--tf-accent:#b67a22;background:linear-gradient(135deg,#fff,#fff4e1);border-color:#f0dfbf}
  .tf-stats article:nth-child(3){--tf-accent:#7655b3;background:linear-gradient(135deg,#fff,#f0ebff);border-color:#e2d9f5}
  .tf-stats article:nth-child(4){--tf-accent:#3d76bd;background:linear-gradient(135deg,#fff,#eaf1ff);border-color:#d5e2f8}
  .tf-stats article>b{color:var(--tf-accent)}.tf-stats article>span{color:#667d9b}.tf-stats article small{color:#7d90aa}
  .tf-panel{border-color:#dfe7f3;border-radius:13px;box-shadow:0 4px 14px #2f4a7606}.tf-panel-title>span{color:#7b8fab}
  .tf-record-template{border-inline-start:4px solid #8d74c8;background:linear-gradient(100deg,#fff,#fbf9ff)}
  .tf-overlay thead th{background:#f0f4fd;color:#637b9e}.tf-overlay th,.tf-overlay td{border-color:#e8eef8}.tf-overlay tbody tr:hover{background:#f0f7fe}.tf-exam-row{background:#fff6e9}
  .tf-rating{background:#edf4fc;color:#527bac}.tf-rating-low{background:#fff0db;color:#a27326}.tf-alert-dot{background:#d59935}
  .tf-overlay .tf-text-button{color:#7060ae}.tf-overlay .tf-text-button:hover{background:#f1edfb}
  .tf-skill [role=meter]{background:#eaf0f8}.tf-skill i{background:linear-gradient(90deg,#65a7c4,#65b8b7)}
  .tf-skill:nth-child(3n) i{background:linear-gradient(90deg,#8e77c7,#b39ade)}.tf-skill:nth-child(3n+1) i{background:linear-gradient(90deg,#d0a253,#ebc27a)}
  .tf-attendance>div{padding:11px 4px;background:#f1f7fb;border-radius:9px}.tf-attendance strong{color:#398399}.tf-attendance span{color:#718aa0}
  .tf-attendance>div:nth-child(2){background:#fff0f3}.tf-attendance>div:nth-child(2) strong{color:#ba6680}.tf-attendance>div:nth-child(3){background:#fff5e5}.tf-attendance>div:nth-child(3) strong{color:#b58940}
  .tf-family-status,.tf-observation,.tf-contact{border-color:#e7edf7}.tf-family-status p,.tf-observation p,.tf-contact p,.tf-preserve{color:#657f9e}
  .tf-observation span,.tf-observation small,.tf-contact time,.tf-sharing{color:#7d90ac}.tf-channel{color:#6b5aa4;background:#f0ebfb}
  .tf-overlay .tf-private{background:#fff6e8;border-right-color:#d5ad62;color:#94733f}
  .tf-plan-grid>section:nth-child(4n+1){border-top:3px solid #5ba9ad}.tf-plan-grid>section:nth-child(4n+2){border-top:3px solid #8a74c5}.tf-plan-grid>section:nth-child(4n+3){border-top:3px solid #d0a158}.tf-plan-grid>section:nth-child(4n){border-top:3px solid #c17c94}
  .tf-plan-number{color:#8e9fbb}.tf-profile dt{color:#7d91ac}.tf-profile dd{color:#385a7e}.tf-empty,.tf-loading{color:#7b91ad}
  .tf-rubric-results>div{background:#edf5fc;border:1px solid #ddeaf8;border-radius:9px}.tf-rubric-results>div:nth-child(3n+2){background:#f2eefb;border-color:#e6def6}.tf-rubric-results>div:nth-child(3n){background:#fff5e7;border-color:#f3e5cb}
  .tf-rubric-results span{color:#6b82a0}.tf-rubric-results strong{color:#436f9d}.tf-rubric-results>div:nth-child(3n+2) strong{color:#7c5caf}.tf-rubric-results>div:nth-child(3n) strong{color:#ae823b}
  .tf-editor{background:#fff;border-color:#d9e3f2;box-shadow:0 24px 90px #243f6338;color:#3b587b}.tf-editor::backdrop{background:#213a5a80;backdrop-filter:blur(3px)}.tf-editor header{background:#fff;border-bottom:1px solid #e6edf8}.tf-editor footer{border-color:#e6edf8}
  .tf-field input:focus,.tf-field textarea:focus,.tf-field select:focus{border-color:#8895cd;box-shadow:0 0 0 3px #edf0fc}.tf-checkbox input{accent-color:#7763b5}
  .tf-overlay :focus-visible,.tf-editor :focus-visible{outline:3px solid #65afd0;outline-offset:3px}
  .tf-overlay .tf-note,.tf-overlay .tf-method,.tf-overlay .tf-section-title p,.tf-overlay .tf-panel-title>span,.tf-overlay .tf-stats article>span,.tf-overlay .tf-stats article small,.tf-overlay .tf-observation span,.tf-overlay .tf-observation small,.tf-overlay .tf-contact time,.tf-overlay .tf-sharing,.tf-overlay .tf-family-status p,.tf-overlay .tf-rubric-results span,.tf-overlay .tf-empty,.tf-overlay .tf-loading{color:#5e728c}
}
@media screen and (hover:hover) and (pointer:fine){.tf-stats article:hover{transform:translateY(-2px);box-shadow:0 8px 20px #304e7920}}
@media screen and (max-width:680px){.tf-header{border-top-width:3px}.tf-sidebar{border-bottom-color:#dce6f4}.tf-attendance{gap:6px}.tf-attendance>div{padding:10px 3px}}
@media(prefers-reduced-motion:reduce){.tf-overlay *,.tf-editor *{transition:none!important;animation:none!important;scroll-behavior:auto!important}.tf-stats article:hover{transform:none!important}}
