.coaching-wrap,.coaching-portal{--co-primary:#166b57;--co-dark:#153b32;--co-border:#e4eae7;--co-muted:#64756d;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#20332d;max-width:1200px}.coaching-wrap{margin:24px 25px 35px 0}.coaching-portal{margin:30px auto;padding:0 18px}.coaching-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 28px}.coaching-head h1{font-size:31px;line-height:1.2;margin:6px 0;color:var(--co-dark);font-weight:750}.coaching-head p{color:var(--co-muted);margin:7px 0}.coaching-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.5px;color:var(--co-primary)}.coaching-pill{background:#e5f4ee;color:var(--co-primary);padding:8px 15px;border-radius:30px;font-weight:700;font-size:12px}.coaching-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.coaching-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:20px}.coaching-card,.coaching-panel{background:white;border:1px solid var(--co-border);border-radius:15px;box-shadow:0 5px 25px rgba(15,49,39,.035);padding:24px;margin-bottom:18px}.coaching-card{display:flex;flex-direction:column;gap:8px}.coaching-card .dashicons{color:var(--co-primary);font-size:25px;width:25px;height:25px}.coaching-card small{color:var(--co-muted);font-size:13px}.coaching-card strong{font-size:32px;color:var(--co-dark)}.coaching-panel h2{margin:0 0 17px;font-size:20px;font-weight:750;color:var(--co-dark)}.coaching-panel p{color:var(--co-muted);line-height:1.65}.coaching-panel label{display:block;font-size:12px;font-weight:700;color:#455d52;margin:15px 0 6px}.coaching-panel input:not([type=hidden]),.coaching-panel select,.coaching-panel textarea{box-sizing:border-box;width:100%;max-width:100%;padding:11px 12px;border:1px solid #d8e3dc;border-radius:8px;background:#fff;color:#20332d;min-height:43px}.coaching-panel select[multiple]{min-height:100px}.coaching-panel button.button-primary,.coaching-panel .coaching-btn,.coaching-btn{background:var(--co-primary)!important;color:white!important;border:0!important;border-radius:8px!important;padding:11px 18px!important;display:inline-block;text-decoration:none!important;cursor:pointer;font-size:13px;font-weight:700;margin-top:15px;line-height:1.4;height:auto}.coaching-secondary{background:#eaf3ee!important;color:var(--co-primary)!important}.coaching-tags{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}.coaching-tag{background:#edf5f0;color:#216e53;border-radius:30px;padding:6px 10px;font-size:12px;font-weight:700}.coaching-list{display:flex;flex-direction:column;gap:10px}.coaching-list-row{padding:13px 0;border-bottom:1px solid var(--co-border);display:flex;flex-direction:column;gap:5px}.coaching-list-row strong{color:var(--co-dark)}.coaching-list-row small{color:var(--co-muted)}.coaching-list-row form{margin-top:10px}.coaching-alert{background:#e7f6ee;border:1px solid #b6dfc7;color:#145a3c;padding:13px 17px;border-radius:9px;margin:15px 0}.coaching-login{max-width:480px;margin:70px auto}.coaching-login .coaching-panel{padding:35px}.coaching-login h2{font-size:26px;margin-top:10px}.coaching-login .coaching-btn{width:100%}.coaching-detail,.coaching-attendance-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--co-border);padding:13px 0}.coaching-detail span,.coaching-attendance-row small{color:var(--co-muted)}.coaching-attendance-row small{display:block;margin-top:3px}.coaching-attendance-row select{max-width:135px!important}.coaching-portal .coaching-panel form{margin:0}.coaching-wrap .widefat{border:0;box-shadow:none}.coaching-wrap .widefat th{font-weight:700}@media(max-width:760px){.coaching-grid{grid-template-columns:1fr}.coaching-stats{grid-template-columns:repeat(2,1fr)}.coaching-head h1{font-size:25px}.coaching-head{align-items:flex-start}.coaching-panel{padding:18px}.coaching-wrap{margin-right:10px}}

/* Mobile-friendly, accessible P/A attendance buttons. */
.coaching-attendance-help{font-size:13px;margin:-4px 0 18px!important}
.coaching-attendance-student{min-width:0;flex:1}
.coaching-pa-toggle{display:flex;gap:8px;flex-shrink:0}
.coaching-pa-option{position:relative;display:block!important;margin:0!important;cursor:pointer}
.coaching-pa-option input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.coaching-pa-option span{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:52px;height:48px;border:2px solid #d9e4dd;border-radius:12px;background:#f5f8f6;color:#53665b;font-size:17px;font-weight:800;transition:background .12s,border-color .12s,color .12s}
.coaching-pa-option input[value=present]:checked+span{background:#dcf7e7;border-color:#18845b;color:#09643d}
.coaching-pa-option input[value=absent]:checked+span{background:#ffebe9;border-color:#d74d4d;color:#a52e2e}
.coaching-pa-option input:focus-visible+span{outline:3px solid #357bc0;outline-offset:2px}
.coaching-pa-option span:active{transform:scale(.97)}
.coaching-save-attendance{min-height:48px;min-width:180px}
@media(max-width:480px){.coaching-attendance-row{gap:8px}.coaching-pa-toggle{gap:6px}.coaching-pa-option span{width:48px;height:48px}.coaching-attendance-student strong{font-size:14px}}

/* Paginated student directory */
.coaching-students-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 20px}.coaching-students-toolbar h2{font-size:22px;margin:0}.coaching-students-toolbar p{color:#68766e;margin:5px 0 0}.coaching-student-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:20px}.coaching-student-stats>div{padding:19px 22px;border:1px solid #e1e9e3;background:#fff;border-radius:14px}.coaching-student-stats span{display:block;color:#66786e;font-size:13px}.coaching-student-stats strong{display:block;color:#163e30;font-size:28px;margin-top:7px}.coaching-student-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:18px}.coaching-student-filters input[type=search]{flex:2 1 220px;max-width:none}.coaching-student-filters select{flex:1 1 145px;max-width:none}.coaching-student-filters .button{min-height:40px}.coaching-student-table{padding:0!important;overflow:hidden}.coaching-table-scroll{overflow-x:auto}.coaching-student-table table{border:0;min-width:610px}.coaching-student-table th,.coaching-student-table td{padding:15px 16px!important;vertical-align:middle}.coaching-student-table td small{display:block;color:#718077;margin-top:3px}.coaching-count{display:inline-block;background:#e8f4ec;border-radius:20px;padding:4px 11px;color:#276244;font-weight:700}.coaching-student-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 20px}.coaching-student-pagination>div{display:flex;align-items:center;gap:8px}.coaching-student-editor{max-width:850px}.coaching-back{display:inline-block;margin-bottom:14px}.coaching-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.coaching-student-editor input,.coaching-student-editor select,.coaching-student-editor textarea{width:100%;max-width:none}.coaching-student-editor select[multiple]{height:180px}@media(max-width:680px){.coaching-students-toolbar{align-items:flex-start}.coaching-edit-grid{grid-template-columns:1fr}.coaching-student-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.coaching-student-filters>*{width:100%;flex:1 1 100%}.coaching-student-pagination{align-items:flex-start}}

/* Teacher directory status */
.coaching-status{display:inline-block;padding:5px 11px;border-radius:30px;font-size:12px;font-weight:700}.coaching-status.is-active{background:#e6f5ec;color:#176b43}.coaching-status.is-inactive{background:#fff0eb;color:#a94330}
/* Learning center */
.coaching-learning{margin-top:28px}.coaching-learning-heading h2{font-size:26px;color:#163e30;margin:0 0 4px}.coaching-learning-heading p{color:#66786e;margin:0 0 20px}.coaching-learning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.coaching-learning-section{min-width:0}.coaching-learning-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e7eee9;padding-bottom:13px}.coaching-learning-section-head h3{margin:0;font-size:19px;color:#173f30}.coaching-learning-item{padding:18px 0;border-bottom:1px solid #e8eee9}.coaching-learning-item:last-child{border-bottom:0}.coaching-learning-item h4{font-size:17px;color:#173f30;margin:0 0 5px}.coaching-learning-item small{color:#75867c}.coaching-learning-content{line-height:1.7;color:#394c42;overflow-wrap:anywhere}.coaching-learning-date{font-size:13px;font-weight:700;color:#276244}.coaching-learning-empty{color:#708177;padding:14px 0}.coaching-learning-form{display:flex;flex-direction:column;gap:10px;margin-top:16px;padding:15px;border-radius:12px;background:#f5faf6}.coaching-learning-form textarea{width:100%;box-sizing:border-box;min-height:85px}.coaching-learning-form input[type=file]{width:100%;max-width:100%}.coaching-learning-form .coaching-btn{align-self:flex-start}.coaching-learning-submitted{background:#e5f5e9;border-radius:9px;padding:10px;color:#20663e;font-weight:700;margin-top:10px}@media(max-width:780px){.coaching-learning-grid{grid-template-columns:1fr}.coaching-learning-section{padding:18px}.coaching-learning-form .coaching-btn{width:100%;text-align:center}}

/* Coaching 2.0.8 — student portal redesign */
.coaching-student-v2{max-width:1180px;color:#173c31}.coaching-student-hero{background:linear-gradient(115deg,#104c3d,#19755b);border-radius:24px;padding:38px 42px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;color:#fff;margin-bottom:18px}.coaching-student-hero .coaching-eyebrow{color:#bce9d4}.coaching-student-hero h1{font-size:clamp(25px,3vw,38px);line-height:1.18;color:#fff;margin:10px 0}.coaching-student-hero p{color:#d8f1e5;margin:0 0 22px}.coaching-hero-meta{display:flex;flex-wrap:wrap;gap:8px}.coaching-hero-meta span{background:#ffffff21;border:1px solid #ffffff3a;border-radius:30px;padding:7px 13px;font-size:12px;font-weight:700}.coaching-hero-art{font-size:110px;color:#ffffff30;line-height:1;padding:0 25px}.coaching-student-nav{display:flex;gap:7px;overflow-x:auto;padding:7px;background:#f0f6f2;border-radius:13px;margin-bottom:22px;scrollbar-width:thin}.coaching-student-nav a{flex-shrink:0;text-decoration:none;color:#375e4d;padding:10px 15px;border-radius:9px;font-size:13px;font-weight:700}.coaching-student-nav a.is-current,.coaching-student-nav a:hover{background:#fff;color:#146448;box-shadow:0 2px 8px #103f2310}.coaching-student-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:28px}.coaching-student-summary>div{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e0e9e2;border-radius:17px;padding:20px 23px;box-shadow:0 5px 18px #123f2c08}.coaching-student-summary small,.coaching-student-summary span:last-child{color:#698074;font-size:12px}.coaching-student-summary strong{font-size:29px;line-height:1.2;color:#173e30}.coaching-summary-icon{font-size:23px;color:#15815a;margin-bottom:3px}.coaching-student-intro{margin:4px 0 15px}.coaching-student-intro h2{margin:5px 0 4px;font-size:23px;color:#173e30}.coaching-student-intro p{margin:0;color:#738579;font-size:14px}.coaching-student-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:23px}.coaching-student-shortcuts a{display:flex;flex-direction:column;gap:7px;background:#f7fbf8;border:1px solid #dcebe1;border-radius:16px;padding:20px;text-decoration:none;color:#153e2e;transition:transform .15s,border-color .15s}.coaching-student-shortcuts a:hover{transform:translateY(-2px);border-color:#8dc4a4}.coaching-student-shortcuts strong{font-size:15px}.coaching-student-shortcuts small{font-size:12px;color:#708478}.coaching-shortcut-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e0f2e7;color:#116f4e;font-size:24px}.coaching-student-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.coaching-student-v2 .coaching-panel{border-radius:17px}.coaching-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.coaching-section-heading h2{margin:5px 0 0}.coaching-mini-count{font-size:12px;color:#1d7653;background:#e6f4ea;padding:7px 10px;border-radius:30px;font-weight:700;white-space:nowrap}.coaching-student-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e9eee9;padding:14px 0}.coaching-student-item strong{font-size:14px}.coaching-item-dot{width:9px;height:9px;border-radius:50%;background:#31a36d;flex-shrink:0}.coaching-student-attendance{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e9eee9;padding:12px 0}.coaching-student-attendance strong{display:block;font-size:13px}.coaching-student-attendance small{display:block;color:#77887e;margin-top:4px}.coaching-status{font-size:12px;font-weight:750;padding:7px 10px;border-radius:30px}.coaching-status.is-present{background:#e0f5e8;color:#0d7547}.coaching-status.is-absent{background:#fff0ee;color:#bd4545}.coaching-empty{font-size:14px;color:#718378}.coaching-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.coaching-profile-grid>div{background:#f7faf8;padding:15px;border-radius:11px;overflow-wrap:anywhere}.coaching-profile-grid small{display:block;color:#75897b;margin-bottom:7px}.coaching-profile-grid strong{font-size:14px}.coaching-student-v2+ .coaching-portal{margin-top:0}@media(max-width:850px){.coaching-student-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.coaching-student-columns{grid-template-columns:1fr}}@media(max-width:560px){.coaching-student-hero{padding:26px 22px;border-radius:17px}.coaching-hero-art{display:none}.coaching-student-summary{gap:8px}.coaching-student-summary>div{padding:15px 11px}.coaching-student-summary strong{font-size:23px}.coaching-student-summary small{font-size:11px}.coaching-student-shortcuts a{padding:15px}.coaching-profile-grid{grid-template-columns:1fr}.coaching-student-v2{padding:0 12px}.coaching-student-nav a{padding:9px 12px}}

/* Separate student pages */
.coaching-student-pages .coaching-student-nav{flex-wrap:wrap;overflow:visible}
.coaching-student-pages .coaching-student-nav a{min-height:44px;box-sizing:border-box;display:flex;align-items:center}
.coaching-student-pages a:focus-visible{outline:3px solid #18845b;outline-offset:3px}
.coaching-learning-single{margin-top:0}
.coaching-learning-single .coaching-learning-heading{display:none}
.coaching-learning-single .coaching-learning-grid{grid-template-columns:1fr}
.coaching-student-pages .coaching-back{color:#166b57;font-size:13px;font-weight:700;text-decoration:none;margin:0 0 18px}
@media(max-width:560px){.coaching-student-pages .coaching-student-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.coaching-student-pages .coaching-student-nav a{white-space:normal;font-size:12px}.coaching-student-pages .coaching-student-attendance strong{overflow-wrap:anywhere}}

/* Coaching 2.1.0 — teacher image marking and student review */
.coaching-review-portal{max-width:1160px;margin:0 auto 36px;color:#193c2f}
.coaching-review-portal .coaching-student-hero{margin:15px 0 20px}
.coaching-teacher-homework-link{margin:0 0 18px}
.coaching-review-table-wrap{overflow-x:auto}
.coaching-review-table{width:100%;border-collapse:collapse;min-width:660px}
.coaching-review-table th,.coaching-review-table td{padding:13px 12px;border-bottom:1px solid #e5eee8;text-align:left;vertical-align:middle;font-size:14px}
.coaching-review-table th{color:#597265;background:#f6faf7;font-size:12px;letter-spacing:.02em}
.coaching-review-table td small{display:block;color:#7a8980;margin-top:3px}
.coaching-review-open{white-space:nowrap;display:inline-block;padding:9px 13px;font-size:12px}
.coaching-review-detail{margin-bottom:18px}
.coaching-review-answer{background:#f6faf7;border-radius:12px;padding:16px;overflow-wrap:anywhere;line-height:1.65}
.coaching-review-hint{color:#60796a;font-size:13px;line-height:1.55}
.coaching-marking h2{color:#183f30;margin:0 0 16px}
.coaching-mark-tools{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:14px}
.coaching-mark-tools button{border:1px solid #d2e2d6;background:#fff;color:#264d38;cursor:pointer;border-radius:10px;padding:11px 13px;font-size:13px;font-weight:700;min-height:44px}
.coaching-mark-tools button:hover,.coaching-mark-tools button.is-selected{background:#e4f4e9;border-color:#14805c;color:#116247}
.coaching-mark-tools button[data-tool=red]{color:#c52c36}
.coaching-mark-tools button[data-tool=black]{color:#17212b}
.coaching-mark-tools button[data-tool=red].is-selected{background:#ffedef;border-color:#d62b3d}
.coaching-mark-tools label{display:flex;align-items:center;gap:9px;padding:5px 9px;font-size:13px;font-weight:700;color:#31513d}
.coaching-mark-tools input[type=range]{accent-color:#197853;width:94px}
.coaching-mark-canvas-wrap{background:#e9eee9;border:1px solid #d3e0d6;border-radius:14px;padding:12px;overflow:auto;max-height:75vh;box-sizing:border-box}
.coaching-mark-canvas-wrap canvas{display:block;width:100%;max-width:none;height:auto;cursor:crosshair;touch-action:none;background:white;box-shadow:0 2px 12px #163b2a1c}
.coaching-review-form{margin-top:20px}
.coaching-review-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:15px;margin-bottom:15px}
.coaching-review-fields label{display:flex;flex-direction:column;gap:7px;color:#315241;font-size:13px;font-weight:700}
.coaching-review-fields textarea,.coaching-review-fields input{box-sizing:border-box;width:100%;border:1px solid #cddfd3;border-radius:10px;padding:12px;font:inherit;font-weight:400;min-height:46px;background:#fff}
.coaching-review-fields textarea{min-height:110px}
.coaching-review-save-status{display:inline-block;margin:8px 12px;color:#166f4b;font-weight:700;font-size:13px}
.coaching-review-save-status.is-error{color:#b52c3b}
.coaching-review-form .coaching-btn:disabled{opacity:.55;cursor:wait}
.coaching-student-feedback{border:1px solid #bcdcc8;border-radius:13px;padding:16px;margin:16px 0 10px;background:#f3faf5;color:#1d4632;line-height:1.6}
.coaching-student-feedback-title{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}
.coaching-student-feedback-title strong{font-size:17px}
.coaching-student-feedback-title span{font-size:12px;color:#5b806a}
.coaching-student-feedback p{margin:8px 0}
.coaching-marked-link{display:block;max-width:420px;margin-top:12px;text-decoration:none!important;color:#136644!important;font-weight:700}
.coaching-marked-link img{display:block;max-width:100%;width:100%;height:auto;max-height:350px;object-fit:contain;object-position:left;background:white;border:1px solid #cfe3d4;border-radius:10px;margin-bottom:8px}
@media(max-width:680px){.coaching-review-portal{padding:0 12px}.coaching-review-fields{grid-template-columns:1fr}.coaching-mark-canvas-wrap{padding:5px}.coaching-mark-tools{gap:6px}.coaching-mark-tools button{flex:1 1 auto;padding:10px}.coaching-mark-tools label{width:100%;justify-content:space-between}.coaching-review-form .coaching-btn{width:100%}}

/* Teacher publishing workspace */
.coaching-teacher-nav{display:flex;flex-wrap:wrap;gap:8px;background:#eef5f0;border:1px solid #e0eae3;padding:7px;border-radius:14px;margin:0 0 24px}
.coaching-teacher-nav a{display:flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:9px;font-size:13px;font-weight:700;text-decoration:none;color:#375e4d}
.coaching-teacher-nav a.is-current,.coaching-teacher-nav a:hover{background:#fff;color:#146448;box-shadow:0 2px 8px #103f2310}
.coaching-teacher-nav a:focus-visible,.coaching-teacher-batch-links a:focus-visible{outline:3px solid #18845b;outline-offset:2px}
.coaching-teacher-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:15px}
.coaching-teacher-actions .coaching-panel{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.coaching-teacher-actions h2{margin:18px 0 0;font-size:20px}
.coaching-teacher-actions p{font-size:14px;flex:1}
.coaching-teacher-batch-links,.coaching-teacher-resource-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.coaching-teacher-batch-links{margin-top:18px;padding-top:15px;border-top:1px solid #e4ece6}
.coaching-teacher-batch-links a,.coaching-teacher-resource-actions>a:not(.coaching-btn){color:#166b57;font-size:13px;font-weight:700;text-decoration:none}
.coaching-teacher-editor{max-width:900px;margin-left:auto;margin-right:auto}
.coaching-teacher-editor .coaching-back{display:inline-block;color:#166b57;margin-bottom:18px;font-weight:700;font-size:13px;text-decoration:none}
.coaching-teacher-editor textarea{line-height:1.7}
.coaching-teacher-resource .coaching-section-heading h2{margin:0;overflow-wrap:anywhere}
.coaching-teacher-resource p{overflow-wrap:anywhere}
.coaching-teacher-resource-actions .coaching-btn{margin-top:5px}
.coaching-resource-batch{font-size:13px;color:#166b57!important;font-weight:600}
.coaching-teacher-filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 20px}
.coaching-teacher-filter label{margin:0;flex-shrink:0}
.coaching-teacher-filter select{flex:1;min-width:180px;width:auto}
.coaching-teacher-filter .coaching-btn{margin-top:0}
@media(max-width:760px){.coaching-teacher-actions{grid-template-columns:1fr}.coaching-teacher-actions .coaching-panel{margin-bottom:0}.coaching-teacher-actions{margin-bottom:24px}.coaching-teacher-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.coaching-teacher-nav a{padding:10px 12px}.coaching-teacher-workspace .coaching-students-toolbar{flex-direction:column;align-items:flex-start}.coaching-teacher-filter select{width:100%;flex-basis:100%}.coaching-teacher-resource .coaching-section-heading{align-items:flex-start}.coaching-teacher-resource-actions .coaching-btn{width:100%;text-align:center}.coaching-teacher-resource-actions{gap:10px}}
