/* Compact entry and unobtrusive tools, in the existing white/glass palette. */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.content>.page-heading{display:none}
.topbar{position:sticky;top:0;z-index:34}.header-actions{position:relative}
.app-search{position:relative;flex:none;order:-1}
.app-search-toggle,.app-search-close{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.7);border:1px solid #e5e1ed;color:#5d5271;box-shadow:inset 0 1px #fff}
.app-search-toggle svg{width:19px;height:19px}.app-search-toggle[aria-expanded=true]{background:#f0edf6;border-color:#bfb0d3}
.app-search-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(390px,calc(100vw - 32px));border:1px solid #e3dce9;border-radius:20px;padding:12px;background:rgba(255,255,255,.97);box-shadow:0 18px 55px #221a3426;backdrop-filter:blur(24px);z-index:50;color:#302b3c}
.app-search-panel[hidden]{display:none!important}.app-search-field{display:flex;align-items:center;gap:8px}.app-search-input.coach-search,.app-search-input{width:100%;min-width:0;margin:0;padding:12px;border-radius:12px;background:#f5f4f8;border:1px solid #e8e3ec;color:#302b3c;font-size:16px}.app-search-close{width:40px;height:40px;flex:none;font-size:25px;background:transparent;border:0;box-shadow:none}.app-search-results{max-height:55dvh;overflow:auto;overscroll-behavior:contain}.app-search-results:empty{display:none}.app-search-results button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 8px;text-align:left;border-bottom:1px solid #ede8f0;line-height:1.4}.app-search-results button:hover{background:#f7f5fa}.app-search-results p{padding:15px 8px;font-size:14px;color:#75697e}
.resource-heading{gap:12px}.resource-heading>div:first-child{flex:1;min-width:0}.resource-heading>.app-search{order:0}.resource-heading>.app-search .app-search-toggle{background:#ffffff1c;border-color:#ffffff42;color:white}.resource-heading .app-search-panel{right:0}.resource-heading>[data-resource-close]{order:2}
.resource-page .resource-stage{flex:1}.resource-browser{justify-content:center}.resource-filters{margin-left:0}.resource-category-shelf{justify-content:center}.resource-category-shelf .category-item{width:132px;flex-basis:132px;padding:18px 10px;border-radius:22px}.resource-category-shelf .category-icon{width:58px;height:58px;border-radius:18px;margin:0 auto 13px}.resource-category-shelf .category-icon svg{width:27px;height:27px}.resource-category-shelf .category-item strong{font-size:16px;min-height:0}.resource-category-shelf .category-item small{font-size:12px}.resource-category-intro{padding-block:36px!important}.resource-category-intro h2{font-size:25px!important;font-weight:500}.resource-category-intro p{font-size:17px!important}
.home-primary{display:block}.member-dashboard .dashboard-menu-screen{display:flex;flex-direction:column;justify-content:flex-start;gap:0;margin:0 0 24px}
.member-dashboard .dashboard-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.member-dashboard .dashboard-shortcut{flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:136px;padding:18px 12px;border-radius:22px;text-align:center;background:linear-gradient(150deg,#fff,#faf9fc);box-shadow:0 5px 18px #30243d08;position:relative}
.member-dashboard .dashboard-shortcut>svg{display:none}.member-dashboard .dashboard-shortcut strong{font-size:15px;line-height:1.4}.member-dashboard .dashboard-shortcut small{font-size:12px;margin-top:3px}.member-dashboard .shortcut-symbol{width:42px;height:42px;border-radius:14px}
.member-dashboard .home-welcome{margin:20px 0 18px;min-height:24px}.member-dashboard .home-welcome p{font-size:15px}.member-dashboard .home-favorites{display:none}
.member-dashboard .next-step{flex-direction:row;align-items:center;justify-content:flex-start;flex:0 0 auto;gap:26px;padding:30px;border-radius:24px;min-height:0;background:linear-gradient(135deg,#fff,#faf8fd);box-shadow:0 10px 30px #30243d08}
.member-dashboard .next-art{align-self:center;width:110px;height:164px}.member-dashboard .next-copy{min-width:0;flex:1}.member-dashboard .next-copy>.eyebrow{display:block;margin-bottom:10px;font-size:10px;letter-spacing:1.6px}.member-dashboard .next-step h2{font-size:26px;font-weight:500;margin:0 0 10px;line-height:1.3}.member-dashboard .next-step p{font-size:15px;line-height:1.6;max-width:52ch}.member-dashboard .next-copy .btn{margin-top:18px;min-height:44px;font-size:14px;padding:12px 18px}.member-dashboard .next-progress{margin-top:16px;font-size:12px}.member-dashboard .home-secondary{margin-top:14px}.member-dashboard .home-next-section{margin-top:16px}
/* Vertical scrolling and pinch zoom remain native; horizontal shelves stay native too. */
.dashboard-screen,.resource-stage,.experience-section,.content>.stack{touch-action:pan-y pinch-zoom}
.resource-shelf,.admin-category-tabs,.coach-mobile-nav,.package-columns,.document-scroll,.course-window-outline{touch-action:auto}
@media(max-width:700px){
 .topbar{padding:8px 16px!important;gap:8px}.header-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.app-search-toggle{width:40px;height:40px;border-radius:12px}.topbar .app-search-panel{position:fixed;left:16px;right:16px;top:calc(var(--home-top-height,64px) + 8px);width:auto}
 .member-home.content{padding-inline:18px}.member-dashboard .dashboard-menu-screen{padding-top:16px;justify-content:flex-start;min-height:calc(100dvh - var(--home-nav-height,68px) - var(--home-top-height,56px))}
 .member-dashboard .dashboard-shortcuts{gap:9px}.member-dashboard .dashboard-shortcut{padding:14px 5px;gap:8px;min-height:110px;border-radius:18px}.member-dashboard .shortcut-symbol{width:36px;height:36px;border-radius:12px}.member-dashboard .shortcut-symbol svg{width:21px;height:21px}.member-dashboard .dashboard-shortcut strong{font-size:13px;line-height:1.4}.member-dashboard .dashboard-shortcut small{font-size:11px}.member-dashboard .dashboard-shortcut>span:nth-child(2){flex:0}.member-dashboard .home-welcome{margin:17px 0 14px}.member-dashboard .home-welcome p{font-size:14px}
 .member-dashboard .next-step{padding:20px 18px;gap:15px;align-items:flex-start;border-radius:22px}.member-dashboard .next-art{width:62px;height:94px;align-self:flex-start;margin-top:22px;border-radius:9px}.member-dashboard .next-step h2{font-size:20px;letter-spacing:-.35px;margin-bottom:9px}.member-dashboard .next-step p{font-size:14px;line-height:1.6}.member-dashboard .next-copy>.eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:9px}.member-dashboard .next-copy .btn{width:100%;margin-top:16px;padding:11px 10px;font-size:13px;min-height:44px;gap:6px}.member-dashboard .next-progress{font-size:11px;margin-top:13px}.member-dashboard .home-secondary{margin-top:12px}
 .resource-heading .eyebrow{font-size:9px}.resource-heading h2{font-size:20px!important}.resource-heading>[data-resource-close]{padding:9px 11px;font-size:12px;min-height:44px}.resource-heading .app-search-panel{position:fixed;left:16px;right:16px;top:80px;width:auto}.resource-category-shelf{gap:10px;padding:18px 16px}.resource-category-shelf .category-item{width:100px;flex-basis:100px;padding:16px 8px}.resource-category-shelf .category-icon{width:46px;height:46px;margin-bottom:12px;border-radius:15px}.resource-category-shelf .category-icon svg{width:24px;height:24px}.resource-category-shelf .category-item strong{font-size:14px}.resource-category-shelf .category-item small{font-size:11px}.resource-browser{padding:12px 16px;gap:10px}.resource-category-intro h2{font-size:23px!important}.resource-category-intro p{font-size:16px!important}
 .member-large-text .dashboard-shortcuts{grid-template-columns:1fr}.member-large-text .dashboard-shortcut{flex-direction:row;justify-content:flex-start;text-align:left;min-height:70px;padding:14px}.member-large-text .next-step{flex-direction:column}.member-large-text .next-art{display:none}.member-large-text .next-copy .btn{font-size:16px}
}
@media(max-width:360px){.member-home.content{padding-inline:14px}.member-dashboard .dashboard-shortcuts{gap:7px}.member-dashboard .dashboard-shortcut strong{font-size:12px}.member-dashboard .next-art{display:none}.member-dashboard .next-step{padding:20px}.resource-category-shelf{gap:8px}.resource-category-shelf .category-item{width:90px;flex-basis:90px}}

/* On desktop, only the right pane changes. The app navigation stays in place. */
@media(min-width:701px){
 body.reading-resource-page{--resource-sidebar-width:252px}
 body.reading-resource-page #app{display:block!important}
 body.reading-resource-page #app .content{display:none}
 body.reading-resource-page .sidebar{overflow-y:auto;overscroll-behavior:contain}
 body.reading-resource-page .shell{position:fixed;top:0;left:var(--resource-sidebar-width);right:0;margin:0;z-index:34}
 body.reading-resource-page #modal-root{margin-left:var(--resource-sidebar-width);padding-top:var(--home-top-height,82px)}
 body.reading-resource-page .resource-page{min-height:calc(100dvh - var(--home-top-height,82px))}
 body.reading-resource-page .resource-heading{top:var(--home-top-height,82px)}
}
@media(min-width:701px) and (max-width:1250px){body.reading-resource-page{--resource-sidebar-width:225px}}
.resource-imported-course .resource-shelf,.resource-imported-course .resource-browser,.resource-imported-course .resource-title,.resource-imported-course .resource-intro{display:none!important}
.resource-page.resource-imported-course .resource-stage{padding:0;max-width:none;display:flex;flex-direction:column}
.resource-imported-course [data-resource-content]{flex:1;display:flex;flex-direction:column;min-height:0}
.app-course-frame{display:block;width:100%;border:0;background:#faf9f7;flex:1;min-height:calc(100dvh - 86px);height:calc(100dvh - 86px)}
.course-frame-status{padding:24px;text-align:center;color:#716679}
@media(min-width:701px){.app-course-frame{min-height:calc(100dvh - var(--home-top-height,82px) - 86px);height:calc(100dvh - var(--home-top-height,82px) - 86px)}}

@media(min-width:701px){body.reading-resource-page .topbar .app-search{display:none}.admin-workspace-active #modal-root{margin-left:252px}}
@media(min-width:701px) and (max-width:1250px){.admin-workspace-active #modal-root{margin-left:225px}}

/* Keep the existing five mobile destinations within reach. */
.mobile-page-title{display:none}
.profile-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.85fr);gap:24px;max-width:1120px;margin:0 auto;align-items:start}
.profile-card{padding:30px}.profile-identity{display:flex;gap:18px;align-items:center;margin-bottom:28px}.profile-identity>div{min-width:0}.profile-identity .eyebrow{font-size:10px;letter-spacing:1.4px}.profile-identity h1{font-size:28px;font-weight:500;margin:6px 0 8px;letter-spacing:-.6px}.profile-identity p{font-size:14px;color:#73697c;overflow-wrap:anywhere}
.profile-avatar{display:grid;place-items:center;flex:none;width:68px;height:68px;border-radius:23px;background:linear-gradient(145deg,#f4e8b4,#e6d397);color:#645032;font-size:23px}.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.profile-form fieldset{margin:0;border:0;padding:0;display:grid;gap:20px;min-width:0}.profile-form legend{font-size:18px;font-weight:500;margin-bottom:20px;padding:0}.profile-form label{font-size:14px;color:#493e59;line-height:1.5}.profile-form label small{font-weight:400;color:#82768b;font-size:12px;margin-left:4px}.profile-form input,.profile-form textarea{font-size:16px;padding:13px 14px;border-radius:12px;background:#faf9fc;border-color:#e3dce9}.profile-form textarea{min-height:120px;resize:vertical}.profile-field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.profile-form .profile-photo-picker{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border:1px dashed #d7cddd;border-radius:15px;padding:16px;background:#fcfbfd}.profile-photo-picker>svg{width:24px;height:24px;color:#7b668f}.profile-photo-picker>span{flex:1}.profile-photo-picker small{display:block;margin:4px 0 0!important}.profile-photo-picker input{width:100%;font-size:13px;padding:8px;background:white}.profile-save-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.profile-save-row [role=status]{font-size:13px;color:#71657d}.profile-save-row .btn{min-height:48px}.profile-side{display:grid;gap:24px}.profile-links{padding:24px}.profile-links h2,.profile-side .member-preferences h2{font-size:21px;font-weight:500;margin-bottom:16px}.profile-links>button{display:flex;align-items:center;gap:12px;min-height:54px;width:100%;padding:12px 0;text-align:left;border-bottom:1px solid #eee9f1;font-size:15px;color:#4e405e;background:transparent}.profile-links>button:last-child{border:0}.profile-links>button>span{flex:1}.profile-links svg{width:20px;height:20px;flex:none}.profile-links>button>svg:last-child{width:14px;color:#9787a4}.profile-preview-note{padding:15px;border-radius:13px;background:#f4f0f8;color:#665672;font-size:14px;line-height:1.6;margin-bottom:24px}.profile-form fieldset:disabled{opacity:.65}
.member-preferences form{display:grid;gap:0}.member-preferences form>label{display:flex;align-items:center;gap:13px;min-height:58px;padding:13px 0;border-bottom:1px solid #eee8f1;font-size:15px;color:#4e405e;cursor:pointer}.member-preferences input[type=checkbox]{flex:none;width:22px;height:22px;accent-color:#655078;margin:0}.member-preferences form>p{font-size:13px;line-height:1.65;color:#796d84;margin:18px 0}.member-preferences [role=status]{font-size:13px;margin-top:12px}.member-preferences .btn{min-height:48px}
.btn:focus-visible,.nav-item:focus-visible,.profile-links>button:focus-visible,.dashboard-shortcut:focus-visible,.shelf-item:focus-visible,.favorite-toggle:focus-visible{outline:3px solid #9a7fbc;outline-offset:3px}
.profile-form input:focus-visible,.profile-form textarea:focus-visible{outline:2px solid #9a7fbc;outline-offset:2px;border-color:#9a7fbc}
@media(max-width:900px){.profile-layout{grid-template-columns:1fr}}
@media(max-width:700px){
 .member-app-page{--member-bottom-space:calc(var(--home-nav-height,76px) + 12px)}
 .member-navigation.coach-mobile-nav{position:fixed!important;top:auto!important;bottom:0!important;left:0;right:0;z-index:60;padding:8px 8px calc(10px + env(safe-area-inset-bottom,0px))!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border-top:1px solid #e4deeb;border-bottom:0;box-shadow:0 -6px 28px #392b4d0a}
 .member-navigation.coach-mobile-nav .nav-item{min-height:54px!important;border:1px solid transparent;background:transparent!important;color:#71617e!important}.member-navigation.coach-mobile-nav .nav-item.active{background:linear-gradient(135deg,#634875,#324b7c)!important;color:#fff8dc!important;border-color:#655782;box-shadow:inset 0 1px #ffffff30}.member-navigation.coach-mobile-nav .nav-item.has-favorites:not(.active){color:#a77a27!important}
 .member-app-page .shell>.content{padding-bottom:var(--member-bottom-space)!important}.member-app-page .topbar{background:rgba(255,255,255,.94);backdrop-filter:blur(20px)}.member-app-page .mobile-page-title{display:block;font-size:15px;font-weight:550;color:#4b365e;white-space:normal;line-height:1.3;max-width:44%;margin-right:auto}.member-app-page .topbar .header-actions{width:auto;flex:1;justify-content:flex-end;flex-wrap:wrap;gap:8px}.member-app-page .topbar #logout{display:none}.member-app-page .topbar .avatar{width:30px;height:30px;font-size:11px;flex:none}.member-app-page .topbar .app-search{order:0}
 html.member-home-page{scroll-padding-top:var(--home-top-height,56px)!important;scroll-padding-bottom:var(--member-bottom-space)}.member-dashboard .dashboard-menu-screen{min-height:calc(100dvh - var(--home-top-height,56px) - var(--member-bottom-space))!important}
 .profile-layout{gap:18px}.profile-card{padding:23px 20px;border-radius:23px}.profile-identity{gap:14px;margin-bottom:26px}.profile-avatar{width:54px;height:54px;border-radius:18px;font-size:21px}.profile-identity h1{font-size:25px}.profile-identity .eyebrow{font-size:8px}.profile-identity p{font-size:12px}.profile-field-row{grid-template-columns:1fr}.profile-side{gap:18px}.profile-links{padding:23px}.profile-save-row{align-items:stretch;flex-direction:column;gap:10px}.profile-save-row .btn{width:100%;justify-content:center}.profile-links>button{min-height:56px}.member-preferences{padding:23px!important}
 .member-app-page body.reading-resource-page #app{display:block!important}.member-app-page body.reading-resource-page #app .sidebar,.member-app-page body.reading-resource-page #app .topbar,.member-app-page body.reading-resource-page #app .content{display:none!important}.member-app-page body.reading-resource-page #app .shell{margin:0;padding:0;min-height:0}.member-app-page body.reading-resource-page #modal-root{padding-bottom:var(--member-bottom-space)}.member-app-page body.reading-resource-page .resource-page{min-height:calc(100dvh - var(--member-bottom-space))}.member-app-page .resource-page .app-course-frame{height:calc(100dvh - 80px - var(--member-bottom-space));min-height:calc(100dvh - 80px - var(--member-bottom-space))}
 .member-app-page #toast.show{bottom:calc(var(--home-nav-height,76px) + 14px)!important}.member-app-page .content>.coach-actions select{min-height:44px;font-size:16px;border-radius:12px;padding:9px 13px;border:1px solid #ddd4e7;background:white;color:#544260}
}
body[data-member-page=profile] .page-footer [data-install-help]{display:none}
.profile-side .member-preferences{margin-top:0}.profile-signout{justify-self:start;color:#765c6c;background:transparent;box-shadow:none;border-color:#ded4df;min-height:44px}
.calendar-controls .icon-button{min-width:44px;min-height:44px}
.member-high-contrast .member-navigation.coach-mobile-nav .nav-item:not(.active){color:#392546!important}.member-high-contrast .profile-form input,.member-high-contrast .profile-form textarea{border-color:#947ca8;background:#fff;color:#21152c}.member-high-contrast .profile-identity p,.member-high-contrast .profile-form label small,.member-high-contrast .profile-save-row [role=status]{color:#4b355e}

.resource-filters summary{display:list-item}

/* Quiet utility controls; the content stays in the foreground. */
.app-settings{position:relative;flex:none;order:3;color:#5b486e}
.app-settings>summary,.resource-filters>summary{display:grid!important;place-items:center;list-style:none;cursor:pointer;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #e8e3ec;border-radius:13px;background:#ffffffb8;position:relative}
.app-settings>summary::-webkit-details-marker,.resource-filters>summary::-webkit-details-marker{display:none}
.app-settings>summary svg,.resource-filters>summary svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.app-settings[open]>summary,.resource-filters[open]>summary{background:#f0ebf6;border-color:#c9bbd8}
.app-settings-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:90;width:280px;max-width:calc(100vw - 32px);max-height:65dvh;overflow:auto;padding:9px;border:1px solid #e5deed;border-radius:20px;background:rgba(255,255,255,.97);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 14px 46px #38274622}
.app-settings-panel>p{font-size:11px;color:#897991;letter-spacing:1px;text-transform:uppercase;padding:11px 12px 7px;margin:0}
.app-settings-panel>button{width:100%;display:flex;align-items:center;gap:12px;min-height:48px;padding:12px;border:0;border-radius:12px;background:transparent;text-align:left;font-size:14px;line-height:1.4;color:#493857;box-shadow:none}
.app-settings-panel>button svg{flex:none;width:20px;height:20px}.app-settings-panel>button small{display:block;color:#85748e;font-size:11px;margin-top:3px}.app-settings-panel>button:hover{background:#f5f2f8}.app-settings-panel>button:disabled{opacity:.5}
.app-settings>summary:focus-visible,.resource-filters>summary:focus-visible,.resource-back:focus-visible{outline:3px solid #9a7fbc;outline-offset:3px}
.resource-browser{justify-content:flex-start;align-items:center;gap:10px;padding:10px 24px;background:#fff;border-color:#eeeaf2;position:relative;z-index:4}
.resource-back{flex:none;display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:0;border-radius:13px;background:#f6f3f8;color:#756181;box-shadow:none}
.resource-back svg{width:18px;height:18px;transform:rotate(180deg)}
.resource-browser-label{display:flex;align-items:baseline;gap:9px;min-width:0}.resource-browser-label>strong{font-size:15px;font-weight:500;line-height:1.4;color:#4b3d58}.resource-browser-label>small{font-size:12px;color:#94899c;white-space:nowrap}
.resource-filters{flex:0 0 44px!important;margin-left:auto;min-width:0;position:relative;color:#756181}
.resource-filters>.resource-filter-row{position:absolute;right:0;bottom:calc(100% + 9px);z-index:30;display:grid;gap:15px;width:280px;max-width:calc(100vw - 32px);max-height:55dvh;overflow:auto;padding:20px;background:rgba(255,255,255,.98);border:1px solid #e6dfeb;border-radius:18px;box-shadow:0 12px 42px #38274622;backdrop-filter:blur(22px)}
.resource-filters:not([open])>.resource-filter-row{display:none}.resource-filters .resource-filter{min-width:0;font-size:12px;gap:7px}.resource-filters .resource-filter select{background:#faf8fc;border-color:#e5dcea;font-size:15px}
.filter-active-dot{position:absolute;right:5px;top:5px;width:7px;height:7px;border-radius:50%;background:#9c73b3;box-shadow:0 0 0 2px white}.filter-active-dot[hidden]{display:none}
.resource-browser [data-library-status]{font-size:12px;color:#80688c;line-height:1.5}
.profile-side .member-preferences{scroll-margin-top:calc(var(--home-top-height,70px) + 18px)}
@media(max-width:700px){.app-settings-panel{position:fixed;left:auto;right:16px;top:calc(var(--home-top-height,64px) + 8px)}.resource-browser{padding:8px 16px;gap:9px}.resource-browser-label{gap:7px}.resource-browser-label>strong{font-size:14px}.resource-browser-label>small{font-size:11px}}
.calendar-entry-toolbar{display:flex;justify-content:flex-end;margin:-2px 0 14px}.calendar-entry-toolbar:empty{display:none}.calendar-create{gap:6px;min-height:44px;background:#fff;border-color:#d7d2e0;box-shadow:0 3px 12px #34224a08}.calendar-create>span{font-size:22px;font-weight:400;line-height:1}.personal-appointment-label{display:inline-block;color:#735588;font-size:12px;line-height:1.5;margin:5px 0}.personal-appointment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:6px 0 12px}.personal-appointment-actions .text-link{min-height:44px}.calendar-time-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.calendar-time-fields label{min-width:0}.calendar-time-fields input{width:100%;min-width:0;box-sizing:border-box}.calendar-form-note{color:var(--muted);font-size:15px;line-height:1.6}.calendar-trash{margin-top:24px;padding-top:18px;border-top:1px solid #e6e1eb}.calendar-trash summary{cursor:pointer;font-size:14px;color:var(--muted);min-height:44px}.calendar-trash>div{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 0}.calendar-trash small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.dashboard-admin-agenda{min-width:0}.dashboard-admin-agenda>h2{font-size:20px;margin:0 0 18px}.dashboard-calendar .section-header{flex-wrap:wrap;gap:10px}.dashboard-calendar .calendar-controls{max-width:100%}
@media(max-width:520px){.calendar-time-fields{grid-template-columns:1fr}.calendar-trash>div{flex-wrap:wrap}.calendar-entry-toolbar{margin-top:0}.calendar-create{font-size:14px;padding:9px 13px}.dashboard-calendar .section-header h2{font-size:20px}.dashboard-calendar .calendar-controls{margin-left:0;width:100%;justify-content:space-between}}

/* Keep date selection and entry actions before the agenda on the calendar page. */
.content>.dashboard-calendar-layout>.dashboard-calendar{order:-2}

/* Imported courses fit below their actual, possibly wrapped app heading. */
.resource-page.resource-imported-course{height:calc(100dvh - var(--course-app-top,0px) - var(--course-app-bottom,0px));min-height:0;overflow:hidden}
body.reading-resource-page .resource-page.resource-imported-course .resource-heading{position:relative;top:auto;flex:none}
.resource-page.resource-imported-course .app-course-frame{min-height:0;height:100%;flex:1}
@media(min-width:701px){.resource-page.resource-imported-course{--course-app-top:var(--home-top-height,82px)}}
@media(max-width:700px){.member-app-page .resource-page.resource-imported-course{--course-app-bottom:var(--member-bottom-space)}}

/* The fixed dock already reserves its own space; reader padding must not reserve it twice. */
.member-app-page body.reading-resource-page .resource-page.resource-imported-course{--course-app-bottom:var(--home-nav-height,0px);padding-bottom:0;box-sizing:border-box;min-height:0}
.resource-page.resource-imported-course .resource-stage{min-height:0;overflow:hidden}
@media(max-width:700px){.member-app-page body.reading-resource-page .resource-page.resource-imported-course{--course-app-top:0px;--course-app-bottom:var(--home-nav-height,76px)}}
