
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#f4f0e6;background:#0e1714;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.app{max-width:500px;margin:auto;min-height:100dvh;background:radial-gradient(ellipse at 70% -10%,#2b4533 0%,transparent 43%),#101b17;padding:24px 18px 108px}.top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:29px}.brand{display:flex;align-items:center;gap:12px}.brandmark{height:46px;width:46px;border-radius:14px;background:#294336;display:grid;place-items:center;color:#e9c17f;font-size:23px;border:1px solid #486550}.brand strong{display:block;font-size:19px;letter-spacing:2.2px}.brand small{display:block;font-size:9px;letter-spacing:1.2px;color:#b6c4b8;margin-top:3px}.avatar{border:1px solid #58735b;background:#314a39;color:#f3e7d1;font-weight:800;border-radius:100px;width:42px;height:42px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.4px;color:#d6bc81;margin-bottom:7px}.heading{font-size:30px;line-height:1.14;letter-spacing:-.7px;font-weight:790;margin:0 0 9px}.sub{color:#a8b9ad;font-size:13px;line-height:1.55;margin:0}.section-title{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px;font-size:15px;font-weight:750}.section-title small{color:#bdc7b9;font-size:11px;font-weight:500}.cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.card,.panel{background:#1d3027;border:1px solid #355040;border-radius:17px}.card{padding:17px 15px;min-height:120px}.card .symbol{font-size:20px;color:#e9c17f}.card .number{font-size:31px;font-weight:800;letter-spacing:-1px;margin:12px 0 3px}.card .number span{font-size:12px;color:#e9c17f;letter-spacing:0}.muted{color:#aec1b2;font-size:12px}.panel{padding:15px}.check{display:flex;align-items:center;gap:13px;width:100%;padding:15px;background:#22382d;color:#f5f1e7;border:1px solid #3d5845;border-radius:15px;text-align:left;margin-bottom:10px}.check.done{border-color:#8aab80;background:#2b4532}.check .iconbox{height:43px;width:43px;display:grid;place-items:center;border-radius:13px;background:#3a5140;font-size:22px}.check .text{flex:1;min-width:0}.check strong{display:block;font-size:14px}.check small{display:block;font-size:11px;color:#b4c7b8;margin-top:5px}.check .status{color:#eac784;font-size:20px}.member{display:flex;align-items:center;gap:11px;padding:12px 8px;border-bottom:1px solid #334a3a}.member:last-child{border-bottom:0}.rank{min-width:19px;text-align:center;color:#e9c17f;font-size:14px;font-weight:800}.circle{display:grid;place-items:center;height:35px;width:35px;border-radius:50%;background:#3b5642;font-size:12px;font-weight:750;color:#ead8a8}.member .info{flex:1}.member strong{font-size:13px;display:block}.member small{font-size:11px;color:#aebcaf;display:block;margin-top:4px}.points{color:#e7c17e;font-weight:800;font-size:13px;white-space:nowrap}.tabs{display:flex;background:#192820;border:1px solid #354d3d;border-radius:13px;padding:4px;gap:4px}.tabs button{flex:1;min-width:0;border:0;background:transparent;color:#aebfac;padding:10px 7px;border-radius:10px;font-size:12px;font-weight:700}.tabs button.selected{background:#455d44;color:#fff3d9}.bottom{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(500px,100%);display:flex;justify-content:space-around;align-items:center;padding:10px 5px max(12px,env(safe-area-inset-bottom));background:#122119f5;border-top:1px solid #37503e;z-index:10;backdrop-filter:blur(15px)}.nav{background:none;border:0;color:#95a99a;display:flex;align-items:center;flex-direction:column;gap:5px;min-width:56px;font-size:10px}.nav span:first-child{font-size:21px}.nav.current{color:#e9c17f}.btn{background:#dfb870;color:#17251b;border:0;border-radius:12px;padding:13px 18px;font-size:13px;font-weight:800}.btn.secondary{background:#344a3a;color:#f2ead8;border:1px solid #516955}.btn.ghost{background:transparent;color:#e9c17f;border:1px solid #718064}.full{width:100%}.field{margin:16px 0}.field label{display:block;font-size:12px;font-weight:700;margin-bottom:8px}.field input,.field textarea,.field select{width:100%;color:#f4f0e6;background:#15251c;border:1px solid #516551;padding:13px;border-radius:11px;outline:none;font-size:14px}.field textarea{min-height:95px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#e5bf7b}.hint{font-size:11px;color:#9fad9e;margin-top:7px;line-height:1.6}.switchline{display:flex;align-items:center;gap:12px}.switchline input{accent-color:#bfa16a;width:20px;height:20px}.notice{background:#293925;border:1px solid #4e6545;border-radius:12px;padding:12px 14px;color:#d6e0d1;font-size:11px;line-height:1.6;margin:16px 0}.activity{padding:13px 0;border-bottom:1px solid #32483a}.activity:last-child{border-bottom:0}.activity .line{font-size:13px;line-height:1.5}.activity small{color:#aab9a9;display:block;margin-top:5px;font-size:11px}.activity .note{margin-top:9px;background:#15261d;padding:10px;border-radius:8px;color:#d4dccf;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.pill{display:inline-block;border-radius:40px;padding:5px 9px;font-size:10px;font-weight:800;background:#3d513e;color:#e9c17f}.progress{height:8px;border-radius:5px;background:#354a3b;overflow:hidden;margin-top:10px}.progress>div{height:100%;background:#deb971;border-radius:5px}.space{height:10px}.empty{text-align:center;color:#aab9a9;padding:32px 14px;font-size:13px}.tiny{font-size:11px;color:#a9b8aa;line-height:1.6}.foot{margin-top:28px;color:#9caf9f;font-size:11px;text-align:center;line-height:1.6}.toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%);z-index:50;background:#e3bf78;color:#1c291d;border-radius:12px;padding:12px 18px;font-size:13px;font-weight:800;box-shadow:0 10px 40px #0007;max-width:90vw;text-align:center}.modal-back{position:fixed;inset:0;background:#020a06c9;z-index:30;display:flex;justify-content:center;align-items:flex-end}.modal{background:#1b2d23;color:#f4f0e6;border:1px solid #52694d;border-bottom:0;border-radius:23px 23px 0 0;width:min(500px,100%);padding:22px 20px max(30px,env(safe-area-inset-bottom));max-height:88dvh;overflow:auto}.modal-head{display:flex;align-items:center;justify-content:space-between}.close{border:0;background:#304537;color:white;border-radius:50%;height:33px;width:33px}.modal h2{margin:0;font-size:22px}.flex{display:flex;gap:9px}.flex>*{flex:1}.weekly{display:flex;gap:7px;margin-top:15px}.day{flex:1;text-align:center;font-size:10px;color:#b5c2b5}.day i{display:grid;place-items:center;font-style:normal;margin:7px auto 0;height:30px;width:30px;border-radius:9px;background:#34493a;color:#93a99a}.day i.yes{background:#52734f;color:white}.day i.today{outline:1px solid #e7c17e}.banner{border-left:3px solid #e3bf78;padding-left:12px;margin-top:16px;color:#b7c6b6;font-size:12px;line-height:1.6}

