/* THE BEER 2.2 — a quiet, legible learning workspace.
   Forest is the brand; blue, violet and amber identify learning activities. */
:root {
  --forest:#153f35; --green:#21634f; --ink:#22342e; --muted:#65726c;
  --cream:#f5f6f3; --surface:#fff; --soft:#eef3ef; --border:#dfe5df;
  --blue:#345b9a; --violet:#7556a0; --amber:#946025;
  --surface-shadow:0 4px 20px #193c2907; --radius:20px;
}
body { background:var(--cream); color:var(--ink); }
button,input,select,textarea { font-family:var(--font); }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:3px solid #418b6b; outline-offset:4px;
}
button:disabled { cursor:not-allowed; }
.app { max-width:1600px; }
.app-header { background:#ffffffed; border-bottom:1px solid var(--border); box-shadow:none; }
.brand strong { color:var(--forest); letter-spacing:-.8px; }
.brand-dot { color:#bf9961; }
.brand small { color:var(--muted); }
.header-context strong { font-weight:700; color:var(--ink); }
.header-context>span,.header-date { color:var(--muted); }
.icon-button { color:#52675d; border-radius:12px; }
.icon-button:hover { background:#edf2ee; }
.profile-avatar { background:#e5efe8; border:1px solid #d6e4da; }
.profile-button { font-size:13px; }
.primary-button,.secondary-button,.refresh-button,.media-open,.page-direction {
  min-height:46px; border-radius:12px; font-weight:600; font-size:14px;
  box-shadow:none; transition:background .18s,border-color .18s,box-shadow .18s;
}
.primary-button { background:var(--forest); color:#fff; border-color:var(--forest); }
.primary-button:hover { background:#225945; box-shadow:0 5px 14px #153f3518; }
.secondary-button { background:#fff; border-color:#ccd8cf; color:var(--forest); }
.secondary-button:hover { background:#f1f5f1; border-color:#9cb6a6; }
.logout-button { color:#a03a46; border-color:#e7c9cf; background:#fff5f5; box-shadow:none; }
.logout-button:hover { background:#ffe9eb; }
.account-logout { color:#fff; background:#a03a46; }
.section-kicker { font-size:10px; font-weight:700; letter-spacing:1.8px; color:var(--muted); }
#main { padding-top:28px; }
.dashboard-heading { align-items:center; margin:0 0 24px; }
.dashboard-heading>div { min-width:0; }
.dashboard-title { font-size:25px; font-weight:600; letter-spacing:-.7px; color:var(--ink); line-height:1.4; }
#welcome-name { margin-top:5px; font-size:13px; font-weight:400; color:var(--muted); }
.dashboard-label { display:flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid var(--border); border-radius:30px; background:#fff; font-size:10px; letter-spacing:1.2px; color:#53675c; white-space:nowrap; }
.dashboard-label::before { content:''; width:6px; height:6px; border-radius:50%; background:#4d8d63; }

/* An editorial portrait with room for both the teacher and the next action. */
.home-top-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
.teacher-hero { min-height:450px; align-items:center; border-radius:24px; background:#f0f2eb; color:var(--ink); box-shadow:none; border:1px solid #dae2d6; }
.teacher-hero::before { content:''; position:absolute; inset:0 0 0 52%; background:#183f34; z-index:0; }
.teacher-hero::after { border:0; box-shadow:none; }
.portrait-frame { position:absolute; z-index:1; inset:0 0 0 52%; overflow:hidden; background:#0e2d24; }
.teacher-hero .portrait-frame .teacher-photo { width:100%; height:135%; min-width:0; top:0; left:0; right:auto; object-fit:cover; object-position:50% 0; transform:none; }
.teacher-photo { z-index:1; width:auto; height:111%; min-width:0; max-width:none; left:auto; right:-9%; top:8%; transform:none; object-fit:contain; }
.teacher-photo-shade { z-index:1; background:none; }
.hero-atmosphere { z-index:0; background:radial-gradient(ellipse at 84% 16%,#b7d1a929,transparent 42%); }
.hero-orbit { z-index:0; top:-40px; right:-40px; width:310px; height:530px; border-color:#d4e3bf20; transform:rotate(22deg); }
.hero-orbit::after { inset:20px; border-color:#d4e3bf14; }
.teacher-wordmark { display:none; }
.teacher-intro { width:55%; padding:35px 0 34px 30px; }
.teacher-kicker { color:#4b685a; font-size:10px; letter-spacing:1.1px; }
.teacher-kicker i { width:6px; height:6px; background:#729661; box-shadow:none; }
.teacher-hero h1 { display:block; font-size:clamp(52px,5.1vw,76px); line-height:.98; font-weight:800; letter-spacing:-3.5px; margin:22px 0 17px; white-space:normal; }
.hero-brand-the,.hero-brand-beer { display:block; text-shadow:none; }
.hero-brand-the { color:#213c31; }
.hero-brand-beer { color:#417959; }
.teacher-name { color:#5d6c62; font-size:13px; gap:7px; }
.teacher-name strong { color:#244a38; font-size:24px; font-weight:600; letter-spacing:-.5px; }
.teacher-message { margin-top:12px; color:#53665a; font-size:14px; line-height:1.8; }
.teacher-message br { display:block; }
.teacher-actions { display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin-top:22px; }
.teacher-actions .primary-button { min-width:0; min-height:48px; gap:20px; padding:10px 12px 10px 17px; font-size:13px; background:#173f32; color:#fff; border-color:#173f32; box-shadow:0 5px 14px #153f351a; }
.teacher-actions .primary-button:hover { background:#255b43; transform:none; box-shadow:0 7px 16px #153f3524; }
.teacher-actions .primary-button:active { transform:none; box-shadow:none; }
.button-arrow { background:#ffffff15; box-shadow:none; width:28px; height:28px; }
.teacher-calendar-link { min-height:44px; padding:8px 0; gap:7px; font-size:12px; color:#476354; border:0; border-radius:8px; background:none; box-shadow:none; }
.teacher-calendar-link:hover { background:transparent; color:#143d2c; text-decoration:underline; text-underline-offset:4px; }
.teacher-full-name { display:none; }
.hero-math { top:auto; bottom:21px; right:21px; padding:10px 13px; gap:12px; border-radius:14px; transform:none; border-color:#dbe8d92b; background:#10372bcc; box-shadow:none; color:#e9f3df; }
.hero-math span { font-size:25px; }.hero-math small { font-size:8px; }
.teacher-hero button:focus-visible { outline-color:#438e68; }

.study-hub { display:flex; flex-direction:column; margin:0; padding:24px; border:1px solid var(--border); border-radius:20px; background:#fff; box-shadow:var(--surface-shadow); }
.panel-heading { display:block; }.panel-heading .section-kicker { display:block; color:#6e7f70; }
.panel-heading h2 { margin-top:7px; font-size:22px; color:var(--ink); font-weight:600; }
.panel-heading p { margin-top:5px; font-size:13px; color:var(--muted); }
.class-actions { gap:10px; margin-top:22px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.action-card { flex-direction:row; align-items:center; gap:12px; min-height:90px; padding:16px; border-radius:14px; border-width:1px; box-shadow:none; }
.action-card:hover { transform:translateY(-2px); box-shadow:0 6px 16px #253e2c0c; }
.action-card.live-card { background:#faf4e9; border-color:#eee0c8; }
.action-card.replay-card { background:#f0f4fc; border-color:#dce5f5; }
.action-card.worksheet-card { background:#f5f1fa; border-color:#e7dff0; }
.action-card .card-icon { width:42px; height:44px; border:0; border-radius:12px; box-shadow:none; }
.action-card.live-card .card-icon { color:var(--amber); background:#f2e3c7; box-shadow:none; }
.action-card.replay-card .card-icon { color:var(--blue); background:#e0e9fb; box-shadow:none; }
.action-card.worksheet-card .card-icon { color:var(--violet); background:#e9dff4; box-shadow:none; }
.action-card .action-copy strong { color:#293c34; font-size:14px; font-weight:600; }
.action-card .action-copy small { color:#647168; font-size:12px; margin-top:4px; }
.action-arrow { position:static; width:16px; height:16px; color:#718275; }
.hub-note { margin-top:18px; padding:13px 0 0; border:0; border-top:1px solid #e9ede7; border-radius:0; background:transparent; color:var(--muted); }
.hub-note p { color:var(--muted); font-size:12px; }.hub-note svg { width:15px; height:15px; }
.announcement { margin:20px 0 0; padding:16px 20px; border-radius:14px; border:1px solid #eee1c9; background:#fcf8ef; box-shadow:none; }
.announcement-icon { background:#f1e4cc; color:#916022; }.announcement strong { font-size:13px; color:#725526; }.announcement p { font-size:13px; color:#746752; }.announcement-tag { background:#f5ecda; border:0; font-size:11px; color:#826536; }

/* The same surface, type scale and button language across all destinations. */
.public-media-section,.media-manager,.holiday-calendar,.account-card,.app-preferences,.access-manager,.hosting-manager {
  border:1px solid var(--border); border-radius:20px; background:#fff; box-shadow:var(--surface-shadow);
}
.public-media-section,.media-manager { padding:28px; margin:26px 0; }
#public-media,.class-media { border-top:1px solid var(--border); background:#fff; }
#public-media .section-kicker,.class-media .section-kicker { color:#667a6c; }
.media-section-heading h2,.holiday-heading h2 { font-size:24px; font-weight:600; letter-spacing:-.5px; color:var(--ink); }
.media-section-heading p,.holiday-heading p { font-size:13px; color:var(--muted); }
.media-status { font-size:12px; color:#65756a; }
.media-grid { gap:20px; }
.media-card { border:1px solid #e1e7df; border-radius:16px; background:#fff; box-shadow:none; overflow:hidden; }
.media-card:hover { border-color:#b6c6b8; box-shadow:0 9px 24px #173d2810; transform:translateY(-2px); }
.media-cover { background:#f0f3ec; }
.media-card-body { padding:20px; }
.media-card h3 { font-size:18px; line-height:1.6; color:var(--ink); }
.media-card-body>p { color:var(--muted); font-size:13px; line-height:1.8; }
.media-tag { background:#eef4ed; color:#4b704f; font-size:10px; font-weight:600; border-radius:5px; }
.media-open,.class-media .media-open { background:#f3f6f1; color:#2a5c3e; border:1px solid #d7e3d3; box-shadow:none; }
.media-open:hover,.class-media .media-open:hover { background:#e5efdf; }
.home-bottom-grid { gap:22px; margin-top:26px; }
.holiday-calendar { padding:26px; border-top:1px solid var(--border); background:#fff; }
.holiday-calendar .section-kicker { color:#8d7347; }
.holiday-heading { gap:14px; margin-bottom:18px; }.holiday-heading h2 { margin-top:4px; }
.holiday-heading-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; color:#946a29; background:#f5eddf; }
.calendar-sync-bar { border:0; padding:0 0 17px; background:transparent; font-size:11px; color:var(--muted); }
.calendar-sync-bar>span:last-child { display:none; }
.holiday-month-nav { margin-bottom:13px; }
.holiday-month-nav h3 { font-size:15px; }.holiday-day { font-size:13px; border-radius:10px; }
.holiday-day.is-holiday { color:#85571e; background:#fbefda; border-color:#eddfbf; box-shadow:none; }
.holiday-day.is-holiday:hover,.holiday-day[aria-pressed=true] { color:#fff; background:#92662c; border-color:#92662c; }
.holiday-day.is-today { border:2px solid #41735a; font-weight:700; }
.holiday-event { border-color:#ece8df; background:#fcfbf7; border-radius:12px; padding:13px; }
.holiday-event h4 { font-size:14px; }.holiday-event p { font-size:12px; color:#6d756c; }
.holiday-date-badge { min-width:42px; background:#f5ebd7; color:#84602b; border:0; }
.calendar-message { border:1px dashed #d9e1d7; color:var(--muted); background:#f7f9f5; }
.learning-companion { display:flex; padding:28px; background:#edf2e8; border:1px solid #dce5d5; border-radius:20px; box-shadow:none; }
.learning-companion h2 { font-size:26px; font-weight:500; color:#344e39; }.learning-quote { color:#526750; }
.companion-contact { border-top:1px solid #d8e3d2; margin-top:24px; padding-top:18px; }
.page-intro { padding:0; margin-bottom:28px; }.page-intro h1 { font-size:32px; color:var(--ink); letter-spacing:-.7px; font-weight:600; }.page-intro p { font-size:14px; color:var(--muted); }
.library-switch { display:inline-flex; max-width:100%; padding:5px; background:#e9eee8; border:1px solid #dde5da; border-radius:14px; gap:4px; }
.library-switch button { min-height:44px; padding:8px 20px; border-radius:10px; font-size:14px; }
.library-switch button.active:after { display:none; }
.library-switch button[data-view].active { color:#234b38; background:#fff; box-shadow:0 2px 5px #20372b0b; }
.library-toolbar { background:#fff; border:1px solid var(--border); padding:13px 16px; border-radius:14px; }
.class-resources-shortcut { display:flex; align-items:center; gap:8px; min-height:44px; padding:0 2px; margin:0 0 14px auto; color:#546f60; font-size:13px; font-weight:600; }
.class-resources-shortcut svg { width:17px; height:17px; }.class-resources-shortcut:hover { color:#173f35; text-decoration:underline; text-underline-offset:4px; }
.class-media { margin-top:32px; scroll-margin-top:100px; }
.class-label { font-size:14px; }.search-field,.search-tools select { border-color:#d6e0d4; border-radius:12px; }
.search-field input::placeholder { color:#737f76; font-size:14px; }
.search-field:focus-within,.form-field:focus-within { border-color:#4d8763; box-shadow:0 0 0 3px #4d876318; }
.library-status,.lesson-count { font-size:13px; color:#5d6e61; }
.lesson-card { border:1px solid var(--border); border-radius:17px; box-shadow:none; }
.lesson-card:hover { border-color:#b6c5b7; box-shadow:0 8px 24px #22342e0d; }
.lesson-info { padding:21px; }.lesson-info h2 { font-size:18px; font-weight:600; line-height:1.65; }
.lesson-date { font-size:12px; color:#647167; }.lesson-meta { color:#69756b; font-size:12px; }
.lesson-badge { font-size:11px; border-radius:6px; backdrop-filter:blur(10px); }
.play-circle { width:44px; height:44px; background:#173f35; box-shadow:0 4px 14px #102e2526; }
.lesson-actions a,.lesson-actions button { font-size:13px; color:#2e6947; }
.document-card,#app[data-view=documents] .document-card { border:1px solid var(--border); border-radius:15px; background:#fff; box-shadow:none; padding:20px; }
.document-icon { background:#f0eaf8; color:#765d9b; }.document-card h2 { font-size:16px; }.document-card p { font-size:12px; }
.page-number { background:#fff; border:1px solid #d7e1d4; border-radius:10px; box-shadow:none; }
.page-number[aria-current=page] { background:var(--forest); color:#fff; border-color:var(--forest); box-shadow:none; }
.page-direction { background:#fff; }.page-direction:disabled { opacity:.5; }
.empty-state { border:1px dashed #cbd8cb; background:#fbfcfa; box-shadow:none; border-radius:22px; padding:45px 24px; }
.empty-state h2 { font-size:23px; color:#304d38; }.empty-state p { color:var(--muted); font-size:14px; }
.account-card,.app-preferences,.access-manager { border-top:1px solid var(--border); }
.account-card h2 { font-weight:600; }.document-shortcut { border-color:var(--border); border-radius:14px; box-shadow:none; }
.sheet,.hosting-dialog { border:1px solid #e0e6df; border-radius:24px; color:var(--ink); box-shadow:0 24px 80px #102e252b; }
.sheet::backdrop,.hosting-dialog::backdrop { background:#102b235e; backdrop-filter:blur(6px); }
.sheet h2,.hosting-dialog h2 { font-size:26px; font-weight:600; color:#263d31; }
.dialog-description { font-size:14px; color:var(--muted); }.sheet-body { padding:28px; }
.form-field { border:1px solid #cdd9cd; border-radius:12px; box-shadow:none; background:#fff; }
.form-field input { min-height:52px; font-size:16px; }
.sheet label { color:#405747; }.login-help { font-size:13px; color:#637065; }
.admin-overview { gap:16px; }.admin-tile { border-radius:16px; box-shadow:none; min-height:150px; }
.admin-tile strong { color:#263e30; }.admin-tile small { font-size:13px; }
.admin-gate { border-radius:20px; box-shadow:var(--surface-shadow); }
.hosting-manager { margin-top:26px; }.hosting-row { border-radius:13px; background:#fafbf8; }
.hosting-controls { gap:12px; }.hosting-controls input,.hosting-controls select { font-size:14px; border-color:#cdd9cc; }
.site-footer { margin-top:32px; border-top:1px solid var(--border); color:#647367; }.site-footer strong { color:#3e5f48; }
.bottom-nav { background:#ffffffef; border-top:1px solid #dce4d8; box-shadow:0 -4px 24px #193c2906; }
.bottom-nav button { color:#67766a; }.bottom-nav button.active { color:#174b33; }
.bottom-nav .nav-icon { border-radius:11px; }.bottom-nav button.active .nav-icon { background:#e7f0e2; box-shadow:none; }
.welcome-copy h1 span { color:#d4e7b2; text-shadow:none; }.welcome-enter { background:#e0edc9; border-color:#e0edc9; box-shadow:0 8px 25px #0002; border-radius:14px; }
.welcome-enter:hover { transform:translateY(-2px); box-shadow:0 12px 28px #0003; }

@media(min-width:1100px) {
  body { padding-left:224px; }.app-sidebar { width:224px; padding:28px 18px 20px; border-color:var(--border); background:#fff; }
  .sidebar-brand { gap:10px; }.sidebar-brand strong { font-size:21px; }.sidebar-brand .brand-icon { width:42px; height:42px; }
  .nav-label { margin:37px 14px 13px; color:#7d887f; font-size:11px; }
  .sidebar-nav { gap:6px; }.sidebar-nav button { min-height:48px; padding:12px 14px; border-radius:12px; font-size:13px; color:#627366; }
  .sidebar-nav button.active { color:#fff; background:#1c4938; box-shadow:0 4px 10px #153f3512; }
  .sidebar-nav button.active i { background:#b9d5a8; }.sidebar-nav button.active svg { color:#e7f3df; }
  .sidebar-install { background:#f3f6ee; border-color:#e3e9da; border-radius:15px; padding:17px; }
  .sidebar-install strong { color:#49633f; }.sidebar-install p { color:#697a60; }.sidebar-teacher { border-color:#e4e9df; }
  .app-header { height:76px; padding:0 30px; }#main { padding:28px 30px 0; }
  .site-footer { margin-left:30px; margin-right:30px; }.toast { margin-left:112px; }
}
@media(min-width:1280px) {
  .home-top-grid { grid-template-columns:minmax(0,1.85fr) minmax(295px,.85fr); gap:22px; align-items:stretch; }
  .teacher-hero { min-height:470px; }.teacher-intro { padding-left:30px; }.teacher-photo { right:-12%; height:105%; top:10%; }
  .teacher-hero h1 { font-size:65px; }.teacher-message { font-size:14px; }.hero-math { right:17px; }
  .study-hub { padding:24px 20px; }.class-actions { grid-template-columns:minmax(0,1fr); gap:13px; margin-top:23px; }
  .action-card { padding:16px 12px; min-height:91px; gap:10px; }.action-card .action-copy strong { font-size:14px; }
  .hub-note { margin-top:auto; padding-top:17px; }.home-bottom-grid { grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
}
@media(min-width:1540px) {
  .teacher-intro { padding-left:40px; }.teacher-hero h1 { font-size:76px; }.teacher-photo { right:-7%; height:111%; top:7%; }
  .teacher-name strong { font-size:28px; }.study-hub { padding:26px; }.action-card { padding:18px 14px; }.teacher-hero { min-height:490px; }
}
@media(min-width:800px) and (max-width:1279px) {
  .teacher-hero { min-height:420px; }.teacher-photo { height:122%; right:0; top:5%; }.teacher-intro { width:50%; padding:32px 0 32px 38px; }
  .teacher-hero h1 { font-size:72px; }.study-hub { padding:22px; }.class-actions { margin-top:17px; }
  .action-card { padding:15px 12px; gap:10px; }.action-card .action-copy strong { font-size:13px; }.action-arrow { display:none; }
}
@media(min-width:600px) and (max-width:799px) {
  .teacher-hero { min-height:440px; }.teacher-photo { height:112%; right:-4%; top:6%; }.teacher-hero h1 { font-size:70px; }
  .class-actions { grid-template-columns:1fr; }.action-card { padding:14px 16px; min-height:80px; }
}
@media(max-width:599px) {
  :root { --page-gutter:18px; } .app-header { height:calc(72px + env(safe-area-inset-top,0px)); gap:10px; }
  #main { padding-top:22px; }.brand strong { font-size:20px; }.brand-icon { width:39px; height:39px; }.header-install { border:0; }
  .dashboard-heading { margin-bottom:18px; }.dashboard-title { font-size:23px; }#welcome-name { font-size:12px; margin-top:4px; }.dashboard-label { display:none; }
  .teacher-hero { display:block; min-height:600px; border-radius:22px; background:#f0f2eb; }
  .teacher-hero::before { inset:0 0 auto 0; height:300px; background:#193f33; }
  .portrait-frame { inset:0 0 auto; height:282px; }
  .teacher-hero .portrait-frame .teacher-photo { width:100%; height:auto; object-fit:cover; top:-9px; }
  .teacher-photo { height:auto; width:104%; right:-5%; left:auto; top:-2px; transform:none; }
  .teacher-photo-shade { background:none; }
  .hero-atmosphere { background:radial-gradient(ellipse at 90% 0,#c9dfab35,transparent 45%); }
  .hero-orbit { top:-50px; right:-30px; height:420px; width:280px; }
  .teacher-intro { width:100%; padding:304px 24px 25px; }
  .teacher-kicker { font-size:10px; }.teacher-hero h1 { display:flex; gap:9px; margin:14px 0 12px; font-size:49px; letter-spacing:-2.8px; }
  .teacher-name strong { font-size:25px; }.teacher-name { font-size:13px; }
  .teacher-message { margin-top:8px; font-size:13px; }.teacher-message br { display:none; }
  .teacher-actions { flex-direction:row; flex-wrap:wrap; align-items:center; gap:9px 14px; margin-top:20px; }
  .teacher-actions .primary-button { font-size:13px; min-height:48px; padding:10px 12px; gap:12px; }
  .teacher-calendar-link { font-size:11px; }.hero-math { bottom:auto; top:224px; right:18px; padding:8px 11px; border-radius:10px; }
  .hero-math span { font-size:22px; }.hero-math small { font-size:7px; }
  .study-hub { padding:22px 18px; border-radius:18px; }.panel-heading h2 { font-size:21px; }.panel-heading p { font-size:12px; }
  .class-actions { grid-template-columns:1fr; gap:10px; margin-top:18px; }.action-card { min-height:82px; padding:14px 12px; }
  .action-card .action-copy strong { font-size:14px; }.action-card .action-copy small { font-size:12px; }.action-arrow { display:block; }
  .public-media-section,.media-manager,.holiday-calendar,.access-manager,.app-preferences { padding:22px 18px; border-radius:18px; }
  .media-section-heading h2,.holiday-heading h2 { font-size:21px; }.media-section-heading p,.holiday-heading p { font-size:12px; }
  .media-section-heading { gap:12px; }.media-heading-actions { gap:7px; }.media-grid { gap:16px; }.media-card-body { padding:18px; }
  .holiday-heading-icon { display:none; }.holiday-heading { gap:9px; }.holiday-month-nav h3 { font-size:14px; }
  .home-bottom-grid { gap:20px; }.learning-companion { padding:25px; }.learning-companion h2 { font-size:24px; }
  .page-intro { margin-bottom:22px; }.page-intro h1 { font-size:27px; }.page-intro p { font-size:13px; }
  .library-switch { display:flex; width:100%; }.library-switch button { font-size:13px; padding:8px 10px; }
  .library-toolbar { padding:11px 12px; gap:8px; }.class-label { font-size:13px; }.refresh-button { font-size:12px; padding:8px 10px; }
  .lesson-info { padding:18px; }.lesson-info h2 { font-size:18px; }.document-card,#app[data-view=documents] .document-card { padding:17px; gap:12px; }
  .sheet-body { padding:24px 21px; }.sheet h2,.hosting-dialog h2 { font-size:24px; }
  .admin-overview { gap:10px; }.admin-tile { min-height:154px; padding:17px; }.admin-tile strong { font-size:16px; }.admin-tile small { font-size:12px; }
  .announcement { gap:11px; padding:15px; }.announcement p { font-size:12px; }
  .header-logout { font-size:12px; padding:8px 10px; }.bottom-nav button { font-size:11px; min-height:60px; }
}
@media(max-width:370px) {
  :root { --page-gutter:14px; }.teacher-intro { padding:282px 19px 23px; }.teacher-hero { min-height:580px; }.portrait-frame { height:260px; }
  .teacher-hero h1 { font-size:43px; letter-spacing:-2.8px; gap:8px; }.hero-math { top:205px; }
  .teacher-actions { gap:4px 12px; }.teacher-actions .primary-button { font-size:12px; }.teacher-calendar-link { font-size:11px; }
  .brand strong { font-size:18px; }.header-actions { gap:3px; }.signed-in .mobile-brand strong { font-size:17px; }
  .holiday-calendar,.public-media-section { padding:20px 14px; }.holiday-weekdays,.holiday-days { gap:1px; }
}
@media(prefers-reduced-motion:reduce) {
  .action-card:hover,.media-card:hover,.lesson-card:hover,.welcome-enter:hover { transform:none; }
}
