/* TOC Biblical Calendar Layer 1 — isolated .bc-* namespace */
body.calendar-page main{background:#020a13}
.bc-calendar{--bc-cyan:#1edcff;--bc-blue:#087dff;--bc-line:rgba(31,174,235,.28);--bc-panel:#061522;--bc-panel-2:#03101a;--bc-muted:#9fb4c9;--bc-text:#f4fbff;max-width:1800px;margin:0 auto;background:#020a13;color:var(--bc-text)}
.bc-calendar *{box-sizing:border-box}
.bc-calendar a{color:inherit}
.bc-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 340px;min-height:900px}
.bc-sidebar{padding:22px 16px 28px;border-right:1px solid var(--bc-line);background:#03101a}
.bc-sidebar-label{margin:0 0 10px;padding:0 8px;color:var(--bc-cyan);font:800 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.19em;text-transform:uppercase}
.bc-sidebar-nav{display:grid;gap:3px}
.bc-sidebar-nav a,.bc-sidebar-nav button{width:100%;min-height:42px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid transparent;border-radius:4px;background:transparent;color:#dce8f4;text-align:left;text-decoration:none;font:600 13px/1.25 Inter,system-ui,sans-serif}
.bc-sidebar-nav a span,.bc-sidebar-nav button span{display:grid;place-items:center;width:22px;color:#c8eaff;font-size:16px}
.bc-sidebar-nav a:hover,.bc-sidebar-nav a:focus-visible,.bc-sidebar-nav button:not(:disabled):hover,.bc-sidebar-nav button:not(:disabled):focus-visible{border-color:rgba(37,192,255,.45);background:#06243b;outline:none}
.bc-sidebar-nav .is-active{border-color:#0b6ec6;background:#09518e;color:#fff}
.bc-sidebar-nav button:disabled{opacity:.48;cursor:not-allowed}
.bc-sidebar-related{margin-top:20px;padding-top:18px;border-top:1px solid var(--bc-line);display:grid;gap:6px}
.bc-sidebar-related a{padding:8px 10px;color:#dbe9f6;text-decoration:none;font-size:12px}
.bc-sidebar-related a:hover,.bc-sidebar-related a:focus-visible{color:var(--bc-cyan)}
.bc-sidebar blockquote{margin:26px 6px 0;padding-top:24px;border-top:1px solid var(--bc-line);color:#afc3d5;font:italic 12px/1.7 Georgia,serif}
.bc-sidebar blockquote p{margin:0 0 7px}
.bc-sidebar blockquote cite{font:600 11px/1.4 Inter,system-ui,sans-serif;color:#7fa2bd}
.bc-main-column{min-width:0;padding:14px 16px 28px}
.bc-context-column{min-width:0;padding:14px 16px 28px 0;display:flex;flex-direction:column;gap:14px}
.bc-month-hero{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(420px,1.35fr);min-height:280px;border:1px solid var(--bc-line);background:linear-gradient(180deg,#041522,#020b13);overflow:hidden}
.bc-hero-copy{padding:16px 18px 22px 20px;display:flex;flex-direction:column;justify-content:center}
.bc-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:18px;font-size:11px;color:#80dfff}
.bc-breadcrumb a{text-decoration:none}
.bc-eyebrow{margin:0;color:#fff;font:800 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.bc-month-hero h1{margin:4px 0 2px;font:900 clamp(48px,5vw,72px)/.9 "Barlow Condensed","Arial Narrow",sans-serif;letter-spacing:.01em;text-transform:uppercase;color:var(--bc-cyan)}
.bc-hebrew-line{display:flex;align-items:center;gap:12px;margin:6px 0 10px;color:#a9bfd2}
.bc-hebrew-line span:first-child{font:700 28px/1.1 Arial,sans-serif;color:#c4f5ff}
.bc-hebrew-line b{width:1px;height:26px;background:rgba(255,255,255,.28)}
.bc-hebrew-line span:last-child{font-size:21px}
.bc-hero-overview{max-width:570px;margin:8px 0 0;color:#b8c8d7;font-size:13px;line-height:1.65}
.bc-hero-visual{position:relative;min-height:280px;background:radial-gradient(circle at 55% 52%,rgba(255,174,80,.34),transparent 17%),linear-gradient(155deg,#041522 0%,#0b2941 44%,#0c1b27 63%,#061019 100%)}
.bc-hero-placeholder{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:24px;background:
radial-gradient(circle at 52% 58%,rgba(255,186,77,.52) 0 3%,transparent 4% 22%,rgba(255,147,61,.12) 23%,transparent 43%),
linear-gradient(180deg,rgba(0,0,0,0),rgba(1,7,12,.84)),
linear-gradient(135deg,#072032 0%,#17394d 47%,#271d19 72%,#06111a 100%);color:#91aec2;font:600 11px/1.4 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.bc-hero-placeholder:before{content:"";position:absolute;left:6%;right:6%;bottom:31%;height:19%;opacity:.65;background:linear-gradient(90deg,transparent 0 3%,#07121a 3% 9%,transparent 9% 12%,#07121a 12% 19%,transparent 19% 23%,#07121a 23% 31%,transparent 31% 36%,#07121a 36% 43%,transparent 43% 49%,#07121a 49% 57%,transparent 57% 61%,#07121a 61% 70%,transparent 70% 76%,#07121a 76% 83%,transparent 83% 89%,#07121a 89% 96%,transparent 96%)}
.bc-hero-placeholder span{position:relative;z-index:1}
.bc-tab-strip{display:flex;gap:2px;margin-top:0;border:1px solid var(--bc-line);border-top:0;background:#04111d;overflow:auto}
.bc-tab-strip button{flex:0 0 auto;min-height:45px;padding:10px 18px;border:0;border-right:1px solid var(--bc-line);background:#061522;color:#e9f5ff;font:700 12px/1.2 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.bc-tab-strip button.is-active{background:linear-gradient(180deg,#0d8dff,#0875e9);color:#fff}
.bc-tab-strip button:focus-visible{outline:2px solid var(--bc-cyan);outline-offset:-2px}
.bc-tab-panels{padding-top:14px}
.bc-tab-panel[hidden]{display:none}
.bc-panel,.bc-side-card{border:1px solid var(--bc-line);background:linear-gradient(180deg,#061522,#04101a);box-shadow:0 14px 34px rgba(0,0,0,.16)}
.bc-panel{margin-bottom:14px}
.bc-panel>header,.bc-side-card>header{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-bottom:1px solid var(--bc-line);background:#072036}
.bc-panel>header h2,.bc-side-card>header h2{margin:0;color:#aeeeff;font:800 12px/1.2 Inter,system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase}
.bc-side-card>header a{color:var(--bc-cyan);font:700 10px/1.2 Inter,system-ui,sans-serif;text-decoration:none}
.bc-info-body{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,.8fr)}
.bc-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:12px;border-right:1px solid var(--bc-line)}
.bc-info-card{min-height:82px;padding:11px 12px;border:1px solid rgba(36,164,222,.26);border-radius:4px;background:#071a29}
.bc-info-card span{display:block;color:#71dfff;font-size:10px}
.bc-info-card strong{display:block;margin-top:8px;color:#fff;font-size:16px}
.bc-info-card small{display:block;margin-top:3px;color:#c9f7ff;font-size:19px}
.bc-year-authority{padding:15px 18px}
.bc-year-authority>span{display:block;color:#9ddff2;font-size:11px}
.bc-year-authority strong{display:block;margin:6px 0;color:#fff;font-size:17px}
.bc-year-authority p{margin:0;color:var(--bc-muted);font-size:11px;line-height:1.55}
.bc-feast-list{display:grid}
.bc-feast-row{display:grid;grid-template-columns:105px 126px minmax(200px,1fr) minmax(180px,.92fr);align-items:stretch;min-height:78px;border-bottom:1px solid var(--bc-line)}
.bc-feast-row:last-child{border-bottom:0}
.bc-feast-date{padding:14px 12px;display:flex;align-items:flex-start}
.bc-feast-date strong{font-size:13px;color:#fff}
.bc-feast-media{margin:6px 0;display:grid;place-items:center;border-radius:4px;background:radial-gradient(circle at 55% 45%,rgba(255,195,103,.38),transparent 32%),linear-gradient(145deg,#122f42,#06121d);overflow:hidden}
.bc-feast-media span{font-size:38px;color:#d7eefb}
.bc-feast-copy{padding:11px 13px}
.bc-feast-copy h3{margin:0 0 2px;font-size:14px}
.bc-feast-subtitle{margin:0 0 7px;color:#dbe9f2;font-size:12px}
.bc-feast-scriptures{display:flex;gap:7px;flex-wrap:wrap}
.bc-feast-scriptures a{color:var(--bc-cyan);font-size:11px;text-decoration:none}
.bc-feast-scriptures span{color:#5d7c91}
.bc-feast-summary{margin:0;padding:12px 14px;border-left:1px solid rgba(31,174,235,.14);color:#c8d5df;font-size:11px;line-height:1.5}
.bc-scripture-quote{margin:0;padding:17px 22px;border:1px solid var(--bc-line);background:radial-gradient(circle at 50% 0,rgba(22,181,244,.08),transparent 55%),#04111b;text-align:center}
.bc-scripture-quote p{margin:0;color:#d8e5ef;font:italic 13px/1.55 Georgia,serif}
.bc-scripture-quote cite{display:block;margin-top:9px;color:var(--bc-cyan);font:800 10px/1.2 Inter,system-ui,sans-serif;letter-spacing:.22em;text-transform:uppercase}
.bc-prepared-copy{padding:24px;color:var(--bc-muted);line-height:1.6}
.bc-prepared-copy p{margin:0 0 12px}
.bc-prepared-copy a{color:var(--bc-cyan);text-decoration:none;font-weight:700}
.bc-scripture-list,.bc-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px}
.bc-scripture-list a,.bc-resource-grid a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:11px 13px;border:1px solid rgba(40,166,226,.28);background:#071725;color:#edf8ff;text-decoration:none;font-size:12px}
.bc-scripture-list a:hover,.bc-resource-grid a:hover{border-color:var(--bc-cyan)}
.bc-year-row{display:grid;grid-template-columns:38px 1fr 38px;gap:8px;align-items:center;padding:10px}
.bc-year-row button{height:36px;border:1px solid rgba(52,162,220,.35);border-radius:4px;background:#082039;color:#dff6ff;font-size:22px}
.bc-year-row button:disabled{opacity:.45}
.bc-year-row div{text-align:center}
.bc-year-row span{display:block;color:#8fb1c6;font-size:9px;text-transform:uppercase;letter-spacing:.12em}
.bc-year-row strong{display:block;margin-top:3px;font-size:13px}
.bc-month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 10px 10px}
.bc-month-button{min-height:40px;padding:8px;border:1px solid rgba(52,162,220,.35);border-radius:4px;background:#082039;color:#e9f7ff;font:600 11px/1.15 Inter,system-ui,sans-serif;cursor:pointer}
.bc-month-button span{margin-right:5px;color:#b9e8fa}
.bc-month-button.is-active{border-color:#14a8ff;background:#087dff;color:#fff;box-shadow:0 0 0 1px rgba(30,220,255,.12)}
.bc-month-button:disabled:not(.is-active){opacity:.78;cursor:not-allowed}
.bc-side-note{margin:0;padding:3px 12px 12px;color:#839db0;font-size:10px;line-height:1.5}
.bc-quick-list{display:grid}
.bc-quick-list a,.bc-quick-list button{width:100%;display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center;padding:11px 12px;border:0;border-bottom:1px solid rgba(34,145,199,.18);background:transparent;color:#e5f0fa;text-align:left;text-decoration:none}
.bc-quick-list a:last-child,.bc-quick-list button:last-child{border-bottom:0}
.bc-quick-list>a:hover,.bc-quick-list>button:not(:disabled):hover{background:#08233a}
.bc-quick-list>button:disabled{opacity:.5;cursor:not-allowed}
.bc-quick-list>*>span:first-child{color:var(--bc-cyan);font-size:19px}
.bc-quick-list>*>span:last-child{font-size:11px}
.bc-quick-list small{display:block;margin-top:2px;color:#819cad;font-size:9px}
.bc-related-list,.bc-related-tab{display:grid}
.bc-teaching-card{display:grid;grid-template-columns:103px minmax(0,1fr);gap:10px;padding:10px 11px;border-bottom:1px solid rgba(34,145,199,.2)}
.bc-teaching-card:last-child{border-bottom:0}
.bc-teaching-media{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:4px;background:#0a1d2b}
.bc-teaching-media img{width:100%;height:100%;object-fit:cover;display:block}
.bc-teaching-card h3{margin:0 0 4px;font-size:11px;line-height:1.28}
.bc-teaching-card h3 a{text-decoration:none;color:#fff}
.bc-teaching-card p{margin:0;color:#9db4c6;font-size:10px}
.bc-teaching-card small{display:block;margin-top:3px;color:#6f91a7;font-size:9px}
.bc-related-tab{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
.bc-related-tab .bc-teaching-card{border:1px solid rgba(34,145,199,.2);grid-template-columns:130px 1fr;padding:10px}
@media(max-width:1280px){
  .bc-layout{grid-template-columns:205px minmax(0,1fr)}
  .bc-context-column{grid-column:2;padding:0 16px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .bc-related{grid-column:1/-1}
  .bc-month-hero{grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr)}
  .bc-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .bc-layout{display:block}
  .bc-sidebar{border-right:0;border-bottom:1px solid var(--bc-line);padding:12px}
  .bc-sidebar-label{display:none}
  .bc-sidebar-nav{display:flex;overflow-x:auto;gap:6px}
  .bc-sidebar-nav a,.bc-sidebar-nav button{flex:0 0 auto;width:auto;white-space:nowrap;border-color:rgba(34,145,199,.22)}
  .bc-sidebar-related,.bc-sidebar blockquote{display:none}
  .bc-main-column{padding:12px}
  .bc-context-column{display:grid;grid-template-columns:1fr 1fr;padding:0 12px 18px}
  .bc-month-hero{grid-template-columns:1fr}
  .bc-hero-copy{padding:22px}
  .bc-hero-visual{min-height:230px}
  .bc-info-body{grid-template-columns:1fr}
  .bc-info-grid{border-right:0;border-bottom:1px solid var(--bc-line)}
  .bc-feast-row{grid-template-columns:95px 100px minmax(0,1fr)}
  .bc-feast-summary{grid-column:3;border-left:0;border-top:1px solid rgba(31,174,235,.12);padding-top:8px}
}
@media(max-width:640px){
  .bc-main-column{padding:8px}
  .bc-context-column{display:block;padding:0 8px 14px}
  .bc-side-card{margin-bottom:10px}
  .bc-month-hero{min-height:0}
  .bc-hero-copy{padding:18px 16px}
  .bc-breadcrumb{margin-bottom:12px}
  .bc-month-hero h1{font-size:48px}
  .bc-hebrew-line span:first-child{font-size:24px}
  .bc-hebrew-line span:last-child{font-size:18px}
  .bc-hero-overview{font-size:12px}
  .bc-hero-visual{min-height:205px}
  .bc-tab-strip{margin:0}
  .bc-tab-strip button{padding:10px 13px;font-size:11px}
  .bc-info-grid{grid-template-columns:1fr 1fr;padding:8px}
  .bc-info-card{min-height:76px}
  .bc-feast-row{display:grid;grid-template-columns:82px 88px 1fr;padding:0}
  .bc-feast-summary{grid-column:1/-1;border-left:0;padding:10px 12px}
  .bc-feast-date{padding:12px 10px}
  .bc-feast-media{margin:6px 0}
  .bc-feast-copy{padding:10px}
  .bc-feast-scriptures{gap:5px}
  .bc-scripture-list,.bc-resource-grid,.bc-related-tab{grid-template-columns:1fr}
  .bc-related-tab .bc-teaching-card{grid-template-columns:110px 1fr}
  .bc-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
  .bc-info-grid{grid-template-columns:1fr}
  .bc-feast-row{grid-template-columns:1fr}
  .bc-feast-date{padding-bottom:3px}
  .bc-feast-media{height:120px;margin:4px 10px}
  .bc-feast-copy{padding:9px 12px}
  .bc-feast-summary{grid-column:auto}
  .bc-teaching-card{grid-template-columns:95px 1fr}
}
@media print{
  body.calendar-page header,body.calendar-page .study-nav,body.calendar-page footer,.bc-sidebar,.bc-context-column,.bc-tab-strip{display:none!important}
  .bc-layout{display:block}
  .bc-main-column{padding:0}
  .bc-calendar{background:#fff;color:#111}
  .bc-panel,.bc-month-hero,.bc-scripture-quote{box-shadow:none;border-color:#bbb;background:#fff;color:#111}
}


/* ===== TOC BIBLICAL CALENDAR PHASE 1B REFINEMENT 2026-09-22 ===== */
@media (min-width:1281px){
  .bc-layout{grid-template-columns:244px minmax(0,1fr) 350px}
}
.bc-main-column{padding:12px 16px 24px 18px}
.bc-context-column{padding:12px 16px 24px 0;gap:12px}
.bc-month-hero{
  min-height:214px;
  grid-template-columns:minmax(270px,.72fr) minmax(0,1.55fr);
}
.bc-hero-copy{
  padding:14px 18px 16px;
  justify-content:center;
}
.bc-breadcrumb{margin-bottom:10px;font-size:10px}
.bc-eyebrow{font-size:11px}
.bc-month-hero h1{margin:3px 0 1px;font-size:clamp(50px,4.3vw,66px)}
.bc-hebrew-line{margin:6px 0 0}
.bc-hebrew-line span:first-child{font-size:25px}
.bc-hebrew-line span:last-child{font-size:19px}
.bc-hero-overview{display:none}
.bc-hero-visual{min-height:214px;overflow:hidden}
.bc-hero-visual>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  filter:saturate(.95) brightness(.82) contrast(1.06);
}
.bc-tab-strip button{min-height:42px;padding:9px 16px;font-size:11px}
.bc-tab-panels{padding-top:12px}
.bc-panel{margin-bottom:12px}
.bc-panel>header,.bc-side-card>header{min-height:36px;padding:8px 13px}
.bc-panel>header h2,.bc-side-card>header h2{font-size:11px}
.bc-month-summary{
  margin:0;
  padding:9px 13px 10px;
  border-bottom:1px solid rgba(31,174,235,.16);
  color:#9fb4c9;
  font-size:10.5px;
  line-height:1.5;
}
.bc-info-body{grid-template-columns:minmax(0,1fr) 245px}
.bc-info-grid{gap:5px;padding:9px}
.bc-info-card{
  min-height:68px;
  padding:8px 10px;
}
.bc-info-card span{font-size:9px}
.bc-info-card strong{margin-top:5px;font-size:14px;line-height:1.25}
.bc-info-card small{margin-top:1px;font-size:17px}
.bc-info-card .bc-info-note{font-size:10px;color:#b9c9d6}
.bc-info-card[data-bc-info-key="head-of-year"] small{
  margin-top:4px;
  color:#c9f7ff;
  font-size:14px;
  line-height:1.25;
}
.bc-year-authority{padding:11px 14px}
.bc-year-authority>span{font-size:10px}
.bc-year-authority strong{margin:4px 0;font-size:13px;line-height:1.25}
.bc-year-authority p{font-size:9.5px;line-height:1.45}
.bc-feast-row{
  grid-template-columns:118px 128px minmax(210px,1fr) minmax(180px,.82fr);
  min-height:76px;
}
.bc-feast-date{
  padding:12px 12px;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.bc-feast-date strong{font-size:12px}
.bc-feast-date small{color:#a7bdd0;font-size:9px;line-height:1.25}
.bc-feast-media{
  height:66px;
  margin:5px 0;
  border-radius:4px;
  background:#071725;
}
.bc-feast-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.bc-feast-media span{font-size:30px}
.bc-feast-copy{padding:9px 12px}
.bc-feast-copy h3{margin:0;font-size:12px;line-height:1.22}
.bc-feast-subtitle{margin:2px 0 5px;font-size:10.5px}
.bc-feast-scriptures{gap:5px}
.bc-feast-scriptures a{font-size:9.5px}
.bc-feast-summary{
  padding:10px 12px;
  font-size:10px;
  line-height:1.43;
}
.bc-scripture-quote{padding:13px 18px}
.bc-scripture-quote p{font-size:12px}
.bc-scripture-quote cite{margin-top:7px;font-size:9px}
.bc-year-row{padding:8px}
.bc-month-grid{gap:5px;padding:0 8px 8px}
.bc-month-button{min-height:36px;padding:7px;font-size:10px}
.bc-side-note{padding:2px 10px 9px;font-size:9px}
.bc-quick-list a,.bc-quick-list button{
  grid-template-columns:26px 1fr;
  gap:7px;
  padding:8px 10px;
  min-height:48px;
}
.bc-quick-list>*>span:first-child{font-size:17px}
.bc-quick-list>*>span:last-child{font-size:10.5px}
.bc-quick-list small{margin-top:1px;font-size:8.5px}
.bc-teaching-card{grid-template-columns:96px minmax(0,1fr);gap:8px;padding:8px 9px}
.bc-teaching-card h3{font-size:10px}
.bc-related-tab .bc-teaching-card{grid-template-columns:118px 1fr;padding:8px}

@media(max-width:1280px){
  .bc-month-hero{min-height:220px;grid-template-columns:minmax(245px,.72fr) minmax(330px,1.25fr)}
  .bc-hero-visual{min-height:220px}
  .bc-info-body{grid-template-columns:1fr}
  .bc-info-grid{border-right:0;border-bottom:1px solid var(--bc-line)}
  .bc-year-authority{display:grid;grid-template-columns:auto auto 1fr;gap:10px;align-items:center}
  .bc-year-authority strong,.bc-year-authority p{margin:0}
}
@media(max-width:900px){
  .bc-main-column{padding:10px 12px}
  .bc-month-hero{grid-template-columns:1fr;min-height:0}
  .bc-hero-copy{padding:18px 20px 15px}
  .bc-hero-visual{min-height:230px}
  .bc-feast-row{grid-template-columns:105px 112px minmax(0,1fr)}
  .bc-feast-summary{grid-column:3;padding:5px 11px 10px;border-left:0;border-top:0}
}
@media(max-width:640px){
  .bc-main-column{padding:8px}
  .bc-hero-copy{padding:16px}
  .bc-month-hero h1{font-size:48px}
  .bc-hero-visual{min-height:205px}
  .bc-info-grid{grid-template-columns:1fr 1fr}
  .bc-year-authority{display:block}
  .bc-year-authority strong{margin:4px 0}
  .bc-feast-row{grid-template-columns:88px 92px 1fr}
  .bc-feast-date{padding:10px 8px}
  .bc-feast-media{height:58px;margin:5px 0}
  .bc-feast-copy{padding:8px}
  .bc-feast-summary{grid-column:1/-1;padding:8px 10px;border-top:1px solid rgba(31,174,235,.12)}
}
@media(max-width:420px){
  .bc-info-grid{grid-template-columns:1fr}
  .bc-feast-row{grid-template-columns:78px 86px 1fr}
  .bc-feast-media{height:56px;margin:5px 0}
  .bc-feast-copy h3{font-size:11px}
  .bc-feast-subtitle{font-size:9.5px}
  .bc-feast-scriptures a{font-size:9px}
  .bc-feast-summary{grid-column:1/-1}
}
/* ===== TOC BIBLICAL CALENDAR PHASE 1B REFINEMENT END ===== */


/* Phase 1B nested-header correction: global site header is 100px, calendar card headers are compact. */
.bc-panel>header,
.bc-side-card>header{
  height:36px;
  min-height:36px;
}
/* ===== TOC BIBLICAL CALENDAR PHASE 1B NESTED HEADER FIX END ===== */

/* ===== TOC BIBLICAL CALENDAR PHASE 1C FINAL POLISH 2026-09-22 ===== */
/*
 Root cause: between 1281px and 1359px the locked 244px left rail + 350px
 context column leaves 651px–729px inside the main tab strip, while the
 six no-wrap tabs require about 726px at the normal desktop padding.
 Tighten only that transition band; preserve the approved labels and
 three-column architecture.
*/
@media (min-width:1281px) and (max-width:1359px){
  .bc-tab-strip button{
    padding-left:11px;
    padding-right:11px;
    font-size:10.5px;
  }
}

/* Horizontal scrolling is intentional only once the full tab set can no
   longer fit cleanly. Keep every control accessible rather than hiding it. */
@media (max-width:640px){
  .bc-tab-strip{
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
  }
  .bc-tab-strip button{scroll-snap-align:start}
}
/* ===== TOC BIBLICAL CALENDAR PHASE 1C FINAL POLISH END ===== */

/* ===== TOC BIBLICAL CALENDAR PHASE 1D TEMPLATE AMENDMENT 2026-09-22 ===== */
/*
  When all six tabs fit, distribute remaining inline space across the real
  controls so the row terminates at the container edge rather than leaving
  a tab-like blank tail after Resources. At narrower widths every tab remains
  intrinsic-width and the established horizontal scroll behavior is retained.
*/
@media (min-width:768px){
  .bc-tab-strip{overflow-x:hidden}
  .bc-tab-strip button{flex:1 1 auto}
}
@media (max-width:767px){
  .bc-tab-strip{
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
  }
  .bc-tab-strip button{flex:0 0 auto;scroll-snap-align:start}
}

.bc-feast-empty{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  color:#a9bfd0;
  background:#04111b;
  font:600 12px/1.5 Inter,system-ui,sans-serif;
  text-align:center;
}
/* ===== TOC BIBLICAL CALENDAR PHASE 1D TEMPLATE AMENDMENT END ===== */

/* ===== TOC BIBLICAL CALENDAR PHASE 1E FEAST PRESENTATION SPLIT 2026-09-22 ===== */
.bc-month-feast-summary{
  margin-bottom:12px;
}
.bc-month-feast-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
  padding:8px;
  background:#04111b;
}
.bc-month-feast-item{
  min-width:0;
  min-height:72px;
  display:grid;
  grid-template-columns:minmax(76px,.72fr) minmax(0,1.28fr);
  gap:8px;
  align-items:start;
  padding:9px 10px;
  border:1px solid rgba(36,164,222,.24);
  border-radius:4px;
  background:#071725;
}
.bc-month-feast-date strong{
  display:block;
  color:#fff;
  font-size:11px;
  line-height:1.25;
}
.bc-month-feast-date small{
  display:block;
  margin-top:4px;
  color:#9bb4c7;
  font-size:8.5px;
  line-height:1.3;
}
.bc-month-feast-name h3{
  margin:0;
  color:#fff;
  font-size:11px;
  line-height:1.25;
}
.bc-month-feast-name p{
  margin:3px 0 0;
  color:#aac0d0;
  font-size:9px;
  line-height:1.3;
}
.bc-all-feasts{
  margin-bottom:12px;
}
.bc-all-feasts .bc-feast-list{
  background:#03101a;
}
.bc-feast-media-pending{
  width:100%;
  height:100%;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px;
  border:1px dashed rgba(82,191,236,.3);
  background:
    radial-gradient(circle at 50% 40%,rgba(38,154,204,.12),transparent 48%),
    linear-gradient(145deg,#0a1d2a,#06121d);
  color:#7896aa;
  font:700 8px/1.2 Inter,system-ui,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
}
.bc-feast-media .bc-feast-media-pending span{
  font-size:8px;
  line-height:1.2;
}

@media(max-width:900px){
  .bc-month-feast-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
  .bc-month-feast-grid{grid-template-columns:1fr}
  .bc-month-feast-item{
    min-height:62px;
    grid-template-columns:104px minmax(0,1fr);
    padding:8px 9px;
  }
}
/* ===== TOC BIBLICAL CALENDAR PHASE 1E FEAST PRESENTATION SPLIT END ===== */

/* ===== TOC BIBLICAL CALENDAR PHASE 1F FULL FEAST VISUAL REFINEMENT 2026-09-22 ===== */
.bc-all-feasts{
  border-top:2px solid rgba(30,220,255,.72);
  box-shadow:0 18px 40px rgba(0,0,0,.24);
}
.bc-all-feasts>header{
  min-height:48px;
  padding:10px 14px;
  background:linear-gradient(90deg,#083252 0%,#07243b 55%,#061a2b 100%);
}
.bc-all-feasts>header h2{
  font-size:12.5px;
  letter-spacing:.14em;
  color:#c7f5ff;
}
.bc-all-feasts .bc-feast-row{
  min-height:104px;
  grid-template-columns:128px 160px minmax(220px,1.05fr) minmax(205px,.95fr);
  background:#03101a;
}
.bc-all-feasts .bc-feast-row:nth-child(even){
  background:#041522;
}
.bc-all-feasts .bc-feast-date{
  padding:16px 14px;
}
.bc-all-feasts .bc-feast-date strong{
  font-size:13.5px;
  line-height:1.25;
}
.bc-all-feasts .bc-feast-date small{
  margin-top:5px;
  color:#9db7ca;
  font-size:9.5px;
}
.bc-all-feasts .bc-feast-media{
  height:82px;
  margin:10px 0;
  border:1px solid rgba(45,164,220,.22);
  border-radius:6px;
  background:#081a28;
}
.bc-all-feasts .bc-feast-media img{
  object-position:center;
}
.bc-all-feasts .bc-feast-copy{
  padding:15px 14px;
}
.bc-all-feasts .bc-feast-copy h3{
  font-size:14px;
  line-height:1.25;
}
.bc-all-feasts .bc-feast-subtitle{
  margin:3px 0 8px;
  font-size:11px;
}
.bc-all-feasts .bc-feast-scriptures{
  gap:7px;
}
.bc-all-feasts .bc-feast-scriptures a{
  font-size:10.5px;
}
.bc-all-feasts .bc-feast-summary{
  padding:15px 16px;
  font-size:10.8px;
  line-height:1.5;
}
.bc-all-feasts .bc-feast-media-pending{
  min-height:100%;
  border-color:rgba(66,181,230,.34);
  background:
    radial-gradient(circle at 50% 38%,rgba(44,171,224,.16),transparent 48%),
    linear-gradient(145deg,#0c2232,#06131f);
}
.bc-all-feasts .bc-feast-media-pending span{
  color:#8eacbe;
  font-size:8px;
  letter-spacing:.1em;
}

@media(min-width:1360px){
  .bc-all-feasts .bc-feast-row{
    grid-template-columns:132px 168px minmax(230px,1.05fr) minmax(220px,.95fr);
    min-height:108px;
  }
  .bc-all-feasts .bc-feast-media{height:88px}
}
@media(min-width:1281px) and (max-width:1359px){
  .bc-all-feasts .bc-feast-row{
    grid-template-columns:110px 130px minmax(190px,1fr) minmax(160px,.78fr);
    min-height:92px;
  }
  .bc-all-feasts .bc-feast-date{padding:13px 10px}
  .bc-all-feasts .bc-feast-media{height:70px;margin:10px 0}
  .bc-all-feasts .bc-feast-copy{padding:12px 10px}
  .bc-all-feasts .bc-feast-summary{padding:12px 10px;font-size:9.8px}
}
@media(max-width:900px){
  .bc-all-feasts .bc-feast-row{
    grid-template-columns:105px 132px minmax(0,1fr);
    min-height:122px;
  }
  .bc-all-feasts .bc-feast-media{height:76px;margin:9px 0}
  .bc-all-feasts .bc-feast-summary{
    grid-column:3;
    padding:4px 12px 11px;
    border-left:0;
    border-top:0;
  }
}
@media(max-width:640px){
  .bc-all-feasts .bc-feast-row{
    grid-template-columns:90px 120px minmax(0,1fr);
    min-height:138px;
  }
  .bc-all-feasts .bc-feast-media{height:72px;margin:9px 0}
  .bc-all-feasts .bc-feast-copy{padding:10px}
  .bc-all-feasts .bc-feast-summary{
    grid-column:1/-1;
    padding:9px 11px 11px;
    border-top:1px solid rgba(31,174,235,.12);
  }
}
@media(max-width:420px){
  .bc-all-feasts>header h2{font-size:11px;letter-spacing:.1em}
  .bc-all-feasts .bc-feast-row{
    grid-template-columns:82px 118px minmax(0,1fr);
    min-height:142px;
  }
  .bc-all-feasts .bc-feast-date{padding:11px 8px}
  .bc-all-feasts .bc-feast-media{height:72px;margin:9px 0}
  .bc-all-feasts .bc-feast-copy{padding:10px 8px}
  .bc-all-feasts .bc-feast-copy h3{font-size:11.5px}
  .bc-all-feasts .bc-feast-subtitle{font-size:9.5px}
  .bc-all-feasts .bc-feast-scriptures a{font-size:9px}
}
/* ===== TOC BIBLICAL CALENDAR PHASE 1F FULL FEAST VISUAL REFINEMENT END ===== */

/* ===== TOC BIBLICAL CALENDAR FINAL LAYER 1 CONTENT/PRESENTATION CORRECTION 2026-09-22 ===== */
.bc-info-card[data-bc-info-key="month-number"] strong{
  margin-top:4px;
  font-size:30px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.02em;
}
.bc-info-card[data-bc-info-key="hebrew-month"] strong,
.bc-info-card[data-bc-info-key="head-of-year"] strong{
  width:100%;
  text-align:center;
}
.bc-info-card[data-bc-info-key="hebrew-month"] small,
.bc-info-card[data-bc-info-key="head-of-year"] small{
  width:100%;
  margin-top:5px;
  text-align:center;
}
.bc-info-card[data-bc-info-key="hebrew-month"] small{
  font-size:18px;
  line-height:1.2;
}
.bc-info-card[data-bc-info-key="head-of-year"] small{
  font-size:14px;
  line-height:1.25;
}
@media(max-width:640px){
  .bc-info-card[data-bc-info-key="month-number"] strong{
    font-size:28px;
  }
}
/* ===== TOC BIBLICAL CALENDAR FINAL LAYER 1 CONTENT/PRESENTATION CORRECTION END ===== */
/* Phase 3J: scoped study/calculation connection. Existing heroes and four-card structure retained. */
.bc-study-context{padding:16px;margin:12px 0;background:#081725;border:1px solid #244151;color:#bed0df;font-size:12px}
.bc-study-context form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.bc-study-context label{display:flex;flex-direction:column;gap:5px;min-width:0}
.bc-study-context input,.bc-study-context select,.bc-study-context button{min-height:44px;max-width:100%;padding:8px;background:#07111d;color:#eef7fc;border:1px solid #3c5c70;border-radius:3px;font:inherit}
.bc-study-context input{width:145px}.bc-study-context p{margin:10px 0}
.bc-calculated-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;margin:8px;background:#2868d8;border:1px solid #69adff;border-radius:3px;color:white!important;font-weight:700}
.bc-calculated-action[hidden]{display:none!important}
.bc-info-card[data-bc-info-key="month-number"] strong{text-align:center;width:100%}
.bc-info-card[data-bc-info-key="days"] strong{text-align:center;font-size:28px}
.bc-info-card details{font-size:11px;line-height:1.5;margin-top:8px;overflow-wrap:anywhere}
.bc-info-card summary,.bc-year-authority summary{cursor:pointer;color:#79dcf5;padding:8px 0}
.bc-info-card details p{margin:8px 0}.bc-info-card details a{color:#79dcf5}
.bc-year-authority{display:block!important;min-width:0;overflow-wrap:anywhere}
.bc-year-authority p{margin:8px 0!important;font-size:11px}
.bc-detail-status{font-size:11px!important;line-height:1.5!important;color:#afc2d2!important;margin:8px 0!important}
.bc-feast-copy>a{font-size:11px;color:#79dcf5}
.bc-sidebar-nav button:disabled{cursor:not-allowed}
@media(max-width:640px){.bc-study-context form{display:grid;grid-template-columns:minmax(0,1fr) auto}.bc-study-context label:last-child{grid-column:1/-1}.bc-study-context input{width:100%}.bc-study-context select{width:100%}.bc-calculated-action{margin:8px 0;width:100%;box-sizing:border-box}.bc-info-card{min-width:0}.bc-info-card strong{overflow-wrap:normal;word-break:normal}.bc-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bc-year-authority{padding:12px}}
/* Keep this calendar's shared header within small viewports, including search/live controls. */
@media(max-width:640px){
 body.calendar-page>header{gap:8px;padding:12px;flex-wrap:wrap}
 body.calendar-page>header .brand{width:min(42vw,180px);min-width:0;flex:1 1 128px;max-width:180px}
 body.calendar-page>header .brand-original{width:100%;max-width:100%}
 body.calendar-page>header .site-search-trigger,body.calendar-page>header #menu-button{margin:0;min-width:44px;min-height:44px;flex:0 0 44px}
 body.calendar-page>header .header-live-status{margin:0}
}
@media(max-width:640px){
 body.calendar-page>header{display:grid;grid-template-columns:minmax(0,1fr) 44px 42px 44px;height:auto;min-height:80px;gap:6px}
 body.calendar-page>header .brand{width:100%;max-width:180px;min-width:0}
 body.calendar-page>header .header-live-status{width:auto;min-width:0;padding:0;font-size:11px}
}

/* Phase 3J layout correction: isolate controls from global form margins. */
.bc-study-context{padding:12px 14px;margin:12px 0;font-size:12px}
.bc-study-context form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.bc-study-context label{margin:0;gap:6px;font-size:12px;line-height:1.4;min-width:0}
.bc-study-context input,.bc-study-context select,.bc-study-context button{box-sizing:border-box;height:44px;min-height:44px;margin:0;line-height:1.4;font-size:13px;padding:9px 12px}
.bc-study-context input{width:140px}.bc-study-context select{width:210px;max-width:100%}
.bc-study-context p{margin:8px 0;line-height:1.5}
.bc-study-action-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.bc-study-action-row .bc-calculated-action{margin:0;box-sizing:border-box}
.bc-study-action-row p{margin:0;color:#afc2d2}
.bc-info-body{display:block}
.bc-info-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:10px;padding:14px;border-right:0;border-bottom:1px solid var(--bc-line)}
.bc-info-card{min-height:0;height:auto;padding:14px;min-width:0}
.bc-info-card span{font-size:11px;line-height:1.5}
.bc-info-card strong{font-size:17px;line-height:1.35;overflow-wrap:normal;word-break:normal}
.bc-info-card details{font-size:12px;line-height:1.5}
.bc-info-card summary{padding:6px 0}
.bc-year-authority{padding:14px;overflow-wrap:break-word}
.bc-year-authority>span{font-size:11px}.bc-year-authority strong{font-size:18px}
.bc-year-authority p{font-size:12px;line-height:1.55;max-width:90ch}
.bc-year-authority summary{font-size:12px;padding:8px 0}
.bc-tab-strip{display:flex;flex-wrap:wrap;gap:1px;overflow:visible;min-width:0}
.bc-tab-strip button{flex:1 1 auto;min-width:0;white-space:normal;word-break:normal;min-height:44px;border:0;padding:10px 12px;line-height:1.4}
@media(max-width:1100px){.bc-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .bc-study-context form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
 .bc-study-context label:last-child{grid-column:1/-1}
 .bc-study-context input,.bc-study-context select{width:100%;min-width:0}
 .bc-study-action-row{gap:8px}.bc-study-action-row .bc-calculated-action{width:100%}
 .bc-info-grid{padding:10px;gap:8px}.bc-info-card{padding:12px}
 .bc-tab-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .bc-tab-strip button{width:100%;font-size:12px}
}
@media(max-width:360px){.bc-info-grid{grid-template-columns:1fr}.bc-study-context form{grid-template-columns:1fr}.bc-study-context label:last-child{grid-column:auto}}

/* Revised Phase 1: scope the shared calculated grid to the existing Overview panel. */
.bc-inline-calendar .bc-calendar-status,.bc-inline-calendar .bc-calendar-range,.bc-inline-calendar .bc-calendar-note{margin:10px 12px;color:var(--bc-muted);font-size:12px;line-height:1.5}
.bc-inline-calendar .bc-calendar-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 12px;font-size:11px;color:var(--bc-muted)}
.bc-inline-calendar .bc-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:4px}
.bc-inline-calendar .bc-feast-dot{background:#dfbc7c}.bc-inline-calendar .bc-sabbath-dot{background:#5ac7e0}.bc-inline-calendar .bc-today-dot{background:#7ae0b8}
.bc-inline-calendar .bc-grid-scroll{min-width:0;overflow-x:auto;margin:12px;border:1px solid var(--bc-line)}
.bc-inline-calendar table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;margin:0;color:var(--bc-text)}
.bc-inline-calendar th{padding:8px 2px;height:34px;background:#0b2033;color:#bce4f2;font-size:11px;text-align:center;border-bottom:1px solid var(--bc-line)}
.bc-inline-calendar td{height:110px;padding:0;border:1px solid #1b3548;vertical-align:top}
.bc-inline-calendar td.blank{background:#040d16}
.bc-inline-calendar td button{display:flex;flex-direction:column;align-items:start;gap:4px;width:100%;height:100%;min-height:110px;margin:0;padding:8px 5px;border:0;border-radius:0;background:#081725;color:var(--bc-text);text-align:left;white-space:normal;cursor:pointer}
.bc-inline-calendar td button[aria-pressed=true]{background:#113751;box-shadow:inset 0 0 0 2px #75d6f3}
.bc-inline-calendar td button[aria-current=date]{border-top:3px solid #7ae0b8}
.bc-inline-calendar :focus-visible{outline:2px solid var(--bc-cyan);outline-offset:-2px}
.bc-inline-calendar .day-number{font:700 26px/1 'Barlow Condensed','Arial Narrow',sans-serif;color:#f3faff}
.bc-inline-calendar .civil{font-size:10px;color:#a4bfd0;white-space:nowrap}
.bc-inline-calendar .marker{display:block;max-width:100%;padding:2px 4px;color:#f3d69d;background:#302a21;border-left:2px solid #b9934c;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.bc-inline-calendar .marker.sabbath{color:#b0efff;background:#102b3c;border-left-color:#4ebbd7}
.bc-inline-calendar .marker-short{display:none}
.bc-inline-calendar .bc-day-detail{margin:12px;padding:14px;background:#081725;border:1px solid var(--bc-line);overflow-wrap:anywhere}
.bc-inline-calendar .bc-day-detail:empty{display:none}
.bc-inline-calendar .bc-day-detail strong{font-size:10px;color:var(--bc-cyan);letter-spacing:.1em}
.bc-inline-calendar .bc-day-detail h3{margin:6px 0;font:700 28px/1.1 'Barlow Condensed','Arial Narrow',sans-serif}
.bc-inline-calendar .bc-day-detail p,.bc-inline-calendar .bc-day-detail ul{margin:8px 0;font-size:12px;line-height:1.5;color:var(--bc-muted)}
.bc-inline-calendar .bc-day-detail ul{padding-left:18px;color:#f3d69d}
.bc-inline-calendar .bc-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1600px){.bc-inline-calendar .marker-title{display:none}.bc-inline-calendar .marker-short{display:inline}}
@media(max-width:640px){
 .bc-inline-calendar .bc-grid-scroll{margin:8px}
 .bc-inline-calendar th{font-size:10px;padding:8px 1px}
 .bc-inline-calendar td{height:88px}
 .bc-inline-calendar td button{min-height:88px;padding:6px 1px;align-items:center;text-align:center}
 .bc-inline-calendar .day-number{font-size:24px}.bc-inline-calendar .civil{font-size:9px}
 .bc-inline-calendar .marker{padding:0 3px;border-left:0;border-radius:2px;font-size:10px;line-height:14px}
}

/* Phase 1 closeout: center card labels and values; retain readable disclosures. */
.bc-month-info .bc-info-card{text-align:center}
.bc-month-info .bc-info-card details{text-align:left}
.bc-month-info .bc-info-card summary{text-align:center}

/* Phase 1 completion: location inputs and isolated alternate calendar views. */
.bc-calendar [hidden]{display:none!important}
.bc-location-controls{margin:10px 12px;color:var(--bc-muted);font-size:12px}
.bc-location-controls summary{cursor:pointer;color:var(--bc-cyan);padding:6px 0}
.bc-location-controls form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:10px 0}
.bc-location-controls label{display:flex;flex-direction:column;gap:5px;margin:0;max-width:100%;font-size:11px}
.bc-location-controls input,.bc-location-controls select,.bc-location-controls button{max-width:100%;min-width:0;min-height:40px;margin:0;padding:8px;border:1px solid var(--bc-line);background:#082039;color:var(--bc-text);font:inherit}
.bc-location-controls input{width:155px}.bc-location-controls p{font-size:11px;line-height:1.5}
.bc-inline-calendar .marker-title{display:inline}.bc-inline-calendar .marker-short{display:none}
.bc-inline-calendar .bc-day-detail a{color:var(--bc-cyan);display:inline-block;padding:4px 0}
.bc-inline-calendar .bc-sky-detail{margin-top:14px;padding:12px;border:1px solid rgba(63,177,226,.25);background:#06131f}
.bc-inline-calendar .bc-sky-detail strong{display:block;margin-bottom:6px}
.bc-inline-calendar .bc-sky-detail p{margin:5px 0;color:#b7cad8}
.bc-alternate-view{min-width:0}
.bc-alternate-view button{min-height:40px;padding:8px;border:1px solid var(--bc-line);border-radius:4px;background:#082039;color:var(--bc-text);cursor:pointer;font:inherit}
.bc-alternate-view button:disabled{opacity:.4;cursor:default}
.bc-alternate-view .bc-view-status{margin:12px;color:var(--bc-muted);font-size:12px;line-height:1.5}
.bc-alternate-view>header{flex-wrap:wrap;height:auto;gap:8px}
.bc-alternate-view>header button{font-size:11px}
.bc-year-view{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px}
.bc-year-view .bc-year-month{border:1px solid var(--bc-line);padding:8px;min-width:0}
.bc-year-view .bc-year-month-title{display:block;width:100%;font-weight:700;color:var(--bc-cyan)}
.bc-year-view table{width:100%;table-layout:fixed;border-collapse:collapse;margin:8px 0 0;font-size:11px}
.bc-year-view caption{font-size:10px;color:var(--bc-muted);padding:4px 0}
.bc-year-view th,.bc-year-view td{padding:5px 1px;text-align:center;border:1px solid rgba(31,174,235,.15)}
.bc-year-view th{font-size:10px;color:var(--bc-muted)}
.bc-year-view .has-feast{color:#f3d69d;background:#302a21}.bc-year-view .has-sabbath{box-shadow:inset 0 -2px #5ac7e0}
.bc-gregorian-view{padding:12px;min-width:0}
.bc-gregorian-view .bc-gregorian-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.bc-gregorian-view h3{font-size:18px;text-align:center;margin:0}
.bc-gregorian-view table{width:100%;table-layout:fixed;border-collapse:collapse;margin:0}
.bc-gregorian-view caption{color:var(--bc-muted);font-size:11px;padding:8px}
.bc-gregorian-view td,.bc-gregorian-view th{border:1px solid var(--bc-line);padding:0;vertical-align:top}
.bc-gregorian-view th{padding:8px 0;font-size:11px;background:#0b2033}
.bc-gregorian-view td>button{width:100%;min-height:115px;border:0;border-radius:0;display:flex;flex-direction:column;align-items:start;gap:5px;text-align:left;padding:8px 5px;overflow-wrap:anywhere}
.bc-gregorian-view td strong{font-size:23px}.bc-gregorian-view td span{font-size:11px;color:var(--bc-cyan)}
.bc-gregorian-view small{display:block;font-size:10px;line-height:1.35}
.bc-gregorian-view .bc-gregorian-feast{color:#f3d69d}.bc-gregorian-view .bc-gregorian-sabbath{color:#5ac7e0}
@media(max-width:1100px){.bc-year-view{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
 .bc-location-controls form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bc-location-controls input,.bc-location-controls select{width:100%}
 .bc-inline-calendar .marker-title{display:none}.bc-inline-calendar .marker-short{display:inline}
 .bc-inline-calendar .marker{font-size:8px;line-height:1.2;overflow-wrap:anywhere;padding:1px}
 .bc-year-view{grid-template-columns:1fr}
 .bc-gregorian-view{padding:6px}.bc-gregorian-view h3{font-size:14px}.bc-gregorian-view .bc-gregorian-navigation button{padding:6px;font-size:11px}
 .bc-gregorian-view td>button{padding:5px 1px;gap:3px}.bc-gregorian-view td span{font-size:9px}.bc-gregorian-view small{font-size:8px}
 .bc-gregorian-view th{font-size:9px}
}

/* Phase 2: preserve the tab bar while dividing its width into three equal sections. */
.bc-calendar .bc-tab-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.bc-calendar .bc-tab-strip button{width:100%;min-width:0}
.bc-calendar .bc-tab-strip button:focus-visible,.bc-section-shell a:focus-visible,.bc-preserved-resources summary:focus-visible{outline:2px solid var(--bc-cyan);outline-offset:-2px}
.bc-section-shell>header{height:auto;min-height:36px}
.bc-feast-shell-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px}
.bc-feast-shell-card{border:1px solid var(--bc-line);background:#081725;padding:16px;min-width:0}
.bc-feast-shell-card h3{font-size:20px;margin:0 0 10px}.bc-feast-shell-card p{font-size:12px;color:var(--bc-muted)}
.bc-section-shell a{color:var(--bc-cyan)}
.bc-feast-shell-card>a{display:inline-block;padding:10px 0;font-size:12px}
.bc-shell-nav{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border-bottom:1px solid var(--bc-line)}
.bc-shell-nav a{display:flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--bc-line);background:#082039;font-size:12px;box-sizing:border-box}
.bc-shell-nav a[aria-current]{border-color:var(--bc-cyan);background:#113751}
.bc-shell-sections{padding:0 16px}.bc-shell-sections>section{padding:18px 0;border-bottom:1px solid var(--bc-line);scroll-margin-top:16px}
.bc-shell-sections h3{font-size:20px;margin:0 0 10px}.bc-shell-sections p{font-size:12px;color:var(--bc-muted);margin:0 0 10px;line-height:1.55}
.bc-study-link-list{margin:8px 0 12px;padding-left:20px;color:var(--bc-muted);font-size:12px;line-height:1.6}
.bc-study-link-list li+li{margin-top:4px}
.bc-preserved-resources{margin-top:12px}.bc-preserved-resources>summary{padding:14px;border:1px solid var(--bc-line);color:var(--bc-cyan);cursor:pointer;font-size:12px}
@media(max-width:640px){.bc-calendar .bc-tab-strip button{padding:10px 5px;font-size:11px;white-space:normal;overflow-wrap:anywhere;line-height:1.3}.bc-feast-shell-grid{grid-template-columns:1fr}.bc-shell-nav{display:grid;grid-template-columns:1fr}.bc-shell-nav a{width:100%}}

/* Existing feast artwork in the Phase 2 landing cards. */
.bc-feast-shell-card .bc-feast-shell-image{display:block;width:100%;height:auto;aspect-ratio:25/12;object-fit:cover;margin:0 0 14px}
