.home-method[hidden], .welcome-video[hidden], [data-home-panel][hidden] { display:none!important; }
#course-cover[hidden], #home-activities[hidden], .course-video-expanded[hidden] { display:none!important; }
.empty-state.tutor-home { width:min(1360px,100%); max-width:none; padding:clamp(16px,2.4vw,34px); margin:20px auto 60px; background:transparent; box-shadow:none; }
.course-cover { background:#f9fbf7; border:1px solid #d6e2dc; border-radius:26px; overflow:hidden; box-shadow:0 16px 48px rgba(10,40,55,.09); }
.course-cover-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.06fr); }
.course-cover-intro { padding:clamp(26px,5vw,62px); background:#0a3044; color:#f8fcfb; min-width:0; }
.course-overline { font-size:.76rem; color:#b5d5db; letter-spacing:.13em; font-weight:800; margin:0 0 34px; }
.course-overline span { color:#edbc73; padding:0 5px; }
.empty-state .course-cover-intro h1 { font-family:Georgia,serif; font-size:clamp(2.35rem,4vw,4.1rem); line-height:1.13; letter-spacing:-.04em; font-weight:600; color:#fff; margin:0; }
.course-cover-intro h1 em { color:#c0e8cc; font-style:normal; }
.course-cover-lead { color:#d7e8e9; font-size:clamp(1rem,1.35vw,1.17rem); line-height:1.62; max-width:490px; margin:25px 0 30px; }
.course-cover-buttons { display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.course-begin { background:#d5efd9; color:#0b3543; font-size:1.05rem; font-weight:850; border-radius:13px; min-height:54px; min-width:178px; display:inline-flex; align-items:center; justify-content:space-between; padding:12px 19px; }
.course-begin:hover { background:#e7f7e7; }
.course-begin span { font-size:1.45rem; }
.course-direct { color:#d4e7eb; background:transparent; border:1px solid #7195a1; border-radius:13px; padding:13px 15px; min-height:54px; font-weight:700; }
.course-direct:hover { background:#164154; color:#fff; }
.course-why { border-top:1px solid #356070; padding-top:21px; margin-top:43px; }
.course-why summary { cursor:pointer; display:flex; justify-content:space-between; align-items:center; color:#d1edf0; font-size:.95rem; font-weight:750; list-style:none; }
.course-why summary::-webkit-details-marker { display:none; }
.course-why[open] summary span { transform:rotate(45deg); }
.course-why-compare { display:grid; gap:10px; margin-top:15px; }
.course-why-compare p { margin:0; padding:10px 12px; border-radius:9px; background:#194758; display:grid; gap:4px; }
.course-why-compare strong { color:#fff; font-size:.9rem; }
.course-why-compare span { color:#cde1e3; font-size:.86rem; line-height:1.4; }
.course-map { min-width:0; padding:clamp(22px,3.2vw,42px); background:#eff4ed; color:#173845; }
.course-map-kicker { letter-spacing:.14em; font-size:.7rem; font-weight:850; color:#39756a; margin:0 0 8px; }
.course-map-top h2 { font-family:Georgia,serif; letter-spacing:-.025em; font-size:clamp(1.65rem,2.4vw,2.5rem); margin:0 0 9px; color:#163649; }
.course-map-top>p:last-child { margin:0; font-size:.95rem; color:#567068; line-height:1.5; }
.course-map-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:25px 0 18px; }
.course-step { display:flex; align-items:center; gap:11px; background:white; border:1px solid #d3e0d7; padding:13px 12px; min-width:0; border-radius:12px; box-shadow:0 3px 0 #dae5dd; }
.course-step span { color:#25645b; font-weight:850; font-size:.78rem; border-radius:9px; background:#e3f2e8; display:grid; place-items:center; min-width:34px; min-height:34px; }
.course-step div { min-width:0; }
.course-step strong { display:block; font-size:.89rem; line-height:1.25; color:#153648; }
.course-step small { display:block; font-size:.77rem; color:#668077; line-height:1.35; margin-top:3px; }
.course-map-note { border-top:1px solid #cfdbd4; padding-top:12px; margin:0; color:#517467; font-size:.84rem; line-height:1.5; }
.course-cover-footer { display:flex; flex-wrap:wrap; gap:10px 20px; align-items:center; justify-content:space-between; padding:16px 25px; background:#fff; color:#577067; font-size:.86rem; line-height:1.45; }
.course-cover-footer>span { max-width:610px; }
.course-video-details { position:relative; }
.course-video-details summary { cursor:pointer; list-style:none; background:#f0f7f4; border-radius:9px; border:1px solid #cfe0d7; padding:10px 13px; color:#234c44; font-weight:750; }
.course-video-details summary::-webkit-details-marker { display:none; }
.course-video-expanded { width:min(290px,84vw); margin-top:12px; border:1px solid #cbded4; background:white; box-shadow:0 14px 40px #123b4544; padding:15px; border-radius:15px; }
.course-video-expanded p { font-size:.86rem; line-height:1.45; margin:0 0 10px; }
.course-video-expanded iframe { display:block; width:min(100%,194px); aspect-ratio:9/16; margin:0 auto; border:0; border-radius:10px; background:#111; }
#home-activities .welcome-video { grid-template-columns:minmax(0,1fr) minmax(180px,215px); }
.course-secondary-controls { display:grid; justify-items:end; gap:5px; }
.course-begin:focus-visible,.course-direct:focus-visible,.course-cover summary:focus-visible { outline:3px solid #f5bf69; outline-offset:3px; }
.home-choice-grid button:focus-visible, .home-choice-links button:focus-visible { outline:3px solid #79baad;outline-offset:2px; }
.home-composer textarea:focus-visible { outline:3px solid #91c7b9;outline-offset:1px; }
@media (max-width:760px) {
  .app-shell.is-home .sidebar { flex-direction:row; position:relative; height:auto; align-items:center; justify-content:space-between; padding:12px 16px; gap:12px; }
  .app-shell.is-home .sidebar .project-copy { display:none; }
  .app-shell.is-home .sidebar .sidebar-footer { display:flex; padding:0; border:0; align-items:center; }
  .app-shell.is-home .sidebar .sidebar-footer>*:not(#logout) { display:none!important; }
  .app-shell.is-home .topbar { display:none; }
  .app-shell.is-home .sidebar #logout { color:#eef5f2; }
  .empty-state.tutor-home { padding:0 12px; margin:12px auto 45px; }
  .course-cover-grid { grid-template-columns:1fr; }
  .course-cover-intro { padding:30px 24px 28px; }
  .course-overline { margin-bottom:22px; }
  .empty-state .course-cover-intro h1 { font-size:clamp(2.25rem,9vw,3.2rem); }
  .course-cover-lead { font-size:1rem; margin:18px 0 22px; }
  .course-why { margin-top:24px; }
  .course-map { padding:24px 15px; }
  .course-map-steps { gap:8px; margin:17px 0; }
  .course-step { padding:10px 8px; gap:7px; }
  .course-step span { min-width:28px; min-height:28px; font-size:.69rem; }
  .course-step strong { font-size:.79rem; }
  .course-step small { font-size:.7rem; }
  .course-cover-footer { align-items:flex-start; padding:17px; }
  .course-video-expanded { width:min(290px,80vw); }
  .course-secondary-controls { justify-items:start; }
  #home-activities .welcome-video { grid-template-columns:1fr; }
  .home-choice-grid button { min-width:0; }
  .home-choice-grid button span:last-child { min-width:0; }
  .home-choice-grid button strong, .home-choice-grid button small { overflow-wrap:anywhere; }
  .h1-sheets .h1-sheet { min-width:0; }
}
