.entry-page .login-card .entry-error{color:#9b2928;margin:20px 0 0}
.entry-page .login-card .field-help{margin:7px 0 0}
.entry-page .login-submit,.entry-page .login-card input{min-height:44px}
.entry-page .admin-topbar .external-link{min-height:44px;display:inline-flex;align-items:center}
.provider-field{width:100%;min-width:0;margin:0 0 20px}
.provider-field select{width:100%;min-height:44px}
.provider-field .field-help{margin-top:7px}
.logout-form{display:flex}
.sidebar-empty{white-space:pre-line}
.course-admin-section{margin-top:28px}
.course-admin-section h2,.course-admin-section h3{margin-bottom:12px}
.course-admin-section .key-row+.key-row{margin-top:12px}
.course-admin-section .key-row p{margin-bottom:12px}
.course-admin-section .field{margin-bottom:14px}
.course-admin-section .admin-actions{display:flex;flex-wrap:wrap;gap:10px}
.course-admin-section .roster{margin-top:20px}
.course-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.assignment{margin:12px 0}
.assignment summary{cursor:pointer;width:fit-content;min-height:44px;padding:10px 0}
.assignment summary:focus-visible{outline:3px solid var(--teal-ink);outline-offset:3px}
.assignment .field select{width:100%;min-height:44px}
.assignment form{padding:8px 0 14px}
#teacher-main .page-heading form{flex-shrink:0}
#teacher-main .page-heading form button{white-space:nowrap}
#teacher-main .key-row p,#detail-summary{word-break:keep-all}
.job-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:8px;margin:0}
.job-counts div{padding:12px;border:1px solid var(--line);border-radius:8px}
.job-counts dd{margin:6px 0 0;font-weight:700}
#teaching-audit li{margin-bottom:8px;overflow-wrap:anywhere}
@media(max-width:560px){.course-fields{grid-template-columns:1fr}.entry-page .admin-main{margin-top:16px}}
.workspace-staff-link{display:inline-flex;min-height:44px;align-items:center}
.job-image{max-width:100%;max-height:360px;display:block;margin:12px auto;border-radius:8px}
.image-slots{border:1px solid var(--line);border-radius:10px;padding:12px;margin-top:12px;min-width:0}
.slots-title{font-size:12px;font-weight:600;margin:0}
.image-slots>.field-help{font-size:11px;word-break:keep-all}
.slot-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.image-slot{display:grid;grid-row:span 6;grid-template-rows:subgrid;align-content:start;min-width:0;border:1px solid var(--line);border-radius:10px;padding:6px;background:#fff}
.image-slot.needed{border-color:var(--danger);border-style:dashed}
.image-slot .secondary{width:100%;padding:8px 2px;font-size:12px;line-height:1.4;word-break:keep-all}
.image-slot .slot-insert{color:var(--teal-ink);border-color:var(--teal-ink)}
.slot-frame{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f2f6f6;overflow:hidden}
.slot-frame img{width:100%;height:100%;object-fit:contain;display:block}
.slot-empty{font-size:11px;color:var(--muted);text-align:center;padding:4px;word-break:keep-all}
.slot-note{font-size:11px;line-height:1.6;margin:0;min-height:1.6em;color:var(--muted);text-align:center;overflow-wrap:anywhere;word-break:keep-all}
.slot-note.field-error{color:var(--danger)}
.image-slots [hidden]{display:none}
#slot-unnamed:empty{display:none}
#reference-switch{width:100%;margin-top:10px;word-break:keep-all}
#reference-ratio:empty,#reference-status:empty{display:none}
.cost-notice{font-size:12px;line-height:1.8;margin:10px 0;padding:10px 12px;border:1px solid var(--teal-ink);border-radius:8px;background:var(--surface);word-break:keep-all;overflow-wrap:anywhere}
.picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
.picker-item{display:block;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px;text-align:left;color:#2d2d2d;min-width:0}
.picker-item[aria-pressed=true]{border:2px solid var(--teal-ink)}
.picker-item:disabled{opacity:.6}
.picker-item img{width:100%;aspect-ratio:1;object-fit:contain;background:#f2f6f6;border-radius:6px;display:block}
.picker-item strong,.picker-item small{display:block;font-size:11px;line-height:1.6;margin-top:6px;overflow-wrap:anywhere}
.picker-item small{color:var(--muted);margin-top:0}
.library-card-scene img{width:100%;height:100%;object-fit:contain;display:block}
.library-card-use{margin:0 13px 13px;width:calc(100% - 26px);word-break:keep-all}
.job-reference{display:flex;align-items:center;gap:12px;margin-top:12px}
.job-reference img{width:72px;height:72px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#f2f6f6;flex-shrink:0}
.job-reference p{font-size:11px;line-height:1.7;margin:0;color:var(--muted);white-space:pre-line}
.job-slots{flex-direction:column;align-items:stretch;gap:8px}
.job-slot-list{display:flex;flex-wrap:wrap;gap:8px}
.job-slot-list figure{margin:0;text-align:center}
.job-slot-list figcaption{font-size:11px;color:var(--muted);margin-top:4px}
#workspace-role,#workspace-usage{margin:8px 0 14px}
