:root{--navy:#173e5c;--blue:#356d95;--gold:#b49352;--cream:#f7f8f8;--line:#dce5eb;--muted:#6c7c86;--serif:'Playfair Display',Georgia,serif}*{box-sizing:border-box}body{margin:0;font-family:'Segoe UI',Arial,sans-serif;color:var(--navy);background:var(--cream)}[hidden]{display:none!important}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}button:focus-visible,a:focus-visible{outline:3px solid #caab67;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid var(--blue);outline-offset:2px}h1,h2,h3,p{margin:0}h1,h2{font-family:var(--serif);font-weight:400}p{line-height:1.7}em{font-weight:400}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:2.5px;color:var(--gold);font-weight:600}.brand{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600;line-height:1.4}.brand img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:50%}.brand small{display:block;font-size:10px;font-weight:400;margin-top:5px;color:var(--muted)}.brand.light{color:#fff}.brand.light small{color:#bacdd9}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:46px;padding:12px 20px;border:1px solid transparent;border-radius:6px;font-size:13px;font-weight:600;transition:background .2s,transform .2s}.button:hover{transform:translateY(-1px)}.primary{background:var(--navy);color:#fff}.primary:hover{background:var(--blue)}.secondary{background:#fff;border-color:var(--line);color:var(--navy)}.danger{background:#913d3d;color:white}.full{width:100%;justify-content:space-between}.preview-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #e5d6b2;background:#fbf6e9;color:#8a6c33;border-radius:100px;padding:6px 11px;font-size:10px;letter-spacing:.3px;white-space:nowrap}.preview-pill::before{content:'';width:5px;height:5px;border-radius:50%;background:#b49352}.login-layout{display:grid;grid-template-columns:1.06fr 1fr;min-height:100vh}.login-story{background:var(--navy);padding:42px 60px;display:flex;flex-direction:column;overflow:hidden}.story-copy{max-width:580px;margin:70px 0 36px}.story-copy h1{font-size:clamp(42px,4.4vw,66px);line-height:1.15;letter-spacing:-1.8px;margin:20px 0;color:white}.story-copy h1 em{color:#e5cc92}.story-copy>p:last-child{color:#c7d8e3;max-width:340px;font-size:14px}.story-photo{margin-top:auto;position:relative;border-radius:12px 12px 75px 12px;overflow:hidden;max-width:590px}.story-photo img{width:100%;aspect-ratio:1.8;object-fit:cover}.story-photo::after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#0c2d46ce)}.story-photo>span{position:absolute;z-index:1;left:23px;bottom:22px;color:#fff;font-size:12px}.login-form-side{background:#fff;padding:35px 48px;display:flex;flex-direction:column}.back-link{font-size:12px;color:var(--muted);align-self:flex-end}.back-link:hover{color:var(--navy)}.login-box{width:100%;max-width:360px;margin:auto;padding:55px 0 20px}.login-box>.preview-pill{margin-bottom:29px}.login-box>.eyebrow{margin-bottom:16px}.login-box h2{font-size:57px;line-height:1.05;letter-spacing:-1.8px}.login-box h2 em{color:var(--blue)}.intro{font-size:14px;color:var(--muted);margin:22px 0 30px}label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}input,textarea,select{display:block;width:100%;border:1px solid #cedbe3;border-radius:6px;background:#fff;color:var(--navy);padding:13px 14px;min-height:46px;font-size:14px}textarea{resize:vertical;min-height:110px}#login-form>input{margin-bottom:22px}.password-wrap{position:relative}.password-wrap input{padding-right:64px}.password-wrap button{position:absolute;right:9px;top:7px;border:0;background:transparent;color:var(--blue);padding:8px;font-size:12px}.form-note{font-size:11px;color:var(--muted);line-height:1.7;margin:17px 0 22px}.demo-link{display:block;border:0;border-bottom:1px solid #d7e0e6;background:none;color:var(--blue);font-size:12px;padding:5px 0;margin:21px auto 0}.login-footnote{font-size:10px;color:#84949f;margin-top:50px;text-align:center}.admin-layout{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100dvh;background:var(--navy);padding:30px 18px 22px;display:flex;flex-direction:column;z-index:20;color:#fff}.sidebar .brand{padding:0 10px;font-size:14px}.sidebar .brand img{width:40px;height:40px}.sidebar-label{font-size:9px;color:#91aebf;letter-spacing:1.5px;text-transform:uppercase;margin:47px 15px 15px}.sidebar nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border:0;border-radius:7px;background:transparent;color:#c9d9e4;text-align:left;font-size:12px}.nav-item>span{width:19px;text-align:center;font-size:19px;line-height:1}.nav-item:hover{background:#ffffff0d}.nav-item.active{background:#ffffff13;color:#f4dba0;box-shadow:inset 3px 0 #d4b46b}.sidebar-bottom{margin-top:auto;padding-top:34px}.sidebar-bottom>a{font-size:12px;color:#d8e4eb;display:flex;justify-content:space-between;padding:13px 14px}.admin-user{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff20;padding:22px 12px 15px;margin-top:12px;font-size:12px}.admin-user small{display:block;color:#9db7c8;margin-top:4px;font-size:10px}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e4d2a7;color:var(--navy);font-size:11px;font-weight:600}.sidebar-bottom>button{display:flex;justify-content:space-between;width:100%;background:transparent;color:#a8c0d0;border:0;padding:10px 13px;font-size:11px}.workspace{min-width:0;display:flex;flex-direction:column}.workspace-top{height:78px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 40px;font-size:11px;color:var(--muted)}.workspace-top strong{font-weight:500;color:var(--navy)}.top-divider{margin:0 12px;color:#b5c3cc}.demo-banner{padding:12px 40px;display:flex;gap:10px;align-items:center;border-bottom:1px solid #e9e5da;background:#fbf9f2;color:#88744b}.demo-banner p{font-size:11px}.demo-dot{flex-shrink:0;width:5px;height:5px;border-radius:50%;background:#b49352}#workspace-content{padding:40px;flex:1;outline:none}.view-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:29px}.view-header h1{font-size:43px;line-height:1.15;letter-spacing:-1.3px;margin:9px 0 13px}.view-header p:not(.eyebrow){font-size:13px;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:27px}.stat-card{padding:22px;border:1px solid var(--line);background:white;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-card small{display:block;font-size:11px;color:var(--muted)}.stat-card strong{display:block;font-family:var(--serif);font-size:35px;font-weight:400;margin-top:8px}.stat-icon{background:#f5f1e6;color:var(--gold);display:grid;place-items:center;width:39px;height:39px;border-radius:50%;font-size:20px}.overview-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:24px;margin-bottom:28px}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-heading{padding:23px 25px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9eef2}.panel-heading h2{font-family:inherit;font-size:14px;font-weight:600}.subtle-button{border:0;background:none;color:var(--blue);font-size:11px;padding:5px}.site-preview img{width:100%;height:215px;object-fit:cover;object-position:50% 45%}.site-preview-copy{padding:23px 25px;display:flex;gap:15px;align-items:center;justify-content:space-between}.site-preview-copy h3{font-family:var(--serif);font-size:24px;font-weight:400}.site-preview-copy p{font-size:11px;color:var(--muted);margin-top:6px}.quick-list{padding:10px 24px}.quick-action{display:flex;align-items:center;gap:13px;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #e9eef2;padding:18px 0;color:var(--navy)}.quick-action:last-child{border:0}.quick-symbol{width:34px;height:34px;background:#eff4f7;border-radius:6px;display:grid;place-items:center;color:var(--blue);font-size:18px}.quick-action strong{display:block;font-size:12px;font-weight:600}.quick-action small{display:block;margin-top:5px;font-size:10px;color:var(--muted)}.quick-action>span:last-child{margin-left:auto;color:#8da1ae}.table-wrap{overflow:auto}.content-table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}.content-table th{font-size:10px;letter-spacing:.5px;color:var(--muted);font-weight:500;padding:14px 24px;border-bottom:1px solid var(--line);background:#fafcfd;white-space:nowrap}.content-table td{padding:19px 24px;border-bottom:1px solid #edf1f4}.content-table tr:last-child td{border:0}.table-title{font-weight:600;min-width:180px;display:block}.table-description{font-size:11px;color:var(--muted);margin-top:6px;max-width:420px}.status-pill{padding:5px 9px;border-radius:100px;background:#edf4f7;color:#52778d;white-space:nowrap;font-size:10px}.status-pill.draft{background:#f9f1df;color:#947636}.table-actions{display:flex;gap:7px;justify-content:flex-end}.table-actions button{border:1px solid var(--line);border-radius:5px;background:white;color:var(--navy);font-size:11px;padding:8px 11px;white-space:nowrap}.table-actions button:hover{background:#f2f6f9}.workspace-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:22px 40px;color:#8b9aa4;font-size:10px}.filter-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.search-box{max-width:340px;width:100%}.search-box input{min-height:42px;font-size:12px;background:white}.filter-count{font-size:11px;color:var(--muted)}.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.media-card{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0}.media-card>img{width:100%;height:190px;object-fit:cover;background:#e6edf2}.media-copy{padding:20px}.media-copy h2{font-family:inherit;font-size:14px;font-weight:600;line-height:1.5}.media-copy p{font-size:11px;color:var(--muted);margin-top:7px}.media-copy .table-actions{margin-top:18px;justify-content:flex-start}.file-card{padding:26px}.file-symbol{font-family:var(--serif);color:var(--gold);font-size:33px;margin-bottom:20px}.file-card a{display:inline-block;margin:16px 0 0;color:var(--blue);font-size:12px;border-bottom:1px solid #c9d9e5;padding-bottom:4px}.settings-form{padding:28px;max-width:820px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.form-field{margin-bottom:21px}.form-grid .form-field{margin:0}.settings-form>.button{margin-top:25px}.settings-note{max-width:700px;font-size:12px;color:var(--muted);padding:22px 28px;background:#f9fbfc;border-bottom:1px solid var(--line)}.empty-state{padding:65px 25px;text-align:center;grid-column:1/-1;background:#fff;border:1px dashed var(--line);border-radius:8px}.empty-state h2{font-size:26px}.empty-state p{font-size:13px;color:var(--muted);margin-top:12px}.icon-button{border:1px solid var(--line);background:white;border-radius:50%;width:32px;height:32px;font-size:22px;color:var(--muted)}dialog{width:min(580px,calc(100% - 32px));border:1px solid var(--line);border-radius:14px;padding:30px;color:var(--navy);box-shadow:0 30px 90px #0b223746;max-height:90dvh;overflow-y:auto}dialog::backdrop{background:#102d4685;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:29px}.dialog-header h2,#delete-dialog h2{font-size:31px;line-height:1.2;margin-top:9px}.dialog-header .eyebrow{font-size:9px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:21px}.dialog-actions .button{font-size:12px}.editor-preview{width:100%;max-height:170px;object-fit:cover;border-radius:7px;margin:14px 0}.field-help{font-size:10px;color:var(--muted);margin-top:8px}input[type=file]{font-size:11px;padding:10px}#delete-message{font-size:14px;margin-top:20px}.toast{position:fixed;z-index:80;bottom:25px;right:28px;max-width:calc(100% - 40px);background:var(--navy);border:1px solid #537389;box-shadow:0 10px 35px #102d4629;border-radius:8px;color:#fff;padding:16px 22px;font-size:12px}#admin-menu{display:none}.sidebar-overlay{border:0;position:fixed;inset:0;background:#102d4688;z-index:15}
@media(min-width:1500px){#workspace-content{max-width:1500px;width:100%;margin:auto;padding:50px}.login-story{padding:55px 80px}.story-copy{margin-top:90px}}
@media(max-width:1100px){.admin-layout{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding-inline:12px}.workspace-top{padding-inline:26px}.demo-banner{padding-inline:26px}#workspace-content{padding:30px 26px}.stat-grid{gap:12px}.stat-card{padding:17px}.stat-icon{display:none}.overview-grid{grid-template-columns:1fr}.quick-list{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-story{padding:35px}.story-copy{margin-top:65px}.story-copy h1{font-size:49px}.login-form-side{padding-inline:35px}}
@media(max-width:750px){.login-layout{grid-template-columns:1fr}.login-story{padding:25px;min-height:auto}.login-story>.brand{font-size:13px}.login-story>.brand img{width:37px;height:37px}.story-copy{margin:32px 0 9px}.story-copy h1{font-size:39px;letter-spacing:-1px;margin:12px 0}.story-copy>p:last-child,.story-photo{display:none}.login-story .eyebrow{font-size:9px}.login-form-side{padding:22px 25px}.login-box{padding-top:30px;max-width:400px}.login-box h2{font-size:47px}.login-box>.preview-pill{margin-bottom:20px}.login-footnote{margin-top:30px}.admin-layout{display:block}.sidebar{position:fixed;left:0;width:250px;transform:translateX(-100%);transition:transform .2s}.admin-layout.menu-open .sidebar{transform:translateX(0)}#admin-menu{display:block;flex-shrink:0;width:32px;height:32px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--navy)}.workspace-top{padding:15px 18px;height:auto;min-height:66px;font-size:10px}.workspace-top>span:nth-child(2){flex:1}.workspace-top>span:nth-child(2){font-size:0}.workspace-top strong{font-size:12px}.top-divider{display:none}.preview-pill{font-size:9px;padding:5px 9px}.demo-banner{padding:11px 20px}.demo-banner p{font-size:10px}#workspace-content{padding:28px 20px}.view-header{align-items:flex-start;flex-wrap:wrap;gap:18px;margin-bottom:24px}.view-header h1{font-size:36px}.view-header p:not(.eyebrow){font-size:12px}.view-header>.button{min-height:40px;padding:10px 14px;font-size:12px}.stat-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-card{padding:18px}.stat-card strong{font-size:30px}.stat-icon{display:grid;width:30px;height:30px;font-size:16px}.overview-grid{gap:20px}.site-preview img{height:190px}.site-preview-copy{padding:20px;flex-wrap:wrap}.site-preview-copy h3{font-size:24px}.panel-heading{padding:20px}.quick-list{display:block;padding:5px 20px}.quick-action{padding-block:16px}.workspace-footer{padding:20px;display:block;font-size:9px}.workspace-footer span{display:block;margin-top:8px}.media-grid{grid-template-columns:1fr}.media-card>img{height:220px}.form-grid{grid-template-columns:1fr}.settings-form{padding:23px}.settings-note{padding:20px 23px}.filter-count{white-space:nowrap}.content-table td,.content-table th{padding:16px}.dialog-actions{flex-wrap:wrap}.dialog-actions .button{flex:1}.toast{right:20px;bottom:20px}dialog{padding:24px}.dialog-header h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sr-only{left:0;top:0}.overview-grid>*,.panel,.table-wrap{min-width:0}.table-wrap{max-width:100%}

button:disabled{opacity:.55;cursor:wait}.prayer-admin-list{padding:0 25px}.prayer-admin-card{padding:28px 0;border-bottom:1px solid var(--line)}.prayer-admin-card:last-child{border:0}.prayer-admin-card h2{font-family:var(--serif);font-size:26px;margin:14px 0 8px}.prayer-admin-date{font-size:11px;color:var(--muted)}.prayer-admin-card p{font-size:13px;overflow-wrap:anywhere}.prayer-admin-message{white-space:pre-wrap;margin:22px 0}.prayer-admin-card label{max-width:220px}.prayer-admin-card select{margin-top:10px}

/* Photo framing tools */
#editor-dialog:has(.photo-editor:not([hidden])){width:min(720px,calc(100% - 32px))}.photo-editor{margin-top:20px;padding:18px;background:#f5f8fa;border:1px solid var(--line);border-radius:10px}.photo-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.photo-editor-heading strong{font-size:13px;font-weight:600}.photo-editor-heading>span{font-size:10px;color:var(--muted)}.photo-editor-stage{position:relative;width:100%;max-width:420px;aspect-ratio:var(--photo-ratio);margin:auto;background:#edf2f6;border:1px solid #c6d6e1;border-radius:7px;overflow:hidden;isolation:isolate}.photo-editor-stage.is-round{max-width:300px;border-radius:50%}.photo-editor-stage canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.photo-editor-stage canvas.dragging{cursor:grabbing}.photo-editor-stage canvas:focus-visible{outline:3px solid var(--gold);outline-offset:-4px}.photo-editor-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,transparent calc(33.333% - .5px),#fff6 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#fff6 66.666%,transparent calc(66.666% + .5px)),linear-gradient(to bottom,transparent calc(33.333% - .5px),#fff6 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#fff6 66.666%,transparent calc(66.666% + .5px))}.photo-editor-status{font-size:10px;color:var(--muted);margin:11px 0 16px;text-align:center;min-height:17px}.photo-editor-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.photo-editor-controls label{font-size:11px;font-weight:500;margin:0;min-width:0}.photo-editor-controls label:first-child{grid-column:1/-1}.photo-editor-controls select{margin-top:8px;font-size:12px;min-height:40px;padding:10px}.photo-editor-controls input[type=range]{appearance:auto;accent-color:var(--navy);width:100%;min-height:24px;padding:0;margin:10px 0 0;border:0;background:transparent;cursor:pointer}.photo-editor-controls label:nth-child(2){grid-column:1/-1}.photo-editor-controls output{float:right;color:var(--blue);font-size:11px}.photo-editor-actions{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0 16px}.photo-editor-actions button{min-height:36px;padding:8px 12px;background:#fff;border:1px solid #ccdae3;border-radius:5px;color:var(--navy);font-size:11px}.photo-editor-actions button:last-child{margin-left:auto}.photo-editor>.field-help{line-height:1.7}.media-card>img[style*="contain"]{background:#edf2f6}
@media(max-width:500px){.photo-editor{padding:13px}.photo-editor-heading{display:block}.photo-editor-heading>span{display:block;margin-top:6px}.photo-editor-controls{gap:16px 13px}.photo-editor-actions{gap:6px}.photo-editor-actions button{padding:8px;font-size:10px}}

@media(min-width:600px){.photo-editor{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:14px 18px}.photo-editor-heading{grid-column:1/-1;margin-bottom:0}.photo-editor-stage{grid-column:1;grid-row:2/4;align-self:start}.photo-editor-status{grid-column:1;margin:0}.photo-editor-controls{grid-column:2;grid-row:2;gap:13px}.photo-editor-actions{grid-column:2;grid-row:3;align-self:start;gap:6px;margin:0}.photo-editor-actions button{padding:7px 8px;font-size:10px}.photo-editor-actions button:last-child{margin-left:0}.photo-editor>.field-help{grid-column:1/-1;margin:0}}
