/* SureThing Kids Teacher Dashboard v2.6 — compact visual layer.
 * Kept separate from the base stylesheet so future dashboard tweaks can be made
 * without rewriting the underlying scheduling/workspace styles.
 */
.stktm-teacher-dashboard-page .entry-header,
.stktm-teacher-dashboard-page .page-header{margin-bottom:8px!important;padding-bottom:0!important}
.stktm-teacher-dashboard-page .entry-title,
.stktm-teacher-dashboard-page .page-title{margin:0 0 8px!important;line-height:1.1!important}
.stktm-teacher-dashboard-page .site-main,
.stktm-teacher-dashboard-page main{padding-top:8px}

.stktm-shell-v26{max-width:1180px;padding:14px;background:#f7f9fb;border:1px solid #e6ebef;border-radius:18px;color:#111827}
.stktm-shell-v26 h2,.stktm-shell-v26 h3,.stktm-shell-v26 h4{color:#172033}
.stktm-shell-v26 .stktm-dashboard-hero{min-height:auto;margin-bottom:10px;padding:12px 14px;background:#fff;color:#172033;border:1px solid #e2e8ee;border-radius:14px;box-shadow:0 2px 10px rgba(23,32,51,.04);overflow:visible}
.stktm-shell-v26 .stktm-dashboard-hero h2{margin:1px 0;font-size:25px;color:#172033}
.stktm-shell-v26 .stktm-hero-tick{display:none}
.stktm-shell-v26 .stktm-hero-copy{min-width:190px}
.stktm-shell-v26 .stktm-eyebrow{color:#147d78}
.stktm-shell-v26 .stktm-head-actions{gap:7px;flex:1}
.stktm-shell-v26 .stktm-head-actions>.stktm-button{min-height:36px;padding:7px 11px;border-radius:9px;font-size:12px}
.stktm-shell-v26 .stktm-button-aqua{background:#d9f7f4!important;border-color:#79d9d1!important;color:#172033!important}
.stktm-shell-v26 .stktm-button-light{background:#fff!important;border:1px solid #ccd8e1!important;color:#172033!important}

.stktm-utility-controls{display:flex;align-items:center;gap:6px;margin-left:auto;position:relative}
.stktm-utility-icon,.stktm-profile-menu>summary{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;margin:0;padding:0;border:1px solid #d1dbe3;border-radius:10px;background:#fff;color:#172033;cursor:pointer;list-style:none;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease}
.stktm-utility-icon:hover,.stktm-utility-icon:focus-visible,.stktm-profile-menu>summary:hover,.stktm-profile-menu>summary:focus-visible{background:#e6fbf9;border-color:#62d0c7;color:#147d78;outline:none;transform:translateY(-1px)}
.stktm-utility-icon svg,.stktm-profile-menu>summary svg,.stktm-assistance-button svg,.stktm-bell-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stktm-profile-menu{position:relative}
.stktm-profile-menu>summary::-webkit-details-marker{display:none}
.stktm-profile-menu-panel{position:absolute;right:0;top:46px;z-index:40;width:210px;padding:7px;background:#fff;border:1px solid #dfe6ec;border-radius:12px;box-shadow:0 16px 34px rgba(23,32,51,.16)}
.stktm-profile-menu:not([open]) .stktm-profile-menu-panel{display:none}
.stktm-profile-menu-panel a,.stktm-profile-menu-panel button{display:block;width:100%;margin:0;padding:9px 10px;border:0;border-radius:8px;background:transparent;color:#172033!important;text-align:left;text-decoration:none!important;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
.stktm-profile-menu-panel a:hover,.stktm-profile-menu-panel button:hover{background:#e8faf8;color:#106e68!important}
.stktm-profile-menu-panel .stktm-menu-logout{margin-top:5px;border-top:1px solid #edf1f4;border-radius:0 0 8px 8px;color:#7c2d2d!important}
.stktm-assistance-button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 11px;border:1px solid #b8d4ec;border-radius:10px;background:#eef6fd;color:#172033;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.stktm-assistance-button:hover,.stktm-assistance-button:focus-visible{background:#dff2ff;border-color:#7eb7e2;outline:none}

.stktm-shell-v26 .stktm-next-panel{margin:0 0 10px;padding:16px 18px;background:#172033;border:1px solid #172033;border-left:5px solid #78e4dc;border-radius:14px;box-shadow:0 5px 16px rgba(23,32,51,.10);color:#fff}
.stktm-shell-v26 .stktm-next-panel h3,.stktm-shell-v26 .stktm-next-panel p{color:#fff}
.stktm-shell-v26 .stktm-next-panel .stktm-eyebrow{color:#95fef9}
.stktm-shell-v26 .stktm-big-countdown{color:#95fef9}
.stktm-shell-v26 .stktm-next-identity .stktm-parent-first{color:#dce8f0;opacity:1}
.stktm-shell-v26 .stktm-next-actions{display:grid;grid-template-columns:auto auto auto;gap:7px;min-width:390px}
.stktm-shell-v26 .stktm-next-actions button,.stktm-shell-v26 .stktm-next-actions a{min-height:40px;padding:8px 10px;border-radius:9px;font-size:11px}
.stktm-bell-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #5fd8cf;background:#e8fffd;color:#172033;font:inherit;font-weight:800;cursor:pointer}
.stktm-bell-button.is-off{opacity:.62;background:#f1f3f5;border-color:#cfd6dc}
.stktm-shell-v26 .stktm-test-button{background:#fff;border-color:#d4e1e9;color:#172033}
.stktm-shell-v26 .stktm-open-lesson-button{background:#147d78;border-color:#47cfc6}

.stktm-shell-v26 .stktm-metrics-grid{gap:8px;margin-bottom:12px}
.stktm-shell-v26 .stktm-metric{min-height:72px;padding:10px 12px;border-radius:11px;border-color:#e2e8ee;box-shadow:none}
.stktm-shell-v26 .stktm-metric span,.stktm-shell-v26 .stktm-metric small{color:#525f70}
.stktm-shell-v26 .stktm-metric strong{font-size:20px}

.stktm-shell-v26 .stktm-section{margin:12px 0}
.stktm-shell-v26 .stktm-calendar-section,.stktm-shell-v26 .stktm-white-section{padding:14px;border-radius:14px;border-color:#e1e7ec;box-shadow:none}
.stktm-shell-v26 .stktm-section-heading-row{margin-bottom:9px}
.stktm-shell-v26 .stktm-section-heading-row h3{font-size:20px}
.stktm-shell-v26 .stktm-calendar-display-tools{justify-content:flex-end;margin:0 0 7px;padding:0;background:transparent}
.stktm-shell-v26 .stktm-calendar-display-tools-compact .stktm-small-button{height:31px;background:#fff!important;color:#172033!important;border-color:#cdd7df!important;font-size:10px}

.stktm-shell-v26 .stktm-calendar{grid-template-rows:64px var(--stktm-calendar-height);border-color:#d9e1e7}
.stktm-shell-v26 .stktm-calendar-corner{background:#f3f5f7;color:#111827;font-size:10px}
.stktm-shell-v26 .stktm-day-head{background:#f7f8fa;border-color:#d9e1e7}
.stktm-shell-v26 .stktm-day-head span{font-size:12px;font-weight:900;color:#111827;letter-spacing:.04em}
.stktm-shell-v26 .stktm-day-head strong{font-size:23px;font-weight:900;color:#111827;line-height:1}
.stktm-shell-v26 .stktm-day-head.is-today{background:#e8fbf9;box-shadow:inset 0 -4px 0 #3bc8be}
.stktm-shell-v26 .stktm-day-head.is-today strong{color:#0e756f}
.stktm-shell-v26 .stktm-time-gutter{background:#f5f6f8;border-color:#d9e1e7}
.stktm-shell-v26 .stktm-time-gutter span{right:8px;font-size:10px;font-weight:850;color:#111827}
.stktm-shell-v26 .stktm-calendar-day{background-color:#fff;border-color:#d9e1e7}
.stktm-shell-v26 .stktm-calendar-slot{left:4px;right:4px;width:calc(100% - 8px);padding:0;border-radius:5px;box-shadow:none}
.stktm-shell-v26 .stktm-calendar-slot.state-available_regular,.stktm-shell-v26 .stktm-calendar-slot.state-available_extra{background:#b9eee9;border:1px solid #62cfc6;color:#172033}
.stktm-shell-v26 .stktm-calendar-slot.state-available_regular:hover,.stktm-shell-v26 .stktm-calendar-slot.state-available_extra:hover{background:#a4e7e1;border-color:#36bdb3}
.stktm-shell-v26 .stktm-calendar-slot.state-unavailable{background:#f5f6f7;border:1px solid #e0e4e8;color:#111827;cursor:not-allowed}
.stktm-shell-v26 .stktm-calendar-slot.state-unavailable:hover{background:#f1f3f4;border-color:#d7dde2;transform:none;outline:none}
.stktm-shell-v26 .stktm-calendar-lesson{padding:5px 6px;border-radius:6px}
.stktm-shell-v26 .stktm-calendar-lesson strong{font-size:10px;line-height:1.15;padding-right:16px}
.stktm-shell-v26 .stktm-calendar-lesson.status-scheduled{background:#147d78;color:#fff;border:1px solid #0f6e69;border-left:4px solid #95fef9}
.stktm-shell-v26 .stktm-calendar-legend{margin-top:9px;color:#111827;font-size:10px}
.stktm-shell-v26 .stktm-swatch-available,.stktm-shell-v26 .stktm-swatch-extra{background:#b9eee9;border-color:#62cfc6}
.stktm-shell-v26 .stktm-swatch-confirmed{background:#147d78;border:1px solid #0f6e69;border-left:4px solid #95fef9}
.stktm-shell-v26 .stktm-swatch-unavailable{background:#f5f6f7;border-color:#dfe4e8}
.stktm-shell-v26 .stktm-calendar-subtitle,.stktm-shell-v26 .stktm-policy-line,.stktm-shell-v26 .stktm-form-note,.stktm-shell-v26 .stktm-muted{color:#4b5563}

.stktm-wide-dialog-card{width:min(930px,94vw)!important;max-width:930px!important}
.stktm-support-dialog-card{width:min(580px,92vw)!important;max-width:580px!important}
.stktm-communication-heading{padding-right:34px;margin-bottom:13px}
.stktm-communication-heading h3{margin:2px 0 4px;font-size:23px}
.stktm-communication-heading p{margin:0;color:#4b5563}
.stktm-chat-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:430px;border:1px solid #dfe6ec;border-radius:12px;overflow:hidden;background:#fff}
.stktm-chat-student-list{padding:8px;background:#f5f7f9;border-right:1px solid #e2e7ec;overflow:auto}
.stktm-chat-student{display:grid;grid-template-columns:36px 1fr auto;gap:8px;align-items:center;width:100%;margin:0 0 5px;padding:8px;border:0;border-radius:9px;background:transparent;color:#172033;text-align:left;font:inherit;cursor:pointer}
.stktm-chat-student:hover,.stktm-chat-student.is-active{background:#fff;box-shadow:0 1px 4px rgba(23,32,51,.06)}
.stktm-chat-student strong,.stktm-chat-student small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.stktm-chat-student small{margin-top:2px;color:#6b7280;font-size:10px}
.stktm-chat-avatar{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#d9f7f4;color:#0e756f;font-weight:900}
.stktm-chat-student .stktm-flag{width:22px;height:16px}
.stktm-chat-conversations{min-width:0}
.stktm-chat-conversation{height:100%;min-height:430px;display:grid;grid-template-rows:auto 1fr auto auto}
.stktm-chat-conversation[hidden]{display:none!important}
.stktm-chat-conversation-head{padding:12px 14px;border-bottom:1px solid #edf0f3}
.stktm-chat-conversation-head strong,.stktm-chat-conversation-head span{display:block}.stktm-chat-conversation-head span{margin-top:2px;color:#6b7280;font-size:10px}
.stktm-chat-thread{padding:14px;overflow:auto;background:#fbfcfd}
.stktm-chat-empty{color:#6b7280;text-align:center;margin:40px 0}
.stktm-chat-message{max-width:78%;margin:0 0 8px;padding:9px 10px;border-radius:10px;background:#eef2f5;color:#172033}.stktm-chat-message.is-teacher{margin-left:auto;background:#dff7f4}.stktm-chat-message p{margin:0;font-size:12px}.stktm-chat-message small{display:block;margin-top:4px;color:#657180;font-size:9px}
.stktm-chat-compose{display:grid;grid-template-columns:1fr auto;gap:8px;padding:10px;border-top:1px solid #e8edf1;background:#fff}.stktm-chat-compose textarea{width:100%;resize:vertical;min-height:42px;border:1px solid #cfd8df;border-radius:9px;padding:9px;font:inherit}.stktm-chat-compose .stktm-button{align-self:stretch;min-width:72px}
.stktm-chat-conversation>.stktm-form-note{margin:0;padding:0 11px 10px;background:#fff;font-size:9px}

.stktm-support-suggestions{display:grid;gap:7px;margin-bottom:10px}.stktm-support-suggestions button{padding:10px 12px;border:1px solid #dbe4eb;border-radius:9px;background:#fff;color:#172033;text-align:left;font:inherit;font-weight:750;cursor:pointer}.stktm-support-suggestions button:hover{background:#edf9f8;border-color:#7ad7d0}
.stktm-support-answer{margin:10px 0;padding:11px 12px;border-radius:9px;background:#eff8ff;border:1px solid #d7e9f6;color:#243548;font-size:12px;line-height:1.45}
.stktm-human-support{margin-top:12px;border-top:1px solid #e6ebef;padding-top:10px}.stktm-human-support>summary{cursor:pointer;font-weight:850;color:#147d78}.stktm-human-support .stktm-form{margin-top:12px}

.stktm-toast{position:fixed;right:22px;bottom:22px;z-index:99999;max-width:360px;padding:11px 14px;border-radius:10px;background:#172033;color:#fff;box-shadow:0 14px 36px rgba(23,32,51,.24);font-size:12px;font-weight:750;opacity:0;transform:translateY(8px);transition:opacity .16s ease,transform .16s ease}.stktm-toast.is-visible{opacity:1;transform:translateY(0)}

@media(max-width:900px){
  .stktm-shell-v26 .stktm-dashboard-hero{align-items:flex-start}
  .stktm-shell-v26 .stktm-head-actions{justify-content:flex-end}
  .stktm-shell-v26 .stktm-next-actions{min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}
  .stktm-chat-layout{grid-template-columns:190px minmax(0,1fr)}
}
@media(max-width:720px){
  .stktm-shell-v26{padding:9px;border-radius:0}
  .stktm-shell-v26 .stktm-dashboard-hero{display:flex;flex-direction:column;gap:9px;padding:11px}
  .stktm-shell-v26 .stktm-head-actions{width:100%;justify-content:flex-start}
  .stktm-utility-controls{margin-left:0}
  .stktm-assistance-button span{display:none}
  .stktm-assistance-button{width:38px;padding:0;justify-content:center}
  .stktm-shell-v26 .stktm-next-actions{grid-template-columns:1fr}
  .stktm-chat-layout{grid-template-columns:1fr;min-height:0}
  .stktm-chat-student-list{display:flex;gap:5px;border-right:0;border-bottom:1px solid #e2e7ec;overflow:auto}
  .stktm-chat-student{min-width:170px;margin:0}
  .stktm-chat-conversation{min-height:360px}
  .stktm-profile-menu-panel{left:0;right:auto}
  .stktm-toast{left:12px;right:12px;bottom:12px;max-width:none}
}
.stktm-shell-v26 .stktm-calendar-slot .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
