/* Shared Course Designer layout for the app workspaces. */
html:has(body:is(.workspace-theme,.reading-page,.books-page)){background:#edf1f5;color-scheme:light}
body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page){--workspace-ink:#223a34;--workspace-muted:#53665e;--workspace-accent:#315f49;--accent:#315f49;--muted:#53665e;--panel:#fffffff0;--line:#cad3dd;margin:0;min-height:100dvh;color:#223a34;font:400 1rem/1.6 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:radial-gradient(ellipse at 5% 10%,#fff7eacc,transparent 45%),linear-gradient(120deg,#f3f6faf2,#edf2f8f0),url('/assets/colosseum-amber.webp') center/cover fixed!important}
body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page) :is(.native-shell,.design-shell,.app-showcase-main,.reading-app,.books-main,#contacts-app){width:100%;max-width:1240px;margin:0 auto;padding:36px 24px 64px;min-width:0}
body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page) :is(.native-top,.tool-top,.reading-top,.contacts-heading,.books-heading){display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px!important;background:linear-gradient(120deg,#fffffff5,#f4f7fbf2)!important;border:1px solid #ffffffee!important;border-bottom-color:#cbd5df99!important;border-radius:20px!important;box-shadow:0 8px 30px #24374f09,inset 0 1px #fff;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);margin:0 0 28px}
body[data-site-theme].workspace-theme .tool-top{max-width:1192px;width:calc(100% - 48px);margin:36px auto 0}
body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page) h1{font:600 clamp(2rem,4.2vw,3rem)/1.16 system-ui,sans-serif;letter-spacing:-.045em;color:#223a34;max-width:26ch;margin:12px 0 18px}
body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page) :is(.native-top,.reading-top) h1{font-size:clamp(1.5rem,3vw,2.1rem);margin:0;flex:1}
body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page) h2{font-size:21px;line-height:1.35;font-weight:650;letter-spacing:-.025em;color:#223a34}
body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page) :is(.native-sidebar,.native-editor,.native-card,.design-section,.presentation-card,.contacts-panel,.explorer-panel,.scholar-card,.showcase-app,.pdf-pane,.notes-pane,.document-toolbar,.book-card){color:#223a34;background:linear-gradient(135deg,#fffffff0,#ffffffc9);border:1px solid #fff;border-bottom-color:#cad5e3a6;border-right-color:#cad5e3a6;border-radius:24px;box-shadow:0 16px 42px #203c5910,inset 0 1px #fff;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);min-width:0}
body[data-site-theme].workspace-theme :is(.native-editor,.design-section,.contacts-panel,.explorer-panel){padding:30px;margin-bottom:24px}
body[data-site-theme].workspace-theme :is(.native-actions,.tool-actions,.planner-tabs){gap:10px;margin:20px 0;align-items:center;flex-wrap:wrap}
body[data-site-theme].workspace-theme .native-layout{grid-template-columns:240px minmax(0,1fr);gap:28px}
body[data-site-theme].workspace-theme .native-sidebar{padding:24px}
body[data-site-theme].workspace-theme .designer-layout{gap:28px;grid-template-columns:190px minmax(0,1fr) minmax(280px,.8fr)}
body[data-site-theme].workspace-theme :is(.native-actions,.tool-actions) label{min-width:150px;font-size:14px;color:#53665e}
body[data-site-theme].workspace-theme :is(.native-actions,.tool-actions) button{min-height:44px;padding:10px 16px}
body[data-site-theme].workspace-theme .planner-tabs button[aria-pressed=true],body[data-site-theme].workspace-theme [data-history-mode][aria-pressed=true]{background:#315f49;color:#fff;border-color:#315f49}
/* Scientist directory: spacious rows rather than a wall of cards. */
body[data-site-theme] #explorer .scholar-search-field{flex:1;min-width:220px}
.scholar-modern-list{display:grid;gap:14px}
body[data-site-theme].workspace-theme .scholar-modern-list .scholar-row{display:grid;grid-template-columns:22px 96px minmax(180px,.85fr) minmax(220px,1.3fr) auto;gap:22px;align-items:center;padding:22px 24px;border-radius:20px;transition:box-shadow .2s,border-color .2s}
body[data-site-theme].workspace-theme .scholar-modern-list .scholar-row:hover{border-color:#a9bcaf;box-shadow:0 16px 42px #203c5918,inset 0 1px #fff}
body[data-site-theme].workspace-theme .scholar-modern-list .scholar-portrait{width:96px;height:118px;max-height:none;object-fit:cover;object-position:center 20%;border-radius:12px;filter:none;background:#e6eae8;margin:0}
.scholar-row .scholar-select{align-self:center;display:block}.scholar-row .scholar-select span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.scholar-row .scholar-identity h2{margin:6px 0 10px;font-size:21px;line-height:1.3}
.scholar-row .scholar-identity small{font-size:14px;color:#53665e}
.scholar-field{display:inline-block;font-size:12px;line-height:1.6;padding:4px 9px;border-radius:8px;background:#e7efe9;color:#355a43}
body[data-site-theme].workspace-theme .scholar-summary p{font-size:14px;line-height:1.6;margin:8px 0;color:#53665e}
body[data-site-theme].workspace-theme .scholar-summary .scholar-concepts{font-size:16px;font-weight:600;color:#223a34}
.scholar-row button{white-space:nowrap;min-height:44px}
.scholar-empty{padding:32px;background:#ffffffbf;border-radius:20px}
body[data-site-theme].workspace-theme .scholar-detail{grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr);gap:30px}
body[data-site-theme].workspace-theme .scholar-detail img{width:100%;max-height:400px;object-fit:contain;border-radius:16px;background:#e8eeea}
body[data-site-theme].workspace-theme #explorer-dialog{width:min(960px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:30px;border:1px solid #fff;border-radius:24px;background:#f7faf8;color:#223a34;box-shadow:0 30px 100px #17263840}
#explorer-dialog::backdrop{background:#14263875;backdrop-filter:blur(5px)}
body[data-site-theme].workspace-theme .scholar-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
body[data-site-theme].workspace-theme .scholar-grid .scholar-card{padding:24px}
body[data-site-theme].workspace-theme .scholar-grid img{width:100%;height:200px;object-fit:contain;border-radius:12px}
body[data-site-theme].reading-page .reading-app{max-width:1240px}body[data-site-theme].reading-page .reading-workspace{gap:28px}body[data-site-theme].reading-page .reading-top>div:first-child{min-width:0;flex-wrap:wrap}body[data-site-theme].reading-page .document-toolbar{padding:16px 20px}
@media(max-width:1100px){body[data-site-theme].workspace-theme .designer-layout{grid-template-columns:160px minmax(0,1fr)}body[data-site-theme].workspace-theme .document-preview{grid-column:2}body[data-site-theme].workspace-theme .scholar-modern-list .scholar-row{grid-template-columns:22px 88px minmax(150px,.85fr) minmax(180px,1.3fr);gap:18px}body[data-site-theme].workspace-theme .scholar-row button{grid-column:3/5;justify-self:start}}
@media(max-width:767px){body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page) :is(.native-shell,.design-shell,.app-showcase-main,.reading-app,.books-main,#contacts-app){padding:20px 16px 40px}body[data-site-theme]:is(.workspace-theme,.reading-page,.books-page) :is(.native-top,.tool-top,.reading-top,.contacts-heading,.books-heading){padding:16px!important;border-radius:16px!important;gap:12px;flex-wrap:wrap;margin-bottom:22px}body[data-site-theme].workspace-theme .tool-top{width:calc(100% - 32px);margin:20px auto 0}body[data-site-theme].workspace-theme :is(.native-layout,.designer-layout){grid-template-columns:minmax(0,1fr);gap:20px}body[data-site-theme].workspace-theme .document-preview{grid-column:auto}body[data-site-theme].workspace-theme .native-sidebar{position:static}body[data-site-theme].workspace-theme :is(.native-editor,.design-section,.contacts-panel,.explorer-panel){padding:20px;border-radius:20px}body[data-site-theme].workspace-theme .scholar-modern-list .scholar-row{grid-template-columns:20px 70px minmax(0,1fr);padding:18px;gap:14px}body[data-site-theme].workspace-theme .scholar-modern-list .scholar-portrait{width:70px;height:92px}body[data-site-theme].workspace-theme .scholar-row .scholar-identity h2{font-size:18px}body[data-site-theme].workspace-theme .scholar-summary{grid-column:2/4}body[data-site-theme].workspace-theme .scholar-row button{grid-column:2/4;justify-self:stretch}body[data-site-theme].workspace-theme .scholar-detail{grid-template-columns:1fr}body[data-site-theme].workspace-theme .scholar-detail img{max-height:260px}body[data-site-theme].workspace-theme #explorer-dialog{padding:20px}.scholar-field{font-size:12px}}
@media print{body[data-site-theme].workspace-theme #explorer-print{background:white;color:black}.scholar-modern-list,.native-top{display:none}}
