/* The account habit system shares the Kids crew and preserves the Parents palette. */
.hfj-today{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:28px;margin:0 0 25px;background:#fff9e9;border:2px solid #d2ab54;box-shadow:5px 5px 0 #eadfc1}
.hfj-today h2{font-size:30px;color:#173f70;margin:12px 0}.hfj-today-main{align-self:center}.hfj-cue{font-weight:700}.hfj-cue span{display:block;font-size:13px;font-weight:400;color:#596756;margin-top:6px}.hfj-today-side{display:flex;flex-direction:column;align-items:center;text-align:center}.hfj-guide-art{width:120px;height:105px;object-fit:contain;mix-blend-mode:multiply}.hfj-today-side>strong{font-size:13px}.hfj-today-side>.hf-text-link{font-size:12px}
.hfj-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:18px 0;width:100%;max-width:470px}.hfj-week-day{text-align:center;font-size:11px;color:#526551;min-width:0}.hfj-week-mark{display:grid;place-items:center;width:31px;height:31px;border:1px solid #d9dccd;border-radius:50%;margin:6px auto;background:#fffdf8;font-size:24px;line-height:1}.hfj-week-day.is-planned .hfj-week-mark{border:1px dashed #8b9b79}.hfj-week-day.is-done .hfj-week-mark{background:#386a4e;border:1px solid #386a4e;color:white}.hfj-week-mark svg{width:18px;height:18px}.hfj-week-day.is-today>span:first-child{text-decoration:underline;text-underline-offset:4px;font-weight:700}
.hfj-form{max-width:740px}.hfj-form label,.hfj-form legend,.hfj-search label{display:block;font-size:14px;font-weight:650;margin-bottom:9px}.hfj-form input:not([type=checkbox]):not([type=radio]),.hfj-form select,.hfj-form textarea,.hfj-search input,.hfj-search select,.hfj-practice-form input{box-sizing:border-box;width:100%;max-width:100%;padding:12px 13px;border:1px solid #b7c2ae;border-radius:9px;background:#fffefb;color:#263b34;font:inherit;margin:0 0 20px;min-height:46px}.hfj-form textarea{resize:vertical;line-height:1.7}.hfj-form fieldset{border:1px solid #d6ddcb;padding:20px;border-radius:10px;margin:7px 0 22px;min-width:0}.hfj-form legend{padding:0 7px}.hfj-day-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hfj-day-options label,.hfj-check{display:flex!important;align-items:center;gap:8px;min-height:44px;font-size:13px!important;margin:0!important;font-weight:400!important}.hfj-form input[type=checkbox]{width:19px;height:19px;accent-color:#3b7457;flex-shrink:0}.hfj-form input[type=radio]{width:19px;height:19px;min-height:0;padding:0;accent-color:#3b7457;flex:0 0 auto}.hfj-reminder{border-top:1px solid #ddd9c9;padding-top:18px;margin-bottom:25px}.hfj-reminder summary,.hfj-offline summary,.hfj-search summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}.hfj-reminder input[type=time]{max-width:180px}.hfj-preview{background:#f0f3e6;border-radius:9px;padding:15px}.hfj-form-error{color:#963333;border-left:3px solid #bc4b4b;padding:8px 12px;line-height:1.6}.hfj-form-error[hidden]{display:none}
.hfj-practice{display:flex;align-items:center;gap:22px;background:#eef5e7;border:1px solid #b4c5a1;border-radius:15px;padding:25px;margin:27px 0}.hfj-practice>div{min-width:0;flex:1}.hfj-practice-art{width:105px;height:115px;object-fit:contain;mix-blend-mode:multiply}.hfj-practice h2{font-size:25px;margin:10px 0}.hfj-practice p{font-size:14px;line-height:1.7}.hfj-parent-practice{background:#f2ebf5;border-color:#cbb7d6}.hfj-parent-practice h2{font-family:Georgia,serif;color:#61437a}.hfj-offline{margin-top:16px;border-top:1px solid #bdcbb1}.hfj-offline summary{font-size:12px}.hfj-practice-form{padding-top:12px}.hfj-practice-form label{display:block;font-size:13px;margin-bottom:9px}.hfj-practice-form input{max-width:220px;display:block}.hfj-mission-done{max-width:1000px;background:#fff6dc;border-color:#d9be79}
.hfj-passport{display:grid;grid-template-columns:minmax(0,1fr) 170px;background:#fff8e6;border:2px solid #b39a62;gap:20px}.hfj-passport-art{width:160px;height:150px;object-fit:contain;mix-blend-mode:multiply}.hfj-stamps{grid-column:1/-1;list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:10px 0}.hfj-stamps li{border:2px dashed #c1b797;padding:19px 10px;display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:42% 42% 15px 15px;gap:9px;color:#776e5c;background:#fffdf6}.hfj-stamps li>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eee9da;font-size:20px}.hfj-stamps li>span svg{width:22px;height:22px}.hfj-stamps strong{font-size:13px;line-height:1.5}.hfj-stamps small{font-size:11px}.hfj-stamps .is-earned{border:2px solid #477956;background:#edf6e6;color:#315c3b}.hfj-stamps .is-earned>span{background:#416e4b;color:white}.hfj-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:24px 0}.hfj-stats>.hf-card{display:flex;flex-direction:column;gap:8px;text-align:center;padding:22px 12px}.hfj-stats strong{font-size:35px;color:#2b5c46}.hfj-stats span{font-size:12px}.hfj-stats .hfj-parent-stat{background:#f6f0f7}.hfj-parent-stat strong{color:#684880}
.hfj-history{margin-top:24px}.hfj-history ul{padding:0;list-style:none}.hfj-history li{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #e4e5da;padding:17px 0}.hfj-history li>div{display:flex;flex-direction:column;gap:7px;min-width:0}.hfj-history li strong{font-size:14px}.hfj-history li span{font-size:12px;color:#687661}.hfj-history .hf-text-link{font-size:12px}.hfj-lookback{margin-bottom:24px;border-left:5px solid #9e7852}.hfj-quote{font-family:Georgia,serif;line-height:1.75;font-size:20px;white-space:pre-wrap;overflow-wrap:anywhere}
.hfj-vault-actions{margin-bottom:15px}.hfj-search{margin:25px 0}.hfj-search-main{display:flex;gap:12px;align-items:flex-start}.hfj-search-main input{flex:1;min-width:0;margin-bottom:6px}.hfj-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hfj-filter-grid label{font-size:12px}.hfj-filter-grid input,.hfj-filter-grid select{font-weight:400;font-size:14px;margin:7px 0 0}.hfj-vault-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}.hfj-moment{min-width:0}.hfj-parent-moment{background:#faf5fc;border-color:#d6c5e0}.hfj-parent-moment .hf-kicker{color:#77538f}.hfj-moment-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.hfj-moment-heading time{font-size:11px;white-space:nowrap;color:#667363}.hfj-moment-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:17px;margin:20px 0}.hfj-moment>.hf-text-link{font-size:12px}.hfj-moment .hf-actions{margin-top:18px;gap:15px}.hfj-moment .hf-actions .hf-text-link{font-size:12px;min-height:44px}.hfj-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}.hfj-tags span{font-size:11px;border:1px solid #cdd6bf;background:#f1f5e9;border-radius:20px;padding:5px 10px;max-width:100%;overflow-wrap:anywhere}.hfj-pinned{border:2px solid #b49657;background:#fff9e8}.hfj-empty{text-align:center}.hfj-empty .hfj-guide-art{margin:auto}.hfj-empty>.hf-small{font-style:italic}.hfj-form .hf-actions{margin-top:12px}
@media(max-width:1000px){.hfj-today{grid-template-columns:minmax(0,1fr);gap:15px}.hfj-today-side{border-top:1px solid #dfd5b7;padding-top:12px}.hfj-today-side>.hfj-guide-art{height:90px;width:100px}.hfj-week{max-width:380px}.hfj-stamps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.hfj-today{padding:23px 19px;box-shadow:3px 3px 0 #eadfc1}.hfj-today h2{font-size:26px}.hfj-today .hf-actions{align-items:stretch;flex-direction:column}.hfj-today .hf-actions .hf-button{width:100%}.hfj-week{gap:3px}.hfj-week-mark{width:29px;height:29px}.hfj-practice{padding:22px 16px;display:block}.hfj-practice-art{width:85px;height:80px;float:right;margin:0 0 8px 9px}.hfj-practice h2{font-size:23px}.hfj-practice .hf-actions{clear:both;gap:10px;align-items:stretch;flex-direction:column}.hfj-practice .hf-button{width:100%}.hfj-practice-form input{max-width:100%;font-size:16px}.hfj-passport{grid-template-columns:minmax(0,1fr) 80px;padding:22px 18px}.hfj-passport-art{width:80px;height:100px}.hfj-passport h2{font-size:23px}.hfj-stamps{gap:10px}.hfj-stamps strong{font-size:12px}.hfj-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.hfj-vault-grid{grid-template-columns:minmax(0,1fr);gap:15px}.hfj-moment-heading{display:block}.hfj-moment-heading time{display:block;margin-top:9px}.hfj-form input:not([type=checkbox]),.hfj-form select,.hfj-form textarea,.hfj-search input,.hfj-search select{font-size:16px}.hfj-day-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.hfj-form fieldset{padding:16px 12px}.hfj-filter-grid{grid-template-columns:minmax(0,1fr)}.hfj-search-main{flex-direction:column}.hfj-search-main input,.hfj-search-main button{width:100%}.hfj-history li{gap:6px}.hfj-history li>.hf-button{padding:8px}.hfj-history .hf-actions{flex-direction:column;align-items:flex-start}.hfj-vault-actions{gap:12px}.hfj-vault-actions .hf-button{font-size:13px}}
@media print{.hfj-practice,.hfj-today,.hfj-vault-actions,.hfj-search,.hfj-stamps .hf-button,.hfj-moment .hf-actions{display:none!important}.hfj-vault-grid{display:block}.hfj-moment{break-inside:avoid}.hfj-passport{border:1px solid #999}}

.hfj-pinned-slot{margin:24px 0}.hfj-pinned-slot>.hf-kicker{display:block;margin-bottom:10px}.hfj-today .hf-text-link,.hfj-practice .hf-text-link{min-height:44px;align-items:center}

/* ---- v3 habit experience (0.6.0) ---- */
.hfj-coach-bubble{display:flex;gap:16px;align-items:center;background:#fff9e9;border:2px solid #d2ab54;margin:0 0 22px}
.hfj-coach-bubble img{width:74px;height:64px;object-fit:contain;mix-blend-mode:multiply;flex-shrink:0}
.hfj-coach-bubble p{font-size:17px;line-height:1.55;margin:6px 0 0}
.hfj-return-card{border-left:5px solid #477956;margin:0 0 22px}
.hfj-notime{margin:22px 0;background:#eef5e7;border:1px solid #b4c5a1}
.hfj-notime-remember{font-family:Georgia,serif;font-size:18px;line-height:1.6}
.hfj-parents-shabbat{margin:22px 0;background:#f2ebf5;border-color:#cbb7d6}
.hfj-parents-shabbat h2{font-family:Georgia,serif;color:#61437a}
.hfj-friday{display:grid;gap:20px;margin:22px 0}
.hfj-friday-identity{font-family:Georgia,serif;font-size:21px;line-height:1.5;margin:0}
.hfj-friday-steps{line-height:1.8;padding-left:22px}
.hfj-identity-line{font-family:Georgia,serif;font-size:22px;line-height:1.55;background:#fff9e9;border:2px solid #d2ab54;border-radius:12px;padding:18px 20px;margin:0 0 22px}
.hfj-coach-note{margin:0 0 22px}
.hfj-reflection{margin:0 0 22px;border-left:5px solid #9e7852}
.hfj-reflection-from{font-size:13px;color:#687661;margin:4px 0 0}
.hfj-reflection textarea{box-sizing:border-box;width:100%;padding:12px 13px;border:1px solid #b7c2ae;border-radius:9px;background:#fffefb;color:#263b34;font:inherit;margin:8px 0 14px}
.hfj-track-switch{margin:6px 0 18px}
.hfj-measures{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 8px}
.hfj-measures>.hf-card{display:flex;flex-direction:column;gap:6px;text-align:center;padding:18px 8px}
.hfj-measures strong{font-size:30px;color:#2b5c46}
.hfj-measures span{font-size:12px}
.hfj-counting{margin:0 0 18px;font-size:13px}
.hfj-counting summary{cursor:pointer;font-weight:600;min-height:32px}
.hfj-chart{display:grid;gap:8px;margin:0 0 10px}
.hfj-chart-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;align-items:center}
.hfj-chart-week{font-size:12px;font-weight:650;color:#526551}
.hfj-chart-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.hfj-chart-dow{text-align:center;font-size:11px;color:#687661}
.hfj-cell{position:relative;display:grid;place-items:center;height:42px;border:1px solid #d9dccd;border-radius:10px;background:#fffdf8;cursor:pointer;padding:0}
.hfj-cell.is-today{border:2px solid #386a4e}
.hfj-mark{width:20px;height:20px;border-radius:50%;border:1.5px solid #b7c2ae;display:block}
.hfj-mark-full{background:#386a4e;border-color:#386a4e}
.hfj-mark-half{background:linear-gradient(90deg,#386a4e 50%,#fffdf8 50%)}
.hfj-mark-empty{background:transparent}
.hfj-cell-check{position:absolute;top:1px;right:4px;font-size:10px;color:#386a4e;font-weight:700}
.hfj-cell-icon{position:absolute;bottom:1px;left:4px;font-size:10px;color:#77642a}
.hfj-cell-stamp{position:absolute;bottom:1px;right:3px;font-size:7px;font-weight:700;color:#963333;border:1px solid #963333;border-radius:3px;padding:0 2px;transform:rotate(-8deg);background:#fff}
.hfj-paused-band{grid-column:2;background:#eef0e6;color:#687661;border-radius:8px;padding:9px 12px;font-size:12px}
.hfj-day-sheet{border:1px solid #d6ddcb;border-radius:12px;background:#fffefb;padding:16px 18px;margin:4px 0 18px}
.hfj-day-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hfj-day-sheet h3{margin:0}
.hfj-day-events{list-style:none;padding:0;margin:10px 0}
.hfj-day-events li{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e4e5da;padding:9px 0}
.hfj-day-events li>div{display:flex;flex-direction:column;gap:4px}
.hfj-kept{margin:22px 0}
.hfj-kept-item{border-bottom:1px solid #e4e5da;padding:12px 0}
.hfj-kept-item:last-of-type{border-bottom:0}
.hfj-identity{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%}
.hfj-identity label{display:flex!important;gap:8px;align-items:flex-start;width:100%;line-height:1.5;font-weight:400!important;font-size:14px!important;margin:0!important}
.hfj-identity input[type=radio]{margin:2px 0 0}
.hfj-identity input[type=text]{margin:2px 0 0;width:100%}
.hfj-stamp-overlay{position:fixed;inset:0;background:rgba(23,43,66,.72);display:grid;place-items:center;z-index:9999;padding:18px}
.hfj-stamp-card{background:#fffdf6;border-radius:18px;padding:26px 22px;max-width:380px;width:100%;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.hfj-stamp-day{font-size:13px;color:#687661;margin:0 0 10px}
.hfj-stamp-gif{width:220px;height:220px;object-fit:contain;max-width:100%}
.hfj-stamp-mark{display:inline-block;border:3.5px solid #963333;color:#963333;border-radius:50%;width:148px;height:148px;line-height:1.25;font-weight:800;font-size:21px;padding:34px 12px;box-sizing:border-box;transform:rotate(-9deg);margin:12px auto 6px;background:rgba(255,255,255,.65)}
.hfj-stamp-card .hf-button{width:100%;margin-top:14px}
.hfj-stamp-sr{min-height:0;margin:0}
@media(max-width:650px){
  .hfj-measures{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hfj-cell{height:38px}
  .hfj-mark{width:17px;height:17px}
  .hfj-coach-bubble{padding:16px}
  .hfj-coach-bubble img{width:56px;height:50px}
  .hfj-chart-week{font-size:11px}
  .hfj-chart-row{grid-template-columns:44px minmax(0,1fr);gap:6px}
}
@media print{.hfj-stamp-overlay{display:none!important}}

/* ---- Onboarding interview + coach presence (0.7.0) ---- */
.hfj-onboard-hello{font-size:17px;color:#526551}
.hfj-onboard-dots{display:flex;gap:7px;margin:4px 0 18px}
.hfj-onboard-dots span{width:9px;height:9px;border-radius:50%;background:#d9dccd}
.hfj-onboard-dots span.is-done{background:#8b9b79}
.hfj-onboard-dots span.is-current{background:#386a4e;box-shadow:0 0 0 3px #dfe9d8}
.hfj-onboard-coach img{width:96px;height:96px;object-fit:contain}
.hfj-onboard-coach.is-group img{width:150px;height:84px}
.hfj-coach-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}
.hfj-coach-card{display:flex;flex-direction:column;align-items:center;gap:4px;background:#fffdf8;border:2px solid #d9dccd;border-radius:14px;padding:16px 10px;cursor:pointer;font:inherit;color:#263b34}
.hfj-coach-card img{width:120px;height:150px;object-fit:contain}
.hfj-coach-card strong{font-size:16px}
.hfj-coach-card span{font-size:12px;color:#687661}
.hfj-coach-card.is-selected{border-color:#386a4e;background:#edf6e6;box-shadow:0 0 0 2px #cfe0c4}
.hfj-onboard-question{font-size:22px;line-height:1.4;margin:18px 0 12px}
.hfj-onboard-question:focus{outline:none}
.hfj-chips{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 16px}
.hfj-chip{border:1.5px solid #b7c2ae;border-radius:20px;background:#fffdf8;color:#263b34;font:inherit;font-size:13px;line-height:1.45;padding:10px 14px;cursor:pointer;min-height:44px;text-align:left}
.hfj-chip.is-selected{background:#386a4e;border-color:#386a4e;color:#fff}
.hfj-identity-chips .hfj-chip{max-width:100%}
.hfj-onboard-label{display:block;font-size:14px;font-weight:650;margin:4px 0 9px}
.hfj-onboard-input{box-sizing:border-box;width:100%;max-width:100%;padding:12px 13px;border:1px solid #b7c2ae;border-radius:9px;background:#fffefb;color:#263b34;font:inherit;margin:0 0 20px;min-height:46px}
.hfj-onboard-actions{margin-top:20px}
.hf-button.is-selected{outline:2px solid #386a4e;outline-offset:2px}
.hfj-onboard-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:16px 0;max-width:470px}
.hfj-onboard-week span{text-align:center;font-size:11px;color:#687661;border:1px solid #d9dccd;border-radius:8px;padding:9px 2px;background:#fffdf8}
.hfj-onboard-week span.is-day{background:#386a4e;border-color:#386a4e;color:#fff;font-weight:700}
.hfj-onboard-stamp{text-align:center;margin:6px 0 18px}
.hfj-onboard-stamp img{width:180px;height:180px;object-fit:contain;max-width:100%}
.hfj-onboard-stamp p{font-weight:800;color:#963333;font-size:18px;margin:4px 0 0}
.hfj-onboard-toggles{border:1px solid #d6ddcb;padding:20px;border-radius:10px;margin:7px 0 22px}
.hfj-onboard-toggles legend{padding:0 7px;font-size:14px;font-weight:650}
.hfj-identity-nudge{margin:0 0 22px}
.hfj-identity-form{margin-top:14px}
.hfj-practice-line{font-family:Georgia,serif;font-size:17px;line-height:1.6;margin:10px 0 0}
.hf-lesson-coach{font-size:15px;line-height:1.6;color:#526551;background:#fff9e9;border-left:4px solid #d2ab54;padding:10px 14px;margin:14px 0 0}
@media(max-width:650px){
  .hfj-coach-card img{width:96px;height:120px}
  .hfj-onboard-coach img{width:72px;height:72px}
  .hfj-onboard-coach.is-group img{width:120px;height:68px}
  .hfj-onboard-week{gap:3px}
}

/* 0.8.0 onboarding rework */
.hfj-onboard-welcome{text-align:center;background:#fff9e9;border:2px solid #d2ab54;padding:22px 18px;margin:0 0 22px}
.hfj-onboard-welcome p{font-size:17px;line-height:1.55;margin:8px 0 0}
.hfj-welcome-img{width:100%;max-width:330px;height:auto;display:block;margin:0 auto 8px}
.hfj-crew-intros{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}
.hfj-crew-intros .hfj-coach-card span{font-size:13px;line-height:1.5;color:#526551}
.hfj-chip.is-fixed{background:#f0f3e6;border-style:dashed;color:#526551;cursor:default}
.hfj-onboard-coach.is-group img{width:170px;height:auto;mix-blend-mode:normal}
.hfj-onboard-week span strong{display:block;font-size:12px}
.hfj-onboard-week span small{display:block;font-size:10px;margin-top:2px}
.hfj-onboard-week span.is-tiny{background:#f6f8f1}
.hfj-onboard-week span.is-exercise,.hfj-onboard-week span.is-mission{background:#fff4d6;border-color:#d2ab54;color:#6b5518}
.hfj-onboard-toggles .hfj-check{margin:8px 0!important}
@media(max-width:650px){
  .hfj-onboard-coach.is-group img{width:130px;height:auto}
  .hfj-welcome-img{max-width:280px}
}
/* 0.8.0 coach presence */
.hfj-coach-bubble img.hfj-coach-face{width:66px;height:66px;object-fit:cover;object-position:top center;border-radius:50%;mix-blend-mode:normal;border:2px solid #d2ab54;background:#fdf6e3}
.hfj-coach-bubble img.hfj-welcome-thumb{width:118px;height:118px;object-fit:contain;mix-blend-mode:normal}
.hfj-notime.is-tiny-day{border:2px solid #386a4e;background:#f2f8ec}
@media(max-width:650px){.hfj-coach-bubble img.hfj-welcome-thumb{width:92px;height:92px}}
/* 0.8.0 stamp + reflection */
.hfj-stamp-mini{display:inline-block;border:1.5px solid #963333;color:#963333;border-radius:4px;padding:0 3px;transform:rotate(-6deg);font-weight:800;line-height:1.3;background:#fff8ee}
.hfj-stamp-identity{font-family:Georgia,serif;font-size:16px;color:#386a4e;margin:8px 0 0}
.hfj-identity-banner{font-family:Georgia,serif;font-size:18px;line-height:1.5;color:#386a4e;margin:10px 0 0}
.hfj-reflection-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.hfj-reflection-head .hfj-coach-face{width:44px;height:44px}
/* 0.8.1 fixes: stamp toggles keep checkbox and label together; Sarah's portrait keeps her face in frame */
.hfj-onboard-toggles .hfj-check{justify-content:flex-start}
.hfj-onboard-toggles .hfj-check input[type="checkbox"]{width:19px;height:19px;flex:0 0 auto;margin:0;padding:0}



.hfj-kind-pill{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em;background:#e8e6df;color:#5a564a}
.hfj-kind-pill.k-reflection{background:#f3e3bb;color:#7a5b12}
.hfj-kind-pill.k-noticed{background:#dcead2;color:#3c6428}
.hfj-kind-pill.k-handled{background:#d7e6f5;color:#2c5282}
.hfj-kind-pill.k-kids{background:#fbe0e6;color:#9c2b4e}
.hfj-kind-pill.k-parents{background:#e9def7;color:#5b3a8e}
.hfj-kind-pill.k-question{background:#fdeec9;color:#8a6d1a}
.hfj-kind-pill.k-experience{background:#d9efec;color:#20655c}
.hfj-moment-meta{margin-left:auto;font-size:12px;color:#6d7a72;white-space:nowrap}
.hfj-moment-from{display:flex;align-items:center;gap:8px;margin:2px 0 0;font-size:13px;color:#6d7a72}
.hfj-mini-face{width:22px;height:22px}
.hfj-ob-face{width:76px;height:76px;flex:none}
.hfj-preview-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fdf6e3;border:2px dashed #d2ab54;border-radius:14px;padding:12px 16px;margin:0 0 14px}
.hfj-preview-bar p{margin:0;flex:1;min-width:200px}
.hfj-day-moment .hfj-kind-pill{margin-right:6px;vertical-align:1px}

/* 0.9.3: identity line shown proud + onboarding stamp trial */
.hfj-identity-showcase{position:relative;text-align:center;background:linear-gradient(180deg,#fff8dc,#ffedb3);border:2px solid #d2ab54;border-radius:14px;padding:20px 22px 18px;margin:0 0 22px;box-shadow:4px 4px 0 #eadfc1}
.hfj-identity-label{display:inline-block;background:#173f70;color:#fff;font-size:10px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;padding:5px 12px;border-radius:4px;transform:rotate(-1deg)}
.hfj-identity-text{font-family:Georgia,serif;font-size:26px;line-height:1.45;color:#173f70;font-weight:600;margin:13px auto 4px;max-width:34ch}
.hfj-identity-note{font-size:13px;color:#6b5518;margin:6px 0 0}
.hfj-stamp-identity{background:#fff3b3;border:1.5px solid #d2ab54;border-radius:9px;padding:9px 12px;font-size:17px;font-weight:600;color:#173f70}
.hfj-identity-banner{background:#fff3b3;border:1.5px solid #d2ab54;border-radius:9px;padding:9px 12px;color:#173f70}
.hfj-onboard-stamp-actions{justify-content:center}
.hfj-onboard-stamp .hfj-stamp-result p{max-width:42ch;margin:10px auto 0;line-height:1.6;color:#314d59}
.hfj-onboard-stamp .hfj-stamp-mark{display:inline-block;border:3.5px solid #963333;color:#963333;border-radius:50%;width:148px;height:148px;line-height:1.25;font-weight:800;font-size:21px;padding:34px 12px;box-sizing:border-box;transform:rotate(-9deg);margin:6px auto;background:rgba(255,255,255,.65)}
@media(max-width:650px){.hfj-identity-text{font-size:22px}.hfj-identity-showcase{padding:17px 15px 15px}}
.hfj-stamp-coach{font-weight:600;color:var(--hfj-ink,#173b59);margin-top:6px}
.hfj-reflection-intro{color:var(--hfj-muted,#5a6b7a);margin:0 0 6px}
.hfj-parent-coach{color:var(--hfj-muted,#5a6b7a);margin:0 0 8px}
.hfj-lookback textarea{box-sizing:border-box;width:100%;padding:12px 13px;border:1px solid #b7c2ae;border-radius:9px;background:#fffefb;color:#263b34;font:inherit;margin:0 0 14px;min-height:46px;resize:vertical;line-height:1.6}
.hfj-lookback label{display:block;font-size:14px;font-weight:650;margin-bottom:9px}
.hfj-thread{margin:6px 0 10px;padding-left:22px;line-height:1.65}
.hfj-tag{display:inline-block;font-size:12px;border:1px solid #e3c766;background:#fff6cf;color:#8a6d1f;border-radius:20px;padding:5px 11px}
.hfj-carry-list{display:grid;gap:9px;margin-top:10px}
.hfj-carry-list .hf-button{text-align:left;white-space:normal;line-height:1.5}
.hfj-carry h2{overflow-wrap:anywhere}
.hfj-lookback-banner{display:flex;gap:16px;align-items:center}
.hfj-lookback-portrait{width:92px;height:110px;object-fit:cover;object-position:top;border-radius:10px;flex:0 0 auto}
.hfj-line-with-face{display:flex;gap:12px;align-items:flex-start}
.hfj-lookback-face{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:0 0 auto;margin-top:2px}
.hfj-line-with-face p{margin:0}
@media(max-width:650px){.hfj-lookback-portrait{width:72px;height:88px}}

/* 0.9.19: the older-kids Say line sits on its own line under the main tiny line. */
.hfj-tiny-older{margin-top:10px;font-size:15px}
.hfj-tiny-older-label{font-weight:700}
