:root{
  --bg:#f5f7f8;--surface:#fff;--surface-2:#eef4f3;--ink:#10253b;--muted:#6d7788;--line:#dfe5e8;
  --primary:#0f706b;--primary-dark:#0a5450;--primary-soft:#e5f4f2;--navy:#17335a;--lav:#eceaf8;
  --good:#eaf7ef;--good-ink:#27724a;--danger:#b84646;--danger-soft:#fff0f0;--warn:#fff7df;--shadow:0 12px 38px rgba(16,37,59,.08);
}
*{box-sizing:border-box}html{background:var(--bg);-webkit-text-size-adjust:100%}body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.45}input,textarea,select{font-size:16px}
.app-shell{max-width:500px;margin:0 auto;min-height:100vh;padding:calc(20px + env(safe-area-inset-top)) 18px calc(106px + env(safe-area-inset-bottom))}.topbar{height:48px;display:flex;align-items:center;margin-bottom:18px}.topbar-spacer{flex:1}.brand{font-size:30px;font-weight:850;letter-spacing:-1px}.brand-dot{color:var(--primary)}
.icon-btn{min-width:42px;min-height:42px;border:1px solid var(--line);background:var(--surface);border-radius:13px;display:inline-grid;place-items:center;font-size:18px}.icon-btn:hover{background:#f0f3f4}
h1{font-size:31px;line-height:1.12;letter-spacing:-.6px;margin:0 0 9px}h2{font-size:20px;line-height:1.3;margin:0 0 9px}p{line-height:1.5}.muted{color:var(--muted)}.small{font-size:13px}.page-head{margin:4px 0 14px}
.card,.list-card,.history-card,.mode-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.card{padding:18px;margin:14px 0}.list-card{padding:17px;margin:12px 0}.list-card.due{border-color:#9fd5cf}.history-card{width:100%;text-align:left;padding:16px;margin:11px 0}.history-card:hover,.mode-card:hover{border-color:#accdca;transform:translateY(-1px)}
.hero{position:relative;overflow:hidden;background:linear-gradient(145deg,var(--primary-dark),var(--primary));color:white;border:0;padding:22px}.hero p{color:#d9f0ed}.hero-mark{position:absolute;right:-10px;top:-34px;font-size:120px;color:rgba(255,255,255,.08)}
.btn{width:100%;min-height:48px;border:none;border-radius:15px;padding:13px 16px;font-weight:780;margin-top:10px}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:var(--primary-soft);color:var(--primary-dark)}.btn-light{background:white;color:var(--primary-dark)}.btn-ghost{background:white;border:1px solid var(--line)}.btn-danger{background:var(--danger-soft);color:var(--danger);border:1px solid #f0c4c4}.btn-small{width:auto;min-width:86px;margin:0;padding:10px 13px;background:var(--primary);color:white}
.text-btn{border:none;background:transparent;color:var(--primary);font-weight:750;padding:4px 0}.eyebrow,.section-label,.field-label{font-size:13px;font-weight:800;letter-spacing:.02em}.field-label{display:block;margin:18px 0 8px}.trend-text{font-size:17px;font-weight:650;margin-bottom:8px}
textarea,input[type="text"],input[type="date"],input:not([type]),select,.field{width:100%;border:1px solid #d4dcdf;background:white;border-radius:14px;padding:13px 14px;color:var(--ink);outline:none}textarea{min-height:130px;resize:vertical}textarea:focus,input:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(15,112,107,.12)}
.range{width:100%;accent-color:var(--primary)}.range-head{display:flex;justify-content:space-between;align-items:center;margin:16px 0 5px}.range-head label{font-weight:700}.range-head strong{font-size:18px}.mood-row{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:14px 0}.mood{min-height:48px;border:1px solid transparent;background:#f3f5f6;border-radius:14px;font-size:25px}.mood.selected{background:var(--primary-soft);border-color:var(--primary)}
.review-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.summary-card{border:1px solid var(--line);background:white;border-radius:18px;padding:15px;text-align:left;min-height:104px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;box-shadow:var(--shadow)}.summary-num{font-size:28px;font-weight:850;grid-column:1/3}.summary-card b{align-self:end}.privacy-line{text-align:center;color:var(--muted);font-size:12px}
.mode-card{width:100%;display:flex;justify-content:space-between;align-items:center;padding:20px;margin:12px 0;text-align:left;transition:.15s}.mode-card b{font-size:21px;display:block}.mode-card small{display:block;color:var(--muted);margin-top:3px}.progress-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px}.progress{height:6px;background:#e4e9eb;border-radius:999px;overflow:hidden;margin:8px 0 24px}.progress>div{height:100%;background:var(--primary);transition:width .2s}
.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}.choice-grid.compact{grid-template-columns:repeat(2,1fr)}.choice{min-height:49px;background:white;border:1px solid var(--line);border-radius:14px;padding:11px 12px;text-align:left;font-weight:650}.choice:hover{border-color:#abc9c6}.choice.selected{background:var(--primary);border-color:var(--primary);color:white}.choice-grid.multi .choice.selected{background:var(--primary-soft);color:var(--primary-dark);border-color:var(--primary)}
.notice,.alert{border-radius:14px;padding:12px 14px;font-size:14px;margin:12px 0}.notice{background:var(--warn)}.alert.error{background:var(--danger-soft);color:#8f3232;border:1px solid #efc2c2}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:92px;background:#132e3e;color:#fff;border-radius:999px;padding:11px 18px;z-index:20;box-shadow:var(--shadow);font-weight:700}
.alternative-list{display:grid;gap:9px;margin:10px 0}.alternative{width:100%;display:grid;grid-template-columns:26px 1fr;gap:7px;align-items:start;text-align:left;background:white;border:1px solid var(--line);border-radius:15px;padding:13px}.alternative.selected{background:var(--primary-soft);border-color:var(--primary)}.inline-add{display:flex;gap:8px;margin:12px 0}.selected-chip{display:flex;justify-content:space-between;gap:8px;padding:9px 12px;background:var(--lav);border-radius:12px;margin:7px 0}.selected-chip button{border:none;background:transparent;font-size:20px}
.score-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.score-compare>div{background:#eef2f3;border-radius:18px;padding:16px}.score-compare span{display:block;color:var(--muted);font-size:13px}.score-compare strong{display:block;font-size:30px;margin-top:5px}.score-compare.compact{margin:12px 0}.score-compare.compact strong{font-size:26px}
.segmented{background:#e9eeef;border-radius:15px;padding:4px;display:grid;grid-template-columns:1fr 1fr;margin:12px 0}.segmented button{border:none;background:transparent;border-radius:11px;padding:10px;font-weight:700}.segmented button.active{background:white;box-shadow:0 2px 8px rgba(0,0,0,.06)}.segmented span{color:var(--muted);font-size:12px;margin-left:4px}.empty-state{text-align:center;background:white;border:1px dashed #ccd6d9;border-radius:22px;padding:34px 20px;margin:18px 0}.empty-state>div{font-size:32px;color:var(--primary)}
.card-top{display:flex;justify-content:space-between;gap:7px;align-items:center}.tag{display:inline-flex;align-items:center;background:var(--primary-soft);color:var(--primary-dark);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:750}.tag.neutral{background:#f0f2f4;color:var(--muted)}.context-summary{background:#f0f5f4;border-radius:18px;padding:15px;margin:14px 0}.context-summary p{font-weight:700}.context-summary small{color:var(--muted)}
.search-row{display:grid;grid-template-columns:1fr 44px;gap:8px}.filter-scroll{display:flex;flex-wrap:wrap;gap:7px;overflow:visible;padding:11px 0 6px;max-width:100%;min-width:0}.filter-scroll.outcomes{padding-top:6px;padding-bottom:9px;border-bottom:1px solid var(--line)}.filter-pill{flex:0 0 auto;white-space:nowrap;border:1px solid var(--line);background:white;border-radius:999px;padding:8px 11px;font-size:13px}.filter-pill.active{background:var(--primary);border-color:var(--primary);color:white}.history-meta{display:flex;justify-content:space-between;gap:12px;align-items:end;font-size:13px}.history-meta strong{text-align:right}.demo-label{display:inline-block;font-size:11px;color:var(--muted);margin-top:8px}
.detail-hero{margin-bottom:14px}.detail-hero h1{margin-top:10px}.detail-block{background:white;border-left:4px solid #dfe7e7;border-radius:15px;padding:15px 16px;margin:10px 0}.detail-block p{margin-bottom:0}.detail-block.success{background:var(--good);border-color:#67af83}.detail-block.pending-block{background:#f5f6f7}.detail-block ul{padding-left:20px}.mini-history{width:100%;display:flex;justify-content:space-between;gap:14px;border:none;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:12px 0}.mini-history:last-child{border-bottom:0}
.insight-hero{background:linear-gradient(145deg,#f0f8f7,#e8f4f3)}.insight-hero h2{font-size:26px;margin-top:8px}.kpi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.kpi-grid.three{grid-template-columns:repeat(3,1fr)}.kpi{background:white;border:1px solid var(--line);border-radius:18px;padding:14px}.kpi span{font-size:12px;color:var(--muted)}.kpi strong{font-size:27px;display:block;margin-top:5px}.positive-note{color:var(--good-ink);font-weight:700}.outcome-bars{display:grid;gap:15px}.bar-label{display:flex;justify-content:space-between;font-size:13px}.bar{height:8px;background:#edf0f1;border-radius:999px;margin-top:5px;overflow:hidden}.bar span{display:block;height:100%;background:var(--primary);border-radius:999px}

.toggle-row{display:flex;justify-content:space-between;gap:16px;align-items:center}.toggle-row span{display:grid;gap:5px}.toggle-row small{color:var(--muted);line-height:1.35}.toggle-row input{width:48px;height:26px;accent-color:var(--primary)}.divider{height:1px;background:var(--line);margin:16px 0}.row-between{display:flex;justify-content:space-between;align-items:center}
.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(500px,100%);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.97);border-top:1px solid var(--line);padding:8px 6px calc(8px + env(safe-area-inset-bottom));z-index:10;backdrop-filter:blur(16px)}.nav-item{min-height:55px;border:none;background:transparent;border-radius:12px;color:var(--muted);font-size:10.5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.nav-item.active{color:var(--primary);font-weight:800;background:#f1f8f7}.nav-icon{font-size:19px;line-height:1}
@media(max-width:360px){.choice-grid,.choice-grid.compact{grid-template-columns:1fr}.kpi-grid.three{grid-template-columns:1fr 1fr}.review-summary{grid-template-columns:1fr}.app-shell{padding-left:14px;padding-right:14px}}
@media(min-width:740px){.app-shell{padding-top:30px}.card{padding:20px}.bottom-nav{border-left:1px solid var(--line);border-right:1px solid var(--line)}.history-card:hover,.mode-card:hover{box-shadow:0 15px 45px rgba(16,37,59,.12)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Mobile-native hardening */
html,body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}
button,.choice,.mode-card,.history-card,.summary-card,.filter-pill{touch-action:manipulation;-webkit-user-select:none;user-select:none}
button:active,.choice:active,.mode-card:active{transform:scale(.985)}
.choice.selected{box-shadow:0 0 0 2px rgba(15,112,107,.22)}
@media(hover:none){.choice:hover,.history-card:hover,.mode-card:hover{transform:none}}

/* Recul V5 richness layer */
.learning-card{background:linear-gradient(145deg,#f4fbfa,#eef6f5);border-color:#cfe4e1}.memory-strip{padding:16px 18px;border:1px dashed #bdd8d5;border-radius:20px;background:#fbfdfd;margin:14px 0}.memory-strip p{margin:.35rem 0 0;color:var(--muted)}
.pattern-preview{margin:16px 0;padding:16px;background:#f7f4ff;border:1px solid #e4ddf7;border-radius:18px}.chip-wrap{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.pattern-chip{border:1px solid #d8d2ed;background:white;border-radius:999px;padding:8px 11px;font-size:13px;font-weight:700}.pattern-chip.selected{background:#655a8e;color:white;border-color:#655a8e}
textarea.short{min-height:92px}.memory-card{margin-top:18px;background:#f4f8fb;border:1px solid #dce7ef;border-radius:18px;padding:16px}.memory-item{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #dde6eb;padding:11px 0}.memory-item:first-of-type{border-top:0}.memory-item b{display:block;font-size:14px}.memory-item small{display:block;color:var(--muted);margin-top:3px}.memory-item>span{min-width:30px;height:30px;border-radius:999px;background:#dae8f1;display:grid;place-items:center;font-weight:800;color:#31506a}
.tomorrow-card{background:#fff9e8;border:1px solid #f1e1ae;border-radius:18px;padding:16px;margin:18px 0}.tomorrow-card textarea{background:rgba(255,255,255,.7)}
.segmented.three{grid-template-columns:repeat(3,1fr)}.segmented.three button{font-size:12px;padding:10px 6px}.kpi-grid{display:grid;gap:9px;margin:13px 0}.kpi-grid.three{grid-template-columns:repeat(3,1fr)}.kpi{background:white;border:1px solid var(--line);border-radius:17px;padding:14px;min-height:98px}.kpi span{font-size:12px;color:var(--muted);display:block}.kpi strong{font-size:20px;display:block;margin-top:8px;overflow-wrap:anywhere}.impact-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.impact-row:last-child{border-bottom:0}.impact-row span small{display:block;color:var(--muted);margin-top:2px}.pattern-row{display:grid;grid-template-columns:minmax(110px,1fr) 1fr 30px;gap:10px;align-items:center;padding:10px 0}.pattern-row>div{height:8px;background:#eceff1;border-radius:999px;overflow:hidden}.pattern-row>div span{height:100%;display:block;background:var(--primary);border-radius:999px}.calibration-card{text-align:center}.big-number{font-size:54px;font-weight:900;color:var(--primary);letter-spacing:-2px;margin:8px 0}.architecture{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:14px}.architecture span{background:var(--surface-2);border-radius:12px;padding:9px 11px;font-size:12px;font-weight:700}.mini-history span small{display:block;color:var(--muted);margin-top:4px}.mini-history strong{background:var(--surface-2);border-radius:999px;min-width:30px;height:30px;display:grid;place-items:center}
@media(max-width:390px){.kpi-grid.three{grid-template-columns:1fr 1fr}.kpi-grid.three .kpi:last-child{grid-column:1/3}.segmented.three button{font-size:11px}}
/* V5.1 validation and custom alternatives */
.required{color:#b42318;font-weight:800}.required-note{font-size:.83rem;color:#8a4350;margin:4px 0 12px}.optional-tag{font-size:.78rem;font-weight:500;color:var(--muted);margin-left:4px}.field-help{font-size:.86rem;color:var(--muted);line-height:1.4;margin:8px 0 14px}.validation-hint{background:#fff4e5;border:1px solid #ffd8a8;color:#7a4a00;padding:11px 13px;border-radius:12px;font-size:.9rem;margin:14px 0 8px}.btn-disabled,.btn:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.6)}.add-alternative-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:stretch;margin-top:12px}.add-alt-btn{width:auto;min-width:96px;margin:0}.alternative.selected{outline:2px solid rgba(39,52,95,.25)}
@media(max-width:420px){.add-alternative-row{grid-template-columns:1fr}.add-alt-btn{width:100%}}

/* ===== Recul Brand Refresh V5.2 ===== */
:root{
  --bg:#f7f8fb;
  --surface:#ffffff;
  --surface-2:#eef5fb;
  --ink:#0f2d5b;
  --muted:#7283a0;
  --line:#dce6f1;
  --primary:#3e6ea8;
  --primary-dark:#0f2d5b;
  --primary-soft:#eaf3fb;
  --navy:#0f2d5b;
  --lav:#eaeafb;
  --cream:#fff1d8;
  --sky:#d6e8f7;
  --good:#edf8f3;
  --good-ink:#2f7856;
  --shadow:0 16px 44px rgba(15,45,91,.08);
  --shadow-soft:0 8px 24px rgba(15,45,91,.06);
}
html{background:linear-gradient(180deg,#fbfcfe 0%,var(--bg) 100%)}
body{background:transparent;font-family:"DM Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
h1,h2,.brand,.summary-num,.big-number{font-family:"DM Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.app-shell{max-width:520px;padding:calc(18px + env(safe-area-inset-top)) 18px calc(112px + env(safe-area-inset-bottom))}
.topbar{height:58px;margin-bottom:22px}
.brand-lockup{display:flex;align-items:center;gap:11px;min-width:0}
.brand-wordmark{display:block;width:142px;max-width:40vw;height:auto}
.brand-mark{width:42px;height:42px;border-radius:13px;box-shadow:0 5px 18px rgba(15,45,91,.16);flex:0 0 auto}
.brand{font-size:24px;font-weight:850;line-height:1;letter-spacing:-.8px;background:linear-gradient(90deg,#17365f 0%,#2e5f92 44%,#3d878b 72%,#7aa999 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.brand-tagline{font-size:10.5px;line-height:1.2;color:#7a8ca7;margin-top:5px;letter-spacing:.02em}
.icon-btn{border-color:#d9e5ef;background:rgba(255,255,255,.9);box-shadow:var(--shadow-soft)}
.page-head{margin:2px 0 16px}.page-head h1{font-size:33px;color:var(--navy)}
h1{font-size:31px;color:var(--navy)}h2{color:var(--navy)}
.card,.list-card,.history-card,.mode-card,.summary-card,.kpi{border-color:#e2eaf2;box-shadow:var(--shadow-soft)}
.card,.list-card{border-radius:24px}.history-card,.mode-card{border-radius:20px}
.mood-row{gap:9px;margin:14px 0 18px}.mood{background:#fff;border:1px solid #e2e9f0;box-shadow:0 5px 16px rgba(15,45,91,.04)}.mood.selected{background:#edf5ff;border-color:#8cb4dc;box-shadow:0 0 0 3px rgba(62,110,168,.12)}
.hero{position:relative;min-height:245px;display:flex;align-items:flex-end;overflow:hidden;background:linear-gradient(180deg,#ddecfa 0%,#bcd5eb 49%,#5d8fc0 50%,#0f2d5b 100%);color:white;border-radius:28px;padding:0;border:0;box-shadow:0 20px 50px rgba(15,45,91,.18)}
.hero-content{position:relative;z-index:5;width:100%;padding:26px 22px 22px;background:linear-gradient(180deg,rgba(15,45,91,0) 0%,rgba(15,45,91,.10) 10%,rgba(15,45,91,.88) 48%,rgba(15,45,91,.98) 100%)}
.hero h2{font-size:27px;color:#fff;margin-bottom:8px}.hero p{color:#eaf3fb;margin:0 0 15px;max-width:390px}.hero-eyebrow{font-size:10px;letter-spacing:.12em;color:#d8e8f7;margin-bottom:9px}.hero-mark{display:none}
.hero-scenery{position:absolute;inset:0;z-index:1}.hero-sun{position:absolute;width:54px;height:54px;border-radius:50%;background:#fff1d8;right:35px;top:28px;box-shadow:0 0 34px rgba(255,241,216,.55)}
.hero-ridge{position:absolute;left:-8%;width:116%;height:58%;border-radius:50% 48% 0 0;transform-origin:center}.hero-ridge-a{bottom:45px;background:#5a91c3;transform:rotate(-4deg)}.hero-ridge-b{bottom:-50px;background:#173e70;transform:rotate(5deg)}
.btn{border-radius:16px;min-height:50px}.btn-primary{background:linear-gradient(135deg,#244f82,#3e6ea8);box-shadow:0 10px 24px rgba(35,78,130,.18)}.btn-primary:hover{background:#244f82}.btn-secondary{background:#edf4fb;color:#244f82;border:1px solid #dce8f2}.btn-light{background:#fff;color:#173e70;box-shadow:0 8px 20px rgba(15,45,91,.12)}

.review-summary{gap:12px}.summary-card{border-radius:20px;background:linear-gradient(180deg,#fff,#fbfdff);padding:16px;min-height:112px}.summary-card span{color:#6e819e;font-size:12px}.summary-num{color:var(--navy);font-size:30px}
.learning-card{background:linear-gradient(145deg,#f7f4ff,#f2f7fd);border-color:#e3e0f4}.learning-card .eyebrow{color:#786e9c}.trend-text{color:#243d63}
.memory-strip{background:linear-gradient(145deg,#fffaf0,#fff);border-color:#efe2c9;box-shadow:var(--shadow-soft)}
.choice,.alternative,.field,textarea,input[type="text"],input[type="date"],select{border-color:#dce5ef}.choice.selected{background:linear-gradient(135deg,#244f82,#3e6ea8);border-color:#3e6ea8}.choice-grid.multi .choice.selected,.alternative.selected{background:#edf4fb;color:#244f82;border-color:#8db0d2}
textarea:focus,input:focus,select:focus{border-color:#6f9bc6;box-shadow:0 0 0 3px rgba(62,110,168,.12)}
.progress{background:#e8eef5}.progress>div{background:linear-gradient(90deg,#3e6ea8,#7ca8d0)}
.range{accent-color:#3e6ea8}.tag{background:#edf4fb;color:#244f82}.filter-pill.active{background:#244f82;border-color:#244f82}
.segmented{background:#edf2f7}.segmented button.active{box-shadow:0 3px 10px rgba(15,45,91,.08);color:#173e70}
.insight-hero{background:linear-gradient(145deg,#f2f7fd,#f7f4ff)}.pattern-chip.selected{background:#6e6a9b;border-color:#6e6a9b}.big-number{color:#244f82}.bar span,.pattern-row>div span{background:linear-gradient(90deg,#3e6ea8,#80abd2)}
.bottom-nav{width:min(520px,100%);background:rgba(250,252,255,.94);border-color:#dbe5ee;box-shadow:0 -8px 28px rgba(15,45,91,.05)}.nav-item{color:#7a8ba4}.nav-item.active{color:#173e70;background:#edf4fb}.nav-item>span{font-size:19px}
.toast{background:#102f5b}.text-btn{color:#315f95}.privacy-line{color:#8795aa}
@media(prefers-color-scheme:dark){html{background:#f7f8fb}}

/* V5.2.1 — clearer profile/settings page */
.profile-head{margin-bottom:18px}
.profile-head h1{margin-bottom:6px}
.profile-card{padding:20px;margin-bottom:14px}
.profile-card h2{margin:0 0 14px}
.settings-list{display:flex;flex-direction:column;border-top:1px solid var(--border,#e6ebf2)}
.settings-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 2px;border:0;border-bottom:1px solid var(--border,#e6ebf2);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.settings-row span:last-child{font-size:25px;line-height:1;color:var(--muted,#74839a)}
.settings-row:hover{opacity:.82}
.danger-row{color:#b43b46}
.profile-copy{line-height:1.55;margin:0}
.profile-copy+.profile-copy{margin-top:10px}
.about-recul{display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:start}
.about-mark{width:58px;height:58px;border-radius:16px;overflow:hidden;box-shadow:0 6px 18px rgba(15,45,91,.12)}
.about-mark img{width:100%;height:100%;object-fit:cover;display:block}
.version-line{margin:14px 0 0;font-size:.86rem;color:var(--muted,#74839a)}
@media (max-width:520px){.profile-card{padding:18px}.about-recul{grid-template-columns:48px 1fr}.about-mark{width:48px;height:48px;border-radius:14px}}

/* ===== Recul V5.3 — product UI refinement ===== */
.home-head{margin-bottom:12px}.date-eyebrow{text-transform:capitalize;margin-bottom:7px}.home-head h1{margin-bottom:6px}.mood-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px 14px 14px 16px;margin-bottom:16px;box-shadow:var(--shadow-soft)}.mood-panel>div:first-child{min-width:0}.mood-panel b{display:block;color:var(--navy);font-size:14px}.mood-panel span{display:block;color:var(--muted);font-size:11px;margin-top:3px}.mood-row.compact{margin:0;gap:5px}.mood-row.compact .mood{width:38px;height:38px;font-size:19px}.home-actions{display:grid;gap:10px;margin:14px 0 20px}.home-action{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;width:100%;border:1px solid var(--line);background:#fff;border-radius:19px;padding:14px;text-align:left;box-shadow:var(--shadow-soft);color:var(--ink)}.home-action-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--primary-soft);color:var(--primary-dark);font-size:20px}.home-action b{display:block;font-size:14px;color:var(--navy)}.home-action small{display:block;color:var(--muted);font-size:11.5px;line-height:1.35;margin-top:3px}.home-action .chev{font-size:25px;color:#9aabc0}.action-count{min-width:32px;height:32px;border-radius:999px;background:var(--cream);color:#6b5423;display:grid;place-items:center;font-size:14px}.section-block{margin:22px 0}.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.section-title-row h2{font-size:20px;margin:4px 0 0}.learning-card-v2{padding:18px 18px 16px;border-radius:20px;border:1px solid #e3e0f4;box-shadow:var(--shadow-soft)}.learning-card-v2 p{margin:0 0 8px;font-size:15px;line-height:1.5}.learning-card-v2 small{color:var(--muted);font-size:11.5px}.memory-strip-v2{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start}.memory-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#fff3dc;color:#8a6d2d;font-size:21px}.memory-strip-v2 p{margin-top:4px}.flow-intro{text-align:center;padding:12px 8px 18px}.flow-symbol{width:58px;height:58px;margin:0 auto 14px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#edf5fb,#f4f0ff);color:var(--navy);font-size:26px;box-shadow:var(--shadow-soft)}.flow-intro h1{margin:7px 0 8px}.flow-intro p{color:var(--muted);line-height:1.5;margin:0 auto;max-width:390px}.mode-grid{display:grid;gap:12px}.mode-card-v2{grid-template-columns:46px 1fr auto;padding:17px}.mode-card-v2 .mode-icon{width:46px;height:46px;border-radius:15px;background:var(--primary-soft);display:grid;place-items:center;font-size:21px}.mode-card-v2 span:nth-child(2){display:flex;flex-direction:column;align-items:flex-start}.mode-card-v2 b{font-size:16px}.mode-card-v2 small{font-size:11px;color:var(--primary);margin:3px 0}.mode-card-v2 em{font-style:normal;font-size:11.5px;color:var(--muted);line-height:1.35}.mode-arrow{font-size:22px;color:#8ca0b9}.review-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0 14px}.review-stats>div{background:linear-gradient(180deg,#fff,#fbfdff);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow-soft)}.review-stats strong{font-family:Sora;font-size:28px;color:var(--navy);display:block}.review-stats span{font-size:11px;color:var(--muted)}.segmented-v2{margin-bottom:15px}.review-card-v2{padding:18px}.due-label{font-size:10.5px;font-weight:700;color:#6c7d95;background:#f2f5f8;padding:6px 8px;border-radius:999px}.review-card-v2.due .due-label{background:#fff1d8;color:#7c5d19}.review-original{background:#f7f9fc;border-radius:14px;padding:12px;margin:12px 0 14px}.review-original span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:700}.review-original p{margin:4px 0 0;font-size:13px;line-height:1.4;color:#344d70}.empty-state-v2{border:1px dashed #cfdae7;border-radius:24px;background:linear-gradient(180deg,#fbfdff,#f7f9fc);padding:34px 24px}.empty-state-v2 p{color:var(--muted);font-size:13px;line-height:1.5;max-width:330px;margin:8px auto 0}.empty-icon{width:50px;height:50px;border-radius:50%;background:#edf5fb;color:#2f648f;display:grid;place-items:center;margin:0 auto 12px;font-size:22px}.search-box{display:grid;grid-template-columns:28px 1fr;align-items:center;border:1px solid var(--line);background:#fff;border-radius:16px;padding:0 12px;margin-bottom:12px;box-shadow:var(--shadow-soft)}.search-box span{color:#8aa0b8;font-size:19px}.search-box input{border:0!important;box-shadow:none!important;background:transparent!important;padding-left:4px}.history-list{display:grid;gap:10px}.history-card-v2{margin:0;padding:16px 17px}.history-card-v2 h2{font-size:15px;line-height:1.35;margin:10px 0 12px}.outcome-badge{font-size:10.5px;color:#7c8798;background:#f1f3f5;padding:6px 8px;border-radius:999px}.outcome-badge.resolved{background:#edf8f3;color:#2f7856}.insight-empty{margin-top:18px}.insight-seed{width:62px;height:62px;margin:0 auto 14px;border-radius:22px;background:linear-gradient(145deg,#edf5fb,#f4efff);display:grid;place-items:center;font-size:28px;color:#587da8}.insight-empty .btn{max-width:240px;margin:20px auto 0}
@media(max-width:430px){.mood-panel{align-items:flex-start;flex-direction:column}.mood-row.compact{width:100%;justify-content:space-between}.mood-row.compact .mood{width:42px;height:42px}.hero{min-height:230px}.hero h2{font-size:24px}.home-action{grid-template-columns:40px 1fr auto}.home-action-icon{width:40px;height:40px}.review-stats strong{font-size:25px}}

/* V5.3.2 — history filters: wrap instead of horizontal overflow */
@media(max-width:520px){.filter-scroll{gap:6px;padding-right:0}.filter-pill{font-size:12px;padding:7px 10px}}

/* ===== Recul V5.4 — onboarding, draft continuity & in-app reminders ===== */
.intro-screen{min-height:calc(100dvh - 32px);display:flex;flex-direction:column;justify-content:center;padding:28px 18px 24px;text-align:center;max-width:480px;margin:0 auto}.intro-art{width:112px;height:112px;border-radius:30px;overflow:hidden;margin:0 auto 24px;box-shadow:0 18px 42px rgba(15,45,91,.16)}.intro-art img{width:100%;height:100%;object-fit:cover}.intro-screen h1{font-size:31px;margin:8px auto 12px;max-width:380px}.intro-screen p{color:var(--muted);font-size:15px;line-height:1.6;max-width:390px;margin:0 auto}.intro-dots{display:flex;justify-content:center;gap:7px;margin:28px 0}.intro-dots span{width:7px;height:7px;border-radius:999px;background:#d9e3ed;transition:.2s}.intro-dots span.active{width:24px;background:var(--primary)}.intro-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px;margin-top:6px}.intro-actions .btn{margin:0}
.due-banner,.resume-card{width:100%;display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;text-align:left;border-radius:18px;padding:13px 14px;margin:10px 0;border:1px solid #ead8ae;background:linear-gradient(145deg,#fff9ed,#fff);color:var(--ink);box-shadow:var(--shadow-soft)}.due-banner>span:first-child{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#fff0cf;color:#7c5d19;font-size:20px}.due-banner b,.resume-card b{display:block;color:var(--navy);font-size:13.5px}.due-banner small,.resume-card small{display:block;color:var(--muted);font-size:11.5px;line-height:1.35;margin-top:2px}.due-banner>span:last-child,.resume-card>span:last-child{font-size:24px;color:#9aabc0}.resume-card{border-color:#dbe6f1;background:linear-gradient(145deg,#f8fbff,#fff)}.resume-card>span:first-child{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#edf4fb;color:#315f95;font-size:20px}
.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:4px 0;border:0;background:transparent;color:inherit;text-align:left;font:inherit}.toggle-row b{display:block;color:var(--navy);font-size:14px}.toggle-row small{display:block;color:var(--muted);font-size:11.5px;line-height:1.45;margin-top:4px;max-width:330px}.toggle{width:48px;height:28px;flex:0 0 auto;border-radius:999px;background:#d8e1ea;padding:3px;transition:.2s}.toggle i{display:block;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(15,45,91,.18);transition:.2s}.toggle.on{background:#3e6ea8}.toggle.on i{transform:translateX(20px)}
@media(max-width:430px){.intro-screen{padding-left:10px;padding-right:10px}.intro-screen h1{font-size:28px}.intro-actions{grid-template-columns:1fr 1.2fr}}

/* ===== Recul V5.5 — account & Supabase cloud backup ===== */
.cloud-card{border-color:#dbe6f1;background:linear-gradient(180deg,#fff,#fbfdff)}
.cloud-login{display:grid;gap:10px;margin-top:16px}.cloud-login input{width:100%;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fff;color:var(--ink);font:inherit;outline:none}.cloud-login input:focus{border-color:#7da2ca;box-shadow:0 0 0 3px rgba(62,110,168,.1)}.cloud-login .btn{margin:0}
.cloud-note{font-size:11.5px;line-height:1.5;margin:12px 0 0}.cloud-user{display:flex;align-items:center;gap:10px;padding:12px 0 14px}.cloud-user b{display:block;color:var(--navy);font-size:14px;overflow-wrap:anywhere}.cloud-user small{display:block;color:var(--muted);font-size:11.5px;margin-top:3px}.cloud-dot{width:10px;height:10px;border-radius:50%;background:#cbd5df;box-shadow:0 0 0 5px rgba(203,213,223,.25)}.cloud-dot.on{background:#4b9b78;box-shadow:0 0 0 5px rgba(75,155,120,.14)}
.cloud-gate{max-width:520px;margin:0 auto;min-height:100dvh;justify-content:center}
.cloud-gate-form{width:100%;display:grid;gap:12px;margin-top:10px}
.cloud-gate-form input{width:100%;box-sizing:border-box;border:1px solid #cbd9eb;border-radius:16px;padding:15px 16px;font:inherit;background:#fff;color:#0f2d5b;outline:none}
.cloud-gate-form input:focus{border-color:#3e6ea8;box-shadow:0 0 0 3px rgba(62,110,168,.12)}
.cloud-skip{width:100%;margin-top:4px}
.cloud-gate-error{width:100%;box-sizing:border-box;background:#fff2f2;color:#9d2d2d;border:1px solid #f1c6c6;border-radius:14px;padding:10px 12px;font-size:.92rem}

/* V5.6 — password auth + Free / Plus */
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;background:#f2f6fb;border:1px solid #dbe6f3;border-radius:14px;margin:18px 0 12px}
.auth-tabs button{border:0;background:transparent;padding:10px 12px;border-radius:10px;font:inherit;font-weight:700;color:#5b6f8d;cursor:pointer}
.auth-tabs button.active{background:#fff;color:#0f2d5b;box-shadow:0 2px 10px rgba(15,45,91,.08)}
.auth-form{display:grid;gap:10px}
.auth-form input{width:100%;box-sizing:border-box}
.auth-forgot{display:block;margin:10px auto 0}
.plus-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 7px;border-radius:999px;background:linear-gradient(135deg,#0f2d5b,#527eb6);color:#fff;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.08em;vertical-align:middle}
.premium-locked{position:relative;border-color:#aac5e6!important;background:linear-gradient(180deg,#fff,#f3f7fd)!important}
.nav-plus{font-style:normal;font-size:10px;font-weight:900;margin-left:2px;color:#527eb6}
.plan-grid{display:grid;grid-template-columns:1fr;gap:14px}
.plan-card{padding:22px}
.plan-card.plus{border:1px solid #92b5df;background:linear-gradient(160deg,#f7fbff,#eef3ff)}
.plan-kicker{font-size:11px;font-weight:900;letter-spacing:.14em;color:#527eb6;margin-bottom:6px}
.plan-card ul{padding-left:19px;margin:16px 0 20px;line-height:1.8;color:#3f5575}
.plan-note{text-align:center;margin:14px 8px 0}
.plan-summary{border:1px solid #dbe6f3}
.plan-summary.plus-active{background:linear-gradient(160deg,#f7fbff,#eef3ff);border-color:#aac5e6}
.plan-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
@media(min-width:720px){.plan-grid{grid-template-columns:1fr 1fr}}

/* ===== Recul V5.7 — billing-ready Plus checkout ===== */
.price-options{display:grid;gap:10px;margin-top:14px}.price-option{position:relative;width:100%;display:grid;gap:4px;text-align:left;border:1px solid #cbd9eb;border-radius:16px;background:#fff;padding:15px 16px;color:var(--navy);font:inherit;cursor:pointer}.price-option:hover{border-color:#7da2ca}.price-option.featured{border-color:#7da2ca;background:linear-gradient(145deg,#f7fbff,#f4f1ff);padding-top:26px}.price-option b{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:23px;font-weight:800;letter-spacing:-.02em}.price-option b small{font-family:inherit;font-size:12px;font-weight:600;color:var(--muted)}.price-option>span:last-child{font-size:12px;color:#58708f}.price-badge{position:absolute;left:14px;top:8px;font-size:9px;font-weight:900;letter-spacing:.1em;color:#527eb6}.price-option-saving{font-size:10px;font-weight:800;color:#527eb6;letter-spacing:.02em}.billing-coming,.billing-success{display:grid;gap:7px;padding:15px;border-radius:16px;margin-top:14px}.billing-coming{background:#fff9ed;border:1px solid #ead8ae}.billing-success{background:#edf8f3;border:1px solid #bfdfcf}.billing-coming b,.billing-success b{color:var(--navy);font-size:14px}.billing-coming span,.billing-success span{font-size:12px;line-height:1.45;color:var(--muted)}.price-preview{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:5px;padding-top:10px;border-top:1px solid rgba(124,93,25,.15)}.price-preview strong{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--navy);font-size:22px;font-weight:800}.price-preview strong small{font-family:inherit;font-size:11px;font-weight:600;color:var(--muted)}.price-preview>span{font-size:12px;color:#58708f}.billing-message{margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#edf4fb;border:1px solid #d4e2f0;color:#315f95;font-size:13px;line-height:1.45}.plan-card.plus .btn{margin-top:14px}.billing-success+.btn{margin-top:10px}

/* ===== Recul V5.8 — public MVP: legal links, deletion, clearer pricing ===== */
.legal-links a.settings-row{text-decoration:none}.delete-account-card{max-width:640px;margin:0 auto 80px}.danger-head h1{color:#8e2c36}.delete-list{padding-left:20px;color:#526987;line-height:1.65}.confirm-label{display:block;font-weight:800;color:var(--navy);margin:20px 0 8px}.confirm-input{width:100%;box-sizing:border-box;border:1px solid #e0b8bd;border-radius:14px;padding:13px 14px;font:inherit;outline:none}.confirm-input:focus{border-color:#b43b46;box-shadow:0 0 0 3px rgba(180,59,70,.10)}.btn-danger{margin-top:14px;background:#a8323e;color:#fff;border-color:#a8323e}.btn-danger:hover{background:#922a35}.btn-danger:disabled{opacity:.6;cursor:wait}.plan-price{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:28px;font-weight:800;letter-spacing:-.025em;color:var(--navy);margin:8px 0 2px}.plan-price small{font-family:inherit;font-size:11px;font-weight:600;letter-spacing:0;color:var(--muted)}.plan-price-hero{font-size:32px}.plan-alt-price{font-size:12px;color:#58708f;margin-bottom:4px}

/* ===== Recul V5.9 — Method First foundation ===== */
.method-kicker{margin:2px 0 10px;color:var(--primary);font-size:12px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.expectation-reality-card{margin:14px 0 18px;padding:16px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,#fff,#f8fbfb);box-shadow:var(--shadow)}
.expectation-reality-card>div:not(.reality-arrow){padding:2px 0}.expectation-reality-card span{display:block;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.expectation-reality-card p{margin:5px 0;font-size:16px;font-weight:650}.expectation-reality-card small{color:var(--muted)}
.reality-arrow{text-align:center;color:var(--primary);font-size:20px;line-height:1;padding:7px 0}
.expectation-block{border-color:#b8d8d4;background:#f7fbfa}


/* ===== Recul V6.0 — Adaptive Method ===== */
.adaptive-focus .choice-grid{grid-template-columns:1fr;gap:10px}
.adaptive-focus .choice{min-height:54px;padding:13px 14px}
.adaptive-theme .choice-grid{grid-template-columns:1fr;gap:9px}
.adaptive-question{margin-top:22px}
.context-summary .chip-wrap{margin-bottom:8px}
@media(min-width:720px){.adaptive-theme .choice-grid{grid-template-columns:1fr 1fr}}

/* ===== Recul V6.0.1 — calmer first step ===== */
.focus-group-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
.focus-group-choice{min-height:58px!important;display:flex;align-items:center}
.focus-subtype{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.subtype-grid{margin-bottom:4px}
.focus-selected-copy{display:flex;flex-direction:column;gap:5px;margin:16px 0 4px;padding:13px 14px;border-radius:14px;background:#f5f8fc;border:1px solid #e3eaf3}
.focus-selected-copy strong{color:var(--navy);font-size:.92rem}.focus-selected-copy span{color:var(--muted);font-size:.84rem;line-height:1.4}
.selection-note{margin:12px 0;color:#7a4a00;background:#fff8ed;border:1px solid #ffe1b5;border-radius:12px;padding:10px 12px;font-size:.86rem}
.optional-details{margin:16px 0 4px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.optional-details summary{cursor:pointer;list-style:none;padding:13px 14px;font-weight:750;color:var(--primary-dark)}
.optional-details summary::-webkit-details-marker{display:none}.optional-details summary::after{content:'+';float:right;font-size:18px;font-weight:500}.optional-details[open] summary::after{content:'−'}
.optional-details-body{padding:0 14px 14px;border-top:1px solid var(--line)}
.optional-details-body .field-label{margin-top:14px}
@media(max-width:380px){.focus-group-grid{grid-template-columns:1fr!important}}

/* V6.1.2 — keep very long history titles compact in list view. Full text remains available in detail. */
.history-card-v2 h2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}

/* ===== Recul V6.2 — First Thought → What Really Happened → Step Back ===== */
.core-hero{margin-bottom:12px}.core-journey{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:start;gap:7px;margin:14px 0 22px;padding:13px 14px;border:1px solid #dde7f1;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:var(--shadow-soft)}
.core-journey>i{height:2px;background:#d7e1ec;margin-top:14px;border-radius:999px}.core-journey-step{display:grid;justify-items:center;gap:5px;min-width:64px}.core-journey-step>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-size:11px;font-weight:900;background:#eef3f8;color:#7c8fa8;border:1px solid #d7e1ec}.core-journey-step small{text-align:center;color:#8190a5;font-size:10px;font-weight:800;line-height:1.2}.core-journey-step.current>span{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 6px 15px rgba(49,95,149,.18)}.core-journey-step.current small{color:var(--navy)}.core-journey-step.done>span{background:#edf8f3;border-color:#bcdacb;color:#39785c}.core-journey-step.done small{color:#587667}.core-journey-step.done+i{background:#bcdacb}.core-stage-tag{background:#eef5ff!important;color:#315f95!important;border-color:#d8e6f5!important}
.mood-panel-secondary{margin-top:20px;opacity:.92}.first-thought-card{margin:15px 0 18px;padding:16px;border:1px solid #d9e5f1;border-radius:20px;background:linear-gradient(180deg,#fbfdff,#f5f9fe)}.first-thought-card h2{font-size:18px;margin:5px 0 8px}.first-thought-card p{font-size:15px;font-weight:650;line-height:1.5;margin:0 0 8px}.first-thought-card small{color:var(--muted);line-height:1.45}.reality-choices{grid-template-columns:1fr 1fr}.review-original.subtle{background:#fafcff;border-color:#e6edf5}.history-first-thought{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:65%;color:var(--muted)}
.core-detail-hero{position:relative}.core-detail-hero>small{display:block;color:var(--muted);margin-top:6px}.first-thought-detail{border-color:#d9e5f1;background:#f8fbff}.first-thought-detail small{display:block;margin-top:12px;color:var(--muted);line-height:1.5}.stepback-invite{margin:18px 0}.stepback-invite{border-color:#cbddef;background:linear-gradient(155deg,#f8fbff,#f5f2ff)}.stepback-invite .btn-ghost{margin-top:8px}.stepback-anchor{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 20px}.stepback-anchor>div{padding:12px;border-radius:14px;border:1px solid #dbe5ef;background:#fff}.stepback-anchor span,.stepback-pair span{display:block;color:var(--muted);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.stepback-anchor p,.stepback-pair p{margin:5px 0 0;line-height:1.45;font-size:13px}.stepback-progress{margin-bottom:18px}.stepback-result{margin:18px 0 80px}.stepback-result>.eyebrow{margin-bottom:10px}.stepback-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}.stepback-pair>div{padding:14px;border:1px solid #dbe5ef;border-radius:16px;background:#fff}.stepback-result .detail-block{margin:10px 0}.bottom-nav .nav-item small{line-height:1.05}
@media(max-width:430px){.core-journey{gap:4px;padding:11px 8px}.core-journey-step{min-width:58px}.core-journey-step small{font-size:9.5px}.reality-choices{grid-template-columns:1fr}.stepback-anchor,.stepback-pair{grid-template-columns:1fr}.bottom-nav .nav-item small{font-size:9.5px}}

/* V6.2.2 — clearer emotional scales */



/* Recul V7.2.0 — focused loop + contextual signature mood icons */
.hidden{display:none!important}
.mood-recul{padding:4px;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid var(--line);transition:border-color .15s,background .15s,transform .15s,box-shadow .15s}
.mood-recul img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.mood-row.compact .mood-recul{width:44px;height:44px;border-radius:14px}
.mood-recul.selected{background:var(--primary-soft);border-color:var(--primary);box-shadow:0 0 0 3px rgba(15,112,107,.12);color:inherit}



.follow-picker{margin:12px 0 18px;padding:14px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdfd);box-shadow:var(--shadow-soft)}
.follow-units{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:4px;background:#edf3f3;border-radius:13px}
.follow-unit{min-height:42px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:800;font-size:12px}
.follow-unit.active{background:#fff;color:var(--primary-dark);box-shadow:0 2px 8px rgba(16,37,59,.07)}
.follow-value-row{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;gap:10px;margin:16px 0 10px}
.follow-value-row strong{text-align:center;font-family:Sora,Inter,sans-serif;color:var(--navy);font-size:25px;letter-spacing:-.02em}
.follow-adjust{width:48px;height:48px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--primary-dark);font-size:26px;line-height:1;font-weight:500}
.follow-adjust:active{background:var(--primary-soft)}
.follow-range{margin:2px 0 8px}
.follow-preview{text-align:center;color:var(--primary-dark);background:var(--primary-soft);border-radius:12px;padding:9px 10px;font-size:12px;font-weight:800}
.follow-no-date{width:100%;min-height:40px;margin-top:10px;border:0;background:transparent;color:var(--muted);font-weight:750;font-size:12px;border-radius:10px}
.follow-no-date.active{background:#f1f4f5;color:var(--ink)}
.follow-none-state{display:grid;gap:4px;text-align:center;padding:22px 10px 14px}
.follow-none-state strong{color:var(--navy);font-size:18px}.follow-none-state small{color:var(--muted);font-size:12px}

@media(max-width:360px){.follow-unit{font-size:11px}.follow-value-row{grid-template-columns:44px 1fr 44px}.follow-adjust{width:44px;height:44px}.mood-row.compact .mood-recul{width:40px;height:40px}}

/* Recul V7.2 — one product, one loop: First thought → Reality → Step back */
.review-stats.single{grid-template-columns:1fr}
.capture-mood{margin:18px 0 20px;padding:15px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdfd)}
.capture-mood .field-label{margin-top:0}.capture-mood .field-help{margin-bottom:10px}
.mood-contextual{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:10px 0 0}
.mood-contextual .mood{width:100%;height:auto;min-height:58px;padding:7px;border:1px solid var(--line);background:#fff;border-radius:15px}
.mood-contextual .mood img{width:44px!important;height:44px!important;object-fit:contain}
.mood-contextual .mood.selected{background:var(--primary-soft);border-color:var(--primary);box-shadow:0 0 0 2px rgba(15,112,107,.08)}
.stepback-mood{margin-top:18px;margin-bottom:4px}
.mood-memory{display:flex;align-items:center;gap:8px;margin-top:13px;padding-top:11px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
.mood-memory b{color:var(--navy);font-size:11px}.mood-inline{display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 34px}.mood-inline img{display:block;width:34px;height:34px;object-fit:contain}
.mood-compare{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(39,114,74,.14)}
.mood-compare>div{display:flex;align-items:center;gap:7px}.mood-compare>div:last-child{justify-content:flex-end}.mood-compare span{font-size:10px;color:var(--muted);font-weight:750}.mood-compare i{font-style:normal;color:var(--muted)}
@media(max-width:430px){.mood-contextual{gap:6px}.mood-contextual .mood{min-height:54px;padding:5px}.mood-contextual .mood img{width:40px!important;height:40px!important}.mood-compare{gap:6px}.mood-compare>div{gap:4px}.mood-inline,.mood-inline img{width:30px;height:30px}}


/* Recul V7.2 — explicit time context for every First Thought */
.temporal-choice{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:8px 0 18px}
.temporal-option{min-height:48px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--muted);font-weight:800;padding:9px 10px;line-height:1.2;text-align:center}
.temporal-option:hover{border-color:#abc9c6}.temporal-option.selected{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-dark);box-shadow:0 0 0 2px rgba(15,112,107,.08)}
.temporal-hint{margin:8px 0 18px;padding:12px 13px;border-radius:13px;background:#f5f8f8;color:var(--muted);font-size:13px}
@media(max-width:390px){.temporal-choice{grid-template-columns:1fr}.temporal-option{min-height:44px;text-align:left}}

/* V7.3.0 — emotional snapshots across the Recul loop */
.emotion-snapshot{margin:18px 0 20px;padding:16px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdfd)}
.emotion-snapshot .field-label{margin-top:0}.emotion-snapshot .field-help{margin-bottom:10px}
.emotion-chip-row{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 14px}
.emotion-chip{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 11px;font-size:12px;font-weight:750;min-height:38px}
.emotion-chip.selected{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-dark);box-shadow:0 0 0 2px rgba(15,112,107,.08)}
.emotional-sub-label{margin-top:12px!important}.emotional-range-head{margin-top:14px}
.emotional-journey{margin-top:16px}.emotion-stage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
.emotion-stage{min-width:0;border:1px solid var(--line);border-radius:15px;padding:11px;background:#fff}.emotion-stage>span{display:block;font-size:10px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.emotion-stage-main{display:flex;align-items:center;gap:6px;margin-top:7px;min-width:0}.emotion-stage-main b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emotion-stage small{display:block;color:var(--primary-dark);font-weight:850;margin-top:5px}
@media(max-width:430px){.emotion-chip-row{gap:6px}.emotion-chip{font-size:11px;padding:7px 9px;min-height:36px}.emotion-stage-grid{grid-template-columns:1fr}.emotion-stage{display:grid;grid-template-columns:85px 1fr auto;align-items:center;gap:7px}.emotion-stage>span,.emotion-stage-main,.emotion-stage small{margin:0}}

/* ===== Recul V8.0 guided experience ===== */
:root{
  --bg:#f7f9fc;--surface:#fff;--surface-2:#eef5fb;--ink:#152d4d;--muted:#6f829a;--line:#dbe6f1;
  --primary:#3e6ea8;--primary-dark:#0f2d5b;--primary-soft:#eaf3fb;--navy:#0f2d5b;--lav:#eaeafb;--sky:#d6e8f7;
  --shadow:0 16px 44px rgba(15,45,91,.08);--shadow-soft:0 8px 24px rgba(15,45,91,.06)
}
html[data-theme="dark"]{
  --bg:#0b1626;--surface:#101f33;--surface-2:#162a43;--ink:#e9f1fb;--muted:#99abc0;--line:#253b56;
  --primary:#7da9d7;--primary-dark:#d7e7f8;--primary-soft:#183252;--navy:#eef6ff;--lav:#2a2943;--sky:#274b6e;
  --good:#173529;--good-ink:#a9ddbf;--shadow:0 16px 44px rgba(0,0,0,.28);--shadow-soft:0 8px 24px rgba(0,0,0,.20)
}
html[data-theme="dark"],html[data-theme="dark"] body{background:#0b1626;color:var(--ink)}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select,html[data-theme="dark"] .choice,html[data-theme="dark"] .emotion-chip,html[data-theme="dark"] .mood-recul,html[data-theme="dark"] .task-card,html[data-theme="dark"] .card,html[data-theme="dark"] .list-card,html[data-theme="dark"] .history-card{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .bottom-nav{background:rgba(16,31,51,.97)}
html[data-theme="dark"] .btn-ghost{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .seal-review,html[data-theme="dark"] .sealed-context,html[data-theme="dark"] .reveal-pair>div,html[data-theme="dark"] .privacy-home{background:var(--surface-2);border-color:var(--line)}

.home-head-v8{margin-bottom:14px}.home-head-v8 h1{margin-bottom:5px}.home-primary{position:relative;overflow:hidden;border-radius:28px;padding:23px 20px;margin:14px 0 20px;box-shadow:0 20px 48px rgba(15,45,91,.16);color:#fff;min-height:210px;display:flex;align-items:flex-end;background:linear-gradient(160deg,#4c7db4,#2f639e 48%,#153d73)}
.home-primary h2{color:#fff;font-size:25px;line-height:1.12;margin:7px 0 8px}.home-primary p{color:#e3edf8;margin:0 0 15px;max-width:390px}.home-primary .eyebrow{color:#dce9f6}.home-primary .btn-light{color:#0f2d5b;margin-top:0}.home-primary-content{position:relative;z-index:3;width:100%}.home-scenery{position:absolute;inset:0;pointer-events:none}.home-sun{position:absolute;right:26px;top:25px;width:48px;height:48px;border-radius:50%;background:#ffe1a8;opacity:.9}.home-ridge{position:absolute;left:-6%;right:-6%;bottom:-8px;height:54%;clip-path:polygon(0 73%,18% 49%,35% 66%,56% 30%,72% 53%,84% 45%,100% 63%,100% 100%,0 100%)}.home-ridge.r1{background:#3f75ad;bottom:10px;opacity:.85}.home-ridge.r2{background:#163d73;bottom:-8px}.home-next-wrap{margin:4px 0 20px}.home-next-wrap>.eyebrow{margin:0 0 8px}.home-next-card{width:100%;display:grid;grid-template-columns:44px 1fr 24px;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:13px 12px;box-shadow:var(--shadow-soft);color:var(--ink)}.home-next-card:hover{border-color:#b9cee2}.home-next-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#edf5fb,#f3f0ff);color:#315f94;font-size:20px;font-weight:900}.home-next-copy{min-width:0}.home-next-copy b{display:block;color:var(--navy);font-size:14px;line-height:1.25}.home-next-copy small{display:block;color:var(--muted);font-size:11px;line-height:1.35;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-next-arrow{font-size:27px;line-height:1;color:#8da3bb}.home-next-draft{border-color:#d6e1ef}.home-next-revisit{border-color:#cadcec}.home-next-stepback{border-color:#dddcef}.home-next-snooze{border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:800;padding:8px 4px 0;text-decoration:underline;text-underline-offset:3px}.home-reflections{margin:22px 0}.home-reflections-head{align-items:flex-start}.home-reflections-head h2{font-size:18px;line-height:1.2;margin:4px 0 0}.home-reflection-list{display:grid;gap:9px}.home-reflection-card{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:13px 14px;text-align:left;box-shadow:var(--shadow-soft);color:var(--ink);transition:transform .15s,border-color .15s}.home-reflection-card:hover{border-color:#b9cee2}.home-reflection-card:active{transform:scale(.99)}.home-reflection-top,.home-reflection-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.home-reflection-top small{color:var(--muted);font-size:10.5px}.reflection-status{display:inline-flex;align-items:center;border:1px solid transparent;border-radius:999px;padding:5px 8px;font-size:9.5px;font-weight:900;letter-spacing:.045em;text-transform:uppercase;background:#f1f3f5;color:#667281}.reflection-status.waiting{background:#eaf2fb;color:#35658a;border-color:#d2e2f0}.reflection-status.due{background:#fff2d6;color:#8a5b12;border-color:#f0d9a9}.reflection-status.stepback{background:#f0ecfa;color:#65538c;border-color:#ddd4f2}.reflection-status.complete{background:#e7f3ec;color:#376b50;border-color:#cee4d7}.reflection-status.saved{background:#f1f3f5;color:#667281;border-color:#e1e5ea}.home-reflection-card h3{font-size:14px;line-height:1.35;color:var(--navy);margin:9px 0 5px}.home-reflection-card p{font-size:11.5px;line-height:1.4;color:var(--muted);margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-reflection-foot{border-top:1px solid var(--line);padding-top:9px}.home-reflection-foot span{font-size:10.5px;color:var(--muted)}.home-reflection-foot b{font-size:21px;line-height:1;color:#8da3bb}.reflection-tracking{display:grid;gap:3px;border:1px solid var(--line);border-radius:16px;padding:12px 14px;margin:0 0 14px;background:var(--surface-2)}.reflection-tracking span{font-size:9px;letter-spacing:.08em;font-weight:900;color:var(--muted)}.reflection-tracking b{font-size:13px;color:var(--navy)}.reflection-tracking.waiting{background:#eaf2fb;border-color:#d2e2f0}.reflection-tracking.waiting span{color:#35658a}.reflection-tracking.due{background:#fff2d6;border-color:#f0d9a9}.reflection-tracking.due span{color:#8a5b12}.reflection-tracking.stepback{background:#f0ecfa;border-color:#ddd4f2}.reflection-tracking.stepback span{color:#65538c}.reflection-tracking.complete{background:#e7f3ec;border-color:#cee4d7}.reflection-tracking.complete span{color:#376b50}.reflection-tracking.saved{background:#f7f8fa}..home-continuity{margin:18px 0}.continuity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:9px}.continuity-grid>div{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:13px 7px;text-align:center;box-shadow:var(--shadow-soft)}.continuity-grid b{display:block;color:var(--navy);font-size:21px}.continuity-grid span{display:block;color:var(--muted);font-size:10px;margin-top:3px}.privacy-home,.privacy-cue{font-size:11px;color:var(--muted);text-align:center;padding:9px 11px;border:1px solid var(--line);background:rgba(255,255,255,.55);border-radius:999px;margin:14px auto 0;width:max-content;max-width:100%}.privacy-cue.inline{margin:12px 0 0}.home-mini-list{margin:8px 0 18px}

.intro-v8{position:relative}.intro-language{display:flex;justify-content:center;gap:5px;margin:0 0 18px}.intro-language button{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:10px;padding:7px 10px;font-weight:850;font-size:11px}.intro-language button.active{background:var(--primary-soft);color:var(--primary-dark);border-color:#a7c3df}
.app-language-picker{position:absolute;top:max(18px,env(safe-area-inset-top));right:18px;display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:13px;background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 8px 22px rgba(25,57,91,.07);z-index:2}.app-language-picker button{border:0;background:transparent;color:var(--muted);border-radius:9px;padding:7px 9px;font-weight:850;font-size:11px;line-height:1;cursor:pointer}.app-language-picker button.active{background:var(--primary-soft);color:var(--primary-dark)}.cloud-gate{position:relative}.cloud-gate .intro-art{margin-top:28px}@media(max-width:520px){.app-language-picker{top:max(12px,env(safe-area-inset-top));right:12px}.cloud-gate .intro-art{margin-top:42px}}

.task-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;color:var(--muted);font-size:12px;margin:7px 0}.task-meta-actions{display:flex;align-items:center;gap:8px}.flow-overflow-btn{position:static;width:34px;height:30px;border-radius:10px;font-size:20px}.task-estimate{white-space:nowrap;background:var(--primary-soft);color:var(--primary-dark);border-radius:999px;padding:5px 8px;font-weight:800}.task-progress{height:6px;background:#e7eef5;border-radius:999px;overflow:hidden;margin:0 0 18px}.task-progress span{display:block;height:100%;background:linear-gradient(90deg,#3e6ea8,#7788c5);border-radius:999px;transition:width .2s}.task-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:19px;box-shadow:var(--shadow-soft);min-height:320px;animation:taskIn .2s ease-out}.task-card h1{font-size:27px;margin:5px 0 8px}.task-kicker{font-size:10px;letter-spacing:.12em;color:var(--primary);font-weight:900}
.stepback-recall{display:grid;gap:7px;margin:0 0 15px;min-width:0}.stepback-recall-item{min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden;color:var(--ink)}.stepback-recall-item summary{list-style:none;display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:start;padding:10px 11px;cursor:pointer;min-width:0}.stepback-recall-item summary::-webkit-details-marker{display:none}.stepback-recall-marker{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;flex:0 0 28px;background:#dceafb;color:#315f94;font-size:11px;font-weight:900;line-height:1}.stepback-recall-marker-situation{background:var(--surface);border:1px solid var(--line);color:var(--muted)}.stepback-recall-marker-situation svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.stepback-recall-first{background:#eaf3fb;border-color:#cfdfee}.stepback-recall-reality{background:#eaf7ef;border-color:#cee4d7}.stepback-recall-reality .stepback-recall-marker{background:#d9efe2;color:#376b50}.stepback-recall-content{display:block;min-width:0}.stepback-recall-head{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;margin:0 0 3px}.stepback-recall-head>b{min-width:0;color:var(--muted);font-size:9.5px;font-weight:900;letter-spacing:.065em;text-transform:uppercase;line-height:1.15}.stepback-recall-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--ink);font-size:11.5px;line-height:1.38;font-weight:700;overflow-wrap:anywhere}.stepback-recall-item[open] .stepback-recall-text{-webkit-line-clamp:unset;display:block;overflow:visible}.stepback-recall-emotion{display:inline-flex;align-items:center;gap:4px;max-width:58%;padding:2px 7px 2px 3px;border:1px solid rgba(49,95,148,.15);border-radius:999px;background:rgba(255,255,255,.72);color:var(--navy);font-size:9px;font-weight:850;white-space:nowrap;overflow:hidden}.stepback-recall-emotion .mood-inline,.stepback-recall-emotion .mood-inline img{width:20px;height:20px}.stepback-recall-emotion>span:last-child{overflow:hidden;text-overflow:ellipsis}.stepback-recall-relation{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:6px;padding:3px 8px;border-radius:999px;font-size:9px;font-weight:900}.stepback-recall-relation.relation-confirmed{background:#dce8f2;color:#4f7cab}.stepback-recall-relation.relation-partial{background:#e5e2f3;color:#7769a8}.stepback-recall-relation.relation-different{background:#eee1eb;color:#8b6283}.stepback-recall-current{border-style:dashed;background:transparent}.stepback-recall-current-inner{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:center;padding:9px 11px;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.045em;text-transform:uppercase}.stepback-recall-current .stepback-recall-marker{background:var(--surface-2);border:1px dashed var(--line);color:var(--muted)}html[data-theme="dark"] .stepback-recall-first{background:#172b43;border-color:#2a4563}html[data-theme="dark"] .stepback-recall-reality{background:#173529;border-color:#28513e}html[data-theme="dark"] .stepback-recall-emotion{background:rgba(11,22,38,.5);border-color:var(--line);color:var(--ink)}html[data-theme="dark"] .stepback-recall-marker-situation{background:var(--surface-2)}html[data-theme="dark"] .stepback-recall-relation.relation-confirmed{background:#213b59;color:#a8c7e6}html[data-theme="dark"] .stepback-recall-relation.relation-partial{background:#34304f;color:#c2b8e6}html[data-theme="dark"] .stepback-recall-relation.relation-different{background:#432f40;color:#ddb7d2}@media(max-width:360px){.stepback-recall-item summary,.stepback-recall-current-inner{grid-template-columns:26px minmax(0,1fr);gap:7px;padding-left:9px;padding-right:9px}.stepback-recall-marker{width:25px;height:25px;font-size:10px}.stepback-recall-head{align-items:flex-start;flex-wrap:wrap}.stepback-recall-emotion{max-width:100%}}
.root-cause-card textarea{margin-bottom:0}.root-cause-level{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.root-cause-help{margin:-2px 0 8px}.root-cause-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}.root-cause-more,.root-cause-less{border:0;border-radius:999px;padding:9px 12px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.root-cause-more{background:var(--primary-soft);color:var(--primary-dark)}.root-cause-less{background:transparent;color:var(--muted);border:1px solid var(--line)}.root-cause-note{font-size:11.5px;color:var(--muted);line-height:1.45;margin:10px 0 0}.optional-next-time{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.optional-next-time summary{list-style:none;display:flex;justify-content:space-between;gap:10px;align-items:center;color:var(--primary-dark);font-size:12.5px;font-weight:850;cursor:pointer}.optional-next-time summary::-webkit-details-marker{display:none}.optional-next-time summary span{font-size:19px;line-height:1;color:var(--muted);transition:transform .18s}.optional-next-time[open] summary span{transform:rotate(45deg)}.optional-next-time-body{padding-top:10px}.root-cause-summary{margin-top:12px;padding:15px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fbfdff,#f7f9fc)}.root-cause-summary>b{display:block;margin-bottom:10px;color:var(--navy)}.root-cause-summary-row{display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:start;padding:9px 0;border-top:1px solid #e7edf4}.root-cause-summary-row:first-of-type{border-top:0}.root-cause-summary-row>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-dark);font-size:11px;font-weight:900}.root-cause-summary-row small{display:block;color:var(--muted);font-size:10.5px;font-weight:800;margin-bottom:3px}.root-cause-summary-row p{margin:0;font-size:13px;line-height:1.4;color:var(--ink)}
html[data-theme="dark"] .root-cause-summary{background:var(--surface);border-color:var(--line)}html[data-theme="dark"] .root-cause-summary-row{border-color:var(--line)}.task-actions-sticky{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(8px + env(safe-area-inset-bottom));width:min(464px,calc(100% - 36px));z-index:18;display:grid;grid-template-columns:minmax(100px,.8fr) minmax(160px,1.4fr);gap:9px;padding:12px 0 3px;background:linear-gradient(180deg,rgba(247,249,252,0),var(--bg) 28%)}.task-actions-sticky .btn{margin:0}.speech-btn{display:inline-flex;gap:7px;align-items:center;border:1px solid var(--line);background:var(--surface);color:var(--primary-dark);border-radius:999px;padding:8px 11px;margin-top:8px;font-size:12px;font-weight:800}.speech-btn.listening{background:var(--primary-soft)}.seal-review{margin-top:15px;padding:14px;border:1px solid #d6e2ef;border-radius:17px;background:linear-gradient(180deg,#fbfdff,#f4f8fd)}.seal-review p{margin:7px 0;font-size:13px}.seal-review small{display:flex;align-items:center;gap:5px;color:var(--muted)}.seal-review-compact{padding:0;overflow:hidden}.seal-review-compact summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;color:var(--navy);font-size:12px;font-weight:850;cursor:pointer}.seal-review-compact summary::-webkit-details-marker{display:none}.seal-review-compact summary b{font-size:22px;line-height:1;color:#8da3bb;transition:transform .18s ease}.seal-review-compact[open] summary b{transform:rotate(90deg)}.seal-review-body{padding:0 14px 13px;border-top:1px solid #e2eaf2}.seal-review-body p:first-child{margin-top:11px}

.emotion-snapshot.task-emotion-card{padding:0;border:0;background:transparent;margin:5px 0}.emotion-chip-row{gap:7px}.emotion-chip{background:var(--surface);border-color:var(--line);transition:transform .15s,background .15s,border-color .15s}.emotion-chip:active{transform:scale(.97)}.emotion-chip.selected{background:#e9f1fb;border-color:#8caed1;color:#244d7c;box-shadow:0 0 0 2px rgba(62,110,168,.09)}.more-emotions{border:0;background:transparent;color:var(--primary);font-size:12px;font-weight:850;padding:4px 1px 8px}.mood-contextual .mood.selected{background:#edf5ff;border-color:#7ea7d0;box-shadow:0 0 0 3px rgba(62,110,168,.11)}

.sealed-context{padding:14px;border:1px solid #d6e2ef;border-radius:17px;background:#f5f9fd;margin:12px 0 15px}.sealed-context span{font-size:11px;color:var(--primary);font-weight:850}.sealed-context p{font-weight:750;color:var(--navy);margin:7px 0 0}.reveal-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0 18px}.reveal-pair>div{padding:14px;border:1px solid var(--line);border-radius:17px;background:#fbfdff;min-width:0}.reveal-pair span{font-size:9px;font-weight:900;letter-spacing:.07em;color:var(--muted)}.reveal-pair p{font-size:13px;line-height:1.45;font-weight:700}.reveal-pair small{display:block;font-size:11px;color:var(--muted);margin-top:7px}.mini-emotional-preview{display:grid;grid-template-columns:1fr auto 1fr;gap:7px;align-items:center;margin-top:16px}.mini-emotional-preview>.emotion-stage{height:100%}.mini-emotional-preview>span{color:var(--muted);font-weight:900}

.completion-screen{text-align:center;padding:24px 4px 18px}.completion-mark{width:74px;height:74px;border-radius:24px;margin:0 auto 16px;display:grid;place-items:center;background:linear-gradient(145deg,#eaf3fb,#eaeafb);border:1px solid #d7e3f0;color:#2c619a;font-size:31px;box-shadow:var(--shadow-soft)}.completion-mark.reveal{font-size:27px}.completion-screen h1{max-width:410px;margin:7px auto 9px}.completion-screen>p{max-width:420px;margin:0 auto 17px;color:var(--muted)}.completion-screen .emotional-journey{text-align:left}.seal-edit{display:block;margin:2px auto 10px}.review-card-v8 p.muted{font-size:13px}.snooze-link{display:block;margin:9px auto 0}.review-card-v8.due{border-color:#9fbcda;background:linear-gradient(180deg,#fff,#f7fbff)}

.perspective-trail{margin:14px 0 18px;padding:16px;border:1px solid var(--line);background:linear-gradient(180deg,#fff,#f7faff);border-radius:20px;overflow:hidden}.trail-line{display:flex;align-items:center;overflow-x:auto;padding:12px 2px 3px}.trail-point{flex:0 0 62px;border:0;background:transparent;text-align:center;color:var(--muted);padding:0}.trail-dot{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;margin:auto;background:var(--surface);border:2px solid #b9cee4}.trail-dot .mood-inline,.trail-dot .mood-inline img{width:30px;height:30px}.trail-point small{display:block;font-size:8.5px;margin-top:4px;line-height:1.1}.trail-line>i{flex:0 0 25px;height:2px;background:#cedcea;border-radius:999px}

.core-journey-step.current>span{background:#3e6ea8!important;border-color:#3e6ea8!important}.core-journey-step.current small{color:#0f2d5b!important}.core-journey-step.done>span{background:#eaf3fb!important;border-color:#a9c4de!important;color:#2e6399!important}.core-journey-step.done+i{background:#a9c4de!important}.temporal-option.selected{background:#eaf3fb!important;border-color:#7fa7cf!important;color:#244f7e!important}.follow-unit.active{color:#244f7e!important}.follow-preview{background:#eaf3fb!important;color:#244f7e!important}.follow-adjust{color:#244f7e!important}.bottom-nav .nav-item.active{background:#edf5fb!important;color:#2b5f94!important}

@keyframes taskIn{from{opacity:0;transform:translateX(7px)}to{opacity:1;transform:none}}
@media(max-width:430px){.task-card{min-height:300px;padding:17px}.task-card h1{font-size:24px}.reveal-pair{grid-template-columns:1fr}.task-actions-sticky{bottom:calc(8px + env(safe-area-inset-bottom));width:calc(100% - 36px);grid-template-columns:1fr 1.4fr}.continuity-grid span{font-size:9px}}
@media(max-width:360px){.task-actions-sticky{width:calc(100% - 28px)}}
@media(prefers-reduced-motion:reduce){.task-card{animation:none}.emotion-chip{transition:none}}

/* ===== Recul V8.1.1 — scalable Home + Stats ===== */
.home-up-next{margin:4px 0 22px}.home-up-next>.eyebrow{margin-bottom:8px}.home-next-copy strong{display:block;color:var(--navy);font-size:13px;line-height:1.35;margin:3px 0}.home-next-meta{display:flex;justify-content:space-between;align-items:center;gap:10px}.home-queue-link{border:0;background:transparent;color:var(--primary);font-size:11px;font-weight:850;padding:8px 2px 0;margin-left:auto;text-align:right}.home-queue-link span{font-size:16px;vertical-align:-1px}.home-up-next>.home-queue-link{display:block;margin-left:auto}.home-calm-state{display:grid;grid-template-columns:38px 1fr;gap:11px;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(180deg,var(--surface),var(--surface-2));box-shadow:var(--shadow-soft)}.home-calm-state>span{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#edf7f2;color:#39785c;font-weight:900}.home-calm-state b{display:block;color:var(--navy);font-size:13px}.home-calm-state small{display:block;color:var(--muted);font-size:11px;margin-top:3px;line-height:1.35}
.home-reflections.compact{margin:22px 0 14px}.home-reflection-card.compact{padding:11px 12px;border-radius:16px}.home-reflection-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:9px;align-items:center}.home-reflection-text{min-width:0}.home-reflection-card.compact h3{margin:0 0 2px;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-reflection-card.compact p{margin:0;font-size:10.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.home-reflection-card.compact .reflection-status{font-size:8.5px;padding:4px 6px}.home-reflection-card.compact .home-reflection-main>small{font-size:9px;color:var(--muted);white-space:nowrap}.home-reflection-chevron{font-size:19px;color:#8da3bb}.home-reflection-meta{font-size:9.5px;color:var(--muted);margin-top:7px;padding-top:7px;border-top:1px solid var(--line)}.home-reflections-empty{padding:14px;border:1px dashed var(--line);border-radius:16px;background:var(--surface-2)}.home-reflections-empty p{font-size:11px;color:var(--muted);margin:6px 0 0}.home-continuity,.home-mini-list{display:none!important}

.stats-head{margin-bottom:10px}.stats-periods{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:4px;background:var(--surface-2);border:1px solid var(--line);border-radius:14px;margin:0 0 13px}.stats-periods button,.stats-tabs button{border:0;background:transparent;color:var(--muted);font-weight:850;font-size:10.5px;border-radius:10px;min-height:38px;padding:6px}.stats-periods button.active,.stats-tabs button.active{background:var(--surface);color:var(--navy);box-shadow:0 3px 10px rgba(15,45,91,.08)}.stats-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;overflow-x:auto;margin:0 0 16px;padding:2px}.stats-tabs button{border:1px solid var(--line);background:var(--surface);white-space:normal;line-height:1.15}.stats-tabs button.active{background:#eaf3fb;border-color:#a8c4de;color:#275887}.stats-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}.stats-kpi{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:14px 8px 11px;text-align:center;box-shadow:var(--shadow-soft);color:var(--ink)}.stats-kpi b{display:block;color:var(--navy);font-size:24px;line-height:1}.stats-kpi span{display:block;color:var(--ink);font-size:10.5px;font-weight:850;margin-top:5px}.stats-kpi small{display:block;color:var(--primary);font-size:8.5px;margin-top:7px}.stats-card{margin:12px 0}.stats-card h2{font-size:18px;line-height:1.25;margin:5px 0 12px}.stats-card h3{font-size:14px;line-height:1.3;color:var(--navy);margin:3px 0 9px}.stats-bar-row{margin:12px 0}.stats-bar-row>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.stats-bar-row span{color:var(--muted);font-weight:750}.stats-bar-row b{color:var(--navy);font-size:11px}.stats-bar{height:7px;background:#e8eef5;border-radius:999px;overflow:hidden;margin-top:6px}.stats-bar i{display:block;height:100%;background:linear-gradient(90deg,#4d7fb6,#7789c5);border-radius:999px}.stats-bar-row.same .stats-bar i{background:linear-gradient(90deg,#4f7cab,#6d97bc)}.stats-bar-row.partial .stats-bar i{background:linear-gradient(90deg,#8196c1,#9b8fc7)}.stats-bar-row.different .stats-bar i{background:linear-gradient(90deg,#997fb4,#b08aa9)}.stats-bar-row.unclear .stats-bar i{background:#9aa8b6}.stats-inline-note{font-size:10.5px;color:var(--muted);padding-top:9px;border-top:1px solid var(--line);line-height:1.45}.stats-inline-note b{color:var(--navy)}.stats-stage-row{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:7px;align-items:center}.stats-stage-row>div{background:var(--surface-2);border:1px solid var(--line);border-radius:15px;padding:12px 7px;text-align:center}.stats-stage-row span{display:block;color:var(--muted);font-size:9.5px;font-weight:800;line-height:1.2}.stats-stage-row b{display:block;color:var(--navy);font-size:19px;margin-top:4px}.stats-stage-row>i{font-style:normal;color:#8fa1b5;font-weight:900}.stats-reality-hero{text-align:center}.stats-reality-hero .big-number{font-size:42px;color:var(--navy);font-weight:900;line-height:1}.stats-split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats-mini-number{font-size:29px;color:var(--navy);font-weight:900;line-height:1;margin-bottom:7px}.stats-split p{font-size:10.5px;color:var(--muted);line-height:1.45}.stats-top-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.stats-top-list{border:1px solid var(--line);background:var(--surface-2);border-radius:15px;padding:10px}.stats-top-list h3{font-size:11px}.stats-top-list>div{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-top:1px solid var(--line);font-size:9.5px}.stats-top-list>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-top-list>div b{color:var(--navy)}.stats-top-list p{font-size:9.5px;color:var(--muted)}.emotion-transition{display:grid;grid-template-columns:1fr auto 1fr auto;gap:8px;align-items:center;padding:9px 0;border-top:1px solid var(--line);font-size:11px}.emotion-transition:first-of-type{border-top:0}.emotion-transition span{font-weight:800;color:var(--ink)}.emotion-transition i{font-style:normal;color:var(--muted)}.emotion-transition b{color:var(--navy)}.stats-footnote{font-size:9.5px;line-height:1.45;color:var(--muted);text-align:center;margin:16px 8px 8px}.lifecycle-filters{margin-bottom:7px}

@media(max-width:430px){.home-primary{min-height:190px}.home-reflection-main{grid-template-columns:auto minmax(0,1fr) auto}.home-reflection-main>.reflection-status{grid-column:1}.home-reflection-main>.home-reflection-text{grid-column:2}.home-reflection-main>small{grid-column:3}.home-reflection-chevron{display:none}.stats-periods{gap:3px}.stats-periods button{font-size:9.5px;padding:5px 2px}.stats-tabs{grid-template-columns:repeat(4,112px);padding-bottom:5px}.stats-kpi-grid{gap:7px}.stats-kpi{padding:12px 4px 10px}.stats-kpi b{font-size:21px}.stats-kpi small{font-size:8px}.stats-split{grid-template-columns:1fr}.stats-top-grid{grid-template-columns:1fr}.stats-stage-row{gap:4px}.stats-stage-row>div{padding:10px 4px}.stats-stage-row span{font-size:8.5px}.stats-stage-row b{font-size:17px}}

.auth-feedback{width:100%;box-sizing:border-box;border-radius:16px;padding:13px 14px;margin:12px 0 4px;display:grid;gap:10px;border:1px solid #c9d9ea;background:#f4f8fc;color:#244d7c}.auth-feedback.error{background:#fff2f2;color:#8f3232;border-color:#efc2c2}.auth-feedback.success{background:#eff8f3;color:#276447;border-color:#bfdfcf}.auth-feedback.info{background:#f2f6fb;color:#315f95;border-color:#d4e2f0}.auth-feedback-copy{display:grid;gap:4px}.auth-feedback-copy b{font-family:Sora;font-size:13px}.auth-feedback-copy span{font-size:13px;line-height:1.45}.auth-resend{width:100%;min-height:42px;margin:0}html[data-theme="dark"] .auth-feedback{background:#182942;border-color:#2d496f;color:#dce9f8}html[data-theme="dark"] .auth-feedback.error{background:#3b2428;border-color:#704047;color:#ffd9de}html[data-theme="dark"] .auth-feedback.success{background:#1d352d;border-color:#315e4d;color:#d9f5e7}


/* ===== Recul web install prompt ===== */
.home-install-card{margin:14px 0 18px;padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,var(--surface),var(--surface-2));box-shadow:var(--shadow-soft)}.home-install-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 auto}.home-install-copy{min-width:0;flex:1 1 auto}.home-install-copy .eyebrow{margin-bottom:2px}.home-install-copy h2{margin:0 0 3px;font-size:17px;line-height:1.2;color:var(--navy)}.home-install-copy p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.35}.install-app-icon{width:44px;height:44px;flex:0 0 44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(180deg,#eef5fb,#f7f9fc);border:1px solid var(--line);box-shadow:var(--shadow-soft)}.install-app-icon img{width:33px;height:33px;object-fit:contain}.install-app-button{flex:0 0 auto;width:auto;min-width:112px;white-space:nowrap;margin:0;padding:10px 13px}.install-app-button span{margin-left:4px}@media(max-width:560px){.home-install-card{align-items:stretch;flex-direction:column;padding:14px}.home-install-main{width:100%}.install-app-button{width:100%;min-width:0}.home-install-copy p{font-size:12px}}.install-help-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(10,27,49,.48);display:flex;align-items:flex-end;justify-content:center;padding:18px env(safe-area-inset-right) calc(18px + env(safe-area-inset-bottom)) env(safe-area-inset-left);backdrop-filter:blur(3px)}.install-help-sheet{position:relative;width:min(100%,480px);background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:22px 20px 20px;box-shadow:0 20px 65px rgba(8,28,52,.24);color:var(--ink)}.install-help-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:var(--surface-2);color:var(--muted);font-size:25px;line-height:1}.install-help-head{display:flex;align-items:center;gap:12px;padding-right:42px;margin-bottom:11px}.install-help-mark{width:54px;height:54px;flex:0 0 54px;border-radius:17px;display:grid;place-items:center;background:var(--surface-2);border:1px solid var(--line)}.install-help-mark img{width:40px;height:40px;object-fit:contain}.install-help-head .eyebrow{margin-bottom:3px;color:#527eb6;font-size:9.5px;letter-spacing:.12em}.install-help-sheet h2{margin:0;color:var(--navy);font-size:20px;line-height:1.2}.install-help-intro{margin:0 0 15px;color:var(--muted);font-size:13px;line-height:1.5}.install-help-steps{display:grid;gap:9px;margin-bottom:13px}.install-help-step{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}.install-help-step-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--surface);border:1px solid #cbd9eb;color:#315f95;font:900 19px/1 Inter}.install-help-step b{display:block;color:var(--navy);font-size:12.5px;margin-bottom:2px}.install-help-step p{margin:0;color:var(--muted);font-size:11.5px;line-height:1.4}.install-help-tip{display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px;align-items:start;margin:0 0 16px;padding:10px 11px;border-radius:14px;background:#f5f8fc;border:1px solid #d7e2ef}.install-help-tip>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#315f95;color:#fff;font:800 12px/1 Inter}.install-help-tip p{margin:1px 0 0;color:#5d6f87;font-size:10.5px;line-height:1.4}.install-help-done{width:100%}html[data-theme="dark"] .install-help-backdrop{background:rgba(0,0,0,.58)}html[data-theme="dark"] .install-help-step{background:#152238;border-color:#33445f}html[data-theme="dark"] .install-help-step-icon{background:#101a2a;border-color:#40536f;color:#b8d0ef}html[data-theme="dark"] .install-help-tip{background:#152238;border-color:#33445f}html[data-theme="dark"] .install-help-tip p{color:#aebbcf}
@media(min-width:600px){.install-help-backdrop{align-items:center}.install-help-sheet{border-radius:26px}}


/* ===== Recul V8.1.1 — Plus discovery on Home ===== */
.plus-mark{position:relative;display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:linear-gradient(145deg,#f8fbff,#edf3fb);border:1px solid #cddbec;box-shadow:0 3px 10px rgba(23,51,90,.08)}
.plus-mark img{width:22px;height:22px;object-fit:contain;display:block}.plus-mark i{position:absolute;right:-4px;top:-5px;width:14px;height:14px;border-radius:50%;display:grid;place-items:center;background:#315f95;color:#fff;border:2px solid var(--surface);font:900 10px/1 Inter;font-style:normal}
.topbar-plus{display:inline-flex;align-items:center;gap:7px;border:1px solid #cbd9eb;background:linear-gradient(145deg,#f8fbff,#f3f1fb);color:#315f95;border-radius:14px;padding:7px 10px 7px 8px;min-height:42px;font:900 10px/1 Inter;letter-spacing:.08em;box-shadow:0 5px 16px rgba(49,95,149,.08)}
.topbar-plus:hover{border-color:#8eacd0;background:#eef5ff}.topbar-plus .plus-mark{width:26px;height:26px;flex-basis:26px}.topbar-plus .plus-mark img{width:20px;height:20px}.topbar-plus .plus-mark i{right:-4px;top:-5px}
.home-plus-card{margin:14px 0 18px;padding:16px;border:1px solid #cbd9eb;border-radius:20px;background:linear-gradient(135deg,#f8fbff 0%,#f4f1fb 100%);box-shadow:var(--shadow-soft);display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px}
.home-plus-main{display:flex;align-items:center;gap:12px;min-width:0}.home-plus-icon{width:46px;height:46px;flex:0 0 46px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.78);border:1px solid #d8e2ef}.home-plus-icon .plus-mark{width:34px;height:34px;border:0;background:transparent;box-shadow:none}.home-plus-icon .plus-mark img{width:29px;height:29px}.home-plus-icon .plus-mark i{right:-2px;top:-2px;border-color:#fff}
.home-plus-copy{min-width:0}.home-plus-copy .eyebrow{margin-bottom:3px;color:#527eb6;font-size:10px;letter-spacing:.11em}.home-plus-copy h2{margin:0 0 4px;color:var(--navy);font-size:17px;line-height:1.2}.home-plus-copy p{margin:0;color:#65758d;font-size:12px;line-height:1.4}
.home-plus-cta{border:0;border-radius:13px;background:#315f95;color:#fff;min-height:42px;padding:10px 13px;white-space:nowrap;font-weight:800;font-size:12px}.home-plus-cta:hover{background:#274f7f}.home-plus-cta span{margin-left:3px}
html[data-theme="dark"] .plus-mark{background:#182438;border-color:#35455f}html[data-theme="dark"] .plus-mark i{border-color:#101a2a}html[data-theme="dark"] .topbar-plus{background:linear-gradient(145deg,#17273f,#241f3b);border-color:#40536f;color:#b7d1f0}html[data-theme="dark"] .home-plus-card{background:linear-gradient(135deg,#17273f,#251f3b);border-color:#40536f}html[data-theme="dark"] .home-plus-icon{background:rgba(14,24,39,.72);border-color:#40536f}html[data-theme="dark"] .home-plus-icon .plus-mark i{border-color:#17273f}html[data-theme="dark"] .home-plus-copy h2{color:#e8f1fb}html[data-theme="dark"] .home-plus-copy p{color:#aebbcf}
@media(max-width:430px){.brand-tagline{display:none}.topbar-plus{padding-right:8px}.home-plus-card{grid-template-columns:1fr;align-items:stretch;padding:14px}.home-plus-cta{width:100%}}


/* ===== Recul V8.1.1 — sun signature system =====
   Decorative only: mountain = distance, sun = clarity. */
.home-primary-capture .btn-light{margin-top:12px}
.home-sun{
  background:#ffe6b0;
  opacity:.96;
  box-shadow:0 0 0 8px rgba(255,230,176,.07),0 0 28px rgba(255,230,176,.42),0 0 52px rgba(255,241,207,.18);
}

/* Onboarding: the existing brand mark already carries the sun; its halo
   becomes slightly clearer as the three-step method unfolds. */
.intro-art-sun{position:relative;isolation:isolate}
.intro-art-sun::after{
  content:"";
  position:absolute;
  z-index:2;
  width:42px;height:42px;border-radius:50%;
  right:9px;top:8px;
  pointer-events:none;
  background:radial-gradient(circle,rgba(255,239,198,.28) 0%,rgba(255,239,198,.10) 48%,rgba(255,239,198,0) 72%);
  transition:opacity .2s ease,transform .2s ease;
}
.intro-art-sun-0::after{opacity:.42;transform:scale(.82)}
.intro-art-sun-1::after{opacity:.62;transform:scale(.94)}
.intro-art-sun-2::after{opacity:.86;transform:scale(1.08)}

/* Loop completion: clarity is more visible, without a victory/gamification cue. */
.completion-mark.completion-sun-mark{
  position:relative;
  overflow:hidden;
  width:88px;height:88px;
  border-radius:28px;
  background:linear-gradient(165deg,#dcecf9 0%,#a9cbea 48%,#4d7fb3 100%);
  border:1px solid #ccdeee;
  color:transparent;
  box-shadow:0 14px 34px rgba(15,45,91,.12);
}
.completion-sun{position:absolute;width:24px;height:24px;border-radius:50%;right:15px;top:13px;background:#ffe7b1;box-shadow:0 0 22px rgba(255,231,177,.46)}
.completion-ridge{position:absolute;left:-12%;width:124%;clip-path:polygon(0 76%,18% 55%,38% 68%,58% 34%,76% 57%,100% 44%,100% 100%,0 100%)}
.completion-ridge-back{height:52%;bottom:12px;background:#6d9dca;opacity:.68}
.completion-ridge-front{height:54%;bottom:-3px;background:#214f81;opacity:.96}

/* Stats: the sun becomes a quiet orientation mark, not a chart decoration. */
.stats-head-sun{position:relative;padding-right:54px;overflow:visible}
.stats-head-sun::before{
  content:"";
  position:absolute;
  right:7px;top:7px;
  width:34px;height:34px;border-radius:50%;
  background:#ffe8b8;
  opacity:.58;
  box-shadow:0 0 26px rgba(255,232,184,.30);
  pointer-events:none;
}
.stats-head-sun::after{
  content:"";
  position:absolute;
  right:0;top:0;
  width:50px;height:50px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,239,207,.18),rgba(255,239,207,0) 70%);
  pointer-events:none;
}

@media(max-width:430px){
  .home-primary-capture .btn-light{margin-top:10px}
  .stats-head-sun{padding-right:48px}
}


/* V8.1.1 — refined bottom navigation icons
   Inline SVGs remove platform-dependent glyphs and keep one visual language. */
.bottom-nav{
  background:rgba(255,255,255,.94)!important;
  border-top:1px solid #e0e7ef!important;
  box-shadow:0 -7px 24px rgba(15,45,91,.045)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.bottom-nav .nav-item{
  min-height:57px;
  gap:5px;
  color:#91a2ba!important;
  background:transparent!important;
  border-radius:12px;
  font-family:inherit;
  font-weight:650;
}
.bottom-nav .nav-item.active{
  color:#2468e8!important;
  background:transparent!important;
  font-weight:800;
}
.bottom-nav .nav-icon{
  width:21px;
  height:21px;
  display:block;
  flex:0 0 21px;
  overflow:visible;
}
.bottom-nav .nav-item small{
  color:inherit;
  font-size:10px;
  line-height:1;
  letter-spacing:-.01em;
}
html[data-theme="dark"] .bottom-nav{
  background:rgba(16,31,51,.95)!important;
  border-color:#33445f!important;
}
html[data-theme="dark"] .bottom-nav .nav-item{color:#8193ac!important}
html[data-theme="dark"] .bottom-nav .nav-item.active{color:#78a9ff!important}

/* V8.1.1 — Billing transition feedback */
.billing-button-busy{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:20px;font:inherit;font-weight:750}
.billing-spinner{width:15px;height:15px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:recul-billing-spin .75s linear infinite;flex:0 0 auto}
@keyframes recul-billing-spin{to{transform:rotate(360deg)}}
.price-option:disabled,.btn[aria-busy="true"]{cursor:wait;opacity:.76}.btn:disabled:not([aria-busy="true"]){cursor:not-allowed}
.price-option[aria-busy="true"]{min-height:86px;place-items:center;text-align:center}
.billing-message{transition:opacity .15s ease}
@media (prefers-reduced-motion:reduce){.billing-spinner{animation:none;border-right-color:currentColor;opacity:.65}}

/* ===== V8.1.1 backlog batch 1 ===== */
/* Home insight capsule: one calm, evidence-based observation at a time. */
.home-insight-capsule{position:relative;display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:start;margin:10px 0 16px;padding:14px 15px;border:1px solid #d9e5ef;border-radius:19px;background:linear-gradient(145deg,rgba(244,249,253,.88),rgba(249,247,255,.82));box-shadow:0 8px 24px rgba(29,67,105,.045);overflow:hidden}
.home-insight-sun{width:34px;height:34px;border-radius:50%;background:#ffe8b8;box-shadow:0 0 0 7px rgba(255,232,184,.08),0 0 24px rgba(255,232,184,.3);margin-top:2px}
.home-insight-copy{min-width:0}.home-insight-copy .eyebrow{margin:0 0 4px}.home-insight-copy h2{font-size:15px;line-height:1.28;margin:0;color:var(--navy)}.home-insight-copy p{font-size:11.5px;line-height:1.46;color:var(--muted);margin:6px 0 7px}.home-insight-link{border:0;background:transparent;color:var(--primary);font:800 11px/1.2 inherit;padding:2px 0;cursor:pointer}

/* Draft ownership. */
.home-draft-discard{border:0;background:transparent;color:#77879a;font:750 10.5px/1.2 inherit;padding:8px 4px 0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.home-draft-discard:hover{color:#a34f55}

/* Mood is useful when chosen, but no longer a hidden requirement. */
.mood-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 7px;color:var(--ink);font-size:12px;font-weight:800}
.mood-label-row .optional-tag{margin-left:auto}

/* Reality-before-Reveal safety. */
.sealed-context-neutral p{font-weight:750;margin-bottom:3px}.sealed-context-neutral small{display:block;color:var(--muted);font-size:10.5px;line-height:1.4}

/* User data ownership — destructive action stays secondary. */
.detail-danger-zone{margin:18px 0 78px;border-top:1px solid var(--line);padding-top:10px}.detail-danger-zone details>summary{cursor:pointer;color:var(--muted);font-size:11px;font-weight:750;list-style:none;padding:8px 0}.detail-danger-zone details>summary::-webkit-details-marker{display:none}.danger-text-btn{border:1px solid #ebd1d3;background:#fff8f8;color:#9b3f48;border-radius:12px;padding:10px 12px;font:800 11px/1.2 inherit;cursor:pointer}.danger-text-btn:hover{background:#fff2f2;border-color:#dcaeb2}

/* Settings leaves the primary bottom navigation and remains one tap away. */
.topbar-settings{margin-left:6px;color:#70839b}.topbar-settings .nav-icon{width:20px;height:20px}.topbar-settings:hover{color:var(--primary);background:#f3f7fb}
.patterns-head{margin-bottom:12px}

html[data-theme="dark"] .home-insight-capsule{background:linear-gradient(145deg,rgba(25,43,65,.88),rgba(35,31,59,.82));border-color:#40506a}
html[data-theme="dark"] .home-insight-copy h2{color:#eaf2fb}
html[data-theme="dark"] .danger-text-btn{background:#2a1e24;border-color:#61414a;color:#efb8bd}
html[data-theme="dark"] .topbar-settings:hover{background:#1b2b41}

@media(max-width:430px){.home-insight-capsule{grid-template-columns:34px 1fr;padding:13px 12px}.home-insight-sun{width:29px;height:29px}.home-insight-copy h2{font-size:14px}.topbar-settings{margin-left:2px}}


/* V8.1.1 backlog completion — scalable queues/archive, native Recul dialogs, mandatory mood */
.home-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.overflow-icon-btn,.detail-overflow-btn{border:1px solid #d9e5f1;background:rgba(255,255,255,.84);color:#345e91;border-radius:12px;width:38px;height:34px;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer}.overflow-icon-btn:hover,.detail-overflow-btn:hover{background:#f2f7fc}.detail-hero.has-actions{position:relative;padding-right:52px}.detail-overflow-btn{position:absolute;right:0;top:0}
.home-insight-tap{width:100%;text-align:left;font:inherit;cursor:pointer;display:grid;grid-template-columns:auto 1fr auto;align-items:center;border:1px solid #d8e4f0}.home-insight-tap:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(39,77,119,.08)}.home-insight-title{display:block;font-size:1rem;color:#0f2d5b;line-height:1.25;margin:2px 0 4px}.home-insight-body{display:block;color:#667d9e;line-height:1.45}.home-insight-destination{display:inline-block;margin-top:8px;font-size:.76rem;font-weight:800;color:#5b78a1;text-transform:uppercase;letter-spacing:.04em}.home-insight-chevron{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#edf4fb;color:#315f96;font-size:20px}
.mood-gentle-help{margin:-2px 0 9px;color:#7185a2;font-size:.86rem;line-height:1.4}.emotion-nudge{display:flex;align-items:center;gap:8px;margin:10px 0 3px;padding:9px 11px;border-radius:12px;background:#fff8e8;border:1px solid #f0dca6;color:#6d5420;font-size:.86rem}.emotion-nudge span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#ffe9a9}.emotion-snapshot.needs-attention{border-color:#efd79c;box-shadow:0 0 0 3px rgba(240,210,131,.12)}.nudge-pulse{animation:recul-nudge .55s ease}@keyframes recul-nudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}50%{transform:translateX(4px)}75%{transform:translateX(-2px)}}.btn-needs-input{opacity:1!important;filter:none!important}
.review-head{margin-bottom:14px}.review-primary-card{border:1px solid #cfe0f0;background:linear-gradient(145deg,#fff,#f6faff);border-radius:20px;padding:18px;margin:0 0 14px;box-shadow:0 8px 24px rgba(29,65,105,.06)}.review-primary-card.due{border-color:#d9d7f0}.review-primary-card.cold{border-color:#cce7da;background:linear-gradient(145deg,#fff,#f5fbf8)}.review-primary-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.review-primary-badge{font-size:.72rem;font-weight:900;letter-spacing:.06em;color:#315f96}.review-primary-card.cold .review-primary-badge{color:#39805d}.review-primary-card h2{font-size:1.08rem;margin:9px 0 7px;color:#0f2d5b}.review-primary-card p{color:#657b99;font-size:.9rem;line-height:1.45;margin:0 0 14px}.btn-quiet{background:transparent;border:0;color:#6480a3;font-weight:800;padding:10px 4px;margin-top:4px}.review-queue-section{border:1px solid #dbe6f0;border-radius:16px;background:rgba(255,255,255,.72);margin:10px 0;overflow:hidden}.review-queue-section>summary{list-style:none;display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:13px 14px;cursor:pointer;color:#173963;font-weight:900}.review-queue-section>summary::-webkit-details-marker{display:none}.review-queue-section>summary b{min-width:28px;text-align:center;border-radius:999px;background:#edf4fb;padding:4px 8px;font-size:.75rem}.review-queue-section>summary i{font-style:normal;color:#7890ad}.review-queue-section[open]>summary i{transform:rotate(180deg)}.review-queue-rows{border-top:1px solid #e7eef5}.review-compact-row{width:100%;border:0;border-bottom:1px solid #e8eef4;background:#fff;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left;padding:11px 12px;cursor:pointer}.review-compact-row:last-child{border-bottom:0}.review-compact-row:hover{background:#f8fbfe}.review-compact-status{font-size:.63rem;font-weight:900;letter-spacing:.04em;padding:5px 7px;border-radius:999px;background:#edf4fb;color:#3e6ea8}.review-compact-row.cold .review-compact-status{background:#e9f7f0;color:#3b7e5d}.review-compact-row.later .review-compact-status{background:#edf5ff;color:#4b72a1}.review-compact-row.nodate .review-compact-status{background:#f1f2f4;color:#6e7885}.review-compact-copy{min-width:0}.review-compact-copy b{display:block;color:#102f58;font-size:.89rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.review-compact-copy small{display:block;margin-top:3px;color:#8090a5;font-size:.72rem}.review-compact-arrow{font-size:19px;color:#8fa1b8}
.perspective-trail-v2{border:1px solid #dbe6f0;border-radius:18px;background:rgba(255,255,255,.72);margin:0 0 14px;overflow:hidden}.perspective-trail-v2>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 14px;cursor:pointer}.perspective-trail-v2>summary::-webkit-details-marker{display:none}.perspective-trail-v2>summary span{display:grid;gap:3px}.perspective-trail-v2>summary b{font-size:.86rem;color:#31506f}.perspective-trail-v2>summary i{font-style:normal;color:#7890ad}.trail-journeys{border-top:1px solid #e8eef4}.trail-journey-row{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px 12px;border:0;border-bottom:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer}.trail-journey-row:last-child{border-bottom:0}.trail-journey-moods{display:flex;align-items:center;gap:3px}.trail-journey-moods .mood-inline img{width:24px;height:24px}.trail-journey-moods i{font-style:normal;color:#9aa9ba;font-size:.72rem}.trail-missing{width:24px;height:24px;border-radius:50%;background:#eef2f6;display:grid;place-items:center}.trail-journey-copy{min-width:0}.trail-journey-copy b{display:block;font-size:.79rem;color:#173963;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trail-journey-copy small{display:block;color:#8a99ad;font-size:.68rem;margin-top:2px}
.history-filter-more{margin:8px 0 15px;border-top:1px solid #e3ebf3;padding-top:8px}.history-filter-more>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;color:#627b9b;font-size:.82rem;font-weight:800;cursor:pointer;padding:6px 2px}.history-filter-more>summary::-webkit-details-marker{display:none}.history-month{margin:18px 0}.history-month>h2{font-size:.82rem;text-transform:uppercase;letter-spacing:.07em;color:#7187a3;margin:0 0 8px}.history-compact-list{border:1px solid #dce6ef;border-radius:16px;overflow:hidden;background:#fff}.history-compact-row{width:100%;border:0;border-bottom:1px solid #e8eef4;background:#fff;display:grid;grid-template-columns:1fr auto;gap:12px;text-align:left;padding:11px 13px;cursor:pointer}.history-compact-row:last-child{border-bottom:0}.history-compact-row:hover{background:#f8fbfe}.history-compact-main{min-width:0;display:block}.history-row-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.history-row-top small{color:#8798ae}.history-status{font-size:.62rem;font-weight:900;padding:4px 7px;border-radius:999px;background:#edf4fb;color:#3e6ea8}.history-status.complete{background:#e9f7f0;color:#3b7e5d}.history-status.cold{background:#f0ecfb;color:#695a9a}.history-status.due{background:#fff4dc;color:#906d28}.history-status.later{background:#edf5ff;color:#4b72a1}.history-compact-main>b{display:block;color:#0f2d5b;font-size:.91rem;line-height:1.28;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-secondary{display:block;margin-top:4px;color:#7589a5;font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-row-arrow{align-self:center;color:#8ea2b9;font-size:20px}.history-load-more{margin:14px 0;width:100%}
.stats-neutral-note{margin:12px 0 0;padding-top:10px;border-top:1px solid #e5edf5;color:#71849f;font-size:.78rem;line-height:1.45}.emotion-transition-3{grid-template-columns:1fr auto 1fr auto 1fr auto!important;gap:7px!important}.pattern-card-grid{display:grid;gap:12px}.pattern-signal-card{margin:0}.pattern-signal-card.featured{background:linear-gradient(145deg,#fff,#f7faff);border-color:#ccdeef}.pattern-signal-card h2{font-size:1.02rem;line-height:1.3}.pattern-signal-card p{color:#7084a0;line-height:1.48}
.recul-sheet-backdrop,.recul-dialog-backdrop{position:fixed;inset:0;z-index:3000;background:rgba(13,38,72,.32);backdrop-filter:blur(3px);display:flex;padding:18px}.recul-sheet-backdrop{align-items:flex-end;justify-content:center}.recul-action-sheet{width:min(520px,100%);background:#fff;border-radius:22px 22px 18px 18px;padding:8px 12px 14px;box-shadow:0 28px 70px rgba(8,31,60,.24)}.sheet-handle{width:42px;height:4px;background:#d8e0e9;border-radius:999px;margin:2px auto 8px}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:6px 4px 10px}.sheet-head>b{color:#12345e}.sheet-close{width:34px;height:34px;border-radius:50%;border:0;background:#f0f4f8;color:#647891;font-size:20px}.sheet-actions{display:grid;gap:7px}.sheet-action{width:100%;display:grid;grid-template-columns:32px 1fr;gap:8px;align-items:center;text-align:left;border:1px solid #e0e8f0;background:#fff;border-radius:14px;padding:12px;color:#183b66}.sheet-action span{width:28px;height:28px;border-radius:9px;background:#eef4fa;display:grid;place-items:center}.sheet-action.danger{color:#a64141;border-color:#f0d0d0;background:#fffafa}.sheet-action.danger span{background:#fff0f0}.recul-dialog-backdrop{align-items:center;justify-content:center}.recul-dialog{width:min(430px,100%);background:#fff;border-radius:22px;padding:22px;box-shadow:0 28px 70px rgba(8,31,60,.24);text-align:left}.dialog-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff1bd;color:#8b6a13;margin-bottom:12px}.dialog-icon.danger{background:#fff0f0;color:#ad3e3e}.recul-dialog h2{margin:0 0 8px;color:#0f2d5b;font-size:1.2rem}.recul-dialog p{margin:0;color:#6b7f9a;line-height:1.5}.dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:19px}.btn-danger{background:#b64a4a!important;color:#fff!important;border-color:#b64a4a!important}
@media(min-width:760px){.recul-sheet-backdrop{align-items:center}.recul-action-sheet{border-radius:20px;max-width:440px}.review-compact-row{padding:12px 14px}.history-compact-row{padding:12px 14px}}
@media(max-width:520px){.review-compact-status{display:none}.review-compact-row{grid-template-columns:1fr auto}.review-compact-copy b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.emotion-transition-3{font-size:.72rem}.dialog-actions{grid-template-columns:1fr}.recul-dialog-backdrop{align-items:flex-end;padding:0}.recul-dialog{border-radius:22px 22px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom))}.recul-sheet-backdrop{padding:0}.recul-action-sheet{border-radius:22px 22px 0 0;padding-bottom:calc(14px + env(safe-area-inset-bottom))}}

/* ===== V8.1.1 Home engagement cleanup ===== */
.home-head-v8{margin-bottom:10px}
.home-head-v8 .date-eyebrow{font-size:10px;color:#6e84a1}
.home-head-v8 h1{font-size:31px;line-height:1.05;margin:3px 0 6px}
.home-head-v8 p{font-size:14px}

.home-insight-capsule{grid-template-columns:38px minmax(0,1fr) 30px;gap:12px;align-items:center;margin:10px 0 16px;padding:13px 14px;border-color:#e6e2d8;background:linear-gradient(135deg,rgba(255,250,237,.96),rgba(249,248,255,.92));box-shadow:0 8px 24px rgba(29,67,105,.04)}
.home-insight-sun{width:34px;height:34px;display:block;border-radius:50%;background:#ffe2a6;box-shadow:0 0 0 8px rgba(255,226,166,.19)}
.home-insight-copy{min-width:0;text-align:left}
.home-insight-copy .eyebrow{font-size:9px;color:#6f7890;margin-bottom:3px}
.home-insight-title{display:block;color:#0f2d5b;font-size:14px;line-height:1.25}
.home-insight-body{display:block;margin-top:3px;color:#6d7f98;font-size:11.5px;line-height:1.35}
.home-insight-destination{display:none!important}
.home-insight-chevron{width:28px;height:28px;background:transparent;color:#607fa7;font-size:22px}

.home-primary{min-height:190px;margin:12px 0 18px;border-radius:24px;padding:20px;box-shadow:0 16px 40px rgba(15,45,91,.14)}
.home-primary h2{font-size:22px;max-width:390px}
.home-primary .btn-light{width:100%;margin-top:12px;padding:12px 16px;border-radius:14px}
.home-sun{width:44px;height:44px;right:24px;top:23px}

.home-up-next{margin:6px 0 20px}
.home-review-title{margin:0 0 8px 2px;color:#0e2d58;font-weight:900;font-size:13px;text-transform:uppercase;letter-spacing:.055em}
.home-review-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid #f0d8a9;border-radius:18px;padding:14px 14px;background:linear-gradient(135deg,#fffaf0,#fffdf8);box-shadow:0 7px 20px rgba(93,70,24,.04)}
.home-review-copy{min-width:0;text-align:left}
.home-review-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#102f58;font-size:14px;line-height:1.35}
.home-review-copy small{display:block;margin-top:5px;color:#7589a5;font-size:11px;line-height:1.35}
.home-review-cta{border:0;border-radius:13px;background:#346ba8;color:#fff;font-weight:850;padding:10px 13px;white-space:nowrap;box-shadow:0 5px 12px rgba(52,107,168,.13)}
.home-gentle-queue{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 4px 0;color:#7d8fa7;font-size:10.5px;line-height:1.3}
.home-other-available{border:0;background:transparent;color:#356aa5;font-size:10.5px;font-weight:850;white-space:nowrap;padding:4px 0}
.home-other-available span{font-size:15px;vertical-align:-1px}
.home-stepback-now .home-next-card{background:linear-gradient(135deg,#faf8ff,#fff);border-color:#ded8ef}
.home-draft-block .home-next-card{background:linear-gradient(135deg,#f8fbff,#fff)}
.home-up-next-empty{margin-top:4px}
.home-calm-state{box-shadow:none;background:linear-gradient(135deg,#f8fbf9,#fff);padding:12px 13px}

.home-reflections.compact{margin:20px 0 13px}
.home-reflections-head{align-items:center;margin-bottom:8px}
.home-reflections-head .eyebrow{font-size:10px;color:#1a3f6e}
.home-reflections-head .text-btn{font-size:11.5px;padding:4px 0}
.home-reflection-list{gap:8px}
.home-reflection-card.compact{padding:12px 13px;border-radius:17px;box-shadow:0 5px 16px rgba(29,65,105,.04);transition:transform .15s,border-color .15s,box-shadow .15s}
.home-reflection-card.compact.complete{background:linear-gradient(135deg,#f6fcf8,#fbfffd);border-color:#d7eade}
.home-reflection-card.compact.due{background:linear-gradient(135deg,#fffaf0,#fffdf8);border-color:#f0d8a9}
.home-reflection-card.compact.waiting{background:linear-gradient(135deg,#f5f9ff,#fbfdff);border-color:#d8e5f3}
.home-reflection-card.compact.stepback{background:linear-gradient(135deg,#faf8ff,#fefcff);border-color:#e1daf0}
.home-reflection-card.compact.saved{background:linear-gradient(135deg,#fafbfc,#fff);border-color:#e3e8ee}
.home-reflection-main{grid-template-columns:auto minmax(0,1fr) auto auto;gap:9px}
.home-reflection-card.compact h3{font-size:12.5px;line-height:1.3}
.home-reflection-card.compact p{font-size:10.5px;color:#72849d}
.home-reflection-meta{display:none!important}

.home-install-card.home-install-card-compact{position:relative;margin:13px 0 14px;padding:13px 42px 13px 13px;border-color:#dbe7f1;background:linear-gradient(135deg,#f8fbff,#f2f8fd);box-shadow:0 6px 18px rgba(29,65,105,.04)}
.home-install-card-compact .home-install-main{gap:10px}
.home-install-card-compact .install-app-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px}
.home-install-card-compact .install-app-icon img{width:30px;height:30px}
.home-install-card-compact .home-install-copy h2{font-size:15px}
.home-install-card-compact .home-install-copy p{font-size:11px;max-width:270px}
.home-install-card-compact .install-app-button{min-width:88px;padding:9px 11px}
.home-install-dismiss{position:absolute;right:9px;top:8px;width:27px;height:27px;border:0;border-radius:50%;background:transparent;color:#8192a8;font-size:18px;line-height:1;display:grid;place-items:center}
.home-install-dismiss:hover{background:#eaf1f8;color:#526f92}

.insight-preview-sheet{padding-bottom:18px}
.insight-preview-body{display:grid;grid-template-columns:42px minmax(0,1fr);gap:13px;align-items:start;padding:10px 4px 13px}
.insight-preview-body .home-insight-sun{margin-top:4px}
.insight-preview-body h2{margin:4px 0 7px;color:#0f2d5b;font-size:18px;line-height:1.25}
.insight-preview-body p{margin:0;color:#6b7f9a;font-size:13px;line-height:1.45}
.insight-preview-note{margin:0 4px 14px;padding:11px 12px;border-radius:14px;background:#f6f8fb;color:#6c7f99;font-size:11.5px;line-height:1.45}
.insight-preview-sheet>.btn{width:100%}

@media(max-width:560px){
 .home-review-card{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:13px}
 .home-review-cta{padding:9px 11px;font-size:12px}
 .home-gentle-queue{align-items:flex-start}
 .home-primary{min-height:182px;padding:18px}
 .home-primary h2{font-size:20px;padding-right:44px}
 .home-install-card.home-install-card-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 40px 12px 12px}
 .home-install-card-compact .home-install-main{min-width:0}
 .home-install-card-compact .install-app-button{width:auto;min-width:82px;margin:0}
 .home-install-card-compact .home-install-copy p{display:none}
}
@media(max-width:430px){
 .home-head-v8 h1{font-size:28px}
 .home-insight-capsule{grid-template-columns:32px minmax(0,1fr) 24px;padding:12px}
 .home-insight-sun{width:29px;height:29px;box-shadow:0 0 0 6px rgba(255,226,166,.17)}
 .home-review-copy strong{font-size:13px}
 .home-review-copy small{font-size:10.5px}
 .home-review-cta{font-size:11.5px}
 .home-gentle-queue{font-size:10px}
 .home-other-available{font-size:10px}
 .home-reflection-main{grid-template-columns:auto minmax(0,1fr) auto}
 .home-reflection-main .home-reflection-chevron{display:none}
}

.brand-name{text-transform:none!important;letter-spacing:.02em}

.notification-device-row{margin-top:12px;padding-top:12px;border-top:1px solid var(--line,#e3eaf1);display:grid;gap:8px}.notification-device-row .btn{justify-self:start}

/* RC7 release hardening */
.reality-context-reminder span{letter-spacing:.06em}.reality-context-reminder p{font-size:15px;line-height:1.45;margin:8px 0 6px}.reality-context-reminder small{display:block;padding-top:7px;border-top:1px solid rgba(52,93,135,.12)}
.reminder-notification-notice{display:grid;gap:10px;width:100%;margin:12px 0 4px;padding:13px 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);text-align:left}.reminder-notification-notice b{font-size:13px;line-height:1.4}.reminder-notification-notice .btn{margin:0;width:100%}
.billing-store-loading{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2);color:var(--muted);font-size:13px;text-align:center}

/* RC12 store compliance */
.subscription-disclosure{margin:14px 2px 0;padding-top:12px;border-top:1px solid var(--line);line-height:1.45}.subscription-disclosure p{margin:5px 0}.subscription-disclosure a{color:var(--primary-dark);font-weight:750}
.billing-warning{border-color:#efd9a2;background:var(--warn);box-shadow:none}.billing-warning p{margin:6px 0 10px}.billing-warning .btn{margin-top:8px}

/* RC13 — optional first-impression type + long return presets */
.first-take-type-label{margin-top:16px}.first-take-type-row{display:flex;gap:6px;padding:2px 0 4px}.first-take-type{flex:1 1 0;min-width:0;min-height:38px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);padding:8px 4px;font-weight:800;font-size:11px;white-space:nowrap}.first-take-type.selected{background:var(--primary);border-color:var(--primary);color:#fff}.follow-presets{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.follow-preset{min-height:38px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--primary-dark);font-weight:800}


/* ===== WasItSo 1.0.16 — lighter profile + typography refresh ===== */
.profile-head-v16{margin:0 2px 22px;padding-top:2px}
.profile-kicker{margin:0 0 7px;color:#6e86a5;font-size:10px;font-weight:700;letter-spacing:.12em}
.profile-head-v16 h1{margin:0 0 7px;font-size:29px;line-height:1.08;font-weight:650;letter-spacing:-.035em}
.profile-head-v16 p{margin:0;font-size:15px;line-height:1.5;color:#7083a0}

.profile-card.profile-section{position:relative;margin:0 0 17px;padding:0 2px 17px;border:0;border-bottom:1px solid rgba(188,203,220,.62);border-radius:0;background:transparent;box-shadow:none}
.profile-card.profile-section h2{display:flex;align-items:center;gap:9px;margin:0 0 11px;font-size:17px;line-height:1.25;font-weight:650;letter-spacing:-.018em}
.profile-card.profile-section h2::before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#6d96c2;box-shadow:0 0 0 5px rgba(109,150,194,.10)}
.profile-language h2::before{background:#e5ad45;box-shadow:0 0 0 5px rgba(229,173,69,.11)}
.profile-data h2::before{background:#68a58a;box-shadow:0 0 0 5px rgba(104,165,138,.11)}
.profile-privacy h2::before{background:#7f8ead;box-shadow:0 0 0 5px rgba(127,142,173,.10)}

.profile-account{padding:16px 16px 15px!important;margin-bottom:20px!important;border:1px solid #dde8f3!important;border-radius:20px!important;background:linear-gradient(135deg,rgba(247,251,255,.98),rgba(255,252,245,.95))!important;box-shadow:0 8px 24px rgba(31,67,106,.045)!important}
.profile-account h2{margin-bottom:7px!important}
.profile-account h2::before{background:#4f83b8!important;box-shadow:0 0 0 5px rgba(79,131,184,.10)!important}
.profile-account .profile-copy{font-size:14px;line-height:1.48;color:#70819a}
.profile-account .btn{width:auto;min-height:42px;margin-top:12px;padding:10px 15px;border-radius:13px;font-size:14px;font-weight:650;box-shadow:none}

.profile-language-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}
.profile-language-grid .choice{min-height:43px;padding:9px 8px;border-radius:13px;text-align:center;font-size:13px;font-weight:600;background:rgba(255,255,255,.72);box-shadow:none}
.profile-language-grid .choice.selected{background:#315f96;border-color:#315f96;box-shadow:0 5px 14px rgba(49,95,150,.12)}

.profile-setting{padding:2px 2px 17px!important}
.profile-setting::before{content:"";position:absolute;left:2px;top:13px;width:8px;height:8px;border-radius:50%;background:#7ea2c7;box-shadow:0 0 0 5px rgba(126,162,199,.10)}
.profile-reminders::before{background:#e0a94c;box-shadow:0 0 0 5px rgba(224,169,76,.11)}
.profile-setting .toggle-row{padding:6px 0 6px 22px;gap:18px}
.profile-setting .toggle-row b{font-size:15px;font-weight:650;letter-spacing:-.012em;color:#17365f}
.profile-setting .toggle-row small{margin-top:3px;font-size:12.5px;line-height:1.4;color:#7b8ca4}
.profile-setting .toggle{width:44px;height:26px;padding:3px;background:#d8e2ed}
.profile-setting .toggle i{width:20px;height:20px}
.profile-setting .toggle.on{background:#3e6ea8}
.profile-setting .toggle.on i{transform:translateX(18px)}

.profile-section .settings-list{border-top:0;margin-top:2px}
.profile-section .settings-row{min-height:46px;padding:12px 2px;border-bottom:1px solid rgba(208,218,230,.72);font-size:14px;font-weight:500;color:#264566}
.profile-section .settings-row:last-child{border-bottom:0}
.profile-section .settings-row span:last-child{font-size:20px;color:#8ba0b9}
.profile-section .danger-row{color:#a8424b}
.profile-section .profile-copy{font-size:13.5px;line-height:1.55;color:#70819a}
.profile-section.about-recul{padding-bottom:6px;border-bottom:0}
.profile-section.about-recul h2::before{display:none}

html[data-theme="dark"] .profile-head-v16 p,html[data-theme="dark"] .profile-kicker{color:#9fb0c7}
html[data-theme="dark"] .profile-card.profile-section{border-bottom-color:#263b57}
html[data-theme="dark"] .profile-account{background:linear-gradient(135deg,#101d30,#13243a)!important;border-color:#2a405e!important}
html[data-theme="dark"] .profile-account .profile-copy,html[data-theme="dark"] .profile-setting .toggle-row small,html[data-theme="dark"] .profile-section .profile-copy{color:#aebbcf}
html[data-theme="dark"] .profile-setting .toggle-row b{color:#eef5ff}
html[data-theme="dark"] .profile-language-grid .choice{background:#122138;border-color:#2c415e;color:#dfe9f6}
html[data-theme="dark"] .profile-language-grid .choice.selected{background:#3e6ea8;border-color:#5d88b8;color:#fff}
html[data-theme="dark"] .profile-section .settings-row{border-bottom-color:#263b57;color:#dce7f5}

@media(max-width:390px){
  .profile-language-grid{gap:5px}
  .profile-language-grid .choice{padding:9px 5px;font-size:12px}
  .profile-head-v16 h1{font-size:27px}
}

/* ===== WasItSo 1.0.16 R2 — typography, navigation and information hierarchy ===== */
body,button,input,textarea,select{font-family:"Manrope",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{font-weight:400;letter-spacing:-.006em}
h1,h2,h3,b,strong{font-weight:650}
p{font-size:15.5px;line-height:1.55}
.eyebrow,.section-label,.field-label{font-size:11.5px;font-weight:700;letter-spacing:.045em;text-transform:none}

/* Header: logo + account + Plus. The account label remains visible for guests. */
.topbar{gap:7px;height:58px;margin-bottom:22px}
.brand-wordmark{width:142px;max-width:38vw}
.topbar-account{min-height:42px;border:1px solid #cbd9eb;background:rgba(255,255,255,.88);color:#234f7f;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;font-size:11.5px;font-weight:650;white-space:nowrap;box-shadow:0 5px 16px rgba(49,95,149,.055)}
.topbar-account:hover{background:#f3f7fc;border-color:#9cb8d7}
.topbar-account.is-profile{width:42px;padding:0}
.topbar-account .profile-ui-icon{width:20px;height:20px}
.topbar-plus{min-height:42px;padding:7px 9px 7px 7px;font-family:"Manrope",ui-sans-serif,system-ui,sans-serif;font-size:10px;font-weight:700;letter-spacing:.075em;box-shadow:0 5px 16px rgba(49,95,149,.055)}
html[data-theme="dark"] .topbar-account{background:#101f33;border-color:#2b405a;color:#dce9f7}
html[data-theme="dark"] .topbar-account:hover{background:#162a43}
@media(max-width:390px){
 .brand-wordmark{width:132px;max-width:37vw}
 .topbar{gap:5px}
 .topbar-account{padding:7px 8px;font-size:10.5px}
 .topbar-plus{padding-right:7px;gap:5px}
 .topbar-plus .plus-mark{width:24px;height:24px;flex-basis:24px}
}
@media(max-width:350px){
 .brand-wordmark{width:122px}
 .topbar-account.is-signin{padding:7px 6px;font-size:10px}
 .topbar-plus span{display:none}
}

/* Profile / settings: icon-led, lighter, no decorative dots or dark-mode bands. */
.profile-head-v16{margin:0 2px 21px;padding-top:2px}
.profile-head-v16 h1{margin:0 0 6px;font-size:29px;line-height:1.1;font-weight:650;letter-spacing:-.035em}
.profile-head-v16 p{margin:0;font-size:14.5px;line-height:1.48}
.profile-kicker{display:none!important}
.profile-card.profile-section{margin:0 0 18px;padding:0 2px 18px!important;background:transparent!important;border:0!important;border-bottom:1px solid rgba(188,203,220,.58)!important;border-radius:0!important;box-shadow:none!important}
.profile-card.profile-section h2::before,.profile-setting::before{display:none!important;content:none!important}
.profile-section-title{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 11px!important;font-size:16px!important;line-height:1.25!important;font-weight:650!important;letter-spacing:-.016em!important}
.profile-section-icon{width:29px;height:29px;flex:0 0 29px;display:grid;place-items:center;border-radius:10px;background:#eef5fb;color:#3970aa}
.profile-section-icon .profile-ui-icon{width:17px;height:17px;display:block}
.profile-section-icon.language{background:#fff4dd;color:#b37918}
.profile-section-icon.appearance{background:#eef0fb;color:#6678ad}
.profile-section-icon.reminders{background:#fff3dc;color:#b57918}
.profile-section-icon.data{background:#eaf5ef;color:#4d856d}
.profile-section-icon.privacy{background:#f0eff8;color:#716f98}
.profile-section-icon.account{background:#eaf3fb;color:#366fa8}
.profile-account{padding:15px 16px 14px!important;margin-bottom:20px!important;border:1px solid #dce7f1!important;border-radius:19px!important;background:linear-gradient(135deg,rgba(249,252,255,.98),rgba(255,253,247,.96))!important;box-shadow:0 8px 24px rgba(31,67,106,.035)!important}
.profile-account .profile-section-title{margin-bottom:7px!important}
.profile-account .profile-copy{font-size:13.5px;line-height:1.5}
.profile-account .btn{min-height:41px;margin-top:11px;padding:9px 14px;border-radius:12px;font-size:13.5px;font-weight:650}
.profile-language-grid{gap:7px;margin-top:1px}
.profile-language-grid .choice{min-height:42px;font-size:12.5px;font-weight:600;border-radius:12px}
.profile-setting{padding:0 2px 18px!important}
.profile-setting .toggle-row{padding:0!important;gap:16px}
.profile-setting-label{display:flex!important;align-items:center!important;gap:10px!important;min-width:0}
.profile-setting-copy{display:grid!important;gap:3px!important;min-width:0}
.profile-setting .toggle-row b{font-size:15px;font-weight:650;letter-spacing:-.012em;color:#17365f}
.profile-setting .toggle-row small{font-size:12.5px;line-height:1.42;color:#7b8ca4}
.profile-section .settings-row{min-height:45px;padding:11px 2px;font-size:13.5px;font-weight:500}
.profile-section .settings-row span:last-child{font-size:18px}
.profile-section .profile-copy{font-size:13.5px;line-height:1.55}
html[data-theme="dark"] .profile-card.profile-section{background:transparent!important;border-bottom-color:#263b57!important}
html[data-theme="dark"] .profile-account{background:linear-gradient(135deg,#101d30,#13243a)!important;border-color:#2a405e!important}
html[data-theme="dark"] .profile-section-icon{background:#172b43;color:#9ec0e3}
html[data-theme="dark"] .profile-section-icon.language,html[data-theme="dark"] .profile-section-icon.reminders{background:#30291b;color:#e6bd6b}
html[data-theme="dark"] .profile-section-icon.appearance{background:#252942;color:#b5bde0}
html[data-theme="dark"] .profile-section-icon.data{background:#173529;color:#9bd1b3}
html[data-theme="dark"] .profile-section-icon.privacy{background:#292742;color:#beb9df}
html[data-theme="dark"] .profile-setting .toggle-row b{color:#edf5ff}
html[data-theme="dark"] .profile-setting .toggle-row small,html[data-theme="dark"] .profile-section .profile-copy{color:#aebbcf}

/* Home: preserve the calm hierarchy, reduce shouty typography. */
.home-head-v8 h1{font-size:30px;font-weight:650;letter-spacing:-.04em}
.home-head-v8 .eyebrow{font-weight:600;color:#6d83a0}
.home-primary .eyebrow,.home-reflections .eyebrow,.home-up-next .eyebrow{font-size:11px;font-weight:650;letter-spacing:.035em}
.home-primary h2{font-size:22px;font-weight:650;line-height:1.16;letter-spacing:-.025em}
.home-primary .btn-light{font-weight:650}
.home-review-title{font-weight:650;letter-spacing:.015em}
.home-reflection-card.compact h3{font-size:13px;font-weight:650;line-height:1.38}
.home-reflection-card.compact p{font-size:11px;line-height:1.42}

/* Stats: editorial hierarchy, full-width three-tab selector, stronger key numbers. */
.stats-head{margin-bottom:12px}
.stats-head h1{font-size:30px;line-height:1.1;font-weight:650;letter-spacing:-.04em;margin-bottom:8px}
.stats-head p{font-size:14px;line-height:1.55;max-width:430px}
.stats-periods{gap:4px;padding:4px;border-radius:15px;margin-bottom:13px}
.stats-periods button,.stats-tabs button{font-size:11px;font-weight:600;min-height:40px}
.stats-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;overflow:visible;width:100%;padding:0;margin-bottom:17px}
.stats-tabs button{padding:8px 6px;border-radius:12px;line-height:1.2}
.stats-kpi-grid{gap:8px;margin-bottom:15px}
.stats-kpi{border-radius:17px;padding:14px 7px 12px;box-shadow:0 8px 24px rgba(15,45,91,.045)}
.stats-kpi b{font-size:26px;font-weight:650;letter-spacing:-.035em}
.stats-kpi span{font-size:10.5px;font-weight:650;line-height:1.25}
.stats-kpi small{font-size:9px}
.stats-card{margin:13px 0;padding:18px;border-radius:20px;box-shadow:0 9px 28px rgba(15,45,91,.045)}
.stats-card>.eyebrow,.pattern-signal-card>.eyebrow{font-size:11px;font-weight:650;color:#647d9d;letter-spacing:.025em}
.stats-card h2{font-size:17px;font-weight:650;line-height:1.32;margin:4px 0 14px;letter-spacing:-.016em}
.stats-card h3{font-size:13.5px;font-weight:650}
.stats-bar-row{margin:13px 0}
.stats-bar-row>div:first-child{font-size:11.5px}
.stats-bar-row span{font-weight:500}
.stats-bar-row b{font-size:11.5px;font-weight:650}
.stats-inline-note,.stats-neutral-note{font-size:12px!important;line-height:1.5!important}
.stats-stage-row{gap:7px}
.stats-stage-row>div{border-radius:14px;padding:13px 6px;background:color-mix(in srgb,var(--surface-2) 78%,var(--surface))}
.stats-stage-row span{font-size:10.5px;font-weight:600}
.stats-stage-row b{font-size:22px;font-weight:650;letter-spacing:-.025em;margin-top:5px}
.stats-stage-row>i{font-weight:600}
.stats-reality-hero .big-number{font-size:44px;font-weight:650;letter-spacing:-.04em}
.stats-mini-number{font-size:30px;font-weight:650}
.stats-footnote{font-size:10.5px;line-height:1.5;margin:18px 8px 8px}
.pattern-card-grid{gap:11px}
.pattern-signal-card{padding:18px;border-radius:20px;box-shadow:0 8px 24px rgba(15,45,91,.04)}
.pattern-signal-card h2{font-size:16.5px;font-weight:650;line-height:1.35;margin-top:5px}
.pattern-signal-card p{font-size:13.5px;line-height:1.55;margin-bottom:0}
@media(max-width:430px){
 .stats-tabs{grid-template-columns:repeat(3,minmax(0,1fr));padding-bottom:0}
 .stats-tabs button{font-size:10px;padding:7px 4px}
 .stats-kpi b{font-size:23px}
 .stats-stage-row span{font-size:9.5px}
 .stats-stage-row b{font-size:19px}
}

/* History: status/date together, two-line titles, calmer list rhythm. */
.history-head h1{font-size:30px;font-weight:650;letter-spacing:-.04em}
.history-head .eyebrow{font-weight:600}
.history-month{margin:20px 0}
.history-month>h2{font-size:12px;font-weight:650;text-transform:none;letter-spacing:.035em;color:#7187a3;margin-bottom:9px}
.history-compact-list{border-radius:18px;box-shadow:0 7px 22px rgba(15,45,91,.035)}
.history-compact-row{padding:13px 14px;gap:10px}
.history-row-top{justify-content:flex-start;gap:8px;margin-bottom:6px}
.history-row-top small{font-size:11px;color:#8294aa}
.history-status{font-size:10px;font-weight:650;padding:4px 7px;letter-spacing:0;text-transform:none}
.history-compact-main>b{display:-webkit-box;color:#0f2d5b;font-size:14px;font-weight:650;line-height:1.38;white-space:normal;overflow:hidden;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.history-secondary{margin-top:4px;font-size:11.5px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-row-arrow{font-size:18px}
html[data-theme="dark"] .history-compact-main>b{color:#eef6ff}

/* Bottom navigation: keep all five destinations, improve legibility and reduce chrome. */
.bottom-nav{width:min(520px,100%);padding:7px 6px calc(8px + env(safe-area-inset-bottom));border-left:0!important;border-right:0!important;border-top:1px solid var(--line);box-shadow:0 -7px 24px rgba(15,45,91,.045);background:rgba(250,252,255,.96)}
.nav-item{min-height:58px;gap:4px;border-radius:11px;font-size:11px;color:#8091a8}
.nav-item .nav-icon{width:20px;height:20px}
.bottom-nav .nav-item small{font-size:10.5px;line-height:1.1;font-weight:600}
.nav-item.active{font-weight:650;background:transparent!important;color:#2d65a0!important}
html[data-theme="dark"] .bottom-nav{background:rgba(11,22,38,.96);box-shadow:0 -7px 24px rgba(0,0,0,.16)}
html[data-theme="dark"] .nav-item.active{color:#8ab6e3!important}


/* ===== WasItSo 1.0.16 R3 — readability polish ===== */
/* Keep the visual system, but lift the smallest type and remove repeated queue chrome. */

/* Account: sign-in lives in the global header; this section is now status only for guests. */
.profile-account-guest{padding:13px 14px!important}
.profile-account-guest .profile-section-title{margin-bottom:8px!important}
.profile-account-status{display:flex;align-items:flex-start;gap:9px;color:#17365f}
.profile-account-status>span{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#aebdce;margin-top:6px;box-shadow:0 0 0 4px rgba(174,189,206,.13)}
.profile-account-status b{display:block;font-size:13.5px;font-weight:650;line-height:1.3}
.profile-account-status small{display:block;margin-top:3px;color:#71849d;font-size:12.5px;line-height:1.48}
html[data-theme="dark"] .profile-account-status{color:#edf5ff}
html[data-theme="dark"] .profile-account-status small{color:#aebbcf}
html[data-theme="dark"] .profile-account-status>span{background:#7897ba;box-shadow:0 0 0 4px rgba(120,151,186,.14)}

/* Home: no micro-type below a comfortable reading threshold. */
.home-head-v8 .date-eyebrow{font-size:12px!important;letter-spacing:.015em}
.home-head-v8 p{font-size:15px}
.home-primary .eyebrow,.home-reflections .eyebrow,.home-up-next .eyebrow{font-size:12px}
.home-review-title{font-size:12.5px;text-transform:none;letter-spacing:.01em}
.home-review-copy strong{font-size:14px}
.home-review-copy small{font-size:12.5px;line-height:1.45}
.home-reflection-card.compact h3{font-size:14px;line-height:1.38}
.home-reflection-card.compact p{font-size:12.5px;line-height:1.42}
.home-reflection-card.compact .reflection-status{font-size:10px;padding:4px 7px}
.home-reflection-card.compact .home-reflection-main>small{font-size:11.5px}
.home-reflections-empty p{font-size:13px}
.home-insight-card .eyebrow{font-size:11.5px}

/* Guided capture/reality/step-back: make the journey labels and helper metadata readable. */
.core-journey-step small{font-size:11.5px;font-weight:650;line-height:1.25}
.core-journey-step>span{font-size:11.5px;font-weight:700}
.task-meta{font-size:12.5px}
.task-kicker{font-size:11.5px;font-weight:700;letter-spacing:.07em}
.field-help{font-size:14px;line-height:1.5}
.seal-review-compact summary{font-size:13px;font-weight:650}
@media(max-width:430px){
 .core-journey-step small{font-size:11px}
 .core-journey-step{min-width:56px}
}

/* Revoir: the section heading already carries the state, so rows focus on content. */
.review-head .eyebrow{font-size:12px}
.review-head p{font-size:14.5px;line-height:1.55}
.review-queue-section>summary{font-size:14.5px;font-weight:650;padding:13px 14px}
.review-queue-section>summary b{font-size:12px;font-weight:650}
.review-compact-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:13px 14px}
.review-compact-status{display:none!important}
.review-compact-copy b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;text-overflow:clip;color:#102f58;font-size:14.5px;line-height:1.38;font-weight:650}
.review-compact-copy small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;margin-top:4px;color:#7589a5;font-size:12.5px;line-height:1.4}
.review-compact-arrow{font-size:18px}
.review-primary-card h2{font-size:18px;font-weight:650;line-height:1.35}
.review-primary-card p{font-size:14px;line-height:1.52}
.review-primary-badge{font-size:11px;font-weight:650;letter-spacing:.02em}

/* History: preserve compactness, but keep summaries readable. */
.history-row-top small{font-size:11.5px}
.history-status{font-size:10.5px;font-weight:650}
.history-compact-main>b{font-size:14.5px;line-height:1.4}
.history-secondary{font-size:12.5px;line-height:1.45;white-space:normal;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
.history-filter-more>summary{font-size:13px;font-weight:600}
.search-box input{font-size:14px}
.filter-pill{font-size:12.5px}

/* Stats: raise every supporting label without changing the information architecture. */
.stats-head p{font-size:15px;line-height:1.55}
.stats-periods button,.stats-tabs button{font-size:12px;min-height:42px}
.stats-kpi span{font-size:11.5px;line-height:1.3}
.stats-kpi small{font-size:10.5px}
.stats-card>.eyebrow,.pattern-signal-card>.eyebrow{font-size:11.5px}
.stats-bar-row>div:first-child{font-size:12.5px}
.stats-bar-row b{font-size:12.5px}
.stats-inline-note,.stats-neutral-note{font-size:13px!important;line-height:1.52!important}
.stats-stage-row span{font-size:11.5px}
.stats-footnote{font-size:11.5px;line-height:1.5}
.pattern-signal-card p{font-size:14px;line-height:1.55}
@media(max-width:430px){
 .stats-periods button,.stats-tabs button{font-size:11px!important;padding:7px 3px}
 .stats-kpi span{font-size:11px}
 .stats-kpi small{font-size:10px}
 .stats-stage-row span{font-size:10.5px}
}

/* Bottom nav: keep five destinations, just make the labels comfortable to read. */
.bottom-nav .nav-item small{font-size:11.5px;line-height:1.15;font-weight:600}
.nav-item{font-size:12px;gap:5px}
.nav-item .nav-icon{width:21px;height:21px}

/* WasItSo 1.0.16 R5 — Revisit navigation: search, filters, calendar */
.review-search{margin:4px 0 12px}.review-filter-pills{display:flex;gap:8px;overflow-x:auto;padding:0 0 5px;scrollbar-width:none}.review-filter-pills::-webkit-scrollbar{display:none}.review-filter-pills .filter-pill{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:38px;padding:8px 12px}.review-filter-pills .filter-pill b{display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#edf3fa;color:#5b7493;font-size:11px;font-weight:650}.review-filter-pills .filter-pill.active b{background:rgba(255,255,255,.22);color:inherit}.review-results{margin-top:9px}.review-filter-list{border:1px solid #dbe6f0;border-radius:16px;overflow:hidden;background:rgba(255,255,255,.76)}.review-filter-list .review-compact-row{border-radius:0}.review-filter-subhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 3px 8px;color:#173963;font-size:13px;font-weight:650}.review-filter-subhead b{min-width:26px;text-align:center;padding:4px 8px;border-radius:999px;background:#edf4fb;color:#547292;font-size:11.5px;font-weight:650}.review-more{display:block;margin:10px auto 3px;border:0;background:transparent;color:#346ba8;font-size:13px;font-weight:650;padding:8px 12px;cursor:pointer}.review-filter-empty,.review-calendar-selection>p{margin:10px 0;padding:18px;border:1px dashed #d4e1ee;border-radius:16px;color:#71849d;text-align:center;font-size:13.5px;line-height:1.5;background:rgba(255,255,255,.45)}
.review-calendar{border:1px solid #dbe6f0;border-radius:20px;background:rgba(255,255,255,.76);padding:14px;box-shadow:0 7px 20px rgba(29,65,105,.035)}.review-calendar-head{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;margin-bottom:11px}.review-calendar-head strong{text-align:center;color:#12335f;font-size:15px;font-weight:650;text-transform:capitalize}.review-calendar-head button{width:36px;height:36px;border:1px solid #d7e4f0;border-radius:12px;background:#fff;color:#315f96;font-size:21px;line-height:1;cursor:pointer}.review-calendar-weekdays,.review-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.review-calendar-weekdays{margin-bottom:5px}.review-calendar-weekdays span{text-align:center;color:#8394aa;font-size:10.5px;font-weight:600}.review-calendar-day,.review-calendar-blank{aspect-ratio:1/1;min-width:0}.review-calendar-day{position:relative;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:#536d8e;font-size:12.5px}.review-calendar-day.has-items{cursor:pointer;background:#f2f7fc;color:#183d6b;font-weight:650}.review-calendar-day.has-items:hover{background:#eaf3fb}.review-calendar-day b{position:absolute;right:3px;bottom:3px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#f7c95d;color:#5f4908;font-size:9.5px;font-weight:750}.review-calendar-day.today:after{content:"";position:absolute;top:4px;width:4px;height:4px;border-radius:50%;background:#4b7eb7}.review-calendar-day.selected{background:#346ba8;color:#fff;box-shadow:0 5px 12px rgba(52,107,168,.18)}.review-calendar-day.selected b{background:#fff;color:#346ba8}.review-calendar-day.selected:after{background:#fff}.review-calendar-selection{margin-top:12px}
html[data-theme="dark"] .review-filter-pills .filter-pill b{background:#152b43;color:#a8bdd3}html[data-theme="dark"] .review-filter-pills .filter-pill.active b{background:rgba(255,255,255,.16);color:#fff}html[data-theme="dark"] .review-filter-list,html[data-theme="dark"] .review-calendar{background:#0f2236;border-color:#294158}html[data-theme="dark"] .review-filter-subhead{color:#eef5fc}html[data-theme="dark"] .review-filter-subhead b{background:#18314a;color:#b5c9dd}html[data-theme="dark"] .review-filter-empty,html[data-theme="dark"] .review-calendar-selection>p{background:#0d1e30;border-color:#2b425a;color:#9eb2c8}html[data-theme="dark"] .review-calendar-head strong{color:#eef5fc}html[data-theme="dark"] .review-calendar-head button{background:#13283e;border-color:#2c4660;color:#b9d0e6}html[data-theme="dark"] .review-calendar-day{color:#91a7bd}html[data-theme="dark"] .review-calendar-day.has-items{background:#142b43;color:#eaf3fb}html[data-theme="dark"] .review-calendar-day.selected{background:#477fbb;color:#fff}html[data-theme="dark"] .review-calendar-weekdays span{color:#7890a8}
@media(max-width:420px){.review-filter-pills .filter-pill{padding:8px 10px;font-size:12px}.review-calendar{padding:12px 9px}.review-calendar-weekdays,.review-calendar-grid{gap:3px}.review-calendar-day{border-radius:10px;font-size:12px}.review-calendar-day b{right:2px;bottom:2px;min-width:16px;height:16px;font-size:9px}}

/* WasItSo 1.0.16 R6 — Calendar = all dated reflections still waiting for Reality */
.review-calendar-day.has-items{outline:1px solid rgba(52,107,168,.08)}
.review-calendar-day b{right:50%;bottom:3px;transform:translateX(50%);min-width:20px;height:18px;padding:0 6px;font-size:10px;box-shadow:0 2px 7px rgba(95,73,8,.10)}
.review-calendar-day.has-items span{transform:translateY(-6px)}
.review-calendar-day.today:not(.selected){box-shadow:inset 0 0 0 1px rgba(75,126,183,.35)}
html[data-theme="dark"] .review-calendar-day.has-items{outline-color:rgba(126,173,220,.16)}
@media(max-width:420px){.review-calendar-day b{right:50%;bottom:2px;transform:translateX(50%);min-width:18px;height:17px;font-size:9.5px}.review-calendar-day.has-items span{transform:translateY(-5px)}}


/* v1.0.16 R7 — visible reschedule action + correct disabled cursor */
.review-primary-actions{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(110px,.75fr);gap:9px;align-items:stretch;margin-top:12px}
.review-primary-actions .btn{margin:0;min-height:46px}
.review-compact-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border-bottom:1px solid #e8eef4;background:#fff}
.review-compact-item:last-child{border-bottom:0}.review-compact-item .review-compact-row{border-bottom:0}
.review-reschedule-inline{align-self:center;margin:0 10px 0 0;border:1px solid #cfe0f0;background:#f7fbff;color:#315f96;border-radius:999px;padding:8px 11px;font:inherit;font-size:12.5px;font-weight:650;cursor:pointer}
.review-reschedule-inline:hover{background:#edf5fc}
.reality-reschedule-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 12px;padding:10px 12px;border:1px solid #dbe6f0;border-radius:13px;background:#f8fbfe;color:#657b99;font-size:12.5px}
.reality-reschedule-row button{border:1px solid #cfe0f0;background:#fff;color:#315f96;border-radius:999px;padding:7px 11px;font:inherit;font-size:12.5px;font-weight:650;cursor:pointer;white-space:nowrap}
html[data-theme="dark"] .review-compact-item{background:var(--surface);border-color:var(--line)}
html[data-theme="dark"] .review-reschedule-inline,html[data-theme="dark"] .reality-reschedule-row button{background:var(--surface);border-color:var(--line);color:#9ec8f5}
html[data-theme="dark"] .reality-reschedule-row{background:rgba(255,255,255,.02);border-color:var(--line)}
@media(max-width:390px){.review-primary-actions{grid-template-columns:1fr}.review-reschedule-inline{padding:7px 9px;font-size:12px}.reality-reschedule-row{align-items:flex-start;flex-direction:column}.reality-reschedule-row button{align-self:flex-start}}

/* V1.0.16 R9 — Free / Plus monetization */
.nav-plus-badge{display:inline-block;margin-left:4px;padding:1px 4px;border-radius:999px;background:linear-gradient(135deg,#0f2d5b,#527eb6);color:#fff;font-style:normal;font-size:7px;font-weight:800;letter-spacing:.04em;vertical-align:1px}
.speech-btn.speech-plus{gap:6px}.speech-btn.speech-plus .plus-badge{font-size:8px;padding:1px 5px}
.follow-picker-free{padding:12px}.follow-standard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.follow-standard{min-height:44px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);font:inherit;font-size:12px;font-weight:650;cursor:pointer}.follow-standard.active{border-color:#8db3d5;background:#eaf3fb;color:var(--navy)}.follow-plus-cta{width:100%;margin-top:12px;padding:11px 12px;border:1px solid #cbdbea;border-radius:14px;background:linear-gradient(180deg,#f8fbff,#f0f6fb);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;text-align:left;color:var(--ink);cursor:pointer}.follow-plus-cta>span:nth-child(2){display:grid;gap:2px}.follow-plus-cta b{font-size:12px;color:var(--navy)}.follow-plus-cta small{font-size:9.5px;color:var(--muted);line-height:1.3}.follow-existing-custom{margin:10px 0 0;padding:10px 11px;border-radius:12px;background:var(--surface-2);display:grid;gap:3px}.follow-existing-custom strong{font-size:12px;color:var(--navy)}.follow-existing-custom small{font-size:9.5px;color:var(--muted);line-height:1.35}
.stats-tabs button .plus-badge{font-size:7px;padding:1px 4px;margin-left:4px}.stats-tabs button.premium-tab{border-style:dashed}.patterns-head h1 .plus-badge{font-size:9px;vertical-align:middle}.trend-detection-count{display:flex;align-items:baseline;gap:8px;margin:14px 0;padding:12px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}.trend-detection-count b{font-size:27px;color:var(--navy)}.trend-detection-count span{font-size:11px;color:var(--muted);line-height:1.35}
.history-compact-row-locked{background:linear-gradient(180deg,#fbfcfd,#f7f9fb);opacity:.92}.history-compact-row-locked:hover{background:#f3f6f9}.history-compact-row-locked .history-compact-main>b{color:#536a85}.history-row-lock{align-self:center;font-size:14px}.history-free-note{margin:12px 0 4px;padding:12px 14px;border:1px solid var(--line);border-radius:15px;background:var(--surface-2);display:grid;gap:5px}.history-free-note b{font-size:11.5px;color:var(--navy)}.history-free-note span{font-size:10px;line-height:1.4;color:var(--muted)}.history-free-note .text-btn{justify-self:start;margin:2px 0 0;padding:0}
html[data-theme="dark"] .follow-plus-cta,html[data-theme="dark"] .history-compact-row-locked{background:var(--surface-2)}
.follow-exact-box{display:grid;grid-template-columns:1fr auto;gap:5px 10px;align-items:center;padding:11px 12px;margin-bottom:10px;border:1px solid #cbdbea;border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f3f8fc)}.follow-exact-box>div{display:grid;gap:2px}.follow-exact-box b{font-size:12px;color:var(--navy)}.follow-exact-box small{font-size:9.5px;color:var(--muted)}.follow-exact-box input{min-width:190px;border:1px solid var(--line);border-radius:10px;padding:8px;background:var(--surface);color:var(--ink);font:inherit;font-size:11px}.follow-exact-box>span{grid-column:1/-1;font-size:10px;color:var(--primary);font-weight:650}.follow-or{display:flex;align-items:center;gap:8px;margin:4px 0 9px;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em}.follow-or:before,.follow-or:after{content:"";height:1px;background:var(--line);flex:1}.follow-value-row.is-muted{opacity:.58}@media(max-width:430px){.follow-exact-box{grid-template-columns:1fr}.follow-exact-box input{min-width:0;width:100%}}
html[data-theme="dark"] .follow-exact-box{background:var(--surface-2)}

/* ===== WasItSo 1.0.16 R10 — dark-mode hardening =====
   Keep light-mode design intact. Every rule below is scoped to the active
   html[data-theme="dark"] attribute used by applyTheme(). */
html[data-theme="dark"]{
  color-scheme:dark;
  --danger-soft:#3a2328;
  --danger:#f0a8ae;
  --warn:#3a2d17;
}
html[data-theme="dark"] ::selection{background:#315f95;color:#fff}
html[data-theme="dark"] .icon-btn:hover,
html[data-theme="dark"] .topbar-account:hover,
html[data-theme="dark"] .overflow-icon-btn:hover,
html[data-theme="dark"] .detail-overflow-btn:hover{background:#192d45;border-color:#3b5875;color:#dce9f7}

/* Buttons and controls */
html[data-theme="dark"] .btn-secondary{background:#1b3a5c;color:#dcecff;border:1px solid #315579}
html[data-theme="dark"] .btn-secondary:hover{background:#24486d;color:#f4f8fd}
html[data-theme="dark"] .btn-danger{background:#3a2328!important;color:#ffc7cb!important;border-color:#704047!important}
html[data-theme="dark"] .segmented{background:#0f2034;border-color:var(--line)}
html[data-theme="dark"] .segmented button{color:#93a8bf}
html[data-theme="dark"] .segmented button.active{background:#1c3654;color:#eef6ff}
html[data-theme="dark"] .filter-pill{background:#12263d;color:#a9bfd5;border-color:#2a4561}
html[data-theme="dark"] .filter-pill.active{background:#315f95;color:#fff;border-color:#5d88b8}
html[data-theme="dark"] .follow-units{background:#0d1c2e}
html[data-theme="dark"] .follow-unit.active{background:#1b3857;color:#e9f3fe;box-shadow:none}
html[data-theme="dark"] .follow-adjust{background:#13283f;color:#dcecff;border-color:#304b67}
html[data-theme="dark"] .follow-no-date.active{background:#182c43;color:#e7f0fa}
html[data-theme="dark"] .follow-standard.active{background:#1b3857;color:#eef6ff;border-color:#527ba4}
html[data-theme="dark"] .temporal-option{background:#101f33;color:#aebfd1;border-color:var(--line)}
html[data-theme="dark"] .temporal-option.selected{background:#1b3857;color:#eef6ff;border-color:#638db9;box-shadow:none}
html[data-theme="dark"] .mood,
html[data-theme="dark"] .mood-contextual .mood{background:#101f33;border-color:var(--line)}
html[data-theme="dark"] .mood.selected,
html[data-theme="dark"] .mood-contextual .mood.selected{background:#183252;border-color:#6d9dcc;box-shadow:none}

/* Generic surfaces that still used light-mode literals */
html[data-theme="dark"] .summary-card,
html[data-theme="dark"] .mode-card,
html[data-theme="dark"] .alternative,
html[data-theme="dark"] .detail-block,
html[data-theme="dark"] .kpi,
html[data-theme="dark"] .memory-strip,
html[data-theme="dark"] .pattern-chip,
html[data-theme="dark"] .home-action,
html[data-theme="dark"] .review-stats>div,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .empty-state-v2,
html[data-theme="dark"] .search-box,
html[data-theme="dark"] .cloud-card,
html[data-theme="dark"] .optional-details,
html[data-theme="dark"] .core-journey,
html[data-theme="dark"] .first-thought-card,
html[data-theme="dark"] .review-original.subtle,
html[data-theme="dark"] .first-thought-detail,
html[data-theme="dark"] .stepback-invite,
html[data-theme="dark"] .stepback-anchor>div,
html[data-theme="dark"] .stepback-pair>div,
html[data-theme="dark"] .follow-picker,
html[data-theme="dark"] .capture-mood,
html[data-theme="dark"] .emotion-snapshot,
html[data-theme="dark"] .emotion-stage,
html[data-theme="dark"] .root-cause-summary,
html[data-theme="dark"] .review-card-v8.due,
html[data-theme="dark"] .perspective-trail,
html[data-theme="dark"] .review-primary-card,
html[data-theme="dark"] .review-primary-card.cold,
html[data-theme="dark"] .review-queue-section,
html[data-theme="dark"] .review-compact-row,
html[data-theme="dark"] .perspective-trail-v2,
html[data-theme="dark"] .trail-journey-row,
html[data-theme="dark"] .history-compact-list,
html[data-theme="dark"] .history-compact-row,
html[data-theme="dark"] .pattern-signal-card.featured,
html[data-theme="dark"] .price-option,
html[data-theme="dark"] .premium-locked{background:var(--surface);border-color:var(--line);color:var(--ink);box-shadow:none}

html[data-theme="dark"] .home-action:hover,
html[data-theme="dark"] .review-compact-row:hover,
html[data-theme="dark"] .history-compact-row:hover{background:#14283f}
html[data-theme="dark"] .optional-details-body,
html[data-theme="dark"] .review-queue-rows,
html[data-theme="dark"] .trail-journeys{border-color:var(--line)}
html[data-theme="dark"] .home-insight-title,
html[data-theme="dark"] .review-primary-card h2,
html[data-theme="dark"] .review-compact-copy b,
html[data-theme="dark"] .trail-journey-copy b,
html[data-theme="dark"] .history-compact-main>b,
html[data-theme="dark"] .pattern-signal-card h2,
html[data-theme="dark"] .perspective-trail-v2>summary b{color:#eef6ff}
html[data-theme="dark"] .home-insight-body,
html[data-theme="dark"] .review-primary-card p,
html[data-theme="dark"] .pattern-signal-card p{color:#a6b9cc}
html[data-theme="dark"] .home-insight-chevron{background:#18314a;color:#b8d2eb}

/* Journey / stepper */
html[data-theme="dark"] .core-journey{background:#101f33;border-color:#2a425b}
html[data-theme="dark"] .core-journey>i{background:#31465d}
html[data-theme="dark"] .core-journey-step>span{background:#172a40;color:#9cb0c6;border-color:#30465d}
html[data-theme="dark"] .core-journey-step small{color:#9badc2}
html[data-theme="dark"] .core-journey-step.current>span{background:#477fbb;border-color:#5c94cf;color:#fff}
html[data-theme="dark"] .core-journey-step.current small{color:#eef6ff}
html[data-theme="dark"] .core-journey-step.done>span{background:#173529;border-color:#32604a;color:#b9e5ca}
html[data-theme="dark"] .core-journey-step.done small{color:#a9cfb8}
html[data-theme="dark"] .core-journey-step.done+i{background:#32604a}
html[data-theme="dark"] .core-stage-tag{background:#17314e!important;color:#c7def6!important;border-color:#315579!important}

/* Semantic status surfaces: avoid pale yellow/green/blue cards with light dark-mode text */
html[data-theme="dark"] .reflection-status.waiting,
html[data-theme="dark"] .reflection-tracking.waiting{background:#162d45;border-color:#31516f;color:#b9d5ee}
html[data-theme="dark"] .reflection-status.due,
html[data-theme="dark"] .reflection-tracking.due{background:#3a2d18;border-color:#70582d;color:#f2cf87}
html[data-theme="dark"] .reflection-status.stepback,
html[data-theme="dark"] .reflection-tracking.stepback{background:#292640;border-color:#4b466c;color:#d2c9f3}
html[data-theme="dark"] .reflection-status.complete,
html[data-theme="dark"] .reflection-tracking.complete{background:#173529;border-color:#315a46;color:#b9e4c9}
html[data-theme="dark"] .reflection-status.saved,
html[data-theme="dark"] .reflection-tracking.saved{background:#172638;border-color:#30475f;color:#b5c6d8}
html[data-theme="dark"] .reflection-tracking b{color:#f2f7fc}
html[data-theme="dark"] .reflection-tracking.due b{color:#ffe5ad}
html[data-theme="dark"] .reflection-tracking.waiting b{color:#dcecff}
html[data-theme="dark"] .reflection-tracking.stepback b{color:#e5defb}
html[data-theme="dark"] .reflection-tracking.complete b{color:#d8f1e2}

html[data-theme="dark"] .review-compact-status{background:#18314a;color:#b8d2eb}
html[data-theme="dark"] .review-compact-row.cold .review-compact-status,
html[data-theme="dark"] .history-status.complete{background:#173529;color:#b9e4c9}
html[data-theme="dark"] .review-compact-row.later .review-compact-status,
html[data-theme="dark"] .history-status.later{background:#162d45;color:#bdd7ef}
html[data-theme="dark"] .review-compact-row.nodate .review-compact-status{background:#1d2937;color:#b7c2cf}
html[data-theme="dark"] .history-status.cold{background:#292640;color:#d2c9f3}
html[data-theme="dark"] .history-status.due{background:#3a2d18;color:#f2cf87}

/* Home cards and the install prompt */
html[data-theme="dark"] .home-review-card{background:linear-gradient(135deg,#352a18,#2a251b);border-color:#6b542d}
html[data-theme="dark"] .home-review-copy strong{color:#fff2d1}
html[data-theme="dark"] .home-review-copy small{color:#d4bf95}
html[data-theme="dark"] .home-stepback-now .home-next-card{background:linear-gradient(135deg,#202039,#171f31);border-color:#484568}
html[data-theme="dark"] .home-draft-block .home-next-card{background:linear-gradient(135deg,#132a42,#101f33);border-color:#2f4d6a}
html[data-theme="dark"] .home-calm-state{background:linear-gradient(135deg,#132a28,#101f33);border-color:#294945}
html[data-theme="dark"] .home-reflection-card.compact{color:var(--ink);box-shadow:none}
html[data-theme="dark"] .home-reflection-card.compact.complete{background:linear-gradient(135deg,#153226,#102a22);border-color:#315a46}
html[data-theme="dark"] .home-reflection-card.compact.due{background:linear-gradient(135deg,#352a18,#2a251b);border-color:#6b542d}
html[data-theme="dark"] .home-reflection-card.compact.waiting{background:linear-gradient(135deg,#142b43,#10243a);border-color:#31516f}
html[data-theme="dark"] .home-reflection-card.compact.stepback{background:linear-gradient(135deg,#27243d,#211f35);border-color:#4b466c}
html[data-theme="dark"] .home-reflection-card.compact.saved{background:linear-gradient(135deg,#172638,#111f30);border-color:#30475f}
html[data-theme="dark"] .home-reflection-card.compact h3{color:#eef6ff}
html[data-theme="dark"] .home-reflection-card.compact p{color:#a4b7ca}
html[data-theme="dark"] .home-install-card.home-install-card-compact{background:linear-gradient(135deg,#13283e,#101f33);border-color:#2d4863;box-shadow:none}
html[data-theme="dark"] .home-install-card-compact .install-app-icon{background:#172c43;border-color:#34506d}
html[data-theme="dark"] .home-install-copy h2{color:#eef6ff}
html[data-theme="dark"] .home-install-copy .eyebrow{color:#9fc3e7}
html[data-theme="dark"] .home-install-copy p{color:#a5b8cb}
html[data-theme="dark"] .home-install-dismiss{color:#a5b8cb}
html[data-theme="dark"] .home-install-dismiss:hover{background:#1a314a;color:#e8f2fc}

/* Plus discovery, paywall, and monetization cards */
html[data-theme="dark"] .follow-plus-cta,
html[data-theme="dark"] .follow-exact-box{background:#14283f;border-color:#304b67}
html[data-theme="dark"] .premium-locked{background:linear-gradient(180deg,#13283f,#101f33)!important;color:var(--ink)!important;border-color:#304b67!important}
html[data-theme="dark"] .price-option{background:#101f33;border-color:#30465d}
html[data-theme="dark"] .price-option.selected{background:#183252;border-color:#5e8bb8}
html[data-theme="dark"] .billing-coming{background:#3a2d18;border-color:#70582d;color:#f5d99d}
html[data-theme="dark"] .billing-coming b,
html[data-theme="dark"] .billing-coming strong{color:#ffe7b7}
html[data-theme="dark"] .history-compact-row-locked{background:#142437;color:var(--ink);opacity:.95}
html[data-theme="dark"] .history-compact-row-locked:hover{background:#192b41}
html[data-theme="dark"] .history-compact-row-locked .history-compact-main>b{color:#b7c9db}

/* Warnings / informational pastel blocks */
html[data-theme="dark"] .tomorrow-card,
html[data-theme="dark"] .due-banner,
html[data-theme="dark"] .validation-hint,
html[data-theme="dark"] .selection-note,
html[data-theme="dark"] .emotion-nudge{background:#392d18;border-color:#6d562c;color:#f2d49a}
html[data-theme="dark"] .tomorrow-card textarea{background:#17283c;color:var(--ink);border-color:#344b63}
html[data-theme="dark"] .due-banner>span:first-child,
html[data-theme="dark"] .emotion-nudge span{background:#59441e;color:#ffe3a4}
html[data-theme="dark"] .temporal-hint{background:#14263a;color:#a8bbce}

/* Modal sheets / dialogs */
html[data-theme="dark"] .recul-sheet-backdrop,
html[data-theme="dark"] .recul-dialog-backdrop{background:rgba(0,0,0,.58)}
html[data-theme="dark"] .recul-action-sheet,
html[data-theme="dark"] .recul-dialog{background:#101f33;color:var(--ink);border:1px solid #2d445d;box-shadow:0 28px 70px rgba(0,0,0,.42)}
html[data-theme="dark"] .sheet-handle{background:#42566d}
html[data-theme="dark"] .sheet-head>b,
html[data-theme="dark"] .recul-dialog h2{color:#eef6ff}
html[data-theme="dark"] .sheet-close{background:#172b42;color:#b7c9db}
html[data-theme="dark"] .sheet-action{background:#13263b;border-color:#2c435c;color:#dce9f7}
html[data-theme="dark"] .sheet-action:hover{background:#182e47}
html[data-theme="dark"] .sheet-action.danger{background:#2b1f25;border-color:#5f3e47;color:#f2bec3}
html[data-theme="dark"] .sheet-action.danger span,
html[data-theme="dark"] .dialog-icon.danger{background:#48282e;color:#ffc4c9}
html[data-theme="dark"] .dialog-icon{background:#463719;color:#ffdfa0}
html[data-theme="dark"] .recul-dialog p{color:#a7b9cc}

/* Auth / install help legacy dark rules are now active; complete missing copy colors */
html[data-theme="dark"] .auth-feedback.info{background:#182942;border-color:#2d496f;color:#dce9f8}
html[data-theme="dark"] .install-help-head .eyebrow{color:#a3c7eb}
html[data-theme="dark"] .install-help-step b,
html[data-theme="dark"] .install-help-sheet h2{color:#eef6ff}
html[data-theme="dark"] .install-help-tip p,
html[data-theme="dark"] .install-help-step p{color:#aebfd1}

/* Profile / account icon surfaces */
html[data-theme="dark"] .topbar-account{background:#12263d;border-color:#2d4863;color:#d7e8f8}
html[data-theme="dark"] .profile-section-icon{background:#172d45;color:#acd0f1}
html[data-theme="dark"] .profile-section-icon.language,
html[data-theme="dark"] .profile-section-icon.reminders{background:#3a2d18;color:#f2cf87}
html[data-theme="dark"] .profile-section-icon.appearance{background:#292640;color:#d2c9f3}
html[data-theme="dark"] .profile-section-icon.data{background:#173529;color:#b9e4c9}
html[data-theme="dark"] .profile-section-icon.privacy{background:#27283c;color:#c8c8e7}
html[data-theme="dark"] .profile-section-icon.account{background:#162d45;color:#bdd7ef}

/* Review/history borders and typography */
html[data-theme="dark"] .review-queue-section>summary{color:#eaf3fc}
html[data-theme="dark"] .review-queue-section>summary b{background:#18314a;color:#b8d2eb}
html[data-theme="dark"] .review-queue-rows,
html[data-theme="dark"] .review-compact-row,
html[data-theme="dark"] .trail-journeys,
html[data-theme="dark"] .trail-journey-row,
html[data-theme="dark"] .history-compact-row{border-color:#263d55}
html[data-theme="dark"] .history-filter-more,
html[data-theme="dark"] .stats-neutral-note{border-color:#263d55}

/* Preserve visibly selected calendar state */
html[data-theme="dark"] .review-calendar-day.selected{background:#477fbb;color:#fff}
html[data-theme="dark"] .review-calendar-day.selected b{background:#eaf2fb;color:#244f7c}

/* Native/browser form chrome */
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="datetime-local"],
html[data-theme="dark"] input[type="time"]{color-scheme:dark}


/* R10 audit completion — remaining legacy light surfaces / low-contrast copy */
html[data-theme="dark"] .mood-panel,
html[data-theme="dark"] .resume-card,
html[data-theme="dark"] .expectation-reality-card{background:var(--surface);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .memory-icon{background:#3a2d18;color:#f2cf87}
html[data-theme="dark"] .review-card-v2.due .due-label{background:#3a2d18;color:#f2cf87;border-color:#70582d}
html[data-theme="dark"] .cloud-gate-error{background:#3b2428;color:#ffd9de;border-color:#704047}
html[data-theme="dark"] .auth-tabs button.active{background:#1b3857;color:#eef6ff;border-color:#527ba4}
html[data-theme="dark"] .privacy-cue{background:#14263a;border-color:var(--line);color:#a9bdd1}
html[data-theme="dark"] .danger-text-btn:hover{background:#352229;border-color:#6a444e;color:#ffc6cb}
html[data-theme="dark"] .text-btn,
html[data-theme="dark"] .billing-message,
html[data-theme="dark"] .resume-card>span:first-child,
html[data-theme="dark"] .home-insight-destination{color:#9ec8f5}
html[data-theme="dark"] .delete-list,
html[data-theme="dark"] .mood-gentle-help,
html[data-theme="dark"] .review-compact-copy small,
html[data-theme="dark"] .trail-journey-copy small,
html[data-theme="dark"] .history-filter-more>summary,
html[data-theme="dark"] .history-row-top small,
html[data-theme="dark"] .history-secondary{color:#a6b9cc}
html[data-theme="dark"] .review-queue-section>summary i,
html[data-theme="dark"] .perspective-trail-v2>summary i,
html[data-theme="dark"] .review-compact-arrow,
html[data-theme="dark"] .history-row-arrow,
html[data-theme="dark"] .home-next-arrow,
html[data-theme="dark"] .home-reflection-foot b,
html[data-theme="dark"] .seal-review-compact summary b,
html[data-theme="dark"] .home-reflection-chevron{color:#93abc3}
html[data-theme="dark"] .insight-preview-sheet{background:#101f33;color:var(--ink)}
html[data-theme="dark"] .insight-preview-body h2{color:#eef6ff}
html[data-theme="dark"] .insight-preview-body p{color:#afc0d2}
html[data-theme="dark"] .insight-preview-note{background:#14283f;color:#b2c3d4;border:1px solid #2d4863}
