:root{
  --bg:#f5f2ed;--surface:#fffdfa;--surface2:#f0ece6;--ink:#1f2421;--muted:#747a75;--line:rgba(31,36,33,.10);
  --orange:#ef642f;--orange2:#ff8b4c;--orange-soft:#fff0e7;--green:#257d5a;--green-soft:#e9f6ef;--red:#be5252;--red-soft:#fff0ef;
  --ice:#6687a8;--ice-soft:#edf4fa;--shadow:0 14px 40px rgba(44,36,29,.08);--radius:24px;--nav:78px;
}
*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}button,input,textarea,select{font:inherit}button{color:inherit}.ember-v2-shell{min-height:100dvh;background:radial-gradient(circle at 10% -10%,rgba(239,100,47,.08),transparent 25%),var(--bg);padding-bottom:calc(var(--nav) + env(safe-area-inset-bottom));overflow-x:hidden}.app-scroll{max-width:840px;margin:0 auto}.view{padding:12px 22px 38px}.topbar{height:70px;max-width:840px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:8px 20px;position:sticky;top:0;z-index:25;background:linear-gradient(var(--bg) 72%,rgba(245,242,237,0));backdrop-filter:blur(8px)}.wordmark,.profile-chip{border:0;background:none;padding:0;display:flex;align-items:center;gap:9px;cursor:pointer}.wordmark strong{font:800 20px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.04em}.mark{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:var(--orange);color:#fff;box-shadow:0 6px 18px rgba(239,100,47,.24)}
.avatar{position:relative;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#272b28,#4c514d);color:#fff;font-weight:800;letter-spacing:-.02em;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.avatar.xs{width:24px;height:24px;font-size:13px}.avatar.sm{width:34px;height:34px;font-size:13px}.avatar.md,.profile-chip .avatar{width:40px;height:40px;font-size:13px}.avatar.lg{width:54px;height:54px;font-size:14px}.avatar.xl{width:76px;height:76px;font-size:19px}.flame-plus{position:absolute;right:-5px;bottom:-3px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--orange);color:#fff;border:3px solid var(--bg);box-shadow:0 4px 10px rgba(239,100,47,.24)}.flame-plus b{font:800 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin-left:-2px;margin-top:-4px}.flame-plus.small{width:18px;height:18px;border-width:2.5px;right:-5px;bottom:-3px}.flame-plus.small b{font-size:13px}
.bottom-nav{position:fixed;z-index:30;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);height:68px;width:min(430px,calc(100% - 24px));padding:7px;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;background:rgba(255,253,250,.9);border:1px solid rgba(31,36,33,.08);border-radius:24px;box-shadow:0 18px 45px rgba(41,33,27,.18);backdrop-filter:blur(20px)}.bottom-nav button{border:0;background:transparent;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8a8e8b;cursor:pointer}.bottom-nav button span{font-size:13px;font-weight:700;opacity:0}.bottom-nav button.active{background:var(--orange-soft);color:var(--orange)}.bottom-nav button.active span{opacity:1}.bottom-nav svg{width:20px;height:20px}
.hero{padding:13px 2px 26px}.hero.compact{padding-bottom:18px}.hero h1{font:800 clamp(32px,7vw,45px)/1.03 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.055em;margin:5px 0 8px}.hero p{margin:0;max-width:560px;font-size:14px;line-height:1.55;color:var(--muted)}.date-label{font-size:13px;text-transform:uppercase;letter-spacing:.11em;font-weight:800;color:var(--orange)}.eyebrow{font-size:13px;letter-spacing:.14em;font-weight:800;color:#8a766c;text-transform:uppercase}.title-with-action{display:flex;align-items:center;justify-content:space-between;gap:15px}.fab-small,.round-add{width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--orange);color:#fff;box-shadow:0 8px 20px rgba(239,100,47,.25);cursor:pointer}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:8px 0 12px}.section-heading.spaced{margin-top:30px}.section-heading h2{font:750 19px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.025em;margin:4px 0 0}.quiet-pill{padding:6px 9px;border-radius:999px;background:rgba(31,36,33,.06);color:var(--muted);font-weight:800;font-size:13px}.text-button{border:0;background:none;color:var(--orange);font-weight:800;font-size:13px;cursor:pointer}
.intervention,.weekly-nudge{width:100%;border:1px solid;padding:14px;border-radius:20px;display:grid;grid-template-columns:43px 1fr auto;gap:11px;align-items:center;text-align:left;cursor:pointer;margin:0 0 12px}.intervention{background:linear-gradient(135deg,var(--ice-soft),#f8fbfd);border-color:rgba(102,135,168,.20)}.weekly-nudge{background:linear-gradient(135deg,#fffaf5,#fff);border-color:rgba(239,100,47,.15)}.intervention-icon,.weekly-icon{width:43px;height:43px;border-radius:14px;display:grid;place-items:center}.intervention-icon{background:#dbe9f3;color:var(--ice)}.weekly-icon{background:var(--orange-soft);color:var(--orange)}.intervention span:nth-child(2),.weekly-nudge span:nth-child(2){display:flex;flex-direction:column;gap:1px}.intervention small,.weekly-nudge small{font-size:13px;letter-spacing:.12em;font-weight:800;color:var(--ice)}.weekly-nudge small{color:var(--orange)}.intervention strong,.weekly-nudge strong{font:750 14px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.intervention em,.weekly-nudge em{font-style:normal;color:var(--muted);font-size:13px;margin-top:2px}
.today-list{display:flex;flex-direction:column;gap:9px}.today-card{display:grid;grid-template-columns:1fr auto;background:rgba(255,253,250,.94);border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 5px 18px rgba(45,37,31,.035);min-height:104px}.today-card.complete{background:linear-gradient(135deg,#f8fffb,#fffdfa);border-color:rgba(37,125,90,.16)}.today-card.guarded{border-color:rgba(102,135,168,.26)}.today-copy{border:0;background:none;text-align:left;padding:16px 10px 15px 17px;cursor:pointer;min-width:0}.title-row{display:flex;align-items:center;gap:7px;min-width:0}.today-copy .title-row strong,.commitment-main strong{font:750 17px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.02em}.core-dot{font-size:13px;letter-spacing:.12em;font-weight:800;background:#f3eee8;color:#8b7668;padding:3px 5px;border-radius:5px}.cue-line{display:block;margin-top:5px;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cue-line b{font-weight:700;color:#545b56}.meta-row{display:flex;gap:11px;align-items:center;margin-top:12px;color:#7b817d;font-size:13px;font-weight:700}.meta-row>span{display:inline-flex;align-items:center;gap:4px}.meta-row svg{color:var(--orange)}.partner-mini .avatar{margin-right:1px}.frozen-mini{color:var(--ice)!important}.frozen-mini svg{color:var(--ice)!important}.card-actions{width:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding-right:9px}.complete-button{width:42px;height:42px;border-radius:50%;border:1.5px solid rgba(31,36,33,.17);background:#fff;display:grid;place-items:center;color:transparent;cursor:pointer;transition:.18s}.complete-button:hover{border-color:var(--green);color:var(--green);background:var(--green-soft)}.complete-button.done{border-color:var(--green);background:var(--green);color:#fff}.more-action{width:38px;border:0;background:none;color:#a5a9a6;font-weight:800;letter-spacing:2px;cursor:pointer}.today-insight{display:grid;grid-template-columns:44px 1fr;gap:11px;margin-top:18px;padding:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.insight-symbol{width:42px;height:42px;border-radius:15px;background:#eee9ff;color:#7868ae;display:grid;place-items:center}.today-insight strong{display:block;font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin-top:4px}.today-insight p{font-size:13px;color:var(--muted);margin:3px 0 0;line-height:1.5}
.goal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.goal-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:16px;text-align:left;cursor:pointer;box-shadow:0 5px 18px rgba(45,37,31,.035)}.goal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.goal-icon{width:39px;height:39px;border-radius:13px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}.goal-card>strong{font:750 15px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.goal-card p{font-size:13px;line-height:1.45;color:var(--muted);min-height:45px;margin:5px 0 12px}.goal-footer{border-top:1px solid var(--line);padding-top:10px;display:flex;justify-content:space-between;font-size:13px;font-weight:700;color:#828782}.progress-ring{display:inline-grid;place-items:center;position:relative;flex:0 0 auto}.progress-ring svg{position:absolute;transform:rotate(-90deg)}.ring-track{stroke:#ece7e0}.ring-value{stroke:var(--orange);transition:stroke-dashoffset .5s ease}.ring-content{position:relative;z-index:1;display:grid;place-items:center;text-align:center}.ring-content b{font:800 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.ring-content small{font-size:13px;color:var(--muted)}
.commitment-list{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden}.commitment-row{display:grid;grid-template-columns:40px 1fr auto 18px;gap:10px;align-items:center;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;padding:13px;cursor:pointer}.commitment-row:last-child{border-bottom:0}.commitment-icon{width:38px;height:38px;border-radius:13px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}.commitment-main{min-width:0;display:flex;flex-direction:column;gap:3px}.commitment-main small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goal-link{font-size:13px;color:#8b7668;display:inline-flex;align-items:center;gap:4px}.row-score{text-align:right;display:flex;flex-direction:column}.row-score b{font:750 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.row-score small{font-size:13px;color:var(--muted)}.drift-tag{font-style:normal;font-size:13px;letter-spacing:.1em;font-weight:800;color:#a9543b;background:#fff0e8;border-radius:5px;padding:3px 5px}.chain-feature{width:100%;margin-top:20px;border:1px solid rgba(120,104,174,.14);background:linear-gradient(140deg,#f9f6ff,#fff);border-radius:22px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:11px;text-align:left;cursor:pointer}.chain-feature>.chain-visual{grid-column:1/-1}.chain-feature>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.chain-feature strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.chain-feature p{font-size:13px;color:var(--muted);margin:0}.chain-visual{display:flex;align-items:center;gap:5px;overflow:hidden}.chain-visual.mini span{padding:6px 7px;border-radius:8px;background:#f1eee9;font-size:13px;font-weight:800;white-space:nowrap}.chain-visual.mini span.hot{background:var(--orange-soft);color:var(--orange)}.chain-visual i{height:1px;min-width:8px;flex:1;background:#d8d2ca}
.people-strip{display:grid;grid-template-columns:1fr 1fr;gap:10px}.person-card,.add-person-card{border:1px solid var(--line);background:var(--surface);border-radius:22px;padding:15px;text-align:left;min-height:140px;cursor:pointer}.person-card{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center}.person-card>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.person-card strong,.add-person-card strong{font:750 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.person-card small,.add-person-card small{font-size:13px;color:var(--muted)}.person-card em{font-style:normal;font-size:13px;color:var(--green);font-weight:700}.add-person-card{display:flex;flex-direction:column;justify-content:center;gap:5px}.add-person-card>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange);margin-bottom:5px}.pact-card{width:100%;border:1px solid rgba(239,100,47,.18);border-radius:24px;padding:0;background:var(--surface);overflow:hidden;cursor:pointer;text-align:left}.pact-banner{padding:9px 14px;background:#2c302d;color:#fff;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:800;letter-spacing:.08em}.pact-banner>span:first-child{display:flex;align-items:center;gap:5px}.pact-banner svg{color:#ff8c52}.pact-body{padding:15px}.pact-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.pact-title>div:first-child{display:flex;flex-direction:column}.pact-title strong{font:750 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pact-title small{font-size:13px;color:var(--muted);margin-top:2px}.pact-avatars{display:flex}.pact-avatars .avatar+ .avatar{margin-left:-8px;border:2px solid var(--surface)}.meter{height:7px;background:#eee9e3;border-radius:999px;overflow:hidden;margin:14px 0}.meter i{display:block;height:100%;background:linear-gradient(90deg,var(--orange),var(--orange2));border-radius:999px}.pact-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.pact-stats>span{display:flex;flex-direction:column;padding:8px;background:#f6f2ed;border-radius:12px}.pact-stats b{font:750 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pact-stats small{font-size:13px;color:var(--muted)}.crew-card{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:22px;padding:15px;text-align:left;cursor:pointer}.crew-copy{display:flex;align-items:center;gap:10px}.crew-icon{width:40px;height:40px;border-radius:14px;background:#edf2ef;color:#50675c;display:grid;place-items:center}.crew-copy>div{display:flex;flex-direction:column}.crew-copy strong{font:750 14px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.crew-copy small{font-size:13px;color:var(--muted)}.crew-progress{display:flex;justify-content:space-between;align-items:flex-end;border-top:1px solid var(--line);margin-top:13px;padding-top:12px}.crew-progress>span{display:flex;flex-direction:column}.crew-progress b{font:750 14px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.crew-progress small{font-size:13px;color:var(--muted)}.stacked-avatars{display:flex}.stacked-avatars .avatar+.avatar{margin-left:-7px;border:2px solid var(--surface)}.activity-feed{background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden}.activity-item{display:grid;grid-template-columns:40px 1fr;gap:10px;padding:13px;border-bottom:1px solid var(--line);font-size:13px;line-height:1.45}.activity-item:last-child{border-bottom:0}.activity-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#f0ece6;color:#6d736e}.activity-icon.milestone{background:var(--orange-soft);color:var(--orange)}.activity-icon.recovery{background:var(--green-soft);color:var(--green)}.activity-item small{display:block;color:#a0a39f;font-size:13px;margin-top:3px}
.profile-hero{display:flex;align-items:center;gap:15px;padding:18px 2px 24px}.profile-name{display:flex;align-items:center;gap:8px}.profile-name h1{font:800 31px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.045em;margin:0}.profile-hero p{margin:3px 0 0;color:var(--muted);font-size:13px}.plus-label{display:inline-flex;align-items:center;gap:3px;padding:4px 7px;border-radius:999px;background:var(--orange);color:#fff;font-size:13px;font-weight:800}.score-card,.becoming-card{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:24px;padding:17px;text-align:left;cursor:pointer}.score-card{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:center}.score-card .ring-content span{display:flex;flex-direction:column}.score-card .ring-content b{font-size:23px}.score-card>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.score-card>div:nth-child(2)>strong{font:750 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.score-card p{font-size:13px;color:var(--muted);line-height:1.4;margin:0}.score-link{display:flex;align-items:center;color:var(--orange);font-size:13px;font-weight:800;margin-top:5px}.becoming-card{margin-top:10px}.becoming-head{display:flex;align-items:center;justify-content:space-between}.becoming-head h2{font:750 16px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:4px 0 0}.demonstration-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.demonstration-grid>div{padding:10px;background:#f6f2ed;border-radius:14px;display:flex;flex-direction:column;gap:4px}.demonstration-grid span{display:flex;align-items:center;gap:3px;color:var(--orange);font:800 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.demonstration-grid strong{font-size:13px;line-height:1.3;color:#626862}.plus-card{margin-top:10px;background:linear-gradient(145deg,#2b2f2c,#1f221f);color:#fff;border-radius:24px;padding:17px;box-shadow:0 14px 30px rgba(31,34,31,.16)}.plus-card-top{display:flex;align-items:center;gap:10px}.plus-card-top>div{display:flex;flex-direction:column}.plus-card .eyebrow{color:#f4a47e}.plus-icon{width:41px;height:41px;border-radius:14px;background:rgba(239,100,47,.16);color:#ff8c52;display:grid;place-items:center}.plus-card strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.plus-insights{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:15px 0}.plus-insights span{display:flex;flex-direction:column;padding:9px;background:rgba(255,255,255,.06);border-radius:12px}.plus-insights b{font:800 16px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.plus-insights small{font-size:13px;color:#abb0ac}.plus-card button{width:100%;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);color:#fff;border-radius:12px;padding:10px;font-weight:700;font-size:13px}.upgrade-card{width:100%;margin-top:10px;border:1px solid rgba(239,100,47,.16);background:#fff8f3;border-radius:20px;padding:14px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;text-align:left}.upgrade-card div{display:flex;flex-direction:column}.upgrade-card strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.upgrade-card small{font-size:13px;color:var(--muted)}.settings-list{margin-top:14px;border:1px solid var(--line);background:var(--surface);border-radius:20px;overflow:hidden}.settings-list button{width:100%;border:0;border-bottom:1px solid var(--line);background:none;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.settings-list button:last-child{border-bottom:0}.settings-list button>span{display:flex;align-items:center;gap:8px;font-weight:700}.settings-list b{font-size:13px;color:var(--muted)}.prototype-panel{margin:16px 0 10px;padding:15px;border:1px dashed rgba(31,36,33,.2);border-radius:18px}.prototype-panel p{font-size:13px;color:var(--muted);line-height:1.5}.prototype-panel button{border:0;background:#e9e5de;border-radius:10px;padding:8px 10px;font-size:13px;font-weight:700;margin-right:6px}
.sheet-backdrop{position:fixed;z-index:80;inset:0;background:rgba(21,23,21,.36);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);display:flex;align-items:flex-end;justify-content:center}.sheet{width:min(620px,100%);max-height:91dvh;background:var(--bg);border-radius:28px 28px 0 0;box-shadow:0 -22px 70px rgba(30,27,23,.22);overflow:hidden;animation:slideUp .28s cubic-bezier(.2,.8,.2,1)}.sheet.wide{width:min(760px,100%)}@keyframes slideUp{from{transform:translateY(22px);opacity:.7}to{transform:none;opacity:1}}.sheet-handle{width:40px;height:4px;border-radius:9px;background:#d3cdc5;margin:9px auto 1px}.sheet-header{padding:11px 20px 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.sheet-header h2{font:800 23px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.04em;margin:2px 0 0}.icon-button{border:0;width:38px;height:38px;border-radius:50%;display:grid;place-items:center}.icon-button.ghost{background:rgba(31,36,33,.06)}.sheet-body{padding:18px 20px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;max-height:calc(91dvh - 76px)}.sheet-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:8px;margin-top:18px}.primary,.secondary{border:0;border-radius:13px;padding:12px 14px;font-weight:800;font-size:13px;cursor:pointer}.primary{background:var(--orange);color:#fff;box-shadow:0 7px 18px rgba(239,100,47,.18)}.secondary{background:#eae5de;color:#4f554f}.primary.full{width:100%;margin-top:15px}.detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-score,.drift-alert{border-radius:18px;padding:14px}.detail-score{background:var(--surface);border:1px solid var(--line);display:flex;align-items:center;gap:10px}.detail-score>span{display:flex;flex-direction:column}.detail-score strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.detail-score small{font-size:13px;color:var(--muted)}.drift-alert{background:#fff3ed;border:1px solid rgba(190,82,82,.14);display:grid;grid-template-columns:34px 1fr;gap:8px}.drift-alert>span{width:32px;height:32px;border-radius:11px;background:#ffe3d5;color:#c15b3c;display:grid;place-items:center}.drift-alert div{display:flex;flex-direction:column}.drift-alert small{font-size:13px;color:#a15b48;font-weight:800;letter-spacing:.1em}.drift-alert strong{font:800 14px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.drift-alert p{font-size:13px;color:#8c6b5f;margin:2px 0 0}.plan-flow{display:grid;grid-template-columns:1fr 15px 1fr 15px 1fr;align-items:stretch;margin:12px 0}.plan-flow>div{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:13px;display:flex;flex-direction:column;gap:4px}.plan-flow>div.focus{border-color:rgba(239,100,47,.22);background:#fff8f3}.plan-flow>div>span{font-size:13px;letter-spacing:.11em;font-weight:800;color:#9b8578}.plan-flow strong{font:700 13px/1.35 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.plan-flow small{font-size:13px;color:var(--muted)}.plan-flow>i{height:1px;background:#d3cdc5;align-self:center}.detail-block,.history-strip,.journal-preview{margin-top:10px;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:14px}.detail-block-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.detail-block-head>span{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:#727772}.detail-block-head button{border:0;background:none;color:#909591}.detail-block>strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.detail-block>p{font-size:13px;line-height:1.5;color:var(--muted);margin:4px 0 0}.linked-goal{display:flex;justify-content:space-between;align-items:center}.linked-goal>div{display:flex;flex-direction:column;gap:3px}.linked-goal strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.linked-goal small{font-size:13px;color:var(--muted)}.accountability-person{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center}.accountability-person>div{display:flex;flex-direction:column}.accountability-person strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.accountability-person small{font-size:13px;color:var(--muted)}.status-chip{font-size:13px;font-weight:800;background:#f0ece6;padding:5px 7px;border-radius:8px}.empty-inline{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}.empty-inline button{border:0;color:var(--orange);background:none;font-weight:800}.history-dots{display:grid;grid-template-columns:repeat(21,1fr);gap:3px}.history-dots span{aspect-ratio:1;border-radius:50%;display:grid;place-items:center;font-size:13px}.history-dots .kept{background:var(--green-soft);color:var(--green)}.history-dots .missed{background:var(--red-soft);color:var(--red)}.history-dots .open{background:#ece8e2}.journal-preview{background:linear-gradient(140deg,#f7f5ff,#fff)}.journal-preview strong{display:block;font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:5px 0 3px}.journal-preview p{font-size:13px;color:var(--muted);line-height:1.45;margin:0 0 9px}.journal-preview button{border:0;background:#ece8ff;color:#675b9c;border-radius:10px;padding:8px 10px;font-size:13px;font-weight:800}.journal-preview button.locked{display:flex;align-items:center;gap:5px}.journal-intro{display:grid;grid-template-columns:40px 1fr;gap:9px;align-items:center;margin-bottom:14px}.journal-icon{width:40px;height:40px;border-radius:14px;background:#f0ece6;display:grid;place-items:center;color:#676c67}.journal-intro p{margin:0;font-size:13px;color:var(--muted);line-height:1.5}.reason-chips{display:flex;flex-wrap:wrap;gap:6px}.reason-chips button{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:8px 10px;font-size:13px;font-weight:700}.reason-chips button.selected{border-color:var(--orange);background:var(--orange-soft);color:var(--orange)}.note-field{display:flex;flex-direction:column;gap:5px;margin-top:14px}.note-field>span,.select-label{font-size:13px;font-weight:800;color:#666c67}.note-field textarea,.builder-step textarea,.builder-step input,.stake-section input,.select-label select{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:12px;outline:none;color:var(--ink)}.note-field textarea,.builder-step textarea{min-height:90px;resize:vertical}.note-field small{font-size:13px;color:#9b9f9b}.journal-reassurance{display:grid;grid-template-columns:32px 1fr;gap:8px;margin-top:13px;padding:11px;background:var(--ice-soft);border-radius:14px;color:var(--ice)}.journal-reassurance>span{display:flex;flex-direction:column}.journal-reassurance strong{font-size:13px}.journal-reassurance small{font-size:13px;color:#7088a0}.pattern-hero{padding:16px;background:linear-gradient(145deg,#2f3230,#202320);color:#fff;border-radius:20px}.pattern-icon{width:38px;height:38px;border-radius:13px;background:rgba(255,255,255,.08);color:#ff9564;display:grid;place-items:center;margin-bottom:10px}.pattern-hero strong{font:750 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pattern-hero p{font-size:13px;color:#bbc0bc;line-height:1.5;margin:5px 0 0}.pattern-bars{margin:14px 0;display:flex;flex-direction:column;gap:9px}.pattern-bars>div{display:grid;grid-template-columns:92px 1fr 32px;gap:8px;align-items:center;font-size:13px}.pattern-bars i,.component-line i{height:7px;background:#e7e2dc;border-radius:999px;overflow:hidden}.pattern-bars b,.component-line b{display:block;height:100%;background:var(--orange);border-radius:999px}.pattern-bars em{font-style:normal;font-weight:800;text-align:right}.recommendation,.chain-insight{padding:14px;background:#fff8f3;border:1px solid rgba(239,100,47,.13);border-radius:17px}.recommendation strong,.chain-insight strong{display:block;font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:5px 0 3px}.recommendation p,.chain-insight p{font-size:13px;color:var(--muted);line-height:1.45;margin:0 0 10px}.reflection-list{margin-top:13px}.reflection-list article{padding:11px 0;border-bottom:1px solid var(--line)}.reflection-list small{font-size:13px;color:#999}.reflection-list p{font-size:13px;margin:3px 0}.reflection-list article div{display:flex;gap:4px}.reflection-list article div span{font-size:13px;background:#eee9e3;padding:3px 5px;border-radius:6px}
.score-sheet-hero{display:grid;grid-template-columns:auto 1fr;gap:17px;align-items:center;padding:8px 0 16px}.score-sheet-hero .ring-content span{display:flex;flex-direction:column}.score-sheet-hero .ring-content b{font-size:29px}.score-sheet-hero strong{font:750 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.score-sheet-hero p{font-size:13px;color:var(--muted);line-height:1.5}.score-components{background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden}.score-components article{padding:13px;border-bottom:1px solid var(--line)}.score-components article:last-child{border-bottom:0}.score-components article>div:first-child{display:flex;justify-content:space-between}.score-components strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.score-components article>div:first-child span{font-size:13px;color:var(--muted)}.component-line{display:grid;grid-template-columns:1fr 30px;gap:8px;align-items:center;margin:7px 0}.component-line em{font-style:normal;font:800 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;text-align:right}.score-components p{font-size:13px;line-height:1.4;color:var(--muted);margin:0}.formula-note{display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:start;margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:15px;color:#68706a}.formula-note p{font-size:13px;line-height:1.5;margin:0}.builder-step{min-height:360px}.builder-number{font:800 38px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;color:#ded8d0}.builder-step h3{font:800 25px/1.12 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.04em;margin:2px 0 5px}.builder-step>p{font-size:13px;color:var(--muted);line-height:1.5;margin:0 0 15px}.builder-step textarea,.builder-step>input{width:100%;display:block;margin-bottom:9px;font-size:13px}.builder-tip,.builder-example{display:grid;grid-template-columns:26px 1fr;gap:8px;margin-top:10px;padding:11px;background:#f0ece6;border-radius:14px}.builder-tip span{display:flex;flex-direction:column;font-size:13px;color:var(--muted)}.builder-tip strong{color:#565c57}.builder-example{display:flex;flex-direction:column;gap:3px}.builder-example small{font-size:13px;color:var(--green);font-weight:800}.builder-example strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.builder-example p{font-size:13px;color:var(--muted);margin:0}.day-picker,.pact-duration{display:flex;gap:5px;margin-top:12px}.day-picker button{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--surface);font-size:13px;font-weight:800}.day-picker button.on,.pact-duration button.selected{background:var(--orange);color:#fff;border-color:var(--orange)}.select-label{display:flex;flex-direction:column;gap:5px;margin-top:13px}.title-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.title-options button{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:11px;text-align:left;display:flex;flex-direction:column;gap:5px}.title-options button.selected{border-color:var(--orange);background:var(--orange-soft)}.title-options span{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.title-options em{font-style:normal;font-size:13px;letter-spacing:.1em;color:var(--orange);font-weight:800}.builder-step .title-options+input{margin-top:9px}.commitment-preview{margin-top:12px;padding:14px;background:#2b2f2c;color:#fff;border-radius:18px}.commitment-preview>strong{display:block;font:750 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:5px 0 9px}.commitment-preview p{font-size:13px;color:#c3c8c4;margin:3px 0}.commitment-preview b{color:#fff}.step-line{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:14px}.step-line i{height:3px;border-radius:5px;background:#ddd7cf}.step-line i.active{background:var(--orange)}
.goal-detail-hero{display:grid;grid-template-columns:auto 1fr;gap:15px;align-items:center}.goal-detail-hero .ring-content span{display:flex;flex-direction:column}.goal-detail-hero .ring-content b{font-size:23px}.goal-detail-hero strong{font:750 14px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.goal-detail-hero p{font-size:13px;color:var(--muted)}.goal-commitments{margin-top:14px;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden}.goal-commitments article{display:grid;grid-template-columns:62px 1fr auto;gap:8px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.goal-commitments article:last-child{border-bottom:0}.importance{font-size:13px;text-transform:uppercase;letter-spacing:.1em;background:#eee9e3;padding:5px;border-radius:6px;text-align:center}.goal-commitments article div{display:flex;flex-direction:column}.goal-commitments strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.goal-commitments small{font-size:13px;color:var(--muted)}.goal-percent{font:800 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.chain-intro strong{font:750 16px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.chain-intro p{font-size:13px;color:var(--muted)}.chain-visual.large{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr;margin:18px 0;overflow:visible}.chain-visual.large>div{padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column}.chain-visual.large div.hot{background:var(--orange-soft);border-color:rgba(239,100,47,.2)}.chain-visual.large div.warning{background:#fff1ed;border-color:#f3c7b8}.chain-visual.large span{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.chain-visual.large small{font-size:13px;color:var(--muted)}.chain-visual.large.evening{grid-template-columns:1fr 18px 1fr 18px 1fr}.review-hero{display:grid;grid-template-columns:1fr 1px 1fr 1.25fr;gap:12px;align-items:center;background:#2b2f2c;color:#fff;border-radius:20px;padding:16px}.review-hero>span{display:flex;flex-direction:column}.review-hero b{font:800 28px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.review-hero small{font-size:13px;color:#aeb4af}.review-hero i{height:35px;background:rgba(255,255,255,.12)}.review-hero>div{text-align:right}.review-hero>div strong{font:800 24px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;display:block}.review-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.review-cards article{padding:11px;background:var(--surface);border:1px solid var(--line);border-radius:15px;display:grid;grid-template-columns:25px 1fr;gap:6px}.review-cards article>span{display:flex;flex-direction:column}.review-cards small{font-size:13px;letter-spacing:.08em;font-weight:800;color:#929791}.review-cards strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.review-cards em{font-style:normal;font-size:13px;color:var(--muted)}.review-cards .positive svg{color:var(--green)}.review-cards .attention svg{color:var(--orange)}.review-question{margin-top:18px}.review-question h3{font:750 16px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:5px 0 10px}.pact-intro{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;margin-bottom:14px;padding:12px;background:#2b2f2c;color:#fff;border-radius:17px}.pact-intro>span{width:40px;height:40px;border-radius:13px;background:rgba(255,255,255,.08);color:#ff8b4c;display:grid;place-items:center}.pact-intro strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pact-intro p{font-size:13px;color:#b8bdb9;margin:3px 0 0}.pact-duration button{border:1px solid var(--line);background:var(--surface);padding:8px 11px;border-radius:10px;font-size:13px}.stake-section{margin-top:15px}.stake-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-top:7px}.stake-grid button{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px;text-align:left;font-size:13px}.stake-grid button.selected{border-color:var(--orange);background:var(--orange-soft)}.stake-section input{width:100%;margin-top:7px}.stake-section>p{font-size:13px;color:var(--muted);line-height:1.5}.pact-signature{margin-top:13px;padding:13px;border:1px solid rgba(239,100,47,.2);background:#fff8f3;border-radius:16px;display:flex;flex-direction:column;gap:3px}.pact-signature span{font-size:13px;letter-spacing:.1em;font-weight:800;color:var(--orange)}.pact-signature strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pact-signature small{font-size:13px;color:var(--muted)}.pact-detail-people{display:grid;grid-template-columns:1fr 45px 1fr;align-items:center;text-align:center}.pact-detail-people>div{display:flex;flex-direction:column;align-items:center;gap:3px}.pact-detail-people>span{width:39px;height:39px;border-radius:50%;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}.pact-detail-people strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pact-detail-people small{font-size:13px;color:var(--muted)}.pact-contract{margin-top:15px;padding:17px;background:var(--surface);border:1px solid var(--line);border-radius:18px}.pact-contract>strong{display:block;font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:4px 0}.pact-contract p{font-size:13px;color:var(--muted);margin:0}.pact-contract hr{border:0;border-top:1px solid var(--line);margin:13px 0}.pact-big-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:8px}.pact-big-stats span{padding:11px;background:#eee9e3;border-radius:13px;display:flex;flex-direction:column}.pact-big-stats b{font:800 17px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pact-big-stats small{font-size:13px;color:var(--muted)}.crew-detail-score{padding:17px;background:#2b2f2c;color:#fff;border-radius:18px;display:flex;align-items:end;gap:8px}.crew-detail-score b{font:800 30px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.crew-detail-score span{font-size:13px;color:#b8bdb9;padding-bottom:5px}.crew-member-list{margin:10px 0;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden}.crew-member-list article{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:11px;border-bottom:1px solid var(--line)}.crew-member-list article:last-child{border-bottom:0}.crew-member-list article>div{display:flex;flex-direction:column}.crew-member-list strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.crew-member-list small{font-size:13px;color:var(--muted)}.crew-member-list .good{color:var(--green);font-weight:800}.crew-member-list .late{color:var(--orange);font-weight:800}.person-detail{text-align:center;display:flex;flex-direction:column;align-items:center}.person-detail>strong{font:750 17px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin-top:8px}.person-detail p{font-size:13px;color:var(--muted)}.partner-agreement{margin-top:14px;padding:15px;background:var(--surface);border:1px solid var(--line);border-radius:17px;display:flex;flex-direction:column;gap:7px}.partner-agreement strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.partner-agreement p{font-size:13px;color:var(--muted);line-height:1.5}
.paywall-hero{text-align:center}.paywall-mark{width:68px;height:68px;border-radius:22px;background:var(--orange);color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(239,100,47,.25)}.paywall-mark b{font:800 20px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:-11px 0 0 -3px}.paywall-hero h3{font:800 25px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.04em;margin:13px 0 4px}.paywall-hero p{font-size:13px;color:var(--muted);line-height:1.5;max-width:430px;margin:0 auto}.paywall-features{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:18px}.paywall-features article{padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:15px;display:grid;grid-template-columns:27px 1fr;gap:7px}.paywall-features svg{color:var(--orange)}.paywall-features article div{display:flex;flex-direction:column}.paywall-features strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.paywall-features small{font-size:13px;color:var(--muted);line-height:1.4}.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.pricing button{position:relative;border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:12px 10px;text-align:left;display:flex;flex-direction:column;gap:9px}.pricing button.recommended{border-color:var(--orange);background:var(--orange-soft)}.pricing button>span{display:flex;flex-direction:column}.pricing strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pricing small{font-size:13px;color:var(--muted)}.pricing button>b{font:800 17px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.pricing em{position:absolute;top:-7px;right:7px;font-style:normal;font-size:13px;letter-spacing:.08em;font-weight:800;background:var(--orange);color:#fff;padding:4px 5px;border-radius:5px}.paywall-note{text-align:center;font-size:13px;color:var(--muted);margin:11px 0 0}.demo-hero{text-align:center;padding:18px;background:#2b2f2c;color:#fff;border-radius:18px}.demo-hero svg{color:#ff8b4c}.demo-hero strong{display:block;font:750 15px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:5px 0}.demo-hero p{font-size:13px;color:#b7bcb8;margin:0}.demo-list{margin-top:10px}.demo-list article{display:grid;grid-template-columns:58px 1fr;gap:10px;align-items:center;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:15px;margin-bottom:6px}.demo-count{font:800 25px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;color:var(--orange)}.demo-list article>div{display:flex;flex-direction:column;gap:2px}.demo-list strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.demo-list small{font-size:13px;color:var(--green)}.demo-sources{display:flex;gap:4px;margin-top:4px}.demo-sources span{font-size:13px;background:#eee9e3;border-radius:5px;padding:3px 5px}.rule-list article{display:grid;grid-template-columns:34px 1fr;gap:9px;padding:12px 0;border-bottom:1px solid var(--line)}.rule-list article:last-child{border-bottom:0}.rule-list article>span{font:800 19px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;color:#d8d2ca}.rule-list strong{font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif}.rule-list p{font-size:13px;color:var(--muted);line-height:1.5;margin:3px 0 0}.toast{position:fixed;z-index:120;left:50%;bottom:92px;transform:translateX(-50%);width:min(430px,calc(100% - 34px));padding:12px 14px;background:#252925;color:#fff;border-radius:14px;box-shadow:0 12px 35px rgba(25,28,25,.24);display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700;animation:toastIn .22s ease}.toast svg{color:#ff8b4c}@keyframes toastIn{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:560px){.view{padding-left:16px;padding-right:16px}.topbar{padding-left:16px;padding-right:16px}.hero h1{font-size:34px}.goal-grid{grid-template-columns:1fr 1fr}.goal-card{padding:13px}.goal-card p{min-height:55px}.people-strip{grid-template-columns:1fr}.person-card,.add-person-card{min-height:105px}.detail-summary{grid-template-columns:1fr}.plan-flow{grid-template-columns:1fr}.plan-flow>i{width:1px;height:11px;justify-self:center}.history-dots{grid-template-columns:repeat(11,1fr)}.chain-visual.large,.chain-visual.large.evening{display:flex;align-items:stretch;overflow-x:auto}.chain-visual.large>div{min-width:128px}.chain-visual.large>i{min-width:16px}.review-cards{grid-template-columns:1fr}.title-options{grid-template-columns:1fr}.paywall-features{grid-template-columns:1fr}.pricing{grid-template-columns:1fr}.pricing button{flex-direction:row;justify-content:space-between;align-items:center}.pricing button>b{font-size:16px}.pact-stats{grid-template-columns:repeat(3,1fr)}.demonstration-grid{grid-template-columns:repeat(3,1fr)}.score-card{grid-template-columns:auto 1fr}.score-card .progress-ring{transform:scale(.9)}.sheet-body{padding-left:16px;padding-right:16px}}
@media(min-width:780px){.view{padding-top:18px}.bottom-nav{bottom:18px}.sheet{border-radius:28px;max-height:88dvh;margin-bottom:18px}.sheet-backdrop{align-items:flex-end}.app-scroll{padding-bottom:20px}}

/* Ember 2.0 - phone preview + readability pass, 2026-09-23
   Desktop browser now mirrors the original 430px phone canvas. The app itself
   remains full-bleed on a real phone. */
.ember-v2-stage{
  width:100%;
  min-height:100dvh;
  padding:14px;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 8%,rgba(239,100,47,.16),transparent 29%),
    radial-gradient(circle at 88% 80%,rgba(102,135,168,.16),transparent 32%),
    linear-gradient(145deg,#e8e3dc,#dfe6e4 52%,#ebe2dc);
}
.ember-v2-stage::before,.ember-v2-stage::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(2px);
  pointer-events:none;
}
.ember-v2-stage::before{width:340px;height:340px;left:-150px;bottom:-150px;background:rgba(239,100,47,.08)}
.ember-v2-stage::after{width:300px;height:300px;right:-130px;top:18%;background:rgba(91,134,154,.08)}
.ember-v2-shell{
  width:min(100%,430px);
  height:min(900px,calc(100dvh - 28px));
  min-height:min(680px,calc(100dvh - 28px));
  padding-bottom:0;
  display:flex;
  flex-direction:column;
  position:relative;
  z-index:1;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.78);
  border-radius:42px;
  box-shadow:0 34px 90px rgba(43,38,34,.22),inset 0 1px rgba(255,255,255,.88);
  transform:translateZ(0);
}
.ember-v2-shell .topbar{
  width:100%;
  max-width:none;
  margin:0;
  flex:0 0 70px;
  position:relative;
  top:auto;
}
.ember-v2-shell .app-scroll{
  width:100%;
  max-width:none;
  min-height:0;
  flex:1 1 auto;
  margin:0;
  padding-bottom:96px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:none;
}
.ember-v2-shell .app-scroll::-webkit-scrollbar{display:none}
.ember-v2-shell .bottom-nav{position:absolute;bottom:max(12px,env(safe-area-inset-bottom))}
.ember-v2-shell .toast{position:absolute}
.ember-v2-shell .sheet-backdrop{position:absolute;border-radius:inherit;overflow:hidden}
.ember-v2-shell .sheet{
  width:100%;
  max-height:92%;
  margin-bottom:0;
  border-radius:28px 28px 0 0;
  display:flex;
  flex-direction:column;
}
.ember-v2-shell .sheet.wide{width:100%}
.ember-v2-shell .sheet-body{flex:1 1 auto;min-height:0;max-height:none}

/* Stronger small-type hierarchy. Nothing important should require squinting. */
.ember-v2-shell{--muted:#656c67;--line:rgba(31,36,33,.115)}
.ember-v2-shell .eyebrow{font-size:13px;color:#78685f;line-height:1.25}
.ember-v2-shell .date-label{font-size:13px}
.ember-v2-shell .hero p{font-size:13px;color:#666d68}
.ember-v2-shell .section-heading h2{font-size:19px}
.ember-v2-shell .quiet-pill{font-size:13px}
.ember-v2-shell .intervention small,.ember-v2-shell .weekly-nudge small{font-size:13px}
.ember-v2-shell .intervention strong,.ember-v2-shell .weekly-nudge strong{font-size:14.5px;line-height:1.25}
.ember-v2-shell .intervention em,.ember-v2-shell .weekly-nudge em{font-size:13px;line-height:1.35}
.ember-v2-shell .today-copy .title-row strong{font-size:16.5px}
.ember-v2-shell .core-dot,.ember-v2-shell .drift-tag{font-size:13px}
.ember-v2-shell .cue-line{font-size:13px;line-height:1.35}
.ember-v2-shell .meta-row{font-size:13px}
.ember-v2-shell .today-insight strong{font-size:13.5px}
.ember-v2-shell .today-insight p{font-size:13px}
.ember-v2-shell .goal-card>strong{font-size:15px}
.ember-v2-shell .goal-card p{font-size:13px;line-height:1.45}
.ember-v2-shell .goal-footer{font-size:13px;color:#727873}
.ember-v2-shell .commitment-main small{font-size:13px}
.ember-v2-shell .goal-link{font-size:13px}
.ember-v2-shell .row-score b{font-size:13px}
.ember-v2-shell .row-score small{font-size:13px}
.ember-v2-shell .chain-feature p{font-size:13px;line-height:1.4}
.ember-v2-shell .chain-visual.mini span{font-size:13px}
.ember-v2-shell .person-card small,.ember-v2-shell .add-person-card small{font-size:13px;line-height:1.35}
.ember-v2-shell .person-card em{font-size:13px}
.ember-v2-shell .pact-banner{font-size:13px}
.ember-v2-shell .pact-title small{font-size:13px}
.ember-v2-shell .pact-stats small{font-size:13px}
.ember-v2-shell .crew-copy small{font-size:13px}
.ember-v2-shell .crew-progress small{font-size:13px}
.ember-v2-shell .activity-item{font-size:13px}
.ember-v2-shell .activity-item small{font-size:13px}
.ember-v2-shell .profile-hero p{font-size:13px}
.ember-v2-shell .plus-label{font-size:13px}
.ember-v2-shell .score-card p{font-size:13px}
.ember-v2-shell .score-link{font-size:13px}
.ember-v2-shell .demonstration-grid strong{font-size:13px}
.ember-v2-shell .plus-insights small{font-size:13px}

/* Detail sheets carry lots of intelligence; make the second layer genuinely readable. */
.ember-v2-shell .sheet-header h2{font-size:22px;line-height:1.08}
.ember-v2-shell .sheet-body{font-size:13px}
.ember-v2-shell .sheet-body p{font-size:13px!important;line-height:1.48!important}
.ember-v2-shell .sheet-body small{font-size:13px!important;line-height:1.4!important}
.ember-v2-shell .sheet-body .eyebrow{font-size:13px!important}
.ember-v2-shell .detail-score strong{font-size:13px}
.ember-v2-shell .drift-alert small{font-size:13px!important}
.ember-v2-shell .drift-alert strong{font-size:14px;line-height:1.2}
.ember-v2-shell .plan-flow>div>span{font-size:13px}
.ember-v2-shell .plan-flow strong{font-size:13px;line-height:1.35}
.ember-v2-shell .primary,.ember-v2-shell .secondary{font-size:13px;min-height:43px}
.ember-v2-shell .review-cards small{font-size:13px!important}
.ember-v2-shell .review-cards strong{font-size:13px}
.ember-v2-shell .review-cards em{font-size:13px}
.ember-v2-shell .pact-intro strong{font-size:13px}
.ember-v2-shell .pact-duration button,.ember-v2-shell .stake-grid button{font-size:13px}
.ember-v2-shell .pact-signature strong{font-size:13px}
.ember-v2-shell .pact-contract>strong{font-size:13px}
.ember-v2-shell .crew-detail-score span{font-size:13px}
.ember-v2-shell .crew-member-list strong{font-size:13px}
.ember-v2-shell .partner-agreement strong{font-size:13px}
.ember-v2-shell .paywall-hero p{font-size:13px}
.ember-v2-shell .paywall-features strong{font-size:13px}
.ember-v2-shell .pricing strong{font-size:13px}
.ember-v2-shell .paywall-note{font-size:13px}
.ember-v2-shell .demo-hero p{font-size:13px}
.ember-v2-shell .demo-list strong{font-size:13px}
.ember-v2-shell .demo-sources span{font-size:13px}
.ember-v2-shell .rule-list strong{font-size:13px}
.ember-v2-shell .toast{font-size:13px}

/* Desktop preview must use the mobile layouts even though the browser viewport is wide. */
@media (min-width:700px){
  .ember-v2-shell .view{padding-left:16px;padding-right:16px;padding-top:12px}
  .ember-v2-shell .topbar{padding-left:16px;padding-right:16px}
  .ember-v2-shell .hero h1{font-size:34px}
  .ember-v2-shell .people-strip{grid-template-columns:1fr}
  .ember-v2-shell .person-card,.ember-v2-shell .add-person-card{min-height:105px}
  .ember-v2-shell .detail-summary{grid-template-columns:1fr}
  .ember-v2-shell .plan-flow{grid-template-columns:1fr}
  .ember-v2-shell .plan-flow>i{width:1px;height:11px;justify-self:center}
  .ember-v2-shell .history-dots{grid-template-columns:repeat(11,1fr)}
  .ember-v2-shell .chain-visual.large,.ember-v2-shell .chain-visual.large.evening{display:flex;align-items:stretch;overflow-x:auto}
  .ember-v2-shell .chain-visual.large>div{min-width:128px}
  .ember-v2-shell .chain-visual.large>i{min-width:16px}
  .ember-v2-shell .review-cards{grid-template-columns:1fr}
  .ember-v2-shell .title-options{grid-template-columns:1fr}
  .ember-v2-shell .paywall-features{grid-template-columns:1fr}
  .ember-v2-shell .pricing{grid-template-columns:1fr}
  .ember-v2-shell .pricing button{flex-direction:row;justify-content:space-between;align-items:center}
  .ember-v2-shell .pricing button>b{font-size:16px}
  .ember-v2-shell .pact-stats{grid-template-columns:repeat(3,1fr)}
  .ember-v2-shell .demonstration-grid{grid-template-columns:repeat(3,1fr)}
  .ember-v2-shell .score-card{grid-template-columns:auto 1fr}
  .ember-v2-shell .score-card .progress-ring{transform:scale(.9)}
  .ember-v2-shell .sheet-body{padding-left:16px;padding-right:16px}
}

/* On an actual phone, remove the desktop preview frame completely. */
@media (max-width:699px){
  html,body,#root{min-height:100dvh}
  .ember-v2-stage{padding:0;background:var(--bg);display:block;overflow:hidden}
  .ember-v2-stage::before,.ember-v2-stage::after{display:none}
  .ember-v2-shell{
    width:100%;
    height:100dvh;
    min-height:100dvh;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
}

/* Final micro-readability tune for controls, labels and score explanations. */
.ember-v2-shell .settings-list button{font-size:13px;min-height:48px}
.ember-v2-shell .settings-list b{font-size:13px}
.ember-v2-shell .prototype-panel p{font-size:13px}
.ember-v2-shell .prototype-panel button{font-size:13px}
.ember-v2-shell .upgrade-card small{font-size:13px}
.ember-v2-shell .detail-block-head>span{font-size:13px}
.ember-v2-shell .status-chip{font-size:13px}
.ember-v2-shell .score-components strong{font-size:13px}
.ember-v2-shell .score-components article>div:first-child span{font-size:13px}
.ember-v2-shell .component-line em{font-size:13px}
.ember-v2-shell .builder-step>p{font-size:13px}
.ember-v2-shell .builder-tip span{font-size:13px}
.ember-v2-shell .builder-example strong{font-size:13px}
.ember-v2-shell .day-picker button{font-size:13px}

/* Ember 2.0.2 - clearer commitment coaching + performance views */
.ember-v2-shell .example-set{margin:2px 0 11px}
.ember-v2-shell .example-set>span{display:block;margin-bottom:6px;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9b8578}
.ember-v2-shell .example-set>div{display:flex;flex-wrap:wrap;gap:6px}
.ember-v2-shell .example-set button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 9px;color:#666c67;font:700 13px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;cursor:pointer;text-align:left}
.ember-v2-shell .example-set button:hover{border-color:rgba(239,100,47,.45);background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .builder-field{display:flex;flex-direction:column;gap:5px;margin-bottom:7px}
.ember-v2-shell .builder-field>span{font-size:13px;font-weight:800;color:#666c67}
.ember-v2-shell .builder-field>span em,.ember-v2-shell .select-label>em{font-style:normal;font-weight:600;color:#a0a49f;margin-left:4px}
.ember-v2-shell .builder-field input{width:100%;margin:0;font-size:13px;border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:12px;outline:none;color:var(--ink)}
.ember-v2-shell .builder-field small{font-size:13px;line-height:1.45;color:var(--muted);margin:0 2px}
.ember-v2-shell .location-field{margin-top:11px}
.ember-v2-shell .builder-step>p b{color:#505650}
.ember-v2-shell .select-label{font-size:13px}
.ember-v2-shell .select-label select{width:100%;font-size:13px;color:var(--ink)}
.ember-v2-shell .importance-picker{margin-top:10px;padding:11px;border:1px solid var(--line);background:var(--surface);border-radius:14px}
.ember-v2-shell .importance-picker>span{display:block;font-size:13px;font-weight:800;color:#666c67;margin-bottom:7px}
.ember-v2-shell .importance-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ember-v2-shell .importance-picker button{border:1px solid var(--line);background:#f5f1ec;border-radius:10px;padding:8px 10px;font-size:13px;font-weight:800;color:#656b65}
.ember-v2-shell .importance-picker button.selected{border-color:var(--orange);background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .importance-picker small{display:block;margin-top:7px;font-size:13px;line-height:1.4;color:var(--muted)}
.ember-v2-shell .text-link{display:flex;align-items:center;gap:2px!important;color:var(--orange)!important;font-size:13px!important;font-weight:800!important}
.ember-v2-shell .history-rate{display:block;margin-top:7px;font-size:13px;color:var(--muted)}
.ember-v2-shell .settings-hint{display:flex!important;align-items:center;gap:4px!important;color:var(--orange)!important;font-size:13px!important;font-weight:800!important}

.ember-v2-shell .period-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:4px;background:#ece8e2;border-radius:13px;margin-bottom:13px}
.ember-v2-shell .period-tabs button{border:0;background:transparent;border-radius:10px;padding:9px 8px;font-size:13px;font-weight:800;color:#747a74;cursor:pointer}
.ember-v2-shell .period-tabs button.active{background:#fff;color:var(--ink);box-shadow:0 3px 10px rgba(31,36,33,.08)}
.ember-v2-shell .performance-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:15px 16px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.ember-v2-shell .performance-hero>div{display:flex;flex-direction:column}
.ember-v2-shell .performance-hero strong{font:800 35px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.05em;margin:4px 0 5px}
.ember-v2-shell .performance-hero small{font-size:13px;color:var(--muted)}
.ember-v2-shell .trend-pill{flex:0 0 auto;border-radius:999px;background:var(--green-soft);color:var(--green);padding:7px 9px;font-size:13px;font-weight:800;white-space:nowrap}
.ember-v2-shell .trend-pill.down{background:var(--red-soft);color:var(--red)}
.ember-v2-shell .performance-bars{height:128px;margin:12px 0;display:flex;align-items:flex-end;gap:5px;padding:14px 12px 6px;background:linear-gradient(180deg,#fff,#faf7f3);border:1px solid var(--line);border-radius:18px}
.ember-v2-shell .performance-bars i{position:relative;flex:1;height:100%;display:flex;align-items:flex-end;justify-content:center;border-radius:6px;background:#f0ece6;overflow:hidden}
.ember-v2-shell .performance-bars i>b{display:block;width:100%;min-height:8px;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#ff8450,var(--orange))}
.ember-v2-shell .performance-bars i>span{position:absolute;bottom:3px;font-size:13px;font-style:normal;font-weight:800;color:#fff;writing-mode:vertical-rl;transform:rotate(180deg);opacity:.85}
.ember-v2-shell .performance-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.ember-v2-shell .performance-stats article{display:flex;flex-direction:column;padding:11px;background:#f6f2ed;border-radius:14px}
.ember-v2-shell .performance-stats span{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:#9b8578}
.ember-v2-shell .performance-stats strong{font:800 19px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;margin:3px 0}
.ember-v2-shell .performance-stats small{font-size:13px;color:var(--muted)}
.ember-v2-shell .performance-list{margin-top:12px;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:13px}
.ember-v2-shell .performance-list article{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-top:1px solid var(--line)}
.ember-v2-shell .performance-list article>div{display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .performance-list article strong{font-size:13px}
.ember-v2-shell .performance-list article small{font-size:13px;color:var(--muted)}
.ember-v2-shell .performance-list article>b{font-size:13px;color:var(--orange)}

@media(max-width:560px){
  .ember-v2-shell .example-set button{font-size:13px;padding:7px 8px}
  .ember-v2-shell .performance-hero{align-items:flex-start;flex-direction:column}
  .ember-v2-shell .trend-pill{align-self:flex-start}
}

/* Ember 2.0.3 - calendar performance, lifecycle, goals, chains, sharing */
.ember-v2-shell .progress-ring{display:inline-flex;align-items:center;justify-content:center}
.ember-v2-shell .progress-ring svg{inset:0;margin:auto}
.ember-v2-shell .ring-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1}
.ember-v2-shell .ring-content>b{line-height:1}
.ember-v2-shell .ring-content>span{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.ember-v2-shell .ring-content>span b{line-height:1}
.ember-v2-shell .ring-content>span small{margin-top:3px;line-height:1}

.ember-v2-shell .add-goal-button{display:inline-flex;align-items:center;gap:3px}
.ember-v2-shell .empty-goal-card{width:100%;border:1px dashed rgba(31,36,33,.18);background:rgba(255,253,250,.55);border-radius:20px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted)}
.ember-v2-shell .empty-goal-card svg{color:var(--orange)}
.ember-v2-shell .empty-goal-card strong{font-size:13px;color:var(--ink)}
.ember-v2-shell .empty-goal-card small{font-size:13px}

.ember-v2-shell .required-tag{display:inline-flex;align-items:center;padding:2px 5px;border-radius:999px;background:#f0ece6;color:#8b7668;font-size:13px!important;font-weight:800!important;letter-spacing:.04em;vertical-align:middle;margin-left:3px}
.ember-v2-shell .validation-note{display:flex;align-items:center;gap:7px;margin:10px 0 0;padding:9px 10px;border-radius:12px;background:#fff5ee;color:#9a4e2c;font-size:13px;font-weight:650}
.ember-v2-shell .primary:disabled,.ember-v2-shell button.primary:disabled{opacity:.38;cursor:not-allowed;box-shadow:none}

.ember-v2-shell .calendar-nav{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;margin:10px 0 9px}
.ember-v2-shell .calendar-nav strong{text-align:center;font-size:13px;letter-spacing:-.01em}
.ember-v2-shell .calendar-nav button{width:36px;height:36px;border:1px solid var(--line);background:var(--surface);border-radius:12px;display:grid;place-items:center;cursor:pointer}
.ember-v2-shell .calendar-nav button:disabled{opacity:.25;cursor:default}
.ember-v2-shell .calendar-panel{margin:12px 0;padding:12px;background:linear-gradient(180deg,#fff,#fbf8f4);border:1px solid var(--line);border-radius:18px}
.ember-v2-shell .week-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.ember-v2-shell .week-day{min-width:0;padding:8px 2px 7px;border-radius:13px;background:#f1ede7;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px}
.ember-v2-shell .week-day>span{font-size:13px;font-weight:800;text-transform:uppercase;color:#8b8f8b}
.ember-v2-shell .week-day>b{font-size:13px}
.ember-v2-shell .week-day>i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-style:normal;border:1px solid transparent}
.ember-v2-shell .week-day.kept>i{background:var(--green);color:#fff}
.ember-v2-shell .week-day.missed>i{background:var(--red);color:#fff}
.ember-v2-shell .week-day.mixed>i{background:var(--orange);color:#fff}
.ember-v2-shell .week-day.pending>i,.ember-v2-shell .week-day.unrecorded>i{background:#fff;border-color:#cbc7c1;color:#9da19e}
.ember-v2-shell .week-day.off>i,.ember-v2-shell .week-day.future>i{background:#e4e0da}
.ember-v2-shell .status-x{font-size:18px;font-weight:700;line-height:1}
.ember-v2-shell .status-mixed{font-size:13px;font-weight:800}

.ember-v2-shell .month-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.ember-v2-shell .weekday-head{text-align:center;font-size:13px;font-weight:800;color:#9b9e9a;padding:2px 0 4px}
.ember-v2-shell .calendar-day{aspect-ratio:1;border-radius:9px;background:#f0ece6;display:flex;align-items:center;justify-content:center;position:relative;color:#555c57}
.ember-v2-shell .calendar-day>b{font-size:13px;font-weight:700}
.ember-v2-shell .calendar-day>i{position:absolute;right:2px;bottom:2px;width:12px;height:12px;border-radius:50%;display:grid;place-items:center;font-style:normal}
.ember-v2-shell .calendar-day.kept{background:var(--green-soft);color:#235d47}
.ember-v2-shell .calendar-day.kept>i{background:var(--green);color:#fff}
.ember-v2-shell .calendar-day.missed{background:var(--red-soft);color:#8f3e3e}
.ember-v2-shell .calendar-day.missed>i{background:var(--red);color:#fff}
.ember-v2-shell .calendar-day.mixed{background:var(--orange-soft);color:#9b4b28}
.ember-v2-shell .calendar-day.mixed>i{background:var(--orange);color:#fff}
.ember-v2-shell .calendar-day.pending,.ember-v2-shell .calendar-day.unrecorded{background:#fff;border:1px solid #dfdbd5}
.ember-v2-shell .calendar-day.future{opacity:.5}
.ember-v2-shell .calendar-day.outside{background:transparent!important;border:0!important;color:transparent}

.ember-v2-shell .year-calendar{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;max-height:375px;overflow-y:auto;padding-right:2px;scrollbar-width:none}
.ember-v2-shell .year-calendar::-webkit-scrollbar{display:none}
.ember-v2-shell .year-month{padding:8px;border:1px solid var(--line);background:rgba(255,253,250,.8);border-radius:12px}
.ember-v2-shell .year-month>strong{display:block;font-size:13px;text-transform:uppercase;letter-spacing:.06em;margin:0 0 5px;color:#6f756f}
.ember-v2-shell .mini-month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.ember-v2-shell .mini-month-grid .calendar-day{aspect-ratio:1;border-radius:3px;min-width:0}
.ember-v2-shell .mini-month-grid .calendar-day.kept{background:#78b79c}
.ember-v2-shell .mini-month-grid .calendar-day.missed{background:#d88686}
.ember-v2-shell .mini-month-grid .calendar-day.mixed{background:#f2a274}
.ember-v2-shell .mini-month-grid .calendar-day.pending,.ember-v2-shell .mini-month-grid .calendar-day.unrecorded{background:#e8e4de;border:0}
.ember-v2-shell .mini-month-grid .calendar-day.off,.ember-v2-shell .mini-month-grid .calendar-day.future{background:#f2efeb}
.ember-v2-shell .calendar-legend{display:flex;flex-wrap:wrap;gap:7px 11px;margin-top:10px;padding-top:9px;border-top:1px solid var(--line)}
.ember-v2-shell .calendar-legend span{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--muted);font-weight:650}
.ember-v2-shell .calendar-legend i{width:8px;height:8px;border-radius:3px;background:#e5e1db}
.ember-v2-shell .calendar-legend i.kept{background:var(--green)}
.ember-v2-shell .calendar-legend i.missed{background:var(--red)}
.ember-v2-shell .calendar-legend i.pending{background:#fff;border:1px solid #c8c4be}
.ember-v2-shell .calendar-legend i.off{background:#ece8e2}

.ember-v2-shell .commitment-tool-row{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}
.ember-v2-shell .commitment-tool-row button{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:10px 7px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;cursor:pointer}
.ember-v2-shell .commitment-tool-row svg{color:var(--orange)}
.ember-v2-shell .commitment-tool-row span{display:flex;flex-direction:column;gap:1px;min-width:0}
.ember-v2-shell .commitment-tool-row strong{font-size:13px}
.ember-v2-shell .commitment-tool-row small{font-size:13px;color:var(--muted);line-height:1.3}

.ember-v2-shell .share-preview{padding:18px 16px 20px;background:#f7f3ee;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 28px rgba(40,34,29,.06)}
.ember-v2-shell .share-brand{display:flex;align-items:center;gap:7px;margin-bottom:30px}
.ember-v2-shell .share-brand .mark{width:28px;height:28px;border-radius:9px}
.ember-v2-shell .share-brand>strong{font-size:15px;letter-spacing:-.03em}
.ember-v2-shell .share-preview h3{font:800 28px/1.02 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.045em;margin:6px 0}
.ember-v2-shell .share-preview>p{font-size:13px;color:var(--muted);margin:0}
.ember-v2-shell .share-week{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:22px}
.ember-v2-shell .share-week>div{display:flex;flex-direction:column;align-items:center;gap:5px}
.ember-v2-shell .share-week span{font-size:13px;font-weight:800;text-transform:uppercase;color:#8c918c}
.ember-v2-shell .share-week i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-style:normal;border:1px solid transparent}
.ember-v2-shell .share-week i.kept{background:var(--green);color:#fff}
.ember-v2-shell .share-week i.missed{background:var(--red);color:#fff}
.ember-v2-shell .share-week i.pending,.ember-v2-shell .share-week i.unrecorded{background:#fff;border-color:#cbc6c0}
.ember-v2-shell .share-week i.off,.ember-v2-shell .share-week i.future{background:#e5e1db}
.ember-v2-shell .share-week small{font-size:13px;color:#656b66}
.ember-v2-shell .share-note{font-size:13px!important;line-height:1.45;color:var(--muted);margin:10px 2px 14px!important}
.ember-v2-shell .primary.full{display:flex;align-items:center;justify-content:center;gap:7px}

.ember-v2-shell .manage-options{display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .manage-options>button{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:start;border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:12px;text-align:left;cursor:pointer}
.ember-v2-shell .manage-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#f1ede7;color:#6b716c}
.ember-v2-shell .manage-icon.graduate{background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .manage-options>button>div{display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .manage-options strong{font-size:13px}
.ember-v2-shell .manage-options small{font-size:13px;line-height:1.45;color:var(--muted)}
.ember-v2-shell .manage-options .danger{border-color:rgba(190,82,82,.18)}
.ember-v2-shell .manage-options .danger .manage-icon{background:var(--red-soft);color:var(--red)}
.ember-v2-shell .manage-options .danger strong{color:var(--red)}

.ember-v2-shell .inactive-list{display:flex;flex-direction:column;gap:7px}
.ember-v2-shell .inactive-list article{display:grid;grid-template-columns:42px 1fr auto;gap:9px;align-items:center;padding:11px;border:1px solid var(--line);background:var(--surface);border-radius:15px}
.ember-v2-shell .inactive-icon{width:40px;height:40px;border-radius:12px;background:#eeeae4;color:#6e746f;display:grid;place-items:center}
.ember-v2-shell .inactive-icon.graduated{background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .inactive-list article>div{display:flex;flex-direction:column;gap:1px}
.ember-v2-shell .inactive-list strong{font-size:13px}
.ember-v2-shell .inactive-list small{font-size:13px;color:#8a8f8b}
.ember-v2-shell .inactive-list p{font-size:13px;color:var(--muted);margin:2px 0 0}
.ember-v2-shell .inactive-list button{border:0;background:var(--orange-soft);color:var(--orange);font-size:13px;font-weight:800;border-radius:9px;padding:7px 8px}
.ember-v2-shell .empty-history{text-align:center;padding:30px 18px;color:var(--muted)}
.ember-v2-shell .empty-history svg{color:var(--orange)}
.ember-v2-shell .empty-history strong{display:block;font-size:13px;color:var(--ink);margin:8px 0 4px}
.ember-v2-shell .empty-history p{font-size:13px;line-height:1.5;margin:0}

.ember-v2-shell .chain-create{margin-top:11px;display:inline-flex;align-items:center;gap:6px;width:auto;padding-left:13px;padding-right:13px}
.ember-v2-shell .saved-chain{margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:17px;background:var(--surface)}
.ember-v2-shell .saved-chain-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:9px}
.ember-v2-shell .saved-chain-head>div{display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .saved-chain-head strong{font-size:13px}
.ember-v2-shell .saved-chain-head>span{font-size:13px;color:var(--muted)}
.ember-v2-shell .chain-picker{display:flex;flex-direction:column;gap:6px;margin-top:13px}
.ember-v2-shell .chain-picker>span{font-size:13px;font-weight:800;color:#666c67}
.ember-v2-shell .chain-picker button{display:grid;grid-template-columns:27px 1fr;gap:8px;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:9px;text-align:left}
.ember-v2-shell .chain-picker button>span{width:26px;height:26px;border-radius:9px;background:#eeeae4;display:grid;place-items:center;font-size:13px;font-weight:800}
.ember-v2-shell .chain-picker button.selected{border-color:rgba(239,100,47,.35);background:var(--orange-soft)}
.ember-v2-shell .chain-picker button.selected>span{background:var(--orange);color:#fff}
.ember-v2-shell .chain-picker button>div{display:flex;flex-direction:column}
.ember-v2-shell .chain-picker strong{font-size:13px}
.ember-v2-shell .chain-picker small{font-size:13px;color:var(--muted)}
.ember-v2-shell .chain-preview{display:flex;align-items:center;gap:6px;overflow-x:auto;margin-top:10px;padding:10px;background:#2b2f2c;color:#fff;border-radius:13px}
.ember-v2-shell .chain-preview .eyebrow{flex:0 0 auto;color:#d9b8a7}
.ember-v2-shell .chain-preview strong{font-size:13px;white-space:nowrap}
.ember-v2-shell .chain-preview i{width:14px;height:1px;flex:0 0 14px;background:#797e7a}
.ember-v2-shell .goal-builder textarea{min-height:72px}

@media(max-width:430px){
  .ember-v2-shell .performance-hero{padding:13px}
  .ember-v2-shell .performance-hero strong{font-size:31px}
  .ember-v2-shell .year-calendar{grid-template-columns:repeat(2,1fr)}
  .ember-v2-shell .commitment-tool-row strong{font-size:13px}
  .ember-v2-shell .commitment-tool-row small{font-size:13px}
}

/* Ember 2.0.3b - rolling share + scrollable month history */
.ember-v2-shell .section-heading-actions{display:flex;align-items:center;gap:7px}
.ember-v2-shell .icon-soft-button{width:30px;height:30px;border:1px solid var(--line);background:var(--surface);border-radius:10px;display:grid;place-items:center;color:var(--orange);cursor:pointer;box-shadow:0 2px 8px rgba(40,34,29,.025)}
.ember-v2-shell .icon-soft-button:active{transform:scale(.97)}
.ember-v2-shell .month-scroll-label strong{font-size:13px;color:var(--muted);font-weight:700}
.ember-v2-shell .month-history-panel{padding-bottom:10px}
.ember-v2-shell .month-history{display:flex;flex-direction:column;gap:10px;max-height:420px;overflow-y:auto;padding-right:2px;scrollbar-width:thin;scrollbar-color:#c5c1bb transparent}
.ember-v2-shell .month-history-card{border:1px solid var(--line);background:rgba(255,253,250,.88);border-radius:16px;padding:10px}
.ember-v2-shell .month-history-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.ember-v2-shell .month-history-head strong{font-size:13px;letter-spacing:-.01em}
.ember-v2-shell .month-history-head span{font-size:13px;color:var(--muted);font-weight:700}
.ember-v2-shell .month-history-card .month-calendar{gap:4px}
.ember-v2-shell .share-all-preview{padding:17px 14px 18px;background:#f7f3ee;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 28px rgba(40,34,29,.05)}
.ember-v2-shell .share-all-head{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin:7px 0 14px}
.ember-v2-shell .share-all-head strong{font:800 20px/1.05 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.035em}
.ember-v2-shell .share-all-head small{font-size:13px;color:var(--muted);text-align:right;line-height:1.3}
.ember-v2-shell .share-all-rows{border-top:1px solid var(--line)}
.ember-v2-shell .share-all-rows article{display:grid;grid-template-columns:minmax(0,1fr) 196px;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.ember-v2-shell .share-all-rows article>strong{font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ember-v2-shell .share-all-rows article>div{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.ember-v2-shell .share-all-rows article>div>span{display:flex;flex-direction:column;align-items:center;gap:3px}
.ember-v2-shell .share-all-rows small{font-size:13px;text-transform:uppercase;color:#939792;font-weight:800}
.ember-v2-shell .share-all-rows i{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;font-style:normal;border:1px solid transparent}
.ember-v2-shell .share-all-rows i.kept{background:var(--green);color:#fff}
.ember-v2-shell .share-all-rows i.missed{background:var(--red);color:#fff}
.ember-v2-shell .share-all-rows i.pending,.ember-v2-shell .share-all-rows i.unrecorded{background:#fff;border-color:#cbc6c0}
.ember-v2-shell .share-all-rows i.off,.ember-v2-shell .share-all-rows i.future{background:#e4e0da}

@media(max-width:430px){
  .ember-v2-shell .month-history{max-height:390px}
  .ember-v2-shell .share-all-rows article{grid-template-columns:minmax(0,1fr) 182px}
}

/* Ember 2.0.3c - deliberate progression, not endless escalation */
.ember-v2-shell .progression-nudge{margin:10px 0;padding:13px;border:1px solid rgba(239,100,47,.2);background:linear-gradient(135deg,#fffaf7,#fff);border-radius:17px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}
.ember-v2-shell .progression-nudge>div{display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .progression-nudge strong{font-size:13px;line-height:1.3}
.ember-v2-shell .progression-nudge p{font-size:13px;line-height:1.45;color:var(--muted);margin:0}
.ember-v2-shell .progression-nudge button{border:0;background:var(--orange-soft);color:var(--orange);border-radius:10px;padding:8px 9px;font-size:13px;font-weight:800;display:flex;align-items:center;gap:2px;white-space:nowrap;cursor:pointer}
.ember-v2-shell .progression-intro{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:start;padding:13px;background:#2b2f2c;color:#fff;border-radius:17px;margin-bottom:10px}
.ember-v2-shell .progression-icon{width:40px;height:40px;border-radius:12px;background:rgba(239,100,47,.18);color:#ff8758;display:grid;place-items:center}
.ember-v2-shell .progression-intro>div{display:flex;flex-direction:column;gap:4px}
.ember-v2-shell .progression-intro strong{font-size:13px;line-height:1.3}
.ember-v2-shell .progression-intro p{font-size:13px;line-height:1.5;color:#cbd0cb;margin:0}
.ember-v2-shell .progression-options{display:flex;flex-direction:column;gap:7px}
.ember-v2-shell .progression-options>button{display:grid;grid-template-columns:38px 1fr;gap:9px;align-items:start;text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:11px;cursor:pointer}
.ember-v2-shell .progression-options>button>span{width:36px;height:36px;border-radius:11px;background:#f0ece6;color:#6a706b;display:grid;place-items:center}
.ember-v2-shell .progression-options>button>div{display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .progression-options strong{font-size:13px}
.ember-v2-shell .progression-options small{font-size:13px;line-height:1.45;color:var(--muted)}
.ember-v2-shell .progression-options>button.selected{border-color:rgba(239,100,47,.42);background:var(--orange-soft)}
.ember-v2-shell .progression-options>button.selected>span{background:var(--orange);color:#fff}
.ember-v2-shell .progression-next{display:flex;flex-direction:column;gap:5px;margin-top:11px}
.ember-v2-shell .progression-next>span{font-size:13px;font-weight:800}
.ember-v2-shell .progression-next em{font-style:normal;color:var(--muted);font-weight:600}
.ember-v2-shell .progression-next textarea{min-height:72px;border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:11px;font:500 13px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;color:var(--ink);resize:vertical}
.ember-v2-shell .progression-next small{font-size:13px;line-height:1.45;color:var(--muted)}
@media(max-width:430px){.ember-v2-shell .progression-nudge{grid-template-columns:1fr}.ember-v2-shell .progression-nudge button{justify-content:center}}

/* Ring content must remain perfectly centered at every size. */
.ember-v2-shell .progress-ring{position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}
.ember-v2-shell .progress-ring svg{position:absolute;inset:0;margin:auto;transform:rotate(-90deg);transform-origin:50% 50%}
.ember-v2-shell .progress-ring .ring-content{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;z-index:1;line-height:1}
.ember-v2-shell .progress-ring .ring-content>span{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}

/* Ember 2.0.4 - clarity, calendar navigation, backfill, routines */
.ember-v2-shell .icon-button.ghost{flex:0 0 38px;display:flex;align-items:center;justify-content:center;padding:0;overflow:visible}
.ember-v2-shell .icon-button.ghost svg{display:block;overflow:visible;margin:auto}

.ember-v2-shell .day-nav{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:8px;margin:0 -4px 6px}
.ember-v2-shell .day-nav>button{width:32px;height:32px;border:1px solid var(--line);background:var(--surface);border-radius:11px;display:grid;place-items:center;color:#676d68;cursor:pointer}
.ember-v2-shell .day-nav>button:disabled{opacity:.2;cursor:default}
.ember-v2-shell .day-nav>div{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;text-align:center}
.ember-v2-shell .day-nav .date-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ember-v2-shell .back-today{border:0;background:var(--orange-soft);color:var(--orange);padding:5px 7px;border-radius:999px;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}
.ember-v2-shell .empty-day{border:1px dashed #d7d1ca;background:rgba(255,253,250,.72);border-radius:18px;padding:24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted)}
.ember-v2-shell .empty-day svg{color:var(--orange)}
.ember-v2-shell .empty-day strong{font-size:13px;color:var(--ink)}
.ember-v2-shell .empty-day small{font-size:13px}
.ember-v2-shell .complete-button.missed{border-color:#e8b7b7;background:var(--red-soft);color:var(--red)}
.ember-v2-shell .complete-button .day-x{display:block;font-size:23px;line-height:1;font-weight:500;transform:none}
.ember-v2-shell .routine-mini{display:inline-flex!important;align-items:center;gap:4px;color:#725f9c!important;background:#f3effb;padding:3px 6px;border-radius:999px;font-size:13px!important;font-weight:700}

.ember-v2-shell .create-commitment-cta{margin-top:14px;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding-left:16px;padding-right:18px}
.ember-v2-shell .routine-heading{margin-bottom:10px}
.ember-v2-shell .routine-journey-list{display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .routine-journey-card,.ember-v2-shell .routine-empty{width:100%;border:1px solid rgba(126,105,173,.15);background:linear-gradient(145deg,#fbf9ff,#fff);border-radius:18px;padding:13px;text-align:left;cursor:pointer}
.ember-v2-shell .routine-journey-card>div:first-child{display:flex;align-items:center;gap:9px}
.ember-v2-shell .routine-journey-card>div:first-child>span:last-child{display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .routine-journey-card strong,.ember-v2-shell .routine-empty strong{font:750 13px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;color:var(--ink)}
.ember-v2-shell .routine-journey-card small,.ember-v2-shell .routine-empty small{font-size:13px;color:var(--muted);line-height:1.35}
.ember-v2-shell .routine-outline-icon{width:35px;height:35px;border-radius:12px;border:1.5px solid rgba(239,100,47,.5);color:var(--orange);display:grid;place-items:center;background:#fff9f5;flex:0 0 auto}
.ember-v2-shell .routine-line-preview{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:none;margin-top:10px;padding-bottom:1px}
.ember-v2-shell .routine-line-preview::-webkit-scrollbar{display:none}
.ember-v2-shell .routine-line-preview>span{padding:5px 7px;border-radius:8px;background:#f0ece6;color:#676c67;font-size:13px;font-weight:750;white-space:nowrap}
.ember-v2-shell .routine-line-preview>span.tracked{background:#fff5ef;border:1px solid rgba(239,100,47,.25);color:var(--orange)}
.ember-v2-shell .routine-line-preview>i{height:1px;min-width:8px;background:#d4cec7}
.ember-v2-shell .routine-empty{display:grid;grid-template-columns:34px 1fr;gap:4px 9px;align-items:center}
.ember-v2-shell .routine-empty>svg{grid-row:1/3;color:var(--orange)}

/* One clear plan card replaces the old wall of separate detail cards. */
.ember-v2-shell .compact-summary{grid-template-columns:1fr}
.ember-v2-shell .compact-summary .drift-alert{margin-top:0}
.ember-v2-shell .commitment-plan-card{margin-top:10px;border:1px solid var(--line);background:var(--surface);border-radius:19px;padding:14px}
.ember-v2-shell .plan-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.ember-v2-shell .plan-card-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.ember-v2-shell .plan-card-head>div>strong{font:800 14px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.02em}
.ember-v2-shell .plan-card-head>div>small{font-size:13px;color:var(--muted)}
.ember-v2-shell .commitment-icon.outline{background:#fff9f5;border:1.5px solid rgba(239,100,47,.42);color:var(--orange);flex:0 0 38px}
.ember-v2-shell .plan-rows{display:flex;flex-direction:column}
.ember-v2-shell .plan-rows>div{padding:10px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:92px 1fr;column-gap:9px;align-items:start}
.ember-v2-shell .plan-rows>div:last-child{border-bottom:0;padding-bottom:1px}
.ember-v2-shell .plan-rows>div>span{font-size:13px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#9a8376}
.ember-v2-shell .plan-rows>div>strong{font-size:13px;line-height:1.35;color:var(--ink)}
.ember-v2-shell .plan-rows>div>small{grid-column:2;font-size:13px;color:var(--muted);margin-top:2px}
.ember-v2-shell .detail-context-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.ember-v2-shell .context-tile{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:11px;display:grid;grid-template-columns:34px 1fr;gap:8px;align-items:center}
.ember-v2-shell .context-tile.muted{opacity:.8}
.ember-v2-shell .context-tile .goal-icon{width:33px;height:33px;border-radius:11px;background:#fff8f3;border:1px solid rgba(239,100,47,.2);color:var(--orange)}
.ember-v2-shell .context-tile>div{display:flex;flex-direction:column;min-width:0;gap:2px}
.ember-v2-shell .context-tile small{font-size:13px;letter-spacing:.08em;font-weight:800;color:#9a8376}
.ember-v2-shell .context-tile strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ember-v2-shell .context-tile em{font-style:normal;font-size:13px;color:var(--muted);line-height:1.25}
.ember-v2-shell .routine-on-detail{margin-top:10px;border:1px solid rgba(126,105,173,.15);background:linear-gradient(145deg,#faf8ff,#fff);border-radius:18px;padding:13px}
.ember-v2-shell .routine-on-detail>strong{font-size:13px}
.ember-v2-shell .routine-on-detail>p{font-size:13px;line-height:1.45;color:var(--muted);margin:7px 0 0}
.ember-v2-shell .completed-today-bar{margin-top:16px;padding:10px 12px;border-radius:14px;background:var(--green-soft);border:1px solid rgba(37,125,90,.12);display:flex;align-items:center;justify-content:space-between}
.ember-v2-shell .completed-today-bar>span{display:flex;align-items:center;gap:7px;color:var(--green)}
.ember-v2-shell .completed-today-bar strong{font-size:13px}
.ember-v2-shell .completed-today-bar button{border:0;background:transparent;color:#607068;font-size:13px;font-weight:800;cursor:pointer}

/* Month is a single horizontally navigated calendar; no nested vertical scroller. */
.ember-v2-shell .month-history-panel{padding-bottom:10px}
.ember-v2-shell .month-history{display:block;max-height:none;overflow:visible;padding:0}
.ember-v2-shell .calendar-panel{overflow:visible}
.ember-v2-shell .month-calendar{width:100%}

/* Goal editing keeps the brand's orange outline icon language. */
.ember-v2-shell .goal-detail-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.ember-v2-shell .goal-icon.large-outline{width:44px;height:44px;border-radius:14px;background:#fff9f5;border:1.5px solid rgba(239,100,47,.42);color:var(--orange)}
.ember-v2-shell .compact-button{padding:8px 10px;display:inline-flex;align-items:center;gap:5px}
.ember-v2-shell .goal-date{display:block;margin-top:6px;font-size:13px;color:var(--muted)}
.ember-v2-shell .goal-icon-picker{display:flex;flex-direction:column;gap:7px;margin-top:12px}
.ember-v2-shell .goal-icon-picker>span{font-size:13px;font-weight:800;color:#656a65}
.ember-v2-shell .goal-icon-picker>div{display:flex;gap:7px;flex-wrap:wrap}
.ember-v2-shell .goal-icon-picker button{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:#8e938e;display:grid;place-items:center;cursor:pointer}
.ember-v2-shell .goal-icon-picker button.selected{border:1.5px solid var(--orange);background:#fff8f3;color:var(--orange)}

/* Routines / habit chains */
.ember-v2-shell .chain-create{margin-bottom:12px!important}
.ember-v2-shell .saved-chain-head{align-items:center}
.ember-v2-shell .routine-start-small{border:1px solid rgba(239,100,47,.28);background:#fff7f1;color:var(--orange);border-radius:10px;padding:7px 10px;font-size:13px;font-weight:800;cursor:pointer}
.ember-v2-shell .routine-builder-section{margin-top:15px;padding:12px;border:1px solid var(--line);background:rgba(255,253,250,.75);border-radius:16px}
.ember-v2-shell .routine-builder-section>p{font-size:13px;color:var(--muted);line-height:1.45;margin:4px 0 9px}
.ember-v2-shell .routine-step-input{display:grid;grid-template-columns:1fr auto;gap:6px}
.ember-v2-shell .routine-step-input button{border:0;background:#2c312e;color:#fff;border-radius:11px;padding:0 11px;font-size:13px;font-weight:800;display:flex;align-items:center;gap:4px;cursor:pointer}
.ember-v2-shell .routine-sequence-editor{margin-top:14px;display:flex;flex-direction:column;gap:6px}
.ember-v2-shell .routine-sequence-editor>.eyebrow{margin-bottom:2px}
.ember-v2-shell .sequence-row{display:grid;grid-template-columns:27px 1fr 28px;gap:7px;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:8px}
.ember-v2-shell .sequence-row.anchor{grid-template-columns:27px 1fr;background:#f4f0ea}
.ember-v2-shell .sequence-row.tracked{border-color:rgba(239,100,47,.3);background:#fff8f3}
.ember-v2-shell .sequence-row>b{width:25px;height:25px;border-radius:8px;background:#ece7e1;display:grid;place-items:center;font-size:13px;color:#6e746f}
.ember-v2-shell .sequence-row.tracked>b{background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .sequence-row>div{display:flex;flex-direction:column;gap:1px}
.ember-v2-shell .sequence-row strong{font-size:13px}
.ember-v2-shell .sequence-row small{font-size:13px;color:var(--muted)}
.ember-v2-shell .sequence-row>button{border:0;background:transparent;color:#989d98;display:grid;place-items:center;cursor:pointer}
.ember-v2-shell .routine-run-intro{display:grid;grid-template-columns:35px 1fr;gap:9px;align-items:start;padding:11px;background:#f7f3fb;border:1px solid rgba(126,105,173,.12);border-radius:15px}
.ember-v2-shell .routine-run-intro>svg{color:#765fa0}
.ember-v2-shell .routine-run-intro strong{font-size:13px}
.ember-v2-shell .routine-run-intro p{font-size:13px;color:var(--muted);line-height:1.4;margin:2px 0 0}
.ember-v2-shell .routine-run-list{display:flex;flex-direction:column;gap:7px;margin-top:12px}
.ember-v2-shell .routine-run-list>button{width:100%;display:grid;grid-template-columns:32px 1fr 22px;gap:8px;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:10px;text-align:left;cursor:pointer}
.ember-v2-shell .routine-run-list>button.tracked{border-color:rgba(239,100,47,.3);background:#fff9f5}
.ember-v2-shell .routine-run-list>button.done{opacity:.65}
.ember-v2-shell .routine-check{width:30px;height:30px;border-radius:10px;background:#efebe5;display:grid;place-items:center;font-size:13px;font-weight:800;color:#6d736e}
.ember-v2-shell .routine-run-list>button.done .routine-check{background:var(--green-soft);color:var(--green)}
.ember-v2-shell .routine-run-list>button>div{display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .routine-run-list strong{font-size:13px}
.ember-v2-shell .routine-run-list small{font-size:13px;color:var(--muted)}
.ember-v2-shell .routine-run-list>button>svg{color:var(--orange)}

.ember-v2-shell .share-all-head{justify-content:flex-start}

@media(max-width:560px){
  .ember-v2-shell .day-nav{grid-template-columns:32px 1fr 32px}
  .ember-v2-shell .detail-context-grid{grid-template-columns:1fr 1fr}
  .ember-v2-shell .plan-rows>div{grid-template-columns:84px 1fr}
  .ember-v2-shell .calendar-nav{margin-top:9px}
}

/* ===== Ember 2.0.5: habit language + mobile readability + management ===== */
.ember-v2-shell .plan-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ember-v2-shell .plan-card-head>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .plan-card-head>div>strong{font-size:14px;line-height:1.28}
.ember-v2-shell .plan-card-head>div>small{font-size:13px;color:var(--muted)}
.ember-v2-shell .plan-edit-button{flex:0 0 auto;border:1px solid rgba(239,100,47,.22);background:#fff8f3;color:var(--orange);border-radius:11px;padding:8px 10px;display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:800;cursor:pointer}
.ember-v2-shell .plan-rows>div{grid-template-columns:104px 1fr;padding:12px 0;column-gap:10px}
.ember-v2-shell .plan-rows>div>span{font-size:13px;line-height:1.25}
.ember-v2-shell .plan-rows>div>strong{font-size:13px;line-height:1.4}
.ember-v2-shell .plan-rows>div>small{font-size:13px;line-height:1.35}
.ember-v2-shell .detail-score strong{font-size:13px}
.ember-v2-shell .detail-score small{font-size:13px;line-height:1.35}
.ember-v2-shell .drift-alert small{font-size:13px}
.ember-v2-shell .drift-alert p{font-size:13px;line-height:1.35}
.ember-v2-shell .routine-on-detail>strong{font-size:13px}
.ember-v2-shell .routine-on-detail>p{font-size:13px;line-height:1.5}
.ember-v2-shell .detail-block-head>span{font-size:13px}
.ember-v2-shell .context-tile{padding:12px;grid-template-columns:36px 1fr;gap:9px}
.ember-v2-shell .context-tile small{font-size:13px;line-height:1.3}
.ember-v2-shell .context-tile strong{font-size:13px;line-height:1.3}
.ember-v2-shell .context-tile em{font-size:13px;line-height:1.35}
.ember-v2-shell .history-rate{font-size:13px!important;color:var(--muted)}
.ember-v2-shell .commitment-tool-row strong{font-size:13px}
.ember-v2-shell .commitment-tool-row small{font-size:13px;line-height:1.35}
.ember-v2-shell .journal-preview strong{font-size:13px}
.ember-v2-shell .journal-preview p{font-size:13px;line-height:1.5}
.ember-v2-shell .progression-nudge p,.ember-v2-shell .progression-plan-card p{font-size:13px;line-height:1.5}
.ember-v2-shell .progression-plan-card{margin-top:10px;border:1px solid rgba(239,100,47,.15);background:#fff8f3;border-radius:17px;padding:13px;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:start}
.ember-v2-shell .progression-plan-card>div{display:flex;flex-direction:column;gap:4px}
.ember-v2-shell .progression-plan-card strong{font-size:13px;line-height:1.4}
.ember-v2-shell .progression-plan-card p{margin:0;color:var(--muted)}
.ember-v2-shell .progression-plan-card>button{border:0;background:none;color:var(--orange);font-size:13px;font-weight:800;cursor:pointer}
.ember-v2-shell .edit-habit-form{display:flex;flex-direction:column;gap:13px}
.ember-v2-shell .edit-habit-form .builder-field{margin:0}
.ember-v2-shell .edit-habit-form .builder-field>span,.ember-v2-shell .edit-habit-form .select-label{font-size:13px}
.ember-v2-shell .edit-habit-form input,.ember-v2-shell .edit-habit-form textarea{font-size:13px;line-height:1.45}
.ember-v2-shell .archive-link{margin:9px 0 0;border:0;background:none;color:var(--muted);font-size:13px;font-weight:750;display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.ember-v2-shell .goal-detail-toolbar>div{display:flex;gap:7px;align-items:center}
.ember-v2-shell .goal-detail-toolbar .compact-button{display:inline-flex;align-items:center;gap:5px}
.ember-v2-shell .routine-manage-actions{display:flex;align-items:center;gap:6px}
.ember-v2-shell .routine-edit-small{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:9px;padding:7px 9px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.ember-v2-shell .archived-routines{margin-top:15px;border-top:1px solid var(--line);padding-top:13px;display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .archived-routines article{display:flex;justify-content:space-between;align-items:center;padding:10px 11px;background:var(--surface);border:1px solid var(--line);border-radius:13px}
.ember-v2-shell .archived-routines article>div{display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .archived-routines strong{font-size:13px}.ember-v2-shell .archived-routines small{font-size:13px;color:var(--muted)}
.ember-v2-shell .archived-routines button{border:0;background:none;color:var(--orange);font-size:13px;font-weight:800}
.ember-v2-shell .routine-danger-zone{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.ember-v2-shell .routine-danger-zone button{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:10px;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:5px}
.ember-v2-shell .routine-danger-zone button.danger{color:var(--red);border-color:rgba(190,82,82,.2);background:var(--red-soft)}
.ember-v2-shell .chain-create{margin-bottom:14px}
.ember-v2-shell .share-image-shell{background:#f7f3ee;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(40,34,29,.05)}
.ember-v2-shell .share-image-shell img{display:block;width:100%;height:auto}
.ember-v2-shell .share-image-shell.single{max-width:100%}
.ember-v2-shell .day-nav .date-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px;display:block}
.ember-v2-shell .sheet-header .icon-button{display:flex;align-items:center;justify-content:center;padding:0;line-height:0}
.ember-v2-shell .sheet-header .icon-button svg{display:block}
@media(max-width:480px){
  .ember-v2-shell .plan-rows>div{grid-template-columns:96px 1fr}
  .ember-v2-shell .detail-context-grid{grid-template-columns:1fr 1fr}
  .ember-v2-shell .context-tile strong{font-size:13px}
  .ember-v2-shell .commitment-tool-row strong{font-size:13px}
  .ember-v2-shell .commitment-tool-row small{font-size:13px}
}

/* 2.0.5 readability pass: minimum comfortable phone type in habit detail */
.ember-v2-shell .commitment-plan-card{padding:15px}
.ember-v2-shell .plan-card-head>div>strong{font-size:16px;line-height:1.3}
.ember-v2-shell .plan-card-head>div>small{font-size:13px;line-height:1.35}
.ember-v2-shell .plan-edit-button{font-size:13px;padding:9px 11px}
.ember-v2-shell .plan-rows>div{grid-template-columns:108px 1fr;padding:13px 0;column-gap:12px}
.ember-v2-shell .plan-rows>div>span{font-size:13px;line-height:1.3}
.ember-v2-shell .plan-rows>div>strong{font-size:13.5px;line-height:1.4}
.ember-v2-shell .plan-rows>div>small{font-size:13px;line-height:1.4}
.ember-v2-shell .detail-score strong{font-size:14.5px}
.ember-v2-shell .detail-score small{font-size:13px;line-height:1.4}
.ember-v2-shell .drift-alert small{font-size:13px}
.ember-v2-shell .drift-alert strong{font-size:13px}
.ember-v2-shell .drift-alert p{font-size:13px;line-height:1.45}
.ember-v2-shell .routine-on-detail>strong{font-size:14px}
.ember-v2-shell .routine-on-detail>p{font-size:13px;line-height:1.5}
.ember-v2-shell .detail-block-head>span{font-size:13px}
.ember-v2-shell .text-link{font-size:13px}
.ember-v2-shell .context-tile{padding:13px;grid-template-columns:38px 1fr;gap:10px}
.ember-v2-shell .context-tile small{font-size:13px;line-height:1.3}
.ember-v2-shell .context-tile strong{font-size:13px;line-height:1.35}
.ember-v2-shell .context-tile em{font-size:13px;line-height:1.4}
.ember-v2-shell .history-rate{font-size:13px!important}
.ember-v2-shell .commitment-tool-row strong{font-size:13px}
.ember-v2-shell .commitment-tool-row small{font-size:13px;line-height:1.4}
.ember-v2-shell .journal-preview strong{font-size:14px;line-height:1.35}
.ember-v2-shell .journal-preview p{font-size:13px;line-height:1.5}
.ember-v2-shell .progression-nudge p,.ember-v2-shell .progression-plan-card p{font-size:13px;line-height:1.5}
.ember-v2-shell .progression-plan-card strong{font-size:13.5px}
.ember-v2-shell .progression-plan-card>button{font-size:13px}
.ember-v2-shell .completed-today-bar strong{font-size:13px}
.ember-v2-shell .completed-today-bar button{font-size:13px}
@media(max-width:480px){
  .ember-v2-shell .plan-rows>div{grid-template-columns:100px 1fr}
  .ember-v2-shell .context-tile strong{font-size:13px}
  .ember-v2-shell .commitment-tool-row strong{font-size:13px}
  .ember-v2-shell .commitment-tool-row small{font-size:13px}
}

/* Ember 2.0.6 - simpler habit creation: Quick or Guided */
.ember-v2-shell .setup-choice-intro{padding:2px 2px 14px}
.ember-v2-shell .setup-choice-intro strong{display:block;font:800 19px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.03em}
.ember-v2-shell .setup-choice-intro p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.ember-v2-shell .setup-choice-grid{display:flex;flex-direction:column;gap:9px}
.ember-v2-shell .setup-choice-grid>button{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:14px;display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;text-align:left;color:var(--ink);cursor:pointer}
.ember-v2-shell .setup-choice-grid>button.guided{border-color:rgba(239,100,47,.25);background:linear-gradient(135deg,#fff8f3,#fff)}
.ember-v2-shell .setup-choice-icon{width:42px;height:42px;border-radius:13px;background:#f0ece6;color:#686e69;display:grid;place-items:center}
.ember-v2-shell .setup-choice-grid>button.guided .setup-choice-icon{background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .setup-choice-grid>button>div{display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .setup-choice-grid strong{font-size:14px;line-height:1.25}
.ember-v2-shell .setup-choice-grid small{font-size:13px;line-height:1.45;color:var(--muted)}
.ember-v2-shell .setup-choice-grid em{font-style:normal;font-size:13px;color:#9b8578;font-weight:800;margin-top:3px}
.ember-v2-shell .setup-choice-note{display:grid;grid-template-columns:26px 1fr;gap:8px;margin-top:12px;padding:12px;border-radius:15px;background:#f0eee9;color:#6f746f}
.ember-v2-shell .setup-choice-note p{font-size:13px;line-height:1.5;margin:0}

.ember-v2-shell .quick-habit-form{display:flex;flex-direction:column;gap:12px}
.ember-v2-shell .compact-builder{margin:0}
.ember-v2-shell .compact-builder .builder-number{display:none}

.ember-v2-shell .day-picker-wrap{display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .day-presets{display:flex;gap:6px;flex-wrap:wrap}
.ember-v2-shell .day-presets button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 10px;font:750 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;color:#666c67;cursor:pointer}
.ember-v2-shell .day-presets button.selected{border-color:var(--orange);background:var(--orange-soft);color:var(--orange)}

.ember-v2-shell .habit-so-far{margin:0 0 17px;padding:12px;border:1px solid rgba(239,100,47,.17);background:linear-gradient(135deg,#fff9f5,#fff);border-radius:16px}
.ember-v2-shell .habit-so-far>.eyebrow{display:block;margin-bottom:8px}
.ember-v2-shell .habit-so-far label{display:flex;flex-direction:column;gap:4px}
.ember-v2-shell .habit-so-far label>span{font-size:13px;font-weight:800;color:#8a8f8a;text-transform:uppercase;letter-spacing:.06em}
.ember-v2-shell .habit-so-far input{width:100%;border:0;border-bottom:1px solid #e5ded6;border-radius:0;background:transparent;padding:4px 0 8px;font:800 14px/1.25 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;color:var(--ink);outline:none}
.ember-v2-shell .habit-so-far p{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--muted)}

.ember-v2-shell .why-ember{display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:start;margin-top:12px;padding:11px 12px;background:#f0eee9;border-radius:15px}
.ember-v2-shell .why-ember>span{width:32px;height:32px;border-radius:10px;background:#fff;color:var(--orange);display:grid;place-items:center}
.ember-v2-shell .why-ember>div{display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .why-ember strong{font-size:13px}
.ember-v2-shell .why-ember p{font-size:13px;line-height:1.45;color:var(--muted);margin:0}

.ember-v2-shell .trait-grid{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 8px}
.ember-v2-shell .trait-grid button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 10px;font:750 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;color:#616762;cursor:pointer}
.ember-v2-shell .trait-grid button.selected{border-color:var(--orange);background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .final-habit-preview{margin-top:13px;padding:14px;border-radius:17px;background:#292e2a;color:#fff}
.ember-v2-shell .final-habit-preview .eyebrow{color:#b9a69a}
.ember-v2-shell .final-habit-preview strong{display:block;margin:5px 0 3px;font-size:16px;line-height:1.25}
.ember-v2-shell .final-habit-preview p{font-size:13px;line-height:1.45;color:#d0d4d0;margin:0}
.ember-v2-shell .final-habit-preview small{display:block;margin-top:8px;color:#ffab83;font-size:13px;font-weight:750}
.ember-v2-shell .simple-habit-note{margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.5}

/* The optional guided fields should read like useful context, never requirements. */
.ember-v2-shell .builder-step h3 .required-tag{vertical-align:middle}
.ember-v2-shell .builder-step .select-label{margin-top:10px}

@media(max-width:430px){
  .ember-v2-shell .setup-choice-grid>button{grid-template-columns:40px 1fr auto;padding:13px 12px}
  .ember-v2-shell .setup-choice-grid strong{font-size:13.5px}
  .ember-v2-shell .setup-choice-grid small{font-size:13px}
  .ember-v2-shell .habit-so-far input{font-size:13.5px}
  .ember-v2-shell .day-presets button,.ember-v2-shell .trait-grid button{font-size:13px}
}
.ember-v2-shell .habit-so-far .today-title-field{margin-top:8px}
.ember-v2-shell .step-line{grid-template-columns:repeat(3,1fr)}

/* Ember 2.0.7 - clarity pass */
.ember-v2-shell .optional-support-card{
  margin-top:12px;
  padding:13px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,253,250,.74);
}
.ember-v2-shell .optional-support-card .builder-field{margin:4px 0 0}
.ember-v2-shell .optional-support-card .select-label{margin-top:4px}
.ember-v2-shell .optional-support-kicker{
  display:block;
  margin-bottom:7px;
  font-size:13px;
  line-height:1.2;
  letter-spacing:.11em;
  font-weight:850;
  color:#9a8074;
}
.ember-v2-shell .trait-grid-compact{gap:5px;margin-bottom:9px}
.ember-v2-shell .trait-grid-compact button{padding:7px 9px}

.ember-v2-shell .staged-edit-form{gap:11px}
.ember-v2-shell .edit-stage{
  display:flex;
  flex-direction:column;
  gap:11px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:17px;
  background:rgba(255,253,250,.82);
}
.ember-v2-shell .optional-edit-stage{background:#faf7f3}
.ember-v2-shell .edit-stage-head{
  display:grid;
  grid-template-columns:28px 1fr;
  gap:9px;
  align-items:start;
  padding-bottom:9px;
  border-bottom:1px solid var(--line);
}
.ember-v2-shell .edit-stage-head>span{
  width:27px;
  height:27px;
  border-radius:9px;
  display:grid;
  place-items:center;
  background:var(--orange-soft);
  color:var(--orange);
  font:850 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;
}
.ember-v2-shell .edit-stage-head>div{display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .edit-stage-head strong{font-size:13px;line-height:1.25}
.ember-v2-shell .edit-stage-head small{font-size:13px;line-height:1.4;color:var(--muted)}
.ember-v2-shell .edit-stage .builder-field>span,
.ember-v2-shell .edit-stage .select-label{font-size:13px}
.ember-v2-shell .edit-stage input,
.ember-v2-shell .edit-stage textarea,
.ember-v2-shell .edit-stage select{font-size:13px}
.ember-v2-shell .edit-stage .builder-field>small,
.ember-v2-shell .edit-stage .select-label>small{font-size:13px;line-height:1.45}

@media(max-width:560px){
  .ember-v2-shell .optional-support-card{padding:12px}
  .ember-v2-shell .edit-stage{padding:13px}
  .ember-v2-shell .edit-stage-head strong{font-size:13.5px}
  .ember-v2-shell .edit-stage-head small{font-size:13px}
}

/* Cloud-connected clean test build */
.ember-auth-stage{min-height:100dvh;display:grid;place-items:center;background:#f7f3ef;padding:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172037}.ember-auth-card{width:min(100%,420px);background:rgba(255,255,255,.9);border:1px solid rgba(23,32,55,.08);border-radius:32px;padding:34px 28px;box-shadow:0 24px 70px rgba(48,33,25,.12)}.ember-auth-card .auth-flame{width:58px;height:58px;display:grid;place-items:center;border-radius:19px;background:#f47b45;color:white;margin-bottom:26px;box-shadow:0 12px 30px rgba(244,123,69,.25)}.ember-auth-card h1{font-size:34px;line-height:1.03;letter-spacing:-1.2px;margin:8px 0 12px}.ember-auth-card>p{font-size:16px;line-height:1.5;color:#657083;margin:0 0 26px}.ember-auth-card form{display:grid;gap:15px}.ember-auth-card label{display:grid;gap:7px}.ember-auth-card label span{font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#6e7583}.ember-auth-card input{width:100%;box-sizing:border-box;border:1px solid #e2ddd8;background:#fff;border-radius:15px;padding:15px 16px;font-size:16px;color:#172037;outline:none}.ember-auth-card input:focus{border-color:#ef8b5c;box-shadow:0 0 0 3px rgba(244,123,69,.11)}.auth-primary{height:52px;border:0;border-radius:16px;background:#f47b45;color:#fff;font-size:16px;font-weight:800;margin-top:4px}.auth-primary:disabled{opacity:.55}.auth-switch{width:100%;border:0;background:transparent;color:#d96534;font-weight:750;padding:18px 8px 10px}.auth-trust{display:flex;gap:12px;align-items:flex-start;border-top:1px solid #eee8e3;margin-top:12px;padding-top:20px;color:#6c7280}.auth-trust svg{color:#f47b45;flex:0 0 auto}.auth-trust span{display:grid;gap:3px}.auth-trust strong{font-size:14px;color:#263047}.auth-trust small{font-size:13px;line-height:1.4}.auth-error{border-radius:13px;background:#fff0eb;color:#a94324;padding:11px 13px;font-size:13px;font-weight:700}.auth-success{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#eaf8ef;color:#2e9b5f;margin-bottom:24px}.ember-loading-mark{display:flex;align-items:center;gap:10px;color:#f47b45;font-weight:900;letter-spacing:.18em}.friend-find-panel{background:#fff;border:1px solid #eee8e2;border-radius:22px;padding:19px}.friend-find-panel>strong{font-size:18px}.friend-find-panel>p{font-size:14px;color:#71798a;line-height:1.45}.friend-search-row{display:flex;gap:9px}.friend-search-row input{min-width:0;flex:1;border:1px solid #e2ddd8;border-radius:14px;padding:12px 13px;font-size:15px}.friend-search-row button{padding:0 15px;border-radius:14px}.friend-match,.friend-request-list article{display:flex;align-items:center;gap:11px;margin-top:15px;padding-top:15px;border-top:1px solid #eee8e2}.friend-match>div,.friend-request-list article>div{min-width:0;flex:1;display:grid}.friend-match small,.friend-request-list small{color:#7a8291;overflow:hidden;text-overflow:ellipsis}.friend-match button,.friend-request-list button{border:0;border-radius:12px;background:#f47b45;color:white;padding:10px 12px;font-weight:800}.friend-request-list{margin-top:20px}.friend-request-list article button.quiet{background:#f3efeb;color:#555e6d}.pending-friends,.privacy-note{margin-top:18px;border-radius:18px;background:#fbf8f5;padding:16px}.pending-friends p{font-size:14px;margin:7px 0 0}.privacy-note{display:flex;gap:12px;align-items:flex-start}.privacy-note svg{color:#f47b45;flex:0 0 auto}.privacy-note p{margin:0;font-size:13px;line-height:1.5;color:#626b7b}.people-empty-card{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:1px solid #eee7e1;background:#fff;border-radius:22px;padding:18px;color:#172037}.people-empty-card>span{width:44px;height:44px;border-radius:15px;background:#fff2eb;color:#f47b45;display:grid;place-items:center}.people-empty-card>div{display:grid;gap:4px;flex:1}.people-empty-card small{color:#747c8b;line-height:1.35}.quiet-empty{display:flex;align-items:center;gap:12px;border:1px dashed #e5ddd7;border-radius:19px;padding:16px;color:#7a8290}.quiet-empty svg{color:#f47b45}.quiet-empty span{display:grid;gap:3px}.quiet-empty strong{color:#2b3448}.quiet-empty small{line-height:1.35}.friend-share-toggle{display:flex!important;gap:12px!important;align-items:flex-start!important;border:1px solid #e9e1db;border-radius:18px;padding:15px 16px;background:#fff}.friend-share-toggle input{width:18px!important;height:18px;margin-top:2px;accent-color:#f47b45}.friend-share-toggle span{display:grid;gap:3px!important;text-transform:none!important;letter-spacing:0!important}.friend-share-toggle strong{font-size:14px;color:#273147}.friend-share-toggle small{font-size:13px;line-height:1.45;color:#707887}.friend-shared-habits{display:grid;gap:9px}.friend-shared-habits article{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:11px;padding:14px;border:1px solid #eee8e3;border-radius:18px;background:#fff}.friend-habit-status{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:2px solid #ddd5ce;color:#a6a1a0;font-weight:900}.friend-habit-status.done{border-color:#48aa72;background:#48aa72;color:#fff}.friend-shared-habits article>div{display:grid;gap:3px}.friend-shared-habits small{color:#7c8390}.friend-flame{display:flex;align-items:center;gap:4px;color:#f47b45;font-weight:800}.connected-test-status{display:grid;gap:10px;margin-top:18px}.connected-test-status article{display:flex;align-items:center;gap:12px;border:1px solid #eee7e1;border-radius:17px;padding:13px}.connected-test-status article>span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#f2ece8;color:#6d7380;font-weight:900}.connected-test-status article>span.done{background:#e7f6ed;color:#2c945b}.connected-test-status article>div{display:grid;gap:3px}.connected-test-status small{color:#7c8390;line-height:1.35}
@media(max-width:560px){.ember-auth-stage{padding:0;background:#fff}.ember-auth-card{min-height:100dvh;width:100%;border:0;border-radius:0;box-shadow:none;padding:calc(46px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center}.ember-auth-card h1{font-size:36px}.friend-search-row{align-items:stretch}}

/* Installable PWA affordance */
.auth-install{width:100%;display:flex;align-items:center;gap:12px;margin-top:14px;padding:13px 14px;border:1px solid rgba(244,123,69,.28);border-radius:16px;background:#fff8f3;color:#2b2f2c;text-align:left;cursor:pointer}
.auth-install>svg{color:#f47b45;flex:0 0 auto}.auth-install span{display:flex;flex-direction:column;gap:2px}.auth-install strong{font-size:14px}.auth-install small{font-size:13px;color:#666c67;line-height:1.35}.install-ember-row svg{color:#f47b45}


/* Ember 2.0.11 - reduction / real-data pass */
.ember-v2-shell .minimal-view{padding-top:10px}
.ember-v2-shell .date-rail-v2{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:4px 0 12px}
.ember-v2-shell .date-rail-v2 button{height:52px;border:1px solid rgba(64,57,52,.10);background:rgba(255,253,250,.84);border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#7a7e7a;cursor:pointer;transition:transform .16s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.ember-v2-shell .date-rail-v2 button small{font-size:13px;font-weight:800;text-transform:uppercase;line-height:1}
.ember-v2-shell .date-rail-v2 button strong{font-size:16px;line-height:1;font-weight:800;color:#4f554f}
.ember-v2-shell .date-rail-v2 button.selected{background:var(--orange);border-color:var(--orange);box-shadow:0 7px 17px rgba(239,100,47,.20);transform:translateY(-1px)}
.ember-v2-shell .date-rail-v2 button.selected small,.ember-v2-shell .date-rail-v2 button.selected strong{color:#fff}
.ember-v2-shell .date-rail-v2 button.today:not(.selected){border-color:rgba(239,100,47,.34)}
.ember-v2-shell .back-today-inline{border:0;background:none;color:var(--orange);font-size:13px;font-weight:800;padding:0;margin:0 0 10px;cursor:pointer}
.ember-v2-shell .today-section-heading{margin-top:7px;margin-bottom:10px;align-items:center}
.ember-v2-shell .today-section-heading h2{margin:0;font-size:20px}
.ember-v2-shell .today-card{transition:transform .16s ease,background .22s ease,border-color .22s ease,box-shadow .22s ease;animation:emberCardIn .24s ease both}
.ember-v2-shell .today-card:active{transform:scale(.992)}
.ember-v2-shell .today-card.complete{background:#e8f7ee;border-color:#9ad8b7;box-shadow:0 6px 20px rgba(34,126,83,.08)}
.ember-v2-shell .today-card.complete .today-copy .title-row strong{color:#1f6e4a}
.ember-v2-shell .today-card.guarded{background:#eaf3fa;border-color:#a9c9e0;box-shadow:0 6px 20px rgba(79,126,166,.09)}
.ember-v2-shell .today-card.guarded .today-copy .title-row strong{color:#436e91}
.ember-v2-shell .today-card.guarded .complete-button{border-color:#8eb7d3;background:#f8fcff}
.ember-v2-shell .today-card .card-actions{justify-content:center}
.ember-v2-shell .more-action{display:none!important}
.ember-v2-shell .minimal-nudge{grid-template-columns:40px 1fr auto;padding:11px 12px;margin-bottom:11px;border-radius:17px}
.ember-v2-shell .minimal-nudge .weekly-icon{width:38px;height:38px;border-radius:12px}
.ember-v2-shell .minimal-nudge em{display:none}
.ember-v2-shell .empty-day{padding:20px 16px;border-style:solid;gap:9px;background:rgba(255,253,250,.76)}
.ember-v2-shell .empty-day strong{font-size:14px}
.ember-v2-shell .empty-day.first-use .primary{margin-top:2px;width:auto;min-height:42px;padding:0 16px}
.ember-v2-shell .empty-day small{display:none}
.ember-v2-shell .compact-insight{margin-top:14px;padding:13px 2px 13px;border-bottom:0}
.ember-v2-shell .compact-insight .insight-symbol{width:36px;height:36px;border-radius:12px}
.ember-v2-shell .compact-insight strong{font-size:13px;margin:0}
.ember-v2-shell .compact-insight p{font-size:13px;margin:2px 0 0}
.ember-v2-shell .miss-reflection-card{position:relative;margin:0 0 14px;padding:15px 14px;background:#fff9f5;border:1px solid rgba(239,100,47,.16);border-radius:19px;box-shadow:0 7px 22px rgba(66,45,34,.05);animation:emberSlideIn .28s ease both;touch-action:pan-y}
.ember-v2-shell .miss-reflection-card>small{display:block;color:var(--orange);font-size:13px;font-weight:800;margin-right:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ember-v2-shell .miss-reflection-card>strong{display:block;font-size:16px;line-height:1.2;margin-top:3px}
.ember-v2-shell .miss-reflection-card>p{font-size:13px;line-height:1.4;color:var(--muted);margin:5px 24px 11px 0}
.ember-v2-shell .reflection-dismiss{position:absolute;right:10px;top:9px;border:0;background:transparent;color:#8f938f;font-size:21px;line-height:1;width:30px;height:30px;cursor:pointer}
.ember-v2-shell .reflection-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.ember-v2-shell .reflection-input-row input{min-width:0;height:43px;border:1px solid #ddd7d1;background:#fff;border-radius:13px;padding:0 12px;font-size:14px;outline:none}
.ember-v2-shell .reflection-input-row input:focus{border-color:rgba(239,100,47,.5);box-shadow:0 0 0 3px rgba(239,100,47,.08)}
.ember-v2-shell .reflection-input-row button{height:43px;border:0;border-radius:13px;background:var(--orange);color:#fff;font-size:13px;font-weight:800;padding:0 14px;cursor:pointer}
.ember-v2-shell .reflection-input-row button:disabled{opacity:.35;cursor:default}
.ember-v2-shell .bottom-nav button span{opacity:1!important;font-size:13px;font-weight:750;line-height:1.05}
.ember-v2-shell .bottom-nav button{gap:3px;transition:background .18s ease,color .18s ease,transform .15s ease}
.ember-v2-shell .bottom-nav button:active{transform:scale(.96)}
.ember-v2-shell .simple-page-header{padding:8px 1px 18px}
.ember-v2-shell .simple-page-header h1{font:800 32px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;letter-spacing:-.045em;margin:0}
.ember-v2-shell .journey-view .section-heading{align-items:center;margin-top:4px}
.ember-v2-shell .journey-view .section-heading.spaced{margin-top:26px}
.ember-v2-shell .journey-view .section-heading h2{font-size:20px;margin:0}
.ember-v2-shell .journey-view .text-button{display:inline-flex;align-items:center;gap:3px;font-size:13px}
.ember-v2-shell .minimal-empty{min-height:72px;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:14px 15px}
.ember-v2-shell .minimal-empty small{display:none}
.ember-v2-shell .minimal-list-empty{width:100%;min-height:54px;border:1px dashed #d6d0c9;background:rgba(255,253,250,.72);border-radius:16px;color:var(--orange);font-size:13px;font-weight:800;cursor:pointer}
.ember-v2-shell .routine-journey-card small{display:none}
.ember-v2-shell .routine-journey-card{padding:14px}
.ember-v2-shell .routine-journey-card>div:first-child{display:flex;align-items:center;gap:9px}
.ember-v2-shell .routine-line-preview{margin-top:10px}
.ember-v2-shell .compact-review-cards{grid-template-columns:1fr 1fr}
@keyframes emberCardIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes emberSlideIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
.ember-v2-shell .complete-button.done{animation:emberCheck .25s ease}
@keyframes emberCheck{0%{transform:scale(.82)}70%{transform:scale(1.08)}100%{transform:scale(1)}}
@media(max-width:380px){.ember-v2-shell .date-rail-v2{gap:4px}.ember-v2-shell .date-rail-v2 button{height:49px;border-radius:13px}.ember-v2-shell .date-rail-v2 button strong{font-size:15px}.ember-v2-shell .compact-review-cards{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ember-v2-shell *{animation:none!important;transition:none!important}}

/* Main-screen copy reduction */
.ember-v2-shell .people-view .section-heading{align-items:center;margin-top:4px}
.ember-v2-shell .people-view .section-heading.spaced{margin-top:26px}
.ember-v2-shell .people-view .section-heading h2{font-size:20px;margin:0}
.ember-v2-shell .minimal-people-empty{min-height:68px;padding:13px 14px}
.ember-v2-shell .minimal-people-empty small{display:none}
.ember-v2-shell .person-card small{display:none}
.ember-v2-shell .minimal-quiet-empty{min-height:52px;display:flex;align-items:center;padding:0 14px}
.ember-v2-shell .minimal-quiet-empty>svg,.ember-v2-shell .minimal-quiet-empty small{display:none}
.ember-v2-shell .minimal-quiet-empty strong{font-size:13px;color:var(--muted)}
/* Habit detail: keep the useful controls, remove explanatory filler. */
.ember-v2-shell .simple-habit-note{display:none!important}
.ember-v2-shell .routine-on-detail>p{display:none!important}
.ember-v2-shell .context-tile em{display:none!important}
.ember-v2-shell .commitment-tool-row small{display:none!important}
.ember-v2-shell .commitment-tool-row strong{font-size:13px}
.ember-v2-shell .journal-preview{display:none!important}

/* Ember 2.0.12 - creation simplification + type standards */
.ember-v2-shell{
  --type-h1:34px;
  --type-h2:24px;
  --type-h3:20px;
  --type-body:14px;
  --type-small:12px;
  --type-label:11px;
}
.ember-v2-shell .sheet-header{padding-top:13px;padding-bottom:13px}
.ember-v2-shell .sheet-header h2{font-size:var(--type-h2);line-height:1.05;margin:0}
.ember-v2-shell .builder-step{min-height:0}
.ember-v2-shell .builder-step h3{font-size:var(--type-h3);line-height:1.15;margin:14px 0 5px}
.ember-v2-shell .builder-step>p{font-size:var(--type-body);line-height:1.45;margin:0 0 16px}
.ember-v2-shell .builder-step textarea,
.ember-v2-shell .builder-step>input,
.ember-v2-shell .identity-sentence-field input{font-size:16px}
.ember-v2-shell .builder-field>span,
.ember-v2-shell .select-label{font-size:var(--type-label)}
.ember-v2-shell .builder-field small,
.ember-v2-shell .select-label small{font-size:var(--type-small)}
.ember-v2-shell .example-set>span{font-size:var(--type-label);letter-spacing:0;text-transform:none}
.ember-v2-shell .example-set button{font-size:var(--type-small);line-height:1.25}
.ember-v2-shell .required-tag{display:none!important}
.ember-v2-shell .setup-choice-heading{font-size:18px;font-weight:800;margin:2px 0 12px}
.ember-v2-shell .setup-choice-grid strong{font-size:15px}
.ember-v2-shell .setup-choice-grid small{font-size:13px;line-height:1.42}
.ember-v2-shell .setup-choice-grid em{display:none}
.ember-v2-shell .setup-choice-note{display:none!important}
.ember-v2-shell .recommended-line{display:flex;align-items:center;gap:8px}
.ember-v2-shell .recommended-line>b{font-size:13px;line-height:1;padding:4px 7px;border-radius:999px;background:var(--orange);color:#fff}
.ember-v2-shell .quick-habit-clean{display:flex;flex-direction:column;gap:22px;padding-top:2px}
.ember-v2-shell .quick-main-field{display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .quick-main-field>span{font-size:13px;font-weight:800;color:#565c57}
.ember-v2-shell .quick-main-field input{width:100%;height:52px;border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:0 15px;font-size:16px;outline:none;color:var(--ink)}
.ember-v2-shell .quick-main-field input:focus{border-color:rgba(239,100,47,.55);box-shadow:0 0 0 3px rgba(239,100,47,.08)}
.ember-v2-shell .guided-clean-step{padding-top:0}
.ember-v2-shell .step-line{grid-template-columns:repeat(5,1fr);margin-bottom:13px}
.ember-v2-shell .habit-so-far.simple{margin:0 0 16px;padding:13px 14px;background:#fff9f5;border:1px solid rgba(239,100,47,.18);border-radius:17px}
.ember-v2-shell .habit-so-far-label{display:block;font-size:13px;font-weight:800;color:#81776f;margin-bottom:6px}
.ember-v2-shell .habit-building-sentence{font-size:15px!important;line-height:1.55!important;color:#303531!important;margin:0!important;font-weight:650}
.ember-v2-shell .habit-building-sentence .new-part,
.ember-v2-shell .habit-minimum-line .new-part{color:var(--orange)}
.ember-v2-shell .habit-minimum-line{font-size:13px!important;line-height:1.45!important;margin:7px 0 0!important;padding-top:7px;border-top:1px solid rgba(239,100,47,.12);color:#565c57!important}
.ember-v2-shell .habit-action-edit{display:flex!important;flex-direction:column;gap:5px;margin-top:10px}
.ember-v2-shell .habit-action-edit>span{font-size:13px!important;font-weight:800!important;color:#8a8f8a!important;text-transform:none!important;letter-spacing:0!important}
.ember-v2-shell .habit-action-edit input{font-size:14px!important;padding:7px 0!important}
.ember-v2-shell .identity-sentence-field{display:grid;grid-template-columns:auto minmax(100px,1fr) auto;gap:7px;align-items:center;margin:4px 0 12px;padding:11px 12px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.ember-v2-shell .identity-sentence-field>span{font-size:13px;font-weight:700;color:#5d635e;white-space:nowrap}
.ember-v2-shell .identity-sentence-field input{min-width:0;border:0;border-bottom:1px solid #d9d2ca;background:transparent;border-radius:0;padding:6px 2px;outline:none;color:var(--ink)}
.ember-v2-shell .simple-validation{font-size:13px;line-height:1.4;margin-top:12px}
.ember-v2-shell .day-presets button{font-size:13px!important;padding:8px 11px}
.ember-v2-shell .day-picker button{width:40px;height:40px;font-size:13px}
.ember-v2-shell .primary,.ember-v2-shell .secondary{font-size:13px;min-height:46px}
@media(max-width:430px){
  .ember-v2-shell{--type-h1:32px;--type-h2:23px;--type-h3:20px;--type-body:13px;--type-small:12px;--type-label:11px}
  .ember-v2-shell .setup-choice-grid strong{font-size:15px}
  .ember-v2-shell .setup-choice-grid small{font-size:13px}
  .ember-v2-shell .day-presets button{font-size:13px!important}
  .ember-v2-shell .identity-sentence-field{grid-template-columns:auto 1fr auto;gap:5px;padding:10px}
  .ember-v2-shell .identity-sentence-field>span{font-size:13px}
}
/* Shared readable type floor. Component-specific display sizes can still be larger. */
.ember-v2-shell h1{font-size:var(--type-h1);line-height:1.08}
.ember-v2-shell h2{font-size:var(--type-h2);line-height:1.12}
.ember-v2-shell h3{font-size:var(--type-h3);line-height:1.18}
.ember-v2-shell p{font-size:var(--type-body);line-height:1.48}
.ember-v2-shell .sheet-body small{font-size:var(--type-small);line-height:1.4}

/* 2.0.13 Journey habit row clarity */
.commitment-row .commitment-main{min-width:0}
.commitment-row .habit-trigger-line,.commitment-row .habit-days-line{display:block;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}
.commitment-row .habit-trigger-line{font-weight:650;color:#767871;margin-top:2px}
.commitment-row .habit-days-line{color:#8a8b84;margin-top:2px}
.commitment-row .row-score.new b{font-size:13px;color:#8a8b84}
.commitment-row .row-score small{white-space:nowrap}


/* Ember 2.0.14 - readability, retroactive logging, share + logo polish */
.ember-v2-shell .commitment-row{grid-template-columns:42px minmax(0,1fr) auto 18px;align-items:center;padding:14px 12px}
.ember-v2-shell .commitment-main{gap:3px;min-width:0}
.ember-v2-shell .commitment-main .title-row strong{font-size:17px;line-height:1.2}
.ember-v2-shell .habit-trigger-line{font-size:13px!important;line-height:1.35!important;color:#737873!important}
.ember-v2-shell .habit-days-line{font-size:13px!important;line-height:1.35!important;color:#888d88!important;display:block;white-space:normal}
.ember-v2-shell .goal-link{font-size:13px!important;line-height:1.35!important;margin-top:1px}
.ember-v2-shell .row-score{min-width:72px;text-align:right}
.ember-v2-shell .row-score b{font-size:13px!important;line-height:1.25;white-space:nowrap;color:#6f746f}
.ember-v2-shell .row-score.new b{font-weight:700;color:#8b908b}
.ember-v2-shell .row-score small{font-size:13px!important}
.ember-v2-shell .today-card .cue-line{display:none!important}
.ember-v2-shell .historical-actions{display:flex!important;gap:7px!important;align-items:center}
.ember-v2-shell .interrupt-button{width:38px;height:38px;border-radius:50%;border:1px solid #e0d9d3;background:#fff;color:#a5aaa5;font-size:20px!important;display:grid;place-items:center;cursor:pointer}
.ember-v2-shell .interrupt-button.active{background:#fff0f0;border-color:#e9abab;color:#c85a5a}
.ember-v2-shell .plan-rows>div>span{font-size:13px!important;line-height:1.3!important}
.ember-v2-shell .plan-rows>div>strong{font-size:14px!important;line-height:1.4!important}
.ember-v2-shell .plan-card-head>div>small{font-size:13px!important}
.ember-v2-shell .detail-block-head>span,.ember-v2-shell .detail-block-head button,.ember-v2-shell .history-rate{font-size:13px!important}
.ember-v2-shell .commitment-tool-row strong{font-size:13px!important}
.ember-v2-shell .context-tile small{font-size:13px!important}
.ember-v2-shell .context-tile strong{font-size:13px!important}
.ember-v2-shell .context-tile em{font-size:13px!important}
.ember-v2-shell .detail-score>span>small{font-size:13px!important}
.ember-v2-shell .share-image-shell img{display:block;width:100%;height:auto}
.ember-v2-shell .wordmark .mark,.ember-v2-shell .share-brand .mark{border-radius:12px}

/* 2.0.17 - single status control + clearer interruption state */
.ember-v2-shell .today-card.missed{
  background:linear-gradient(135deg,#fff0f0,#fff9f7);
  border-color:#efb1ae;
  box-shadow:0 6px 20px rgba(181,72,66,.08);
}
.ember-v2-shell .today-card.missed .today-copy .title-row strong{color:#9f3f3a}
.ember-v2-shell .complete-button.status-cycle.missed{
  border-color:#d86c66;
  background:#d86c66;
  color:#fff;
  font-size:24px!important;
  font-weight:500;
  line-height:1;
}
.ember-v2-shell .complete-button.status-cycle.missed:hover{
  border-color:#c75b55;
  background:#c75b55;
  color:#fff;
}
.ember-v2-shell .interruption-review{
  border-color:rgba(200,90,84,.18);
  background:#fff9f8;
}
.ember-v2-shell .interruption-review button{
  margin-top:8px;
}

/* Ember 2.0.18 - compact Today cards, unified fields, sticky save, drag reorder */
.ember-v2-shell .sheet-header{
  position:sticky;
  top:0;
  z-index:6;
  background:rgba(248,245,240,.97);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.ember-v2-shell .sheet-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.ember-v2-shell .sheet-save-top{
  min-width:62px;
  height:38px;
  border:1px solid rgba(239,100,47,.24);
  border-radius:12px;
  padding:0 14px;
  background:var(--orange-soft);
  color:var(--orange);
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.ember-v2-shell .sheet-save-top:disabled{opacity:.38;cursor:default}

.ember-v2-shell .builder-step textarea,
.ember-v2-shell .guided-field textarea,
.ember-v2-shell .quick-main-field textarea,
.ember-v2-shell .builder-field textarea{
  width:100%;
  min-height:82px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--surface);
  color:var(--ink);
  padding:13px 15px;
  font:inherit;
  font-size:15px;
  line-height:1.4;
  resize:vertical;
  outline:none;
}
.ember-v2-shell .builder-step textarea:focus,
.ember-v2-shell .guided-field textarea:focus,
.ember-v2-shell .quick-main-field textarea:focus,
.ember-v2-shell .builder-field textarea:focus{
  border-color:rgba(239,100,47,.55);
  box-shadow:0 0 0 3px rgba(239,100,47,.08);
}
.ember-v2-shell .guided-field{display:flex;flex-direction:column;gap:7px;margin-top:11px}
.ember-v2-shell .guided-field>span{font-size:13px;font-weight:800;color:#565c57}
.ember-v2-shell .guided-field>small{font-size:13px;line-height:1.4;color:var(--muted)}
.ember-v2-shell .guided-field input,
.ember-v2-shell .builder-step.guided-clean-step>input{
  width:100%;height:52px;border:1px solid var(--line);background:var(--surface);border-radius:15px;padding:0 15px;font-size:16px;outline:none;color:var(--ink)
}
.ember-v2-shell .guided-field input:focus,
.ember-v2-shell .builder-step.guided-clean-step>input:focus{border-color:rgba(239,100,47,.55);box-shadow:0 0 0 3px rgba(239,100,47,.08)}
.ember-v2-shell .quick-main-field textarea{min-height:74px;margin:0}

.ember-v2-shell .advanced-habit-settings{margin-top:12px;border:1px solid var(--line);border-radius:15px;background:#fbf8f4;overflow:hidden}
.ember-v2-shell .advanced-habit-settings summary{list-style:none;cursor:pointer;padding:12px 14px;font-size:13px;font-weight:800;color:#6b706c}
.ember-v2-shell .advanced-habit-settings summary::-webkit-details-marker{display:none}
.ember-v2-shell .advanced-habit-settings summary::after{content:'+';float:right;color:var(--orange);font-size:16px;line-height:1}
.ember-v2-shell .advanced-habit-settings[open] summary::after{content:'–'}
.ember-v2-shell .advanced-habit-settings .builder-field{padding:0 13px 13px;margin:0}

/* tighter Today cards without sacrificing tap targets or readability */
.ember-v2-shell .today-card{min-height:82px;border-radius:18px}
.ember-v2-shell .today-copy{padding:12px 9px 11px 16px}
.ember-v2-shell .today-copy .title-row strong{font-size:16.5px}
.ember-v2-shell .meta-row{margin-top:7px;gap:10px}
.ember-v2-shell .card-actions{width:55px;padding-right:8px}
.ember-v2-shell .complete-button{width:40px;height:40px}
.ember-v2-shell .today-list{gap:8px}

/* long-press reorder: no visible handle */
.ember-v2-shell .sortable-habit-list .sort-wrap{position:relative;transition:transform .16s ease,opacity .16s ease}
.ember-v2-shell .today-list.sortable-habit-list .sort-wrap{border-radius:18px}
.ember-v2-shell .commitment-list.sortable-habit-list .sort-wrap:not(:last-child) .commitment-row{border-bottom:1px solid var(--line)}
.ember-v2-shell .commitment-list.sortable-habit-list .sort-wrap:last-child .commitment-row{border-bottom:0}
.ember-v2-shell .sortable-habit-list .sort-wrap.dragging{opacity:.7;transform:scale(1.015);z-index:4;filter:drop-shadow(0 10px 16px rgba(38,31,26,.12))}
.ember-v2-shell .sortable-habit-list .sort-wrap.drag-over::before{content:'';position:absolute;left:12px;right:12px;top:-4px;height:3px;border-radius:4px;background:var(--orange);z-index:5}
body.ember-reordering{user-select:none;-webkit-user-select:none;cursor:grabbing}
body.ember-reordering .ember-v2-shell .sortable-habit-list{touch-action:none}

.ember-v2-shell .saved-reflections{margin-top:12px;border:1px solid var(--line);border-radius:17px;background:var(--surface);overflow:hidden}
.ember-v2-shell .saved-reflections .detail-block-head{padding:12px 13px 8px}
.ember-v2-shell .saved-reflections>button{width:100%;border:0;border-top:1px solid var(--line);background:transparent;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}
.ember-v2-shell .saved-reflections>button>span:first-child{display:flex;min-width:0;flex-direction:column;gap:3px}
.ember-v2-shell .saved-reflections strong{font-size:13px}
.ember-v2-shell .saved-reflections small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:285px}
.ember-v2-shell .edit-note-link{font-size:13px;font-weight:800;color:var(--orange);flex:0 0 auto}
.ember-v2-shell .journal-actions .danger-text{color:#b45450;border-color:#e6c1be;background:#fff9f8}
.ember-v2-shell .journal-preview.interruption-review{display:block!important}

/* Ember 2.0.19 - restore Journey breathing room + stable long-press reorder */
.ember-v2-shell .commitment-row{
  padding:14px 18px 14px 14px;
  grid-template-columns:42px minmax(0,1fr) auto 18px;
  column-gap:10px;
}
.ember-v2-shell .commitment-list.sortable-habit-list{overflow:hidden}
.ember-v2-shell .commitment-list.sortable-habit-list .sort-wrap{width:100%}
.ember-v2-shell .sortable-habit-list .sort-wrap.dragging{
  opacity:.82;
  transform:scale(1.01);
  z-index:8;
  background:var(--surface);
}
body.ember-reordering{overflow:hidden;touch-action:none}
body.ember-reordering .ember-v2-shell .sortable-habit-list{touch-action:none}

/* share preview is intentionally taller for readability; export matches preview */
.ember-v2-shell .share-image-shell{overflow:hidden}
.ember-v2-shell .share-image-shell img{width:100%;height:auto;display:block}


/* Ember 2.0.20 - restore Journey row geometry + reliable whole-row long-press sorting */
.ember-v2-shell .commitment-list.sortable-habit-list{
  width:100%;
  overflow:hidden;
}
.ember-v2-shell .commitment-list.sortable-habit-list .sort-wrap{
  width:100%;
  box-sizing:border-box;
  border-bottom:1px solid var(--line);
}
.ember-v2-shell .commitment-list.sortable-habit-list .sort-wrap:last-child{border-bottom:0}
.ember-v2-shell .commitment-list.sortable-habit-list .commitment-row{
  width:100%;
  box-sizing:border-box;
  border-bottom:0!important;
  padding:13px;
  grid-template-columns:40px minmax(0,1fr) auto 18px;
  gap:10px;
}
.ember-v2-shell .sortable-habit-list .sort-wrap{touch-action:pan-y}
.ember-v2-shell .sortable-habit-list .sort-wrap.dragging{touch-action:none}
.ember-v2-shell .sortable-habit-list .sort-wrap.drag-over::before{left:0;right:0}


/* Ember 2.0.21 - clarity, date navigation, explicit-time insights */
.ember-v2-shell .date-rail-shell{
  display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:6px;align-items:center;margin:4px 0 12px;
}
.ember-v2-shell .date-rail-v2{
  display:flex!important;gap:5px!important;margin:0!important;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding:2px 1px;
}
.ember-v2-shell .date-rail-v2::-webkit-scrollbar{display:none}
.ember-v2-shell .date-rail-v2 button{flex:0 0 48px;scroll-snap-align:center}
.ember-v2-shell .calendar-jump{
  width:52px;height:52px;border:1px solid rgba(64,57,52,.10);background:rgba(255,253,250,.92);border-radius:15px;display:grid;place-items:center;color:var(--orange);position:relative;overflow:hidden;cursor:pointer;
}
.ember-v2-shell .calendar-jump input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.ember-v2-shell .streak-mini{display:inline-flex;align-items:center;gap:5px;line-height:1.15;color:#8a8f8a}
.ember-v2-shell .streak-mini svg{flex:0 0 auto;transform:translateY(0)}
.ember-v2-shell .streak-mini.streak-kept,.ember-v2-shell .streak-mini.streak-kept svg{color:var(--orange)}
.ember-v2-shell .streak-mini.streak-missed,.ember-v2-shell .streak-mini.streak-missed svg{color:var(--red)}
.ember-v2-shell .streak-mini.frozen-mini,.ember-v2-shell .streak-mini.frozen-mini svg{color:var(--ice)!important}
.ember-v2-shell .habit-statement{margin:14px 0 2px;padding:14px 15px;border-radius:15px;background:#f8f4ef;color:#343a36;font-size:15px;line-height:1.55;font-weight:650}
.ember-v2-shell .detail-score>span{gap:3px}
.ember-v2-shell .detail-score strong{font-size:16px!important;line-height:1.25}
.ember-v2-shell .detail-score small{font-size:13px!important;line-height:1.35}
.ember-v2-shell .history-rate{font-size:13px!important}
.ember-v2-shell .context-tile strong{font-size:13px!important;white-space:normal;overflow:visible;text-overflow:clip}
.ember-v2-shell .commitment-list.sortable-habit-list{width:100%;overflow:hidden}
.ember-v2-shell .commitment-list.sortable-habit-list .sort-wrap{width:100%;min-width:0;border-bottom:1px solid var(--line)}
.ember-v2-shell .commitment-list.sortable-habit-list .sort-wrap:last-child{border-bottom:0}
.ember-v2-shell .commitment-list.sortable-habit-list .commitment-row{
  width:100%;min-width:0;border-bottom:0!important;padding:14px 13px;grid-template-columns:40px minmax(0,1fr) 76px 18px;column-gap:9px;
}
.ember-v2-shell .commitment-list .row-score{width:76px;min-width:76px;align-items:flex-end}
.ember-v2-shell .commitment-list .row-score b,.ember-v2-shell .commitment-list .row-score small{white-space:normal;text-align:right}
.ember-v2-shell .sortable-habit-list .sort-wrap{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body.ember-reordering{cursor:grabbing}
.ember-v2-shell .guided-time-field{display:flex;flex-direction:column;gap:7px;margin-top:12px;font-weight:750}
.ember-v2-shell .guided-time-field span{font-size:13px}
.ember-v2-shell .guided-time-field em{font-style:normal;color:var(--muted);font-weight:650}
.ember-v2-shell .guided-time-field input{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:13px;font-size:15px}
.ember-v2-shell .performance-stats article{min-width:0}
.ember-v2-shell .performance-stats article>span{font-size:13px}
.ember-v2-shell .performance-stats article>strong{font-size:24px}
.ember-v2-shell .performance-hero small{font-size:13px!important}
.ember-v2-shell .calendar-legend{font-size:13px}
@media(max-width:380px){
  .ember-v2-shell .date-rail-shell{grid-template-columns:minmax(0,1fr) 49px;gap:4px}
  .ember-v2-shell .calendar-jump{width:49px;height:49px;border-radius:13px}
  .ember-v2-shell .date-rail-v2 button{flex-basis:46px}
}


/* Ember 2.0.22 - routine flow, detail clarity, typography refinements */
/* selected Today date: clean edge, no clipped drop shadow */
.ember-v2-shell .date-rail-v2 button.selected{
  box-shadow:none!important;
  transform:none!important;
}
/* Unlogged habit flame is genuinely gray; status color controls icon and copy together */
.ember-v2-shell .streak-mini.streak-open,
.ember-v2-shell .streak-mini.streak-open svg{color:#9ba09b!important}

/* Habit detail current/best: numbers are the focal point */
.ember-v2-shell .streak-score-card{display:grid!important;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:center}
.ember-v2-shell .streak-comparison{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
.ember-v2-shell .streak-comparison>span{min-width:0;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"label label" "number unit";align-items:end;column-gap:5px;padding:4px 8px;border-left:1px solid var(--line)}
.ember-v2-shell .streak-comparison>span:first-child{border-left:0}
.ember-v2-shell .streak-comparison small{grid-area:label;font-size:13px!important;letter-spacing:.09em;font-weight:800;color:#958b83;line-height:1.2}
.ember-v2-shell .streak-comparison strong{grid-area:number;font-size:30px!important;line-height:1;font-weight:850;color:var(--ink)}
.ember-v2-shell .streak-comparison em{grid-area:unit;font-size:13px;font-style:normal;font-weight:750;color:var(--muted);padding-bottom:2px}

/* Goal/accountability stay readable at the 13px floor. Stack on phone widths instead of squeezing. */
.ember-v2-shell .detail-context-grid{grid-template-columns:1fr!important;gap:8px!important}
.ember-v2-shell .detail-context-grid .context-tile{grid-template-columns:36px minmax(0,1fr)!important;min-width:0}
.ember-v2-shell .detail-context-grid .context-tile small{white-space:normal!important;overflow-wrap:anywhere;letter-spacing:.07em;line-height:1.15}
.ember-v2-shell .detail-context-grid .context-tile strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}

/* compact routine entry and Ember+ positioning */
.ember-v2-shell .chain-intro.compact{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:4px 0 16px}
.ember-v2-shell .chain-intro.compact>div{min-width:0}
.ember-v2-shell .chain-intro.compact strong{display:block;font-size:16px;line-height:1.3}
.ember-v2-shell .chain-intro.compact p{margin:5px 0 0;font-size:13px;line-height:1.45;color:var(--muted);max-width:340px}
.ember-v2-shell .chain-create{flex:0 0 auto;white-space:nowrap}
.ember-v2-shell .routine-premium-gate{text-align:center;padding:36px 18px;display:flex;flex-direction:column;align-items:center;gap:12px}
.ember-v2-shell .routine-premium-gate>span{width:48px;height:48px;border-radius:16px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}
.ember-v2-shell .routine-premium-gate h3{margin:0;font-size:22px}
.ember-v2-shell .routine-premium-gate p{margin:0;max-width:360px;color:var(--muted);line-height:1.5}

/* saved routine card: vertical journey preview */
.ember-v2-shell .saved-chain.path-card{padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--surface);margin-bottom:12px;overflow:hidden}
.ember-v2-shell .saved-chain-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ember-v2-shell .saved-chain-head>div:first-child{min-width:0;display:flex;flex-direction:column;gap:4px}
.ember-v2-shell .saved-chain-head .eyebrow{font-size:13px}
.ember-v2-shell .saved-chain-head strong{font-size:13px;color:var(--muted);font-weight:700}
.ember-v2-shell .routine-manage-actions{display:flex;gap:6px;flex:0 0 auto}
.ember-v2-shell .routine-start-small,.ember-v2-shell .routine-edit-small{min-height:38px;border-radius:12px;padding:0 11px;font-size:13px;font-weight:800;cursor:pointer}
.ember-v2-shell .routine-start-small{border:1px solid rgba(239,100,47,.25);background:#fff8f3;color:var(--orange)}
.ember-v2-shell .routine-edit-small{border:1px solid var(--line);background:#fff;color:var(--ink);display:flex;align-items:center;gap:5px}
.ember-v2-shell .routine-progress-inline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:13px 0 3px}
.ember-v2-shell .routine-progress-inline i,.ember-v2-shell .routine-run-progress i{height:8px;background:#eee9e3;border-radius:999px;overflow:hidden;display:block}
.ember-v2-shell .routine-progress-inline i b,.ember-v2-shell .routine-run-progress i b{display:block;height:100%;border-radius:inherit;background:var(--orange)}
.ember-v2-shell .routine-progress-inline span{font-size:13px;font-weight:800;color:var(--muted)}
.ember-v2-shell .routine-mini-path{position:relative;padding:12px 4px 2px;display:flex;flex-direction:column;gap:7px}
.ember-v2-shell .routine-mini-path::before{content:'';position:absolute;top:19px;bottom:12px;left:50%;width:2px;background:#e8dfd7;transform:translateX(-50%)}
.ember-v2-shell .routine-mini-path>div{position:relative;width:58%;display:flex;align-items:center;gap:8px;z-index:1}
.ember-v2-shell .routine-mini-path>div.left{align-self:flex-start}
.ember-v2-shell .routine-mini-path>div.right{align-self:flex-end;flex-direction:row-reverse;text-align:right}
.ember-v2-shell .routine-mini-path i{width:13px;height:13px;border-radius:50%;background:#fff;border:3px solid #d8d1ca;flex:0 0 auto}
.ember-v2-shell .routine-mini-path .tracked i{border-color:var(--orange)}
.ember-v2-shell .routine-mini-path span{min-width:0;display:flex;flex-direction:column}
.ember-v2-shell .routine-mini-path strong{font-size:13px;line-height:1.25;white-space:normal}
.ember-v2-shell .routine-mini-path small{font-size:13px;line-height:1.2;color:var(--muted)}

/* Today routine prompt */
.ember-v2-shell .today-routine-prompt{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;text-align:left;border:1px solid rgba(239,100,47,.20);background:linear-gradient(135deg,#fff9f4,#fffdfb);border-radius:18px;padding:12px 13px;margin:0 0 11px;cursor:pointer}
.ember-v2-shell .today-routine-prompt.active{background:linear-gradient(135deg,#fff4e9,#fffaf5)}
.ember-v2-shell .routine-prompt-icon{width:42px;height:42px;border-radius:14px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}
.ember-v2-shell .routine-prompt-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .routine-prompt-copy small{font-size:13px;font-weight:850;letter-spacing:.06em;color:#9a8376}
.ember-v2-shell .routine-prompt-copy strong{font-size:15px;line-height:1.25;color:var(--ink)}
.ember-v2-shell .routine-prompt-copy em{font-size:13px;font-style:normal;color:var(--muted);line-height:1.25}
.ember-v2-shell .today-routine-prompt>b{font-size:13px;color:var(--orange)}

/* Create/edit routine */
.ember-v2-shell .routine-builder-clean{display:flex;flex-direction:column;gap:14px}
.ember-v2-shell .routine-schedule-grid{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;align-items:end}
.ember-v2-shell .builder-label{display:block;font-size:13px;font-weight:800;color:#6a706b;margin-bottom:7px}
.ember-v2-shell .routine-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.ember-v2-shell .routine-days button{height:38px;min-width:0;padding:0;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--muted);font-size:13px;font-weight:800}
.ember-v2-shell .routine-days button.selected{background:var(--orange-soft);border-color:rgba(239,100,47,.35);color:var(--orange)}
.ember-v2-shell .routine-step-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.ember-v2-shell .routine-step-input input{height:48px;border:1px solid var(--line);border-radius:14px;padding:0 14px;background:#fff;font-size:15px}
.ember-v2-shell .routine-step-input button{border:0;border-radius:13px;padding:0 15px;background:#252a27;color:#fff;font-size:13px;font-weight:800}
.ember-v2-shell .compact-picker{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.ember-v2-shell .compact-picker>button{min-width:0;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;text-align:left}
.ember-v2-shell .compact-picker>button.selected{border-color:rgba(239,100,47,.38);background:#fff7f1}
.ember-v2-shell .compact-picker>button>span{width:28px;height:28px;border-radius:9px;background:#f3f0eb;display:grid;place-items:center;color:var(--orange);font-size:16px;font-weight:800}
.ember-v2-shell .compact-picker>button div{min-width:0;display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .compact-picker strong{font-size:13px;line-height:1.25}
.ember-v2-shell .compact-picker small{font-size:13px;line-height:1.25;color:var(--muted);white-space:normal}
.ember-v2-shell .sequence-label{margin-top:2px}
.ember-v2-shell .routine-sequence-editor{display:flex;flex-direction:column;gap:7px}
.ember-v2-shell .routine-sequence-editor .sort-wrap{border:0!important}
.ember-v2-shell .sequence-row{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:9px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:9px 10px;min-height:54px}
.ember-v2-shell .sequence-row.tracked{border-color:rgba(239,100,47,.25);background:#fff9f5}
.ember-v2-shell .sequence-type{width:34px;height:34px;border-radius:11px;background:#f5f1ec;display:grid;place-items:center;color:var(--orange)}
.ember-v2-shell .sequence-row>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .sequence-row strong{font-size:13px;line-height:1.25}
.ember-v2-shell .sequence-row small{font-size:13px;color:var(--muted);line-height:1.2}
.ember-v2-shell .sequence-row>button{width:34px;height:34px;border:0;background:transparent;color:var(--muted);display:grid;place-items:center}
.ember-v2-shell .routine-danger-zone{display:flex;gap:8px;justify-content:flex-end;padding-top:14px;border-top:1px solid var(--line);margin-top:8px}
.ember-v2-shell .routine-danger-zone button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 11px;font-size:13px;font-weight:800;display:flex;align-items:center;gap:6px}
.ember-v2-shell .routine-danger-zone button.danger{color:#b44e49;border-color:#ecc7c4;background:#fff8f7}

/* Routine runner: winding path */
.ember-v2-shell .routine-run-progress{padding:2px 0 16px;display:grid;gap:10px}
.ember-v2-shell .routine-run-progress>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.ember-v2-shell .routine-run-progress strong{font-size:34px;line-height:1;font-weight:850;color:var(--ink)}
.ember-v2-shell .routine-run-progress span{font-size:13px;font-weight:750;color:var(--muted)}
.ember-v2-shell .routine-path-shell{position:relative;margin:2px 0 14px;padding:8px 0}
.ember-v2-shell .routine-path-line{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ember-v2-shell .routine-path-line path{fill:none;stroke:#ded8d1;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linecap:round}
.ember-v2-shell .routine-path-steps{position:relative;display:flex;flex-direction:column;gap:18px}
.ember-v2-shell .routine-path-step{position:relative;width:72%;min-height:70px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:12px 13px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;text-align:left;box-shadow:0 5px 15px rgba(43,35,29,.035)}
.ember-v2-shell .routine-path-step.left{align-self:flex-start}
.ember-v2-shell .routine-path-step.right{align-self:flex-end}
.ember-v2-shell .routine-path-step.tracked{border-color:rgba(239,100,47,.26)}
.ember-v2-shell .routine-path-step.done{background:#eef8f3;border-color:#cce9dc}
.ember-v2-shell .path-node{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f1ede8;color:#6f736f;font-size:13px;font-weight:850;border:3px solid #fff;box-shadow:0 0 0 1px #ded8d1}
.ember-v2-shell .routine-path-step.tracked .path-node{background:#fff3eb;color:var(--orange);box-shadow:0 0 0 1px rgba(239,100,47,.32)}
.ember-v2-shell .routine-path-step.done .path-node{background:#2f906d;color:#fff;box-shadow:0 0 0 1px #2f906d}
.ember-v2-shell .path-card-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .path-card-copy strong{font-size:15px;line-height:1.3;white-space:normal}
.ember-v2-shell .path-card-copy small{font-size:13px;color:var(--muted)}
.ember-v2-shell .routine-run-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.ember-v2-shell .routine-flex-note{font-size:13px;line-height:1.45;text-align:center;color:var(--muted);margin:11px auto 0;max-width:390px}
.ember-v2-shell .routine-on-detail{margin-top:10px;border:1px solid rgba(239,100,47,.18);background:#fff9f4;border-radius:16px;padding:11px 12px}
.ember-v2-shell .routine-on-detail>strong{display:block;font-size:14px;margin-top:5px}

.ember-v2-shell .archived-routines{margin-top:18px;display:flex;flex-direction:column;gap:7px}
.ember-v2-shell .archived-routines article{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px 12px}
.ember-v2-shell .archived-routines article>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.ember-v2-shell .archived-routines strong,.ember-v2-shell .archived-routines small,.ember-v2-shell .archived-routines button{font-size:13px}

@media(max-width:430px){
  .ember-v2-shell .streak-score-card{grid-template-columns:64px minmax(0,1fr);gap:10px}
  .ember-v2-shell .streak-comparison{gap:4px}
  .ember-v2-shell .streak-comparison>span{padding:3px 5px}
  .ember-v2-shell .streak-comparison strong{font-size:27px!important}
  .ember-v2-shell .routine-schedule-grid,.ember-v2-shell .compact-picker{grid-template-columns:1fr}
  .ember-v2-shell .chain-intro.compact{flex-direction:column}
  .ember-v2-shell .routine-path-step{width:78%}
}

/* 2.0.23 - ember+ preview/status + cleaner Journey metrics */
.ember-v2-shell .ember-plus-badge{
  position:absolute;
  top:-4px;
  right:-5px;
  width:22px;
  height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--orange);
  color:#fff;
  border:3px solid var(--bg);
  box-shadow:0 4px 10px rgba(239,100,47,.22);
  font:850 13px/1 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;
  letter-spacing:-.05em;
  z-index:2;
}
.ember-v2-shell .ember-plus-badge.small{
  width:20px;
  height:20px;
  top:-4px;
  right:-5px;
  border-width:2.5px;
  font-size:13px;
}
.ember-v2-shell .premium-section-title{display:flex;align-items:center;gap:8px}
.ember-v2-shell .premium-section-title .ember-plus-badge{position:static;flex:0 0 auto;border-color:var(--bg);box-shadow:none}
.ember-v2-shell .commitment-list .row-score{width:auto;min-width:46px;align-items:flex-end}
.ember-v2-shell .commitment-list .row-score b{font-size:14px!important;font-weight:780;color:#747a75}
.ember-v2-shell .routine-heading .text-button{display:inline-flex;align-items:center;gap:3px}


/* Ember 2.0.24: routine polish, stable deletion, compact overview */
.ember-v2-shell .ember-plus-badge{
  width:20px;height:20px;top:-3px;right:-4px;border-width:2px;
  font-size:14px;letter-spacing:0;line-height:1;
}
.ember-v2-shell .ember-plus-badge.small{width:18px;height:18px;top:-3px;right:-4px;font-size:13px;border-width:2px}

/* Routine overview: compact stacked sequence, one primary action + icon edit */
.ember-v2-shell .saved-chain.path-card{padding:14px 14px 13px}
.ember-v2-shell .saved-chain-head{align-items:center}
.ember-v2-shell .saved-chain-title{min-width:0;flex:1}
.ember-v2-shell .saved-chain-title .eyebrow{font-size:15px!important;letter-spacing:0;text-transform:none;color:var(--ink);font-weight:850}
.ember-v2-shell .saved-chain-title>strong{font-size:13px;color:var(--muted);font-weight:650}
.ember-v2-shell .routine-manage-actions{display:flex!important;flex-direction:row!important;align-items:center;gap:7px;white-space:nowrap}
.ember-v2-shell .routine-start-small{height:38px;min-width:76px;padding:0 12px}
.ember-v2-shell .routine-edit-icon{width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);display:grid;place-items:center;cursor:pointer}
.ember-v2-shell .routine-progress-inline{margin:10px 0 8px}
.ember-v2-shell .routine-progress-inline i b,.ember-v2-shell .routine-run-progress i b{transition:width .42s cubic-bezier(.2,.8,.2,1)}
.ember-v2-shell .routine-compact-stack{display:flex;flex-direction:column;gap:5px;margin-top:9px}
.ember-v2-shell .routine-compact-row{min-height:38px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 9px;border:1px solid #ebe6e0;border-radius:11px;background:#fff}
.ember-v2-shell .routine-compact-row.tracked{border-color:rgba(239,100,47,.22);background:#fffaf6}
.ember-v2-shell .routine-compact-row.done{background:#f2f8f5;border-color:#d8eae1}
.ember-v2-shell .routine-compact-index{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:#f2efeb;color:#797d79;font-size:13px;font-weight:850}
.ember-v2-shell .routine-compact-row.tracked .routine-compact-index{background:#fff0e6;color:var(--orange)}
.ember-v2-shell .routine-compact-row.done .routine-compact-index{background:#2f906d;color:#fff}
.ember-v2-shell .routine-compact-row strong{font-size:13px;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ember-v2-shell .routine-compact-row small{font-size:13px;color:var(--muted);font-weight:700}
.ember-v2-shell .routine-more-steps{padding:4px 9px 0 36px;font-size:13px;color:var(--muted);font-weight:700}

/* New routine schedule: never squeeze time on top of day buttons */
.ember-v2-shell .routine-schedule-grid{grid-template-columns:1fr!important;gap:12px!important;align-items:stretch!important}
.ember-v2-shell .routine-schedule-grid .builder-field{margin:0;max-width:220px}
.ember-v2-shell .routine-schedule-grid input[type="time"]{width:100%;box-sizing:border-box}

/* Routine path: calm, sequential progress animation */
.ember-v2-shell .routine-path-line .routine-path-base{fill:none;stroke:#ded8d1;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linecap:round}
.ember-v2-shell .routine-path-line .routine-path-progress-line{fill:none;stroke:var(--orange);stroke-width:2.4;vector-effect:non-scaling-stroke;stroke-linecap:round;transition:stroke-dashoffset .52s cubic-bezier(.2,.8,.2,1)}
.ember-v2-shell .routine-path-step{transition:background-color .3s ease,border-color .3s ease,transform .22s ease,box-shadow .3s ease}
.ember-v2-shell .routine-path-step:active{transform:scale(.985)}
.ember-v2-shell .path-node{transition:background-color .28s ease,color .28s ease,box-shadow .28s ease,transform .28s cubic-bezier(.2,.9,.25,1.25)}
.ember-v2-shell .routine-path-step.done .path-node{transform:scale(1.06)}
.ember-v2-shell .routine-run-progress strong{font-variant-numeric:tabular-nums;min-width:74px}

/* Not-started routine prompts can be swiped away on touch devices. */
.ember-v2-shell .today-routine-prompt{touch-action:pan-y;transition:transform .2s ease,opacity .2s ease}

@media(max-width:430px){
  .ember-v2-shell .saved-chain-head{gap:8px}
  .ember-v2-shell .routine-start-small{min-width:70px;padding:0 10px}
  .ember-v2-shell .routine-compact-row{grid-template-columns:27px minmax(0,1fr) auto}
}


/* Ember 2.0.25: flexible weekly habits + routine clarity */
.ember-v2-shell .premium-section-title .ember-plus-badge.small{position:relative!important;top:-1px!important;right:auto!important;transform:none!important;margin-left:4px;vertical-align:middle}
.ember-v2-shell .routine-cue-help{display:block;margin:-5px 2px 0;color:var(--muted);font-size:13px;line-height:1.35}
.ember-v2-shell .routine-builder-clean .example-chips{margin-top:-4px}

.ember-v2-shell .habit-schedule-picker{display:flex;flex-direction:column;gap:10px}
.ember-v2-shell .schedule-mode-toggle{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:4px;background:#f4f1ed;border-radius:13px}
.ember-v2-shell .schedule-mode-toggle button{min-height:38px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:13px;font-weight:800}
.ember-v2-shell .schedule-mode-toggle button.selected{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(35,31,28,.08)}
.ember-v2-shell .weekly-target-picker{display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .weekly-target-picker>span{font-size:13px;font-weight:800;color:var(--ink)}
.ember-v2-shell .weekly-target-picker>div{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.ember-v2-shell .weekly-target-picker button{height:38px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--muted);font-size:13px;font-weight:850}
.ember-v2-shell .weekly-target-picker button.selected{background:var(--orange-soft);border-color:rgba(239,100,47,.35);color:var(--orange)}
.ember-v2-shell .weekly-target-picker small{font-size:13px;color:var(--muted);line-height:1.35}

.ember-v2-shell .flexible-today-section{margin-top:20px;display:flex;flex-direction:column;gap:9px}
.ember-v2-shell .flexible-section-head{display:flex;align-items:flex-end;justify-content:space-between;padding:0 2px}
.ember-v2-shell .flexible-section-head h3{margin:0;font-size:17px;line-height:1.15;color:var(--ink)}
.ember-v2-shell .flexible-section-head small{display:block;margin-top:3px;font-size:13px;color:var(--muted)}
.ember-v2-shell .flexible-list{display:flex;flex-direction:column;gap:9px}
.ember-v2-shell .flexible-habit-wrap{display:flex;flex-direction:column;gap:5px}
.ember-v2-shell .weekly-progress-label{align-self:flex-end;margin-right:10px;font-size:13px;color:var(--muted);font-weight:750}
.ember-v2-shell .weekly-progress-label.met{color:#2f906d}

/* Each connector is its own path. This lets completed adjacent steps fill independently and prevents a tail after the final step. */
.ember-v2-shell .routine-path-line .routine-path-segment{fill:none;stroke:var(--orange);stroke-width:2.4;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .48s cubic-bezier(.2,.8,.2,1),opacity .25s ease;opacity:0}
.ember-v2-shell .routine-path-line .routine-path-segment.done{stroke-dashoffset:0;opacity:1}
.ember-v2-shell .routine-path-progress-line{display:none!important}

@media(max-width:430px){
  .ember-v2-shell .weekly-target-picker>div{gap:4px}
  .ember-v2-shell .weekly-target-picker button{height:36px}
}

/* 2.0.26 clarity, goals, guide and path polish */
.ember-v2-shell .step-line{grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%;gap:6px}
.ember-v2-shell .step-line i{width:100%}
.ember-v2-shell .goal-step-line{margin-bottom:16px}

.ember-v2-shell .edit-habit-danger-zone{margin:18px 0 4px;padding-top:14px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.ember-v2-shell .edit-delete-habit{border:0;background:transparent;color:#b84d4d;font-size:13px;font-weight:800;padding:8px 0;cursor:pointer}
.ember-v2-shell .edit-delete-habit.confirm{color:#9e3030}
.ember-v2-shell .edit-habit-danger-zone small{color:var(--muted);font-size:13px;line-height:1.45}

.ember-v2-shell .routine-path-line path{stroke-linejoin:round}
.ember-v2-shell .routine-path-line .routine-path-base{stroke:#ded8d1;stroke-width:1.9}
.ember-v2-shell .routine-path-line .routine-path-segment{stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}

.ember-v2-shell .goal-guided-step{min-height:390px}
.ember-v2-shell .goal-guided-step>.eyebrow{display:block;margin-bottom:7px}
.ember-v2-shell .goal-milestone-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin:10px 0}
.ember-v2-shell .goal-milestone-input input{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:12px 13px;font-size:14px}
.ember-v2-shell .goal-milestone-input button{border:0;background:#2d312f;color:#fff;border-radius:12px;padding:12px 15px;font-size:13px;font-weight:800}
.ember-v2-shell .goal-milestone-edit-list,.ember-v2-shell .goal-milestone-editor{display:flex;flex-direction:column;gap:7px;margin:10px 0 14px}
.ember-v2-shell .goal-milestone-editor>span,.ember-v2-shell .goal-habit-picker>span{font-size:13px;font-weight:800;color:#5e645f}
.ember-v2-shell .goal-milestone-edit-row{display:grid;grid-template-columns:28px minmax(0,1fr) 30px;gap:8px;align-items:center;padding:9px 10px;border:1px solid var(--line);border-radius:13px;background:#fff}
.ember-v2-shell .goal-milestone-edit-row>span{width:25px;height:25px;border-radius:9px;background:#f0ece6;display:grid;place-items:center;font-size:13px;font-weight:800;color:#777d78}
.ember-v2-shell .goal-milestone-edit-row strong{font-size:13px}
.ember-v2-shell .goal-milestone-edit-row button{border:0;background:transparent;color:#8b908b;font-size:18px}
.ember-v2-shell .goal-habit-picker{display:flex;flex-direction:column;gap:8px;margin:12px 0}
.ember-v2-shell .goal-habit-picker>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ember-v2-shell .goal-habit-picker>button,.ember-v2-shell .goal-habit-picker>div>button{border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px 11px;display:flex;gap:8px;align-items:center;text-align:left;color:var(--ink)}
.ember-v2-shell .goal-habit-picker button.selected{border-color:rgba(239,100,47,.45);background:#fff3eb;color:var(--orange)}
.ember-v2-shell .goal-habit-picker button span{display:flex;flex-direction:column;min-width:0}
.ember-v2-shell .goal-habit-picker button strong{font-size:13px;color:var(--ink)}
.ember-v2-shell .goal-habit-picker button small{font-size:13px;color:var(--muted);margin-top:2px}
.ember-v2-shell .goal-no-habits{padding:18px;border:1px dashed var(--line);border-radius:16px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;color:var(--muted)}
.ember-v2-shell .goal-no-habits strong{font-size:14px;color:var(--ink)}
.ember-v2-shell .goal-no-habits small{font-size:13px}

.ember-v2-shell .goal-purpose-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 14px}
.ember-v2-shell .goal-purpose-card>div{padding:12px;border:1px solid var(--line);border-radius:15px;background:#fff;display:flex;flex-direction:column;gap:5px}
.ember-v2-shell .goal-purpose-card small{font-size:13px;font-weight:850;letter-spacing:.06em;color:#958579}
.ember-v2-shell .goal-purpose-card strong{font-size:13px;line-height:1.4}
.ember-v2-shell .goal-milestone-section{padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:12px}
.ember-v2-shell .goal-milestone-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:12px}
.ember-v2-shell .goal-milestone-head>div{display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .goal-milestone-head strong{font-size:14px}
.ember-v2-shell .goal-milestone-head>b{font-size:22px}
.ember-v2-shell .goal-milestone-path{position:relative;display:flex;flex-direction:column;gap:9px}
.ember-v2-shell .goal-milestone-path:before{content:"";position:absolute;left:16px;top:17px;bottom:17px;width:2px;background:#e3ddd6}
.ember-v2-shell .goal-milestone{position:relative;z-index:1;border:0;background:transparent;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;text-align:left;padding:3px 0;color:var(--ink)}
.ember-v2-shell .goal-milestone-node{width:34px;height:34px;border-radius:50%;border:2px solid #ded8d1;background:#fff;display:grid;place-items:center;font-size:13px;font-weight:850;color:#888d88;transition:.25s ease}
.ember-v2-shell .goal-milestone.done .goal-milestone-node{background:var(--orange);border-color:var(--orange);color:#fff}
.ember-v2-shell .goal-milestone.done strong{color:#6e746f;text-decoration:line-through;text-decoration-thickness:1px}
.ember-v2-shell .goal-milestone strong{font-size:14px}
.ember-v2-shell .goal-signal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}
.ember-v2-shell .goal-signal-grid article{padding:13px;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;gap:4px}
.ember-v2-shell .goal-signal-grid small{font-size:13px;color:#888d88;font-weight:800}
.ember-v2-shell .goal-signal-grid strong{font-size:20px}
.ember-v2-shell .goal-support-section{margin-top:10px}
.ember-v2-shell .goal-support-section>.eyebrow{display:block;margin-bottom:7px}
.ember-v2-shell .goal-commitments article{grid-template-columns:minmax(0,1fr) auto!important}

.ember-v2-shell .guide-hero{text-align:center;padding:10px 8px 18px}
.ember-v2-shell .guide-hero-icon{width:48px;height:48px;border-radius:16px;background:var(--orange);color:#fff;display:grid;place-items:center;margin:0 auto 10px}
.ember-v2-shell .guide-hero h3{font-size:24px;margin:0 0 6px;letter-spacing:-.03em}
.ember-v2-shell .guide-hero p{font-size:13px;line-height:1.5;color:var(--muted);max-width:420px;margin:0 auto}
.ember-v2-shell .guide-system{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.ember-v2-shell .guide-system>article{display:grid;grid-template-columns:46px minmax(0,1fr);gap:11px;align-items:center;padding:12px 13px;border:1px solid var(--line);border-radius:16px;background:#fff}
.ember-v2-shell .guide-system>article.core{border-color:rgba(239,100,47,.3);background:#fff8f3}
.ember-v2-shell .guide-system>i{text-align:center;font-style:normal;color:#b5aaa0;font-size:18px;height:18px}
.ember-v2-shell .guide-system-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#f3efea;color:#777d78}
.ember-v2-shell .guide-system-icon.habit{background:#fff0e8;color:var(--orange)}
.ember-v2-shell .guide-system article div{display:flex;flex-direction:column;gap:2px}
.ember-v2-shell .guide-system small{font-size:13px;font-weight:850;letter-spacing:.06em;color:#93877d}
.ember-v2-shell .guide-system strong{font-size:15px}
.ember-v2-shell .guide-system p{font-size:13px;color:var(--muted);line-height:1.4;margin:1px 0 0}
.ember-v2-shell .guide-example-card,.ember-v2-shell .guide-visual-section{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff}
.ember-v2-shell .guide-example-flow{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:8px}
.ember-v2-shell .guide-example-flow>span{width:100%;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:13px;background:#f7f4f0;font-size:13px}
.ember-v2-shell .guide-example-flow>i{font-style:normal;color:#aaa198}
.ember-v2-shell .guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.ember-v2-shell .guide-grid article{padding:13px;border:1px solid var(--line);border-radius:16px;background:#fff;display:flex;flex-direction:column;gap:5px}
.ember-v2-shell .guide-grid svg{color:var(--orange)}
.ember-v2-shell .guide-grid strong{font-size:14px}
.ember-v2-shell .guide-grid p{font-size:13px;line-height:1.4;color:var(--muted);margin:0}
.ember-v2-shell .guide-visual-section h3{font-size:17px;margin:5px 0 11px}
.ember-v2-shell .guide-visual-section>p{font-size:13px;line-height:1.5;color:var(--muted);margin:11px 0 0}
.ember-v2-shell .guide-mini-path{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;position:relative}
.ember-v2-shell .guide-mini-path:before{content:"";position:absolute;left:10%;right:10%;top:14px;height:2px;background:#f0bba4}
.ember-v2-shell .guide-mini-path>span{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
.ember-v2-shell .guide-mini-path b{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#fff0e8;color:var(--orange);border:1px solid #f3b99f;font-size:13px}
.ember-v2-shell .guide-mini-path em{font-style:normal;font-size:13px;color:#707671}
.ember-v2-shell .guide-routine-demo{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ember-v2-shell .guide-routine-demo span,.ember-v2-shell .guide-routine-demo i{font-style:normal;font-size:13px;padding:7px 10px;border-radius:10px;background:#f1eee9;color:#686e69}
.ember-v2-shell .guide-routine-demo span.habit{background:#eef8f3;color:#2f7e62;font-weight:800}
.ember-v2-shell .guide-faq{margin-top:14px}
.ember-v2-shell .guide-faq>.eyebrow{display:block;margin-bottom:7px}
.ember-v2-shell .guide-faq details{border-top:1px solid var(--line);padding:10px 2px}
.ember-v2-shell .guide-faq summary{font-size:14px;font-weight:800;cursor:pointer}
.ember-v2-shell .guide-faq p{font-size:13px;line-height:1.5;color:var(--muted);margin:7px 0 0}

@media(max-width:560px){
  .ember-v2-shell .goal-purpose-card{grid-template-columns:1fr}
  .ember-v2-shell .goal-habit-picker>div{grid-template-columns:1fr}
  .ember-v2-shell .guide-grid{grid-template-columns:1fr 1fr}
}
.ember-v2-shell .habit-building-sentence .current-piece{color:var(--orange);font-weight:850;transition:color .2s ease}

/* 2.0.27 - measurable goals + routine state polish */
.ember-v2-shell .goal-measure-create,
.ember-v2-shell .goal-milestone-create{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:rgba(255,253,250,.72);
  margin-top:12px;
}
.ember-v2-shell .goal-measure-create>p{
  margin:6px 0 12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.ember-v2-shell .goal-measure-editor-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.ember-v2-shell .goal-measure-editor-head strong{font-size:14px}
.ember-v2-shell .goal-measure-editor-head small{font-size:13px;color:var(--muted)}
.ember-v2-shell .goal-measure-fields{
  display:grid;
  grid-template-columns:1fr 1fr 1.25fr;
  gap:8px;
}
.ember-v2-shell .goal-measure-fields label{display:flex;flex-direction:column;gap:6px;min-width:0}
.ember-v2-shell .goal-measure-fields label span{font-size:13px;font-weight:700;color:var(--muted)}
.ember-v2-shell .goal-measure-fields input{width:100%;min-width:0}

.ember-v2-shell .routine-journey-card.started{
  border-color:rgba(47,144,109,.24);
}
.ember-v2-shell .routine-journey-card.complete{
  background:#eef8f3;
  border-color:#cce9dc;
}
.ember-v2-shell .routine-journey-card.complete .routine-outline-icon{
  color:#2f906d;
  border-color:#b9decf;
  background:#fff;
}
.ember-v2-shell .routine-journey-head{display:flex;align-items:center;gap:9px}
.ember-v2-shell .routine-journey-head>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.ember-v2-shell .routine-journey-head small{font-size:13px;color:#2f906d;font-weight:700}
.ember-v2-shell .routine-line-preview span.done{
  background:#e9f6f0;
  color:#2f7f62;
  border-color:#bfe2d4;
}
.ember-v2-shell .routine-line-preview i.done{background:#2f906d}

@media(max-width:560px){
  .ember-v2-shell .goal-measure-fields{grid-template-columns:1fr 1fr}
  .ember-v2-shell .goal-measure-fields label:last-child{grid-column:1/-1}
}

/* v228 shared edit actions, goal progress, and routine connector polish */
.ember-v2-shell .entity-danger-zone{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:8px;
}
.ember-v2-shell .entity-delete-button,
.ember-v2-shell .entity-archive-button{
  width:100%;
  min-height:46px;
  border-radius:15px;
  border:1px solid rgba(181,73,69,.20);
  background:#fff9f8;
  color:#b44d49;
  font-size:13px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,transform .15s ease;
}
.ember-v2-shell .entity-delete-button:active,
.ember-v2-shell .entity-archive-button:active{transform:scale(.99)}
.ember-v2-shell .entity-delete-button.confirm{
  background:#fff0ee;
  border-color:rgba(181,73,69,.36);
  color:#9f3733;
}
.ember-v2-shell .entity-danger-zone>small{
  font-size:13px;
  line-height:1.4;
  color:#9b6d69;
  text-align:center;
}
.ember-v2-shell .entity-archive-button{
  color:var(--muted);
  background:#fff;
  border-color:var(--line);
}
.ember-v2-shell .routine-edit-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}

.ember-v2-shell .goal-measure-progress{
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--surface);
  padding:16px;
  margin:12px 0;
}
.ember-v2-shell .goal-measure-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.ember-v2-shell .goal-measure-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.ember-v2-shell .goal-measure-head strong{font-size:17px;line-height:1.25}
.ember-v2-shell .goal-measure-head>b{font-size:24px;line-height:1;color:var(--orange)}
.ember-v2-shell .goal-measure-bar{height:8px;border-radius:999px;background:#eee9e4;overflow:hidden;margin:13px 0 8px}
.ember-v2-shell .goal-measure-bar>i{display:block;height:100%;border-radius:inherit;background:var(--orange);transition:width .42s cubic-bezier(.2,.8,.2,1)}
.ember-v2-shell .goal-measure-remaining{font-size:13px;color:var(--muted)}
.ember-v2-shell .goal-measure-update{margin-top:14px;display:flex;flex-direction:column;gap:9px}
.ember-v2-shell .goal-progress-mode{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px;
  padding:4px;
  border-radius:14px;
  background:#f2eee9;
}
.ember-v2-shell .goal-progress-mode button{
  border:0;
  border-radius:11px;
  min-height:38px;
  background:transparent;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.ember-v2-shell .goal-progress-mode button.selected{
  background:#fff;
  color:var(--ink);
  box-shadow:0 2px 8px rgba(42,34,28,.07);
}
.ember-v2-shell .goal-progress-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.ember-v2-shell .goal-progress-entry input{
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:12px 14px;
  font:600 14px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;
  color:var(--ink);
  outline:none;
}
.ember-v2-shell .goal-progress-entry input:focus{border-color:rgba(239,100,47,.55);box-shadow:0 0 0 3px rgba(239,100,47,.08)}
.ember-v2-shell .goal-progress-entry button{min-width:92px;border-radius:14px;padding:0 16px}

/* Use complete, continuous connector strokes. Quadratic bends in SVG provide the rounded elbows. */
.ember-v2-shell .routine-path-line .routine-path-base{
  fill:none;
  stroke:#ddd7d0;
  stroke-width:2;
  vector-effect:non-scaling-stroke;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.ember-v2-shell .routine-path-line .routine-path-segment,
.ember-v2-shell .routine-path-line .routine-path-segment.done{
  fill:none;
  stroke:var(--orange);
  stroke-width:2.8;
  vector-effect:non-scaling-stroke;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:none;
  stroke-dashoffset:0;
  opacity:1;
  transition:opacity .22s ease,stroke .25s ease;
}

.ember-v2-shell .person-card.demo-friend{border-style:dashed}
.ember-v2-shell .person-card .demo-friend-tag{font-size:13px;color:var(--orange);font-weight:800}

@media(max-width:520px){
  .ember-v2-shell .routine-edit-actions{grid-template-columns:1fr}
  .ember-v2-shell .goal-progress-entry{grid-template-columns:1fr auto}
}

/* v229 shared edit, people, and deterministic routine path polish */
.ember-v2-shell .sheet-actions{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.ember-v2-shell .entity-edit-actions,
.ember-v2-shell .routine-edit-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.ember-v2-shell .entity-edit-actions>small,
.ember-v2-shell .routine-edit-actions>small{
  grid-column:1/-1;
}
.ember-v2-shell .profile-photo-control{
  margin-top:8px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  width:max-content;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  border-radius:999px;
  padding:7px 10px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.ember-v2-shell .profile-photo-control input{display:none}
.ember-v2-shell .avatar.has-photo{overflow:visible;background:#fff}
.ember-v2-shell .avatar.has-photo>img{
  width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;
}
.ember-v2-shell .person-detail>strong{margin-top:10px}
.ember-v2-shell .person-detail .plus-label{
  margin-top:9px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:4px 9px;
  border-radius:999px;
  background:#fff1e8;
  color:var(--orange);
  font-weight:850;
  line-height:1;
}
.ember-v2-shell .person-detail p{margin:10px 0 15px}
.ember-v2-shell .friend-status-canonical{
  width:34px!important;height:34px!important;cursor:default!important;
}
.ember-v2-shell .friend-status-canonical:hover{transform:none}
.ember-v2-shell .friend-status-canonical.guarded{
  border-color:#8eb7d3;background:#f8fcff;color:#6e9cbb;
}
.ember-v2-shell .friendship-actions{
  margin-top:18px;padding-top:16px;border-top:1px solid var(--line);
  display:flex;flex-direction:column;gap:8px;
}
.ember-v2-shell .friendship-actions small{
  font-size:13px;line-height:1.4;color:#9b6d69;text-align:center;
}

/* True two-segment L connectors. No SVG, no second bend, no C shape. */
.ember-v2-shell .routine-path-shell{
  --routine-card-w:72%;
  --routine-left-edge:72%;
  --routine-right-edge:28%;
  --routine-left-center:36%;
  --routine-right-center:64%;
}
.ember-v2-shell .routine-path-line{display:none!important}
.ember-v2-shell .routine-l-connectors{
  position:absolute;inset:0;pointer-events:none;z-index:0;
}
.ember-v2-shell .routine-l-connector{
  position:absolute;
  box-sizing:border-box;
  border-color:#ddd7d0;
  border-style:solid;
  border-width:0;
  transition:border-color .32s cubic-bezier(.2,.8,.2,1);
}
.ember-v2-shell .routine-l-connector.left-right{
  left:var(--routine-right-center);
  right:calc(100% - var(--routine-left-edge));
  border-top-width:2px;
  border-left-width:2px;
  border-top-left-radius:14px;
}
.ember-v2-shell .routine-l-connector.right-left{
  left:var(--routine-right-edge);
  right:calc(100% - var(--routine-left-center));
  border-top-width:2px;
  border-right-width:2px;
  border-top-right-radius:14px;
}
.ember-v2-shell .routine-l-connector.done{
  border-color:var(--orange);
}
.ember-v2-shell .routine-path-steps{z-index:1}
@media(max-width:520px){
  .ember-v2-shell .routine-path-shell{
    --routine-card-w:78%;
    --routine-left-edge:78%;
    --routine-right-edge:22%;
    --routine-left-center:39%;
    --routine-right-center:61%;
  }
  .ember-v2-shell .entity-edit-actions,
  .ember-v2-shell .routine-edit-actions{grid-template-columns:1fr 1fr}
}

/* Ember 2.0.30 - legal center, calendar editing, archive restore polish */
.ember-v2-shell .date-rail-v2{padding-left:0!important;margin-left:-1px!important}
.ember-v2-shell .week-day.editable,.ember-v2-shell .calendar-day.editable{cursor:pointer;font:inherit;color:inherit}
.ember-v2-shell button.week-day{appearance:none;-webkit-appearance:none}
.ember-v2-shell button.calendar-day{appearance:none;-webkit-appearance:none;width:100%}
.ember-v2-shell .terms-hero{padding:18px;border:1px solid rgba(239,100,47,.18);border-radius:20px;background:linear-gradient(145deg,#fff9f5,#fffdfb);display:grid;gap:9px;margin-bottom:14px}
.ember-v2-shell .terms-hero h3{margin:0;font-size:22px;line-height:1.1}
.ember-v2-shell .terms-hero p{margin:0;color:var(--muted);line-height:1.52}
.ember-v2-shell .terms-shield{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .terms-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px;padding-top:11px;border-top:1px solid var(--line)}
.ember-v2-shell .terms-status small{color:var(--muted);text-align:right}
.ember-v2-shell .terms-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 14px}
.ember-v2-shell .terms-principles article{padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);display:grid;gap:6px;align-content:start}
.ember-v2-shell .terms-principles article svg{color:var(--orange)}
.ember-v2-shell .terms-principles article strong{font-size:13px}
.ember-v2-shell .terms-principles article p{font-size:13px!important;line-height:1.4;color:var(--muted);margin:0}
.ember-v2-shell .terms-accordion{display:grid;gap:8px}
.ember-v2-shell .terms-section{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.ember-v2-shell .terms-section summary{list-style:none;cursor:pointer;padding:14px 16px;font-weight:800;position:relative;padding-right:42px}
.ember-v2-shell .terms-section summary::-webkit-details-marker{display:none}
.ember-v2-shell .terms-section summary::after{content:'+';position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:20px;color:var(--orange);font-weight:500}
.ember-v2-shell .terms-section[open] summary::after{content:'−'}
.ember-v2-shell .terms-copy{padding:0 16px 15px;border-top:1px solid var(--line)}
.ember-v2-shell .terms-copy p{margin:12px 0 0;color:#525852;line-height:1.58;font-size:13px!important}
.ember-v2-shell .terms-launch-note{display:grid;grid-template-columns:34px 1fr;gap:11px;margin-top:14px;padding:14px;border-radius:16px;background:#f7f3ed;border:1px solid var(--line)}
.ember-v2-shell .terms-launch-note svg{color:var(--orange)}
.ember-v2-shell .terms-launch-note strong{display:block;margin-bottom:4px}
.ember-v2-shell .terms-launch-note p{margin:0;color:var(--muted);line-height:1.48;font-size:13px!important}
.ember-v2-shell .terms-accept{margin-top:14px;padding:16px;border-radius:18px;background:#fff7f2;border:1px solid rgba(239,100,47,.22)}
.ember-v2-shell .terms-accept p{margin:0 0 12px;line-height:1.5;color:#5a5d59;font-size:13px!important}
@media(max-width:430px){.ember-v2-shell .terms-principles{grid-template-columns:1fr}.ember-v2-shell .terms-status{align-items:flex-start;flex-direction:column}.ember-v2-shell .terms-status small{text-align:left}}

/* Ember 2.0.31 - catch-up interaction and privacy polish */
.ember-v2-shell .today-view .date-rail-shell{
  margin-left:-22px!important;
  width:calc(100% + 22px)!important;
}
.ember-v2-shell .today-view .date-rail-v2{padding-left:0!important;margin-left:0!important}
@media(max-width:560px){
  .ember-v2-shell .today-view .date-rail-shell{margin-left:-16px!important;width:calc(100% + 16px)!important}
}
.ember-v2-shell button.week-day.editable,.ember-v2-shell button.calendar-day.editable{
  border:0;outline:0;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
.ember-v2-shell button.week-day.editable:active,.ember-v2-shell button.calendar-day.editable:active{transform:scale(.96)}

.ember-v2-shell .profile-photo-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.ember-v2-shell .profile-photo-actions .profile-photo-control{margin-top:0}
.ember-v2-shell .profile-photo-remove{border:1px solid rgba(196,76,76,.22);background:#fff8f7;color:#b84d4d;border-radius:999px;padding:7px 10px;font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:5px;cursor:pointer}
.ember-v2-shell .photo-editor-backdrop{position:fixed;inset:0;z-index:120;background:rgba(29,31,29,.54);display:grid;place-items:center;padding:20px;backdrop-filter:blur(8px)}
.ember-v2-shell .photo-editor{width:min(390px,100%);background:var(--surface);border-radius:24px;padding:20px;box-shadow:0 24px 70px rgba(0,0,0,.24);display:grid;gap:12px}
.ember-v2-shell .photo-editor h3{margin:0;font-size:22px}
.ember-v2-shell .photo-editor p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.ember-v2-shell .photo-crop-window{width:240px;height:240px;border-radius:50%;overflow:hidden;justify-self:center;background:#ece8e2;position:relative;touch-action:none;cursor:grab;box-shadow:0 0 0 4px #fff,0 0 0 5px var(--line)}
.ember-v2-shell .photo-crop-window:active{cursor:grabbing}
.ember-v2-shell .photo-crop-window img{width:100%;height:100%;object-fit:cover;transform-origin:center center;user-select:none;pointer-events:none}
.ember-v2-shell .photo-zoom{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px;font-size:13px;font-weight:800}
.ember-v2-shell .photo-zoom input{width:100%;accent-color:var(--orange)}
.ember-v2-shell .photo-editor-actions{margin-top:2px}

.ember-v2-shell .sharing-intro{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:13px;border-radius:16px;background:#f8f4ef;border:1px solid var(--line);margin-bottom:12px}
.ember-v2-shell .sharing-intro svg{color:var(--orange)}
.ember-v2-shell .sharing-intro strong{display:block;margin-bottom:3px}
.ember-v2-shell .sharing-intro p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.ember-v2-shell .sharing-friend-list{display:grid;gap:8px;margin-bottom:14px}
.ember-v2-shell .sharing-friend-list>button{border:1px solid var(--line);background:#fff;border-radius:15px;padding:10px 12px;display:grid;grid-template-columns:auto 1fr 28px;align-items:center;gap:10px;text-align:left;cursor:pointer}
.ember-v2-shell .sharing-friend-list>button.selected{border-color:rgba(239,100,47,.4);background:#fff7f2}
.ember-v2-shell .sharing-friend-list>button i{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--orange);color:#fff;font-style:normal;opacity:0}
.ember-v2-shell .sharing-friend-list>button.selected i{opacity:1}
.ember-v2-shell .sharing-empty{padding:14px;border-radius:15px;background:#f7f4ef;color:var(--muted);font-size:13px}
.ember-v2-shell .accountability-tile{align-items:flex-start}
.ember-v2-shell .context-share-link{border:0;background:none;color:var(--orange);padding:4px 0 0;font-size:13px;font-weight:800;text-align:left;cursor:pointer}
.ember-v2-shell .goal-detail-toolbar>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}

.ember-v2-shell .pact-demo-note{padding:12px 14px;border-radius:15px;background:#fff7f2;border:1px solid rgba(239,100,47,.18);color:#695f59;font-size:13px;line-height:1.45;margin:0 0 12px}
.ember-v2-shell .pact-demo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.ember-v2-shell .pact-demo-actions button{min-height:44px;border-radius:13px;border:1px solid var(--line);background:#fff;font-weight:800;cursor:pointer}
.ember-v2-shell .pact-demo-actions button.danger{color:#b84d4d;background:#fff7f6;border-color:rgba(196,76,76,.24)}
.ember-v2-shell .friend-shared-goals{margin-top:14px}
.ember-v2-shell .friend-shared-goals>div{display:grid;gap:8px;margin-top:8px}
.ember-v2-shell .friend-shared-goals article{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--line);background:#fff;border-radius:15px}
.ember-v2-shell .friend-shared-goals article>div{display:grid;gap:2px}
.ember-v2-shell .friend-shared-goals article small{color:var(--muted);font-size:13px}

/* Ember 2.0.32: profile crop bounds, intentional sharing, invite-first People */
.ember-v2-shell .shared-friend-stack-wrap{display:flex;align-items:center;gap:7px;min-width:0;margin-top:4px}
.ember-v2-shell .shared-friend-stack{display:inline-flex;align-items:center;padding-left:4px}
.ember-v2-shell .shared-friend-stack .avatar{margin-left:-5px;border:2px solid #fff;box-shadow:0 1px 4px rgba(35,31,28,.08)}
.ember-v2-shell .shared-friend-stack .avatar:first-child{margin-left:0}
.ember-v2-shell .avatar.xs{width:24px;height:24px;font-size:10px}
.ember-v2-shell .shared-friend-extra{min-width:24px;height:24px;padding:0 5px;border-radius:999px;background:#f1ede8;color:#706d68;display:grid;place-items:center;font-size:11px;font-weight:800;border:2px solid #fff;margin-left:-5px}
.ember-v2-shell .shared-friend-stack-wrap>small{font-size:13px;color:var(--muted);white-space:normal;line-height:1.25}
.ember-v2-shell .commitment-main>.shared-friend-stack-wrap{margin-top:3px}
.ember-v2-shell .commitment-main>.shared-friend-stack-wrap>small{display:none}
.ember-v2-shell .accountability-tile .shared-friend-stack-wrap{margin-top:2px}
.ember-v2-shell .friend-invite-options{display:grid;gap:9px;margin-bottom:14px}
.ember-v2-shell .friend-invite-options>button{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:11px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;color:inherit}
.ember-v2-shell .friend-invite-options>button>svg{width:34px;height:34px;padding:8px;border-radius:11px;background:#f4efe9;color:var(--orange)}
.ember-v2-shell .friend-invite-options strong,.ember-v2-shell .friend-invite-options small{display:block}
.ember-v2-shell .friend-invite-options strong{font-size:14px}
.ember-v2-shell .friend-invite-options small{font-size:13px;color:var(--muted);margin-top:2px;line-height:1.3}
.ember-v2-shell .friend-invite-options .friend-invite-primary{border-color:rgba(239,100,47,.25);background:#fff8f3}
.ember-v2-shell .invite-qr-card{display:flex;flex-direction:column;align-items:center;gap:7px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:14px}
.ember-v2-shell .invite-qr-card strong{font-size:14px}.ember-v2-shell .invite-qr-card small{font-size:13px;color:var(--muted)}
.ember-v2-shell .demo-qr{width:154px;height:154px;padding:10px;background:#fff;border:1px solid #ddd6cf;border-radius:14px;display:grid;grid-template-columns:repeat(9,1fr);grid-template-rows:repeat(9,1fr);gap:2px}
.ember-v2-shell .demo-qr i{background:#f3eee8;border-radius:2px}.ember-v2-shell .demo-qr i.on{background:#2d302d}
.ember-v2-shell .friend-signal-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:14px 0}
.ember-v2-shell .friend-signal-actions button{min-height:44px;border-radius:14px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:750}
.ember-v2-shell .friend-signal-actions button:first-child{background:#fff7f0;border-color:rgba(239,100,47,.22);color:#c85b2f}

/* Ember 2.0.33: accountability without stakes + invite-first friend flow */
.ember-v2-shell .invite-link-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;padding:12px 14px;margin:0 0 14px;border:1px solid var(--line);border-radius:16px;background:#fff}
.ember-v2-shell .invite-link-card>small{grid-column:1/-1;font-size:10px;letter-spacing:.1em;font-weight:800;color:var(--muted)}
.ember-v2-shell .invite-link-card>p{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#5e5a55}
.ember-v2-shell .invite-link-card>button{display:inline-flex;align-items:center;gap:5px;border:0;background:#f5efe9;border-radius:10px;padding:8px 10px;font-weight:750;color:#393531}
.ember-v2-shell .primary-partner-toggle{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:16px;background:#fff;padding:12px 13px;margin:12px 0}
.ember-v2-shell .primary-partner-toggle>svg{width:32px;height:32px;padding:7px;border-radius:11px;background:#f4efe9;color:var(--orange)}
.ember-v2-shell .primary-partner-toggle strong,.ember-v2-shell .primary-partner-toggle small{display:block}.ember-v2-shell .primary-partner-toggle small{font-size:12px;line-height:1.3;color:var(--muted);margin-top:2px}
.ember-v2-shell .primary-partner-toggle.selected{background:#fff7f1;border-color:rgba(239,100,47,.28)}
.ember-v2-shell .friend-weekly-recap{border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px;margin:12px 0}
.ember-v2-shell .friend-weekly-recap header{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.ember-v2-shell .friend-weekly-recap header>b{font-size:18px}
.ember-v2-shell .friend-weekly-recap>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ember-v2-shell .friend-weekly-recap>div>span{display:flex;flex-direction:column;padding:9px;border-radius:12px;background:#f8f5f1}.ember-v2-shell .friend-weekly-recap>div b{font-size:16px}.ember-v2-shell .friend-weekly-recap>div small{font-size:10px;color:var(--muted);margin-top:2px}
.ember-v2-shell .friend-weekly-recap>p{margin:10px 0 0;font-size:12px;line-height:1.4;color:var(--muted)}
.ember-v2-shell .commitment-note-card{display:grid;gap:8px;margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff}
.ember-v2-shell .commitment-note-card textarea{width:100%;min-height:80px;resize:vertical;border:1px solid var(--line);border-radius:12px;padding:10px 11px;font:inherit;font-size:13px;line-height:1.4;color:var(--text);background:#fbfaf8;box-sizing:border-box}
.ember-v2-shell .commitment-note-card button{justify-self:start}
.ember-v2-shell .photo-crop-window{contain:paint}

/* Ember 2.0.35: friend history + intentional Crews */
.ember-v2-shell .calendar-day>i{right:3px;bottom:3px;display:flex;align-items:center;justify-content:center;line-height:1;overflow:visible}
.ember-v2-shell .calendar-day .status-x{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:13px;line-height:12px;transform:translateY(-.25px)}
.ember-v2-shell .calendar-day .status-mixed{font-size:8px;line-height:1;font-weight:900;white-space:nowrap}
.ember-v2-shell .week-day .status-mixed{font-size:11px;line-height:1;font-weight:900;white-space:nowrap}
.ember-v2-shell .friend-seven{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px;margin:12px 0}
.ember-v2-shell .friend-seven header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.ember-v2-shell .friend-seven header small{font-size:11px;color:var(--muted)}
.ember-v2-shell .friend-seven-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.ember-v2-shell .friend-day{min-width:0;border-radius:11px;background:#f1ede7;padding:7px 2px;display:flex;flex-direction:column;align-items:center;gap:4px}.ember-v2-shell .friend-day small{font-size:9px;font-weight:800;color:#8b8f8b}.ember-v2-shell .friend-day b{font-size:11px}.ember-v2-shell .friend-day i{width:19px;height:19px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;background:#e4e0da}.ember-v2-shell .friend-day.complete{background:var(--green-soft)}.ember-v2-shell .friend-day.complete i{background:var(--green);color:#fff}.ember-v2-shell .friend-day.missed{background:var(--red-soft)}.ember-v2-shell .friend-day.missed i{background:var(--red);color:#fff;font-size:17px;line-height:1}.ember-v2-shell .friend-day.unlogged{background:#fff;border:1px solid #e0dbd5}.ember-v2-shell .friend-day.unlogged i{background:#fff;border:1px solid #cbc7c1}.ember-v2-shell .friend-day.off{opacity:.55}
.ember-v2-shell .crew-heading{align-items:flex-end}.ember-v2-shell .crew-heading p{margin:3px 0 0;font-size:12px;color:var(--muted)}.ember-v2-shell .plus-mini{font-size:10px;font-weight:850;color:var(--orange);background:var(--orange-soft);padding:5px 8px;border-radius:999px}.ember-v2-shell .crew-stack{display:grid;gap:9px}.ember-v2-shell .crew-card{display:grid;gap:11px}.ember-v2-shell .crew-title-line{display:flex;align-items:center;gap:7px}.ember-v2-shell .crew-title-line em{font-style:normal;font-size:9px;color:var(--orange);background:var(--orange-soft);border-radius:999px;padding:3px 6px;font-weight:800}.ember-v2-shell .crew-card-sprint{border-top:1px solid var(--line);padding-top:10px;display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center}.ember-v2-shell .crew-card-sprint small{font-size:9px;color:var(--orange);font-weight:850;letter-spacing:.08em}.ember-v2-shell .crew-card-sprint strong{font-size:12px}.ember-v2-shell .crew-card-sprint span{font-size:11px;color:var(--muted);grid-column:2;grid-row:1/3}
.ember-v2-shell .crew-purpose{display:grid;grid-template-columns:42px 1fr;gap:11px;align-items:center;background:#fff7f0;border:1px solid rgba(239,100,47,.18);border-radius:18px;padding:14px}.ember-v2-shell .crew-purpose-icon{width:40px;height:40px;border-radius:13px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}.ember-v2-shell .crew-purpose strong{font-size:15px}.ember-v2-shell .crew-purpose p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.4}
.ember-v2-shell .crew-momentum{margin-top:12px;border-radius:19px;background:#262a28;color:#fff;padding:16px;display:flex;align-items:end;justify-content:space-between}.ember-v2-shell .crew-momentum>div:first-child{display:grid}.ember-v2-shell .crew-momentum .eyebrow{color:#b7bdb8}.ember-v2-shell .crew-momentum strong{font-size:31px;line-height:1;margin-top:4px}.ember-v2-shell .crew-momentum small{font-size:11px;color:#b7bdb8;margin-top:4px}.ember-v2-shell .crew-member-avatars{display:flex;padding-left:8px}.ember-v2-shell .crew-member-avatars .avatar{margin-left:-8px;border:2px solid #262a28}
.ember-v2-shell .crew-sprint,.ember-v2-shell .crew-insights,.ember-v2-shell .crew-milestones{margin-top:12px;border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px}.ember-v2-shell .crew-sprint header{display:flex;justify-content:space-between;align-items:start}.ember-v2-shell .crew-sprint h3{font-size:16px;margin:3px 0}.ember-v2-shell .crew-sprint header>b{font-size:18px;color:var(--orange)}.ember-v2-shell .crew-sprint>p{font-size:12px;color:var(--muted);margin:7px 0}.ember-v2-shell .crew-sprint-bar{height:7px;border-radius:99px;background:#eee9e3;overflow:hidden}.ember-v2-shell .crew-sprint-bar i{display:block;height:100%;background:var(--orange);border-radius:inherit}.ember-v2-shell .crew-sprint footer{display:flex;justify-content:space-between;margin-top:8px;font-size:11px}.ember-v2-shell .crew-sprint footer span{color:var(--muted)}
.ember-v2-shell .crew-mode-explainer{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.ember-v2-shell .crew-mode-explainer article{border:1px solid var(--line);border-radius:16px;background:#faf8f5;padding:12px;display:grid;grid-template-columns:25px 1fr;gap:6px;color:#2b3448}.ember-v2-shell .crew-mode-explainer svg{color:var(--orange)}.ember-v2-shell .crew-mode-explainer strong{font-size:12px}.ember-v2-shell .crew-mode-explainer p{font-size:10px;line-height:1.4;color:var(--muted);margin:3px 0 0}.ember-v2-shell .crew-insights>div{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}.ember-v2-shell .crew-insights>div>span{display:grid;background:#f6f2ed;border-radius:11px;padding:8px}.ember-v2-shell .crew-insights b{font-size:14px}.ember-v2-shell .crew-insights small{font-size:9px;color:var(--muted)}.ember-v2-shell .crew-insights>p{font-size:11px;color:var(--muted);margin:8px 0 0}.ember-v2-shell .crew-milestones{display:grid;gap:7px}.ember-v2-shell .crew-milestones>div{display:flex;align-items:center;gap:8px;font-size:12px}.ember-v2-shell .crew-milestones svg{color:var(--orange)}

/* Ember 2.0.36: premium identity, intentional Crews + real Ember+ intelligence */
.ember-v2-shell .premium-wordmark .mark{
  background:linear-gradient(145deg,#ff8a3d 0%,#f25534 54%,#c74070 100%);
  box-shadow:0 7px 20px rgba(225,76,61,.3),0 0 0 3px rgba(242,91,52,.06);
}
.ember-v2-shell .premium-wordmark strong{display:flex;align-items:baseline}
.ember-v2-shell .premium-wordmark strong em{font-style:normal;color:#cf4666;margin-left:1px;font-weight:900}
.ember-v2-shell .premium-flame-tile{
  display:grid;
  place-items:center;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(145deg,rgba(255,138,61,.22),rgba(199,64,112,.2));
  color:#ff9560;
}
.ember-v2-shell .plus-card-intelligence{padding:16px}
.ember-v2-shell .plus-primary-insight{margin:14px 0 10px;padding:13px 14px;border-radius:15px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.06)}
.ember-v2-shell .plus-primary-insight header{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}
.ember-v2-shell .plus-primary-insight header span{font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#f2a37f}
.ember-v2-shell .plus-primary-insight header small{font-size:10px;color:#9fa7a1}
.ember-v2-shell .plus-primary-insight h3{font-size:16px;line-height:1.2;margin:0 0 5px;color:#fff}
.ember-v2-shell .plus-primary-insight p{margin:0;color:#c2c8c3;font-size:12px;line-height:1.45}
.ember-v2-shell .plus-primary-insight.good{border-color:rgba(95,190,140,.2)}
.ember-v2-shell .plus-primary-insight.watch{border-color:rgba(255,137,86,.24)}
.ember-v2-shell .plus-secondary-insights{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}
.ember-v2-shell .plus-secondary-insights>span{display:grid;gap:3px;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.05);min-width:0}
.ember-v2-shell .plus-secondary-insights b{font-size:11px;line-height:1.25;color:#f7f8f6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ember-v2-shell .plus-secondary-insights small{font-size:9px;color:#9fa7a1}
.ember-v2-shell .plus-card-intelligence>button{display:flex;align-items:center;justify-content:center;gap:4px}

.ember-v2-shell .insights-hero{display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:start;padding:15px;border-radius:19px;background:linear-gradient(145deg,#282d29,#202320);color:#fff}
.ember-v2-shell .plus-insight-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,rgba(255,138,61,.28),rgba(199,64,112,.24));color:#ff9560}
.ember-v2-shell .insights-hero .eyebrow{color:#f1a17d}.ember-v2-shell .insights-hero h3{margin:4px 0 5px;font-size:20px;line-height:1.15}.ember-v2-shell .insights-hero p{margin:0;color:#c3c9c4;font-size:12px;line-height:1.5}
.ember-v2-shell .insight-list{display:grid;gap:10px;margin-top:12px}
.ember-v2-shell .insight-detail{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px}.ember-v2-shell .insight-detail.watch{border-color:rgba(239,100,47,.22)}.ember-v2-shell .insight-detail.good{border-color:rgba(39,144,101,.2)}
.ember-v2-shell .insight-detail>header{display:flex;align-items:center;justify-content:space-between}.ember-v2-shell .insight-detail>header span{font-size:9px;font-weight:850;letter-spacing:.08em;color:var(--orange);text-transform:uppercase}.ember-v2-shell .insight-detail>header b{font-size:10px;color:var(--muted);background:#f4f1ed;padding:4px 7px;border-radius:999px}
.ember-v2-shell .insight-detail h4{margin:10px 0 4px;font-size:16px}.ember-v2-shell .insight-detail>p{margin:0 0 12px;font-size:12px;line-height:1.5;color:var(--muted)}
.ember-v2-shell .insight-proof,.ember-v2-shell .insight-action{display:grid;gap:3px;padding:10px 11px;border-radius:12px;background:#f7f4f0;margin-top:7px}.ember-v2-shell .insight-proof strong,.ember-v2-shell .insight-action strong{font-size:10px}.ember-v2-shell .insight-proof span,.ember-v2-shell .insight-action span{font-size:11px;line-height:1.45;color:var(--muted)}.ember-v2-shell .insight-action{background:#fff5ee}.ember-v2-shell .insight-action strong{color:var(--orange)}
.ember-v2-shell .insight-method{display:grid;grid-template-columns:22px 1fr;gap:8px;margin-top:12px;padding:12px;border-radius:14px;background:#f6f3ef;color:#606761}.ember-v2-shell .insight-method p{margin:0;font-size:11px;line-height:1.45}

.ember-v2-shell .crew-heading{align-items:flex-end}
.ember-v2-shell .crew-title-line em{font-size:9px}
.ember-v2-shell .crew-challenge header svg{color:var(--orange)}
.ember-v2-shell .challenge-type{display:block;font-size:10px;color:var(--muted);font-weight:700;margin-top:2px}
.ember-v2-shell .challenge-leader{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;background:#fff5ee;border-radius:12px;margin:10px 0 8px;font-size:11px}.ember-v2-shell .challenge-leader span{color:var(--muted)}.ember-v2-shell .challenge-leader strong{font-size:11px}
.ember-v2-shell .challenge-standings{display:grid;gap:5px}.ember-v2-shell .challenge-standings>div{display:grid;grid-template-columns:20px 24px 1fr auto;gap:7px;align-items:center;padding:6px 7px;border-radius:10px;background:#f8f5f1}.ember-v2-shell .challenge-standings>div>b{font-size:10px;color:var(--muted)}.ember-v2-shell .challenge-standings>div>strong{font-size:11px}.ember-v2-shell .challenge-standings>div>span:last-child{font-size:11px;font-weight:850}
.ember-v2-shell .challenge-button{width:100%;margin-top:9px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:8px;font-size:11px;font-weight:800;color:var(--ink)}
.ember-v2-shell .crew-week-summary{padding-top:10px;padding-bottom:10px}.ember-v2-shell .crew-week-summary>div{margin-top:0}
.ember-v2-shell .crew-members-section{margin-top:12px;border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px}.ember-v2-shell .crew-members-section>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.ember-v2-shell .crew-members-section>header small{font-size:10px;color:var(--muted)}.ember-v2-shell .crew-members-section>div{display:grid}.ember-v2-shell .crew-members-section article{display:grid;grid-template-columns:32px 1fr;gap:9px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.ember-v2-shell .crew-members-section article:first-child{border-top:0}.ember-v2-shell .crew-members-section article>span:last-child{display:grid}.ember-v2-shell .crew-members-section article strong{font-size:11px}.ember-v2-shell .crew-members-section article small{font-size:10px;color:var(--muted);margin-top:2px}
.ember-v2-shell .create-crew-intro{display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:start;padding:13px;border-radius:16px;background:#fff5ee;margin-bottom:14px}.ember-v2-shell .create-crew-intro>svg{color:var(--orange);margin-top:2px}.ember-v2-shell .create-crew-intro strong{font-size:13px}.ember-v2-shell .create-crew-intro p{margin:3px 0 0;font-size:11px;line-height:1.45;color:var(--muted)}


/* Ember 2.0.37: Challenges, score coaching, insight depth, settings cleanup */
.ember-v2-shell .profile-membership-line{white-space:nowrap;font-size:12px!important}
.ember-v2-shell .challenge-heading{align-items:flex-start}.ember-v2-shell .challenge-heading p{margin:2px 0 0;color:var(--muted);font-size:12px;line-height:1.35}
.ember-v2-shell .challenge-stack{display:grid;gap:10px}.ember-v2-shell .challenge-card{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:14px;display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;text-align:left}.ember-v2-shell .challenge-card-icon{width:38px;height:38px;border-radius:13px;background:#fff2ea;color:var(--orange);display:grid;place-items:center}.ember-v2-shell .challenge-card-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.ember-v2-shell .challenge-card-title{display:flex;gap:7px;align-items:center}.ember-v2-shell .challenge-card-title strong{font-size:14px}.ember-v2-shell .challenge-card-title em{font-style:normal;font-size:9px;font-weight:850;color:var(--orange);background:#fff0e8;border-radius:999px;padding:3px 6px}.ember-v2-shell .challenge-card-copy small,.ember-v2-shell .challenge-card-copy p{font-size:11px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ember-v2-shell .challenge-card-leader{display:flex;flex-direction:column;align-items:flex-end}.ember-v2-shell .challenge-card-leader small{font-size:9px;color:var(--muted)}.ember-v2-shell .challenge-card-leader strong{font-size:12px}
.ember-v2-shell .create-challenge-intro,.ember-v2-shell .challenge-detail-hero{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:13px;border:1px solid rgba(239,100,47,.2);background:#fff8f4;border-radius:17px;margin-bottom:12px}.ember-v2-shell .create-challenge-intro p,.ember-v2-shell .challenge-detail-hero p{margin:3px 0 0;font-size:12px;color:var(--muted);line-height:1.4}.ember-v2-shell .challenge-type-picker,.ember-v2-shell .challenge-duration{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:10px 0}.ember-v2-shell .challenge-duration{grid-template-columns:repeat(4,1fr)}.ember-v2-shell .challenge-type-picker button,.ember-v2-shell .challenge-duration button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px;font-weight:750;font-size:12px}.ember-v2-shell .challenge-type-picker button.selected,.ember-v2-shell .challenge-duration button.selected{border-color:var(--orange);background:var(--orange-soft);color:var(--orange)}.ember-v2-shell .builder-field select{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px;font:inherit}.ember-v2-shell .challenge-friend-picker{display:grid;gap:6px;margin:12px 0}.ember-v2-shell .challenge-friend-picker>strong{font-size:12px}.ember-v2-shell .challenge-friend-picker button{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px;text-align:left}.ember-v2-shell .challenge-friend-picker button.selected{border-color:rgba(39,144,101,.35);background:#f0faf5}.ember-v2-shell .challenge-big-icon{width:42px;height:42px;border-radius:14px;background:#fff0e8;color:var(--orange);display:grid;place-items:center}.ember-v2-shell .challenge-detail-progress,.ember-v2-shell .challenge-standings-card{border:1px solid var(--line);background:#fff;border-radius:17px;padding:13px;margin-top:10px}.ember-v2-shell .challenge-detail-progress header{display:flex;justify-content:space-between;font-size:12px}.ember-v2-shell .challenge-detail-progress i{display:block;height:6px;background:#ece8e3;border-radius:10px;margin-top:10px;overflow:hidden}.ember-v2-shell .challenge-detail-progress i b{display:block;height:100%;background:var(--orange);border-radius:10px}.ember-v2-shell .challenge-standings-card>div{display:grid;grid-template-columns:20px auto 1fr auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px}.ember-v2-shell .challenge-standings-card>div:last-child{border-bottom:0}.ember-v2-shell .challenge-note{font-size:11px;line-height:1.45;color:var(--muted);margin:12px 2px}
.ember-v2-shell .score-level-path{border:1px solid var(--line);background:#fff;border-radius:18px;padding:13px;margin-bottom:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.ember-v2-shell .score-level-path>div{display:flex;flex-direction:column;gap:2px}.ember-v2-shell .score-level-path small{font-size:9px;letter-spacing:.08em;font-weight:850;color:var(--muted)}.ember-v2-shell .score-level-path strong{font-size:15px}.ember-v2-shell .score-level-path span{font-size:11px;color:var(--orange);font-weight:750}.ember-v2-shell .score-level-path>i{grid-column:1/-1;height:6px;background:#ece8e3;border-radius:10px;overflow:hidden}.ember-v2-shell .score-level-path>i b{display:block;height:100%;background:var(--orange);border-radius:10px}.ember-v2-shell .score-improve{margin-top:9px;border-top:1px dashed var(--line);padding-top:8px}.ember-v2-shell .score-improve summary{cursor:pointer;color:var(--orange);font-size:11px;font-weight:800}.ember-v2-shell .score-improve p{margin-top:6px!important}.ember-v2-shell .score-drivers{margin-top:12px;border:1px solid var(--line);background:#fff;border-radius:18px;padding:13px}.ember-v2-shell .score-driver-group{margin-top:11px}.ember-v2-shell .score-driver-group>strong{display:block;font-size:12px;margin-bottom:4px}.ember-v2-shell .score-driver-group.helping>strong{color:var(--green)}.ember-v2-shell .score-driver-group.hindering>strong{color:#b34b46}.ember-v2-shell .score-driver-group article{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.ember-v2-shell .score-driver-group article:last-child{border-bottom:0}.ember-v2-shell .score-driver-group article>div{display:flex;flex-direction:column;gap:2px}.ember-v2-shell .score-driver-group article span{font-size:12px;font-weight:750}.ember-v2-shell .score-driver-group article small{font-size:10px;line-height:1.35;color:var(--muted)}.ember-v2-shell .score-driver-group article b{font-size:12px}
.ember-v2-shell .insight-deeper{margin-top:10px}.ember-v2-shell .insight-deeper summary{cursor:pointer;font-size:11px;font-weight:850;color:var(--orange);padding:8px 0}.ember-v2-shell .insight-rabbit-hole{margin-top:8px;padding:10px;background:#f5f2ed;border-radius:12px}.ember-v2-shell .insight-rabbit-hole>strong{font-size:10px;text-transform:uppercase;letter-spacing:.06em}.ember-v2-shell .insight-rabbit-hole p{font-size:11px;line-height:1.4;margin:6px 0 0;color:var(--muted)}
.ember-v2-shell .grouped-settings{overflow:visible;background:transparent;border:0;border-radius:0}.ember-v2-shell .grouped-settings button{background:var(--surface);border-left:1px solid var(--line);border-right:1px solid var(--line)}.ember-v2-shell .grouped-settings button:first-of-type{border-top:1px solid var(--line);border-radius:16px 16px 0 0}.ember-v2-shell .grouped-settings .settings-group-label{font-size:10px;font-weight:850;letter-spacing:.09em;color:#8c8179;margin:16px 3px 6px;text-transform:uppercase}.ember-v2-shell .grouped-settings .settings-group-label+button{border-top:1px solid var(--line);border-radius:16px 16px 0 0}.ember-v2-shell .grouped-settings button:has(+ .settings-group-label){border-radius:0 0 16px 16px;border-bottom:1px solid var(--line)}.ember-v2-shell .grouped-settings button:last-child{border-bottom:1px solid var(--line);border-radius:0 0 16px 16px}

/* Ember 2.0.38 — intentional premium system, themes, challenges and insight readability */
.ember-v2-shell{
  --premium-gradient:linear-gradient(135deg,#ff7a36 0%,#f04a35 48%,#c92f68 100%);
  --premium-shadow:0 8px 20px rgba(220,67,67,.24);
}
.ember-v2-shell.theme-ember{--bg:#f5f2ed;--surface:#fffdfa;--surface2:#f0ece6;--orange:#ef642f;--orange2:#ff8b4c;--orange-soft:#fff0e7}
.ember-v2-shell.theme-sunset{--bg:#f6efec;--surface:#fffaf8;--surface2:#f2e8e3;--orange:#e95735;--orange2:#f77b57;--orange-soft:#fff0ea}
.ember-v2-shell.theme-sage{--bg:#f0f3ee;--surface:#fcfdf9;--surface2:#e9eee7;--orange:#d85f3d;--orange2:#ee805b;--orange-soft:#faeee8;--ice:#6f8f7b;--ice-soft:#edf4ef}
.ember-v2-shell.theme-dusk{--bg:#f0f1f4;--surface:#fdfcff;--surface2:#e9eaf0;--orange:#df6040;--orange2:#f18462;--orange-soft:#fbede9;--ice:#687b9e;--ice-soft:#edf0f7}

/* Ember+ always uses one canonical deeper gradient, regardless of app theme. */
.ember-v2-shell .premium-wordmark .mark,
.ember-v2-shell .premium-flame-tile,
.ember-v2-shell .paywall-mark,
.ember-v2-shell .premium-gradient-badge{
  background:var(--premium-gradient)!important;
  color:#fff!important;
  box-shadow:var(--premium-shadow)!important;
}
.ember-v2-shell .premium-wordmark strong em{color:#d83b56;font-style:normal}
.ember-v2-shell .premium-gradient-badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:24px;padding:4px 8px;border-radius:999px;
  font-size:13px;font-weight:850;line-height:1;letter-spacing:-.01em;
}
.ember-v2-shell .premium-section-title{display:flex;align-items:center;gap:8px;min-width:0}
.ember-v2-shell .premium-section-title h2{margin:4px 0 0}

/* Challenges: simpler section and stronger presence on Today. */
.ember-v2-shell .challenge-heading{align-items:center}
.ember-v2-shell .challenge-card-title em{display:none!important}
.ember-v2-shell .today-card.challenge-priority{border-color:rgba(239,100,47,.36);box-shadow:0 6px 18px rgba(239,100,47,.08)}
.ember-v2-shell .challenge-mini{background:#fff0e7;color:#d9572f;border-radius:999px;padding:3px 7px;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ember-v2-shell .challenge-schedule{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .challenge-schedule>strong{font-size:13px}
.ember-v2-shell .challenge-schedule-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.ember-v2-shell .challenge-schedule-modes button,.ember-v2-shell .challenge-day-picker button{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-height:39px;font-size:13px;font-weight:750}
.ember-v2-shell .challenge-schedule-modes button.selected,.ember-v2-shell .challenge-day-picker button.selected{border-color:var(--orange);background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .challenge-day-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.ember-v2-shell .challenge-day-picker button{min-height:38px;padding:0}
.ember-v2-shell .challenge-schedule p{font-size:13px;line-height:1.45;color:var(--muted);margin:0}
.ember-v2-shell .challenge-join-note{padding:14px;background:var(--surface2);border-radius:16px;margin-top:10px}
.ember-v2-shell .challenge-join-note strong{font-size:13px}.ember-v2-shell .challenge-join-note p{font-size:13px;color:var(--muted);line-height:1.45;margin:4px 0 0}

/* Compact score card shows the score only. Level context lives in the detail sheet. */
.ember-v2-shell .score-card .ring-content small{display:none}
.ember-v2-shell .score-card .ring-content b{font-size:22px}

/* Ember+ Insights: visual first, text second, with a drill-down rabbit hole. */
.ember-v2-shell .insight-visual-hero{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:start;padding:16px;border-radius:20px;background:#222724;color:#fff}
.ember-v2-shell .insight-visual-hero .plus-insight-mark{width:48px;height:48px;border-radius:16px;display:grid;place-items:center}
.ember-v2-shell .insight-visual-hero .eyebrow{color:#ffad87}
.ember-v2-shell .insight-visual-hero h3{font-size:20px;line-height:1.08;margin:4px 0 3px;letter-spacing:-.03em}
.ember-v2-shell .insight-visual-hero p{font-size:13px;line-height:1.45;color:#c7ccc8;margin:4px 0 0}
.ember-v2-shell .insight-big-number{display:block;font-size:31px;line-height:1;margin:9px 0 3px;color:#fff}
.ember-v2-shell .insight-signal-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.ember-v2-shell .insight-signal-grid article{position:relative;padding:13px;border:1px solid var(--line);border-radius:17px;background:var(--surface);display:grid;grid-template-columns:auto 1fr;gap:3px 8px;align-items:center}
.ember-v2-shell .insight-signal-grid article>span{grid-row:1/4;width:34px;height:34px;border-radius:11px;display:grid;place-items:center}
.ember-v2-shell .insight-signal-grid article.helping>span{background:var(--green-soft);color:var(--green)}
.ember-v2-shell .insight-signal-grid article.hindering>span{background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .insight-signal-grid small{font-size:13px;color:var(--muted)}
.ember-v2-shell .insight-signal-grid strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ember-v2-shell .insight-signal-grid b{font-size:17px}
.ember-v2-shell .insight-action-card{margin-top:10px;padding:14px;border-radius:17px;background:linear-gradient(135deg,#fff6ef,#fffaf8);border:1px solid rgba(239,100,47,.18);display:grid;grid-template-columns:37px 1fr;gap:10px;align-items:center}
.ember-v2-shell .insight-action-card>span{width:37px;height:37px;border-radius:12px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}
.ember-v2-shell .insight-action-card small{display:block;color:var(--orange);font-size:13px;font-weight:850;letter-spacing:.08em}
.ember-v2-shell .insight-action-card strong{font-size:14px;line-height:1.35}
.ember-v2-shell .insight-list.compact{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .insight-drill{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.ember-v2-shell .insight-drill summary{list-style:none;cursor:pointer;padding:13px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.ember-v2-shell .insight-drill summary::-webkit-details-marker{display:none}
.ember-v2-shell .insight-drill summary>span{display:flex;flex-direction:column;gap:2px;min-width:0}
.ember-v2-shell .insight-drill summary strong{font-size:14px;line-height:1.3}
.ember-v2-shell .insight-drill summary small{font-size:13px;color:var(--muted)}
.ember-v2-shell .insight-drill[open] summary svg{transform:rotate(90deg)}
.ember-v2-shell .insight-drill-body{border-top:1px solid var(--line);padding:12px 14px;display:grid;gap:10px}
.ember-v2-shell .insight-drill-body>div{padding:11px;border-radius:13px;background:var(--surface2)}
.ember-v2-shell .insight-drill-body b,.ember-v2-shell .insight-drill-body p{font-size:13px}
.ember-v2-shell .insight-drill-body p{color:var(--muted);line-height:1.45;margin:3px 0 0}
.ember-v2-shell .insight-method{margin-top:12px}
.ember-v2-shell .insight-method p,.ember-v2-shell .insight-method strong{font-size:13px!important}

/* Account + premium theme personalization. */
.ember-v2-shell .account-note,.ember-v2-shell .theme-intro{font-size:13px;color:var(--muted);line-height:1.5}
.ember-v2-shell .theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0}
.ember-v2-shell .theme-choice{position:relative;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:12px;text-align:left;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:2px 9px;align-items:center;min-height:82px}
.ember-v2-shell .theme-choice.selected{border:2px solid var(--orange);padding:11px}
.ember-v2-shell .theme-choice>svg{position:absolute;right:10px;top:10px;color:var(--orange)}
.ember-v2-shell .theme-choice strong{font-size:14px}.ember-v2-shell .theme-choice small{font-size:13px;color:var(--muted)}
.ember-v2-shell .theme-swatch{grid-row:1/3;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#f5f2ed;border:1px solid rgba(0,0,0,.05)}
.ember-v2-shell .theme-swatch i{width:22px;height:22px;border-radius:8px;background:#ef642f}
.ember-v2-shell .theme-sunset .theme-swatch{background:#f6efec}.ember-v2-shell .theme-sunset .theme-swatch i{background:#e95735}
.ember-v2-shell .theme-sage .theme-swatch{background:#f0f3ee}.ember-v2-shell .theme-sage .theme-swatch i{background:#d85f3d}
.ember-v2-shell .theme-dusk .theme-swatch{background:#f0f1f4}.ember-v2-shell .theme-dusk .theme-swatch i{background:#687b9e}
.ember-v2-shell .theme-done{width:100%;margin-top:6px}

/* Readability guardrail: no supporting UI text below 13px. */
.ember-v2-shell small{font-size:13px!important}
.ember-v2-shell .settings-group-label,.ember-v2-shell .challenge-card-copy p,.ember-v2-shell .challenge-card-copy small,.ember-v2-shell .sheet-body label>span{font-size:13px!important}

/* Ember 2.0.39 — identity, score ladder, challenge flexibility, and distinct light/dark themes */
.ember-v2-shell .premium-gradient-badge{text-transform:none}
.ember-v2-shell .profile-hero{padding-bottom:22px}
.ember-v2-shell .profile-hero .profile-photo-controls{display:none!important}
.ember-v2-shell .account-photo-block{padding:13px;border:1px solid var(--line);border-radius:18px;background:var(--surface);margin-bottom:12px}
.ember-v2-shell .account-photo-row{display:flex;align-items:center;gap:12px;margin-top:8px}
.ember-v2-shell .account-photo-row .profile-photo-actions{display:flex!important;flex-wrap:wrap;gap:7px}
.ember-v2-shell .account-photo-row .profile-photo-actions button,.ember-v2-shell .account-photo-row .profile-photo-actions label{font-size:13px}
.ember-v2-shell .account-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
@media(max-width:430px){.ember-v2-shell .account-name-grid{grid-template-columns:1fr}}
.ember-v2-shell .challenge-duration{grid-template-columns:repeat(5,1fr)!important}
.ember-v2-shell .challenge-custom-duration{margin-top:9px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:end}
.ember-v2-shell .challenge-custom-duration label{display:flex;flex-direction:column;gap:5px}.ember-v2-shell .challenge-custom-duration label span{font-size:13px;font-weight:800}
.ember-v2-shell .challenge-custom-duration input{width:100%;min-width:0;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:10px;font-size:13px}
.ember-v2-shell .challenge-duration-or{font-size:13px;color:var(--muted);padding-bottom:10px}.ember-v2-shell .challenge-custom-duration p{grid-column:1/-1;margin:1px 0 0;font-size:13px;color:var(--muted)}
@media(max-width:460px){.ember-v2-shell .challenge-custom-duration{grid-template-columns:1fr}.ember-v2-shell .challenge-duration-or{padding:0;text-align:center}}
.ember-v2-shell .score-components{background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;display:flex;flex-direction:column;gap:9px}
.ember-v2-shell .score-components article{background:var(--surface);border:1px solid var(--line)!important;border-radius:18px;padding:14px!important}
.ember-v2-shell .score-level-ladder{margin:0 0 12px;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden}
.ember-v2-shell .score-level-ladder summary{cursor:pointer;list-style:none;padding:13px 14px;font-size:13px;font-weight:850;color:var(--orange);display:flex;justify-content:space-between;align-items:center}
.ember-v2-shell .score-level-ladder summary::-webkit-details-marker{display:none}.ember-v2-shell .score-level-ladder>div{border-top:1px solid var(--line);padding:9px;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ember-v2-shell .score-level-ladder span{position:relative;padding:9px 10px;border-radius:12px;background:var(--surface2);display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px}
.ember-v2-shell .score-level-ladder span.active{box-shadow:inset 0 0 0 1.5px var(--orange);background:var(--orange-soft)}
.ember-v2-shell .score-level-ladder b{font-size:13px}.ember-v2-shell .score-level-ladder small{font-size:13px!important;color:var(--muted)}.ember-v2-shell .score-level-ladder em{grid-column:1/-1;font-style:normal;color:var(--orange);font-size:13px;font-weight:800}
.ember-v2-shell .insight-signal-grid strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.2}.ember-v2-shell .insight-signal-grid article{min-width:0}
.ember-v2-shell.theme-ember{--bg:#f6f1ea;--surface:#fffdfa;--surface2:#eee8df;--ink:#1f2421;--muted:#737871;--line:rgba(31,36,33,.11);--orange:#ef642f;--orange2:#ff8b4c;--orange-soft:#fff0e7}
.ember-v2-shell.theme-sage{--bg:#e9efe8;--surface:#fbfdf8;--surface2:#dfe9df;--ink:#1e2922;--muted:#68756c;--line:rgba(38,62,47,.13);--orange:#d95d3f;--orange2:#ef805f;--orange-soft:#faebe6;--ice:#5f816d;--ice-soft:#e7f1ea}
.ember-v2-shell.theme-dawn{--bg:#f8ebe5;--surface:#fff9f5;--surface2:#f2ddd5;--ink:#2a211f;--muted:#7f6f69;--line:rgba(76,45,37,.12);--orange:#ef5e38;--orange2:#ff9566;--orange-soft:#ffe8de}
.ember-v2-shell.theme-cinder{--bg:#171513;--surface:#24211e;--surface2:#302b27;--ink:#f6efe8;--muted:#b8aaa0;--line:rgba(255,238,224,.12);--orange:#ff6a3c;--orange2:#ff9a63;--orange-soft:#3c251f;--green:#55b88c;--green-soft:#18342a;--red:#ef7774;--red-soft:#3b2223;--ice:#8ba7c4;--ice-soft:#222d38}
.ember-v2-shell.theme-midnight{--bg:#111724;--surface:#1b2433;--surface2:#252f40;--ink:#f3f6fb;--muted:#a8b3c2;--line:rgba(226,235,248,.12);--orange:#ff7046;--orange2:#ff9a68;--orange-soft:#352524;--green:#56bb91;--green-soft:#17352c;--red:#ef7878;--red-soft:#3a2229;--ice:#8ca9da;--ice-soft:#202c45}
.ember-v2-shell.theme-charcoal{--bg:#202224;--surface:#2b2e30;--surface2:#363a3d;--ink:#f4f3ef;--muted:#b6b8b7;--line:rgba(255,255,255,.11);--orange:#f2683e;--orange2:#ff9562;--orange-soft:#3d2a24;--green:#5bb68d;--green-soft:#1b342b;--red:#e87978;--red-soft:#3d2525;--ice:#91a9bd;--ice-soft:#29343d}
.ember-v2-shell.theme-sunset{--bg:#f8ebe5;--surface:#fff9f5;--surface2:#f2ddd5;--ink:#2a211f;--muted:#7f6f69;--line:rgba(76,45,37,.12);--orange:#ef5e38;--orange2:#ff9566;--orange-soft:#ffe8de}
.ember-v2-shell.theme-dusk{--bg:#111724;--surface:#1b2433;--surface2:#252f40;--ink:#f3f6fb;--muted:#a8b3c2;--line:rgba(226,235,248,.12);--orange:#ff7046;--orange2:#ff9a68;--orange-soft:#352524}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk){background:radial-gradient(circle at 12% -8%,rgba(255,105,61,.16),transparent 27%),var(--bg)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .topbar{background:linear-gradient(var(--bg) 72%,transparent)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .bottom-nav{background:color-mix(in srgb,var(--surface) 92%,transparent);border-color:var(--line)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) input,.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) textarea,.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) select{background:var(--surface);color:var(--ink);border-color:var(--line)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .secondary{background:var(--surface2);color:var(--ink)}.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .icon-button.ghost{background:rgba(255,255,255,.08)}
.ember-v2-shell .theme-grid-six{grid-template-columns:1fr 1fr}.ember-v2-shell .theme-choice{grid-template-columns:44px 1fr!important;grid-template-rows:auto!important}
.ember-v2-shell .theme-choice-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.ember-v2-shell .theme-choice-copy em{font-style:normal;font-size:13px;font-weight:850;letter-spacing:.08em;color:var(--orange)}
.ember-v2-shell .theme-dawn .theme-swatch{background:#f8ebe5}.ember-v2-shell .theme-dawn .theme-swatch i{background:#ef5e38}.ember-v2-shell .theme-cinder .theme-swatch{background:#171513}.ember-v2-shell .theme-cinder .theme-swatch i{background:#ff6a3c}.ember-v2-shell .theme-midnight .theme-swatch{background:#111724}.ember-v2-shell .theme-midnight .theme-swatch i{background:#ff7046}.ember-v2-shell .theme-charcoal .theme-swatch{background:#202224}.ember-v2-shell .theme-charcoal .theme-swatch i{background:#f2683e}

/* Ember 2.0.40 — comprehensive dark theme + beta polish */
.ember-v2-shell .ember-plus-badge,
.ember-v2-shell .plus-label,
.ember-v2-shell .premium-gradient-badge{
  background:linear-gradient(135deg,#ff7b32 0%,#ff5238 52%,#d83b74 100%)!important;
  color:#fff!important;border-color:rgba(255,255,255,.92)!important;
}

.ember-v2-shell .friend-habit-performance-card{display:block!important;padding:13px!important}
.ember-v2-shell .friend-habit-card-top{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center}
.ember-v2-shell .friend-habit-seven{margin-top:11px;padding-top:10px;border-top:1px solid var(--line)}
.ember-v2-shell .friend-habit-seven-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}
.ember-v2-shell .friend-habit-seven-head span,.ember-v2-shell .friend-habit-seven-head b{font-size:13px}
.ember-v2-shell .friend-habit-seven-head span{color:var(--muted);font-weight:750}

/* Dark mode should be a complete semantic translation, not a background swap. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk){color:var(--ink)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(h1,h2,h3,h4,strong,b,.profile-name,.section-heading,.challenge-card-title,.person-card strong,.today-card strong,.journey-row strong,.routine-card strong,.settings-list button>span,.detail-block-head,.calendar-nav strong,.performance-list strong,.builder-field>span,.sheet-body label>span,.theme-choice strong,.score-components strong,.score-level-path strong,.friend-shared-habits strong){color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(p,small,.muted,.intro,.schedule-label,.habit-cue,.profile-membership-line,.settings-list b,.person-card em,.challenge-card-copy small,.challenge-card-copy p,.performance-list small,.friend-shared-habits small,.account-note,.theme-intro){color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .wordmark strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .premium-wordmark strong em{color:#e74b77!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .sheet{background:var(--bg)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .sheet-header{background:var(--bg)!important;border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .sheet-header h2{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .sheet-handle{background:color-mix(in srgb,var(--muted) 55%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.score-card,.becoming-card,.settings-list,.person-card,.challenge-card,.journey-list,.routine-card,.goal-card,.friend-weekly-recap,.friend-habit-performance-card,.score-level-path,.score-level-ladder,.score-components article,.account-photo-block,.theme-choice,.performance-hero,.performance-list,.formula-note,.challenge-detail-progress,.challenge-standings-card,.privacy-note){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.settings-list button,.grouped-settings button){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.performance-stats article,.score-level-ladder span,.friend-weekly-recap>div>span,.insight-drill-body>div,.challenge-custom-duration,.theme-choice){background:var(--surface2)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .score-card .ring-content b,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .ring-content b{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .ring-content small{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.period-tabs,.calendar-panel){background:var(--surface)!important;border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .period-tabs button{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .period-tabs button.active{background:var(--surface2)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-nav button{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-panel :where(.week-day,.calendar-day){background:var(--surface2);color:var(--ink)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-panel :where(.week-day.off,.calendar-day.off,.calendar-day.outside){color:var(--muted)!important;opacity:.62}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-panel :where(.week-day.kept,.calendar-day.kept){background:var(--green-soft)!important;color:var(--green)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-panel :where(.week-day.missed,.calendar-day.missed){background:var(--red-soft)!important;color:var(--red)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-legend{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .performance-list article{border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .bottom-nav button{color:color-mix(in srgb,var(--ink) 62%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .bottom-nav button.active{color:var(--orange)!important;background:color-mix(in srgb,var(--orange) 16%,var(--surface))!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card:not(.complete):not(.done):not(.missed):not(.guarded){background:var(--surface)!important;border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card:not(.complete):not(.done):not(.missed):not(.guarded) strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .theme-choice-copy strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .theme-choice-copy small{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .theme-choice.selected{background:color-mix(in srgb,var(--orange) 8%,var(--surface2))!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .grouped-settings .settings-group-label{color:color-mix(in srgb,var(--muted) 88%,white 12%)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .entity-delete-button{background:var(--red-soft)!important;color:var(--red)!important;border-color:color-mix(in srgb,var(--red) 35%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .insight-action-card{background:color-mix(in srgb,var(--orange) 10%,var(--surface))!important;border-color:color-mix(in srgb,var(--orange) 28%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .primary{color:#fff!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) input::placeholder{color:color-mix(in srgb,var(--muted) 75%,transparent)}

/* Ember 2.0.41 — beta dark-mode completion + persistence polish */
.ember-v2-shell .friend-habit-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .friend-habit-copy>strong{display:block;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.ember-v2-shell .friend-habit-schedule{display:block!important;line-height:1.3;color:var(--muted)}
.ember-v2-shell .friend-recovered-note{display:inline-flex;align-self:flex-start;margin-top:2px;padding:3px 7px;border-radius:999px;background:var(--green-soft);color:var(--green);font-size:13px;font-weight:750;line-height:1.2}

/* Dark Today: protected/missed cards, inactive dates and calendar jump */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.guarded{
  background:color-mix(in srgb,var(--ice-soft) 78%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--ice) 42%,transparent)!important;
  box-shadow:none!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.guarded .today-copy .title-row strong{color:color-mix(in srgb,var(--ice) 78%,white 22%)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.guarded .complete-button{background:color-mix(in srgb,var(--surface2) 88%,var(--ice-soft))!important;border-color:color-mix(in srgb,var(--ice) 55%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.missed{
  background:color-mix(in srgb,var(--red-soft) 82%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--red) 48%,transparent)!important;
  box-shadow:none!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.missed .today-copy .title-row strong{color:color-mix(in srgb,var(--red) 78%,white 22%)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .date-rail-v2 button{
  background:var(--surface)!important;border-color:var(--line)!important;color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .date-rail-v2 button strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .date-rail-v2 button:disabled{opacity:.42}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .date-rail-v2 button.selected{background:var(--orange)!important;border-color:var(--orange)!important;color:#fff!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .date-rail-v2 button.selected strong,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .date-rail-v2 button.selected small{color:#fff!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-jump{background:var(--surface)!important;border-color:var(--line)!important;color:var(--orange)!important}

/* Habit detail statement */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .habit-statement{
  background:var(--surface2)!important;color:var(--ink)!important;border:1px solid var(--line)!important;
}

/* Year performance should use the same dark visual language as Month */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .year-month{
  background:var(--surface2)!important;border-color:var(--line)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .year-month>strong{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .mini-month-grid .calendar-day{background:color-mix(in srgb,var(--surface2) 88%,white 3%)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .mini-month-grid .calendar-day.kept{background:var(--green-soft)!important;color:var(--green)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .mini-month-grid .calendar-day.missed{background:var(--red-soft)!important;color:var(--red)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .mini-month-grid .calendar-day.mixed{background:var(--orange-soft)!important;color:var(--orange)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .mini-month-grid .calendar-day.pending,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .mini-month-grid .calendar-day.unrecorded{background:var(--surface)!important;border:1px solid var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .mini-month-grid .calendar-day.off,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .mini-month-grid .calendar-day.future{background:color-mix(in srgb,var(--surface) 80%,transparent)!important;opacity:.55}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-legend i.pending{background:var(--surface2)!important;border-color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .calendar-legend i.off{background:var(--surface)!important;border:1px solid var(--line)}

/* Goal detail signal cards */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-signal-grid article{
  background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-signal-grid small{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-signal-grid strong{color:var(--ink)!important}

/* Account photo actions */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .profile-photo-control{
  background:var(--surface2)!important;color:var(--ink)!important;border-color:var(--line)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .profile-photo-remove{
  background:color-mix(in srgb,var(--red-soft) 88%,var(--surface2))!important;color:var(--red)!important;border-color:color-mix(in srgb,var(--red) 35%,transparent)!important;
}

/* Guide to Ember — no embedded light cards in dark themes */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.guide-system>article,.guide-example-card,.guide-visual-section,.guide-grid article){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-system>article.core{background:color-mix(in srgb,var(--orange-soft) 72%,var(--surface))!important;border-color:color-mix(in srgb,var(--orange) 30%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-system-icon{background:var(--surface2)!important;color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-system-icon.habit{background:var(--orange-soft)!important;color:var(--orange)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-system small,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-system p,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-grid p,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-visual-section>p,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-faq p{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-example-flow>span,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-routine-demo span,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-routine-demo i{background:var(--surface2)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-routine-demo span.habit{background:var(--green-soft)!important;color:var(--green)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-mini-path b{background:var(--orange-soft)!important;color:var(--orange)!important;border-color:color-mix(in srgb,var(--orange) 30%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-mini-path em,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .guide-system>i{color:var(--muted)!important}

/* Terms & Conditions */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .terms-hero{
  background:color-mix(in srgb,var(--orange-soft) 48%,var(--surface))!important;border-color:color-mix(in srgb,var(--orange) 28%,transparent)!important;color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.terms-principles article,.terms-section){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .terms-copy p{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .terms-launch-note{background:var(--surface2)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .terms-accept{background:color-mix(in srgb,var(--orange-soft) 48%,var(--surface))!important;border-color:color-mix(in srgb,var(--orange) 28%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .terms-accept p{color:var(--muted)!important}

/* Invite a friend */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-invite-options>button{
  background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-invite-options .friend-invite-primary{
  background:color-mix(in srgb,var(--orange-soft) 58%,var(--surface))!important;border-color:color-mix(in srgb,var(--orange) 32%,transparent)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-invite-options>button>svg{background:var(--surface2)!important;color:var(--orange)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-invite-options strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-invite-options small{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .invite-link-card{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .invite-link-card>p{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .invite-link-card>button{background:var(--surface2)!important;color:var(--ink)!important;border:1px solid var(--line)!important}


/* Ember 2.0.42 - dark-mode completion system + challenge visibility */
.ember-v2-shell .challenge-on-detail{margin-top:10px;border:1px solid rgba(239,100,47,.22);background:#fff8f3;border-radius:16px;padding:12px}
.ember-v2-shell .challenge-on-detail .detail-block-head{margin-bottom:8px}
.ember-v2-shell .challenge-on-detail .detail-block-head>span{display:inline-flex;align-items:center;gap:6px;color:var(--orange);font-weight:800}
.ember-v2-shell .challenge-on-detail .detail-block-head>small{color:var(--muted);font-size:13px;font-weight:750}
.ember-v2-shell .challenge-on-detail-list{display:flex;flex-direction:column;gap:7px}
.ember-v2-shell .challenge-on-detail-list>button{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;gap:9px;align-items:center;width:100%;text-align:left;border:1px solid rgba(239,100,47,.16);background:#fff;border-radius:13px;padding:9px 10px;color:var(--ink);cursor:pointer}
.ember-v2-shell .challenge-detail-bolt{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .challenge-on-detail-list>button>span:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0}
.ember-v2-shell .challenge-on-detail-list strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ember-v2-shell .challenge-on-detail-list small{font-size:13px;color:var(--muted)}

/* Completed, missed, protected and open habits use one coherent dark state system. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.complete{
  background:color-mix(in srgb,var(--green-soft) 82%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--green) 48%,transparent)!important;
  box-shadow:none!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.complete .today-copy .title-row strong{color:color-mix(in srgb,var(--green) 76%,white 24%)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card .complete-button:not(.done):not(.missed){
  background:var(--surface2)!important;border-color:color-mix(in srgb,var(--muted) 42%,transparent)!important;color:transparent!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.missed .complete-button.missed{
  background:color-mix(in srgb,var(--red-soft) 72%,var(--surface2))!important;border-color:color-mix(in srgb,var(--red) 50%,transparent)!important;color:var(--red)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.complete .complete-button.done{background:var(--green)!important;border-color:var(--green)!important;color:#fff!important}

/* Ember+ Insights and remaining common card/control surfaces must inherit dark tokens. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .insight-method{background:var(--surface2)!important;border:1px solid var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .insight-method p{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-on-detail{background:color-mix(in srgb,var(--orange-soft) 48%,var(--surface))!important;border-color:color-mix(in srgb,var(--orange) 28%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-on-detail-list>button{background:var(--surface2)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(
  .routine-edit-small,.routine-days button,.routine-step-input input,.compact-picker>button,.sequence-row,.routine-danger-zone button,
  .routine-path-step,.archived-routines article,.routine-edit-icon,.routine-compact-row,.weekly-target-picker button,
  .goal-milestone-edit-row,.goal-habit-picker>button,.goal-habit-picker>div>button,.goal-purpose-card>div,.goal-milestone-section,
  .sharing-friend-list>button,.friend-shared-goals article,.friend-signal-actions button,.primary-partner-toggle,.friend-weekly-recap,
  .commitment-note-card,.friend-seven
){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.compact-picker>button.selected,.goal-habit-picker button.selected,.sharing-friend-list>button.selected){background:color-mix(in srgb,var(--orange-soft) 55%,var(--surface))!important;border-color:color-mix(in srgb,var(--orange) 35%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.routine-compact-row.done){background:var(--green-soft)!important;border-color:color-mix(in srgb,var(--green) 32%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.builder-field input,.builder-field select,.note-field textarea){background:var(--surface2)!important;color:var(--ink)!important;border-color:var(--line)!important}

/* Terms shown as an actual agreement, not an admin/publishing artifact. */
.ember-v2-shell .terms-status small{font-size:13px}

/* 2.0.43 membership, downgrade and auth test pass */
.google-auth-button,.google-auth-preview{width:100%;height:50px;border:1px solid #dedbd7;background:#fff;border-radius:15px;color:#222;font-size:15px;font-weight:800;cursor:pointer}.auth-divider{display:flex;align-items:center;gap:10px;color:#8a8c89;font-size:13px;margin:11px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#e7e2de;flex:1}.auth-terms-consent{grid-template-columns:20px 1fr!important;align-items:start!important;gap:10px!important}.auth-terms-consent input{width:18px!important;height:18px!important;margin:2px 0 0!important;accent-color:#f47b45}.auth-terms-consent span{text-transform:none!important;letter-spacing:0!important;font-size:13px!important;font-weight:600!important;line-height:1.45;color:#687080!important}.auth-terms-consent u{text-decoration-color:#f47b45;text-underline-offset:2px}
.paywall-mark{display:grid!important;place-items:center!important;width:58px!important;height:58px!important;background:linear-gradient(135deg,#ff6a32,#f83f4a 58%,#cf2b74)!important;color:#fff!important}.paywall-value-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.paywall-value-groups section{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:13px}.paywall-value-groups strong{font-size:14px}.paywall-value-groups p{font-size:13px;color:var(--muted);line-height:1.45;margin:5px 0 0}.free-plan-summary{margin-top:11px;padding:10px 12px;border-radius:13px;background:var(--surface2);border:1px solid var(--line)}.free-plan-summary p{font-size:13px;color:var(--muted);margin:0}.free-plan-summary strong{color:var(--ink)}
.downgrade-gate{width:min(100% - 28px,520px);margin:auto;padding:28px 22px;background:var(--bg);color:var(--ink);overflow:auto;max-height:100dvh}.downgrade-gate h1{font-size:30px;letter-spacing:-.04em;margin:8px 0}.downgrade-gate>p{font-size:14px;color:var(--muted);line-height:1.5}.downgrade-gate section{margin-top:18px}.downgrade-gate section>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.downgrade-gate section>header strong{font-size:14px}.downgrade-gate section>header small{font-size:13px;color:var(--muted)}.downgrade-choice-list{display:grid;gap:7px}.downgrade-choice-list button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:14px;padding:12px}.downgrade-choice-list button>span{width:25px;height:25px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}.downgrade-choice-list button.selected{border-color:var(--orange);background:var(--orange-soft)}.downgrade-choice-list button.selected>span{background:var(--orange);border-color:var(--orange);color:#fff}.downgrade-archive-note{display:flex;align-items:center;gap:10px;background:var(--surface2);border:1px solid var(--line);border-radius:14px;padding:12px;margin:16px 0}.downgrade-archive-note>span{display:grid}.downgrade-archive-note small,.downgrade-foot{font-size:13px;color:var(--muted)}.downgrade-foot{display:block;text-align:center;margin-top:9px}
.test-helper{font-size:13px;color:var(--muted);line-height:1.5}.membership-test-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.membership-test-grid button{display:grid;text-align:left;gap:3px;padding:13px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:14px}.membership-test-grid small{font-size:13px;color:var(--muted)}.auth-flow-test-btn{margin-top:12px}.auth-preview-card{display:grid;gap:10px}.auth-preview-card input:not([type=checkbox]){width:100%;height:48px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:14px;padding:0 13px;font-size:15px}.auth-terms-preview{display:grid;grid-template-columns:20px 1fr;gap:9px;align-items:start}.auth-terms-preview input{width:18px;height:18px;accent-color:var(--orange)}.auth-terms-preview span{font-size:13px;color:var(--muted);line-height:1.4}.verification-preview{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:13px;border-radius:14px;background:var(--orange-soft);color:var(--ink)}.verification-preview span{display:grid;gap:3px}.verification-preview small{font-size:13px;color:var(--muted);line-height:1.4}
@media(max-width:520px){.paywall-value-groups{grid-template-columns:1fr}.pricing{grid-template-columns:1fr}.pricing button{flex-direction:row;justify-content:space-between;align-items:center}.membership-test-grid{grid-template-columns:1fr}}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .upgrade-card{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .upgrade-card small{color:var(--muted)!important}.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .google-auth-preview{background:var(--surface2);border-color:var(--line);color:var(--ink)}
.today-card.missed .complete-button.missed{background:var(--red)!important;border-color:var(--red)!important;color:#fff!important}
.period-tabs button.premium-locked{display:inline-flex;align-items:center;justify-content:center;gap:4px}.period-tabs button.premium-locked small{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:linear-gradient(135deg,#ff6a32,#f83f4a 58%,#cf2b74);color:#fff;font-size:11px;font-weight:900}

/* Ember 2.0.44 pre-beta trial UX, paywall, auth preview and About */
.ember-v2-shell .trial-reminder{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;margin:10px 0 14px;padding:11px 12px;border:1px solid color-mix(in srgb,var(--orange) 16%,var(--line));background:color-mix(in srgb,var(--orange-soft) 55%,var(--surface));border-radius:15px;color:var(--ink)}
.ember-v2-shell .trial-reminder-icon{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:color-mix(in srgb,var(--orange) 12%,var(--surface2));color:var(--orange)}
.ember-v2-shell .trial-reminder>span:nth-child(2){display:grid;gap:2px;min-width:0}.ember-v2-shell .trial-reminder strong{font-size:13px}.ember-v2-shell .trial-reminder small{font-size:13px;color:var(--muted)}
.ember-v2-shell .trial-reminder button{border:0;background:transparent;color:var(--orange);font-size:13px;font-weight:800;padding:7px;cursor:pointer}

.ember-v2-shell .trial-ended-gate{width:min(100% - 28px,500px);margin:auto;padding:38px 22px;text-align:center;background:var(--bg);color:var(--ink);min-height:100dvh;display:flex;flex-direction:column;justify-content:center;align-items:stretch}
.ember-v2-shell .trial-ended-mark{width:60px;height:60px;border-radius:20px;display:grid;place-items:center;margin:0 auto 18px;background:var(--premium-gradient);color:#fff;box-shadow:var(--premium-shadow)}
.ember-v2-shell .trial-ended-gate h1{font-size:31px;line-height:1.04;letter-spacing:-.04em;margin:8px 0 10px}.ember-v2-shell .trial-ended-gate>p{font-size:14px;color:var(--muted);line-height:1.5;margin:0 auto 22px;max-width:390px}
.ember-v2-shell .trial-ended-gate .primary{display:grid;gap:3px;height:auto;padding:13px 16px}.ember-v2-shell .trial-ended-gate .primary strong{font-size:15px}.ember-v2-shell .trial-ended-gate .primary small{font-size:13px;color:rgba(255,255,255,.85)}
.ember-v2-shell .trial-ended-gate .secondary{margin-top:9px}.ember-v2-shell .trial-ended-note{font-size:13px;color:var(--muted);line-height:1.45;margin-top:12px}

.ember-v2-shell .paywall-hero{text-align:center}.ember-v2-shell .paywall-mark{margin:0 auto 14px}.ember-v2-shell .paywall-hero h3{margin:0 0 7px}.ember-v2-shell .paywall-hero p{margin:0 auto;color:var(--muted);font-size:13px;line-height:1.45;max-width:390px}
.ember-v2-shell .paywall-benefits{margin-top:18px;border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:15px}.ember-v2-shell .paywall-benefits-title{display:block;font-size:14px;margin-bottom:8px}.ember-v2-shell .paywall-benefits>div{display:grid;gap:2px}
.ember-v2-shell .paywall-benefit-row{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:9px;min-height:39px;padding:4px 0;border-bottom:1px solid color-mix(in srgb,var(--line) 70%,transparent)}.ember-v2-shell .paywall-benefit-row:last-child{border-bottom:0}.ember-v2-shell .paywall-benefit-row i{width:29px;height:29px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--orange) 9%,var(--surface2));color:var(--orange)}.ember-v2-shell .paywall-benefit-row b{font-size:13px;font-weight:750}
.ember-v2-shell .free-plan-summary{display:grid;gap:3px;text-align:center;padding:12px 14px}.ember-v2-shell .free-plan-summary>strong{font-size:13px}.ember-v2-shell .free-plan-summary>span,.ember-v2-shell .free-plan-summary>small{font-size:13px;color:var(--muted)}

.auth-test-fullscreen{position:fixed;inset:0;z-index:9999;background:#f7f3ef;overflow:auto}.auth-test-shell{width:min(100%,520px);min-height:100dvh;margin:0 auto;padding:calc(24px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center;position:relative;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172037}.auth-test-back{position:absolute;top:calc(18px + env(safe-area-inset-top));left:18px;width:42px;height:42px;border:1px solid #e7e0da;border-radius:14px;background:#fff;color:#2e3441;display:grid;place-items:center;cursor:pointer}.auth-test-brand{text-align:center;margin-bottom:22px}.auth-brand-flame{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;margin:0 auto 10px;background:#f47b45;color:#fff;box-shadow:0 12px 28px rgba(244,123,69,.23)}.auth-test-brand>strong{display:block;font-size:24px;letter-spacing:-.04em}.auth-test-brand>p{font-size:13px;color:#727988;margin:4px 0 0}.auth-preview-page{background:#fff;border:1px solid #e9e1db;border-radius:26px;padding:24px;box-shadow:0 20px 55px rgba(39,29,23,.08)}.auth-preview-page h1{font-size:28px;letter-spacing:-.04em;margin:0 0 6px}.auth-preview-page>p{font-size:13px;line-height:1.45;color:#747b89;margin:0 0 16px}.auth-preview-name-grid,.auth-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.auth-preview-page .verification-preview{margin-bottom:0}

.ember-v2-shell .about-ember{max-width:640px;margin:0 auto}.ember-v2-shell .about-flame{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange);margin-bottom:16px}.ember-v2-shell .about-ember p{font-size:14px;line-height:1.65;color:var(--ink);margin:0 0 14px}.ember-v2-shell .about-feedback-button{margin:2px 0 18px}.ember-v2-shell .about-signoff{display:grid;gap:3px;margin-top:24px;padding-top:17px;border-top:1px solid var(--line)}.ember-v2-shell .about-signoff em{font-size:15px;font-family:Georgia,serif;color:var(--muted)}.ember-v2-shell .about-signoff strong{font-size:14px}.ember-v2-shell .feedback-intro{font-size:13px;color:var(--muted);line-height:1.45}.ember-v2-shell .feedback-kinds{display:flex;gap:7px;margin:12px 0}.ember-v2-shell .feedback-kinds button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:9px 12px;font-size:13px;font-weight:750}.ember-v2-shell .feedback-kinds button.selected{border-color:var(--orange);background:var(--orange-soft);color:var(--orange)}.ember-v2-shell .feedback-textarea{width:100%;min-height:170px;resize:vertical;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);padding:13px;font:inherit;font-size:14px;line-height:1.5;outline:none}.ember-v2-shell .feedback-textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 12%,transparent)}

.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.trial-reminder,.paywall-benefits,.free-plan-summary,.feedback-textarea,.feedback-kinds button){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .paywall-benefit-row i{background:var(--surface2)!important}

@media(max-width:520px){.auth-preview-name-grid,.auth-name-grid{grid-template-columns:1fr}.auth-preview-page{border-radius:22px;padding:21px 18px}.ember-v2-shell .trial-reminder{grid-template-columns:30px 1fr}.ember-v2-shell .trial-reminder button{grid-column:2;justify-self:start;padding:2px 0}}


/* 2.0.45 story, trial, auth, and verification polish */
.about-story{display:grid;gap:18px}.about-story-hero{text-align:center;padding:12px 8px 6px}.about-story-hero .about-flame{margin:0 auto 12px}.about-story-hero h2{font-size:28px;line-height:1.08;letter-spacing:-.04em;margin:8px 0 6px}.about-story-hero p{font-size:16px;color:var(--muted);margin:0}.about-chapter,.about-founder-card,.about-thank-you{display:grid;gap:10px;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}.about-chapter h3,.about-founder-card h3,.about-thank-you h3{font-size:20px;line-height:1.18;letter-spacing:-.025em;margin:0}.about-chapter p,.about-founder-card p,.about-thank-you p{font-size:14px;line-height:1.62;color:var(--muted);margin:0}.about-mini-label{font-size:12px;font-weight:850;letter-spacing:.1em;color:var(--orange)}.about-day-one{display:grid;gap:6px;padding:12px 0}.about-day-one span{width:max-content;max-width:100%;padding:8px 11px;border:1px solid var(--line);background:var(--surface-elevated,var(--surface));border-radius:11px;font-size:13px;font-weight:750}.about-day-one span:nth-child(2){margin-left:16px}.about-day-one span:nth-child(3){margin-left:32px}.about-steps{display:grid;gap:8px}.about-steps>span{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:center;padding:10px 12px;border-radius:13px;background:var(--surface-elevated,var(--soft))}.about-steps b{font-size:12px;color:var(--orange)}.about-steps strong{font-size:14px}.about-founder-card{background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--orange) 7%,var(--surface)))}.about-excel-joke{display:grid;grid-template-columns:1fr 1fr;width:160px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.about-excel-joke span{padding:10px;text-align:center;font:800 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--surface)}.about-excel-joke span+span{border-left:1px solid var(--line)}.about-chapter blockquote{margin:3px 0 0;padding:14px 16px;border-left:3px solid var(--orange);background:var(--soft);border-radius:0 14px 14px 0;font-size:18px;font-weight:850;letter-spacing:-.02em}.about-thank-you{padding:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--orange) 7%,var(--surface)),var(--surface))}.about-thank-you .about-feedback-button{margin-top:5px}.feedback-error{font-size:13px;font-weight:750;color:#c94b45;padding:2px 1px}.auth-free-reassurance{display:flex;gap:10px;align-items:flex-start;padding:14px;border-radius:15px;background:#f5f1ed;margin:14px 0;color:#303541}.auth-free-reassurance>svg{flex:0 0 auto;margin-top:2px;color:#3f8f62}.auth-free-reassurance span{display:grid;gap:3px}.auth-free-reassurance strong{font-size:14px}.auth-free-reassurance small{font-size:13px;line-height:1.45;color:#6f7582}.auth-welcome-preview{display:grid;text-align:center;gap:10px;background:#fff;border:1px solid #e9e1db;border-radius:26px;padding:28px 24px;box-shadow:0 20px 55px rgba(39,29,23,.08)}.auth-welcome-preview .auth-brand-flame{margin:0 auto 5px}.auth-welcome-preview h1{font-size:29px;letter-spacing:-.04em;margin:0}.auth-welcome-preview>p{font-size:14px;line-height:1.5;color:#747b89;margin:0}.verification-test-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;margin-top:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.verification-test-row>span{display:grid;gap:3px}.verification-test-row small{font-size:13px;color:var(--muted);line-height:1.35}.verify-social-gate{display:grid;gap:12px;text-align:center;padding:8px 0}.verify-social-gate>svg{margin:0 auto;color:var(--orange)}.verify-social-gate>strong{font-size:18px;line-height:1.25}.verify-social-gate>p,.verify-social-gate>small{font-size:13px;line-height:1.5;color:var(--muted)}
.theme-cinder .about-founder-card,.theme-midnight .about-founder-card,.theme-charcoal .about-founder-card,.theme-cinder .about-thank-you,.theme-midnight .about-thank-you,.theme-charcoal .about-thank-you{background:var(--surface)}

.people-verification-lock{display:grid;justify-items:center;text-align:center;gap:11px;padding:28px 20px;margin-top:14px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}.people-verification-lock>span{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--orange-soft);color:var(--orange)}.people-verification-lock strong{font-size:18px}.people-verification-lock p{font-size:13px;line-height:1.5;color:var(--muted);max-width:320px;margin:0}.people-verification-lock button{margin-top:3px}

/* 2.0.46 onboarding, membership clarity, refund terms, and feedback polish */
.no-wrap{white-space:nowrap}
.auth-preview-page>h1,.auth-preview-page>p{text-align:center}
.auth-trial-copy{display:grid!important;gap:4px;text-align:center!important}
.auth-trial-copy>span,.auth-trial-copy>strong{display:block}
.auth-trial-copy>strong{font-size:13px;color:#5f6674;font-weight:800}
.auth-free-reassurance{display:grid!important;text-align:center;justify-items:center;gap:4px!important}
.auth-free-reassurance>strong{font-size:14px}
.auth-free-reassurance>small{font-size:13px;line-height:1.45;color:#6f7582;max-width:330px}
.auth-welcome-preview .auth-free-reassurance{width:100%}
.ember-auth-card>.eyebrow+.auth-trial-copy{}

.ember-v2-shell .downgrade-back{justify-self:start;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:750;padding:4px 0 10px;cursor:pointer}
.ember-v2-shell .downgrade-back:hover{color:var(--ink)}

.ember-v2-shell .membership-current-plan{display:grid;gap:4px;margin-top:16px;padding:15px 16px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,color-mix(in srgb,var(--orange) 7%,var(--surface)),var(--surface))}
.ember-v2-shell .membership-current-plan strong{font-size:17px}
.ember-v2-shell .membership-current-plan small{font-size:13px;line-height:1.45;color:var(--muted)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .membership-current-plan{background:var(--surface)!important;border-color:var(--line)!important}

.ember-v2-shell .feedback-compose{position:relative;min-height:170px}
.ember-v2-shell .feedback-highlight-layer,.ember-v2-shell .feedback-compose .feedback-textarea{width:100%;min-height:170px;box-sizing:border-box;padding:13px;font:inherit;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:16px}
.ember-v2-shell .feedback-highlight-layer{position:absolute;inset:0;pointer-events:none;color:var(--ink);border:1px solid transparent;background:var(--surface);overflow:hidden}
.ember-v2-shell .feedback-highlight-layer mark{background:color-mix(in srgb,var(--red) 13%,transparent);color:var(--red);font-weight:800;border-radius:4px;padding:0 1px}
.ember-v2-shell .feedback-compose .feedback-textarea{position:relative;z-index:1;background:transparent;color:var(--ink);caret-color:var(--ink)}
.ember-v2-shell .feedback-compose.has-blocked .feedback-textarea{color:transparent;-webkit-text-fill-color:transparent}
.ember-v2-shell .feedback-compose.has-blocked .feedback-textarea::selection{background:color-mix(in srgb,var(--orange) 24%,transparent);-webkit-text-fill-color:transparent}
.ember-v2-shell .feedback-compose.has-blocked .feedback-highlight-layer{border-color:color-mix(in srgb,var(--red) 42%,var(--line))}

.ember-v2-shell .intro-tour{position:relative;width:min(100% - 28px,560px);min-height:min(720px,calc(100dvh - 28px));margin:14px auto;align-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:44px 30px 32px;border:1px solid var(--line);border-radius:30px;background:var(--surface);box-shadow:0 24px 70px rgba(44,31,24,.10);overflow:hidden}
.ember-v2-shell .intro-tour-close{position:absolute;top:16px;right:16px;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--muted);cursor:pointer}
.ember-v2-shell .intro-tour-progress{position:absolute;top:22px;left:22px;display:flex;gap:5px}
.ember-v2-shell .intro-tour-progress i{width:18px;height:4px;border-radius:999px;background:var(--line)}
.ember-v2-shell .intro-tour-progress i.active{background:var(--orange)}
.ember-v2-shell .intro-tour-icon{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;margin-bottom:16px;background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .intro-tour>.eyebrow{margin-bottom:8px}
.ember-v2-shell .intro-tour h1{font-size:31px;line-height:1.08;letter-spacing:-.04em;margin:0;max-width:440px}
.ember-v2-shell .intro-tour>p{font-size:14px;line-height:1.6;color:var(--muted);max-width:440px;margin:12px 0 0}
.ember-v2-shell .intro-tour-loop,.ember-v2-shell .intro-tour-statuses,.ember-v2-shell .intro-tour-map,.ember-v2-shell .intro-tour-social,.ember-v2-shell .intro-tour-plus{width:min(100%,430px);margin-top:24px}
.ember-v2-shell .intro-tour-loop{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.ember-v2-shell .intro-tour-loop span{display:grid;gap:4px;padding:14px 10px;border:1px solid var(--line);border-radius:15px;background:var(--surface2)}
.ember-v2-shell .intro-tour-loop b{font-size:11px;color:var(--orange);letter-spacing:.08em}.ember-v2-shell .intro-tour-loop strong{font-size:14px}
.ember-v2-shell .intro-tour-statuses,.ember-v2-shell .intro-tour-social{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.ember-v2-shell .intro-tour-statuses span,.ember-v2-shell .intro-tour-social span{display:inline-flex;align-items:center;gap:6px;padding:10px 13px;border-radius:999px;border:1px solid var(--line);font-size:13px;font-weight:800;background:var(--surface2)}
.ember-v2-shell .intro-tour-statuses .done{color:var(--green);background:var(--green-soft)}.ember-v2-shell .intro-tour-statuses .missed{color:var(--red);background:var(--red-soft)}.ember-v2-shell .intro-tour-statuses .guard{color:var(--ice);background:var(--ice-soft)}
.ember-v2-shell .intro-tour-map{display:flex;align-items:center;justify-content:center;gap:8px}.ember-v2-shell .intro-tour-map span{padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);font-size:13px;font-weight:800}.ember-v2-shell .intro-tour-map i{font-style:normal;color:var(--muted)}
.ember-v2-shell .intro-tour-plus{display:grid;gap:5px;padding:15px;border-radius:16px;background:linear-gradient(135deg,#f37b43,#e5474f 55%,#c93c7b);color:white}.ember-v2-shell .intro-tour-plus strong{font-size:14px;color:white!important}.ember-v2-shell .intro-tour-plus small{font-size:13px;color:rgba(255,255,255,.88)!important}
.ember-v2-shell .intro-tour-actions{width:min(100%,430px);display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:28px}.ember-v2-shell .intro-tour-actions button{height:48px}
.ember-v2-shell .intro-explore{margin-top:10px;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:750;padding:7px 10px;cursor:pointer}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .intro-tour{background:var(--surface)!important;border-color:var(--line)!important}.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .intro-tour-loop span,.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .intro-tour-map span,.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .intro-tour-social span{background:var(--surface2)!important;border-color:var(--line)!important}
@media(max-width:520px){.ember-v2-shell .intro-tour{width:100%;min-height:100dvh;margin:0;border:0;border-radius:0;padding:58px 22px 28px;box-shadow:none}.ember-v2-shell .intro-tour h1{font-size:29px}.ember-v2-shell .intro-tour-loop{grid-template-columns:1fr}.ember-v2-shell .intro-tour-progress{top:25px}.ember-v2-shell .intro-tour-close{top:18px}.ember-v2-shell .intro-tour-actions{grid-template-columns:1fr 1fr}}

/* 2.0.47 polish */
.sheet{overflow:hidden}
.sheet-handle{position:relative;z-index:2}
.sheet-header{background:var(--bg);position:relative;z-index:1;margin-top:-14px;padding-top:25px}
.downgrade-back-row{display:block;margin:0 0 14px}
.downgrade-back{position:static!important;display:inline-flex!important;align-items:center;gap:4px}
.auth-test-fullscreen:has(.auth-welcome-preview){overflow:hidden}
.auth-test-fullscreen:has(.auth-welcome-preview) .auth-test-shell{justify-content:center;min-height:100dvh}
.auth-welcome-preview{margin:auto 0}
.feedback-compose{position:relative}
.feedback-compose.has-blocked .feedback-textarea{color:transparent;caret-color:var(--ink);background:transparent;position:relative;z-index:2}
.feedback-compose.has-blocked .feedback-highlight-layer{z-index:1}
.feedback-compose.has-blocked .feedback-highlight-layer mark{background:transparent;color:var(--red);font-weight:850;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--red) 55%,transparent);text-decoration-thickness:2px}
.theme-grid-seven{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.theme-grid-seven .theme-choice:first-child{grid-column:1/-1}
.ember-v2-shell.theme-system{--bg:#f6f1ea;--surface:#fffdfa;--surface2:#eee8df;--ink:#1f2421;--muted:#737871;--line:rgba(31,36,33,.11);--orange:#ef642f;--orange2:#ff8b4c;--orange-soft:#fff0e7;--green:#25845f;--green-soft:#e7f4ee;--red:#c85a5a;--red-soft:#faeaea;--ice:#6684a3;--ice-soft:#e9f0f6}
@media (prefers-color-scheme:dark){
  .ember-v2-shell.theme-system{--bg:#171513;--surface:#24211e;--surface2:#302b27;--ink:#f6efe8;--muted:#b8aaa0;--line:rgba(255,238,224,.12);--orange:#ff6a3c;--orange2:#ff9a63;--orange-soft:#3c251f;--green:#55b88c;--green-soft:#18342a;--red:#ef7774;--red-soft:#3b2223;--ice:#8ba7c4;--ice-soft:#222d38;background:radial-gradient(circle at 12% -8%,rgba(255,105,61,.16),transparent 27%),var(--bg)}
  .ember-v2-shell.theme-system .topbar{background:linear-gradient(var(--bg) 72%,transparent)}
  .ember-v2-shell.theme-system .bottom-nav{background:color-mix(in srgb,var(--surface) 92%,transparent);border-color:var(--line)}
  .ember-v2-shell.theme-system input,.ember-v2-shell.theme-system textarea,.ember-v2-shell.theme-system select{background:var(--surface);color:var(--ink);border-color:var(--line)}
}
.bottom-nav{grid-template-columns:repeat(5,1fr)}
.intro-spotlight-tour{min-height:100dvh;position:relative;padding:72px 20px 105px;background:var(--bg);overflow:hidden}
.tour-real-screen{max-width:520px;margin:0 auto;display:grid;gap:14px;position:relative;z-index:1}
.tour-real-header{display:flex;justify-content:space-between;align-items:center}.tour-real-header strong{display:flex;gap:7px;align-items:center;font-size:20px}.tour-real-header>span{width:36px;height:36px;border-radius:50%;background:var(--surface2);display:grid;place-items:center;font-weight:800;font-size:12px}
.tour-real-screen h2{font-size:28px;margin:0;letter-spacing:-.04em}.tour-screen-block,.tour-habit-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px}.tour-screen-block{display:grid;gap:5px}.tour-screen-block small{font-size:12px;font-weight:850;color:var(--orange);letter-spacing:.08em}.tour-screen-block strong{font-size:18px}.tour-screen-block h2{font-size:25px}.tour-screen-block p,.tour-habit-card small{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.tour-habit-card{display:flex;align-items:center;justify-content:space-between}.tour-habit-card>div{display:grid;gap:3px}.tour-habit-card>span{width:34px;height:34px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center}
.tour-highlight{position:relative;z-index:5;box-shadow:0 0 0 4px color-mix(in srgb,var(--orange) 75%,white),0 18px 45px rgba(0,0,0,.18)}
.tour-dim{position:absolute;inset:0;background:rgba(15,18,16,.62);z-index:3;pointer-events:none}
.tour-coach-card{position:absolute;z-index:7;left:20px;right:20px;bottom:98px;max-width:520px;margin:auto;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:0 20px 55px rgba(0,0,0,.28);display:grid;gap:8px}.tour-coach-card h3{font-size:21px;line-height:1.15;margin:0;letter-spacing:-.025em}.tour-coach-card>p{font-size:13px;line-height:1.5;color:var(--muted);margin:0}.tour-close{position:absolute;right:12px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:var(--surface2);color:var(--ink);display:grid;place-items:center}.tour-coach-card .intro-tour-progress{padding-right:42px}
.tour-bottom-nav{position:absolute;z-index:6;bottom:0;left:0;right:0;height:84px;background:var(--surface);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding-bottom:env(safe-area-inset-bottom)}.tour-bottom-nav span{display:grid;place-items:center;align-content:center;gap:3px;color:var(--muted)}.tour-bottom-nav span.active{color:var(--orange)}.tour-bottom-nav small{font-size:11px;font-weight:750}
.insights-view{display:grid;gap:14px}.insights-page-hero{display:grid;justify-items:start;gap:7px;padding:18px;border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--orange) 8%,var(--surface)),var(--surface));border:1px solid var(--line)}.insights-page-hero .premium-flame-tile{width:44px;height:44px}.insights-page-hero h1{font-size:28px;line-height:1.05;letter-spacing:-.04em;margin:2px 0}.insights-page-hero p{font-size:13px;color:var(--muted);line-height:1.5;margin:0}.insights-page-hero.locked .primary{margin-top:5px}
.insights-learning-card,.insight-page-signal,.insights-future-preview{border:1px solid var(--line);background:var(--surface);border-radius:19px;padding:16px}.insights-learning-card header{display:flex;gap:10px;align-items:center}.insights-learning-card header>span{width:36px;height:36px;border-radius:12px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}.insights-learning-card header>div{display:grid}.insights-learning-card strong{font-size:15px}.insights-learning-card small,.insights-learning-card p{font-size:13px;color:var(--muted)}.insights-learning-bar{height:7px;background:var(--surface2);border-radius:999px;overflow:hidden;margin:14px 0 8px}.insights-learning-bar i{display:block;height:100%;background:var(--orange);border-radius:999px}
.insight-page-signal{display:grid;gap:7px}.insight-page-signal header{display:flex;justify-content:space-between;gap:12px}.insight-page-signal header span{font-size:12px;font-weight:850;color:var(--orange);text-transform:uppercase;letter-spacing:.06em}.insight-page-signal h2{margin:0;font-size:22px;letter-spacing:-.03em}.insight-page-signal>p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.insight-page-signal>div{margin-top:6px;padding:12px;border-radius:13px;background:var(--surface2);display:grid;gap:3px}.insight-page-signal>div small{font-size:11px;font-weight:850;color:var(--muted);letter-spacing:.08em}.insight-page-signal>div strong{font-size:13px;line-height:1.4}.insights-future-preview{display:grid;gap:5px}.insights-future-preview strong{font-size:15px}.insights-future-preview p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}

/* Ember 2.0.48 final polish */
/* Keep scrolling native but remove visual scrollbar chrome everywhere. */
.ember-v2-stage,.ember-v2-shell,.ember-v2-shell *{scrollbar-width:none;-ms-overflow-style:none}
.ember-v2-stage::-webkit-scrollbar,.ember-v2-shell::-webkit-scrollbar,.ember-v2-shell *::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}

/* One add-action language across Journey + People. */
.ember-v2-shell .add-action-button,.ember-v2-shell .section-heading .text-button{display:inline-flex;align-items:center;gap:3px;line-height:1.2;min-height:28px;padding:3px 0}
.ember-v2-shell .section-heading,.ember-v2-shell .challenge-heading{align-items:center!important}
.ember-v2-shell .challenge-heading .text-button{transform:translateY(1px)}

/* Insights premium mark: soft rounded tile, centered, consistent with Ember. */
.ember-v2-shell .insights-premium-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--premium-gradient);color:#fff;box-shadow:var(--premium-shadow)}
.ember-v2-shell .insights-premium-mark svg{display:block}
.ember-v2-shell .insights-score-card{width:100%;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:19px;padding:14px;color:var(--ink)}
.ember-v2-shell .insights-score-card>span{display:grid;gap:2px}.ember-v2-shell .insights-score-card small{font-size:11px;font-weight:850;letter-spacing:.1em;color:var(--muted)}.ember-v2-shell .insights-score-card strong{font-size:16px}.ember-v2-shell .insights-score-card em{font-style:normal;font-size:13px;color:var(--orange);font-weight:750}

/* Feedback: native textarea + unmistakable blocked-word callout. */
.ember-v2-shell .feedback-textarea.has-blocked{border-color:var(--red)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--red) 12%,transparent)}
.ember-v2-shell .feedback-blocked-language{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin-top:7px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--red) 9%,var(--surface));border:1px solid color-mix(in srgb,var(--red) 28%,var(--line));font-size:13px}
.ember-v2-shell .feedback-blocked-language strong{color:var(--ink)}.ember-v2-shell .feedback-blocked-language span{color:var(--red);font-weight:850}

/* Live product tour: real app remains underneath, only the current real element is lifted. */
.ember-v2-shell .tour-live-dim{position:absolute;inset:0;z-index:90;background:rgba(16,17,16,.48);pointer-events:none}
.ember-v2-shell .tour-live-highlight{position:relative!important;z-index:92!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--orange) 72%,white),0 18px 45px rgba(0,0,0,.24)!important;border-radius:18px!important}
.ember-v2-shell .tour-live-card{position:absolute;z-index:94;left:18px;right:18px;bottom:92px;max-width:520px;margin:auto}

/* Post-signup card should be visually centered, not top-heavy. */
.auth-test-fullscreen:has(.auth-welcome-preview) .auth-test-shell{justify-content:center!important;padding-top:28px!important;padding-bottom:0!important}
.auth-welcome-preview{transform:translateY(24px)}
@media (max-height:700px){.auth-welcome-preview{transform:none}.auth-test-fullscreen:has(.auth-welcome-preview){overflow:auto}}

/* Ember 2.0.49: slightly more compact Today cards for denser daily scanning. */
.ember-v2-shell .today-card{min-height:72px}
.ember-v2-shell .today-copy{padding:9px 8px 8px 15px}
.ember-v2-shell .meta-row{margin-top:5px;gap:9px}
.ember-v2-shell .card-actions{width:50px;padding-right:7px}
.ember-v2-shell .complete-button{width:36px;height:36px}
.ember-v2-shell .today-list{gap:7px}

/* Tour progress belongs above the copy, never across the eyebrow/title. */
.ember-v2-shell .tour-coach-card .intro-tour-progress{position:static;display:flex;gap:5px;padding:0 42px 4px 0;margin:0 0 2px}
.ember-v2-shell .tour-coach-card .intro-tour-progress i{width:18px;height:4px;border-radius:999px;background:var(--line)}
.ember-v2-shell .tour-coach-card .intro-tour-progress i.active{background:var(--orange)}

/* Censored feedback is explicit without echoing profanity back to the user. */
.ember-v2-shell .feedback-censored-note{margin-top:7px;font-size:13px;font-weight:700;color:var(--muted)}

/* Legal names on account creation are real links. */
.ember-v2-shell .auth-terms-consent a{color:var(--orange);font-weight:800;text-decoration:underline;text-underline-offset:2px}

/* 2.0.50 account testing: compact real-auth screen */
.ember-auth-card{padding:28px 28px}
.ember-auth-card .auth-flame{width:52px;height:52px;border-radius:17px;margin-bottom:16px}
.ember-auth-card h1{font-size:32px;margin:6px 0 8px}
.ember-auth-card>p{margin-bottom:18px}
.ember-auth-card form{gap:12px}
.ember-auth-card label{gap:5px}
.ember-auth-card input{padding:13px 15px}
.auth-switch{padding:14px 8px 2px}
.auth-terms-consent a{color:#e86635!important;font-weight:800;text-decoration:underline;text-decoration-color:#e86635;text-underline-offset:2px}
.auth-primary:disabled{opacity:1;background:#ddd8d3;color:#8f8a85;cursor:not-allowed}
.auth-primary:not(:disabled){background:#f47b45;color:#fff}
@media(max-width:560px){
  .ember-auth-card{padding:calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));justify-content:center}
  .ember-auth-card h1{font-size:32px}
}

/* Ember 2.0.53 - final dark-mode + onboarding consistency pass */
/* Post-signup welcome is a single-purpose state: one alignment system, centered throughout. */
.ember-auth-card.ember-auth-welcome{
  text-align:center;
  align-items:stretch;
  justify-content:center;
}
.ember-auth-card.ember-auth-welcome>.auth-success,
.ember-auth-card.ember-auth-welcome>.eyebrow{
  margin-left:auto;
  margin-right:auto;
}
.ember-auth-card.ember-auth-welcome h1,
.ember-auth-card.ember-auth-welcome>p,
.ember-auth-card.ember-auth-welcome .auth-free-reassurance{
  text-align:center;
}
.ember-auth-card.ember-auth-welcome .auth-trial-copy{
  display:grid;
  justify-items:center;
  gap:5px;
}
.ember-auth-card.ember-auth-welcome .auth-free-reassurance{
  display:grid;
  justify-items:center;
  gap:4px;
}

/* Product tour: give spotlight targets breathing room instead of tightly circling copy. */
.ember-v2-shell .tour-live-highlight{
  outline:3px solid color-mix(in srgb,var(--orange) 76%,white)!important;
  outline-offset:10px!important;
  box-shadow:0 0 0 15px color-mix(in srgb,var(--surface) 22%,transparent),0 18px 45px rgba(0,0,0,.24)!important;
  border-radius:16px!important;
}
.ember-v2-shell .today-section-heading.tour-live-highlight{
  padding:8px 10px!important;
  margin-left:10px!important;
  margin-right:10px!important;
  width:calc(100% - 20px)!important;
}
.ember-v2-shell .bottom-nav .tour-live-highlight,
.ember-v2-shell .bottom-nav.tour-live-highlight{
  outline-offset:6px!important;
}

/* Dark themes: creation flows use semantic surfaces consistently. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(
  .empty-day,
  .minimal-list-empty,
  .setup-choice-grid>button,
  .habit-so-far,
  .habit-so-far.simple,
  .routine-builder-section,
  .identity-sentence-field,
  .example-set button,
  .day-presets button,
  .schedule-mode-toggle,
  .weekly-target-picker button,
  .validation-note
){
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .setup-choice-grid>button.guided{
  background:linear-gradient(135deg,color-mix(in srgb,var(--orange-soft) 70%,var(--surface)),var(--surface))!important;
  border-color:color-mix(in srgb,var(--orange) 32%,var(--line))!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .setup-choice-icon{
  background:var(--surface2)!important;
  color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .setup-choice-grid>button.guided .setup-choice-icon{
  background:var(--orange-soft)!important;
  color:var(--orange)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(
  .setup-choice-grid small,
  .habit-so-far-label,
  .habit-so-far p,
  .routine-builder-section>p,
  .example-set>span,
  .identity-sentence-field>span
){color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .example-set button:hover,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .example-set button:focus{
  background:var(--orange-soft)!important;
  border-color:color-mix(in srgb,var(--orange) 45%,var(--line))!important;
  color:var(--orange)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .day-presets button.selected,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .weekly-target-picker button.selected{
  background:var(--orange-soft)!important;
  border-color:var(--orange)!important;
  color:var(--orange)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .schedule-mode-toggle{
  background:var(--surface2)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .schedule-mode-toggle button{
  color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .schedule-mode-toggle button.selected{
  background:color-mix(in srgb,var(--surface) 88%,white 3%)!important;
  color:var(--ink)!important;
  box-shadow:0 1px 4px rgba(0,0,0,.22)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .validation-note{
  background:color-mix(in srgb,var(--orange-soft) 72%,var(--surface))!important;
  border:1px solid color-mix(in srgb,var(--orange) 24%,var(--line))!important;
  color:color-mix(in srgb,var(--orange) 78%,white)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(input,textarea,select)::placeholder{
  color:color-mix(in srgb,var(--muted) 82%,white 6%)!important;
  opacity:1!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .identity-sentence-field input{
  border-bottom-color:var(--line)!important;
}

/* Dark-theme secondary and disabled controls should read intentionally, not as light leaks or muddy browns. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .secondary{
  background:var(--surface2)!important;
  color:var(--ink)!important;
  border:1px solid var(--line)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) button:disabled,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .primary:disabled{
  background:color-mix(in srgb,var(--surface2) 90%,var(--orange) 10%)!important;
  color:color-mix(in srgb,var(--muted) 78%,transparent)!important;
  border-color:var(--line)!important;
  box-shadow:none!important;
  opacity:1!important;
}

/* Empty states in dark mode should belong to the page, not look pasted in. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .empty-day,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .minimal-list-empty{
  background:color-mix(in srgb,var(--surface) 92%,transparent)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .empty-day strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .minimal-list-empty{color:var(--orange)!important}

/* Ember 2.0.54 - dark hierarchy, account deletion, mobile reorder, deeper plain-language Insights */
/* You page section labels sit on the page, while only the setting rows carry a card surface. */
.ember-v2-shell .grouped-settings{background:transparent!important;border:0!important;border-radius:0!important;overflow:visible!important;display:flex;flex-direction:column;gap:0}
.ember-v2-shell .grouped-settings .settings-group-label{background:transparent!important;padding:20px 6px 8px!important;margin:0!important;color:var(--muted)!important}
.ember-v2-shell .grouped-settings .settings-group-label:first-child{padding-top:0!important}
.ember-v2-shell .grouped-settings>button{background:var(--surface)!important;border-left:1px solid var(--line)!important;border-right:1px solid var(--line)!important}
.ember-v2-shell .grouped-settings>.settings-group-label+button{border-top:1px solid var(--line)!important;border-radius:20px 20px 0 0!important}
.ember-v2-shell .grouped-settings>button:has(+ .settings-group-label),
.ember-v2-shell .grouped-settings>button:last-child{border-radius:0 0 20px 20px!important;border-bottom:1px solid var(--line)!important}

/* Dark habit detail controls should never look like pasted light tiles. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .plan-edit-button{
  background:var(--surface2)!important;border-color:color-mix(in srgb,var(--orange) 34%,var(--line))!important;color:var(--orange)!important
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .detail-context-grid .goal-icon{
  background:var(--surface2)!important;border:1px solid var(--line)!important;color:var(--orange)!important
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .context-tile{background:var(--surface)!important;border-color:var(--line)!important}

/* Miss-note / reflection surfaces stay native to the dark theme. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.journal-intro,.journal-reassurance,.journal-preview,.interruption-review){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .journal-icon{background:var(--surface2)!important;color:var(--orange)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .journal-reassurance{background:color-mix(in srgb,var(--ice-soft) 36%,var(--surface))!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .journal-reassurance small{color:var(--muted)!important}

/* Completed Today cards mirror the missed semantic state with a restrained dark green surface. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.done{
  background:color-mix(in srgb,var(--green) 15%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--green) 48%,var(--line))!important
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.done .today-copy .title-row strong{color:color-mix(in srgb,var(--green) 74%,white 26%)!important}

/* Long press reorder should work reliably on Android Chrome without a visible handle. */
.ember-v2-shell .sortable-habit-list .sort-wrap{touch-action:pan-y;-webkit-user-select:none;user-select:none}
body.ember-reordering .ember-v2-shell .sortable-habit-list .sort-wrap{touch-action:none!important}

/* Permanent account deletion */
.ember-v2-shell .account-danger-zone{margin-top:22px;padding:16px;border:1px solid color-mix(in srgb,var(--red) 34%,var(--line));border-radius:18px;background:color-mix(in srgb,var(--red) 5%,var(--surface));display:flex;flex-direction:column;gap:9px}
.ember-v2-shell .account-danger-zone>strong{font-size:15px}.ember-v2-shell .account-danger-zone>p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.ember-v2-shell .account-danger-zone label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:800}.ember-v2-shell .account-danger-zone input{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:12px;padding:12px;font:inherit}
.ember-v2-shell .account-delete-button{border:1px solid color-mix(in srgb,var(--red) 48%,var(--line));border-radius:12px;padding:12px;background:color-mix(in srgb,var(--red) 10%,var(--surface));color:var(--red);font-weight:850}
.ember-v2-shell .account-delete-button:disabled{opacity:.48!important;background:var(--surface2)!important;color:var(--muted)!important}
.ember-v2-shell .account-delete-error{color:var(--red);font-weight:750}

/* Ember 2.0.55 - daily rollover, semantic completion, clearer Insights, fair-value pricing */
/* Final dark-state override: complete cards must visibly read green, not neutral/black. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) article.today-card.complete{
  background:var(--green-soft)!important;
  border-color:color-mix(in srgb,var(--green) 58%,var(--line))!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 10%,transparent)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) article.today-card.complete .today-copy .title-row strong{
  color:color-mix(in srgb,var(--green) 78%,white 22%)!important;
}
.ember-v2-shell .insight-why-card,.ember-v2-shell .insight-context-nudge{
  display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;margin-top:10px;padding:13px 14px;border:1px solid var(--line);border-radius:17px;background:var(--surface)
}
.ember-v2-shell .insight-why-card>span{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:var(--green-soft);color:var(--green)}
.ember-v2-shell .insight-why-card>div,.ember-v2-shell .insight-context-nudge>div{display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .insight-why-card small{font-size:13px;font-weight:850;letter-spacing:.08em;color:var(--green)}
.ember-v2-shell .insight-why-card strong{font-size:13px;line-height:1.48;color:var(--ink)}
.ember-v2-shell .insight-context-nudge>svg{color:var(--orange);margin:6px}
.ember-v2-shell .insight-context-nudge strong{font-size:13px}.ember-v2-shell .insight-context-nudge p{font-size:13px;line-height:1.5;color:var(--muted);margin:0}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.insight-why-card,.insight-context-nudge){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell .annual-price-compare{display:flex!important;flex-direction:row!important;gap:5px;align-items:center;flex-wrap:wrap;line-height:1.25}
.ember-v2-shell .annual-price-compare s{opacity:.7;text-decoration-thickness:1.5px}
@media(max-width:560px){.ember-v2-shell .pricing button.recommended{align-items:flex-start}.ember-v2-shell .pricing button.recommended>b{text-align:right;white-space:nowrap}}


/* Ember 2.0.56 — dark completed-state + pricing polish */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) article.today-card.complete{
  background:var(--green-soft)!important;
  border-color:color-mix(in srgb,var(--green) 60%,var(--line))!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 14%,transparent)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) article.today-card.complete .today-copy .title-row strong{
  color:color-mix(in srgb,var(--green) 80%,white 20%)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) article.today-card.complete .complete-button.done{
  background:var(--green)!important;border-color:var(--green)!important;color:#fff!important;
}
@media(max-width:560px){
  .ember-v2-shell .pricing button.recommended{padding-top:20px!important;align-items:center!important;}
  .ember-v2-shell .pricing button.recommended>em{
    top:-12px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;white-space:nowrap;
    border-radius:999px!important;padding:5px 10px!important;
  }
  .ember-v2-shell .pricing button.recommended>span{align-self:center;min-width:0;}
  .ember-v2-shell .pricing button.recommended>b{margin-left:auto;text-align:right;white-space:nowrap;}
}

/* Ember 2.0.57 - icon personalization, dark reflection/score polish */
.ember-v2-shell .habit-icon-picker{margin-top:14px;padding:13px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.ember-v2-shell .habit-icon-picker-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:10px}
.ember-v2-shell .habit-icon-picker-head strong{font-size:13px}.ember-v2-shell .habit-icon-picker-head small{font-size:13px;color:var(--muted);text-align:right}
.ember-v2-shell .habit-icon-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-height:290px;overflow:auto;scrollbar-width:none}
.ember-v2-shell .habit-icon-grid::-webkit-scrollbar{display:none}
.ember-v2-shell .habit-icon-grid button{min-width:0;min-height:62px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);color:var(--orange);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 3px;cursor:pointer}
.ember-v2-shell .habit-icon-grid button span{max-width:100%;font-size:10px;line-height:1.1;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ember-v2-shell .habit-icon-grid button.selected{border-color:color-mix(in srgb,var(--orange) 68%,var(--line));background:var(--orange-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--orange) 18%,transparent)}
.ember-v2-shell .habit-icon-grid button.selected span{color:var(--orange);font-weight:800}
@media(max-width:430px){.ember-v2-shell .habit-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Missed-day reflection must never inherit the light card treatment in dark themes. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .miss-reflection-card{
  background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:none!important
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .miss-reflection-card>strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .miss-reflection-card>p{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .reflection-dismiss{color:var(--muted)!important;background:var(--surface2)!important;border-radius:999px!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .reflection-input-row input{background:var(--surface2)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .reflection-input-row input::placeholder{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .reflection-input-row button:disabled{background:var(--surface2)!important;color:var(--muted)!important;opacity:1!important}

/* Score diagnostics stay readable in every dark theme. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .score-drivers{
  background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .score-driver-group article{border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .score-driver-group article span,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .score-driver-group article b{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .score-driver-group article small{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .formula-note{background:var(--surface)!important;color:var(--muted)!important;border-color:var(--line)!important}

/* The Ember Score should visually fill its donut instead of looking like a footnote. */
.ember-v2-shell .insights-score-card .ring-content b{font-size:29px!important;font-weight:850!important;letter-spacing:-.03em}

/* Ember 2.0.58 — Break Habit, owner-admin hardening, icon refinement */
.ember-v2-shell .habit-kind-choice .break-choice .setup-choice-icon{color:var(--red);background:color-mix(in srgb,var(--red) 10%,var(--surface))}
.ember-v2-shell .create-kind-back{margin-top:12px;border:0;background:transparent;color:var(--muted);font-size:12px;font-weight:800;cursor:pointer}
.ember-v2-shell .break-habit-flow{display:flex;flex-direction:column;gap:13px}
.ember-v2-shell .break-habit-flow>h3{font-size:25px;letter-spacing:-.035em;margin:0;color:var(--ink)}
.ember-v2-shell .break-habit-flow>p{margin:-5px 0 2px;color:var(--muted);font-size:14px;line-height:1.5}
.ember-v2-shell .break-target-field{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 13px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.ember-v2-shell .break-target-field>span,.ember-v2-shell .break-target-field>b{font-size:15px;font-weight:850;color:var(--ink);white-space:nowrap}
.ember-v2-shell .break-target-field input{min-width:0;border:0!important;box-shadow:none!important;background:transparent!important;padding:4px 2px!important;font:inherit;font-size:17px!important;color:var(--ink)!important}
.ember-v2-shell .break-statement-preview{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:15px;background:var(--green-soft);color:var(--green);font-size:14px}
.ember-v2-shell .break-statement-preview span{color:var(--ink)}
.ember-v2-shell .break-options{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.ember-v2-shell .break-options summary{list-style:none;padding:14px 15px;cursor:pointer;font-size:13px;font-weight:850;color:var(--ink)}
.ember-v2-shell .break-options summary::-webkit-details-marker{display:none}
.ember-v2-shell .break-options summary:after{content:'+';float:right;color:var(--muted);font-size:17px;line-height:1}
.ember-v2-shell .break-options[open] summary:after{content:'−'}
.ember-v2-shell .break-options-body{padding:0 14px 14px;display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line)}
.ember-v2-shell .break-options-body>.quick-main-field:first-child{padding-top:13px}
.ember-v2-shell .break-dot{display:inline-flex;align-items:center;height:19px;padding:0 7px;border-radius:999px;background:color-mix(in srgb,var(--red) 10%,var(--surface));border:1px solid color-mix(in srgb,var(--red) 25%,var(--line));color:var(--red);font-size:9px;font-weight:900;letter-spacing:.08em}
.ember-v2-shell .habit-icon-grid button svg{stroke-width:1.85;vector-effect:non-scaling-stroke}

/* New create/break surfaces inherit the selected dark theme instead of leaking light cards. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.break-target-field,.break-options,.habit-icon-picker){background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .break-statement-preview{background:color-mix(in srgb,var(--green) 14%,var(--surface))!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .break-statement-preview span{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .break-dot{background:color-mix(in srgb,var(--red) 14%,var(--surface))!important;border-color:color-mix(in srgb,var(--red) 34%,var(--line))!important;color:color-mix(in srgb,var(--red) 78%,white)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .setup-choice-grid>button{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .setup-choice-grid>button small{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .setup-choice-icon{background:var(--surface2)!important;border-color:var(--line)!important}

/* Ember 2.0.59 — rolling week, dark-mode editor/review polish, mobile reorder */
.ember-v2-shell .rolling-week-strip{display:flex;align-items:center;gap:5px;margin-top:9px;max-width:230px;color:var(--muted)}
.ember-v2-shell .rolling-week-label{font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;opacity:.58;margin-right:2px}
.ember-v2-shell .rolling-day{width:19px;display:flex;flex-direction:column;align-items:center;gap:3px;opacity:.86}
.ember-v2-shell .rolling-day small{font-size:8px;line-height:1;font-weight:800;color:var(--muted)}
.ember-v2-shell .rolling-day i{width:7px;height:7px;border-radius:999px;background:var(--surface2);border:1px solid var(--line);display:block}
.ember-v2-shell .rolling-day.kept i{background:var(--green);border-color:var(--green)}
.ember-v2-shell .rolling-day.missed i{background:var(--red);border-color:var(--red)}
.ember-v2-shell .rolling-day.off{opacity:.32}
.ember-v2-shell .rolling-day.pending i,.ember-v2-shell .rolling-day.unrecorded i{background:transparent}
.ember-v2-shell .rolling-day.today{opacity:1}.ember-v2-shell .rolling-day.today small{color:var(--orange)}
.ember-v2-shell .rolling-day:first-of-type{opacity:.48}

/* Break-habit entry: a normal prompt + clean input, not a nested sentence control. */
.ember-v2-shell .break-target-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;padding:0!important;border:0!important;background:transparent!important}
.ember-v2-shell .break-target-field>span{font-size:12px!important;font-weight:850!important;color:var(--muted)!important;letter-spacing:.02em}
.ember-v2-shell .break-target-field input{width:100%!important;min-height:54px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--surface)!important;padding:0 15px!important;font-size:18px!important;font-weight:750!important;color:var(--ink)!important;outline:none!important}
.ember-v2-shell .break-target-field input:focus{border-color:color-mix(in srgb,var(--orange) 62%,var(--line))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 12%,transparent)!important}

/* Dark edit-habit is a true dark surface system rather than light cards with inverted fields. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .staged-edit-form{background:transparent!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage{
  background:var(--surface)!important;border:1px solid var(--line)!important;box-shadow:none!important;color:var(--ink)!important
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .optional-edit-stage{background:var(--surface)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage-head{border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage-head>span{background:color-mix(in srgb,var(--orange) 15%,var(--surface2))!important;color:var(--orange)!important;border-color:color-mix(in srgb,var(--orange) 24%,var(--line))!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage-head strong,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage .builder-field>span,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage .select-label{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage-head small,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage .builder-field>small,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage em,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .required-tag{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage :where(input,textarea,select){background:var(--surface2)!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:none!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage :where(input,textarea)::placeholder{color:color-mix(in srgb,var(--muted) 82%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage :where(input,textarea,select):focus{border-color:color-mix(in srgb,var(--orange) 58%,var(--line))!important;outline:none!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 10%,transparent)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .edit-stage :where(.schedule-mode-toggle,.preset-days,.day-picker,.importance-picker>div){background:transparent!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .advanced-habit-settings{background:var(--surface2)!important;border-color:var(--line)!important;color:var(--ink)!important}

/* Weekly review nudge belongs to the active dark theme. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .weekly-nudge{
  background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important;box-shadow:none!important
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .weekly-nudge .weekly-icon{background:color-mix(in srgb,var(--orange) 15%,var(--surface2))!important;color:var(--orange)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .weekly-nudge small{color:color-mix(in srgb,var(--orange) 78%,white 22%)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .weekly-nudge strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .weekly-nudge>svg{color:var(--muted)!important}

/* Visually center the sparkle rather than the SVG's optical bounding box. */
.ember-v2-shell .insight-symbol svg{transform:translateX(-1px)}

/* Long-press reorder: prevent Android text selection/callouts on every descendant. */
.ember-v2-shell .sortable-habit-list .sort-wrap,
.ember-v2-shell .sortable-habit-list .sort-wrap *{-webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important}
.ember-v2-shell .sortable-habit-list .sort-wrap{touch-action:pan-y;cursor:grab}
.ember-v2-shell .sortable-habit-list .sort-wrap.dragging{touch-action:none!important;cursor:grabbing;transform:scale(1.02);z-index:20;filter:drop-shadow(0 14px 22px rgba(0,0,0,.18))}
body.ember-reordering{overscroll-behavior:none}

/* Ember 2.0.60 — shared rolling-week header + stronger mobile drag ownership */
.ember-v2-shell .rolling-week-header-wrap{padding:0 76px 6px 17px;display:flex;justify-content:flex-start}
.ember-v2-shell .rolling-week-header{width:230px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;color:var(--muted)}
.ember-v2-shell .rolling-week-header span{display:grid;place-items:center;gap:1px;opacity:.62}
.ember-v2-shell .rolling-week-header span b{font-size:9px;line-height:1;font-weight:850}
.ember-v2-shell .rolling-week-header span small{font-size:8px;line-height:1;font-weight:700}
.ember-v2-shell .rolling-week-header span.today{opacity:1;color:var(--orange)}
.ember-v2-shell .rolling-week-strip{display:grid;grid-template-columns:repeat(7,1fr);width:230px;max-width:230px;gap:0;margin-top:9px;color:var(--muted)}
.ember-v2-shell .rolling-week-strip .rolling-day{width:auto;min-width:0;display:grid;place-items:center;opacity:.86}
.ember-v2-shell .rolling-week-strip .rolling-day i{width:8px;height:8px}
.ember-v2-shell .rolling-week-strip .rolling-day:first-child{opacity:.5}
.ember-v2-shell .app-scroll.drag-scroll-locked{overflow-y:hidden!important;overscroll-behavior:none!important;touch-action:none!important}
body.ember-reordering{overflow:hidden!important;touch-action:none!important}
body.ember-reordering .ember-v2-shell .sortable-habit-list{touch-action:none!important}
body.ember-reordering .ember-v2-shell .sortable-habit-list .sort-wrap{touch-action:none!important}
@media(max-width:420px){.ember-v2-shell .rolling-week-header-wrap{padding-right:68px}.ember-v2-shell .rolling-week-header,.ember-v2-shell .rolling-week-strip{width:218px;max-width:218px}}

/* Ember 2.0.61 — compact rolling week beside today's completion + safer mobile drop */
.ember-v2-shell .today-card .card-actions{
  width:auto;
  min-width:58px;
  flex-direction:row;
  justify-content:flex-end;
  gap:7px;
  padding:0 11px 0 4px;
}
.ember-v2-shell .today-card .card-actions.with-rolling-week{min-width:171px}
.ember-v2-shell .today-card .rolling-week-strip{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:2px;
  width:auto;
  max-width:none;
  margin:0;
  flex:none;
}
.ember-v2-shell .today-card .rolling-week-strip .rolling-day{
  width:18px;
  height:18px;
  min-width:18px;
  border-radius:50%;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:-.02em;
  color:#7a807c;
  background:#f1eee9;
  border:1px solid rgba(55,61,57,.10);
  opacity:1;
}
.ember-v2-shell .today-card .rolling-week-strip .rolling-day.kept,
.ember-v2-shell .today-card .rolling-week-strip .rolling-day.complete{
  color:#fff;
  background:var(--green);
  border-color:var(--green);
}
.ember-v2-shell .today-card .rolling-week-strip .rolling-day.missed{
  color:#fff;
  background:var(--red);
  border-color:var(--red);
}
.ember-v2-shell .today-card .rolling-week-strip .rolling-day.off{
  color:#a6aaa7;
  background:transparent;
  border-color:rgba(90,96,92,.13);
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card .rolling-week-strip .rolling-day{
  color:color-mix(in srgb,var(--muted) 86%,white 14%);
  background:var(--surface2);
  border-color:var(--line);
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card .rolling-week-strip .rolling-day.kept,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card .rolling-week-strip .rolling-day.complete{color:#fff;background:var(--green);border-color:var(--green)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card .rolling-week-strip .rolling-day.missed{color:#fff;background:var(--red);border-color:var(--red)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card .rolling-week-strip .rolling-day.off{background:transparent;color:var(--muted);border-color:var(--line)}
body.ember-reordering .ember-v2-shell .app-scroll{overflow:hidden!important;overscroll-behavior:none!important;touch-action:none!important}
@media(max-width:390px){
  .ember-v2-shell .today-card .card-actions.with-rolling-week{min-width:159px;gap:5px;padding-right:9px}
  .ember-v2-shell .today-card .rolling-week-strip{gap:1px}
  .ember-v2-shell .today-card .rolling-week-strip .rolling-day{width:17px;height:17px;min-width:17px;font-size:9px}
}


/* Ember 2.0.62 — routine sequence drag affordance only */
.ember-v2-shell .routine-sequence-editor .sequence-row{grid-template-columns:26px 34px minmax(0,1fr) 34px}
.ember-v2-shell .routine-sequence-editor .routine-drag-handle{width:26px;height:34px;padding:0;border:0;background:transparent;color:var(--muted);display:grid;place-items:center;cursor:grab;touch-action:none}
.ember-v2-shell .routine-sequence-editor .routine-drag-handle:active{cursor:grabbing}

/* Ember 2.0.63 — compact rolling week, dark missed state, optional Routine timing */
.ember-v2-shell .today-card .rolling-week-strip{gap:3px!important}
.ember-v2-shell .today-card .rolling-week-strip .rolling-day{font-size:9px!important}
@media(max-width:390px){
  .ember-v2-shell .today-card .rolling-week-strip{gap:3px!important}
  .ember-v2-shell .today-card .rolling-week-strip .rolling-day{font-size:9px!important}
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-card.missed .complete-button.missed{
  background:var(--red)!important;
  border-color:var(--red)!important;
  color:#fff!important;
  box-shadow:0 5px 14px color-mix(in srgb,var(--red) 28%,transparent)!important;
}
.ember-v2-shell .routine-timing-panel{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.ember-v2-shell .routine-timing-toggle{width:100%;border:0;background:transparent;color:var(--ink);padding:13px 14px;display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:12px;align-items:center;text-align:left;cursor:pointer}
.ember-v2-shell .routine-timing-toggle>span{display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .routine-timing-toggle strong{font-size:14px}
.ember-v2-shell .routine-timing-toggle small{font-size:13px;line-height:1.35;color:var(--muted);font-weight:600}
.ember-v2-shell .routine-timing-toggle>i{width:42px;height:24px;border-radius:999px;background:#d9d6d1;position:relative;transition:.2s ease}
.ember-v2-shell .routine-timing-toggle>i::after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.15);transition:.2s ease}
.ember-v2-shell .routine-timing-toggle>i.on{background:var(--orange)}
.ember-v2-shell .routine-timing-toggle>i.on::after{transform:translateX(18px)}
.ember-v2-shell .routine-timing-body{border-top:1px solid var(--line);padding:13px 14px 14px;display:flex;flex-direction:column;gap:11px;background:color-mix(in srgb,var(--surface2) 45%,var(--surface))}
.ember-v2-shell .routine-timing-mode{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border-radius:12px;background:var(--surface2)}
.ember-v2-shell .routine-timing-mode button{height:36px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:800;cursor:pointer}
.ember-v2-shell .routine-timing-mode button.selected{background:var(--surface);color:var(--ink);box-shadow:0 2px 7px rgba(42,35,30,.08)}
.ember-v2-shell .routine-timing-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;align-items:end}
.ember-v2-shell .routine-timing-fields label,.ember-v2-shell .routine-calculated-time{display:flex;flex-direction:column;gap:5px}
.ember-v2-shell .routine-timing-fields label>span,.ember-v2-shell .routine-calculated-time>span{font-size:13px;font-weight:800;color:var(--muted)}
.ember-v2-shell .routine-timing-fields input{width:100%;height:46px;box-sizing:border-box;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:0 11px;font-size:15px}
.ember-v2-shell .routine-calculated-time strong{height:46px;border:1px dashed var(--line);border-radius:12px;background:var(--surface);display:flex;align-items:center;padding:0 12px;font-size:15px;color:var(--muted)}
.ember-v2-shell .routine-calculated-time.ready strong{border-style:solid;border-color:color-mix(in srgb,var(--orange) 30%,var(--line));color:var(--orange);background:color-mix(in srgb,var(--orange-soft) 55%,var(--surface))}
.ember-v2-shell .routine-timing-summary{margin:0;font-size:13px;line-height:1.35;color:var(--muted);font-weight:650}
.ember-v2-shell .routine-sequence-editor .sequence-row.with-duration{grid-template-columns:26px 34px minmax(0,1fr) 62px 34px}
.ember-v2-shell .routine-step-duration{display:flex!important;flex-direction:column!important;gap:1px!important;align-items:center!important;min-width:0}
.ember-v2-shell .routine-step-duration input{width:54px;height:34px;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:800;text-align:center;padding:0 5px}
.ember-v2-shell .routine-step-duration span{font-size:9px;line-height:1;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-timing-panel{background:var(--surface);border-color:var(--line)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-timing-body{background:var(--surface2);border-color:var(--line)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-timing-mode{background:color-mix(in srgb,var(--surface) 75%,black 25%)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-timing-mode button.selected,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-timing-fields input,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-calculated-time strong,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-step-duration input{background:var(--surface);color:var(--ink);border-color:var(--line)}
@media(max-width:430px){
  .ember-v2-shell .routine-timing-fields{grid-template-columns:1fr 1fr}
  .ember-v2-shell .routine-sequence-editor .sequence-row.with-duration{grid-template-columns:24px 30px minmax(0,1fr) 56px 30px;gap:6px;padding-left:7px;padding-right:7px}
  .ember-v2-shell .routine-step-duration input{width:50px}
}

/* Ember 2.0.64 — Routine usability + archive cleanup */
/* Routine day selection must remain visibly interactive in dark themes. */
.ember-v2-shell .routine-days button{cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .12s ease}
.ember-v2-shell .routine-days button:active{transform:scale(.96)}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-days button.selected{
  background:color-mix(in srgb,var(--orange) 24%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--orange) 62%,transparent)!important;
  color:color-mix(in srgb,var(--orange) 78%,white 22%)!important;
}

/* Journey Routine preview belongs to the active theme rather than keeping a light card. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-journey-card{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-journey-card.complete{
  background:var(--green-soft)!important;
  border-color:color-mix(in srgb,var(--green) 38%,transparent)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-line-preview>span{
  background:var(--surface2)!important;color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-line-preview>span.tracked{
  background:color-mix(in srgb,var(--orange-soft) 52%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--orange) 30%,transparent)!important;color:var(--orange)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-line-preview>span.done{
  background:var(--green-soft)!important;color:color-mix(in srgb,var(--green) 72%,white 28%)!important;
  border-color:color-mix(in srgb,var(--green) 34%,transparent)!important;
}

/* Keep step timing compact and readable on one line. */
.ember-v2-shell .routine-sequence-editor .sequence-row.with-duration{grid-template-columns:26px 34px minmax(0,1fr) 70px 30px;gap:7px;padding:9px 9px}
.ember-v2-shell .routine-step-duration{
  width:70px;height:36px;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:3px!important;align-items:center!important;padding:0 8px;border:1px solid var(--line);border-radius:11px;background:var(--surface2);
}
.ember-v2-shell .routine-step-duration input{
  width:100%!important;height:30px!important;border:0!important;background:transparent!important;padding:0!important;
  text-align:right;font-size:13px!important;outline:none;min-width:0;
}
.ember-v2-shell .routine-step-duration span{
  font-size:10px!important;line-height:1!important;text-transform:lowercase!important;letter-spacing:0!important;color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-step-duration{background:var(--surface2)!important;border-color:var(--line)!important}

/* Quick-add at the end of the sequence so long Routines can be built without scrolling back up. */
.ember-v2-shell .routine-bottom-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px;padding-top:12px;border-top:1px solid var(--line)}
.ember-v2-shell .routine-bottom-add input{width:100%;min-width:0;height:44px;box-sizing:border-box;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);padding:0 12px;font-size:13px}
.ember-v2-shell .routine-bottom-add button{height:44px;border:0;border-radius:13px;background:var(--orange);color:#fff;padding:0 14px;font-size:13px;font-weight:800;display:flex;align-items:center;gap:5px}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-bottom-add input{background:var(--surface2)!important;border-color:var(--line)!important;color:var(--ink)!important}

/* Expand/collapse the compact Routine overview without starting or editing the Routine. */
.ember-v2-shell .routine-more-steps{width:max-content;border:0;background:transparent;color:var(--orange);padding:6px 8px 2px 36px;font-size:13px;font-weight:800;display:flex;align-items:center;gap:4px;cursor:pointer}
.ember-v2-shell .routine-more-steps:active{opacity:.72}

/* Unified archive under You. */
.ember-v2-shell .archive-items{display:flex;flex-direction:column;gap:18px}
.ember-v2-shell .archive-items-group{display:flex;flex-direction:column;gap:8px}
.ember-v2-shell .archive-items-group>.eyebrow{padding-left:2px}

/* Slightly calmer Routine editor surfaces in dark mode. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-builder-clean .sequence-row{
  background:var(--surface)!important;border-color:var(--line)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-builder-clean .sequence-row.tracked{
  background:color-mix(in srgb,var(--orange-soft) 26%,var(--surface))!important;
  border-color:color-mix(in srgb,var(--orange) 24%,var(--line))!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-builder-clean .sequence-type{
  background:var(--surface2)!important;
}
@media(max-width:430px){
  .ember-v2-shell .routine-sequence-editor .sequence-row.with-duration{grid-template-columns:22px 30px minmax(0,1fr) 66px 28px;gap:6px;padding-left:7px;padding-right:7px}
  .ember-v2-shell .routine-step-duration{width:66px;padding:0 7px}
}

/* Ember 2.0.66 — dark-mode polish, compact routine cards, consistent routine-step language */

/* When a Today card has both a Routine and the rolling-week strip, keep the streak compact. */
.ember-v2-shell .today-card .streak-mini.compact-streak{
  gap:4px;
  white-space:nowrap;
  min-width:auto;
}
.ember-v2-shell .today-card .streak-mini.compact-streak svg{flex:0 0 auto}

/* Routine badges on Today should feel integrated instead of like bright light-theme pills. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-mini{
  background:color-mix(in srgb,var(--surface2) 82%,var(--orange) 18%)!important;
  border:1px solid color-mix(in srgb,var(--orange) 24%,var(--line))!important;
  color:color-mix(in srgb,var(--ink) 82%,var(--orange) 18%)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-mini svg{color:var(--orange)!important}

/* Today routine prompt: remove the light card carryover in dark themes. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-routine-prompt,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-routine-prompt.active{
  background:color-mix(in srgb,var(--surface) 92%,var(--orange) 8%)!important;
  border-color:color-mix(in srgb,var(--orange) 28%,var(--line))!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-routine-prompt .routine-prompt-icon{
  background:color-mix(in srgb,var(--orange) 16%,var(--surface2))!important;
  border:1px solid color-mix(in srgb,var(--orange) 28%,transparent)!important;
  color:var(--orange)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-routine-prompt .routine-prompt-copy small{
  color:color-mix(in srgb,var(--muted) 82%,var(--orange) 18%)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-routine-prompt .routine-prompt-copy strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-routine-prompt .routine-prompt-copy em{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .today-routine-prompt>b{color:var(--orange)!important}

/* Routine overview dark-mode controls. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .saved-chain.path-card{
  background:var(--surface)!important;
  border-color:var(--line)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-start-small{
  background:color-mix(in srgb,var(--orange) 14%,var(--surface2))!important;
  border-color:color-mix(in srgb,var(--orange) 32%,var(--line))!important;
  color:color-mix(in srgb,var(--orange) 82%,white 18%)!important;
  box-shadow:none!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-edit-icon{
  background:var(--surface2)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-outline-icon{
  background:color-mix(in srgb,var(--orange) 12%,var(--surface2))!important;
  border-color:color-mix(in srgb,var(--orange) 30%,var(--line))!important;
  color:var(--orange)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .entity-archive-button{
  background:var(--surface2)!important;
  border-color:var(--line)!important;
  color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .entity-archive-button svg{color:var(--muted)!important}

/* Goal creation: fully dark-native cards and controls. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-measure-create,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-milestone-create{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-measure-create>p,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-measure-editor-head small,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-measure-fields label span{
  color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-measure-fields input,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-milestone-input input,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-guided-step .builder-field input,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-guided-step .builder-field textarea,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-guided-step .builder-field select{
  background:var(--surface2)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-milestone-input button{
  background:color-mix(in srgb,var(--orange) 15%,var(--surface2))!important;
  border-color:color-mix(in srgb,var(--orange) 28%,var(--line))!important;
  color:var(--orange)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-guided-step .example-chip,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-guided-step .example-chips button{
  background:var(--surface2)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}

/* Goal detail: remove light-theme islands. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-icon.large-outline{
  background:color-mix(in srgb,var(--orange) 12%,var(--surface2))!important;
  border-color:color-mix(in srgb,var(--orange) 30%,var(--line))!important;
  color:var(--orange)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-measure-progress,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-milestone-section{
  background:var(--surface)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-measure-bar{background:var(--surface2)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-progress-mode{
  background:color-mix(in srgb,var(--surface2) 84%,black 16%)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-progress-mode button{
  color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-progress-mode button.selected{
  background:color-mix(in srgb,var(--surface) 72%,white 28%)!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 18%,transparent),0 2px 8px rgba(0,0,0,.18)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-progress-mode button:not(.selected){
  background:transparent!important;
  color:color-mix(in srgb,var(--muted) 82%,black 18%)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-progress-entry input{
  background:var(--surface2)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-milestone-node{
  background:var(--surface2)!important;
  border-color:color-mix(in srgb,var(--line) 72%,white 28%)!important;
  color:var(--muted)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .goal-milestone.done .goal-milestone-node{
  background:var(--orange)!important;
  border-color:var(--orange)!important;
  color:#fff!important;
}

/* Ember 2.0.71 — People dark mode + real invite QR */
.ember-v2-shell .real-qr{width:184px;height:184px;padding:10px;background:#fff;border:1px solid #ddd6cf;border-radius:16px;display:grid;place-items:center}
.ember-v2-shell .real-qr svg{width:100%;height:100%;display:block}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .invite-qr-card{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .invite-qr-card small{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-card,.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .people-empty-card{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}


/* Ember 2.0.73 — streamlined You hub */
.ember-v2-shell .you-hub{margin-top:16px}
.ember-v2-shell .you-hub>button{min-height:68px;padding:13px 15px}
.ember-v2-shell .you-hub>button>span:first-child{gap:12px}
.ember-v2-shell .you-hub-copy{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:2px!important;text-align:left}
.ember-v2-shell .you-hub-copy strong{font-size:14px;line-height:1.25}
.ember-v2-shell .you-hub-copy small{font-size:13px;color:var(--muted);font-weight:500;line-height:1.3}
.ember-v2-shell .you-subpage-list{margin-top:0}
.ember-v2-shell .you-subpage-list button{min-height:52px}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .you-hub-copy small{color:var(--muted)!important}

/* Ember 2.0.76 — premium navigation motion, refund tooling, offline retry, and cleanup. */
.ember-v2-shell .sheet-backdrop{animation:emberBackdropIn .18s ease-out both}
.ember-v2-shell .sheet{animation:emberSheetIn .26s cubic-bezier(.22,.85,.26,1) both;transform-origin:50% 100%}
.ember-v2-shell .view{animation:emberViewIn .22s cubic-bezier(.22,.75,.26,1) both}
.ember-v2-shell :where(.today-card,.goal-card,.routine-card,.person-card,.challenge-card,.settings-list>button,.score-card,.insight-card,.journey-row){transition:transform .16s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease,opacity .18s ease}
.ember-v2-shell :where(button,.today-check,.today-miss){-webkit-tap-highlight-color:transparent}
.ember-v2-shell :where(.settings-list>button,.today-card button,.goal-card,.routine-card,.challenge-card,.score-card):active{transform:scale(.985)}
.ember-v2-shell .progress-ring circle,.ember-v2-shell .insights-learning-bar i,.ember-v2-shell .challenge-detail-progress i b,.ember-v2-shell .component-line b,.ember-v2-shell .pattern-bars b{transition:stroke-dashoffset .42s cubic-bezier(.22,.75,.26,1),width .42s cubic-bezier(.22,.75,.26,1)}
@keyframes emberBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes emberSheetIn{from{transform:translateY(28px) scale(.992);opacity:.45}to{transform:translateY(0) scale(1);opacity:1}}
@keyframes emberViewIn{from{transform:translateY(7px);opacity:.55}to{transform:none;opacity:1}}

/* Create Challenge: remove inherited light surfaces in all dark themes. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .create-challenge-intro{
  background:color-mix(in srgb,var(--surface) 92%,var(--orange) 8%)!important;
  border-color:color-mix(in srgb,var(--orange) 28%,var(--line))!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .create-challenge-intro :where(strong,p,svg){color:inherit!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.challenge-type-picker button,.challenge-duration button,.challenge-schedule-modes button,.challenge-day-picker button,.challenge-friend-picker button){
  background:var(--surface2)!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) :where(.challenge-type-picker button.selected,.challenge-duration button.selected,.challenge-schedule-modes button.selected,.challenge-day-picker button.selected){
  background:color-mix(in srgb,var(--orange) 18%,var(--surface2))!important;
  border-color:var(--orange)!important;
  color:#ff7a4e!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-friend-picker button.selected{
  background:color-mix(in srgb,var(--green) 15%,var(--surface2))!important;
  border-color:color-mix(in srgb,var(--green) 45%,var(--line))!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .builder-field select{
  background:var(--surface2)!important;color:var(--ink)!important;border-color:var(--line)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .sheet-actions .secondary{background:var(--surface2)!important;color:var(--ink)!important;border:1px solid var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .sheet-actions .primary:disabled{background:color-mix(in srgb,var(--orange) 22%,var(--surface2))!important;color:var(--muted)!important;box-shadow:none!important}


/* Premium, intentional page motion. The frame remounts only when the primary tab changes. */
.ember-v2-shell .view-transition-frame{animation:emberPageEnter .28s cubic-bezier(.2,.82,.25,1) both;will-change:transform,opacity,filter}
.ember-v2-shell .view-transition-frame>.view{animation:none!important}
.ember-v2-shell .bottom-nav button{position:relative;overflow:hidden;transition:color .22s ease,background-color .22s ease,transform .16s ease}
.ember-v2-shell .bottom-nav button.active svg{animation:emberNavIconIn .28s cubic-bezier(.2,.9,.25,1.25)}
.ember-v2-shell .sheet-backdrop{animation-duration:.2s}
.ember-v2-shell .sheet{animation-duration:.3s}
.ember-v2-shell .settings-list>button svg:last-child{transition:transform .18s ease,color .18s ease}
.ember-v2-shell .settings-list>button:active svg:last-child{transform:translateX(2px)}
.ember-v2-shell :where(.primary,.secondary,.text-button,.add-action-button){transition:transform .14s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease,opacity .2s ease}
.ember-v2-shell :where(.primary,.secondary,.text-button,.add-action-button):active:not(:disabled){transform:scale(.975)}
@keyframes emberPageEnter{0%{opacity:0;transform:translateY(9px) scale(.997);filter:blur(1.5px)}55%{opacity:1}100%{opacity:1;transform:none;filter:none}}
@keyframes emberNavIconIn{0%{transform:none scale(.88)}100%{transform:none}}

/* Refund policy + private billing test harness. */
.ember-v2-shell .refund-policy,.ember-v2-shell .billing-test{display:grid;gap:14px}
.ember-v2-shell .refund-status{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface2)}
.ember-v2-shell .refund-status strong{font-size:20px;letter-spacing:-.02em}
.ember-v2-shell .refund-status p,.ember-v2-shell .refund-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.ember-v2-shell .refund-open{border-color:color-mix(in srgb,var(--green) 42%,var(--line));background:color-mix(in srgb,var(--green) 8%,var(--surface))}
.ember-v2-shell .refund-open strong{color:var(--green)}
.ember-v2-shell .refund-closed{border-color:color-mix(in srgb,var(--orange) 34%,var(--line))}
.ember-v2-shell .refund-not-eligible{opacity:.9}
.ember-v2-shell .refund-copy{display:grid;gap:9px;padding:0 2px}
.ember-v2-shell .builder-field textarea{width:100%;min-height:96px;resize:vertical;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);padding:12px 13px;outline:none}
.ember-v2-shell .builder-field textarea:focus{border-color:color-mix(in srgb,var(--orange) 55%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--orange) 10%,transparent)}
.ember-v2-shell .billing-gift-toggle{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;padding:13px 14px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.ember-v2-shell .billing-gift-toggle input{width:18px;height:18px;accent-color:var(--orange);margin-top:2px}
.ember-v2-shell .billing-gift-toggle span{display:grid;gap:3px}.ember-v2-shell .billing-gift-toggle strong{font-size:13px}.ember-v2-shell .billing-gift-toggle small{font-size:12px;color:var(--muted);line-height:1.4}

@media (prefers-reduced-motion:reduce){
  .ember-v2-shell .sheet-backdrop,.ember-v2-shell .sheet,.ember-v2-shell .view,.ember-v2-shell .view-transition-frame,.ember-v2-shell .bottom-nav button.active svg{animation:none!important}
  .ember-v2-shell *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* Ember 2.0.78 — keep modal depth without heavily blurring the page underneath. */
.ember-v2-shell .sheet-backdrop{backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px);background:rgba(21,23,21,.40)}

/* Ember 2.0.83 trial + membership flow polish */
.ember-v2-shell.trial-flow-shell{background:var(--bg)!important}
.ember-v2-shell .trial-ended-gate,
.ember-v2-shell .downgrade-gate{
  width:100%!important;
  max-width:none!important;
  min-height:100dvh!important;
  max-height:none!important;
  margin:0!important;
  box-sizing:border-box;
  background:var(--bg)!important;
}
.ember-v2-shell .trial-ended-gate{padding:max(42px,env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom))!important}
.ember-v2-shell .downgrade-gate{padding:max(28px,env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom))!important}
.ember-v2-shell .trial-keep-plus small{color:rgba(255,255,255,.92)!important;opacity:1!important}

.ember-v2-shell .membership-fullscreen{
  position:absolute;
  inset:0;
  z-index:145;
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  min-height:100%;
  overflow:hidden;
  background:var(--bg);
  color:var(--ink);
}
.ember-v2-shell .membership-page-header{
  flex:0 0 auto;
  min-height:64px;
  padding:max(12px,env(safe-area-inset-top)) 18px 10px;
  display:grid;
  grid-template-columns:72px 1fr 72px;
  align-items:end;
  border-bottom:1px solid var(--line);
  background:var(--bg);
}
.ember-v2-shell .membership-page-header h2{margin:0;text-align:center;font-size:21px;letter-spacing:-.025em}
.ember-v2-shell .membership-header-spacer{display:block}
.ember-v2-shell .membership-back{border:0;background:transparent;color:var(--muted);padding:8px 0;display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:800;cursor:pointer}
.ember-v2-shell .membership-page-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 20px calc(32px + env(safe-area-inset-bottom));scrollbar-width:none}
.ember-v2-shell .membership-page-scroll::-webkit-scrollbar{display:none}
.ember-v2-shell .membership-page-scroll>.paywall-hero{padding-top:2px}
.ember-v2-shell .membership-plan-picker{margin-top:18px}
.ember-v2-shell .membership-plan-picker button{position:relative;border:1px solid var(--line);transition:border-color .18s ease,background .18s ease,transform .16s ease,box-shadow .18s ease}
.ember-v2-shell .membership-plan-picker button:active{transform:scale(.988)}
.ember-v2-shell .membership-plan-picker button.selected{border-color:var(--orange)!important;background:var(--orange-soft)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--orange) 20%,transparent)}
.ember-v2-shell .membership-plan-picker button.selected:not(.recommended)::after{content:"Selected";position:absolute;top:8px;right:10px;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:var(--orange)}
.ember-v2-shell .membership-purchase{margin-top:14px;min-height:54px;font-size:15px;font-weight:850}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .membership-purchase{color:#fff!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .membership-plan-picker button.selected{background:color-mix(in srgb,var(--orange) 16%,var(--surface))!important}

@media(max-width:699px){
  .trial-flow-stage{padding:0!important;background:var(--bg)!important}
  .trial-flow-stage::before,.trial-flow-stage::after{display:none!important}
  .trial-flow-shell{width:100%!important;height:100dvh!important;min-height:100dvh!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  .ember-v2-shell .membership-fullscreen{position:absolute;inset:0}
}


/* Ember 2.0.83 — membership/state integrity + polish */
.ember-v2-shell .complete-button .day-x{transform:none!important;}
.ember-v2-shell .insights-page-hero.locked .premium-flame-tile{border-radius:14px!important;overflow:hidden;}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .minimal-people-empty>span:first-child{background:color-mix(in srgb,var(--surface2) 82%,var(--orange) 18%)!important;border:1px solid color-mix(in srgb,var(--orange) 24%,var(--line))!important;color:var(--orange)!important;}
.ember-v2-shell .manage-subscription-button{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:7px;}
.ember-v2-shell .score-history-card{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface);display:grid;gap:10px;}
.ember-v2-shell .score-history-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;}
.ember-v2-shell .score-history-card>header>div:first-child{display:grid;gap:2px}.ember-v2-shell .score-history-card>header strong{font-size:16px}.ember-v2-shell .score-history-card>header small{font-size:12px;color:var(--muted)}
.ember-v2-shell .score-history-ranges{display:flex;gap:3px;flex-wrap:wrap;justify-content:flex-end}.ember-v2-shell .score-history-ranges button{border:0;border-radius:999px;background:var(--surface2);color:var(--muted);padding:6px 8px;font-size:11px;font-weight:800}.ember-v2-shell .score-history-ranges button.active{background:var(--orange-soft);color:var(--orange)}
.ember-v2-shell .score-history-chart{height:132px;display:grid;grid-template-rows:1fr auto;gap:5px}.ember-v2-shell .score-history-chart svg{width:100%;height:100%;overflow:visible}.ember-v2-shell .score-history-chart polyline{stroke:var(--orange);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.ember-v2-shell .score-history-chart circle{fill:var(--surface);stroke:var(--orange);stroke-width:1.5}.ember-v2-shell .score-history-dates{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:700}.ember-v2-shell .score-history-card>p{margin:0;color:var(--muted);font-size:12px;line-height:1.4}

/* Ember 2.0.84 — verified component-level polish */
.ember-v2-shell .minimal-people-empty>span:first-child{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;
  background:var(--orange-soft)!important;color:var(--orange)!important;
  border:1px solid color-mix(in srgb,var(--orange) 22%,var(--line))!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .minimal-people-empty>span:first-child{
  background:color-mix(in srgb,var(--surface2) 88%,var(--orange) 12%)!important;
}
.ember-v2-shell .insights-page-hero.locked>.premium-flame-tile{
  width:44px;height:44px;border-radius:14px!important;display:grid;place-items:center;overflow:hidden;
}


/* Ember 2.0.86 — free-state integrity, exact glyph centering, score cleanup, membership preview */
.ember-v2-shell .complete-button{display:grid!important;place-items:center!important;}
.ember-v2-shell .complete-button .day-x{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;line-height:1!important;transform:none!important;font-family:Arial,Helvetica,sans-serif!important;font-size:24px!important;font-weight:400!important;padding:0!important;margin:0!important;}
.ember-v2-shell .score-history-card.is-waiting{padding-bottom:14px;}
.ember-v2-shell .score-level-ladder{margin-top:18px!important;}
.ember-v2-shell .score-level-ladder summary{padding-top:15px!important;padding-bottom:15px!important;}
/* Keep the lighter pre-2.0.86 blur strength, but make You/settings sheets visually uniform. */
.ember-v2-shell .sheet-backdrop{background:rgba(21,23,21,.40)!important;backdrop-filter:blur(1.5px)!important;-webkit-backdrop-filter:blur(1.5px)!important;}
.ember-v2-shell .you-view:has(> .sheet-backdrop) > :not(.sheet-backdrop){filter:blur(1.5px);}
.ember-v2-shell:has(.you-view > .sheet-backdrop) > .topbar,
.ember-v2-shell:has(.you-view > .sheet-backdrop) > .bottom-nav{filter:blur(1.5px);}
.ember-v2-shell .you-view > .sheet-backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
.ember-v2-shell .membership-preview-banner{position:fixed;z-index:70;top:max(8px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;max-width:calc(100% - 24px);padding:7px 8px 7px 10px;border-radius:999px;background:#222622;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.22);font-size:12px;font-weight:800;white-space:nowrap;}
.ember-v2-shell .membership-preview-banner svg{color:var(--orange)}
.ember-v2-shell .membership-preview-banner button{border:0;border-radius:999px;padding:5px 8px;background:var(--orange);color:#fff;font-size:11px;font-weight:850;}
.ember-v2-shell .membership-preview-status{display:grid;gap:3px;margin:12px 0;padding:12px 13px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);}
.ember-v2-shell .membership-preview-status small{font-size:10px;font-weight:850;letter-spacing:.1em;color:var(--muted)}
.ember-v2-shell .membership-preview-status strong{font-size:15px}
.ember-v2-shell .membership-preview-status span{font-size:12px;color:var(--orange);font-weight:800}
.ember-v2-shell .membership-test-grid button.selected{border-color:var(--orange)!important;background:var(--orange-soft)!important;}


/* Ember 2.0.86 — owner testing access, uniform settings blur, persistent score chart stage */
.ember-v2-shell .score-history-card.is-waiting{padding-bottom:14px;}
.ember-v2-shell .score-history-card.is-waiting .score-history-chart{min-height:132px;}
.ember-v2-shell .score-history-empty{height:132px;border-radius:14px;border:1px dashed color-mix(in srgb,var(--line) 88%,var(--orange) 12%);background:linear-gradient(to bottom,transparent 31%,color-mix(in srgb,var(--line) 45%,transparent) 32%,transparent 33%,transparent 64%,color-mix(in srgb,var(--line) 45%,transparent) 65%,transparent 66%);display:grid;place-content:center;text-align:center;gap:4px;padding:18px;}
.ember-v2-shell .score-history-empty strong{font-size:14px;}
.ember-v2-shell .score-history-empty span{max-width:300px;color:var(--muted);font-size:12px;line-height:1.45;}

/* 2.0.87 — auth is intentionally light-only before account preferences exist */
.auth-light-only,.auth-light-only *{color-scheme:light}
.auth-light-only input:not([type=checkbox]),.auth-light-only textarea,.auth-light-only select{background:#fff!important;color:#172037!important;border-color:#e2ddd8!important;-webkit-text-fill-color:#172037!important}
.auth-light-only input::placeholder,.auth-light-only textarea::placeholder{color:#8a8f99!important;opacity:1}
.auth-test-fullscreen.auth-light-only .auth-preview-card{background:#fff!important;color:#172037!important;border-color:#e9e1db!important}
.auth-test-fullscreen.auth-light-only .auth-preview-card :where(h1,strong){color:#172037!important}
.auth-test-fullscreen.auth-light-only .auth-preview-card :where(p,small,.auth-terms-preview span){color:#747b89!important}

/* 2.0.87 — paid subscription plan change preview */
.membership-change-plan{display:grid;gap:12px;padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}
.membership-change-plan>strong{font-size:17px}.membership-change-plan>p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.membership-change-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.membership-change-options>button{position:relative;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:14px 13px;border:1px solid var(--line);border-radius:16px;background:var(--surface2);color:var(--ink)}
.membership-change-options>button>span{display:grid;gap:3px}.membership-change-options small{font-size:12px;color:var(--muted)}.membership-change-options b{font-size:14px;white-space:nowrap}
.membership-change-options>button.selected{border-color:var(--orange);box-shadow:0 0 0 2px color-mix(in srgb,var(--orange) 12%,transparent)}
.membership-change-options>button:disabled{opacity:.58;cursor:default}.membership-change-options em{position:absolute;top:-8px;right:10px;padding:3px 6px;border-radius:999px;background:var(--orange);color:#fff;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.06em}
.plan-change-confirmation{display:grid;grid-template-columns:22px 1fr;gap:11px;align-items:start;padding:14px;border-radius:16px;background:var(--orange-soft);border:1px solid color-mix(in srgb,var(--orange) 20%,var(--line));color:var(--ink)}
.plan-change-confirmation>svg{color:var(--orange);margin-top:1px}.plan-change-confirmation>div{display:grid;gap:5px}.plan-change-confirmation p{margin:0;font-size:13px;line-height:1.5;color:var(--ink)}.plan-change-confirmation small{font-size:12px;line-height:1.45;color:var(--muted)}
.membership-plan-change-cta{margin-top:2px}

/* Ember 2.0.89 — verified source-level UI corrections */
/* Score History: the SVG owns a fixed plot row inside this card; it cannot use the level card as its coordinate space. */
.ember-v2-shell .score-history-card{margin-bottom:16px;}
.ember-v2-shell .score-history-chart{height:auto;min-height:0;display:grid;grid-template-rows:108px 16px;gap:6px;position:relative;overflow:hidden;}
.ember-v2-shell .score-history-chart>svg{display:block;position:static;width:100%;height:108px;min-height:108px;max-height:108px;overflow:hidden;}
.ember-v2-shell .score-history-dates{height:16px;min-height:16px;align-items:center;}
.ember-v2-shell .score-level-path{margin-top:0;margin-bottom:12px;}
.ember-v2-shell .score-history-card .eyebrow,.ember-v2-shell .score-level-path small{color:var(--muted);}

/* Membership: the whole page scrolls, including its header. Back and title share one centerline. */
.ember-v2-shell .membership-fullscreen{display:block;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;}
.ember-v2-shell .membership-page-header{position:static;min-height:64px;padding:max(12px,env(safe-area-inset-top)) 18px 10px;display:grid;grid-template-columns:72px 1fr 72px;align-items:center;}
.ember-v2-shell .membership-page-header h2{align-self:center;line-height:1.2;}
.ember-v2-shell .membership-back{align-self:center;justify-self:start;line-height:1.2;margin:0;}
.ember-v2-shell .membership-page-scroll{overflow:visible;min-height:auto;padding-top:22px;}
.ember-v2-shell .membership-current-plan{margin-bottom:16px;}
.ember-v2-shell .membership-change-plan{margin-top:0;gap:14px;}
.ember-v2-shell .membership-change-options.three-plans{grid-template-columns:1fr;gap:10px;}
.ember-v2-shell .membership-change-options.three-plans>button{width:100%;min-height:72px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;}
.ember-v2-shell .membership-change-options.three-plans>button>span{min-width:0;}
.ember-v2-shell .membership-change-options.three-plans b{font-size:14px;}

/* Account creation / first-week screens are intentionally light-only with explicit readable colors. */
.ember-auth-stage.auth-light-only{color-scheme:light;}
.ember-auth-card.ember-auth-welcome{color:#172037;background:#fff;}
.ember-auth-card.ember-auth-welcome h1{color:#172037!important;opacity:1!important;}
.ember-auth-card.ember-auth-welcome>.eyebrow{color:#746b65!important;opacity:1!important;}
.ember-auth-card.ember-auth-welcome .auth-trial-copy>span{color:#747b89!important;opacity:1!important;}
.ember-auth-card.ember-auth-welcome .auth-trial-copy>strong{color:#5f6674!important;opacity:1!important;}
.ember-auth-card.ember-auth-welcome .auth-free-reassurance{background:#f5f1ed!important;color:#303541!important;opacity:1!important;}
.ember-auth-card.ember-auth-welcome .auth-free-reassurance>strong{color:#303541!important;opacity:1!important;}
.ember-auth-card.ember-auth-welcome .auth-free-reassurance>small{color:#6f7582!important;opacity:1!important;}

/* Ember 2.0.90 — onboarding lock, true score points, simplified membership, customizable Auto */
/* Real auth and the post-signup welcome are always the canonical light presentation. */
.ember-auth-stage.auth-light-only{--bg:#faf7f3!important;--surface:#fff!important;--surface2:#f5f1ed!important;--ink:#172037!important;--muted:#747b89!important;--line:#e2ddd8!important;--orange:#f56b3a!important;--orange-soft:#fff0e9!important;background:#faf7f3!important;color:#172037!important;color-scheme:light!important;}
.ember-auth-stage.auth-light-only .ember-auth-card{background:#fff!important;color:#172037!important;border-color:#e9e1db!important;}
.ember-auth-stage.auth-light-only .ember-auth-card :where(h1,h2,h3,strong,label>span){color:#172037!important;opacity:1!important;}
.ember-auth-stage.auth-light-only .ember-auth-card :where(p,small){color:#747b89!important;opacity:1!important;}
.ember-auth-stage.auth-light-only .ember-auth-welcome .eyebrow{color:#746b65!important;opacity:1!important;}
.ember-auth-stage.auth-light-only .ember-auth-welcome .auth-trial-copy>strong{color:#5f6674!important;opacity:1!important;}
.ember-auth-stage.auth-light-only .ember-auth-welcome .auth-free-reassurance{background:#f5f1ed!important;}
.ember-auth-stage.auth-light-only .ember-auth-welcome .auth-free-reassurance>strong{color:#303541!important;}
.ember-auth-stage.auth-light-only .ember-auth-welcome .auth-free-reassurance>small{color:#6f7582!important;}

/* Keep the non-scaling line SVG, but draw point markers in CSS pixels so responsive SVG scaling cannot stretch them. */
.ember-v2-shell .score-history-chart{grid-template-rows:108px 16px!important;overflow:visible!important;}
.ember-v2-shell .score-history-plot{position:relative;width:100%;height:108px;overflow:hidden;}
.ember-v2-shell .score-history-plot>svg{position:absolute;inset:0;display:block;width:100%;height:108px;overflow:hidden;}
.ember-v2-shell .score-history-point{position:absolute;width:8px;height:8px;border-radius:50%;background:var(--surface);border:2px solid var(--orange);box-sizing:border-box;transform:translate(-50%,-50%);z-index:2;pointer-events:none;}
.ember-v2-shell .score-history-point:first-of-type{transform:translate(0,-50%);}
.ember-v2-shell .score-history-point:last-of-type{transform:translate(-100%,-50%);}

/* Membership opens directly into the content: one back control, no redundant page title/divider. */
.ember-v2-shell .membership-page-header{min-height:54px!important;padding:max(12px,env(safe-area-inset-top)) 20px 0!important;display:flex!important;align-items:center!important;border-bottom:0!important;background:transparent!important;}
.ember-v2-shell .membership-back{width:44px;height:44px;padding:0!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--surface)!important;color:var(--ink)!important;display:grid!important;place-items:center!important;}
.ember-v2-shell .membership-page-scroll{padding-top:4px!important;}
.ember-v2-shell .membership-page-scroll>.paywall-hero{padding-top:0!important;margin-bottom:18px;}
.ember-v2-shell .membership-page-scroll>.paywall-hero .paywall-mark{margin-bottom:10px;}
.ember-v2-shell .membership-page-scroll>.paywall-hero h3{margin:0 0 3px;font-size:24px;}
.ember-v2-shell .membership-page-scroll>.paywall-hero p{font-size:13px;}

/* Auto follows the phone while allowing a chosen light and dark theme. */
.ember-v2-shell .auto-theme-customization{grid-column:1/-1;display:grid;gap:10px;margin-top:2px;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--surface2);}
.ember-v2-shell .auto-theme-customization>p{margin:0;color:var(--muted);font-size:12px;line-height:1.45;}
.ember-v2-shell .auto-theme-customization label{display:grid;grid-template-columns:1fr minmax(132px,auto);gap:12px;align-items:center;font-size:13px;font-weight:800;}
.ember-v2-shell .auto-theme-customization select{min-width:132px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);padding:10px 34px 10px 11px;font:700 13px Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;}

/* 2.0.91 tour spotlight safety */
.ember-v2-shell .tour-live-highlight{box-sizing:border-box!important;outline:0!important;overflow:visible!important;max-width:calc(100% - 8px)!important;margin-left:auto!important;margin-right:auto!important}

/* 2.0.92 Insights + tour sandbox */
.ember-v2-shell .tour-safety-note{display:flex;gap:9px;align-items:flex-start;margin:12px 0 2px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:color-mix(in srgb,var(--surface-2) 86%,transparent);font-size:12px;line-height:1.4;color:var(--muted)}
.ember-v2-shell .tour-safety-note svg{flex:0 0 auto;margin-top:1px;color:var(--orange)}
.ember-v2-shell .insights-dashboard{padding-bottom:118px}
.ember-v2-shell .insights-range-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;background:var(--surface-2);border:1px solid var(--border);border-radius:14px;margin:0 0 14px}
.ember-v2-shell .insights-range-tabs button{min-height:38px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:800;font-size:12px}
.ember-v2-shell .insights-range-tabs button.active{background:var(--surface-3);color:var(--text)}
.ember-v2-shell .insights-summary-card,.ember-v2-shell .insights-metric-card,.ember-v2-shell .insights-trends-card,.ember-v2-shell .insights-bests-card,.ember-v2-shell .insights-callout-card{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:17px;margin:0 0 12px}
.ember-v2-shell .insights-summary-card{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;align-items:end}
.ember-v2-shell .insights-summary-card>div:first-child{display:flex;flex-direction:column;gap:3px}
.ember-v2-shell .insights-big-number{font-size:42px;line-height:1;font-weight:900;letter-spacing:-1.5px;color:var(--text)}
.ember-v2-shell .insights-summary-card small,.ember-v2-shell .insights-metric-card small,.ember-v2-shell .insights-trends-card small{color:var(--muted)}
.ember-v2-shell .insights-momentum{display:flex;flex-direction:column;gap:2px;padding:11px 12px;border-radius:13px;background:var(--surface-2)}
.ember-v2-shell .insights-momentum span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--muted)}
.ember-v2-shell .insights-momentum strong{font-size:19px}.ember-v2-shell .insights-momentum.up strong{color:var(--green)}.ember-v2-shell .insights-momentum.down strong{color:var(--red)}
.ember-v2-shell .insights-two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ember-v2-shell .insights-two-col .insights-metric-card{min-width:0}
.ember-v2-shell .insights-metric-card{display:flex;flex-direction:column;gap:7px}
.ember-v2-shell .insights-metric-card>strong{font-size:18px;line-height:1.15}.ember-v2-shell .insights-metric-card .metric-number{font-size:34px}
.ember-v2-shell .insights-metric-card p,.ember-v2-shell .insights-callout-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.ember-v2-shell .insights-trends-card header{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}.ember-v2-shell .insights-trends-card header>div{display:flex;flex-direction:column;gap:4px}
.ember-v2-shell .insights-trend-list article{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid var(--border)}
.ember-v2-shell .insights-trend-list article>div{display:flex;flex-direction:column;min-width:0}.ember-v2-shell .trend-dot{width:8px;height:8px;border-radius:50%;background:var(--muted)}.ember-v2-shell .trend-dot.good{background:var(--green)}.ember-v2-shell .trend-dot.watch{background:var(--red)}
.ember-v2-shell .insights-callout-card{display:flex;gap:12px;align-items:flex-start;background:color-mix(in srgb,var(--surface) 88%,var(--orange) 12%)}.ember-v2-shell .insights-callout-card>svg{color:var(--orange);flex:0 0 auto}.ember-v2-shell .insights-callout-card>div{display:flex;flex-direction:column;gap:5px}
.ember-v2-shell .insights-bests-card>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.ember-v2-shell .insights-bests-card article{display:flex;flex-direction:column;gap:3px;padding:12px;border-radius:13px;background:var(--surface-2)}.ember-v2-shell .insights-bests-card article b{color:var(--orange);font-size:18px}
.ember-v2-shell .insights-evidence-note{margin:10px 4px 0;color:var(--muted);font-size:11px;line-height:1.45;text-align:center}
@media(max-width:390px){.ember-v2-shell .insights-two-col{grid-template-columns:1fr}.ember-v2-shell .insights-summary-card{grid-template-columns:1fr}.ember-v2-shell .insights-bests-card>div{grid-template-columns:1fr}}

/* 2.0.93: tour pause, Insights hierarchy, score baseline context */
.ember-v2-shell .tour-live-dim{border:0;padding:0;cursor:default}
.ember-v2-shell .tour-explore-link{justify-self:start;border:0;background:transparent;color:var(--orange);font-weight:800;font-size:12px;padding:4px 0 0}
.ember-v2-shell .tour-resume-dock{position:absolute;z-index:96;left:50%;bottom:88px;transform:translateX(-50%);width:min(calc(100% - 28px),420px);display:flex;align-items:center;gap:8px;padding:7px;background:color-mix(in srgb,var(--surface) 94%,transparent);border:1px solid var(--line);border-radius:17px;box-shadow:0 12px 34px rgba(0,0,0,.22);backdrop-filter:blur(16px)}
.ember-v2-shell .tour-resume-button{flex:1;min-width:0;border:0;background:color-mix(in srgb,var(--orange) 11%,var(--surface2));color:var(--ink);border-radius:12px;padding:8px 11px;display:flex;align-items:center;gap:9px;text-align:left}
.ember-v2-shell .tour-resume-button svg{color:var(--orange);flex:0 0 auto}.ember-v2-shell .tour-resume-button span{display:grid;line-height:1.15}.ember-v2-shell .tour-resume-button strong{font-size:12px}.ember-v2-shell .tour-resume-button small{font-size:10px;color:var(--muted);margin-top:2px}
.ember-v2-shell .tour-end-button{border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:800;padding:10px 8px;white-space:nowrap}
.ember-v2-shell .insights-history-controls{display:grid;gap:10px;padding:15px 15px 4px;border-top:1px solid var(--line);margin-top:2px}.ember-v2-shell .insights-history-controls>div:first-child{display:grid;gap:2px}.ember-v2-shell .insights-history-controls>div:first-child>strong{font-size:17px}.ember-v2-shell .insights-history-controls>div:first-child>small{color:var(--muted);font-size:11px}.ember-v2-shell .insights-history-controls .insights-range-tabs{margin:4px 0 0}
.ember-v2-shell .insights-bests-card article em{font-style:normal;font-size:9px;line-height:1.25;color:var(--muted);margin-top:2px}
.ember-v2-shell .score-new-baseline{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid color-mix(in srgb,var(--orange) 28%,var(--line));border-radius:16px;background:color-mix(in srgb,var(--orange) 7%,var(--surface2))}.ember-v2-shell .score-new-baseline>svg{color:var(--orange);flex:0 0 auto;margin-top:2px}.ember-v2-shell .score-new-baseline>div{display:grid;gap:4px}.ember-v2-shell .score-new-baseline strong{font-size:14px}.ember-v2-shell .score-new-baseline p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}

/* 2.0.94 tour + insights polish */
.ember-v2-shell .tour-window-actions{position:absolute;right:12px;top:12px;display:flex;gap:7px;z-index:2}
.ember-v2-shell .tour-window-actions .tour-close,.ember-v2-shell .tour-window-actions .tour-minimize{position:static;width:34px;height:34px;border:0;border-radius:50%;background:var(--surface2);color:var(--ink);display:grid;place-items:center}
.ember-v2-shell .tour-window-actions .tour-minimize{font-size:23px;line-height:1;font-weight:500;padding:0 0 5px}
.ember-v2-shell .tour-resume-fab{position:absolute;z-index:96;top:74px;right:14px;display:flex;align-items:center;gap:6px;width:auto;max-width:190px;border:1px solid color-mix(in srgb,var(--orange) 58%,white 10%);border-radius:999px;padding:8px 10px;background:linear-gradient(135deg,color-mix(in srgb,var(--orange) 24%,var(--surface)),color-mix(in srgb,var(--surface) 94%,transparent));color:var(--ink);box-shadow:0 10px 28px rgba(0,0,0,.30),0 0 0 1px color-mix(in srgb,var(--orange) 10%,transparent);backdrop-filter:blur(16px)}
.ember-v2-shell .tour-resume-fab svg{color:var(--orange)}.ember-v2-shell .tour-resume-fab strong{font-size:11px;white-space:nowrap}.ember-v2-shell .tour-resume-fab small{font-size:9px;color:var(--muted);font-weight:800}
.ember-v2-shell .insights-range-tabs button.active{background:color-mix(in srgb,var(--orange) 17%,var(--surface-3));color:var(--ink);box-shadow:0 1px 0 rgba(255,255,255,.06),0 4px 12px rgba(0,0,0,.12);outline:1px solid color-mix(in srgb,var(--orange) 24%,transparent)}
.ember-v2-shell .insights-bests-card>div{align-items:start;grid-auto-rows:auto}.ember-v2-shell .insights-bests-card article{align-self:start;min-height:0;height:auto;padding:10px 12px}.ember-v2-shell .insights-bests-card article em{margin-top:1px}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-detail-hero{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-detail-hero p{color:var(--muted)!important}.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-big-icon{background:var(--orange-soft)!important;color:var(--orange)!important}
/* 2.0.95 polish */
.ember-v2-shell .tour-live-dim{pointer-events:auto!important;cursor:pointer}
.ember-v2-shell .tour-resume-fab{animation:tourFabIn .26s cubic-bezier(.2,.8,.2,1)}
.ember-v2-shell .tour-live-card{animation:tourCardIn .24s cubic-bezier(.2,.8,.2,1)}
@keyframes tourFabIn{from{opacity:0;transform:translate(18px,-12px) scale(.82)}to{opacity:1;transform:none}}
@keyframes tourCardIn{from{opacity:.35;transform:translate(16px,-10px) scale(.96)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.ember-v2-shell .tour-resume-fab,.ember-v2-shell .tour-live-card{animation:none!important}}
.ember-v2-shell .avatar.has-photo{overflow:visible!important;background:#fff}
.ember-v2-shell .avatar.has-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit;display:block}
.ember-v2-shell .avatar.has-photo>.flame-plus,.ember-v2-shell .avatar.has-photo>.premium-badge{z-index:3}
.ember-v2-shell .insights-range-tabs{grid-template-columns:repeat(4,1fr)}
.ember-v2-shell .share-theme-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;font-size:12px;font-weight:800;color:var(--muted)}
.ember-v2-shell .share-theme-row>div{display:flex;padding:3px;background:var(--surface-2);border:1px solid var(--border);border-radius:999px}
.ember-v2-shell .share-theme-row button{border:0;background:transparent;color:var(--muted);font-weight:800;font-size:11px;padding:7px 12px;border-radius:999px}
.ember-v2-shell .share-theme-row button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.12)}

/* Ember 2.0.96 — tour integrity + layout polish */
/* Tour spotlight must never reflow or repaint the production component. */
.ember-v2-shell .tour-live-highlight{
  position:relative!important;
  z-index:92!important;
  outline:3px solid color-mix(in srgb,var(--orange) 76%,white)!important;
  outline-offset:7px!important;
  box-shadow:0 10px 34px rgba(0,0,0,.18)!important;
  border-radius:inherit!important;
  max-width:none!important;
  width:auto!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:revert-layer!important;
}
.ember-v2-shell .today-section-heading.tour-live-highlight{
  padding:0!important;margin-left:0!important;margin-right:0!important;width:auto!important;background:transparent!important;
}
.ember-v2-shell .tour-live-dim{pointer-events:auto!important;background:rgba(16,17,16,.48)}
/* Goal cards: titles and metadata never collide. */
.ember-v2-shell .goal-card>strong{display:block;line-height:1.28;margin-bottom:10px}
.ember-v2-shell .goal-card>strong + p{margin-top:-3px}
.ember-v2-shell .goal-footer{margin-top:2px}
/* Insights preview: slightly more air between branding and headline. */
.ember-v2-shell .insights-page-hero.locked>.eyebrow{margin-bottom:4px}
/* Membership hero: calmer vertical rhythm and balanced supporting copy. */
.ember-v2-shell .membership-page-scroll>.paywall-hero .paywall-mark{margin-bottom:14px!important}
.ember-v2-shell .membership-page-scroll>.paywall-hero .eyebrow{display:block;margin-bottom:6px}
.ember-v2-shell .membership-page-scroll>.paywall-hero h3{margin:0 0 7px!important;line-height:1.12}
.ember-v2-shell .membership-page-scroll>.paywall-hero p{max-width:340px!important;line-height:1.55!important}
/* Personal Bests: result is the accent, identity/date stays primary. */
.ember-v2-shell .insights-bests-card article b{color:var(--orange)!important}

/* Ember 2.0.97 — tour is a true overlay; production UI never changes underneath. */
.ember-v2-shell .tour-live-highlight{
  position:static!important;
  z-index:auto!important;
  outline:0!important;
  outline-offset:0!important;
  box-shadow:none!important;
  border-radius:inherit!important;
  max-width:none!important;
  width:auto!important;
  margin:revert!important;
  padding:revert!important;
  background:revert!important;
}
.ember-v2-shell .today-section-heading.tour-live-highlight{padding:revert!important;margin:revert!important;width:auto!important;background:revert!important}
/* The tutorial itself floats above the existing app and never participates in layout. */
.ember-v2-shell .tour-live-dim{position:absolute!important;inset:0!important;z-index:90!important;margin:0!important;padding:0!important}
.ember-v2-shell .tour-live-card{position:absolute!important;z-index:94!important;left:18px!important;right:18px!important;bottom:92px!important;margin:0 auto!important;max-width:520px!important}
.ember-v2-shell .tour-resume-fab{position:absolute!important;z-index:96!important}
/* Friend history: no light-theme tiles leak into dark themes. */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-day{background:var(--surface2)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-day i{background:color-mix(in srgb,var(--surface2) 72%,var(--bg))!important;border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-day.unlogged{background:var(--surface)!important;border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-day.unlogged i{background:var(--surface2)!important;border-color:var(--line)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-day.complete{background:var(--green-soft)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-day.missed{background:var(--red-soft)!important}
/* One challenge icon language everywhere: same tile, same accent, same dark-mode behavior. */
.ember-v2-shell .challenge-card-icon,.ember-v2-shell .challenge-big-icon{background:var(--orange-soft)!important;color:var(--orange)!important;border:1px solid color-mix(in srgb,var(--orange) 20%,var(--line))!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-detail-hero{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-detail-progress,.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-standings-card,.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .challenge-join-note{background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important}

/* Ember 2.0.98 - dark-mode audit, social feedback, share parity */
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-on-detail{
  background:var(--surface)!important;border-color:var(--line)!important;color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-on-detail .detail-block-head span,
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .routine-on-detail>strong{color:var(--ink)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .sharing-intro{
  background:var(--surface2)!important;border-color:var(--line)!important;color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .sharing-intro p{color:var(--muted)!important}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-signal-actions button{
  background:var(--surface2)!important;border-color:var(--line)!important;color:var(--ink)!important;
}
.ember-v2-shell:is(.theme-cinder,.theme-midnight,.theme-charcoal,.theme-dusk) .friend-signal-actions button:first-child{color:var(--orange)!important}
.ember-v2-shell .friend-signal-actions button{transition:transform .18s ease,box-shadow .28s ease,background .28s ease,color .28s ease}
.ember-v2-shell .friend-signal-actions button:active{transform:scale(.97)}
.ember-v2-shell .friend-signal-actions button.sent{transform:scale(.985);color:var(--orange)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--orange) 12%,transparent)}
.ember-v2-shell .friend-signal-actions button.sent svg{animation:ember-signal-pop .34s ease}
.ember-v2-shell .friend-signal-actions button:disabled{cursor:default;opacity:1}
@keyframes ember-signal-pop{0%{transform:scale(.8)}55%{transform:scale(1.28)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.ember-v2-shell .friend-signal-actions button,.ember-v2-shell .friend-signal-actions button.sent svg{transition:none!important;animation:none!important}}
.ember-v2-shell .share-image-shell.single{padding:0}


/* 2.0.99: Insights visual identities */
.ember-v2-shell .insights-summary-card{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--surface),color-mix(in srgb,var(--surface) 90%,var(--orange) 10%))}
.ember-v2-shell .insight-consistency-track{height:7px;border-radius:99px;background:var(--surface-3);overflow:hidden;margin-top:9px;width:min(220px,100%)}
.ember-v2-shell .insight-consistency-track>span{display:block;height:100%;border-radius:inherit;background:var(--orange)}
.ember-v2-shell .insight-rhythm-card{background:linear-gradient(160deg,var(--surface),color-mix(in srgb,var(--surface) 94%,var(--orange) 6%))}
.ember-v2-shell .insight-week-strip{height:48px;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:5px;padding:7px 8px 4px;border-radius:12px;background:var(--surface-2);margin:2px 0 1px}
.ember-v2-shell .insight-week-strip>span{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px}.ember-v2-shell .insight-week-strip i{display:block;width:100%;max-width:16px;min-height:5px;border-radius:5px;background:color-mix(in srgb,var(--muted) 32%,transparent)}
.ember-v2-shell .insight-week-strip .best i{background:var(--orange)}.ember-v2-shell .insight-week-strip .weak i{background:color-mix(in srgb,var(--red) 68%,var(--surface))}.ember-v2-shell .insight-week-strip small{font-size:8px!important;font-weight:850}
.ember-v2-shell .insight-recovery-card{position:relative;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 92%,var(--green) 8%))}
.ember-v2-shell .insight-recovery-path{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;margin:1px 0 2px}.ember-v2-shell .insight-recovery-path span{font-size:10px;font-weight:850;padding:5px 8px;border-radius:99px;background:var(--surface-2)}.ember-v2-shell .insight-recovery-path .miss{color:var(--red)}.ember-v2-shell .insight-recovery-path .return{color:var(--green)}.ember-v2-shell .insight-recovery-path i{height:2px;background:linear-gradient(90deg,var(--red),var(--orange),var(--green));border-radius:99px}
.ember-v2-shell .insight-page-signal{border-left:3px solid var(--orange)!important;background:linear-gradient(100deg,color-mix(in srgb,var(--orange) 7%,var(--surface)),var(--surface))!important}
.ember-v2-shell .insight-trends-visual .insights-trend-list article{position:relative;padding-right:4px}.ember-v2-shell .insight-trends-visual .insights-trend-list article:after{content:"";position:absolute;left:19px;right:48px;bottom:5px;height:2px;border-radius:99px;background:linear-gradient(90deg,color-mix(in srgb,var(--green) 70%,transparent),transparent);opacity:.55}.ember-v2-shell .insight-trends-visual .insights-trend-list article:has(.watch):after{background:linear-gradient(90deg,color-mix(in srgb,var(--red) 70%,transparent),transparent)}
.ember-v2-shell .insight-weekly-card{background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 93%,var(--orange) 7%))}.ember-v2-shell .insight-weekly-dots{display:flex;gap:7px;margin:3px 0}.ember-v2-shell .insight-weekly-dots span{width:20px;height:20px;border-radius:50%;border:1px solid var(--border);background:var(--surface-2)}.ember-v2-shell .insight-weekly-dots span.filled{border-color:color-mix(in srgb,var(--orange) 60%,var(--border));background:color-mix(in srgb,var(--orange) 22%,var(--surface-2));box-shadow:inset 0 0 0 5px var(--surface-2)}
.ember-v2-shell .insight-timing-card{background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 95%,var(--orange) 5%))}.ember-v2-shell .insight-dayline{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;border-radius:12px;background:var(--surface-2);margin:3px 0}.ember-v2-shell .insight-dayline span{text-align:center;font-size:8px;font-weight:800;color:var(--muted);padding:7px 2px;border-radius:9px}.ember-v2-shell .insight-dayline span.active{color:var(--text);background:color-mix(in srgb,var(--orange) 16%,var(--surface-3));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--orange) 35%,transparent)}
.ember-v2-shell .insights-bests-card{background:linear-gradient(150deg,var(--surface),color-mix(in srgb,var(--surface) 94%,var(--orange) 6%))}.ember-v2-shell .insights-bests-card article{position:relative;overflow:hidden}.ember-v2-shell .insights-bests-card article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:color-mix(in srgb,var(--orange) 72%,transparent)}.ember-v2-shell .insights-bests-card .best-day:before{opacity:.78}.ember-v2-shell .insights-bests-card .best-week:before{opacity:.6}.ember-v2-shell .insights-bests-card .best-month:before{opacity:.45}

/* Ember 2.1.00 — Insights clarity + phone parity */
.ember-v2-shell .insights-range-tabs button.active{
  background:color-mix(in srgb,var(--orange) 28%,var(--surface-3))!important;
  color:var(--ink)!important;
  box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--orange) 72%,transparent),0 4px 14px rgba(0,0,0,.18)!important;
}
.ember-v2-shell .insight-consistency-track{background:color-mix(in srgb,var(--muted) 22%,var(--surface-3))!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--muted) 16%,transparent);width:100%!important;max-width:230px}
.ember-v2-shell .insight-week-strip .best i{background:var(--green)!important}.ember-v2-shell .insight-week-strip .weak i{background:var(--red)!important}
.ember-v2-shell .insight-week-strip .best small{color:var(--green)!important}.ember-v2-shell .insight-week-strip .weak small{color:var(--red)!important}
.ember-v2-shell .insight-recovery-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:7px 0 4px;max-width:190px}
.ember-v2-shell .insight-recovery-grid span{aspect-ratio:1;border-radius:7px;display:grid;place-items:center;font-size:10px;font-weight:900;border:1px solid var(--line)}
.ember-v2-shell .insight-recovery-grid .recovered{background:color-mix(in srgb,var(--green) 18%,var(--surface-2));color:var(--green);border-color:color-mix(in srgb,var(--green) 30%,var(--line))}
.ember-v2-shell .insight-recovery-grid .not-recovered{background:color-mix(in srgb,var(--red) 14%,var(--surface-2));color:var(--red);border-color:color-mix(in srgb,var(--red) 28%,var(--line))}
.ember-v2-shell .insight-page-signal{border-left:1px solid var(--border)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--orange) 5%,var(--surface)),var(--surface))!important}
.ember-v2-shell .insight-dayline{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:8px!important;padding:4px 0 0!important;background:transparent!important;border-radius:0!important;margin:7px 0 4px!important}
.ember-v2-shell .insight-dayline span{display:grid;justify-items:center;gap:6px;padding:0!important;background:transparent!important;box-shadow:none!important;color:var(--muted)!important}
.ember-v2-shell .insight-dayline span i{width:100%;height:4px;border-radius:99px;background:color-mix(in srgb,var(--muted) 25%,transparent)}
.ember-v2-shell .insight-dayline span b{font-size:10px!important;font-weight:800;white-space:nowrap}
.ember-v2-shell .insight-dayline span.active{color:var(--ink)!important}.ember-v2-shell .insight-dayline span.active i{height:6px;background:var(--orange)}
.ember-v2-shell .insight-deep-dive{margin-top:8px;border-top:1px solid var(--line);padding-top:8px}.ember-v2-shell .insight-deep-dive summary{cursor:pointer;list-style:none;color:var(--orange);font-size:10px;font-weight:850}.ember-v2-shell .insight-deep-dive summary::-webkit-details-marker{display:none}.ember-v2-shell .insight-deep-dive summary:after{content:" ›"}.ember-v2-shell .insight-deep-dive[open] summary:after{content:" ↓"}.ember-v2-shell .insight-deep-dive p{margin:8px 0 0!important;font-size:10px!important;line-height:1.45!important;color:var(--muted)!important}
/* Keep the compact dashboard composition on normal phones; stack only on genuinely narrow screens. */
@media (max-width:390px) and (min-width:341px){.ember-v2-shell .insights-two-col{grid-template-columns:1fr 1fr!important}.ember-v2-shell .insights-summary-card{grid-template-columns:1.15fr .85fr!important}.ember-v2-shell .insights-bests-card>div{grid-template-columns:1fr 1fr!important}.ember-v2-shell .insights-metric-card{padding:14px!important}.ember-v2-shell .insight-week-strip{gap:3px;padding-left:4px;padding-right:4px}.ember-v2-shell .insight-recovery-grid{gap:4px}.ember-v2-shell .insight-recovery-grid span{border-radius:5px}}
@media (max-width:340px){.ember-v2-shell .insights-two-col{grid-template-columns:1fr}.ember-v2-shell .insights-summary-card{grid-template-columns:1fr}.ember-v2-shell .insights-bests-card>div{grid-template-columns:1fr}}

/* 2.1.01: precise insights spacing and legible legal links */
.ember-v2-shell .insight-visual-hero .plus-insight-mark{margin-bottom:4px}
.auth-terms-consent a,.auth-terms-preview a{color:#bd4d29!important;text-decoration:underline!important;text-decoration-thickness:1.5px!important;text-underline-offset:3px!important;font-weight:750!important;cursor:pointer}
.auth-terms-consent a:focus-visible{outline:2px solid #f47b45;outline-offset:3px;border-radius:2px}
#ember-legal-overlay{position:fixed;inset:0;z-index:2147483600;background:#fffaf7;display:flex;flex-direction:column;color:#18223a;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.ember-legal-header{height:58px;flex:none;display:flex;align-items:center;gap:20px;padding:0 17px;border-bottom:1px solid #ebe3df;background:#fffaf7;font:600 16px system-ui,sans-serif}
.ember-legal-back{border:0;background:none;color:#c45430;font:700 15px system-ui,sans-serif;cursor:pointer;padding:12px 2px}
.ember-legal-frame{width:100%;flex:1;min-height:0;border:0;background:#fffaf7}
.ember-experience-preview{display:grid;gap:15px}.ember-preview-switch{display:flex;flex-wrap:wrap;gap:8px}
.ember-preview-switch button,.ember-preview-replay{border:1px solid var(--line,#dedede);background:var(--card,#fff);color:var(--text,#222);border-radius:12px;padding:10px 14px;font:600 13px system-ui;cursor:pointer}
.ember-preview-switch button.selected{background:#f47b45;color:white;border-color:#f47b45}
.ember-preview-device{width:min(100%,340px);height:500px;margin:auto;border-radius:32px;background:radial-gradient(ellipse at 50% 5%,#30242a 0%,#17191f 60%,#111318 100%);display:grid;place-items:center;overflow:hidden;color:white;box-shadow:0 12px 36px #0002}
.ember-loading-preview{display:flex;flex-direction:column;align-items:center;gap:17px;animation:emberGentleAppear .45s both}
.ember-loading-preview img{width:69px;height:69px;border-radius:20px;object-fit:cover;animation:none!important;box-shadow:none}
.ember-loading-preview strong{font:700 24px system-ui;letter-spacing:.22em;padding-left:.22em}
.ember-loading-preview.reveal strong{animation:emberGentleAppear .65s .25s both}
.ember-loading-preview small{font:400 12px system-ui;color:#b9b5b8;animation:emberGentleAppear .7s .45s both}
@keyframes emberGentleAppear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.ember-gift-preview{width:100%;padding:24px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;animation:emberGentleAppear .55s both}
.ember-preview-flame{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;background:linear-gradient(140deg,#fd8850,#e64562);font-size:32px;color:white}
.ember-gift-eyebrow{font:700 10px system-ui;letter-spacing:.18em;color:#fca58a}
.ember-gift-preview h2{margin:0;color:#fff;font:700 27px system-ui;letter-spacing:-.035em}
.ember-gift-preview h3{margin:0;color:#fff;font:700 18px system-ui}
.ember-gift-preview p{font:400 13px/1.55 system-ui;color:#c4c4cf;margin:0}
.ember-gift-separator{width:100%;height:1px;background:#ffffff22;margin:5px 0}
.ember-gift-membership{width:100%;border-radius:12px;padding:15px;background:#ffffff13;text-align:left;font:650 14px system-ui}
.ember-gift-button{width:100%;padding:15px 10px;border-radius:13px;background:#fa7950;color:white;font:700 14px system-ui}
.ember-preview-caption{text-align:center;color:var(--muted,#777);font-size:12px}

/* 2.1.02 fixes */
.ember-v2-shell .insights-page-hero>.insights-premium-mark{margin-bottom:5px!important}
.auth-terms-preview a{color:#c85431!important;font-weight:800!important;text-decoration:underline!important;text-decoration-thickness:1.5px!important;text-underline-offset:3px!important}
.auth-forgot-link{background:none!important;border:0!important;box-shadow:none!important;padding:7px 0!important;margin:0 0 8px auto!important;display:block!important;width:auto!important;min-height:25px!important;height:auto!important;color:#c85431!important;text-decoration:underline!important;cursor:pointer;font-size:13px!important;font-weight:750!important}
.auth-reset-notice{padding:12px;border-radius:12px;background:#f4f8f3;color:#365942;font-size:13px;line-height:1.5}

/* 2.1.03 — brand-preview + legal and login polish */
.ember-gradient-device{background:linear-gradient(150deg,#ff9655 0%,#fa754b 48%,#e84c61 100%)!important}
.ember-loading-preview.gradient{gap:14px;color:#fff}
.ember-gradient-mark{color:#fff;display:grid;place-items:center}
.ember-loading-preview.gradient strong{font:800 34px/1.1 Inter,system-ui,sans-serif;letter-spacing:-.055em;padding:0;text-transform:none}
.ember-gradient-progress{height:3px;width:114px;background:#ffffff55;border-radius:100px;overflow:hidden;margin-top:11px}
.ember-gradient-progress span{height:100%;width:100%;display:block;background:#fff;transform-origin:left;animation:emberLoadBar 2.7s ease-in-out both}
@keyframes emberLoadBar{0%{transform:scaleX(0)}70%{transform:scaleX(.82)}100%{transform:scaleX(1)}}
.ember-gradient-device .ember-gift-preview{padding:26px 20px;gap:13px;color:#fff}
.ember-gradient-device .ember-gift-flame{color:#fff;display:grid;place-items:center;margin-bottom:3px}
.ember-gradient-device .ember-gift-eyebrow{color:#fff;font:800 9px/1.5 system-ui;letter-spacing:.11em}
.ember-gradient-device .ember-gift-preview h2{color:#fff;font-size:26px;line-height:1.12}
.ember-gradient-device .ember-gift-preview p{color:#fff;font-size:12px;line-height:1.48}
.ember-gradient-device .ember-gift-separator{background:#ffffff66;margin:2px 0}
.ember-gift-benefits{display:grid;gap:12px;width:100%;text-align:left;font:700 12px/1.4 system-ui;color:#fff}
.ember-gift-tagline{font:700 13px/1.3 system-ui;color:#fff}
.ember-gradient-device .ember-gift-button{background:#fff;color:#d95448;border-radius:13px;font-weight:800}
.auth-forgot-link{margin-left:auto!important;margin-right:auto!important;text-align:center!important}

/* 2.1.04: single Ember branded startup experience */
.ember-launch-splash{position:fixed;inset:0;z-index:20000;background:linear-gradient(155deg,#ff9755 0%,#fc7850 48%,#ec4761 100%);display:flex;align-items:center;justify-content:center;color:#fff;padding:calc(env(safe-area-inset-top,0px) + 20px) 24px calc(env(safe-area-inset-bottom,0px) + 20px);box-sizing:border-box}.ember-launch-content{display:flex;align-items:center;flex-direction:column;gap:10px;color:#fff}.ember-launch-content svg{color:#fff;stroke:currentColor}.ember-launch-content strong{font-size:31px;letter-spacing:-1.5px;font-weight:800;line-height:1.25}.ember-launch-track{margin-top:14px;width:108px;height:3px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.35)}.ember-launch-progress{height:100%;width:40%;border-radius:99px;background:#fff;animation:emberLoadingBar 1.8s ease-in-out infinite alternate}@keyframes emberLoadingBar{from{transform:translateX(-80%)}to{transform:translateX(240%)}}

.ember-gift-preview .ember-gift-value-title{font-size:21px;letter-spacing:-.5px;line-height:1.2;margin:10px auto 12px;color:white;text-align:center;max-width:250px}.ember-gift-preview .ember-gift-value-copy{font-size:14px;line-height:1.6;max-width:280px;margin:0 auto;text-align:center;color:rgba(255,255,255,.95)}.ember-gift-preview .ember-gift-closing{margin:0 auto 8px;text-align:center;font-size:13px;opacity:.95}

/* Ember 2.1.05 — calm, centered About-inspired lifetime gift */
.ember-gradient-device:has(.ember-gift-about){background:#f5f1ec!important;border-radius:22px}
.ember-gift-about{padding:23px 15px 18px!important;gap:9px!important;color:#242824!important;animation:emberGentleAppear .4s both}
.ember-gift-about .ember-gift-icon{width:57px;height:57px;display:grid;place-items:center;border-radius:18px;color:#f16c48;background:#fff0e8;margin-bottom:5px}
.ember-gift-about .ember-gift-eyebrow{font:800 9px/1.45 Inter,system-ui,sans-serif;letter-spacing:.08em;color:#de6648!important;text-align:center}
.ember-gift-about h2{color:#202824!important;font:800 25px/1.12 Inter,system-ui,sans-serif!important;letter-spacing:-.7px;max-width:310px;margin:0 auto}
.ember-gift-about .ember-gift-lead{color:#777e79!important;font-size:12px!important;margin-bottom:12px}
.ember-gift-feature-card{width:100%;background:#fff;border-radius:20px;border:1px solid #eee6de;padding:13px 12px;display:grid;gap:0}
.ember-gift-feature{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;padding:11px 0;color:#252825}
.ember-gift-feature:not(:last-child){border-bottom:1px solid #f0eae5}
.ember-gift-feature svg{color:#ef744f;margin-bottom:4px}
.ember-gift-feature strong{font:800 14px/1.3 Inter,system-ui,sans-serif}
.ember-gift-feature small{font:400 12px/1.45 Inter,system-ui,sans-serif;color:#777e79}
.ember-gift-about .ember-gift-closing{color:#767c79!important;margin:12px 0 0!important;font-size:12px!important}
.ember-gift-about .ember-gift-tagline{color:#dc694b!important;font-size:12px!important;margin:0 0 10px}
.ember-gift-about .ember-gift-button{background:linear-gradient(110deg,#ff9553,#f16a4b,#ec4c66)!important;color:white!important;border-radius:13px;font:800 14px Inter,system-ui,sans-serif;padding:14px}
[data-theme="dark"] .ember-gradient-device:has(.ember-gift-about),.dark .ember-gradient-device:has(.ember-gift-about){background:#24231f!important}
[data-theme="dark"] .ember-gift-feature-card,.dark .ember-gift-feature-card{background:#2e2d29;border-color:#46433c}
[data-theme="dark"] .ember-gift-feature,.dark .ember-gift-feature,[data-theme="dark"] .ember-gift-about h2,.dark .ember-gift-about h2{color:#fbf4ed!important}
[data-theme="dark"] .ember-gift-feature:not(:last-child),.dark .ember-gift-feature:not(:last-child){border-color:#48443e}
