.teacher{padding-block:2rem 3rem}
.teacher h1{font-size:clamp(2.6rem,6vw,4.5rem);margin:.5rem 0 1.25rem}
.teacher h1::after{display:none}
.teacher h2{font-size:clamp(1.75rem,3vw,2.4rem);margin-bottom:.75rem}
.teacher h3{margin-top:1rem}
.teacher-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.teacher-card{background:#fffcf5;border:1px solid var(--line);padding:clamp(1rem,3vw,1.6rem);margin-bottom:1rem}
.teacher form{display:grid;gap:.65rem;margin-top:1rem}
.teacher label{display:grid;gap:.2rem}
.teacher .check{display:flex;align-items:center;gap:.45rem}
.teacher input:not([type=checkbox]),.teacher select{width:100%;padding:.55rem;min-height:2.7rem;background:white;border:1px solid #85765f;border-radius:.3rem;color:var(--ink);font:inherit}
.teacher button{justify-self:start;cursor:pointer;font:inherit}
.teacher :is(input,button,select):focus-visible{outline:3px solid #875921;outline-offset:3px}
.teacher-notice{padding:.7rem 1rem;margin-bottom:1rem;border-left:3px solid var(--gold);background:#fffaf1}
.record-list{list-style:none;padding:0;margin:.75rem 0 0}
.record-list li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.4rem 1rem;padding:.5rem 0;border-top:1px solid var(--line)}
@media(max-width:660px){.teacher-grid{grid-template-columns:1fr;gap:0}}
.teacher textarea{width:100%;font:inherit;color:var(--ink);background:white;border:1px solid #85765f;border-radius:.3rem;padding:.55rem}
.teacher-card .button{margin-top:.45rem}

@media (max-width: 660px) {
  .teacher { padding-block: 1.25rem 2rem; }
  .teacher h1 { font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.1; }
  .teacher, .teacher-card { overflow-wrap: anywhere; }
  .teacher-grid, .teacher form { grid-template-columns: minmax(0, 1fr); }
  .teacher :is(input, select, textarea, button) { min-width: 0; }
  .teacher :is(input:not([type=checkbox]), select, textarea) { min-height: 44px; font-size: 1rem; }
  .teacher .button {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: .65rem .8rem;
    text-align: center;
  }
  .teacher summary { min-height: 44px; padding-block: .55rem; }
  .teacher .record-list a { display: inline-block; min-height: 44px; padding-block: .55rem; }
  .teacher .check { min-height: 44px; }
}

.lesson-note {white-space:pre-wrap}
.worksheet-list li {align-items:center}
.worksheet-list form {margin:0}

.level-links { display:flex; flex-wrap:wrap; gap:.45rem; margin-bottom:1rem; }
.teacher .level-links .button { width:auto; min-width:44px; }
@media print {
  .screen-only, .top, button, #listen-status {display:none!important}
  .teacher-card {background:white; border-color:#777; break-inside:avoid}
  details:not([open]) > :not(summary) {display:block}
}

.teacher video {max-width:100%; height:auto; display:block;}

.rubric-meta {margin-bottom:.8rem}
.rubric-edition {max-width:48rem}
.rubric-edition h2:not(:first-child) {margin-top:1.6rem}
.rubric-edition audio {display:block;width:min(100%,30rem);margin-top:1rem}
.teacher .rubric-filter {margin:0;align-items:end;grid-template-columns:1fr 1fr auto}
@media(max-width:660px){.teacher .rubric-filter {grid-template-columns:1fr}}
.guide-link {margin-top:.75rem}

#padaria-player img {width:min(100%,45rem);aspect-ratio:16/10;object-fit:cover;border-radius:.35rem}
.player-settings {display:flex;align-items:end;flex-wrap:wrap;gap:1rem;margin:.8rem 0}
.player-settings label {min-width:10rem}
[data-quiz] [data-result]:empty {display:none}
[data-result] {font-size:.9rem}

.flash-deck {max-width:40rem}
.flash-deck img {width:100%;object-fit:cover;aspect-ratio:3/2;margin:.7rem 0}
.flash-deck [data-example] {margin-top:.65rem}
.flash-deck [aria-pressed=true] {background:#315c4b}

.schedule-visual {display:grid;grid-auto-flow:column;grid-auto-columns:minmax(11rem,1fr);gap:.55rem;overflow-x:auto;padding:.7rem 0}
.schedule-day {border:1px solid var(--line);border-radius:.4rem;padding:.55rem;background:white}
.schedule-day h3 {margin:.15rem 0 .45rem;font-size:1.15rem}
.schedule-day ul {margin:0;padding:0;list-style:none}
.schedule-day li {display:grid;line-height:1.35;border-left:3px solid var(--gold);padding:.3rem .5rem;background:#f4eee1;margin-bottom:.35rem}

.daily-figures {margin-top:1rem;gap:1.25rem}
.daily-figures section {border:1px solid var(--line);padding:.8rem}
.daily-figures h3 {margin:0 0 .4rem}
.daily-figures strong {font-size:1.4rem}

.contact-state {display:inline-block;border-radius:.3rem;padding:.2rem .55rem;margin:.1rem 0 .5rem;font-weight:650}
.contact-todo {color:#7b2224;background:#ffebe9}
.contact-waiting {color:#654501;background:#fff0bf}
.contact-done {color:#20513a;background:#e3f4e8}

.finance-overflow {overflow-x:auto}
.finance-overflow table {border-collapse:collapse;width:100%;min-width:45rem;text-align:left}
.finance-overflow th,.finance-overflow td {padding:.55rem;border-bottom:1px solid var(--line)}
.finance-overflow thead {background:#f4eee1}
.finance-filters {grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));align-items:end}
.finance-peaks {display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:1rem}
.finance-peaks dt {font-weight:700}
.finance-peaks dd {margin:0}
.finance-note {margin-top:.75rem}

#padaria-player video {width:min(100%,48rem);margin:.5rem 0}
#padaria-player audio {display:block;width:min(100%,30rem);margin:.8rem 0}
.bakery-scenes {display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.65rem;margin:1rem 0}
.bakery-scenes figure {margin:0}
.bakery-scenes figcaption {margin-top:.35rem}

.guide-prices {width:100%;border-collapse:collapse;text-align:left;margin:.85rem 0}
.guide-prices caption {text-align:left;font-weight:700;margin-bottom:.35rem}
.guide-prices :is(th,td) {padding:.4rem;border-bottom:1px solid var(--line)}
.guide-prices td {white-space:nowrap}

.student-identity {display:flex;gap:1rem;align-items:center;margin:1rem 0}
.student-identity h1 {margin:.2rem 0 .45rem}
.student-avatar {display:inline-grid;place-items:center;width:5rem;height:5rem;flex:none;border-radius:50%;object-fit:cover;background:#e7dfce;color:#183345;font-size:1.4rem;font-weight:700}

.dashboard-nav,.dashboard-actions {display:flex;flex-wrap:wrap;gap:.55rem;margin:.7rem 0 1rem}
.dashboard-nav a,.dashboard-actions a {border:1px solid var(--line);border-radius:.35rem;padding:.45rem .7rem;background:white;color:var(--ink)}
.dashboard-actions a {display:grid;gap:.15rem;min-width:10rem;text-decoration:none}
.dashboard-actions a:hover {text-decoration:underline}
.dashboard-actions span {font-size:.9rem}
#active-students li[hidden] {display:none}
#alunos label {max-width:25rem}
#agenda,#resumo-diario,#alunos,#renovacoes {scroll-margin-top:1rem}

.tone-agenda {border-left:.38rem solid #17667a;background:#f1fafc}
.tone-students {border-left:.38rem solid #70529b;background:#f8f3ff}
.tone-money {border-left:.38rem solid #277154;background:#f1f9f4}
.tone-content {border-left:.38rem solid #2d689f;background:#f1f7ff}
.tone-access {border-left:.38rem solid #596481;background:#f3f5fb}
.tone-alert {border-left:.38rem solid #a7651f;background:#fff3de}
.profile-schedule {margin:0 0 1rem;padding:.55rem .8rem;background:#f8f3ff;border-left:.38rem solid #70529b}
.dashboard-nav a:nth-child(1) {background:#e1f3f7}
.dashboard-nav a:nth-child(2) {background:#f0e6fc}
.dashboard-nav a:nth-child(3),.dashboard-nav a:nth-child(4) {background:#e4f4e9}
.dashboard-nav a:nth-child(5) {background:#e6effb}
.daily-three {display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr))}
.daily-three .daily-net {background:#e3f4e9;border-color:#9ac4ae}

.student-schedule {display:block;margin-top:.15rem}
.finance-summary {display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.65rem}
.finance-summary div {padding:.7rem;border:1px solid var(--line);border-radius:.4rem;background:#f1f9f4}
.finance-summary dt {font-size:.9rem}
.finance-summary dd {margin:.15rem 0 0;font-weight:700;font-size:1.25rem}
