.page-edit-banner{padding:14px 32px;background:#e5eef1;display:flex;justify-content:space-between;gap:20px;font-size:13px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.block-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.block-text{white-space:pre-wrap;margin:14px 0 24px}.information-block .btn{margin-top:20px}.folder-banner{display:flex;align-items:center;gap:40px;padding:36px;background:#e6eef1;border:1px solid #cfdee4;border-radius:8px;color:#25495a}.folder-banner p{margin:10px 0 20px}.month-card{display:grid;grid-template-columns:145px minmax(0,1fr);border:1px solid #dce5e9;border-radius:8px;overflow:hidden;margin:12px 0;background:#fff}.month-label{background:#edf3f5;padding:20px;display:flex;align-items:center;font-weight:600;text-transform:capitalize;font-size:14px}.compact-schedule{width:100%;border-collapse:collapse;font-size:13px;line-height:1.45}.compact-schedule th{text-align:left;font-size:11px;font-weight:500;color:#718189;padding:10px 14px}.compact-schedule td{padding:13px 14px;vertical-align:top}.compact-schedule tbody tr:nth-child(odd){background:#f3f7f8}.compact-schedule td:first-child{white-space:nowrap}.compact-schedule small{color:#74858b;font-size:11px}.compact-schedule td:nth-child(n+2) small{display:block;margin-top:4px}.lesson-time{white-space:nowrap}.past-schedule{padding:16px;background:transparent}.past-schedule summary{margin-bottom:16px}.recording-module{margin:24px 0}.recording-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:16px}.video-symbol{font-size:34px;color:#4f8196}.editor-toolbar{padding:18px 22px;background:#e6eef1;border-radius:6px;display:flex;justify-content:space-between;gap:20px;font-size:13px;margin:25px 0}.editor-toolbar a{white-space:nowrap}#blocks-form fieldset{padding:0;margin:0;border:0}.editor-block{margin:16px 0;border:1px solid #d4e0e5;border-radius:8px;padding:0;overflow:hidden}.editor-block>summary{padding:20px 24px;background:#fff;font-weight:500}.editor-block>summary small{float:right;color:#72828a;font-weight:400;font-size:12px}.editor-block-body{padding:24px;border-top:1px solid #dce5e9;background:#fff}.block-controls{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:24px}.block-controls .check{margin:0 auto 0 0}.block-controls button{border:0;background:transparent;font-size:12px;color:#3b6577}.block-controls button:disabled{opacity:.35;cursor:default}.block-controls .danger,.editor-row .danger{color:#a52b30}.editor-row{padding:22px;background:#f3f6f7;border-radius:6px;margin:16px 0}.editor-row .form-grid{align-items:start}.editor-row .text-button{margin-top:12px}.editor-rows>.btn{margin-top:16px}.editor-block .field{margin-top:18px}.editor-add{display:flex;gap:18px;align-items:end;padding:20px 0}.editor-add .field{margin:0;min-width:260px}.editor-save{display:flex;justify-content:space-between;align-items:center;gap:20px;position:sticky;bottom:0;background:#f4f6f6f5;border-top:1px solid #cad8df;padding:18px 0;margin:20px 0 10px}.editor-save span{font-size:13px;color:#506a77}.editor-block input,.editor-block select,.editor-block textarea{max-width:100%}.editor-block input[type=checkbox]{width:auto}.recording-grid .card{padding:24px}.group-card .course-card-actions{flex-wrap:wrap}
@media(max-width:720px){.contact-grid{grid-template-columns:1fr}.month-card{grid-template-columns:1fr}.month-label{padding:12px 16px}.compact-schedule{min-width:620px}.folder-banner{gap:20px;padding:24px;align-items:flex-start}.folder-banner svg{width:50px;min-width:50px}.editor-toolbar,.page-edit-banner{flex-direction:column}.editor-block>summary{padding:18px}.editor-block>summary small{float:none;display:block;margin-top:6px}.editor-block-body{padding:18px}.editor-row{padding:16px}.editor-add{align-items:stretch;flex-direction:column}.editor-add .field{min-width:0}.editor-save{gap:10px}.editor-save .btn{font-size:12px}.editor-toolbar a{white-space:normal}}

/* Shared column widths keep every month aligned. */
.compact-schedule{table-layout:fixed}.compact-schedule .col-date{width:145px}.compact-schedule .col-time{width:150px}.compact-schedule .col-teacher{width:170px}.compact-schedule td{padding:11px 14px}.compact-schedule strong{font-weight:550}.month-label{font-size:13px;padding:16px;white-space:nowrap}.lesson-context{display:flex;flex-wrap:wrap;gap:4px 14px;color:#74858b;font-size:11px;margin-top:5px}.compact-schedule td:nth-child(3){overflow-wrap:anywhere}.compact-schedule td:last-child{overflow-wrap:break-word}@media(max-width:1050px){.month-card{grid-template-columns:120px minmax(0,1fr)}.month-label{padding:12px;font-size:12px}.compact-schedule .col-date{width:130px}.compact-schedule .col-time{width:135px}.compact-schedule .col-teacher{width:140px}.compact-schedule td,.compact-schedule th{padding:10px}}@media(max-width:850px){.month-card{grid-template-columns:1fr}.month-label{font-size:14px}.compact-schedule{min-width:680px}.compact-schedule .col-lesson{width:275px}}
/* Group cover and shared schedule workspace. */
.course-hero{position:relative;isolation:isolate}.course-hero.has-group-cover{background:#1c3948}.group-hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.has-group-cover:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,36,47,.88),rgba(12,36,47,.4))}.hero-editor{padding:24px;margin-bottom:28px}.hero-editor>p{color:var(--muted);margin:8px 0 20px}.hero-editor-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px}.hero-editor .field{margin:16px 0}.hero-mini-preview{padding:30px;min-height:290px;border-radius:8px;overflow:hidden}.hero-mini-preview h3{font-size:25px;margin:28px 0}.hero-mini-preview .hero-side p{display:block;white-space:pre-line}.schedule-group{padding:0;border-top:1px solid var(--line)}.schedule-group>summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 24px;list-style:none}.schedule-group>summary:before{content:'›';font-size:24px;color:var(--blue)}.schedule-group[open]>summary:before{transform:rotate(90deg)}.schedule-group>summary>span:first-of-type{flex:1}.schedule-group small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.schedule-group>summary>span:last-child{font-size:12px;color:var(--muted)}.schedule-group-body{padding:8px 24px 28px}.schedule-block-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 20px}.schedule-group-body>.group-row-actions{margin-top:24px}.hero-side p{white-space:pre-line;overflow-wrap:anywhere}@media(max-width:720px){.hero-editor-layout{grid-template-columns:1fr}.hero-editor{padding:18px}.schedule-group>summary{padding:16px;gap:12px;flex-wrap:wrap}.schedule-group-body{padding:8px 16px 20px}.schedule-block-heading{display:block}.schedule-block-heading .group-row-actions{margin-top:12px}.course-hero .hero-side p{display:block}}

.program-cover{display:block;width:100%;height:220px;object-fit:cover;border-radius:12px;margin-bottom:18px}.program-name-cell{display:flex;align-items:center;gap:12px}.program-cover-thumb{width:70px;height:48px;object-fit:cover;border-radius:6px;flex-shrink:0}

.course-hero.has-default-cover:before{display:none}

.course-hero.has-default-cover{background:#e9eeeb;color:#263937}.has-default-cover .breadcrumb,.has-default-cover .hero-meta{color:#52636a}.has-default-cover .hero-meta strong{color:#263937}.has-default-cover .hero-side{border-top-color:#203e4930}.has-default-cover .hero-side p{color:#485b62}.past-schedule+.month-card{margin-top:20px}

.homework-scroll{overflow-x:auto;border:1px solid #dce5e9;border-radius:8px;background:#fff}.homework-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}.homework-table th{text-align:left;background:#edf3f5;font-size:12px;color:#526a72;font-weight:500}.homework-table th,.homework-table td{padding:18px;vertical-align:top;border-bottom:1px solid #e3eaec}.homework-table tr:last-child td{border-bottom:0}.homework-table .block-text{margin:8px 0 0}.homework-deadline{white-space:nowrap}.homework-module{font-size:12px;color:#61757d}.homework-table td:nth-child(3){min-width:260px}.content-status{display:inline-block;border-radius:5px;padding:5px 9px;font-size:11px;line-height:1.5;white-space:nowrap}.is-past{background:#eff2f3;color:#65777d}.is-upcoming{background:#fff2d9;color:#78591b}.is-published{background:#e7efeb;color:#3c6551}.recording-card time{display:block;margin:14px 0;color:#627980;font-size:12px}.recording-card h3{margin:18px 0 12px}.recording-card.is-pending{background:#f8faf9}.recording-card .muted{font-size:13px;margin-top:14px}.course-faq{padding:0;border-bottom:1px solid #dce5e9}.course-faq summary{padding:22px 0;cursor:pointer;font-size:16px;line-height:1.5}.course-faq .faq-answer{max-width:900px;padding:0 0 24px}.course-faq .block-text{margin:0 0 18px;line-height:1.7;overflow-wrap:anywhere}.resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.resource-card{display:flex;align-items:flex-start;flex-direction:column}.resource-card .btn{margin-top:auto}.resource-card h3{margin-bottom:16px}.block-image{display:block;width:100%;max-height:320px;object-fit:contain;object-position:left center;border-radius:6px;margin-bottom:24px}.homework-table .text-link{white-space:nowrap}@media(max-width:720px){.homework-table{min-width:650px}.homework-table th,.homework-table td{padding:14px}.resource-grid{grid-template-columns:1fr}.block-image{max-height:240px}.course-faq summary{font-size:15px}.recording-grid{grid-template-columns:1fr}}

/* Compact administrator contacts and group chats. */
.contact-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;background:#fff;border:1px solid var(--line);border-radius:5px;padding:20px 24px}
.contact-person{display:flex;align-items:flex-start;gap:16px;min-width:0}
.contact-person .staff-photo{width:56px;height:56px;flex:none;object-fit:cover;border-radius:50%}
.contact-details{min-width:0;flex:1}
.contact-details .eyebrow{font-size:10px;letter-spacing:1.1px;margin:0 0 4px}
.contact-panel h3{font-size:18px;line-height:1.35;margin:0 0 8px}
.contact-info{display:flex;flex-wrap:wrap;gap:3px 16px}
.contact-panel .contact-line{font-size:13px;line-height:1.55;margin:0;overflow-wrap:anywhere}
.contact-line a{color:var(--ink);text-decoration:underline;text-decoration-color:#a7bac2;text-underline-offset:3px}
.contact-panel .contact-note{flex-basis:100%;color:var(--muted);font-size:12px}
.contact-message{display:inline-block;margin-top:8px;font-size:12px;color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.contact-chats{min-width:0;border-left:1px solid var(--line);padding-left:24px}
.contact-chats h3{font-size:16px;margin-bottom:6px}
.contact-panel .chat-description{font-size:13px;color:var(--muted);line-height:1.5;white-space:pre-line;margin:0 0 12px;max-width:44ch}
.chat-links{display:flex;flex-wrap:wrap;gap:8px}
.contact-panel .chat-links .btn{min-height:36px;padding:7px 13px;font-size:12px;line-height:1.4;gap:8px;max-width:100%;overflow-wrap:anywhere;text-align:center}
.chat-links .muted{font-size:13px;margin:0}
.contact-panel a:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(max-width:720px){.contact-panel{grid-template-columns:minmax(0,1fr);padding:18px;gap:18px}.contact-person{gap:12px}.contact-person .staff-photo{width:48px;height:48px}.contact-panel h3{font-size:17px}.contact-chats{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.contact-chats h3{font-size:15px}.contact-panel .chat-description{max-width:none}.contact-info{display:block}.contact-panel .contact-line+.contact-line{margin-top:3px}}

/* Compact invitations: editable content, decorative handwritten accents. */
.welcome-section{margin-bottom:24px}
.welcome-card{display:grid;grid-template-columns:minmax(0,1fr) 164px;align-items:center;gap:24px;padding:22px 28px;border:1px solid #dce6ec;border-radius:8px;overflow:hidden}
.welcome-intro,.welcome-photos{background:#fff;color:#0e394b}
.welcome-copy{min-width:0}
.welcome-card .welcome-handwriting{font-family:'VESH Soul Adventures',cursive;font-size:96px;font-weight:400;letter-spacing:normal;line-height:1.05;margin:0;color:#b2272a;overflow-wrap:anywhere}
.welcome-card .block-text{font-size:14px;line-height:1.55;margin:10px 0 15px;max-width:620px;overflow-wrap:anywhere}
.welcome-card .welcome-action{min-height:40px;padding:8px 16px;font-size:12px;background:#fff;border-color:#b9ced9;color:#226d8d;max-width:100%;white-space:normal;text-align:center;margin:0}
.welcome-card .welcome-action:hover{background:#edf4f8;border-color:#226d8d}
.welcome-art{position:relative;display:flex;align-items:center;justify-content:center;justify-self:center;width:120px;height:104px;isolation:isolate;text-decoration:none}
.welcome-art .block-image{width:100%;height:100%;max-height:none;margin:0;object-fit:cover;object-position:center;border-radius:6px}
.welcome-dialogue,.welcome-photo-icon{display:block;width:112px;height:90px}
.welcome-video{background:#f2f7fb;border-color:#dce6ec;color:#0e394b}
.welcome-video .welcome-handwriting{color:#b2272a}
.welcome-video .block-text{color:#5f7286}
.welcome-video .welcome-action{background:#fff;border-color:#b9ced9;color:#226d8d}
.welcome-video .welcome-action:hover{background:#e7f0f6;border-color:#226d8d}
.welcome-video .welcome-art.has-image .block-image{position:absolute;inset:0;z-index:-1}
.welcome-play{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border:1.5px solid #b2272a;border-radius:50%;color:#b2272a;background:#fff}
.welcome-play svg{width:32px;height:32px}
.welcome-video a.welcome-art:hover .welcome-play{color:#fff;background:#b2272a}
.welcome-art:focus-visible,.welcome-action:focus-visible{outline:3px solid #226d8d;outline-offset:4px}
@media(min-width:901px){
  .course-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
  .course-content>.section{grid-column:1/-1;min-width:0}
  .course-content>.welcome-paired{grid-column:auto}
  .welcome-paired .welcome-card{height:100%;grid-template-columns:minmax(0,1fr) 80px;grid-template-rows:auto 1fr auto;gap:0 16px}
  .welcome-paired .welcome-copy{display:contents}
  .welcome-paired .welcome-handwriting{grid-column:1/-1;grid-row:1}
  .welcome-paired .block-text{grid-column:1/-1;grid-row:2;align-self:start}
  .welcome-paired .welcome-action{grid-column:1;grid-row:3;justify-self:start}
  .welcome-paired .welcome-art{grid-column:2;grid-row:3;width:80px;height:68px;justify-self:end}
  .welcome-paired .welcome-dialogue,.welcome-paired .welcome-photo-icon{width:80px;height:64px}
  .welcome-paired .welcome-play{width:64px;height:64px}
}
.lesson-timezone,.lesson-format-mobile{display:none}
@media(max-width:720px){
  .welcome-card{grid-template-columns:minmax(0,1fr) 76px;gap:0 14px;padding:20px}
  .welcome-copy{display:contents}
  .welcome-card .welcome-handwriting{grid-column:1/-1;grid-row:1;font-size:76px;line-height:1.08;margin:0 0 8px;padding-right:0}
  .welcome-card .block-text{grid-column:1/-1;grid-row:3;font-size:13px;margin:12px 0 14px}
  .welcome-card .welcome-action{grid-column:1/-1;grid-row:4;justify-self:start;min-height:42px}
  .welcome-card .welcome-art{grid-column:2;grid-row:1;width:66px;height:54px;align-self:center}
  .welcome-handwriting{grid-column:1;margin-bottom:0}
  .welcome-dialogue{width:66px;height:53px}
  .welcome-play{width:52px;height:52px}
  .welcome-play svg{width:27px;height:27px}
  .month-card{overflow:hidden}
  .month-label{padding:13px 16px;font-size:14px}
  .schedule-scroll{overflow:visible}
  .compact-schedule{display:block;min-width:0;width:100%;font-size:13px;table-layout:auto}
  .compact-schedule colgroup{display:none}
  .compact-schedule thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .compact-schedule tbody{display:block}
  .compact-schedule tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:14px 16px;border-bottom:1px solid #e3eaec}
  .compact-schedule tbody tr:last-child{border-bottom:0}
  .compact-schedule td{display:block;padding:0!important;border:0;min-width:0}
  .compact-schedule td:first-child{grid-column:1;display:flex;align-items:baseline;gap:6px;white-space:nowrap}
  .compact-schedule td:first-child strong{font-size:14px}
  .compact-schedule td:first-child small{margin:0;text-transform:capitalize}
  .compact-schedule .lesson-time{grid-column:2;text-align:right;font-size:13px}
  .compact-schedule .lesson-timezone{display:inline;font-size:10px;color:#637780}
  .compact-schedule td:nth-child(3){grid-column:1/-1;line-height:1.5;font-size:14px;overflow-wrap:anywhere}
  .compact-schedule td:nth-child(4){grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:12px;color:#526b72;line-height:1.5}
  .compact-schedule .lesson-teacher-name{min-width:0;overflow-wrap:anywhere}
  .compact-schedule .lesson-format-mobile{display:block;margin-left:auto;text-align:right;color:#74858b;flex-shrink:0}
  .compact-schedule .lesson-format-desktop{display:none}
  .compact-schedule .lesson-context{font-size:12px;margin-top:0}
  .compact-schedule .lesson-module{margin-top:4px}
  .compact-schedule .text-link{display:inline-flex;margin-top:8px;min-height:34px;align-items:center}
}


/* A compact section picker replaces the horizontal strip on phones. */
.course-mobile-nav{display:none}
@media(max-width:720px){
  .course-nav.has-mobile-menu .course-nav-inner{display:none}
  .course-mobile-nav{display:block;position:relative;border:0;margin:0;padding:0;background:#fff;border-radius:0}
  .course-mobile-nav>summary{display:block;position:relative;list-style:none;cursor:pointer;margin:0;padding:10px 52px 10px 20px;min-height:62px}
  .course-mobile-nav>summary::-webkit-details-marker{display:none}
  .course-mobile-nav>summary:after{content:'';position:absolute;right:24px;top:25px;width:8px;height:8px;border-right:2px solid #226d8d;border-bottom:2px solid #226d8d;transform:rotate(45deg)}
  .course-mobile-nav[open]>summary:after{transform:rotate(225deg);top:29px}
  .course-menu-caption{display:block;font-size:10px;line-height:1.4;color:#5f7286;letter-spacing:.7px;text-transform:uppercase;margin-bottom:3px}
  .course-menu-current{display:block;font-size:14px;line-height:1.4;color:#0e394b;font-weight:550;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .course-mobile-links{position:absolute;top:100%;left:0;right:0;padding:6px 12px 12px;max-height:65vh;max-height:min(65dvh,440px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-bottom:1px solid #dce6ec;box-shadow:0 14px 24px #0e394b14;border-radius:0 0 12px 12px}
  .course-mobile-links a{display:block;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.45;padding:12px;min-height:44px;border:0;border-radius:6px;color:#0e394b}
  .course-mobile-links a.active{background:#edf4f8;color:#226d8d}
  .course-mobile-links a:hover{background:#f2f7fb;color:#226d8d}
  .course-mobile-links a:focus-visible,.course-mobile-nav>summary:focus-visible{outline:2px solid #226d8d;outline-offset:-3px}
  .section{scroll-margin-top:78px}
}

/* The school’s handwriting font, from the MBA page on veshk.ru. */
@font-face{font-family:"VESH Soul Adventures";font-style:normal;font-weight:400;font-display:swap;src:url("brand/soul-adventures-cyr-script.woff2") format("woff2")}

/* Homework follows the mobile schedule: one readable card per task. */
@media(max-width:720px){
  .homework-scroll{overflow:visible;border:0;border-radius:0;background:transparent}
  .homework-table{display:block;min-width:0;width:100%;font-size:14px;table-layout:auto}
  .homework-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .homework-table tbody{display:grid;gap:12px}
  .homework-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 12px;padding:16px;border:1px solid #dce6ec;border-radius:8px;background:#fff}
  .homework-table td{display:block;min-width:0;padding:0;border:0}
  .homework-table td:first-child{grid-column:1;align-self:center}
  .homework-table .homework-deadline{grid-column:2;text-align:right;color:#18252a;line-height:1.4}
  .homework-table .homework-deadline:before{content:'Срок';display:block;color:#5f7286;font-size:11px;margin-bottom:3px}
  .homework-table td:nth-child(3){grid-column:1/-1;min-width:0;overflow-wrap:anywhere}
  .homework-table .homework-module{font-size:12px;line-height:1.5;color:#5f7286}
  .homework-table .block-text{font-size:14px;line-height:1.6;margin:8px 0 0;overflow-wrap:anywhere}
  .homework-table td:nth-child(4){grid-column:1/-1}
  .homework-table td:nth-child(4):empty{display:none}

}

/* Clear task actions and an accessible archive of past assignments. */
.homework-action{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;border:1px solid #226d8d;border-radius:4px;background:#226d8d;color:#fff;text-decoration:none;font-size:13px;line-height:1.4;white-space:nowrap}
.homework-action svg{width:18px;height:18px;flex:none}
.homework-action:hover{background:#0e394b;border-color:#0e394b;color:#fff;text-decoration:none}
.homework-action:focus-visible,.past-homework>summary:focus-visible{outline:2px solid #226d8d;outline-offset:3px}
.past-homework{margin:16px 0 0;padding:0;border:1px solid #dce6ec;border-radius:8px;background:#fff}
.past-homework>summary{display:flex;align-items:center;gap:10px;min-height:54px;padding:14px 18px;cursor:pointer;list-style:none;color:#0e394b;font-size:14px;line-height:1.4;font-weight:500}
.past-homework>summary::-webkit-details-marker{display:none}
.past-homework>summary:after{content:'';width:7px;height:7px;margin-left:auto;flex:none;border-right:1.5px solid #226d8d;border-bottom:1.5px solid #226d8d;transform:rotate(45deg)}
.past-homework[open]>summary:after{transform:rotate(225deg)}
.past-homework-count{color:#5f7286;font-size:12px;font-weight:400}
.past-homework .homework-scroll{border:0;border-top:1px solid #dce6ec;border-radius:0 0 8px 8px}
@media(max-width:720px){
  .homework-action{display:flex;width:100%;max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
  .past-homework .homework-scroll{border:0;padding:0 12px 12px}
  .past-homework .homework-table tbody{gap:10px}
  .past-homework .homework-table tbody tr{padding:14px}
}

/* Compact resources and recording metadata. */
.resource-folder{display:flex;align-items:center;gap:24px;padding:24px;background:#f2f7fb;border:1px solid #cfdee8;border-radius:8px;color:#0e394b}.resource-folder-art{flex:0 0 88px;width:88px;height:auto;color:#226d8d}.resource-folder-copy{min-width:0}.resource-folder h3{margin:0 0 12px;font-size:18px;line-height:1.4}.resource-folder .block-text{margin:0 0 16px;overflow-wrap:anywhere}.resource-folder .muted{margin:0}.resource-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 16px;border:1px solid #a9c1ce;border-radius:4px;background:#fff;color:#226d8d;text-decoration:none;font-size:14px;font-weight:500;line-height:1.4}.resource-action svg{width:18px;height:18px;flex-shrink:0}.resource-action:hover{background:#e7f0f6}.resource-action:focus-visible{outline:2px solid #226d8d;outline-offset:4px}.recording-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.recording-meta time{margin:0;white-space:nowrap}.recording-card h3{margin:18px 0}.recording-card .block-text{margin:0 0 18px}
@media(max-width:720px){.resource-folder{gap:18px;padding:20px}.resource-folder-art{flex-basis:64px;width:64px}.resource-folder h3{font-size:16px}.resource-action{padding:10px 12px;font-size:13px}.recording-grid .recording-card{padding:20px}.recording-card h3{margin:16px 0}.recording-meta .content-status{font-size:10px}}
/* First-screen lessons and academic advisor. */
.learning-overview{max-width:1200px;margin:0 auto;padding:24px 40px;display:grid;gap:20px}.learning-overview.has-advisor{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.upcoming-card{padding:24px 28px;border-radius:8px;background:#1c3948;color:white;min-width:0}.upcoming-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}.upcoming-heading h2{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:600;line-height:1.5}.upcoming-heading time{font-size:14px;color:#d4e0e4;white-space:nowrap}.upcoming-lessons{display:grid;gap:16px}.upcoming-lesson+.upcoming-lesson{border-top:1px solid #ffffff30;padding-top:16px}.upcoming-lesson h3{font-size:22px;line-height:1.35;font-weight:500;margin:0 0 10px}.upcoming-meta{display:flex;flex-wrap:wrap;gap:5px 18px;font-size:12px;color:#d4e0e4}.upcoming-meta a{text-decoration:underline;text-underline-offset:3px;color:#fff}.upcoming-schedule{display:inline-flex;gap:10px;margin-top:18px;font-size:12px;color:#d4e0e4}.upcoming-schedule:hover{text-decoration:underline}.upcoming-empty{font-size:15px;color:#d4e0e4}.advisor-card{background:#fff;border:1px solid #dce3e6;border-radius:8px;padding:24px;min-width:0}.advisor-card>.eyebrow{margin-bottom:18px}.advisor-person{display:flex;align-items:center;gap:16px}.advisor-person>img,.advisor-initials{width:72px;height:72px;flex:0 0 72px;border-radius:50%;object-fit:cover;object-position:center 25%}.advisor-initials{display:flex;align-items:center;justify-content:center;background:#e7f0f6;color:#226d8d;font-size:24px}.advisor-person>div{min-width:0}.advisor-person h2{font-size:19px;font-weight:500;line-height:1.4;margin:0 0 8px;letter-spacing:0}.advisor-email{display:inline-block;color:#226d8d;text-decoration:underline;text-underline-offset:3px;font-size:13px;overflow-wrap:anywhere}.advisor-person .muted{font-size:12px}.advisor-editor{padding:24px}.advisor-editor h2{font-size:22px}.advisor-editor p{margin:8px 0}.advisor-editor .text-link{display:inline-block;margin-top:16px;font-size:13px}.advisor-directory{display:grid;gap:20px}.advisor-directory-header{display:flex;justify-content:space-between;gap:20px;align-items:center}.advisor-directory-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.advisor-directory-list .text-button{margin-top:18px}.advisor-form{display:grid;gap:16px}.advisor-form-photo{width:80px;height:80px;border-radius:50%;object-fit:cover}
@media(max-width:900px){.learning-overview.has-advisor{grid-template-columns:1fr}.advisor-card{padding:20px}.advisor-person h2{font-size:18px}}
@media(max-width:720px){.learning-overview{padding:18px 20px;gap:16px}.upcoming-card{padding:20px}.upcoming-heading{gap:10px}.upcoming-heading h2{font-size:10px;letter-spacing:.08em}.upcoming-heading time{font-size:12px}.upcoming-lesson h3{font-size:18px}.upcoming-meta{gap:5px 12px;font-size:11px}.upcoming-schedule{margin-top:14px}.advisor-person>img,.advisor-initials{width:64px;height:64px;flex-basis:64px}.course-hero.has-learning-overview .course-hero-inner{padding-top:20px;padding-bottom:24px}.course-hero.has-learning-overview .breadcrumb{margin-bottom:18px}.course-hero.has-learning-overview .hero-layout{gap:12px}.course-hero.has-learning-overview .hero-layout h1{font-size:29px}.course-hero.has-learning-overview .hero-side{padding-top:0}.advisor-directory-header{align-items:flex-start;flex-direction:column}}
@media(max-width:720px){.topbar:has(~ .learning-overview) .topbar-inner{display:grid;grid-template-columns:auto 1fr;gap:8px 12px;padding:10px 20px}.topbar:has(~ .learning-overview) .brand{grid-column:1;grid-row:1}.topbar:has(~ .learning-overview) .logout{grid-column:2;grid-row:1;justify-self:end}.topbar:has(~ .learning-overview) .top-nav{grid-column:1/-1;grid-row:2;margin:0;justify-content:flex-start;font-size:11px;gap:14px}.page-edit-banner:has(~ .learning-overview){padding:10px 20px;gap:4px;font-size:11px}.course-hero.has-learning-overview .course-hero-inner{padding:16px 20px 20px}.course-hero.has-learning-overview .breadcrumb{margin-bottom:14px}.course-hero.has-learning-overview .hero-layout{gap:12px}.course-hero.has-learning-overview .hero-layout h1{font-size:26px;margin:10px 0 16px}.course-hero.has-learning-overview .hero-side{padding-top:10px}.course-hero.has-learning-overview .hero-side p{font-size:12px;margin-top:10px}.course-hero.has-learning-overview .hero-meta strong{font-size:13px}}
/* Schedule editor: one compact row per lesson. */
#blocks-form fieldset{min-width:0}
#blocks-form .editor-add select{min-width:0;max-width:100%}
.editor-row.lesson-editor{padding:0;margin:0;background:#fff;border:1px solid #dce5e9;border-radius:0;border-bottom:0}
.lesson-editor:first-of-type{border-radius:6px 6px 0 0}
.lesson-editor:last-of-type{border-bottom:1px solid #dce5e9;border-radius:0 0 6px 6px}
.lesson-editor>summary{list-style:none;display:grid;grid-template-columns:115px minmax(0,1fr) 22px;align-items:center;gap:18px;padding:12px 16px;font-size:13px;line-height:1.45}
.lesson-editor>summary::-webkit-details-marker,.lesson-editor-extra>summary::-webkit-details-marker{display:none}
.lesson-editor>summary:hover,.lesson-editor[open]>summary{background:#f2f7fb}
.lesson-editor>summary:focus-visible{outline:2px solid #226d8d;outline-offset:-2px}
.lesson-editor-when,.lesson-editor-topic{display:flex;flex-direction:column;min-width:0;gap:2px}
.lesson-editor-when{white-space:nowrap}.lesson-editor-when span,.lesson-editor-topic span{font-size:12px;color:#6d7d85}
.lesson-editor-topic strong{font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.task-editor .lesson-editor-topic>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.task-editor select{min-height:38px;padding:8px 10px;font-size:14px;line-height:1.4}
.task-editor textarea{height:90px}
.lesson-editor-action{width:8px;height:8px;border-right:1.5px solid #226d8d;border-bottom:1.5px solid #226d8d;transform:rotate(45deg);justify-self:center}
.lesson-editor[open] .lesson-editor-action{transform:rotate(225deg)}
.lesson-editor-body{padding:16px;border-top:1px solid #dce5e9}
.lesson-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.lesson-editor-fields>div,.lesson-editor-fields .field{min-width:0}
.lesson-editor-fields .lesson-field-wide{grid-column:1/-1}
.lesson-editor .field{margin:0;font-size:12px;gap:5px}
.lesson-editor input,.lesson-editor textarea{min-height:38px;padding:8px 10px;font-size:14px;line-height:1.4;border-radius:4px}
.lesson-editor textarea{height:62px;resize:vertical}
.lesson-editor-extra{margin-top:14px;padding:10px 0 0;border-top:1px solid #e3e9ed;background:transparent}
.lesson-editor-extra>summary{font-size:12px;color:#536f7d}
.lesson-editor-extra .lesson-editor-fields{padding-top:12px}
.lesson-editor-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.lesson-editor-controls .btn{padding:7px 16px;min-height:38px;font-size:12px}
.lesson-editor-controls .text-button{margin:0;font-size:12px}
@media(max-width:720px){
.lesson-editor>summary{grid-template-columns:minmax(0,1fr) 18px;gap:6px 10px;padding:12px}
.lesson-editor-when{flex-direction:row;gap:12px;grid-column:1;grid-row:1}
.lesson-editor-topic{grid-column:1;grid-row:2}
.lesson-editor-action{grid-column:2;grid-row:1/3}
.lesson-editor-body{padding:12px}
.lesson-editor-fields{gap:12px}
.lesson-editor input,.lesson-editor textarea,.lesson-editor select{font-size:16px}
.lesson-editor-extra .field{grid-column:1/-1}
.welcome-card{position:relative}
.welcome-card .welcome-art{position:absolute;right:18px;bottom:20px;grid-row:auto;pointer-events:auto}
.welcome-card .welcome-action{max-width:calc(100% - 70px)}
.welcome-card .welcome-photo-icon{width:58px;height:48px}
}
@media(max-width:480px){.lesson-editor-fields{grid-template-columns:minmax(0,1fr)}.lesson-editor textarea{height:84px}}

.course-tile{display:flex;flex-direction:column}.course-tile .tile-cover{flex:1;min-height:220px}.course-tile .tile-bottom{align-items:flex-start;flex-wrap:wrap}.course-tile .tile-bottom .btn{flex-shrink:0}.learning-dates{margin-top:10px;color:var(--muted)}.learning-access{margin-top:3px;font-size:12px;color:var(--muted)}
