:root{--bg-app: #F8FAFC;--bg-card: #FFFFFF;--border: #E5E7EB;--text-primary: #0F172A;--text-secondary: #64748B;--nav-active-bg: #DBEAFE;--nav-active-border: #93C5FD;--nav-active-accent: #3B82F6}*{box-sizing:border-box}html,body,#root{margin:0;padding:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg-app);color:var(--text-primary)}body{line-height:1.45}a{color:inherit}button,input,select,textarea{font:inherit}button{background:#fff;color:var(--text-primary);border:1px solid var(--border);border-radius:14px;padding:10px 14px;cursor:pointer;transition:background .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease}button:hover{background:#f8fafc;border-color:#cbd5e1}button:active{transform:translateY(1px)}input,select,textarea{width:100%;background:#fff;color:var(--text-primary);border:1px solid #D1D5DB;border-radius:14px;padding:10px 14px;outline:none;transition:border-color .12s ease,box-shadow .12s ease}input:focus,select:focus,textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #93c5fd59}label{display:block;margin-bottom:6px;color:var(--text-secondary);font-size:14px;font-weight:700}h1,h2,h3{margin:0;color:var(--text-primary)}small{color:var(--text-secondary)}.container{max-width:1680px;margin:0 auto;padding:22px}.header{--header-inline-gap: 20px;display:flex;flex-direction:column;align-items:stretch;gap:var(--header-inline-gap);margin-bottom:22px}.brand{display:flex;align-items:center;width:max-content;max-width:100%;min-width:0;gap:18px}.brand h1{font-size:2.15rem;line-height:1.05}.brand small{font-size:1rem}.brandLogo{flex:none;object-fit:contain;filter:brightness(1.025);mix-blend-mode:darken}.eventTitle,.eventShare{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.eventTitle{margin:6px 0;column-gap:12px}.eventShare{font-size:.875rem;max-width:100%}.eventShare button{padding:6px 12px;background:var(--nav-active-bg);border-color:var(--nav-active-border);color:var(--text-primary);font-weight:700}.eventShare button:hover:not(:disabled){background:#bfdbfe;border-color:var(--nav-active-accent)}.eventShare button:focus-visible{outline:2px solid var(--nav-active-accent);outline-offset:2px}.eventShare [role=status]:empty{position:absolute}.nav{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:6px;background:#eef4fa;border:1px solid #CBD5E1;border-radius:18px}.nav a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 12px;border:1px solid transparent;border-radius:12px;color:var(--text-primary);font-weight:600;text-decoration:none;transition:background .14s ease,border-color .14s ease}.nav a>span{flex:none;white-space:nowrap}.menuToggle{display:none}.header[data-menu-layout=inline],.header[data-menu-layout=compact]{flex-direction:row;align-items:center}.header[data-menu-layout=inline] .brand{flex:none}.header[data-menu-layout=inline] .nav{flex:1}.header[data-menu-layout=compact]{position:relative;justify-content:space-between;gap:8px}.header[data-menu-layout=compact] .menuToggle{display:inline-flex;flex:none;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border-color:#cbd5e1;background:#eef4fa;font-weight:700}.header[data-menu-layout=compact] .menuToggle[aria-expanded=true]{background:var(--nav-active-bg);border-color:var(--nav-active-border)}.header[data-menu-layout=compact] .nav{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0;z-index:30;width:min(23rem,100%);grid-template-columns:repeat(2,minmax(0,1fr));box-shadow:0 12px 28px #0f172a24}.header[data-menu-layout=compact] .nav[aria-hidden=true]{visibility:hidden;pointer-events:none}.nav a:hover{background:#e2eaf4;border-color:#cbd5e1}.nav a.active,.nav a.sectionActive{background:var(--nav-active-bg);border-color:var(--nav-active-border);box-shadow:inset 0 -3px #2563eb;font-weight:800}.nav a:focus-visible,.menuToggle:focus-visible{outline:2px solid #2563EB;outline-offset:2px}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:24px;padding:18px;box-shadow:0 1px 2px #0f172a08}.row{display:flex;gap:12px}.muted{color:var(--text-secondary)}.error{color:#b91c1c}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start;margin-top:16px}.col{min-width:0;background:var(--bg-card);border:1px solid var(--border);border-radius:24px;overflow:hidden;box-shadow:0 1px 2px #0f172a08}.colHeader{padding:18px 20px;font-size:18px;font-weight:900;letter-spacing:.01em;border-bottom:1px solid var(--border);background:linear-gradient(to bottom,#fff,#f8fafc);color:#0f172a;box-shadow:inset 0 -1px #94a3b81f}.colBody{overflow:auto;padding:16px 14px 14px;background:#fff}.colBody:focus-visible{outline:2px solid #2563EB;outline-offset:-2px}.blockWrap{margin-bottom:14px}.firstBlock{margin-top:4px}.storyBlock{background:var(--story-bg);border:1px solid var(--story-outline);border-left:10px solid var(--story-accent);border-radius:20px;padding:14px 16px;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease,transform .14s ease}.storyBlock:hover{box-shadow:0 10px 20px #0f172a12;transform:translateY(-1px)}.storyBlock.blockActive{box-shadow:0 10px 22px #0f172a1a}.blockTitle{font-size:14px;font-weight:900;color:#374151;letter-spacing:.01em}.verse{margin:8px 0 0;font-size:15px}.verseNum{display:inline-block;width:22px;color:#6b7280;font-size:13px;vertical-align:top}.diff{background:#fbbf2459;border-radius:4px;padding:0 1px}.interactiveCard{transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease}.interactiveCard:hover{transform:translateY(-2px);border-color:#cbd5e1!important;box-shadow:0 12px 22px #0f172a14;background:#fcfdfe!important}.artThumbButton{transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.artThumbButton:hover{transform:scale(1.02);border-color:#93c5fd!important;box-shadow:0 10px 20px #3b82f629}.artworkDialog{width:min(1100px,calc(100% - 40px));max-width:none;max-height:92vh;padding:0;border:0;border-radius:16px;overflow:hidden;background:#fff;color:var(--text-primary);box-shadow:0 18px 50px #00000059}.artworkDialog::backdrop{background:#000000b3}.siteFooter{margin-top:26px;padding:18px 4px 8px}.siteFooterInner{border-top:1px solid var(--border);padding-top:14px;color:var(--text-secondary);font-size:13px;line-height:1.6}.aboutList{margin:0;padding-left:22px;color:var(--text-secondary)}.aboutList li{margin:6px 0}.mapLayout{display:grid;grid-template-areas:"heading heading" "legend legend" "routes map" "places map";grid-template-columns:320px minmax(0,1fr);grid-template-rows:auto auto auto 1fr;align-items:start;column-gap:16px}.mapHeader,.mapLegend,.mapCard{background:#fff;border:1px solid #E2E8F0}.mapHeader{grid-area:heading;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:10px 14px;border-radius:14px 14px 0 0}.mapHeader h1{font-size:1.5rem;line-height:1.2}.mapHeader p{margin:4px 0 0;color:var(--text-secondary);font-size:.875rem}.mapLegend{grid-area:legend;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 12px;padding:6px 12px;margin-bottom:12px;border-top:0;border-radius:0 0 14px 14px}.mapLegendItem{display:flex;align-items:center;gap:8px;color:#475569;font-size:12px}.mapCard{border-radius:14px;overflow:hidden}.mapGospelRoutes{grid-area:routes;margin-bottom:12px}.mapRouteButtons,.mapSidebar{display:grid}.mapRouteButtons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mapRouteButton{gap:8px;padding:8px 12px}.mapRouteDot{width:10px;height:10px;flex:none;border-radius:50%}.mapMain{grid-area:map;min-width:0}.mapSidebar{grid-area:places;gap:12px}.mapSidebar[hidden]{display:none}.mapTools{grid-area:tools;display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%}.mapZoomControls{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #E2E8F0;border-radius:999px}.mapZoomControls button,.mapViewButton{padding:4px 10px;border-radius:999px}.mapZoomControls span{min-width:46px;text-align:center;color:#334155;font-size:13px;font-weight:700}.mapViewButton{padding-block:6px;border-color:#93c5fd;background:#eff6ff;color:#1e40af;font-size:.875rem;font-weight:700}.mapViewButton:hover{border-color:#93c5fd;background:#dbeafe}.mapViewButton:focus-visible{outline:2px solid #2563EB;outline-offset:2px}.mapViewport{width:100%;height:820px;height:clamp(640px,78dvh,820px)}.mapPlacesHeader,.mapPlacesList{display:flex;flex-wrap:wrap;gap:8px}.mapPlacesHeader{align-items:center;justify-content:space-between}.mapPlacesList{margin-top:10px}.mapPlacesToggle{display:none}.mapViewer{top:0;right:0;bottom:0;left:0;width:calc(100% - 24px);height:calc(100dvh - 24px);max-width:none;max-height:none;padding:12px;border:1px solid #E2E8F0;border-radius:16px;background:var(--bg-app);color:var(--text-primary);overflow:auto;overscroll-behavior:contain}.mapViewer::backdrop{background:#0f172a99}.mapViewer .mapLayout{height:100%;grid-template-areas:"heading" "routes" "legend" "map";grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto minmax(220px,1fr)}.mapViewer .mapLayoutWithPlaces{grid-template-areas:"heading heading" "routes routes" "legend legend" "places map";grid-template-columns:minmax(190px,280px) minmax(0,1fr)}.mapViewer .mapHeader,.mapViewer .mapLegend{border:1px solid #E2E8F0;border-radius:12px;margin-bottom:8px}.mapViewer .mapHeader{display:grid;grid-template-areas:"title tools close";grid-template-columns:minmax(0,1fr) auto auto}.mapHeaderTitle{grid-area:title}.mapCloseButton{grid-area:close}.mapViewer .mapGospelRoutes{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:8px}.mapViewer .mapRouteButtons{grid-template-columns:repeat(4,minmax(0,1fr))}.mapViewer .mapMain{align-self:stretch}.mapViewer .mapCard,.mapViewer .mapViewport{height:100%}.mapViewer .mapSidebar{max-height:100%;overflow:auto;overscroll-behavior:contain;align-content:start}@media (max-width: 1400px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 761px){.siteReaderLayout{display:flex;flex-direction:column;height:calc(100vh - 44px);height:calc(100dvh - 44px);min-height:500px}.siteReaderLayout>.header{flex:none}.readerPage{--reader-min-height: 200px;display:flex;flex:1;flex-direction:column;min-height:0}.readerControls{min-height:0}.readerControls[data-scrollable]{overflow:auto;overscroll-behavior-y:contain}.readerControls:focus-visible{outline:2px solid #2563EB;outline-offset:-2px}.readerControlsContent{display:flow-root}.readerPanes{flex:1 0 var(--reader-min-height);min-height:0;margin-top:16px}.readerPanes .chapterReader,.readerPanes .grid4{height:100%}.readerPanes .grid4{grid-auto-rows:minmax(0,1fr);align-items:stretch;margin-top:0}.readerPanes .col{display:flex;flex-direction:column;min-height:0}.readerPanes .colHeader{padding:10px 16px}.readerPanes .colBody{flex:1;min-height:0;overscroll-behavior-y:contain}}@media (min-width: 761px) and (max-width: 1400px){.readerPage{--reader-min-height: 332px}}@media (max-width: 760px){.container{padding:12px}.header[data-menu-layout=compact] .brand{gap:10px}.header[data-menu-layout=compact] .brandLogo{width:52px;height:52px}.header[data-menu-layout=compact] .brand h1{font-size:clamp(1.25rem,5.6vw,2.15rem)}.header[data-menu-layout=compact] .brand small{font-size:.875rem}.grid4{grid-template-columns:1fr}.colBody{height:auto;max-height:68vh}.row{flex-direction:column}.mapLayout{grid-template-areas:"heading" "routes" "map" "legend" "places";grid-template-columns:minmax(0,1fr);grid-template-rows:none}.mapHeader{border-radius:14px;margin-bottom:12px}.mapCard{border-radius:14px 14px 0 0}.mapViewport{height:auto}.mapViewport>svg{position:absolute;top:0;right:0;bottom:0;left:0}.mapPlacesToggle{display:block;margin-left:auto;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:600}.mapPlacesList[data-expanded=false]{display:none}.mapViewer{width:calc(100% - 12px);height:calc(100dvh - 12px);padding:8px}.mapViewer .mapLayout{grid-template-areas:"heading" "routes" "map" "legend";grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(220px,1fr) auto}.mapViewer .mapLayoutWithPlaces{grid-template-areas:"heading" "routes" "map" "legend" "places";grid-template-rows:auto auto minmax(220px,1fr) auto auto}.mapViewer .mapHeader{position:sticky;top:0;z-index:1;grid-template-areas:"title close" "tools tools";grid-template-columns:minmax(0,1fr) auto}.mapViewer .mapLegend{border-top:0;border-radius:0 0 12px 12px}.mapViewer .mapGospelRoutes{display:grid}.mapViewer .mapRouteButtons{grid-template-columns:repeat(2,minmax(0,1fr))}.mapViewer .mapSidebar{max-height:30dvh}.mapViewer .mapPlacesToggle{display:none}.mapViewer .mapPlacesList[data-expanded=false]{display:flex}}@media (min-width: 380px) and (max-width: 760px){.mapRouteButtons,.mapViewer .mapRouteButtons{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.mapRouteButtons .mapRouteButton{justify-content:center;gap:4px;padding-inline:4px}.mapRouteDot{width:8px;height:8px}}.chapterPanel{display:grid;gap:22px}.chapterNumberButtons{display:flex;flex-wrap:wrap;gap:8px}.chapterIntro,.chapterIntroActions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.chapterIntro{justify-content:space-between;padding:12px 14px;border:1px solid #9FD394;border-radius:14px;background:#ddf0d7}@media (min-width: 761px) and (max-height: 850px){.siteReaderLayout>.header{margin-bottom:16px}.siteReaderLayout .brandLogo{width:60px;height:60px}.readerControls .card{padding:12px 16px}.readerControls .chapterPanel{gap:14px}.chapterIntro{column-gap:8px}.chapterIntro>:first-child{flex:1 1 16rem}.chapterNumberButtons{gap:6px}.chapterNumberButtons button{padding:7px 12px}}.chapterIntro h2{font-size:1rem}.chapterIntro p{margin:3px 0 0;color:#365334;font-size:.875rem}.chapterIntroActions{font-size:.875rem;font-weight:600}.chapterIntroAction{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid var(--intro-action-border);border-radius:14px;background:var(--intro-action-bg);color:var(--text-primary);text-decoration:none;transition:filter .14s ease,transform .14s ease}.chapterIntroAction:hover{border-color:var(--intro-action-border);background:var(--intro-action-bg);filter:brightness(.96)}.chapterIntroAction:active{transform:translateY(1px)}.chapterIntroAction:focus-visible{outline:2px solid #2563EB;outline-offset:2px}.chapterIntroDemo{--intro-action-bg: var(--nav-active-bg);--intro-action-border: var(--nav-active-border)}.chapterIntroEvents{--intro-action-bg: #FEF9C3;--intro-action-border: #FDE68A}.chapterIntroDismiss{--intro-action-bg: #FFE4E6;--intro-action-border: #FECDD3}.chapterReader{scroll-margin-top:16px}.chapterSettings{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px clamp(18px,2.5vw,36px)}.chapterVersionPicker{min-width:7rem}.primaryGospelPicker{max-width:100%}.readingPlanPicker{width:min(13rem,100%)}.chapterReadingOptions{display:flex;flex-wrap:wrap;gap:14px clamp(24px,3vw,40px)}@media (max-width: 760px){.chapterPanel,.chapterSettings{row-gap:16px}}.readingPlanCard{display:grid;gap:12px;padding:16px;border:1px solid #CBD5E1;border-radius:16px;background:#f5f8fc;scroll-margin-top:16px}.readingPlanHeader,.readingPlanMeta,.readingPlanActions,.assignedReading{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.readingPlanWeekNav{display:flex;gap:6px}.readingPlanCard .readingPlanWeekNav button{padding:4px 9px;font-size:.8125rem;white-space:nowrap}.readingPlanHeader,.assignedReading{justify-content:space-between}.readingPlanCard p,.readingPlanCard ul{margin:4px 0 0}.readingPlanCard summary{font-weight:600;cursor:pointer}.readingPlanCard button,.readingPlanPrimary,.assignedReading button{padding:7px 12px}.readingPlanCard .readingPlanPrimary,.readingPlanCard button[aria-pressed=true]{background:var(--nav-active-bg);border:1px solid var(--nav-active-border);border-radius:14px;font-weight:700;text-decoration:none}.readingPlanCard button[aria-pressed=true]{box-shadow:inset 0 -2px 0 var(--nav-active-accent)}.readingPlanCard button:disabled{opacity:.5;cursor:default}.assignedReading{margin-top:16px;scroll-margin-top:16px}
