:root{color:#202637;--blue:#2d5697;--blue-dark:#173c76;--light-blue:#eef3fa;--border:#e1e4e9;--muted:#687184;--background:#fff;background:#3d3d50;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{width:100%;min-width:320px;min-height:100%;margin:0}body{background:#3d3d50}button{font:inherit}button:disabled{opacity:.38;cursor:default}#app{min-height:100vh}.app-shell{background:#fff;width:100%;max-width:520px;min-height:100vh;margin:0 auto;padding-bottom:72px;position:relative}.page-content{min-height:calc(100vh - 72px)}.page{padding:28px 20px}.page-header{margin-bottom:16px}.page-header h1{color:var(--blue-dark);margin:0;font-size:2rem}.page-header p{color:var(--muted);margin:4px 0 0;font-size:.95rem}.home-page{text-align:center}.church-logo{justify-content:center;align-items:center;width:175px;margin:18px auto;display:flex}.church-logo img{object-fit:contain;width:100%;height:auto;display:block}.home-page h1{color:var(--blue-dark);margin:0;font-size:2rem}.church-location{letter-spacing:.18em;color:var(--muted);margin-top:5px}.home-card{border:1px solid var(--border);text-align:left;background:#fff;border-radius:18px;margin-top:26px;padding:22px}.today-card{text-align:center}.today-card strong{margin-top:7px;font-size:1.2rem;display:block}.sunday-card{background:#f3f5f8}.sunday-card h2{margin:8px 0;font-size:1.25rem}.eyebrow{color:var(--muted);letter-spacing:.14em;font-size:.78rem}.primary-button,.secondary-button{cursor:pointer;border-radius:11px;min-height:46px;padding:10px 16px;font-weight:700}.primary-button{background:var(--blue);color:#fff;border:none}.secondary-button{border:1px solid var(--border);color:var(--blue-dark);background:#f5f6f8}.full-button{width:100%;margin-top:10px}.service-page{flex-direction:column;height:calc(100vh - 72px);padding:24px 20px 0;display:flex;overflow:hidden}.service-top{flex-shrink:0}.week-toggle{background:#f0f1f3;border-radius:13px;grid-template-columns:1fr 1fr;gap:3px;margin-bottom:14px;padding:4px;display:grid}.week-toggle button{color:var(--muted);cursor:pointer;background:0 0;border:none;border-radius:10px;padding:12px 7px}.week-toggle button.active{color:var(--blue-dark);background:#fff;font-weight:700;box-shadow:0 1px 5px #0000001a}.bulletin-section{border-top:1px solid var(--border);flex-direction:column;flex:1;min-height:0;padding-top:14px;display:flex}.section-heading{background:var(--blue);color:#fff;border-radius:11px;flex-shrink:0;padding:12px 14px}.section-heading h2{margin:0;font-size:1rem}.section-content{flex:1;min-height:0;margin-top:12px;padding-right:5px;overflow:hidden auto}.bulletin-list{flex-direction:column;gap:10px;display:flex}.bulletin-row{grid-template-columns:auto minmax(20px,1fr) minmax(90px,auto);align-items:end;gap:7px;line-height:1.35;display:grid}.bulletin-label{min-width:0}.leader{border-bottom:2px dotted #b8bec8;transform:translateY(-4px)}.bulletin-value{text-align:right;overflow-wrap:anywhere;max-width:170px;font-weight:600}.note{white-space:pre-line;padding-top:10px;line-height:1.65}.numbered-list{margin:0;padding:10px 0 0 28px}.numbered-list li{margin-bottom:12px;line-height:1.55}.service-navigation{border-top:1px solid var(--border);background:#fff;flex-shrink:0;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-top:8px;padding:10px 0;display:grid}.service-progress{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-width:90px;display:flex}.service-progress strong{color:var(--blue-dark);font-size:.9rem}.service-progress span{max-width:120px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:.7rem;overflow:hidden}.service-nav-button{width:100%;min-height:44px}.placeholder-card,.empty-message{color:var(--muted);background:#f3f5f8;border-radius:16px;padding:24px}.bottom-nav{border-top:1px solid var(--border);z-index:20;background:#fff;grid-template-columns:repeat(4,1fr);align-items:center;width:min(520px,100%);height:72px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-button{color:#687184;cursor:pointer;background:0 0;border:none;flex-direction:column;justify-content:center;align-items:center;gap:3px;height:100%;font-size:.72rem;display:flex}.nav-button.active{color:var(--blue-dark);font-weight:700}.nav-icon{font-size:1.35rem}.error-message{text-align:center;color:#a22;padding:30px}@media (width<=390px){.service-page{padding-left:16px;padding-right:16px}.bulletin-row{grid-template-columns:auto minmax(10px,1fr) minmax(78px,auto)}.bulletin-value{max-width:125px}.service-navigation{gap:8px}.service-progress{min-width:75px}}.service-page{height:auto;min-height:calc(100dvh - 72px);padding-bottom:110px;overflow:visible}.bulletin-section{flex:1 0 auto;min-height:auto}.section-heading{z-index:10;position:sticky;top:0;box-shadow:0 2px 8px #00000014}.section-content{flex:none;min-height:auto;padding-right:0;overflow:visible}.service-navigation{border-top:1px solid var(--border);z-index:19;background:#fff;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:min(520px,100%);margin-top:0;padding:12px 20px;position:fixed;bottom:72px;left:50%;transform:translate(-50%);box-shadow:0 -3px 12px #0000000a}.service-nav-button{cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:48px;font-weight:700;transition:background .2s;display:flex}.service-back{color:var(--blue-dark);border:1px solid var(--border);background:#fff}.service-next{background:var(--blue);color:#fff;border:1px solid var(--blue)}.service-nav-button:disabled{opacity:.38;cursor:default}@media (width<=390px){.service-navigation{gap:8px;padding:10px 16px}.service-nav-button{min-height:48px;font-size:.9rem}.service-progress{min-width:70px}}.quote-card{text-align:center;background:#f3f5f8;border-radius:18px;padding:30px 24px}.quote-text{color:var(--blue-dark);white-space:pre-line;overflow-wrap:anywhere;margin:0;font-size:1.2rem;font-weight:500;line-height:1.5}.quote-reference{color:var(--muted);margin:14px 0 0;font-size:.95rem;font-weight:600}.quote-placeholder{color:var(--muted);margin:20px 0 0;line-height:1.6}.home-bulletin-button{min-height:54px;margin-top:24px;font-size:1.05rem}@media (width<=390px){.quote-card{padding:24px 18px}.quote-text{font-size:1.1rem}}
