.teacher-preview-page{background:#fffdf8;color:var(--ink)}
.teacher-preview-page .header{background:rgba(255,253,248,.94)}
.preview-back{border:1px solid rgba(16,38,30,.14);border-radius:999px;font-size:13px;font-weight:800;padding:11px 17px}
.preview-hero{max-width:1440px;margin:0 auto;padding:170px 64px 88px}
.preview-hero h1{font-size:clamp(48px,6vw,84px);letter-spacing:-.07em;line-height:1.04;margin:18px 0 24px}
.preview-hero h1 em{color:var(--green);font-style:normal}
.preview-hero>p:not(.section-label){color:var(--muted);line-height:1.8;max-width:720px}
.preview-warning{align-items:flex-start;background:#fff4dc;border:1px solid #ead4a7;border-radius:18px;display:flex;gap:12px;margin-top:28px;max-width:900px;padding:17px 20px}
.preview-warning b{color:#7b531b;flex:0 0 auto;font-size:12px}
.preview-warning span{color:#6c5a42;font-size:13px;line-height:1.65}
.preview-teachers{background:#173f35;border-radius:44px;color:#fff}
.preview-teachers .section-label,.preview-teachers .section-title>p{color:rgba(255,255,255,.7)}
.teacher-filters{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:22px;display:grid;grid-template-columns:1.4fr repeat(2,minmax(150px,.7fr));gap:14px;margin-top:42px;padding:18px}
.teacher-filters label{display:grid;gap:8px}
.teacher-filters span{color:rgba(255,255,255,.72);font-size:11px;font-weight:800}
.teacher-filters input,.teacher-filters select{background:#fff;border:0;border-radius:12px;color:var(--ink);font:inherit;min-height:48px;padding:11px 14px;width:100%}
.teacher-result-count{color:rgba(255,255,255,.75);font-size:13px;font-weight:800;margin:22px 0 -24px}
.teacher-no-result{color:#fff;grid-column:1/-1;text-align:center}
.preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:48px}
.preview-card{background:#fff;border-radius:25px;color:var(--ink);display:flex;flex-direction:column;overflow:hidden}
.preview-body{display:flex;flex:1;flex-direction:column;padding:30px 26px 26px}
.preview-body h3{font-size:27px;letter-spacing:-.045em;margin:0 0 12px}
.preview-facts{border-bottom:1px solid rgba(16,38,30,.09);border-top:1px solid rgba(16,38,30,.09);display:grid;gap:0;margin:10px 0 18px;padding:10px 0}
.preview-facts>div{display:grid;grid-template-columns:78px 1fr;gap:10px;min-height:34px;padding:7px 0}
.preview-facts b,.preview-card-region b{color:var(--green);font-size:11px;letter-spacing:-.02em}
.preview-facts span,.preview-card-region span{color:#34443f;font-size:13px;font-weight:700;line-height:1.55}
.preview-intro{color:var(--muted);font-size:13px;line-height:1.7;margin:0;min-height:44px}
.preview-card-region{background:#f5f8f4;border-radius:12px;display:grid;grid-template-columns:78px 1fr;gap:10px;margin-top:16px;padding:12px}
.preview-detail-button{align-items:center;background:transparent;border:0;border-top:1px solid rgba(16,38,30,.1);color:var(--green);cursor:pointer;display:flex;font:inherit;font-size:13px;font-weight:900;justify-content:space-between;margin-top:auto;padding:20px 0 0;text-align:left;width:100%}
.preview-detail-button span{font-size:18px}
.teacher-dialog{background:#fffdf8;border:0;border-radius:28px;box-shadow:0 28px 90px rgba(10,35,28,.28);color:var(--ink);max-height:88vh;max-width:760px;padding:48px;width:calc(100% - 40px)}
.teacher-dialog::backdrop{background:rgba(10,28,23,.65);backdrop-filter:blur(4px)}
.teacher-dialog-close{align-items:center;background:#eef5f0;border:0;border-radius:50%;color:var(--green);cursor:pointer;display:flex;font-size:25px;height:42px;justify-content:center;position:absolute;right:22px;top:22px;width:42px}
.teacher-dialog h2{font-size:clamp(34px,5vw,52px);letter-spacing:-.055em;margin:12px 0 28px}
.dialog-meta{background:#f3f7f3;border-radius:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:18px 22px}
.dialog-meta>div{display:grid;gap:5px;padding:12px 0}
.dialog-meta b{color:var(--green);font-size:11px}
.dialog-meta span{font-size:14px;font-weight:700;line-height:1.55}
.dialog-copy{border-top:1px solid rgba(16,38,30,.1);margin-top:28px;padding-top:26px}
.dialog-copy h3{font-size:20px;margin:0 0 12px}
.dialog-copy p{color:var(--muted);font-size:15px;line-height:1.85;margin:0}
.dialog-consult{display:flex;margin-top:30px;width:100%}
@media(max-width:1020px){.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.preview-hero{padding:125px 20px 60px}.preview-hero h1{font-size:45px}.preview-warning{flex-direction:column}.preview-teachers{border-radius:26px}.teacher-filters{grid-template-columns:1fr}.preview-grid{grid-template-columns:1fr}.preview-body{padding:25px 20px 22px}.teacher-dialog{border-radius:22px;padding:38px 20px 26px}.teacher-dialog-close{right:14px;top:14px}.dialog-meta{grid-template-columns:1fr}.dialog-copy p{font-size:14px;line-height:1.8}}
