@charset "UTF-8";
:root {
  color-scheme: light;
  --cream: #faf9f5;
  --paper: #fffefa;
  --ink: #243b30;
  --muted: #5c675e;
  --green: #365546;
  --line: #dddeda;
  --sage: #e8eee3;
  --focus: #73512a;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button { color: inherit; }
button, a { touch-action: manipulation; }
button:disabled { cursor: default; }
button, a, summary, input { scroll-margin-block: 24px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
h1:focus, #main:focus { outline: none; }
h1, h2, p { margin-top: 0; overflow-wrap: anywhere; }
h1, .garden-card h2, .finish-page h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 4.1vw, 4.15rem); line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 1.15rem; line-height: 1.4; font-weight: 600; }
p { margin-bottom: 16px; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }
.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; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -90px; background: var(--green); color: white; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sidebar { width: 238px; position: fixed; inset: 0 auto 0 0; background: #f5f5ef; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 43px 22px 20px; overflow-y: auto; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; font: 26px/1.15 Georgia, serif; padding: 0 8px; letter-spacing: -.04em; min-width: 0; }
.brand > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.brand-mark { width: 37px; height: 45px; flex-shrink: 0; color: var(--green); display: grid; place-items: center; }
.brand-mark .icon { height: 39px; width: 36px; stroke-width: 1.1; }
.brand-sub { display: block; font: 8px/1.5 "Segoe UI", sans-serif; letter-spacing: .12em; margin-top: 7px; }
.sidebar nav { margin-top: 66px; display: grid; gap: 9px; }
.nav-link { min-height: 49px; display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 11px 13px; border-radius: 9px; font-size: .88rem; color: #526053; }
.nav-link:hover { background: #e9ede4; }
.nav-link.active { background: #e2e9dc; color: #2e4c38; font-weight: 600; }
.nav-link .icon { width: 19px; height: 19px; }
.nav-short { display: none; }
.nav-count { margin-left: auto; font-size: .7rem; background: #d4dfcd; min-width: 20px; padding: 1px 5px; text-align: center; border-radius: 6px; }
.sidebar-bottom { margin-top: auto; padding-top: 50px; }
.sidebar-note { font-family: Georgia, serif; font-style: italic; font-size: 1rem; line-height: 1.7; padding: 0 12px 23px; color: #526053; }
.help-button { border: 1px solid #cbd3c5; background: transparent; border-radius: 9px; display: flex; width: 100%; min-height: 47px; align-items: center; justify-content: center; gap: 9px; font-size: .8rem; }
.help-button .icon { width: 18px; }
.help-button:hover { background: #e8eee3; }
.seeds-label { padding: 20px 11px 0; margin-bottom: 0; color: var(--muted); font-size: .7rem; display: flex; justify-content: space-between; align-items: center; }
.seeds-label .icon { width: 16px; height: 16px; }
.workspace { margin-left: 238px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { min-height: 93px; margin: 0 6%; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-label { font-size: .65rem; letter-spacing: .19em; color: #596858; font-weight: 600; }
.private-label { font-size: .7rem; display: flex; align-items: center; gap: 7px; padding: 8px 11px; min-height: 44px; max-width: 65%; min-width: 0; overflow-wrap: anywhere; border-radius: 30px; border: 1px solid #d7ddcf; color: #52624d; background: #f0f2e9; text-decoration: none; }
.private-label .icon { width: 13px; height: 13px; }
main { flex: 1; padding: 49px 6% 40px; width: 100%; max-width: 1420px; margin: auto; }
.page-heading { margin-bottom: 36px; }
.eyebrow { font-size: .65rem; letter-spacing: .15em; font-weight: 600; color: #56664f; margin-bottom: 18px; }
.intro { color: var(--muted); font-size: .96rem; line-height: 1.7; margin-bottom: 0; max-width: 580px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: stretch; }
.section-title { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 5px 14px; margin-bottom: 19px; }
.section-title h2 { font-size: .86rem; margin-bottom: 0; }
.section-title > span { font-size: .68rem; color: var(--muted); }
.emotion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.emotion-card { position: relative; min-height: 177px; padding: 21px 17px 18px; border: 1px solid var(--card-border); background: var(--card-bg); border-radius: 14px; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; transition: transform .18s ease, box-shadow .18s ease; }
.emotion-card:hover { transform: translateY(-3px); box-shadow: 0 6px 15px #293c3310; }
.sage { --card-bg: #eaf0e5; --card-border: #d3dfca; --art-color: #4c6546; }
.blue { --card-bg: #eaf0f1; --card-border: #d1dee0; --art-color: #486b7a; }
.lavender { --card-bg: #eeecf3; --card-border: #ddd8e8; --art-color: #74658e; }
.peach { --card-bg: #f6eae0; --card-border: #e9d7c8; --art-color: #9b6648; }
.rose { --card-bg: #f3e9e8; --card-border: #e7d5d3; --art-color: #946975; }
.sand { --card-bg: #f4efdc; --card-border: #e7ddba; --art-color: #8d742e; }
.emotion-art { color: var(--art-color); height: 46px; display: flex; align-items: flex-start; }
.emotion-art .icon { width: 31px; height: 31px; stroke-width: 1.15; }
.emotion-name { font-size: .94rem; font-weight: 600; margin-bottom: 5px; }
.emotion-hint { font-size: .71rem; color: #596158; line-height: 1.5; padding-right: 9px; }
.card-arrow { position: absolute; right: 12px; top: 18px; color: var(--art-color); opacity: .85; }
.card-arrow .icon { height: 15px; width: 15px; }
.under-grid { display: flex; align-items: center; gap: 7px; font-size: .7rem; color: var(--muted); margin-top: 18px; margin-bottom: 0; }
.under-grid .icon { height: 14px; width: 14px; }
.garden-card { background: #f0f1e8; border: 1px solid #e1e5d7; border-radius: 120px 120px 15px 15px; text-align: center; padding: 10px 14px 24px; margin-top: -91px; align-self: start; }
.garden { width: 100%; max-width: 280px; height: auto; display: block; margin: auto; }
.garden-card .garden { margin-bottom: 16px; }
.garden-card .eyebrow { font-size: .58rem; margin-bottom: 13px; }
.garden-card h2 { font-size: 1.85rem; line-height: 1.16; margin-bottom: 18px; }
.garden-card h2 em { color: #526a49; }
.garden-divider { width: 28px; height: 1px; margin: 20px auto; background: #9ba98b; }
.garden-card > p:last-child { font-size: .76rem; color: #59654f; line-height: 1.7; margin-bottom: 0; }
.how-section { border-top: 1px solid var(--line); margin-top: 39px; padding-top: 26px; }
.how-section h2 { font-size: .82rem; margin-bottom: 21px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-grid > div { display: flex; gap: 12px; align-items: flex-start; }
.step-number { font: 1.4rem/1.25 Georgia, serif; color: #657354; }
.how-grid strong { font-size: .74rem; font-weight: 600; }
.how-grid p { font-size: .7rem; color: var(--muted); margin: 3px 0 0; }
.footer { margin: 10px 6% 0; border-top: 1px solid var(--line); padding: 21px 0 24px; display: flex; gap: 15px; flex-wrap: wrap; justify-content: space-between; font-size: .65rem; color: var(--muted); }
.footer > span, .footer a { display: inline-flex; align-items: center; gap: 6px; }
.footer .icon { width: 14px; height: 14px; }
.footer a { min-height: 30px; }
.reading-width { max-width: 850px; margin: auto; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; font-size: .82rem; text-decoration: none; margin: -16px 0 18px; }
.back-link:hover, .text-link:hover { text-decoration: underline; }
.back-link .icon { height: 17px; width: 17px; }
.progress { display: flex; list-style: none; padding: 0 0 26px; margin: 0 0 30px; gap: 24px; border-bottom: 1px solid var(--line); }
.progress li { display: flex; gap: 7px; align-items: center; font-size: .7rem; color: #657060; flex-wrap: wrap; }
.progress li > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #9ca693; font-size: .65rem; }
.progress .reached { color: #365546; font-weight: 600; }
.progress .reached > span { background: #365546; color: white; border-color: #365546; }
.progress .icon { width: 14px; height: 14px; }
.progress small { font-size: .6rem; font-weight: 400; }
.emotion-pill { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; padding: 7px 13px; border-radius: 30px; background: var(--card-bg); border: 1px solid var(--card-border); margin-bottom: 22px; }
.emotion-pill .icon { color: var(--art-color); width: 18px; height: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.category-card { position: relative; border: 1px solid #c9d4c2; background: var(--paper); border-radius: 15px; padding: 26px 23px; text-decoration: none; transition: background .15s; }
.category-card:hover { background: #edf1e7; }
.category-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 15px; background: #e8eee0; color: #48623e; margin-bottom: 24px; }
.category-icon .icon { width: 27px; height: 27px; }
.category-card h2 { font-size: 1.4rem; font-family: Georgia, serif; font-weight: 400; }
.category-card p { font-size: .87rem; }
.category-card > span:last-of-type { display: block; color: var(--muted); font-size: .74rem; padding-right: 12px; }
.category-count { display: block; color: var(--green); margin-top: 12px; font-size: .78rem; font-weight: 600; }
.category-arrow { margin-top: 25px; width: 20px; }
.gentle-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 32px; color: var(--muted); font-size: .82rem; }
.gentle-note p { margin: 0; }
.gentle-note .icon { width: 18px; height: 18px; }
.reading-top { display: flex; gap: 15px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; min-height: 44px; font-weight: 600; text-decoration: underline; }
.text-link .icon { width: 17px; height: 17px; }
.category-tabs { display: flex; border-bottom: 1px solid #cbd4c4; gap: 10px; margin: 4px 0 25px; }
.category-tabs a { display: flex; justify-content: center; align-items: center; gap: 9px; padding: 13px 24px; min-height: 49px; text-decoration: none; font-size: .86rem; border-bottom: 3px solid transparent; }
.category-tabs a[aria-current] { border-bottom-color: var(--green); color: var(--green); font-weight: 600; background: #e9eee3; border-radius: 8px 8px 0 0; }
.category-tabs a:hover { background: #edf1e7; }
.category-tabs .icon { width: 19px; height: 19px; }
.reminder-picker { margin-bottom: 26px; }
.picker-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 12px; }
.picker-heading h2 { font-size: .95rem; margin: 0; }
.picker-heading p { margin: 0; }
.reminder-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.reminder-choices li { min-width: 0; }
.reminder-choice { display: flex; align-items: flex-start; gap: 11px; height: 100%; min-height: 64px; padding: 15px; border: 1px solid #708062; background: var(--paper); border-radius: 12px; text-decoration: none; }
.reminder-choice:hover { background: var(--sage); }
.reminder-choice:hover strong { text-decoration: underline; }
.reminder-choice[aria-current] { background: var(--sage); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.choice-number { font: 1.15rem/1.5 Georgia, serif; color: var(--green); }
.choice-copy { min-width: 0; overflow-wrap: anywhere; }
.choice-copy strong { display: block; font-size: .84rem; font-weight: 600; line-height: 1.5; }
.choice-copy > span { display: block; font-size: .72rem; color: var(--muted); margin-top: 5px; }
.choice-copy .choice-current { display: flex; gap: 5px; align-items: center; color: var(--green); font-weight: 600; }
.choice-current .icon { width: 14px; height: 14px; }
.picker-intro { margin-bottom: 14px; }
.choice-copy .choice-kind { font-style: italic; }
.choice-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: 14px; }
.choice-pagination p { margin: 0; }
.choice-pages { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-pages button { min-width: 44px; min-height: 44px; border: 1px solid #708062; border-radius: 8px; background: var(--paper); }
.choice-pages button:hover { background: var(--sage); }
.choice-pages button[aria-current] { background: var(--green); color: #fffef7; border-color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.browse-reminders { margin-bottom: 20px; }
.browse-reminders .icon { width: 16px; height: 16px; }
.reminder-picker, .reminder-card { scroll-margin-block: 24px; }
.reminder-card { background: var(--paper); padding: 28px 36px 22px; border: 1px solid #d5ddcd; border-radius: 18px; }
.reminder-meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 25px; }
.reminder-meta .eyebrow { margin: 0; }
.save-button { background: transparent; border: 1px solid #cbd4c4; border-radius: 8px; display: flex; align-items: center; gap: 7px; padding: 9px 12px; min-height: 44px; font-size: .75rem; }
.save-button .icon { width: 16px; height: 16px; }
.save-button:hover, .save-button.is-saved { background: #e6eedd; }
.reminder-card h1 { font-size: clamp(2rem, 3.3vw, 3.05rem); }
.arabic { font-family: "Traditional Arabic", "Noto Naskh Arabic", "Geeza Pro", Tahoma, serif; font-size: 2.15rem; line-height: 2.1; font-weight: 400; text-align: right; padding: 23px 0 5px; margin: 0; overflow-wrap: anywhere; }
.arabic-caption { font-size: .68rem; color: var(--muted); text-align: right; margin-bottom: 27px; }
.meaning { padding-block: 19px 15px; border-top: 1px solid #e5e6df; }
.meaning .eyebrow { margin-bottom: 12px; }
.meaning-text { font-size: 1.18rem; line-height: 1.7; max-width: 660px; }
.summary-label { font-size: .68rem; color: var(--muted); margin-bottom: 0; }
.source-details { margin-top: 19px; border-top: 1px solid #d9ded1; }
summary { cursor: pointer; min-height: 48px; padding: 13px 3px; font-size: .8rem; }
.source-details summary > span { display: inline; }
.source-details summary .icon { width: 16px; height: 16px; margin-right: 8px; }
.source-hint { color: var(--muted); font-size: .7rem; padding-left: 12px; }
.source-details > div { background: #f5f6ef; padding: 18px; border-radius: 8px; font-size: .86rem; }
.source-details > div p:last-child { margin-bottom: 0; }
.review-note { display: flex; align-items: center; gap: 7px; color: #64705a; font-size: .67rem; margin: 13px 0 0; }
.review-note .icon { width: 14px; height: 14px; }
.transliteration p { font-size: .9rem; line-height: 1.8; color: var(--muted); }
.hadith-mark { color: #758665; margin: 16px 0 24px; }
.hadith-mark .icon { width: 34px; height: 34px; }
.reflection { display: flex; gap: 15px; padding: 27px 8px; }
.reflection-icon { margin-top: 4px; color: #718364; }
.reflection p { font-size: .9rem; margin-bottom: 10px; }
.reflection .small { margin-bottom: 0; }
.reflection h2 { font-size: .95rem; margin-bottom: 9px; }
.action-card { border: 1px solid #cbd8bf; background: #eaf0e2; padding: 29px 32px; border-radius: 15px; }
.action-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.action-heading .eyebrow { margin: 0; }
.action-icon { color: #4d6742; }
.action-card h2 { font: 1.65rem/1.3 Georgia, serif; letter-spacing: -.02em; }
.action-card p { max-width: 640px; font-size: .94rem; }
.action-card p.small { font-size: .74rem; }
.small { font-size: .75rem; color: var(--muted); line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; border-radius: 9px; text-decoration: none; border: 1px solid transparent; padding: 12px 20px; font-size: .85rem; font-weight: 600; line-height: 1.5; text-align: center; }
.button .icon { width: 18px; height: 18px; }
.primary { background: var(--green); color: #fffef7; border-color: var(--green); }
.primary:hover { background: #294235; }
.secondary { background: transparent; border-color: #98a98d; color: #36513c; }
.secondary:hover { background: #dce5d4; }
.another-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 20px; font-size: .8rem; color: var(--muted); }
.closing-note { font: italic .94rem/1.7 Georgia, serif; text-align: center; color: var(--muted); margin-top: 29px; }
.empty-state { text-align: center; padding: 45px 20px 55px; border: 1px dashed #c2ceb8; border-radius: 17px; background: #f5f6ef; }
.empty-state .page-heading { margin-bottom: 25px; }
.empty-state .empty-title { font: 400 2.2rem/1.2 Georgia, serif; letter-spacing: -.035em; }
.empty-state .intro { margin-inline: auto; max-width: 460px; font-size: .9rem; }
.empty-icon { display: grid; place-items: center; background: #e4ebdc; border-radius: 18px; width: 60px; height: 60px; margin: 0 auto 22px; }
.saved-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.saved-card { background: var(--paper); border: 1px solid #d5ddcd; border-radius: 15px; padding: 25px; }
.saved-card > .eyebrow { display: flex; justify-content: space-between; }
.saved-card > .eyebrow .icon { width: 19px; height: 19px; }
.saved-card h2 { font: 1.5rem/1.3 Georgia, serif; }
.saved-card h2 a { text-decoration: none; }
.saved-card h2 a:hover { text-decoration: underline; }
.saved-card > p { font-size: .87rem; }
.saved-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 12px; }
.icon-button { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; background: transparent; border: 1px solid #b8c3b0; border-radius: 9px; }
.icon-button:hover { background: #e7edde; }
.icon-button .icon { width: 18px; height: 18px; }
.checkin-width { max-width: 680px; }
fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.checkin-options { display: grid; gap: 13px; }
.checkin-choice { position: relative; display: block; cursor: pointer; }
.checkin-choice input { position: absolute; left: 19px; top: 28px; margin: 0; opacity: 0; width: 20px; height: 20px; }
.checkin-choice > span { display: flex; align-items: center; gap: 15px; border: 1px solid #a4b397; border-radius: 12px; padding: 19px 22px; min-height: 72px; background: var(--paper); }
.checkin-choice input:checked + span { border: 2px solid var(--green); padding: 18px 21px; background: #e8efdf; }
.checkin-choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 4px; }
.checkin-choice strong { font-size: .94rem; font-weight: 500; }
.radio-mark { margin-left: auto; width: 21px; height: 21px; border-radius: 50%; border: 1px solid #708062; flex: 0 0 auto; }
.checkin-choice input:checked + span .radio-mark { border: 6px solid var(--green); background: white; }
.privacy-note { display: flex; align-items: flex-start; gap: 10px; font-size: .78rem; color: var(--muted); margin-top: 24px; }
.privacy-note .icon { width: 16px; height: 16px; margin-top: 3px; }
.form-error, .storage-warning { background: #f8e9df; border: 1px solid #b38466; color: #703d24; padding: 13px 17px; border-radius: 9px; font-size: .83rem; margin-top: 18px; }
.storage-warning { display: flex; gap: 12px; margin: 0 0 28px; }
.storage-warning p { margin: 0; }
.checkin-history { padding: 0; list-style: none; margin-top: 30px; }
.checkin-history li { display: flex; gap: 19px; border-top: 1px solid #d2dacb; padding: 22px 0; }
.history-icon { background: var(--card-bg); color: var(--art-color); border-radius: 13px; width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; }
.checkin-history h2 { font-size: .96rem; margin-bottom: 3px; }
.checkin-history time { font-size: .74rem; color: var(--muted); }
.checkin-history p { font-size: .8rem; margin: 5px 0 0; }
.about-card { padding: 29px 32px; border: 1px solid #d5ddcd; border-radius: 15px; background: var(--paper); margin-top: 20px; }
.about-card p { font-size: .9rem; line-height: 1.85; }
.about-card h2 { margin-bottom: 14px; font-size: 1.2rem; }
.about-icon { color: #6d7e5f; display: block; margin-bottom: 12px; }
.review-card { background: #f1f2e7; }
.review-library li { padding-block: 10px; }
.review-library ul { padding-left: 22px; }
.review-library li span { display: block; font-size: .72rem; color: var(--muted); }
.review-library li a { font-size: .84rem; display: inline-block; min-height: 30px; }
.text-button { border: 0; background: transparent; text-decoration: underline; text-underline-offset: 5px; padding: 10px 0; min-height: 44px; font-size: .85rem; display: inline-flex; align-items: center; gap: 8px; }
.text-button .icon { width: 17px; }
.danger { border-color: #99745f; color: #75462c; }
.danger:hover { background: #f4e6da; }
.finish-page { text-align: center; padding-block: 5px 35px; max-width: 650px; margin: auto; }
.finish-page .garden { width: 200px; margin-bottom: 26px; }
.finish-page h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
.finish-page h1 em { color: #61754e; }
.finish-page > p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.finish-page .button-row { justify-content: center; margin-bottom: 15px; }
.toast { position: fixed; bottom: 25px; left: calc(50% + 100px); transform: translateX(-50%); max-width: min(540px, 90vw); padding: 14px 22px; border-radius: 12px; background: #294536; color: #fffef8; box-shadow: 0 5px 25px #0002; z-index: 20; font-size: .87rem; }
dialog { padding: 40px; color: var(--ink); background: var(--cream); border: 1px solid #b9c9ad; border-radius: 20px; max-width: min(550px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; box-shadow: 0 20px 80px #152d3033; }
dialog::backdrop { background: #1a302b80; }
dialog h2 { font: 2.2rem/1.15 Georgia, serif; letter-spacing: -.035em; margin-bottom: 23px; }
dialog p { font-size: .9rem; }
dialog p.small { font-size: .76rem; }
.dialog-close { position: absolute; right: 17px; top: 17px; }
.dialog-icon { display: block; color: #647856; margin-bottom: 21px; }
.dialog-icon .icon { width: 29px; height: 29px; }
.support-example { font-size: .92rem; background: #e8eee1; border-left: 3px solid #90a47e; padding: 17px 20px; margin-bottom: 22px; border-radius: 0 9px 9px 0; }
.account-width { max-width: 620px; }
.auth-tabs { display: flex; border-bottom: 1px solid #c3cebb; margin-bottom: 27px; gap: 15px; }
.auth-tabs a { padding: 12px 18px; border-bottom: 3px solid transparent; min-height: 49px; text-decoration: none; font-size: .9rem; }
.auth-tabs a[aria-current] { border-color: var(--green); font-weight: 600; }
.account-form { background: var(--paper); border: 1px solid #d5ddcd; padding: 28px; border-radius: 15px; }
.account-form label, #delete-account-form label, .recovery-card label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; }
.account-form input, .dialog-input, .recovery-code { width: 100%; min-height: 49px; border: 1px solid #8d9e80; border-radius: 8px; background: #fffefa; color: var(--ink); padding: 11px 13px; font-size: 1rem; }
.field-hint { font-size: .73rem; color: var(--muted); margin: 8px 0 24px; }
.password-field { position: relative; }
.password-field input { padding-right: 77px; }
.show-password { position: absolute; right: 4px; top: 3px; min-height: 44px; min-width: 65px; border: 0; background: transparent; font-size: .76rem; border-radius: 6px; color: var(--green); text-decoration: underline; }
.auth-submit { width: 100%; margin-top: 5px; }
.account-consent { font-size: .77rem; color: var(--muted); line-height: 1.8; padding-top: 4px; }
.guest-link { display: flex; justify-content: center; margin-block: 20px; }
.account-local-note { text-align: center; max-width: 480px; margin-inline: auto; }
.recovery-card { padding: 26px; background: #edf0df; border: 1px solid #a8b98d; border-radius: 14px; }
.recovery-card p { font-size: .86rem; }
.recovery-code { font-family: ui-monospace, Consolas, monospace; font-size: .9rem; margin-bottom: 20px; }
.account-delete { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 8px; }
.account-delete summary { color: #75462c; }
button:disabled { opacity: .65; cursor: wait; }
@media (min-width: 1450px) {
  main { padding-top: 65px; }
  .home-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 45px; }
  .emotion-card { min-height: 194px; padding: 24px; }
  .emotion-name { font-size: 1.05rem; }
  .emotion-hint { font-size: .8rem; }
  .emotion-art { height: 56px; }
}
@media (max-width: 1150px) {
  .sidebar { width: 211px; padding-inline: 15px; }
  .workspace { margin-left: 211px; }
  .nav-link { font-size: .8rem; gap: 9px; }
  .home-layout { grid-template-columns: minmax(0, 1fr) 215px; gap: 22px; }
  .emotion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .emotion-card { min-height: 153px; }
  .garden-card { margin-top: -65px; padding-bottom: 28px; }
  .garden-card h2 { font-size: 1.65rem; }
  .category-card { padding: 22px 17px; }
  .category-card p { font-size: .8rem; }
}
@media (max-width: 850px) {
  .sidebar { position: static; width: 100%; padding: 20px 5% 0; border-right: none; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 16px; align-items: center; }
  .brand { padding: 0; font-size: 26px; grid-column: 1; }
  .brand-mark { height: 39px; }
  .brand-sub { font-size: 7px; }
  .sidebar nav { grid-column: 1 / -1; grid-row: 2; margin-top: 0; display: flex; gap: 7px; justify-content: space-between; }
  .nav-link { border-radius: 8px 8px 0 0; min-height: 49px; padding: 12px; font-size: .77rem; flex: 1; justify-content: center; }
  .sidebar-bottom { padding: 0; position: static; grid-column: 2; grid-row: 1; margin: 0; }
  .sidebar-note, .seeds-label { display: none; }
  .help-button { font-size: .72rem; width: auto; padding: 0 12px; }
  .workspace { margin-left: 0; min-height: calc(100vh - 130px); }
  .topbar { margin: 0 5%; min-height: 64px; }
  main { padding: 35px 5%; }
  .footer { margin-inline: 5%; }
  h1 { font-size: 3.3rem; }
  .home-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; }
  .garden-card { margin-top: -80px; }
  .toast { left: 50%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sidebar { padding-top: 17px; row-gap: 18px; }
  .sidebar nav { gap: 2px; margin-top: 0; }
  .nav-link { flex-direction: column; gap: 4px; font-size: .7rem; padding: 9px 4px 11px; line-height: 1.35; text-align: center; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .nav-link .icon { width: 19px; height: 19px; }
  .nav-count { display: none; }
  .sidebar-bottom { top: 20px; }
  .help-button { min-height: 44px; padding-inline: 10px; }
  .help-button span { max-width: 80px; line-height: 1.35; }
  .topbar { min-height: 57px; gap: 10px; }
  .topbar-label { font-size: .55rem; letter-spacing: .12em; }
  .private-label { font-size: .6rem; padding: 4px 8px; gap: 5px; }
  main { padding-top: 33px; padding-bottom: 25px; }
  h1 { font-size: 2.85rem; }
  .eyebrow { font-size: .6rem; margin-bottom: 15px; }
  .intro { font-size: .87rem; }
  .page-heading { margin-bottom: 31px; }
  .home-layout { display: flex; flex-direction: column; gap: 29px; }
  .section-title { margin-bottom: 15px; }
  .section-title h2 { font-size: .8rem; }
  .section-title > span { font-size: .63rem; }
  .emotion-grid { gap: 12px; }
  .emotion-card { padding: 20px 17px; min-height: 161px; }
  .emotion-art { height: 45px; }
  .emotion-name { font-size: .96rem; }
  .emotion-hint { font-size: .7rem; }
  .under-grid { font-size: .68rem; gap: 8px; align-items: flex-start; }
  .under-grid .icon { margin-top: 3px; }
  .garden-card { width: 100%; margin: 0; border-radius: 15px; padding: 25px 22px; text-align: left; display: grid; grid-template-columns: 1fr 1.1fr; column-gap: 12px; align-items: center; }
  .garden-card .garden { grid-row: 1 / 5; margin: 0; }
  .garden-card .eyebrow { font-size: .5rem; margin-bottom: 8px; }
  .garden-card h2 { font-size: 1.65rem; margin-bottom: 13px; }
  .garden-card h2 br:first-child { display: none; }
  .garden-divider { display: none; }
  .garden-card > p:last-child { font-size: .69rem; }
  .garden-card > p:last-child br { display: none; }
  .how-section { margin-top: 28px; padding-top: 23px; }
  .how-grid { grid-template-columns: 1fr; gap: 18px; }
  .how-grid strong { font-size: .8rem; }
  .how-grid p { font-size: .75rem; }
  .how-grid > div { gap: 16px; }
  .step-number { min-width: 25px; }
  .footer { font-size: .62rem; gap: 6px; padding-top: 16px; }
  .footer a { min-height: 44px; }
  .back-link { margin-bottom: 15px; }
  .progress { gap: 10px; justify-content: space-between; padding-bottom: 20px; margin-bottom: 24px; }
  .progress li { flex-direction: column; gap: 5px; font-size: .62rem; text-align: center; flex: 1; }
  .progress li small { font-size: .55rem; }
  .emotion-pill { font-size: .75rem; margin-bottom: 21px; }
  .category-grid { grid-template-columns: 1fr; gap: 14px; }
  .category-card { padding: 20px; display: grid; grid-template-columns: 46px 1fr 20px; column-gap: 16px; }
  .category-icon { grid-row: 1 / 4; width: 46px; height: 46px; margin-bottom: 0; align-self: center; }
  .category-card h2 { font-size: 1.35rem; margin-bottom: 5px; }
  .category-card p { grid-column: 2; margin-bottom: 3px; font-size: .82rem; }
  .category-card > span:last-of-type { grid-column: 2; font-size: .7rem; padding: 0; }
  .category-arrow { grid-column: 3; grid-row: 1 / 4; align-self: center; margin-top: 0; }
  .gentle-note { font-size: .78rem; align-items: flex-start; margin-top: 24px; }
  .reading-top { gap: 0; }
  .reading-top .text-link { font-size: .75rem; }
  .category-tabs { gap: 3px; margin-bottom: 19px; }
  .category-tabs a { padding-inline: 12px; font-size: .8rem; flex: 1; gap: 7px; }
  .category-tabs .icon { width: 17px; height: 17px; }
  .reminder-choices { grid-template-columns: 1fr; }
  .reminder-choice { padding: 12px 15px; }
  .reminder-card { padding: 21px 20px 18px; border-radius: 14px; }
  .reminder-meta { margin-bottom: 22px; }
  .reminder-meta .eyebrow { font-size: .55rem; }
  .save-button { padding-inline: 10px; font-size: .68rem; }
  .reminder-card h1 { font-size: 2.2rem; }
  .arabic { font-size: 2rem; padding-top: 12px; line-height: 2.2; }
  .arabic-caption { font-size: .65rem; }
  .meaning-text { font-size: 1.08rem; }
  .summary-label { font-size: .63rem; }
  .source-details summary { font-size: .74rem; }
  .source-hint { display: block; padding-left: 22px; padding-top: 3px; }
  .source-details > div { padding: 14px; font-size: .8rem; }
  .review-note { font-size: .63rem; align-items: flex-start; }
  .review-note .icon { margin-top: 3px; }
  .reflection { padding-inline: 3px; gap: 12px; }
  .reflection p { font-size: .86rem; }
  .reflection .small { font-size: .68rem; }
  .action-card { padding: 24px 22px; }
  .action-heading .eyebrow { font-size: .55rem; }
  .action-card h2 { font-size: 1.5rem; }
  .action-card p { font-size: .86rem; }
  .button-row { gap: 10px; }
  .button-row .button { flex: 1 1 100%; }
  .another-row { flex-wrap: wrap; }
  .closing-note { font-size: .85rem; padding-inline: 5px; }
  .saved-grid { grid-template-columns: 1fr; }
  .empty-state { padding: 30px 19px; }
  .empty-state .empty-title { font-size: 1.9rem; }
  .checkin-choice > span { padding-inline: 18px; }
  .checkin-choice input:checked + span { padding-inline: 17px; }
  .checkin-choice strong { font-size: .87rem; }
  .about-card { padding: 24px 22px; }
  .about-card p { font-size: .85rem; }
  .finish-page .garden { width: 170px; }
  .finish-page h1 { font-size: 3.4rem; }
  dialog { padding: 32px 23px; }
  .account-form { padding: 22px; }
  dialog h2 { font-size: 2rem; }
  .toast { bottom: 16px; width: max-content; max-width: calc(100vw - 32px); font-size: .78rem; padding: 12px 18px; }
}
@media (max-width: 360px) {
  h1 { font-size: 2.6rem; }
  .brand { font-size: 26px; gap: 7px; }
  .brand-mark { width: 29px; }
  .help-button { font-size: .65rem; padding-inline: 8px; gap: 6px; }
  .emotion-card { padding-inline: 13px; }
  .emotion-name { font-size: .85rem; }
  .emotion-hint { font-size: .68rem; padding-right: 0; }
  .garden-card { padding: 22px 16px; }
  .garden-card h2 { font-size: 1.4rem; }
  .nav-link { font-size: .7rem; }
  .topbar-label { font-size: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .emotion-card, .button, .nav-link.active, .checkin-choice > span, .category-tabs a[aria-current] { border: 1px solid ButtonText; }
  .checkin-choice input:checked + span { outline: 3px solid Highlight; }
}
/* At enlarged text sizes, let labels and navigation grow rather than clipping. */
@media (min-resolution: 1dppx) {
  .nav-link span, .button, .emotion-name, .category-tabs a { overflow-wrap: anywhere; }
}
