/* Teachers role page (/use-cases/teachers). Builds on /styles.css tokens and css/audience.css (au-* band layout).
   The rp-* block (role-page builds and site mockups) is the same in students, freelancers, small-business and
   teachers.css; it can move into audience.css in one step. */

/* ---- rp: shared role-page pattern ---- */
.rp .au-hero h1 { max-width: 15em; }
.rp-link { display: block; margin-top: 4px; font: 500 var(--fs-xs)/1.35 var(--mono); color: var(--primary); overflow-wrap: anywhere; }
.rp-feel { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .rp-feel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .rp-feel { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rp-feel li { margin: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.rp-feel p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.rp-feel .rp-said { margin: 0 0 12px; padding: 12px 14px; background: var(--field); border: 1.5px solid var(--line-strong); border-radius: 14px 14px 14px 4px; color: var(--ink); font-size: var(--fs-body); font-weight: 600; line-height: 1.35; }
.rp-builds { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-7); }
.rp-build { display: grid; gap: var(--s-5); margin: 0; min-width: 0; }
@media (min-width: 900px) {
  .rp-build { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: center; }
  .rp-build:nth-child(even) .rp-build-text { order: 2; }
}
.rp-build-text { min-width: 0; }
.rp-build-text h3 { margin: 0 0 8px; font-size: clamp(22px, 1vw + 17px, 26px); letter-spacing: -0.01em; }
.rp-build-text > p { margin: 0 0 12px; color: var(--muted); }
.rp-build-text .ticks { margin: 0 0 14px; font-size: var(--fs-sm); }
.rp-build-text .au-plan { margin: 0; }
.rp-num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 0 14px; border-radius: 50%; background: var(--field); border: 2px solid var(--line-strong); font: 700 18px/1 var(--body); color: var(--ink); }
.rp-build-show { display: grid; gap: var(--s-4); min-width: 0; }
.rp-build-show .au-chat { border: 2px solid var(--line-strong); box-shadow: var(--pop); }
@media (min-width: 640px) { .rp-build-show .rp-mock { width: 88%; justify-self: end; } }
.rp-mock { background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.rp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--paper); border-bottom: 1px solid var(--line); font: 500 var(--fs-xs)/1.2 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.rp-mock-bar::before { content: ""; flex: 0 0 auto; width: 28px; height: 8px; background: radial-gradient(circle, var(--line-strong) 3px, transparent 3.5px) 0 0 / 10px 8px repeat-x; opacity: 0.35; }
.rp-mock-body { padding: 18px; color: #23221D; }
.rp-m-kicker { margin: 0 0 6px; font: 500 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.rp-m-title { margin: 0 0 6px; font: 700 22px/1.1 var(--body); letter-spacing: -0.02em; }
.rp-m-text { margin: 0 0 14px; font-size: var(--fs-sm); color: #5B5950; }
.rp-gate { display: grid; justify-items: center; text-align: center; padding: 26px 18px; background: #FFF8D6; }
.rp-gate .rp-m-text { margin: 0; }
.rp-lock { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 10px; border-radius: 50%; background: #FFFFFF; border: 1.5px solid #1B2A9E; }
.rp-lock svg { width: 22px; height: 22px; fill: none; stroke: #23221D; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rp-code { display: flex; gap: 6px; margin: 14px 0 0; }
.rp-code i { width: 30px; height: 38px; border-radius: 8px; background: #FFFFFF; border: 1.5px solid #23221D; display: grid; place-items: center; font: 700 16px/1 var(--mono); font-style: normal; }
.rp-worries > li { padding: 22px; }
.rp-worries p { margin: 0; }

/* ---- Teachers page ---- */
.te-who { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.te-who li { margin: 0; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line-strong); font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }

/* Mock: class site */
.te-class { background: #F7F4EC; }
.te-class .rp-m-kicker { color: #8A3B12; }
.te-class .rp-m-title { font: 400 28px/1.05 Georgia, 'Times New Roman', serif; }
.te-hw { display: grid; margin: 10px 0 0; }
.te-hw div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid rgba(35,34,29,.14); font-size: 14px; }
.te-hw b { font: 500 12px/1.6 var(--mono); color: #8A3B12; }
.te-hw div.is-new span::after { content: "New"; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: #E3F4E8; color: #1E5B34; font: 600 11px/1 var(--mono); }

/* Mock: resources list */
.te-res { background: #FFFFFF; }
.te-file { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(35,34,29,.14); font-size: 14px; }
.te-file i { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 40px; border-radius: 4px; background: #FDECEA; border: 1px solid #E8B4AE; font: 700 9px/1 var(--mono); font-style: normal; color: #B42318; }
.te-file i.is-img { background: #E7EEFF; border-color: #B8C6F2; color: #2340D8; }
.te-file span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.te-file small { flex: 0 0 auto; font: 500 12px/1 var(--mono); color: #5B5950; }

/* Mock: weekly lessons */
.te-week { background: #FFFDF5; }
.te-weeks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 6px 0 12px; }
.te-weeks span { padding: 8px 2px; border-radius: 8px; text-align: center; background: #E3F4E8; border: 1px solid #2E9E5B; font: 600 12px/1.25 var(--body); color: #1E5B34; }
.te-weeks span.is-clash { background: #FDECEA; border-color: #B42318; color: #B42318; }
.te-weeks small { display: block; font: 500 11px/1.2 var(--mono); }
.te-note { margin: 0; font-size: 13px; color: #5B5950; }

/* Mock: sign-up form */
.te-form { display: grid; gap: 8px; background: #FFFFFF; }
.te-form .rp-m-kicker { color: #2340D8; }
.te-field { display: grid; gap: 4px; margin: 0; font: 600 12px/1.2 var(--body); color: #5B5950; }
.te-field span { padding: 9px 11px; border-radius: 8px; border: 1.5px solid #23221D; font: 500 13px/1.3 var(--mono); color: #23221D; background: #FFFDF5; overflow-wrap: anywhere; }
.te-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.te-form b { justify-self: start; margin-top: 4px; padding: 10px 16px; border-radius: 999px; background: #2340D8; color: #FFFFFF; font-size: 14px; }
