/* v48: extend Your Week's visual identity across all teacher sections. */
body:has(.ytm-teacher){background:#f7f5ed url('illustrated-doodles.svg') repeat;background-size:340px 351px}
body:has(.ytm-teacher) .ytm-sidebar{background:linear-gradient(120deg,#1f3b28,#123222);color:#fff8e9}
body:has(.ytm-teacher) .ytm-sidebar nav button{font-size:14px;font-family:var(--body-font)!important;font-weight:400!important;border-radius:7px}
body:has(.ytm-teacher) .ytm-sidebar .ytm-brand{font-family:var(--heading-font)!important;font-weight:600;letter-spacing:-.025em;font-size:26px}
body:has(.ytm-teacher) .ytm-teacher-main{background:transparent;max-width:none;padding:34px 36px 70px;color:#172f25;font-family:var(--body-font)}
body:has(.ytm-teacher) .ytm-teacher-main .ytm-card,
body:has(.ytm-teacher) .ytm-teacher-main .panel,
body:has(.ytm-teacher) .ytm-teacher-main .content-card{background:#fffdfa;border:1px solid #c5d0ba;border-radius:9px;box-shadow:none}
body:has(.ytm-teacher) .ytm-teacher-main .btn{font-family:var(--body-font)!important;font-size:13px;font-weight:500!important;border-radius:7px;box-shadow:none}
body:has(.ytm-teacher) .ytm-teacher-main .btn-ghost{background:#fffdfa;border:1px solid #d4d5cb;color:#26332b}
body:has(.ytm-teacher) .ytm-teacher-main .input{font-family:var(--body-font)!important;background:#fffefb;border:1px solid #c9d3be;border-radius:7px;color:#172f25}
body:has(.ytm-teacher) .ytm-teacher-main h1,body:has(.ytm-teacher) .ytm-teacher-main h2{font-family:var(--heading-font)!important;color:#172f25}
.dm-learn-item .dm-dismiss{margin-left:auto;white-space:nowrap;color:#7f3d38}
@media(max-width:700px){body:has(.ytm-teacher) .ytm-teacher-main{padding:22px 14px 65px}.dm-learn-item .dm-dismiss{margin-left:0}}

/* v49 finance: same one-column student list vocabulary as Students */
.dm-fin-list{display:flex;flex-direction:column;gap:9px;margin:18px 0}.dm-fin-student{padding:0!important;overflow:hidden}.dm-fin-student-toggle{width:100%;background:none;border:0;text-align:left;display:flex;align-items:center;gap:12px;padding:16px;cursor:pointer;color:inherit;font:inherit}.dm-fin-student-toggle:hover{background:#f4f6f0}.dm-fin-student-name{flex:1;min-width:0}.dm-fin-student-name strong{display:block;font-size:16px}.dm-fin-student-name small,.dm-fin-student-total small{display:block;color:#62746b;font-size:12px;margin-top:3px}.dm-fin-student-total{text-align:right;font-weight:600}.dm-fin-chevron{color:#62746b;margin-left:8px}.dm-fin-details{border-top:1px solid #d6dfd2;padding:18px 20px;display:grid;gap:12px}.dm-fin-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}.dm-fin-fields label{display:grid;gap:6px}@media(max-width:580px){.dm-fin-student-total{font-size:13px}.dm-fin-student-toggle{padding:12px 9px;gap:8px}}

.dm-material-panel{background:#fffdfa;border:1px solid #c5d0ba;border-radius:9px;padding:15px;margin:12px 0 20px}.dm-material-panel .section-label{margin-bottom:10px}.dm-material-panel textarea{width:100%;box-sizing:border-box}
