.role-view {
  --r-wine:#440709;--r-red:#641619;--r-ink:#30251f;--r-sub:#696055;
  --r-gold:#ae8d5b;--r-line:#d7c8b2;--r-paper:#fffaf2;--r-cream:#eee7d7;
  color:var(--r-ink);min-width:0;
}
.role-view *, .role-view *::before, .role-view *::after{box-sizing:border-box}
.role-head h1{overflow-wrap:anywhere}
.role-head p{max-width:65ch}
.role-view h2,.role-view h3{font-family:var(--serif,Corm,Georgia,serif);color:var(--r-wine);letter-spacing:-.025em;font-weight:600}
.role-view h2{font-size:clamp(29px,3.2vw,45px);line-height:1.02;margin:0 0 12px}
.role-kicker,.role-facts dt,.role-spine-facts dt{font:650 10px/1.45 var(--sans,Arial,sans-serif);text-transform:uppercase;letter-spacing:.14em}
.role-kicker{color:#775536}
.role-text{display:inline-flex;align-items:center;justify-content:space-between;gap:8px;border:none;border-bottom:1px solid #a78a56;background:transparent;color:var(--r-wine);padding:4px 0;font:650 .81rem/1.3 var(--sans,Arial,sans-serif);text-align:left;cursor:pointer}
.role-text span{line-height:1;font-size:.92rem;color:#9b6d37}
.role-text:hover{border-bottom-color:var(--r-red);color:var(--r-red)}
.role-link span{font-size:.82rem}
.role-switch{display:flex;gap:4px;flex-wrap:wrap;align-items:center}
.role-choice{appearance:none;border:1px solid transparent;background:transparent;color:#65574b;border-radius:4px;font:600 .78rem/1.35 var(--sans,Arial,sans-serif);padding:6px 9px;min-height:33px;cursor:pointer}
.role-choice[aria-pressed="true"]{background:#f1e5d3;color:var(--r-wine);border-color:#c6ab86}
.role-choice:hover{color:var(--r-wine);background:#f7ecdc}
.role-view button:focus-visible,.role-view a:focus-visible{outline:3px solid #916136;outline-offset:2px}
.role-demo{color:#695c50;font-size:.76rem;margin:17px 0 0}
.role-line-title,.role-register-top,.role-register-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.role-line-title h2,.role-register-top h2,.role-register-tools h3{margin:0}
.role-line-title>span,.role-register-tools>span{font:600 .76rem/1.4 var(--sans,Arial,sans-serif);color:var(--r-sub)}
.role-lesson-hero{display:grid;grid-template-columns:1.1fr .9fr;background:var(--r-wine);border:1px solid #5b1618;border-radius:9px;overflow:hidden;min-height:280px;color:#fff7e9}
.role-hero-copy{padding:clamp(22px,3.4vw,46px);border-top:2px solid #cba878}
.role-hero-copy .role-kicker,.role-lesson-spine .role-kicker{color:#e1c69a}
.role-hero-copy h2,.role-lesson-spine h2{font-weight:500;color:#fff6e7;font-size:clamp(42px,5.4vw,72px);letter-spacing:-.04em;line-height:.95;margin:11px 0 13px}
.role-hero-copy p,.role-lesson-spine>p{line-height:1.5;color:#f4e6cf;max-width:44ch;margin:0 0 17px;font-size:.95rem}
.role-hero-copy .role-text{color:#fff7e6;border-color:#caa778;font-weight:600;min-height:30px}
.role-hero-copy .role-text span{color:#ebcd90}
.role-lesson-photo{margin:0;min-width:0;position:relative;background:#6c5746}
.role-lesson-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center center}
.role-facts{display:flex;flex-wrap:wrap;gap:10px 25px;margin:16px 0 10px;border-top:1px solid #92695a;padding-top:12px}
.role-facts dt,.role-spine-facts dt{color:#ddc3a7;font-size:9px}
.role-facts dd,.role-spine-facts dd{font-size:.85rem;color:#fff7eb;margin:2px 0 0}
.role-student-bottom,.role-teacher-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr);gap:clamp(14px,2vw,26px);margin-top:20px;align-items:start}
.role-sheet,.role-agenda,.role-paper-note,.role-teacher-notes,.role-register,.role-workspace{background:var(--r-paper);border:1px solid var(--r-line);border-radius:8px}
.role-sheet,.role-agenda,.role-paper-note,.role-teacher-notes{min-width:0;padding:clamp(15px,2.1vw,29px)}
.role-sheet .role-line-title h2,.role-agenda .role-line-title h2{font-size:clamp(27px,2.7vw,38px)}
.role-diary-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid var(--r-line)}
.role-sheet .role-line-title{margin-bottom:12px}
.role-diary-row:last-child{padding-bottom:0}
.role-date{color:#795530;font:600 .77rem/1.35 var(--sans,Arial,sans-serif)}
.role-diary-row h3{font-size:clamp(19px,2vw,24px);line-height:1.05;margin:0}
.role-view small{font-size:.74rem;line-height:1.45;color:var(--r-sub)}
.role-diary-row small{display:block;margin-top:4px}
.role-paper-note{background:#f4ebd9;border-top:2px solid #b79a6d}
.role-paper-note .role-switch{margin:-2px 0 13px}
.role-paper-note .role-choice{padding:4px 6px;font-size:.73rem}
.role-paper-note h2,.role-teacher-notes h2{font-size:clamp(26px,2.9vw,39px)}
.role-paper-note p,.role-teacher-notes p,.role-static-block p,.role-register-intro{font-size:.91rem;line-height:1.53;margin:5px 0 0}
.role-teacher-grid{margin-top:0}
.role-agenda .role-line-title{margin-bottom:12px}
.role-agenda-dates{padding:13px 0 4px;border-block-start:1px solid var(--r-line);margin-top:12px}
.role-agenda-dates .role-choice{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;min-height:29px;padding:3px 1px;margin-right:12px}
.role-agenda-dates .role-choice[aria-pressed="true"]{border-bottom-color:var(--r-wine);color:var(--r-wine)}
.role-timeline{list-style:none;padding:0;margin:12px 0 0}
.role-timeline li{display:grid;grid-template-columns:55px 1fr;gap:13px;padding:0 0 17px}
.role-timeline li:last-child{padding-bottom:0}
.role-time{display:grid;align-content:start;gap:1px;padding:3px 0}
.role-time b{font-size:.92rem;color:var(--r-wine)}
.role-time span{font-size:.7rem;color:var(--r-sub)}
.role-session{border-inline-start:2px solid #b69a74;padding:1px 0 8px 14px}
.role-session h3{font-size:clamp(25px,2.7vw,37px);line-height:1.02;margin:3px 0}
.role-session p{font-size:.83rem;margin:0 0 6px}
.role-teacher-notes{background:#efe6d5;border:1px solid #cfbda1;border-top:2px solid #9e7f52}
.role-teacher-notes h2{margin:6px 0}
.role-teacher-notes>p{margin-bottom:13px}
.role-material-row{display:flex;align-items:baseline;gap:10px;border-top:1px solid #d5c4a9;padding:7px 0}
.role-material-row b{font-size:.69rem;color:#7a613f}
.role-material-row .role-text{font-size:.82rem;border:0}
.role-teacher-post{margin-top:12px;padding-top:13px;border-top:1px solid #bca482}
.role-teacher-post p{font-size:.85rem}
.role-speaking{margin-top:12px;border-top:1px solid var(--r-line)}
.role-speaking summary{padding:13px 0;min-height:44px;cursor:pointer;color:#681d33;font-weight:650}
.role-speaking form{display:grid;gap:10px;max-width:24rem}
.role-speaking label{display:grid;gap:4px;font-size:.88rem}
.role-speaking :is(select,input,button){font:inherit;min-width:0;min-height:44px;border:1px solid #c4ad9b;border-radius:7px;padding:6px 10px}
.role-speaking :is(select,input){width:100%;background:#fffaf2;color:#382a2d}
.role-speaking button{width:fit-content;background:#681d33;color:#fffaf2;cursor:pointer}
.role-speaking output{font-size:.88rem}
.role-speaking output:empty{display:none}
.role-static-block{padding:19px 0 12px}
.role-static-block h3{font-size:1.65rem;line-height:1.1;margin:0 0 8px}
.role-static-block small{display:block;margin-top:5px}
.role-register{overflow:hidden}
.role-register-top{padding:clamp(18px,2.5vw,34px);background:var(--r-wine);border-bottom:2px solid #c6a36f;align-items:end}
.role-register-top .role-kicker{color:#ddc098}
.role-register-top h2{color:#fff7ec;font-size:clamp(30px,3.6vw,52px);margin-top:8px}
.role-register-top .role-choice{color:#f0dfc7}
.role-register-top .role-choice[aria-pressed="true"]{color:#4b0a0d;background:#f5e9d3;border-color:#f5e9d3}
.role-register-top .role-choice:hover{color:#4b0a0d}
.role-register-tools,.role-register-intro,.role-register>.role-static-block{padding:13px clamp(15px,2.3vw,29px);margin:0}
.role-register-tools h3{font-size:1.8rem;line-height:1}
.role-register-tools{border-bottom:1px solid var(--r-line)}
.role-table{width:100%;border-collapse:collapse;text-align:left;font:inherit}
.role-table th,.role-table td{padding:12px 10px;border-bottom:1px solid #e0d4c1;vertical-align:top}
.role-table th{font-weight:600;font-size:.7rem;line-height:1.35;color:#765f48;background:#f6efdf}
.role-table td{font-size:.86rem}
.role-table td b{font-weight:650;display:block}
.role-table td small{display:block}
.role-table :is(td,th):first-child{padding-left:clamp(15px,2.3vw,29px)}
.role-table tr:last-child td{border-bottom:0}
.role-table .role-text{padding:0 0 3px;font-size:.78rem}
.role-admin-foot,.role-operations li{display:flex;align-items:center;gap:9px 15px;flex-wrap:wrap}
.role-admin-foot{border-top:1px solid var(--r-line);padding:11px clamp(15px,2.3vw,29px);background:#f6f0e4;font-size:.83rem}
.role-admin-foot span,.role-operations p{color:var(--r-sub)}
.role-admin-foot button{margin-left:auto}
.role-operations{list-style:none;padding:0 clamp(15px,2.3vw,29px);margin:0 0 7px}
.role-operations li{justify-content:space-between;border-top:1px solid var(--r-line);padding:10px 0}
.role-operations li>span{font-size:.74rem;color:#765333}
.role-operations p{font-size:.85rem;margin:2px 0}
.role-workspace{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);overflow:hidden;min-height:315px}
.role-lesson-spine,.role-work-paper{padding:clamp(18px,2.8vw,39px)}
.role-lesson-spine{background:#4b0d12;color:#fff8ef;border-right:2px solid #b59667}
.role-lesson-spine h2{font-size:clamp(35px,4.3vw,57px)}
.role-spine-facts{margin:18px 0 0;border-top:1px solid #956f60;padding-top:12px;display:grid;gap:8px}
.role-spine-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:7px}
.role-spine-facts dd{text-align:right}
.role-page-copy{border-top:1px solid var(--r-line);padding-top:18px;margin-top:13px}
.role-page-copy>h3{font-size:clamp(26px,2.9vw,40px);line-height:1.08;margin:0 0 14px}
.role-page-copy p{line-height:1.5;font-size:.93rem;margin:2px 0 0}
.role-page-copy blockquote{font:italic 500 clamp(26px,2.7vw,40px)/1.1 var(--serif,Georgia,serif);color:var(--r-wine);border-left:2px solid var(--r-gold);padding:3px 0 3px 17px;margin:16px 0 0}
.role-outline{margin:0;padding-left:18px}
.role-outline li{padding-left:4px;margin-bottom:12px}
.role-outline li::marker{font-weight:650;color:#966b3b;font-size:.84rem}
.role-outline li>span{font-size:.9rem;font-weight:650}
.role-sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
@media(max-width:920px){
  .role-student-bottom,.role-teacher-grid{grid-template-columns:1.1fr .9fr;gap:12px}
  .role-register-top{align-items:start;flex-direction:column}
  .role-diary-row{grid-template-columns:40px minmax(0,1fr) auto;gap:6px}
}
@media(max-width:700px){
  .role-student-bottom,.role-teacher-grid,.role-workspace{grid-template-columns:1fr}
  .role-lesson-hero{grid-template-columns:1.1fr .9fr;min-height:240px}
  .role-workspace{min-height:0}.role-lesson-spine{border:0;border-bottom:2px solid #b59667}
  .role-spine-facts{display:flex;gap:9px 22px;flex-wrap:wrap}.role-spine-facts>div{display:block}.role-spine-facts dd{text-align:left}
}
@media(max-width:520px){
  .role-lesson-hero{grid-template-columns:1fr}.role-lesson-photo{height:145px;order:-1}.role-lesson-photo img{object-position:center 43%}
  .role-hero-copy{padding:18px 17px;border-top:0}.role-hero-copy h2{font-size:43px}
  .role-facts{margin:12px 0 6px}.role-hero-copy p{margin-bottom:8px}.role-register-top{padding:16px}
  .role-register-top .role-choice{font-size:.72rem;padding-inline:6px}
  .role-table,.role-table tbody,.role-table tr{display:block}
  .role-table thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  .role-table tbody tr{border-bottom:1px solid var(--r-line);padding:8px 15px}
  .role-table tr td,.role-table tr td:first-child{display:grid;grid-template-columns:minmax(60px,.45fr) minmax(0,1fr);gap:4px 10px;padding:3px 0;border:0;align-items:start}
  .role-table td::before{display:block;content:attr(data-label);color:#715e4d;font-size:.73rem;grid-column:1;grid-row:1/3}
  .role-table td b,.role-table td small,.role-table td button{grid-column:2;justify-self:start}
  .role-register-top h2{font-size:31px}.role-head h1{font-size:clamp(36px,10vw,48px)}
}
.role-register-summary{display:flex;flex-wrap:wrap;gap:7px 24px;padding:12px clamp(15px,2.3vw,29px);border-top:1px solid var(--r-line);font-size:.77rem;color:#635246}
.role-register-summary b{margin-right:3px;color:var(--r-wine);font-size:.92rem}
.role-transfer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:16px 0;padding:14px clamp(15px,2.2vw,27px);border:1px solid #cbb493;border-left:3px solid #7b3b36;border-radius:7px;background:#faf3e6;color:#440709;text-decoration:none}
.role-transfer>b,.role-transfer b{font:600 clamp(21px,2.2vw,29px)/1.1 var(--serif,Corm,Georgia,serif)}
.role-transfer small{display:block;margin-top:4px;color:#6b5646}.role-transfer>span:last-child{font-size:1.35rem}
.role-transfer:hover{background:#f4e6d3}
.role-paper-note p.role-other-tutors{margin-top:16px;color:#6b594b;font-size:.76rem;font-weight:600}
