@charset "UTF-8";

body.teacher-portal {
  --ink: #303c34;
  --muted: #62685c;
  --line: #ddd3c2;
  --deep-teal: #21483d;
  --sage: #e7ece2;
  --cream: #faf6ec;
  --paper: #fffdf8;
  --gold: #96723b;
  background: #f1ece2;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}
.teacher-portal [hidden] { display: none !important; }
.teacher-portal *, .teacher-portal *::before, .teacher-portal *::after { box-sizing: border-box; }
.teacher-portal h1, .teacher-portal h2, .teacher-portal h3, .teacher-portal p { margin: 0; }
.teacher-portal button, .teacher-portal input, .teacher-portal select, .teacher-portal textarea { font: inherit; }
.teacher-portal button, .teacher-portal a { -webkit-tap-highlight-color: transparent; }
.teacher-portal button { cursor: pointer; }
.teacher-portal button:disabled { cursor: default; opacity: .58; }
.teacher-portal a { color: inherit; }
.teacher-portal :is(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.teacher-portal :is(input:not([type=checkbox]), select, textarea) { width: 100%; min-height: 42px; padding: 10px 12px; background: var(--paper); border: 1px solid #c4b69e; border-radius: 8px; color: var(--ink); }
.teacher-portal input::placeholder, .teacher-portal textarea::placeholder { color: #776d5f; }
.teacher-portal textarea { resize: vertical; min-height: 120px; line-height: 1.8; }
.teacher-portal input[type=checkbox] { width: 17px; height: 17px; flex: none; accent-color: #315e50; }
.teacher-portal label { font-weight: 650; }
.teacher-portal .button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 650; line-height: 1.4; white-space: normal; box-shadow: inset 0 1px 0 #ffffffb3, 0 2px 0 #bbaa8d; transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s; }
.teacher-portal .button.primary { background: linear-gradient(#315e50, #21483d); color: #fff9e9; border: 1px solid #23493d; box-shadow: inset 0 1px 0 #7d9f8e, 0 3px 0 #17392f; }
.teacher-portal .button.primary:hover { background: linear-gradient(#3a6b5a, #285344); border-color: #17392f; }
.teacher-portal .button.subtle { background: linear-gradient(#fffdf7, #f2ead9); color: #4c4234; border: 1px solid #cbbd9f; }
.teacher-portal .button.subtle:hover { background: linear-gradient(#ffffff, #f5ead4); border-color: #ae9160; }
.teacher-portal .button:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 2px 3px #7a62331c, 0 1px 0 #bbaa8d; }
.teacher-portal .button.primary:active:not(:disabled) { box-shadow: inset 0 2px 3px #102d2940, 0 1px 0 #17392f; }
.teacher-portal .button.caution { background: #f8edd6; color: #74521b; border: 1px solid #c7a665; }
.teacher-portal .button.danger { background: #f8e7df; color: #843f2c; border: 1px solid #d0a08b; }
.teacher-portal .button .icon { width: 17px; height: 17px; flex: none; }
.teacher-portal .icon-button { width: 40px; height: 40px; border: 1px solid #cbbd9f; background: linear-gradient(#fffdf7, #f2ead9); color: #4c4234; border-radius: 8px; box-shadow: inset 0 1px 0 #fff, 0 2px 0 #c1b195; }
.teacher-portal .icon-button:hover { border-color: var(--gold); }
.teacher-portal .icon-button:active { transform: translateY(1px); box-shadow: inset 0 1px 3px #7a62331c; }
.teacher-skip { position: fixed; top: -100px; left: 15px; z-index: 200; padding: 10px 16px; background: #ffe3a2; color: #493e2d; }
.teacher-skip:focus { top: 12px; }
.teacher-masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px max(4vw, 20px); background: linear-gradient(115deg, #21483d, #315e50); color: #fff9e9; border-bottom: 3px solid #c7ac78; box-shadow: 0 3px 14px #23483d19; }
.teacher-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.teacher-brand small { display: block; color: #d7dfc9; font-size: 10px; letter-spacing: 1.5px; }
.teacher-brand strong { display: block; font-size: 19px; letter-spacing: -.6px; }
.teacher-header-actions { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.teacher-header-actions a { text-decoration: none; }
.teacher-role { padding: 5px 12px; border: 1px solid #cbb78e; border-radius: 30px; color: #315346; background: #fcf5e5; }
.teacher-page { max-width: 1440px; margin: 0 auto; padding: 34px 4% 60px; }
.teacher-eyebrow { color: #426752; font-size: 11px; font-weight: 750; letter-spacing: 1.1px; }
.teacher-login-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); align-items: center; gap: 9%; min-height: 660px; }
.teacher-welcome h1 { margin: 20px 0 24px; font-size: clamp(32px, 3.7vw, 52px); line-height: 1.35; letter-spacing: -1.9px; color: #21483d; }
.teacher-welcome > p:not(.teacher-eyebrow) { color: #685e50; font-size: 15px; line-height: 2; }
.teacher-welcome-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.teacher-welcome-points span { padding: 7px 13px; background: #e7ece2; border: 1px solid #c5d0bc; border-radius: 20px; color: #365746; font-size: 12px; }
.teacher-login-card { background: var(--paper); padding: 36px; border: 1px solid #d8ccb5; border-top: 4px solid #315e50; border-radius: 14px; box-shadow: 0 14px 35px #59432312; }
.teacher-login-icon { display: grid; place-items: center; width: 52px; height: 52px; background: #e0e8da; border-radius: 12px; color: #315e50; margin-bottom: 20px; }
.teacher-login-icon .icon { width: 28px; height: 28px; }
.teacher-login-card h2 { font-size: 24px; margin-bottom: 10px; }
.teacher-login-card > p { color: var(--muted); font-size: 13px; }
.teacher-login-card form { display: grid; gap: 10px; margin-top: 25px; }
.teacher-login-card form .button { margin-top: 6px; }
#teacher-demo { margin-top: 15px; width: 100%; }
.teacher-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.teacher-page-heading h1 { font-size: 29px; letter-spacing: -.9px; margin: 5px 0 8px; }
.teacher-page-heading p:last-child { color: var(--muted); font-size: 13px; }
.teacher-page-actions { display: flex; gap: 8px; }
.teacher-classbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 18px; background: var(--sage); border: 1px solid #c2cdb9; border-left: 4px solid #54765d; border-radius: 10px; box-shadow: inset 0 1px 0 #fffdf7; }
.teacher-classbar > select { max-width: 260px; }
.teacher-code { padding: 5px 9px; border-radius: 5px; background: #fffcf5; color: #6b5532; font-size: 12px; }
.teacher-sync { margin-left: auto; font-size: 12px; color: var(--muted); }
.teacher-message { min-height: 0; margin: 10px 0 !important; color: #65583f; font-size: 13px; line-height: 1.8; }
.teacher-message:empty { display: none; }
.teacher-message.error { color: #8a3f2a; }
.teacher-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 23px 0 28px; }
.teacher-metric { display: flex; flex-direction: column; gap: 8px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 3px 0 #e4dcca; }
.teacher-metric small { color: var(--muted); font-size: 12px; }
.teacher-metric strong { font-size: 31px; line-height: 1.3; color: #285345; font-variant-numeric: tabular-nums; }
.teacher-metric span { font-size: 11px; color: #776c5a; }
.teacher-tabs { display: flex; gap: 6px; border-bottom: 1px solid #cbb896; }
.teacher-tabs button { display: flex; gap: 8px; align-items: center; background: linear-gradient(#faf6ed, #eee5d4); color: #706048; padding: 12px 20px; border: 1px solid #d5c7ae; border-radius: 9px 9px 0 0; font-weight: 700; box-shadow: inset 0 1px 0 #fffdf7; }
.teacher-tabs button:hover { border-color: #b79a65; color: #4f402b; }
.teacher-tabs button[aria-pressed=true] { color: #fff9e9; background: linear-gradient(#315e50, #21483d); border-color: #23493d; box-shadow: inset 0 1px 0 #7d9f8e, inset 0 -3px #c7ac78; }
.teacher-tabs .icon { width: 18px; height: 18px; }
.teacher-panel { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; }
.teacher-list-tools { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: end; gap: 13px; }
.teacher-search { display: flex; align-items: center; gap: 9px; border: 1px solid #c4b69e; border-radius: 8px; padding: 0 12px; background: var(--paper); }
.teacher-search .icon { flex: none; width: 18px; height: 18px; color: #826b47; }
.teacher-search input { border: 0 !important; padding-left: 0 !important; }
.teacher-select-label { font-size: 11px; color: var(--muted); }
.teacher-select-label select { margin-top: 4px; font-size: 12px; }
.teacher-bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 17px 0; margin-bottom: 5px; font-size: 12px; color: var(--muted); }
.teacher-bulkbar > div { display: flex; gap: 8px; margin-left: auto; }
.teacher-check { display: flex; align-items: center; gap: 8px; color: #514739; font-size: 13px; }
.teacher-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.teacher-project-card { padding: 0; overflow: hidden; border: 1px solid #ddd1bb; border-radius: 11px; background: #ffffff; box-shadow: 0 3px 0 #ebe2d2; }
.teacher-card-preview { position: relative; height: 148px; display: grid; place-items: center; background: linear-gradient(140deg, #dce6dc, #f3efdf); overflow: hidden; color: #4c715a; }
.teacher-card-preview > .icon { width: 50px; height: 50px; stroke-width: 1; }
.teacher-card-preview > img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card-preview > label { position: absolute; top: 10px; left: 10px; padding: 4px; background: #fffcf2ec; border: 1px solid #ccbc9c; border-radius: 5px; z-index: 1; }
.teacher-card-preview > small { position: absolute; right: 10px; bottom: 9px; background: #21483ded; color: #fff7e7; padding: 3px 8px; border-radius: 5px; font-size: 10px; }
.teacher-card-body { padding: 17px; }
.teacher-card-heading { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.teacher-status { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 20px; background: #eee9df; color: #675a45; font-size: 11px; font-weight: 650; line-height: 1.6; }
.teacher-status.submitted, .teacher-status.resubmitted { background: #f3e6bd; color: #71541b; }
.teacher-status.reviewed { background: #e9eee5; color: #355a3d; }
.teacher-status.revision_requested { background: #f4e0d6; color: #8a4931; }
.teacher-status.hidden { background: #e6e0ec; color: #654771; }
.teacher-project-card h2 { font-size: 18px; line-height: 1.5; margin: 11px 0 6px; overflow-wrap: anywhere; }
.teacher-project-card p { font-size: 12px; color: var(--muted); margin: 0; }
.teacher-card-score { display: flex; gap: 20px; margin: 14px 0; border-top: 1px solid #eee6d8; padding-top: 12px; }
.teacher-card-score div { display: grid; gap: 2px; }
.teacher-card-score small { font-size: 10px; color: var(--muted); }
.teacher-card-score strong { font-size: 19px; font-weight: 750; color: #285345; }
.teacher-card-score div:last-child strong { color: #6c542a; }
.teacher-project-card .teacher-card-date { font-size: 10px; margin-bottom: 13px; color: #776d5d; }
.teacher-empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; background: #f8f4ea; border: 1px dashed #cdbc9d; border-radius: 10px; color: var(--muted); }
.teacher-empty strong { display: block; font-size: 17px; margin-bottom: 7px; color: #56472f; }
.teacher-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; font-size: 12px; color: var(--muted); }
.teacher-pagination > div { display: flex; align-items: center; gap: 15px; }
.teacher-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.teacher-section-heading h2 { font-size: 21px; }
.teacher-section-heading p, .teacher-muted { font-size: 12px; color: var(--muted); line-height: 1.85; }
.teacher-score-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 25px; }
.teacher-score-summary article { background: #f6efdf; border-radius: 9px; padding: 18px; }
.teacher-score-summary strong { display: block; margin: 6px 0; color: #514128; font-size: 26px; }
.teacher-score-summary small { color: var(--muted); font-size: 12px; }
.teacher-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; }
.teacher-table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 12px; text-align: left; }
.teacher-table caption { text-align: left; background: #eee3cc; padding: 12px 16px; font-weight: 750; font-size: 14px; }
.teacher-table th { padding: 11px 14px; background: #f8f1e4; color: #635034; font-size: 11px; }
.teacher-table td { padding: 12px 14px; border-top: 1px solid #e8e0d1; vertical-align: middle; color: #504638; }
.teacher-table td .button { min-height: 32px; padding: 5px 8px; text-align: left; font-size: 12px; }
.teacher-table td small { display: block; color: var(--muted); margin-top: 4px; }
.teacher-ranking-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 30px 0 7px; }
.teacher-ranking-head label { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.teacher-ranking-head select { width: auto; font-size: 12px; }
.teacher-ranking { list-style: none; padding: 0; margin: 17px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.teacher-ranking li { display: flex; align-items: center; gap: 13px; padding: 12px 15px; background: #faf6ec; border: 1px solid #dfd2ba; border-radius: 8px; }
.teacher-ranking li > b { display: grid; place-items: center; width: 28px; height: 28px; background: #e9d4a7; color: #5b411e; border-radius: 50%; font-size: 12px; }
.teacher-ranking li > strong { margin-left: auto; color: #694f27; }
.teacher-ranking li small { display: block; font-size: 11px; color: var(--muted); }
.teacher-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.teacher-settings-card { display: grid; align-content: start; gap: 13px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #faf7ef; }
.teacher-settings-card p { font-size: 13px; color: var(--muted); }
.teacher-settings-card h3 { font-size: 18px; }
.teacher-credential { padding: 18px; margin-top: 20px; background: #f7edda; border: 1px solid #cdb78c; border-radius: 9px; }
.teacher-credential strong { display: block; font-size: 19px; margin: 9px 0; color: #634a24; overflow-wrap: anywhere; }
.teacher-portal dialog { background: var(--paper); color: var(--ink); padding: 0 24px 24px; max-height: 92vh; border: 1px solid #cbb99a; box-shadow: 0 24px 80px #30271950; }
.teacher-portal dialog::backdrop { background: #2c281f61; }
#teacher-dialog { width: calc(100% - 44px); max-width: 1260px; }
#teacher-class-dialog { width: calc(100% - 34px); max-width: 520px; }
.teacher-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 16px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 4; }
.teacher-dialog-header h2 { font-size: 23px; overflow-wrap: anywhere; }
.teacher-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; margin-top: 18px; }
.teacher-detail-main { min-width: 0; }
.teacher-record-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.teacher-record-switch .button[aria-pressed=true] { background: linear-gradient(#315e50, #21483d); color: #fff9e9; border-color: #23493d; box-shadow: inset 0 1px 0 #7d9f8e, 0 2px 0 #17392f; }
.teacher-record-label { padding: 10px 13px; background: #f6efdf; border-left: 3px solid #b99a60; color: #675235; font-size: 12px; margin-bottom: 13px !important; }
.teacher-preview-map { height: 350px; margin: 0; border: 1px solid #cbbd9f; background: #eee7d8; }
.teacher-map-message { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: #67583f; pointer-events: none; }
.teacher-map-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 20px; }
.teacher-map-actions .button { font-size: 11px; padding: 7px 9px; min-height: 33px; }
.teacher-detail-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 15px 0; }
.teacher-detail-metrics > div { padding: 12px; background: #f4ecdb; border-radius: 7px; }
.teacher-detail-metrics small { display: block; font-size: 10px; color: var(--muted); }
.teacher-detail-metrics strong { display: block; font-size: 21px; margin-top: 5px; color: #564229; }
.teacher-score-visual { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 16px; }
.teacher-score-visual canvas { width: 220px; max-width: 100%; height: auto; }
.teacher-score-axes { display: grid; gap: 13px; }
.teacher-score-axis { display: grid; grid-template-columns: 64px minmax(50px, 1fr) 47px; gap: 8px; align-items: center; font-size: 11px; color: #584a36; }
.teacher-score-axis progress { width: 100%; height: 9px; }
.teacher-score-axis strong { text-align: right; font-variant-numeric: tabular-nums; }
.teacher-record-section { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.teacher-record-section h3 { font-size: 17px; margin-bottom: 12px; }
.teacher-record-section h4 { font-size: 13px; margin: 13px 0 4px; color: #655136; }
.teacher-record-section p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; color: #514737; line-height: 1.9; margin: 6px 0; }
.teacher-record-section summary, .teacher-history summary { cursor: pointer; color: #5b4629; font-weight: 750; padding: 10px 0; }
.teacher-record-section details { border-bottom: 1px solid #e7ddcb; padding-bottom: 8px; }
.teacher-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.teacher-scene-card { background: #f8f3e8; padding: 10px; border: 1px solid #dfd2ba; border-radius: 8px; }
.teacher-scene-card img { width: 100%; border-radius: 5px; }
.teacher-scene-card h4 { margin: 5px 0 8px; }
.teacher-scene-card .button { font-size: 11px; min-height: 32px; padding: 6px 9px; }
.teacher-export-actions { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.teacher-review-panel { background: #f6f0e3; border: 1px solid #d6c6a7; border-radius: 10px; padding: 18px; align-self: start; box-shadow: inset 0 1px 0 #fffdf8; }
.teacher-review-panel > h3 { font-size: 19px; margin-bottom: 7px; color: #285345; }
.teacher-review-form { display: grid; gap: 13px; }
.teacher-review-form fieldset { border: 0; padding: 0; margin: 4px 0; }
.teacher-review-form legend { margin-bottom: 10px; color: #655136; font-size: 12px; }
.teacher-grade-row { display: grid; grid-template-columns: 1fr 65px 30px; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 12px; }
.teacher-grade-row input { padding: 7px !important; text-align: center; min-height: 36px !important; }
.teacher-grade-total { display: flex; justify-content: space-between; color: #5b4629; padding: 10px 0; border-top: 1px solid #d0bea0; }
.teacher-grade-total output { font-size: 19px; font-weight: 800; color: #6b5022; }
.teacher-review-form textarea { font-size: 13px; }
.teacher-review-form > label { font-size: 12px; }
.teacher-review-status { padding: 10px; background: #fff8df; border: 1px solid #d3bf89; border-radius: 7px; color: #6c552b; margin-bottom: 12px !important; font-size: 12px; }
.teacher-history { margin-top: 18px; border-top: 1px solid #d7c9b1; padding-top: 10px; }
.teacher-history-list { display: grid; gap: 10px; margin-top: 10px; }
.teacher-history-item { background: var(--paper); border: 1px solid #ddd1bb; border-radius: 7px; padding: 11px; }
.teacher-history-item strong { display: block; font-size: 12px; }
.teacher-history-item p { font-size: 11px; color: var(--muted); margin: 3px 0 8px; }
.teacher-history-item .button { min-height: 30px; font-size: 11px; padding: 5px 8px; }
.teacher-moderation { border-top: 1px solid #d7c9b1; margin-top: 20px; padding-top: 16px; }
.teacher-moderation form { display: grid; gap: 10px; margin-top: 10px; }
.teacher-moderation h3 { font-size: 16px; }
.teacher-moderation textarea { min-height: 80px; font-size: 12px; }
.teacher-feedback-record { padding: 12px; border: 1px solid #d0c6aa; border-radius: 7px; background: #fff8e4; margin-bottom: 12px; }
.teacher-feedback-record p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: #5f5435; }
.teacher-portal .toast { background: #21483d; color: #fff7e7; font-size: 13px; z-index: 100; }
@media (max-width: 1050px) {
  .teacher-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacher-detail-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 17px; }
  .teacher-login-layout { gap: 5%; }
}
@media (max-width: 780px) {
  .teacher-login-layout { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding: 20px 0; }
  .teacher-welcome h1 { font-size: 34px; }
  .teacher-welcome-points { margin-top: 20px; }
  .teacher-login-card { max-width: 540px; width: 100%; }
  .teacher-page-heading { align-items: flex-start; }
  .teacher-page-actions { flex-direction: column; }
  .teacher-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacher-list-tools { grid-template-columns: 1fr 1fr; }
  .teacher-search { grid-column: 1 / -1; }
  .teacher-detail-layout, .teacher-settings-grid { grid-template-columns: 1fr; }
  .teacher-review-panel { margin-top: 5px; }
  .teacher-header-actions .teacher-role { display: none; }
  .teacher-tabs button { padding: 11px 14px; font-size: 12px; }
  .teacher-section-heading { align-items: flex-start; }
  .teacher-sync { margin-left: 0; }
}
@media (max-width: 520px) {
  .teacher-masthead { padding: 16px 5%; }
  .teacher-brand img { width: 35px; height: 35px; }
  .teacher-brand { gap: 8px; }
  .teacher-brand strong { font-size: 14px; }
  .teacher-brand small { font-size: 8px; letter-spacing: .6px; }
  .teacher-header-actions { font-size: 11px; }
  .teacher-page { padding: 24px 4% 40px; }
  .teacher-page-heading h1 { font-size: 24px; }
  .teacher-classbar { padding: 13px; gap: 10px; }
  .teacher-classbar > select { max-width: calc(100% - 70px); }
  .teacher-panel { padding: 16px 12px; }
  .teacher-projects, .teacher-ranking, .teacher-score-summary { grid-template-columns: 1fr; }
  .teacher-metric { padding: 16px; }
  .teacher-metric strong { font-size: 26px; }
  .teacher-tabs { gap: 3px; }
  .teacher-tabs button { gap: 5px; padding: 10px 9px; font-size: 11px; flex: 1; justify-content: center; }
  .teacher-tabs .icon { width: 15px; height: 15px; }
  .teacher-bulkbar > div { margin-left: 0; width: 100%; }
  .teacher-bulkbar > div .button { flex: 1; }
  .teacher-pagination { flex-wrap: wrap; }
  .teacher-section-heading, .teacher-ranking-head { display: grid; gap: 12px; }
  .teacher-settings-card { padding: 18px; }
  #teacher-dialog { width: calc(100% - 16px); padding: 0 13px 18px; }
  .teacher-dialog-header h2 { font-size: 19px; }
  .teacher-preview-map { height: 310px; }
  .teacher-detail-metrics { gap: 5px; }
  .teacher-detail-metrics > div { padding: 9px; }
  .teacher-detail-metrics strong { font-size: 17px; }
  .teacher-scenes { grid-template-columns: 1fr; }
  .teacher-score-visual { grid-template-columns: 1fr; }
  .teacher-score-visual canvas { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .teacher-portal *, .teacher-portal *::before, .teacher-portal *::after { transition: none !important; scroll-behavior: auto !important; }
}