@media(min-width:580px){body{background:#08110c}.app{box-shadow:0 0 80px #0007}}.prayer-card{padding:16px;margin:12px 0}.prayer-card p{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.stack{display:flex;flex-direction:column;gap:10px}.mini{font-size:11px;color:#afc4b3}.input{width:100%;background:#16261d;border:1px solid #536951;border-radius:10px;color:#f4f0e6;padding:12px}.form{display:grid;gap:12px}.danger{color:#f2b7a6}.hidden{display:none!important}.busy{opacity:.7;pointer-events:none}.nav{min-width:48px}.callout{border:1px solid #567353;background:#283d2e;padding:13px;border-radius:12px;font-size:12px;color:#ecdbc1;line-height:1.5}.link-btn{border:0;background:transparent;color:#eac581;padding:0;font-weight:700;font-size:12px}.prayer-tags{display:flex;gap:6px;flex-wrap:wrap}.date{font-size:11px;color:#b6c6b6}.title-sm{font-size:17px;font-weight:750}.switch{accent-color:#dbc17a;width:19px;height:19px}.separator{border:0;border-top:1px solid #39513f;margin:14px 0}.activity .note{white-space:pre-wrap}.no-top{margin-top:0}.step{background:#21352a;border-radius:14px;padding:15px}.hint strong{color:#e8cb8c}/* EIBWTB V6 social/feed details; clean icons and understated interactions */
.heading{font-size:clamp(25px,7vw,30px);line-height:1.16;margin-top:4px;margin-bottom:17px}
.brandmark{font-size:21px}.symbol,.iconbox,.post-glyph{font-weight:800;color:#e9c17f}
.social-card{margin:14px 0;padding:17px}.social-card h3{margin:16px 0 8px;font-size:16px;font-weight:800}.member-head{display:flex;align-items:center;gap:10px}.post-glyph{font-size:24px}.post-detail{font-size:12px;color:#e2c18b;margin-bottom:8px}.post-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#e2e9dd;line-height:1.55}.social-actions{display:flex;gap:10px;margin:13px 0 2px}.social-actions button{flex:1;padding:11px 9px}.active-like{background:#4b634b;color:#fff4d8;border:1px solid #a1ba86}.post-photo{display:block;width:100%;max-height:420px;object-fit:cover;border-radius:12px}.photo-open{display:block;background:none;border:0;padding:0;width:100%;margin:12px 0}.large-photo{max-width:100%;width:100%;max-height:70vh;object-fit:contain;border-radius:10px}.thread{margin-top:15px}.comment{background:#15271d;border:1px solid #3b5441;border-radius:11px;padding:11px;margin-bottom:9px}.comment strong{font-size:12px}.comment p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.comment small{color:#a6b8aa;font-size:10px}.comment-form{display:flex;gap:8px;margin-top:10px}.comment-form input,.profile-summary+input,#profile-name{flex:1;min-width:0;background:#15251c;color:white;border:1px solid #506b50;border-radius:10px;padding:12px;font-size:13px}.comment-form .btn{padding:10px 12px}.prayer-update{background:#2b4132;border-left:3px solid #c4a66b;padding:12px;border-radius:7px;margin-bottom:11px}.prayer-update strong{font-size:11px;color:#e1c286}.prayer-update p{margin:8px 0 0!important}.prayer-card .row{margin-top:12px}.notification{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #3a5040;font-size:13px}.notification input{accent-color:#dbbb80;width:20px;height:20px}.profile-summary{text-align:center;margin-top:20px}.profile-summary strong{display:block;font-size:19px;margin:12px 0 5px}.big-circle{width:64px;height:64px;margin:auto;font-size:26px}.label{font-size:12px;display:block;margin-bottom:8px}.nav-glyph{font-size:23px;line-height:1.1}.nav span:first-child{font-size:23px}.panel .row>div{min-width:0}

/* V7 password login */
.reset-link{display:block;margin:16px auto 0;text-align:center}.panel h2{font-size:20px}.field input[type=password]{letter-spacing:.04em}

/* V9: respect iPhone Dynamic Island / status bar and enlarge account tap target. */
.app{padding-top:max(24px,calc(env(safe-area-inset-top,0px) + 16px));}
.top{min-height:54px;align-items:center;gap:8px;margin-bottom:25px;}
.brand{min-width:0;gap:10px;}
.brandmark{flex:0 0 46px;font-size:initial;}
.brand-symbol{width:28px;height:28px;display:block;}
.brand strong{font-size:18px;}
.brand small{font-size:8px;letter-spacing:1px;white-space:nowrap;}
.avatar{display:flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:95px;min-height:48px;height:48px;padding:5px 12px;border-radius:15px;flex-shrink:0;touch-action:manipulation;}
.avatar-initial{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#4a6850;color:#f3e7d1;font-size:13px;}
.avatar-label{font-size:12px;font-weight:750;letter-spacing:.1px;}
.avatar:focus-visible{outline:3px solid #e9c17f;outline-offset:3px;}
@media(max-width:370px){.brandmark{flex-basis:40px;width:40px;height:40px}.brand small{font-size:7px;letter-spacing:.45px}.brand strong{font-size:16px}.avatar{min-width:48px;padding:5px 8px}.avatar-label{display:none}}

/* V10 personal check-in history */
.history-tabs{margin:10px 0 16px}.history-list{display:grid;gap:12px}.history-entry{padding:16px;margin:0}.history-heading{display:flex;align-items:center;gap:12px}.history-heading strong{font-size:14px}.history-icon{display:grid;place-items:center;min-width:41px;height:41px;background:#39543e;border-radius:12px;color:#e9c17f;font-size:20px}.history-detail{font-size:13px;color:#e3c488;margin:13px 0 6px}.history-notes{white-space:pre-wrap;overflow-wrap:anywhere;color:#e8ede5;font-size:13px;line-height:1.55}.history-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:13px}.history-actions .btn{padding:10px 14px}.history-delete{border-color:#987c6c!important;color:#f0c5b2!important}.history-photo{display:block;max-width:100%;width:100%;height:auto;max-height:240px;object-fit:cover;border-radius:12px}.history-confirm{line-height:1.7;font-size:14px}.history-danger{background:#a84740;color:white}.history-danger:hover{background:#923b36}

/* V11: Inline My History underneath Account > This Week */
.history-tabs{margin-top:0}.history-list{margin-bottom:8px}.history-warning{margin:12px 0 0;line-height:1.55}

/* V12: calendar and weekly group recap */
.cal-panel,.recap-panel{margin-bottom:16px}
.cal-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.cal-header strong{font-size:1.04rem}.cal-nav{min-width:42px;min-height:42px;border:1px solid #526954;border-radius:12px;background:#283e30;color:#e6c080;font-size:1.5rem;cursor:pointer}
.cal-nav:disabled{opacity:.3;cursor:default}.cal-weekdays,.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;text-align:center}
.cal-weekdays{font-size:.7rem;color:#a7b7aa;margin-bottom:6px}.cal-cell{border:1px solid #344d3d;border-radius:9px;min-height:44px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:.9rem;color:#f7eedf;gap:0}
.cal-cell small{font-size:.54rem;letter-spacing:.05em;font-weight:bold}.cal-cell.bible{background:#315a46;border-color:#5b9273}.cal-cell.gym{background:#5b4830;border-color:#b89858}.cal-cell.both{background:#53745c;border-color:#d9b874}.cal-cell.cal-today{outline:2px solid #e0bc77;outline-offset:1px}.cal-cell.cal-empty{border-color:transparent}
.cal-legend{display:flex;flex-wrap:wrap;gap:15px;font-size:.75rem;color:#bacabc;margin:16px 0 8px}.cal-legend span{display:flex;align-items:center;gap:6px}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.legend-dot.bible{background:#5b9273}.legend-dot.gym{background:#b89858}.legend-dot.both{background:#d9b874}
.recap-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.recap-heading small{color:#a7b7aa}.recap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}.recap-grid>div{background:#2a4033;border:1px solid #3c5644;border-radius:13px;padding:14px;display:flex;flex-direction:column;gap:4px}.recap-grid b{font-size:1.5rem;color:#e4bf79}.recap-grid small{color:#bacabc;font-size:.75rem}

/* V13: member profile pictures */
.portrait{overflow:hidden;flex-shrink:0}.portrait img,.avatar-initial img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.avatar-initial{overflow:hidden;flex-shrink:0}.profile-picture-tools{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:18px 0 10px}.profile-photo-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;min-height:44px}.profile-picture-tools .btn{min-height:44px}.comment-author{display:flex;align-items:center;gap:9px}.comment-author .portrait{width:25px;height:25px;font-size:10px}.prayer-card .member-head{display:flex;align-items:center;gap:9px}.prayer-card .member-head>div{min-width:0}

/* V14 member directory and public member profiles */
.member-avatar-link,.member-name-link,.member-arrow{border:0;background:transparent;color:inherit;padding:0;cursor:pointer}.member-avatar-link{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;min-width:42px;min-height:44px}.member-avatar-link .circle{pointer-events:none}.member-name-link{font-size:inherit;font-weight:inherit;text-align:left;text-decoration:underline;text-decoration-color:#6e846e;text-underline-offset:3px}.member-name-link:focus-visible,.member-avatar-link:focus-visible,.member-arrow:focus-visible{outline:2px solid #e9c17f;outline-offset:3px}.member-arrow{font-size:27px;color:#e9c17f;min-width:36px;min-height:44px}.member-profile-header{text-align:center;margin-top:12px}.member-profile-header .big-circle{height:84px;width:84px;font-size:32px}.member-profile-header h2{margin:14px 0 5px;font-size:22px}.member-back{min-height:42px}.member-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.member-stat-grid .panel{text-align:center;padding:14px 4px}.member-stat-grid strong{display:block;color:#e9c17f;font-size:25px}.member-stat-grid small{display:block;color:#b9c8ba;font-size:11px;margin-top:6px}.member-week-stats{margin-top:12px}.member-week-stats .tiny{margin-bottom:0}.member .info{min-width:0}.member-head .member-name-link{font-size:inherit}.comment-author .member-name-link{font-size:12px;font-weight:700}.member-name-link:hover{color:#e9c17f}
