:root[data-kurra-theme="blue"]{--green:#175475;--deep:#113b56;--mint:#e6f2f8;--lime:#b8e5f5;--yellow:#e6c665;--ink:#193643;--line:#d5e5ed}
:root[data-kurra-theme="earth"]{--green:#765437;--deep:#543a29;--mint:#f6efe6;--lime:#e8dc9a;--yellow:#e9bc67;--ink:#453627;--line:#e9ded1}
:root[data-kurra-theme]:not([data-kurra-theme="green"]) .home-dashboard .home-head h2{color:var(--green)}
:root[data-kurra-theme]:not([data-kurra-theme="green"]) .prayer-showcase,:root[data-kurra-theme]:not([data-kurra-theme="green"]) .home-partner-review{background:var(--green)}
:root[data-kurra-theme]:not([data-kurra-theme="green"]) .home-partner-card{border-color:var(--line);background:var(--mint);color:var(--ink)}
:root[data-kurra-theme]:not([data-kurra-theme="green"]) .home-program-card{background:linear-gradient(145deg,var(--green),var(--deep))}
:root[data-kurra-theme]:not([data-kurra-theme="green"]) .home-dashboard .home-program-open{background:var(--green)}
:root[data-kurra-theme]:not([data-kurra-theme="green"]) .home-dashboard>.section-title,:root[data-kurra-theme]:not([data-kurra-theme="green"]) .home-dashboard .quick-list b{color:var(--green)}
:root[data-kurra-theme]:not([data-kurra-theme="green"]) .bottom-nav button.active{background:var(--mint);color:var(--green);box-shadow:inset 0 0 0 1px var(--line)}
:root[data-kurra-theme]:not([data-kurra-theme="green"]) .prayer-showcase{border-color:var(--green)}
.personalization-entry{display:grid;place-items:center;flex:none;width:43px;height:43px;border:1px solid var(--line);border-radius:14px;background:var(--mint);color:var(--green);cursor:pointer}
.personalization-page{display:grid;gap:14px;padding:18px 0 28px}
.personalization-section{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}
.personalization-section h3{margin:0 0 6px;color:var(--ink);font-size:18px}
.personalization-section p{margin:0 0 15px;color:var(--muted);font-size:13px;line-height:1.5}
.personalization-section>button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;margin-top:8px;padding:10px 13px;border:1px solid var(--line);border-radius:12px;background:var(--mint);color:var(--ink);font:600 13px system-ui;cursor:pointer;text-align:left}
.personalization-themes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.personalization-themes button{display:grid;justify-items:center;gap:8px;min-width:0;padding:12px 4px;border:2px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);font:600 12px system-ui;cursor:pointer}
.personalization-themes button.selected{border-color:var(--green);background:var(--mint)}
.personalization-themes i{display:block;width:30px;height:30px;border-radius:50%;background:#075a3b}
.personalization-themes [data-theme="blue"] i{background:#175475}
.personalization-themes [data-theme="earth"] i{background:#765437}

/* Keep the home greeting and upper-right actions aligned regardless of insertion order. */
.home-dashboard .home-head{display:grid;grid-template-columns:minmax(0,1fr) auto 43px;column-gap:10px;align-items:start}
.home-dashboard .home-head>div{grid-column:1;grid-row:1;min-width:0}
.home-dashboard .home-head .personalization-entry,.home-dashboard .home-head>.bell{grid-column:3;grid-row:1;justify-self:end;align-self:start;margin:0}
.home-dashboard .home-head>.app-context-help{grid-column:2;grid-row:1;align-self:start;margin:7px 0 0}
.home-dashboard .home-head h2{overflow-wrap:anywhere}
