:root {
  color-scheme: light;
  --paper:#f8f3ef; --card:#fffdfb; --ink:#322230; --muted:#66535e;
  --plum:#4b2a40; --rose:#855363; --line:#e5d8d9; --soft:#f4e8e8;
  --display:Georgia, 'Times New Roman', serif;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color:var(--ink); background:var(--paper); font-synthesis:none;
}
* { box-sizing:border-box }
[hidden] { display:none !important }
body { margin:0; min-width:280px; min-height:100dvh }
button,input,textarea { font:inherit; color:inherit }
button,a,input,textarea,summary { -webkit-tap-highlight-color:transparent }
button,summary { cursor:pointer }
a { color:var(--plum) }
svg { width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; flex-shrink:0 }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,video:focus-visible { outline:2px solid #a05677; outline-offset:3px }
.shell { display:grid; grid-template-columns:235px minmax(0,1fr); min-height:100dvh }
.rail { display:flex; flex-direction:column; position:sticky; top:0; height:100dvh; padding:32px 22px 26px; background:#fffcfa; border-right:1px solid var(--line) }
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; white-space:nowrap; font:600 17px/1.1 var(--display) }
.brand i { font-weight:400 }
.brand small { display:block; margin-top:5px; font:650 9px/1.2 system-ui,sans-serif; letter-spacing:.17em; color:var(--rose) }
.nav { display:grid; gap:5px; margin-top:57px }
.nav a { display:flex; align-items:center; gap:11px; min-height:48px; padding:0 13px; text-decoration:none; border-radius:12px; color:var(--muted); font-size:.9rem; font-weight:650 }
.nav a:hover,.nav a[aria-current] { background:var(--soft); color:var(--plum) }
.rail-foot { margin-top:auto; padding:14px 12px 0; border-top:1px solid var(--line); color:var(--rose); display:flex; align-items:center; gap:10px; font:italic 16px/1.3 var(--display) }
.rail-foot svg { width:17px }
main { width:min(100%,1280px); margin:0 auto; padding:34px clamp(22px,4vw,64px) 44px; min-width:0 }
.page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px 24px; flex-wrap:wrap; margin-bottom:23px }
.eyebrow { font-size:.68rem; font-weight:750; letter-spacing:.15em; margin:0 0 7px; color:var(--rose); line-height:1.35 }
h1,h2,h3 { font-family:var(--display); font-weight:500; margin:0; line-height:1.12 }
h1 { font-size:clamp(2.5rem,5vw,4rem); letter-spacing:-.045em }
h2 { font-size:clamp(1.6rem,2.8vw,2rem); letter-spacing:-.026em }
h3 { font-size:1.54rem }
p { line-height:1.54 }
.date-tools { display:flex; flex-wrap:wrap; align-items:center; gap:5px }
.icon-btn,.date-today,.text-btn { background:var(--card); border:1px solid var(--line); border-radius:10px; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:42px }
.icon-btn { width:42px; padding:0; font-size:1.5rem }
.date-today,.text-btn { padding:0 11px; font-size:.81rem; font-weight:680 }
.date-tools input { width:143px; min-height:42px; border:1px solid var(--line); border-radius:10px; padding:0 7px; background:var(--card); font-size:1rem }
.hero { position:relative; isolation:isolate; overflow:hidden; background:linear-gradient(105deg,#47263a,#63364b); border-radius:21px; padding:31px clamp(21px,4vw,41px); color:#fff6ec; min-height:235px; box-shadow:0 11px 25px #47263a19 }
.hero-copy { position:relative; z-index:1 }
.hero .eyebrow { color:#f3c7a9; margin-bottom:11px }
.hero .eyebrow span { margin-right:5px }
.hero h2 { font-size:clamp(2.55rem,5.7vw,4.15rem); line-height:.99; letter-spacing:-.045em }
.hero p:last-child { color:#f4dfde; margin:13px 0 0; font-size:.9rem }
.phone-br { display:none }
.dashboard { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr); gap:22px; margin-top:27px }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:8px; margin-bottom:12px }
.section-head .eyebrow { margin-bottom:3px }
.card { background:var(--card); border:1px solid var(--line); border-radius:15px }
.priority { padding:14px 15px 11px; margin-bottom:9px }
.priority label,.reflection label,.reminder label { font-size:.9rem; font-weight:700 }
.priority label span { color:var(--rose); margin-right:5px }
.priority input,.reflection textarea,.task-form input,.reminder input { border:1px solid var(--line); border-radius:8px; background:#fffcfa; width:100%; padding:9px 10px; font-size:1rem }
.priority input { margin-top:7px }
.task-card { margin-bottom:9px; padding:10px 14px }
.task-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:3px }
.task-heading h3 { font:680 .87rem/1.3 system-ui,sans-serif }
.task-heading small { color:var(--muted); font-size:.73rem }
.task-form { display:flex; align-items:stretch; gap:7px; margin-top:6px }
.task-form input { padding:6px 9px; min-height:38px }
.task-form .icon-btn { min-height:38px; width:39px; flex-shrink:0; color:var(--plum); background:var(--soft) }
.tasks { list-style:none; margin:0; padding:0 }
.tasks li { display:flex; align-items:center; justify-content:space-between; gap:8px; border-bottom:1px solid #f0e6e6; font-size:.9rem }
.tasks li label { display:flex; align-items:center; gap:9px; min-height:38px; min-width:0; overflow-wrap:anywhere }
.tasks li label input { accent-color:var(--plum); width:17px; height:17px; flex-shrink:0 }
.tasks li:has(input:checked) label span { color:var(--muted); text-decoration:line-through }
.task-remove { min-height:38px; min-width:35px; border:0; background:none; color:var(--rose); font-size:1.25rem }
.prayer-peek,.reflection { padding:16px; margin-bottom:10px }
.prayer-peek { background:#faeeeb }
.spark { width:35px; height:35px; border-radius:50%; background:#eed8d7; color:#6b3d55; display:grid; place-items:center; margin-bottom:11px; font-size:1rem }
.prayer-peek p:not(.eyebrow),.reflection p { font-size:.88rem; color:var(--muted); margin:8px 0 11px }
.text-link { text-decoration:none; font-size:.83rem; font-weight:740; display:inline-block }
.text-link:hover { text-decoration:underline }
.reflection textarea { resize:vertical; min-height:80px }
.fine { font-size:.78rem; color:var(--muted); line-height:1.45 }
.save-note { margin:10px 0 0 }
.prayer-grid,.shop-grid { display:grid; gap:18px }
.prayer-grid { grid-template-columns:minmax(0,1.25fr) minmax(245px,1fr) }
.prayer-feature,.reminder,.video-copy { padding:clamp(19px,3vw,30px) }
.prayer-feature { background:#faeeeb }
.prayer-feature > p:not(.eyebrow) { font:1.2rem/1.55 var(--display); max-width:38ch }
.prompt { border-top:1px solid #e8d4d7; padding-top:14px; margin-top:18px }
.prompt p:nth-child(2) { margin:4px 0 10px }
.reminder input { display:block; max-width:150px; margin:7px 0 14px }
.primary { color:#fff6ee; background:var(--plum); border:1px solid var(--plum); border-radius:9px; min-height:42px; padding:9px 13px; display:inline-flex; align-items:center; justify-content:center; gap:6px; font-size:.87rem; font-weight:700; text-decoration:none }
.primary:hover { background:#61374e }
.primary svg { width:16px; height:16px }
.video-card { display:grid; grid-template-columns:minmax(180px,315px) minmax(0,1fr); overflow:hidden; align-items:center; max-width:770px }
.video-card video { display:block; width:100%; max-height:62dvh; background:#3f2638; object-fit:contain; aspect-ratio:9/16 }
.video-copy p:not(.eyebrow),.product-copy p:not(.eyebrow),.reminder p { color:var(--muted); font-size:.93rem }
.shop-grid { grid-template-columns:repeat(3,minmax(0,1fr)) }
.product { overflow:hidden }
.product-art { aspect-ratio:1.15; background:#eddcdd; display:grid; place-items:center; padding:16px }
.product-art img { width:auto; height:auto; max-height:210px; max-width:100%; border-radius:3px; box-shadow:6px 8px 14px #4326373c }
.print-art,.journal-art { background:#4d2c40; color:#ffe7d5; text-align:center; align-content:center; gap:7px }
.journal-art { background:#e9cbd1; color:#482d42 }
.product-art i { font:italic clamp(1.6rem,3vw,2.6rem)/.94 var(--display) }
.product-art small { font-size:.6rem; letter-spacing:.16em; font-weight:720 }
.product-copy { padding:15px }
.product-copy h2 { font-size:1.45rem }
dialog { width:min(92vw,510px); border:1px solid var(--line); border-radius:17px; padding:24px; max-height:90dvh; overflow:auto; color:var(--ink); background:var(--card); box-shadow:0 18px 70px #29182448 }
dialog::backdrop { background:#281a26a0 }
dialog details { border-top:1px solid var(--line); padding:11px 0; font-size:.9rem }
dialog summary { font-weight:650 }
dialog details p { margin:7px 0 }
.close-form { position:absolute; right:13px; top:13px }
.close-form .icon-btn { min-height:36px; width:36px }
@media (max-width:940px) {
  .shell { grid-template-columns:190px minmax(0,1fr) }
  .rail { padding-inline:14px }
  .dashboard { gap:13px }
  .shop-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
@media (max-width:720px) {
  .shell { display:block }
  .rail { display:block; height:auto; position:static; padding:13px 19px 0; border:0; background:transparent }
  .brand { width:max-content; font-size:16px }
  .brand img { width:34px; height:34px }
  .rail-foot { display:none }
  .nav { z-index:3; position:fixed; bottom:0; left:0; right:0; margin:0; display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); background:#fffcfa; border-top:1px solid var(--line); padding:5px 9px max(5px,env(safe-area-inset-bottom)); gap:4px }
  .nav a { min-height:48px; justify-content:center; flex-direction:column; gap:3px; padding:3px 2px; font-size:.72rem }
  .nav a svg { width:18px; height:18px }
  main { padding:20px 17px calc(81px + env(safe-area-inset-bottom)) }
  .page-head { margin-bottom:14px; gap:9px 14px }
  .hero { min-height:191px; padding:22px 17px; border-radius:16px }
  .hero p:last-child { font-size:.81rem }
  .dashboard { margin-top:19px; grid-template-columns:minmax(0,1fr); gap:14px }
  .prayer-grid { grid-template-columns:minmax(0,1fr) }
  .shop-grid { gap:12px }
}
@media (max-width:390px) {
  .video-card { grid-template-columns:minmax(0,1fr) }
  .shop-grid { grid-template-columns:minmax(0,1fr) }
  .phone-br { display:block }
}

.install-open {
  align-self:stretch;
  margin-top:16px;
  justify-content:flex-start;
  color:var(--plum);
}
.install-open svg { width:17px; height:17px }
#install-title { padding-right:24px }
@media (max-width:720px) {
  .rail { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:8px }
  .install-open { align-self:center; margin:0; min-height:36px; white-space:nowrap }
}
@media (max-width:335px) {
  .rail { padding-inline:13px }
  .install-open { padding-inline:8px }
}
@media (display-mode:standalone) {
  .install-open { display:none }
}

.guide-intro { padding:21px 23px; background:#f4e6e5; border-radius:15px; margin-bottom:14px }
.guide-intro p { margin:8px 0 0; color:var(--muted) }
.guide-grid,.guide-tools { display:grid; gap:14px }
.guide-grid { grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:0; margin:0 0 14px }
.guide-tools { grid-template-columns:repeat(2,minmax(0,1fr)) }
.guide-step,.guide-panel { padding:clamp(15px,2.5vw,23px) }
.guide-step { display:flex; flex-direction:column; align-items:flex-start }
.guide-step h3 { font-size:1.4rem }
.guide-step p,.guide-panel p:not(.eyebrow,.fine) { font-size:.91rem; color:var(--muted); margin:8px 0 13px }
.guide-step p { flex:1 }
.guide-number { color:var(--rose); font-size:.69rem; font-weight:750; letter-spacing:.13em; margin-bottom:9px }
.guide-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px }
.guide-actions form { margin:0 }
.guide-step a { text-decoration:none }
.guide-panel textarea { display:block; width:100%; margin:5px 0 9px; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:#fffcfa; resize:vertical }
#restore-title { padding-right:24px }
#backup-status:empty,#feedback-status:empty { display:none }
@media (max-width:720px) {
  .nav a { line-height:1.15; text-align:center }
  .guide-grid,.guide-tools { grid-template-columns:minmax(0,1fr) }
}

.alert-grid ol { margin:12px 0; padding-left:20px; color:var(--muted); font-size:.9rem; line-height:1.5 }
.alert-grid li + li { margin-top:8px }
.alert-link { text-decoration:none }
.test-alert { margin-top:14px }
#test-alert-status:empty,#install-status:empty { display:none }

.hero-photo {
  position:absolute; inset:0 0 0 auto; width:56%; height:100%; object-fit:cover;
  object-position:66% 61%; pointer-events:none;
}
.hero::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg,transparent 38%,#583048 44%,#58304882 56%,transparent 72%);
}
.prayer-photo {
  display:block; width:100%; height:clamp(110px,15vw,160px); object-fit:cover;
  object-position:60% 70%; border-radius:10px; margin-top:17px;
}
@media (max-width:720px) {
  .hero-photo { width:59%; object-position:84% 58% }
  .hero::after { background:linear-gradient(90deg,transparent 37%,#523047 41%,#523047a8 61%,#52304732 100%) }
}

.member-entry { width: min(100% - 2rem, 32rem); margin: clamp(1.5rem, 8vh, 5rem) auto; }
.member-entry > .brand { display: inline-flex; margin-bottom: 1.75rem; }
.member-card { padding: clamp(1.4rem, 5vw, 2.3rem); }
.member-card h1 { margin: .35rem 0 .65rem; }
.member-form { display: grid; gap: .45rem; margin-top: 1.5rem; }
.member-form input { width: 100%; min-width: 0; padding: .7rem .8rem; margin-bottom: .55rem; }
.member-form .primary { justify-self: start; margin-top: .3rem; }
.member-links { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; margin-top: 1.3rem; }
.member-notice { padding: .7rem .85rem; border-radius: .7rem; background: #f6e8ee; color: #50293f; }
.member-toolbar { display: flex; justify-content: flex-end; align-items: flex-start; gap: .85rem; margin-bottom: .5rem; }
.member-toolbar #sync-alert { margin-right: auto; }
.member-toolbar #sync-alert p { margin: 0; }
.member-toolbar #member-logout { flex: none; }
.legacy-tools { border-top: 1px solid #e8d8dd; margin-top: 1.25rem; padding-top: 1rem; }

.journal-list { display:grid; gap:12px }
.journal-entry { padding:16px }
.journal-entry summary { font-weight:700 }
.journal-entry time { display:block; margin:4px 0 0 1.25rem; color:var(--muted); font-size:.85rem }
.journal-entry p { white-space:pre-wrap; overflow-wrap:anywhere; margin:12px 0 }
.journal-form { display:grid; gap:8px; margin-top:16px }
.journal-form input,.journal-form textarea { width:100%; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:#fffcfa }
.journal-form textarea { resize:vertical }
.journal-form .primary { justify-self:start; margin-top:6px }
.reflection .text-link { display:inline-block; margin-top:8px }

.planner-tabs { display:flex; gap:4px; width:max-content; max-width:100%; margin:0 0 16px; padding:4px; background:var(--soft); border:1px solid var(--line); border-radius:13px }
.planner-tabs a { display:grid; place-items:center; min-width:70px; min-height:39px; border-radius:9px; padding:3px 12px; text-decoration:none; font-size:.85rem; font-weight:700 }
.planner-tabs a[aria-current] { color:white; background:var(--plum) }
.planner-tabs a:not([aria-current]):hover { background:var(--card) }
.period-label { margin:0 0 12px }
.schedule-card { margin-bottom:9px; padding:13px 14px }
.schedule-head { display:flex; justify-content:space-between; align-items:center; gap:8px }
.schedule-head h3 { font-size:1.35rem }
.schedule-list,.week-days { padding:0; margin:0; list-style:none }
.schedule-row { display:grid; grid-template-columns:minmax(0,112px) minmax(0,1fr); gap:9px; align-items:start; min-height:42px; border-top:1px solid var(--line); font-size:.88rem }
.schedule-row:first-child { margin-top:8px }
.schedule-time { padding:11px 0; color:var(--rose); font-size:.79rem; font-weight:690 }
.schedule-event { text-align:left; background:none; border:0; min-height:42px; padding:7px 0; overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:3px }
.affirmation { margin-bottom:10px; padding:14px 16px; background:#f7eeeb }
.affirmation p:last-child { margin:0; color:var(--plum); font:italic 1.2rem/1.38 var(--display) }
.week-days { display:grid; gap:7px }
.week-day { display:grid; grid-template-columns:minmax(7.5rem,1fr) minmax(0,2fr); gap:7px 14px; padding:13px 15px }
.week-day h3 { font-size:1.26rem }
.week-day a { text-decoration-thickness:1px; text-underline-offset:4px }
.week-summary { display:grid; gap:4px; min-width:0; font-size:.88rem; overflow-wrap:anywhere }
.week-summary p { margin:0 }
.week-summary small { color:var(--muted) }
.month-card { overflow:hidden }
.month-weekdays,.month-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)) }
.month-weekdays { padding:8px 0; color:var(--rose); background:#f7eeeb; text-align:center; font-size:.7rem; font-weight:750 }
.month-day { position:relative; display:grid; place-content:center; min-width:0; min-height:54px; background:var(--card); color:var(--plum); border:0; border-top:1px solid var(--line); border-right:1px solid var(--line); font:700 1rem/1 var(--display); text-decoration:none }
.month-day:nth-child(7n) { border-right:0 }
.month-day:focus-visible { z-index:1; outline-offset:-3px }
.month-day:hover { background:var(--soft) }
.month-day.outside { color:var(--muted); background:#faf5f3 }
.month-day[aria-current="date"] { color:white; background:var(--plum) }
.month-day.has-plan::after { content:''; position:absolute; bottom:7px; left:calc(50% - 3px); width:6px; height:6px; border-radius:50%; background:currentColor }
#schedule-title { padding-right:26px }
@media (max-width:420px) {
  .week-day { grid-template-columns:minmax(5.5rem,.9fr) minmax(0,2fr); gap:7px }
  .week-day h3 { font-size:1.05rem }
  .month-day { min-height:47px }
}

:root {
  --paper:#fbf8ff;
  --card:#fff;
  --ink:#301e43;
  --muted:#635675;
  --plum:#6940a5;
  --rose:#a13a69;
  --line:#e7dff1;
  --soft:#f2e9ff;
}
body { background:linear-gradient(145deg,#f3eaff 0,#fff8fb 36%,#fdfaff 75%) }
.rail,.nav { background:#fefcff }
.rail-foot { color:#8a4681 }
.nav a[aria-current] { background:#efe3ff; color:#5b2c95 }
.hero {
  background:linear-gradient(114deg,#934fae,#ba638b 62%,#ee9a8a);
  color:white; box-shadow:0 10px 27px #8c53a928;
}
.hero .eyebrow { color:#fff0dc }
.hero p:last-child { color:#fff5fb }
.hero::after { background:linear-gradient(90deg,transparent 37%,#a955a3 47%,#ae61a059 63%,transparent 85%) }
.hero-photo { opacity:.92 }
.priority { border-left:4px solid #b78be8 }
.prayer-peek,.affirmation { background:#fff0ec; border-color:#f4d7d0 }
.affirmation { background:#f8edff; border-color:#ecdcf8 }
.spark { color:#783664; background:#ffd9cf }
.primary:hover { background:#542c8e }
.planner-tabs { background:#f0e6ff; margin-top:3px }
.planner-tabs a { min-width:0; min-height:42px; padding-inline:14px }
.month-weekdays,.guide-intro { background:#f2e7ff }
.month-day.outside { background:#faf7ff }
.member-entry { max-width:32rem }
.member-card { border-top:5px solid #bf94ec; box-shadow:0 10px 35px #8b54ae18 }
.calendar-connect-open { background:#ffebe4; border-color:#f5d5c8; color:#6b3259 }
.calendar-connect-open svg { width:16px; height:16px }
#calendar-connect-title,#tool-dialog-title { padding-right:32px }
#calendar-feed-setup > input { display:block; width:100%; margin:6px 0 10px; padding:9px; border:1px solid var(--line); border-radius:8px }
#calendar-feed-setup .guide-actions { margin-bottom:14px }
#calendar-feed-setup a,.schedule-head a { text-decoration:none }
#calendar-connect-status:empty,#tool-error:empty { display:none }
.tool-nav { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:24px }
.tool-nav button { flex-shrink:0 }
.tool-nav button[aria-pressed="true"] { background:#f0e4ff; border-color:#b695d7; color:#4f2580 }
.tool-section .section-head { align-items:flex-start }
.tool-section .section-head .primary { flex-shrink:0 }
#tool-intro { margin:6px 0 }
#tool-month-label { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:0 0 12px; font-size:.85rem }
#tool-month { max-width:100%; min-height:42px; padding:6px 8px; border:1px solid var(--line); border-radius:8px; background:var(--card) }
.tool-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, 10rem),1fr)); gap:8px; margin-bottom:13px }
.tool-summary:empty { display:none }
.tool-metric { padding:12px; background:#fff0e9; display:grid; gap:5px; border-color:#f4dcd2 }
.tool-metric strong { font-size:.95rem; overflow-wrap:anywhere }
.tool-list { list-style:none; margin:0; padding:0; display:grid; gap:8px }
.tool-entry { padding:13px 16px }
.tool-entry summary { font-weight:700; overflow-wrap:anywhere }
.tool-entry summary span { display:block; font-weight:400; margin:4px 0 0 18px }
.tool-entry dl { display:grid; grid-template-columns:minmax(5.2rem,1fr) minmax(0,2fr); gap:6px 10px }
.tool-entry dt { font-size:.82rem; color:var(--muted) }
.tool-entry dd { margin:0; font-size:.88rem; white-space:pre-wrap; overflow-wrap:anywhere }
.tool-fields { display:grid; gap:10px }
.tool-field,.tool-field-check { display:grid; gap:5px }
.tool-field-check { display:flex; align-items:center; gap:8px }
.tool-field input,.tool-field textarea,.tool-field select { width:100%; max-width:100%; min-width:0; padding:9px 10px; border:1px solid var(--line); border-radius:8px; background:#fdfaff; font:inherit; color:inherit }
.tool-field-check input { width:18px; height:18px; accent-color:var(--plum) }
.tool-agenda-row > span:last-child { padding:11px 0; overflow-wrap:anywhere }
@media (max-width:720px) {
  .hero::after { background:linear-gradient(90deg,transparent 36%,#a955a3 44%,#aa549dbd 51%,#aa549d3b 77%) }
  .member-toolbar { flex-wrap:wrap; gap:6px }
  .member-toolbar #sync-alert { width:100%; }
}

.planner-tabs { flex-wrap:wrap }
.reset-header p { color:var(--muted); margin:8px 0 0 }
.reset-date { margin:0 0 14px; gap:10px }
.reset-date p { margin:0; color:var(--plum); font-weight:690 }
.reset-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
.reset-card { display:grid; align-content:start; gap:6px; padding:clamp(14px,3vw,21px) }
.reset-card h2 { font-size:1.5rem; margin-bottom:4px }
.reset-card p { margin:0 0 4px }
.reset-card label { margin-top:4px; font-size:.9rem; font-weight:650 }
.reset-card input,.reset-card textarea { width:100%; background:#fdfaff; border:1px solid var(--line); border-radius:8px; padding:8px 10px }
.reset-card textarea { resize:vertical }
.reset-card .text-btn { justify-self:start }
.reset-card.reset-prayer { background:#fff0ec }
.reset-card.reset-prayer p { color:var(--plum); font:1.1rem/1.45 var(--display) }
#reset-preview:empty,#week-reset-priorities:empty,#shift-status:empty { display:none }
#reset-preview { list-style:none; padding:0; margin:0 0 8px; overflow-wrap:anywhere }
#reset-preview > li + li { border-top:1px solid var(--line); margin-top:6px; padding-top:6px }
.reset-events { padding-left:17px; margin:3px 0; color:var(--muted); font-size:.9rem }
.reset-actions { margin-top:12px }
.reset-actions p { margin:0 }
.week-reset { display:flex; justify-content:space-between; align-items:flex-start; gap:9px; padding:13px 15px; margin-bottom:10px; background:#f5edff; overflow-wrap:anywhere }
.week-reset h3 { font-size:1.22rem }
.week-reset ol { margin:5px 0 0; padding-left:20px }
.week-reset p { margin:5px 0 0 }
.week-reset button { flex-shrink:0 }
.shift-tools { margin:10px 0 }
.shift-tools p { margin:5px 0 0 }
#shift-dialog-title,#calendar-import-title { padding-right:30px }
#calendar-import-file { display:block; margin-top:5px; width:100% }
#calendar-import-list { list-style:none; padding:0; max-height:34dvh; overflow:auto }
#calendar-import-list li { border-top:1px solid var(--line); overflow-wrap:anywhere }
#calendar-import-list label { padding:7px 0; display:flex; align-items:start; gap:8px }
#calendar-import-list small { display:block; color:var(--muted); margin-top:2px }
@media (max-width:640px) {
  .reset-grid { grid-template-columns:minmax(0,1fr) }
}
@media (max-width:430px) {
  .planner-tabs { width:100%; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); }
  .planner-tabs a { padding-inline:4px; text-align:center; font-size:.76rem }
  .week-reset { flex-wrap:wrap }
}

.community-channels, .community-toolbar { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px }
.community-channels [aria-pressed="true"] { color:var(--plum); background:var(--soft); border-color:var(--plum) }
.community-toolbar { justify-content:space-between }
#community-refresh { margin-left:auto }
.community-panel { max-width:760px }
.community-messages { display:grid; gap:12px; margin-block:12px }
.community-message { border:1px solid var(--line); border-radius:12px; padding:13px; background:#fffcff }
.community-message p { margin:.5em 0; overflow-wrap:anywhere; white-space:pre-wrap }
.community-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 10px }
.community-meta strong { overflow-wrap:anywhere }
.community-meta time { color:var(--muted); font-size:.82rem }
.community-host { color:var(--plum); font-size:.8rem; font-weight:700 }
.community-actions { display:flex; flex-wrap:wrap; gap:8px }
.community-compose { display:grid; gap:5px; padding:12px; margin-top:14px; background:var(--soft); border-radius:12px }
.community-compose input,.community-compose textarea { border:1px solid var(--line); border-radius:8px; background:#fff; width:100%; padding:9px }
.community-compose textarea { resize:vertical }
.community-compose button { justify-self:start }
#community-more { margin-top:5px }
@media (max-width:370px) {
  .nav { gap:1px; padding-inline:3px }
  .nav a { font-size:.65rem }
}

.google-calendar-card { padding:16px; margin-block:14px; border-color:#e8cdd8; background:#fffbfd }
.google-calendar-card .guide-actions { gap:8px; flex-wrap:wrap }
.google-calendar-card .schedule-list:empty { display:none }
.google-events .schedule-event { overflow-wrap:anywhere }
.google-day-label { margin-top:.65rem; color:#643b56; font-weight:700 }
.google-all-day { display:flex; align-items:center; gap:.5rem }
.google-all-day input { width:auto }
.planner-tabs { background:#fcf0f4; border-color:#e8cdd8 }
.planner-tabs a[aria-current] { color:#592b49; background:#f4d9e5; box-shadow:inset 0 -2px #985678 }
.google-event-calendar { display:block; margin-top:.15rem }
.google-event-description { min-width:0 }

.member-content { margin-top:1.2rem; line-height:1.6 }
.member-content h2 { font-size:1.28rem; line-height:1.3; margin:1.45rem 0 .4rem }
.member-content p { margin:.5rem 0 .9rem }
.public-policy-links { display:flex; flex-wrap:wrap; gap:.65rem 1rem; margin:1.1rem 0; font-size:.9rem }
