/* A compact, account-private practice workspace. */
.faith-page{--faith-pine:#274c41;--faith-muted:#65776d;--faith-line:#dce2d8;max-width:1050px;margin:auto;color:#293e34}.faith-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.faith-heading h1{font-size:32px;letter-spacing:-.5px;margin:0}.faith-kicker{font-size:10px;color:var(--faith-muted);margin:2px 0 5px;letter-spacing:.7px}.faith-heading .text-button{padding:8px;flex-shrink:0}.faith-page p{line-height:1.55}.faith-private{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#617469;background:#e9eee6;border-radius:20px;padding:4px 9px}.faith-intro{font-size:12px;color:var(--faith-muted);margin:0 0 16px;max-width:650px}.faith-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.faith-card{border:1px solid var(--faith-line);border-radius:16px;padding:19px;background:#fcfbf6;min-width:0}.faith-card h2{font-size:22px;margin:0 0 10px}.faith-card h3{font:17px/1.3 Georgia,serif;overflow-wrap:anywhere}.faith-card p:last-child{margin-bottom:0}.faith-card-wide{grid-column:1/-1}.faith-card-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.faith-card-head h2{margin:0}.faith-card-head .text-button{padding:5px;min-width:44px;min-height:44px}.faith-hero{background:var(--faith-pine);border:0;color:#fff5df;position:relative;overflow:hidden}.faith-hero:after{content:'☾';position:absolute;right:21px;top:-23px;font:120px Georgia,serif;color:#eff4db12;pointer-events:none}.faith-hero .faith-kicker,.faith-hero .faith-note{color:#d4dfd3}.faith-hero h2{font-size:28px;margin:8px 0 4px;position:relative}.faith-hero .secondary{border-color:#a9c2ae;color:#fff6e7}.faith-hero .faith-actions{position:relative;z-index:1}.faith-note{font-size:11px;color:var(--faith-muted);margin:6px 0;overflow-wrap:anywhere}.faith-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.faith-actions button,.faith-actions a{min-height:44px}.faith-launchers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 16px}.faith-launch{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;min-height:94px;padding:13px 12px;border:1px solid var(--faith-line);border-radius:13px;text-align:left;background:#fcfbf6;color:var(--faith-pine);font-size:12px}.faith-launch span{font-size:23px;line-height:1}.faith-launch small{color:var(--faith-muted);font-size:10px}.faith-launch:hover{background:#eaf0e7}.faith-datebar{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 0 12px}.faith-datebar label{margin:0;flex:1;max-width:220px}.faith-datebar input{background:#fcfbf6;font-size:13px}.faith-datebar button{padding:9px;min-width:44px}.faith-times{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:18px 0 12px}.faith-time{text-align:center;border-right:1px solid #ffffff28;padding:2px}.faith-time:last-child{border:0}.faith-time small{display:block;font-size:10px;color:#d4dfd3}.faith-time b{display:block;font:23px Georgia,serif;margin-top:5px}.faith-sunrise{font-size:11px;padding:9px 0;border-top:1px solid #ffffff28;color:#e4eadc}.faith-source{font-size:11px;color:var(--faith-muted);overflow-wrap:anywhere}.faith-source a{text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:44px}.faith-empty{padding:14px 0;margin:0;color:var(--faith-muted);font-size:12px}.faith-notice{border:1px solid #d7c69f;border-radius:12px;padding:13px;background:#f8f1df;font-size:12px;margin:10px 0}.faith-notice p{margin-bottom:8px}.faith-record{padding:14px 0;border-bottom:1px solid var(--faith-line);overflow-wrap:anywhere}.faith-record:last-child{border:0;padding-bottom:0}.faith-record h3{margin:0 0 5px}.faith-record .faith-note{margin:3px 0}.faith-record-text{white-space:pre-wrap;font-size:12px;margin:8px 0}.faith-record-actions{display:flex;gap:14px;flex-wrap:wrap}.faith-record-actions .text-button{font-size:11px;min-height:44px;padding:7px 2px}.faith-tag{font-size:10px;padding:3px 7px;border-radius:5px;background:#e8eee2;display:inline-block;color:#42604b}.faith-compass{display:grid;place-items:center;margin:8px auto 0;max-width:250px}.faith-compass svg{display:block;width:100%;height:auto}.faith-bearing{text-align:center;font:30px Georgia,serif;margin:0 0 10px}.faith-north-note{text-align:center;font-size:11px;color:var(--faith-muted);max-width:310px;margin:0 auto 12px}.faith-hijri{font:26px Georgia,serif;color:var(--faith-pine);margin:10px 0 6px}.faith-modal{max-width:100%;overflow-wrap:anywhere}.faith-modal h2{font:25px Georgia,serif;margin:0 0 12px}.faith-form label{margin:12px 0;color:#53685a;font-size:12px}.faith-form label input,.faith-form label select,.faith-form label textarea{font-size:16px}.faith-form .faith-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.faith-form .faith-two label{min-width:0;margin:6px 0}.faith-form .check-row{gap:10px;align-items:flex-start;border:0;font-size:12px;min-height:44px}.faith-form .check-row input{margin:3px 0 0;flex:0 0 18px;width:18px;min-height:18px;height:18px}.faith-form fieldset{border:1px solid var(--faith-line);border-radius:10px;margin:14px 0;padding:12px}.faith-form legend{font-size:12px;padding:0 5px}.faith-form [role=alert]{color:#8a462d;font-size:12px;white-space:pre-wrap}.faith-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.faith-form-actions button{flex:1}.faith-form details{margin:12px 0;font-size:12px}.faith-form summary{min-height:44px;cursor:pointer;padding-top:12px}.faith-modal textarea[readonly]{font:12px/1.5 monospace;white-space:pre-wrap;min-height:160px}.faith-status{font-size:12px;color:var(--faith-muted);margin:10px 0}.faith-page button{max-width:100%}.faith-page .primary{background:var(--faith-pine)}
@media(max-width:760px){.faith-heading{margin-bottom:11px}.faith-heading h1{font-size:28px}.faith-grid{gap:10px}.faith-card{padding:16px;border-radius:14px}.faith-card h2{font-size:21px}.faith-intro{font-size:11px;margin-bottom:12px}.faith-launchers{gap:7px}.faith-launch{min-height:86px;padding:11px 10px;font-size:11px;gap:6px}.faith-launch small{font-size:9px}.faith-hero h2{font-size:25px}.faith-time b{font-size:21px}.faith-times{margin:16px 0 10px}.faith-grid>.faith-card{grid-column:1/-1}.faith-modal{padding-top:3px}.faith-form .faith-two{gap:8px}.faith-form .primary,.faith-form .secondary{font-size:12px}.faith-heading .text-button{font-size:11px}.faith-compass{max-width:220px}}
@media(max-width:350px){.faith-launchers{grid-template-columns:repeat(2,minmax(0,1fr))}.faith-time b{font-size:18px}.faith-time small{font-size:9px}.faith-form .faith-two{grid-template-columns:1fr}}

/* Dark prayer surfaces must keep their own contrast under every age palette. */
body[data-family-theme] main .faith-hero :is(h2,p,small){color:#fff6df}
body[data-family-theme] main .faith-hero :is(.faith-kicker,.faith-note,.faith-time small){color:#e0eade}
body[data-family-theme] main .faith-hero .secondary{background:#fffaf0;color:#274c41;border-color:#d8e3d8}
body[data-family-theme] main .faith-hero .secondary:hover{background:#e9f0e5;color:#1e3c32}
body[data-family-theme] main .faith-hero h2{font-variant-numeric:tabular-nums}

/* Keep the small home card readable under every age palette. */
body[data-family-theme] main .faith-home-card,.faith-home-card{box-sizing:border-box;margin:14px 0 20px;padding:18px 20px;border:1px solid #cad8cb;border-radius:18px;background:#f5f7ee;color:#244b3d;min-width:0;max-width:100%;overflow-wrap:anywhere;text-align:left}
body[data-family-theme] main .faith-home-card :is(h2,p,span,strong),.faith-home-card :is(h2,p,span,strong){color:#244b3d}
.faith-home-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}.faith-home-card h2{font-size:20px;line-height:1.3;margin:0;font-weight:650}.faith-home-private{font-size:11px;white-space:nowrap}.faith-home-date{font-size:12px;line-height:1.5;margin:6px 0 12px}.faith-home-next{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:15px;line-height:1.5}.faith-home-next strong{font-size:30px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}.faith-home-source{font-size:12px;line-height:1.5;margin:7px 0 6px}.faith-home-actions{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}.faith-home-actions>div:empty{display:none}
body[data-family-theme] main .faith-home-card .faith-home-link,.faith-home-card .faith-home-link{display:inline-flex;align-items:center;justify-content:flex-start;min-height:44px;max-width:100%;padding:8px 0;border:0;border-radius:5px;background:transparent;color:#244b3d;font-size:13px;line-height:1.35;text-align:left;text-decoration:underline;text-underline-offset:4px}
body[data-family-theme] main .faith-home-card .faith-home-reading,.faith-home-card .faith-home-reading{display:block;min-height:44px;max-width:100%;padding:8px 0;border:0;border-radius:5px;background:transparent;color:#244b3d;font-size:13px;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:anywhere}
.faith-home-card button:focus-visible{outline:3px solid #244b3d;outline-offset:3px}.faith-home-card button:hover{text-decoration-thickness:2px}
/* These selectors intentionally outrank the shared age-theme typography. */
body[data-family-theme] main .faith-home-card h2{font-size:20px;line-height:1.3;margin:0}
body[data-family-theme] main .faith-home-card .faith-home-private{font-size:11px;line-height:1.3}
body[data-family-theme] main .faith-home-card .faith-home-date{font-size:12px;line-height:1.45;margin:5px 0 8px}
body[data-family-theme] main .faith-home-card .faith-home-source{font-size:12px;line-height:1.45;margin:5px 0 6px}
body[data-family-theme] main .faith-home-card .faith-home-next{font-size:15px;line-height:1.4}
body[data-family-theme] main .faith-home-card .faith-home-next strong{font-size:28px;line-height:1.1}
@media(max-width:760px){
body[data-family-theme] main .faith-home-card,.faith-home-card{padding:14px 16px;margin:12px 0 16px;border-radius:15px}
body[data-family-theme] main .faith-home-card h2,.faith-home-card h2{font-size:19px;line-height:1.3}
body[data-family-theme] main .faith-home-card .faith-home-actions,.faith-home-card .faith-home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;margin-top:7px}
body[data-family-theme] main .faith-home-card .faith-home-actions>div:not(:empty),.faith-home-card .faith-home-actions>div:not(:empty){display:contents}
body[data-family-theme] main .faith-home-card .faith-home-link,.faith-home-card .faith-home-link{box-sizing:border-box;justify-content:center;min-height:44px;width:100%;padding:6px 8px;border:1px solid #cad8cb;border-radius:9px;background:#ebf0e4;font-size:12px;line-height:1.3;text-align:center;text-decoration:none}
body[data-family-theme] main .faith-home-card .faith-home-next strong,.faith-home-card .faith-home-next strong{font-size:28px}
}
