:root{color-scheme:dark;--bg:#05080b;--bg2:#071018;--panel:rgba(12,18,24,.82);--panel2:rgba(18,27,35,.92);--line:rgba(255,255,255,.11);--line2:rgba(255,255,255,.18);--text:#f7f8fb;--muted:#9aa7b4;--muted2:#687482;--teal:#19d3d0;--cyan:#58e6ff;--silver:#d6d8d8;--green:#42d392;--yellow:#f6c343;--red:#ff6b81;--blue:#52b7ff;--shadow:0 28px 80px rgba(0,0,0,.48);--radius:24px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,sans-serif;background:radial-gradient(circle at 78% 8%,rgba(25,211,208,.16),transparent 32%),radial-gradient(circle at 8% 4%,rgba(214,216,216,.12),transparent 28%),linear-gradient(180deg,#05080b,#071018 48%,#05080b);color:var(--text);min-height:100vh;overflow-x:hidden}body:before{content:"";position:fixed;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:72px 72px;mask-image:radial-gradient(circle at top,#000 0%,transparent 72%);pointer-events:none;z-index:-2}.bg-glow{position:fixed;width:360px;height:360px;border-radius:999px;filter:blur(115px);opacity:.24;pointer-events:none;z-index:-1}.one{background:var(--teal);right:-120px;top:90px}.two{background:#9ca3af;left:-160px;bottom:80px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.hidden{display:none!important}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;padding:14px min(5vw,72px);background:rgba(5,8,11,.78);border-bottom:1px solid var(--line);backdrop-filter:blur(22px)}.brand{display:flex;align-items:center;gap:11px;font-weight:950;font-size:1.16rem;letter-spacing:-.04em}.brand img{width:42px;height:42px;border-radius:14px;object-fit:cover;box-shadow:0 0 28px rgba(214,216,216,.22)}.in-app{padding:20px}.nav-links{display:flex;gap:24px;align-items:center;color:var(--muted);font-weight:800}.link-btn,.text-btn{background:none;border:0;color:var(--muted);font-weight:850}.link-btn:hover,.text-btn:hover,.nav-links a:hover{color:var(--text)}.top-actions,.hero-actions,.trust-row,.empty-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.primary-btn,.secondary-btn,.ghost-btn,.small-btn{border:0;border-radius:15px;padding:11px 16px;font-weight:900;transition:.18s ease;letter-spacing:-.015em}.primary-btn{background:linear-gradient(135deg,#c7c9c9,#ffffff 18%,#76f7f1 52%,#1db9bd);color:#061015;box-shadow:0 20px 50px rgba(25,211,208,.22)}.primary-btn:hover,.secondary-btn:hover,.ghost-btn:hover,.small-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.secondary-btn,.ghost-btn,.small-btn{background:rgba(255,255,255,.07);border:1px solid var(--line);color:var(--text)}.big{padding:14px 20px;font-size:1rem}.full{width:100%}.compact{padding:9px 12px}.hero{min-height:86vh;padding:86px min(5vw,72px) 70px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:54px;align-items:center}.eyebrow{margin:0;color:#aeeeed;font-size:.76rem;font-weight:950;letter-spacing:.16em;text-transform:uppercase}.hero h1{font-size:clamp(2.6rem,7vw,6rem);line-height:.92;margin:18px 0 24px;letter-spacing:-.082em}.hero p,.muted{color:var(--muted);line-height:1.75}.hero-copy>p{max-width:760px;font-size:1.09rem}.trust-row{margin-top:24px}.trust-row span,.template-pill{padding:10px 13px;border-radius:999px;background:rgba(255,255,255,.055);border:1px solid var(--line);color:var(--muted);font-weight:850}.glass,.hero-card,.feature-card,.price-card,.task-card,.routine-card,.calendar-card,.analytics-card,.goal-card,.focus-card,.template-card,.trial-card,.stat-box,.quote-card,.profile-card,.contact-card,.feedback-form,.daily-summary,.focus-player,.empty-state,.transaction-panel{position:relative;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.035));border:1px solid var(--line);box-shadow:0 18px 54px rgba(0,0,0,.28);backdrop-filter:blur(22px);border-radius:var(--radius);transition:transform .2s,border-color .2s,box-shadow .2s}.glass:hover,.feature-card:hover,.price-card:hover,.task-card:hover,.routine-card:hover,.analytics-card:hover,.goal-card:hover,.focus-card:hover,.template-card:hover,.profile-card:hover{transform:translateY(-3px);border-color:rgba(88,230,255,.26);box-shadow:0 26px 70px rgba(0,0,0,.38)}.hero-card{padding:18px;overflow:hidden}.hero-logo{width:100%;max-height:420px;object-fit:cover;border-radius:22px;opacity:.84}.preview-card{position:absolute;right:28px;bottom:28px;left:28px;padding:22px;border-radius:22px;background:rgba(0,0,0,.55);border:1px solid var(--line)}.preview-card strong{font-size:2.8rem}.progress{height:10px;background:rgba(255,255,255,.09);border-radius:99px;overflow:hidden;margin:13px 0}.progress span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--silver),var(--teal))}.preview-row,.habit-row,.transaction-row,.profile-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.07)}.preview-row:last-child,.habit-row:last-child,.profile-row:last-child{border-bottom:0}.done b,.done strong{color:var(--green)}.section{padding:68px min(5vw,72px)}.section-head{max-width:850px;margin-bottom:28px}.section h2,.page-head h2{font-size:clamp(2rem,4vw,4rem);line-height:1;margin:10px 0;letter-spacing:-.06em}.feature-grid,.pricing-grid,.analytics-grid,.goal-grid,.focus-grid,.template-card-grid,.routine-grid,.stats-row,.profile-grid,.contact-grid{display:grid;gap:16px}.feature-grid{grid-template-columns:repeat(4,1fr)}.pricing-grid,.analytics-grid,.profile-grid,.contact-grid{grid-template-columns:repeat(3,1fr)}.goal-grid,.focus-grid,.template-card-grid,.routine-grid,.stats-row{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.feature-card,.price-card,.analytics-card,.goal-card,.focus-card,.template-card,.routine-card,.stat-box,.profile-card,.contact-card,.feedback-form,.daily-summary,.empty-state,.focus-player,.transaction-panel{padding:24px}.icon{font-size:2rem}.price{font-size:2.4rem;font-weight:950;margin:12px 0}.price span{font-size:1rem;color:var(--muted)}.popular{border-color:rgba(25,211,208,.35)}.badge,.save-pill{display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(25,211,208,.12);border:1px solid rgba(25,211,208,.28);color:#baf7f5;font-weight:950;font-size:.76rem}.old-price{text-decoration:line-through;color:var(--muted);font-weight:850}.deal-line{display:flex;gap:10px;align-items:center}.site-footer{padding:30px min(5vw,72px);border-top:1px solid var(--line);display:flex;gap:20px;justify-content:center}.app-shell{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:rgba(4,9,13,.88);border-right:1px solid var(--line);padding:8px 14px;z-index:30}.nav-item{display:flex;width:100%;align-items:center;gap:10px;border:0;background:transparent;color:var(--muted);padding:14px 16px;border-radius:16px;font-weight:900;margin:4px 0}.nav-item.active,.nav-item:hover{background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(25,211,208,.1));color:var(--text);border:1px solid rgba(25,211,208,.18)}.sidebar-footer{position:absolute;bottom:18px;left:14px;right:14px}.app-main{position:relative;padding:34px min(4vw,54px) 90px;background:radial-gradient(circle at 100% 10%,rgba(25,211,208,.14),transparent 35%),linear-gradient(180deg,#061018,#04070c)}.view{display:none}.view.active{display:block}.mobile-app-bar{display:none}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.trial-card{min-width:230px;padding:18px}.trial-card h3{margin:6px 0}.stat-box strong{display:block;font-size:2rem}.daily-summary{margin-bottom:18px}.focus-quote{display:flex;align-items:center;gap:20px;padding:28px;margin:22px 0;background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(25,211,208,.13),rgba(0,0,0,.12));border-color:rgba(25,211,208,.25)}.quote-icon{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#eef2f3,var(--teal));color:#071018;font-size:2rem;flex:0 0 auto}.quote-card h2{font-size:clamp(1.4rem,3vw,2.3rem);margin:8px 0;letter-spacing:-.05em}.task-card{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.task-card.done{border-color:rgba(66,211,146,.38)}.task-card.missed{border-color:rgba(255,107,129,.38)}.task-card.partial{border-color:rgba(246,195,67,.38)}.task-card.skipped{border-color:rgba(82,183,255,.38)}.task-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.small-btn.done{color:#bfffe1}.small-btn.partial{color:#ffe29a}.small-btn.skip{color:#b9e6ff}.small-btn.missed{color:#ffb8c3}.mini-input{width:110px;padding:10px;border-radius:13px;background:rgba(255,255,255,.07);border:1px solid var(--line);color:var(--text)}.calendar-card{padding:22px}.calendar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.day-name{text-align:center;color:var(--muted);font-size:.85rem}.calendar-day{min-height:86px;text-align:left;padding:12px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--text)}.calendar-day span{display:block;color:var(--muted);margin-top:8px;font-weight:800}.calendar-day.past{opacity:.52}.calendar-day.today{border-color:rgba(25,211,208,.55);box-shadow:0 0 0 1px rgba(25,211,208,.16),0 18px 50px rgba(25,211,208,.1)}.calendar-day.future,.calendar-day.locked{opacity:.42}.calendar-day.selected{outline:2px solid var(--teal)}.day-detail{margin-top:18px}.detail-head{display:flex;justify-content:space-between;margin-bottom:12px}.bar-row{height:130px;display:flex;align-items:end;gap:4px;margin-top:18px}.bar-row span{flex:1;min-height:4px;border-radius:5px 5px 0 0;background:linear-gradient(180deg,var(--teal),rgba(25,211,208,.25))}.donut{width:150px;aspect-ratio:1;border-radius:50%;margin:18px auto;display:grid;place-items:center;background:conic-gradient(var(--teal) calc(var(--p)*1%),rgba(255,255,255,.08) 0);position:relative}.donut:before{content:"";position:absolute;inset:24px;border-radius:50%;background:#071018}.donut b{position:relative;font-size:2rem}.goal-form,.stack-form{display:grid;gap:12px;margin-bottom:18px}.goal-form{grid-template-columns:1fr 150px 160px}.goal-form textarea{grid-column:1/-1}input,select,textarea{background:rgba(255,255,255,.07);border:1px solid var(--line);border-radius:15px;color:var(--text);padding:13px}textarea{min-height:110px;resize:vertical}.goal-card.done{opacity:.6}.focus-card small{color:var(--muted2);display:block;margin:12px 0}.focus-player{margin-top:18px}audio{width:100%;margin:12px 0}.contact-grid{grid-template-columns:.8fr 1.2fr}.stars button{font-size:1.8rem;background:none;border:0;color:#4b5563}.stars button.active{color:var(--yellow)}.profile-grid{grid-template-columns:repeat(2,1fr)}.profile-avatar{width:72px;height:72px;border-radius:24px;background:linear-gradient(135deg,var(--silver),var(--teal));display:grid;place-items:center;font-size:2rem;color:#061018;font-weight:950}.status-pill{padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid var(--line);font-weight:900}.transaction-panel{margin-top:18px}.modal{position:fixed;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(14px);z-index:80;display:grid;place-items:center;padding:20px}.modal-card{width:min(560px,100%);max-height:90vh;overflow:auto;background:linear-gradient(145deg,rgba(17,24,31,.98),rgba(5,8,11,.96));border:1px solid var(--line2);border-radius:28px;box-shadow:var(--shadow);padding:26px;position:relative}.modal-x{position:absolute;top:14px;right:14px;background:rgba(255,255,255,.07);border:1px solid var(--line);color:var(--text);border-radius:12px;width:36px;height:36px}.auth-logo{width:72px;height:72px;border-radius:22px;object-fit:cover}.auth-form{display:none;gap:12px}.auth-form.active{display:grid}.auth-status{padding:12px;border-radius:14px;background:rgba(25,211,208,.12);border:1px solid rgba(25,211,208,.2);color:#baf7f5}.auth-status.error{background:rgba(255,107,129,.12);border-color:rgba(255,107,129,.25);color:#ffd1d8}.password-wrap{display:flex;gap:8px}.password-wrap input{flex:1}.password-wrap button{min-width:70px;border:1px solid var(--line);background:rgba(255,255,255,.07);color:var(--text);border-radius:14px}.reason-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.reason-grid button{padding:14px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.07);color:var(--text);font-weight:900}.focus-screen{position:fixed;inset:0;z-index:120;background:radial-gradient(circle at center,rgba(25,211,208,.18),transparent 32%),#020304;display:grid;place-items:center;text-align:center;padding:30px}.focus-screen h1{font-size:clamp(3rem,9vw,8rem);letter-spacing:-.08em}.focus-exit{position:absolute;top:22px;right:22px;padding:12px 16px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid var(--line);color:var(--text)}.toast{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);width:min(92vw,460px);padding:18px 22px;border-radius:22px;background:linear-gradient(135deg,rgba(17,24,31,.94),rgba(8,18,20,.92));border:1px solid rgba(88,230,255,.24);box-shadow:0 30px 90px rgba(0,0,0,.5);backdrop-filter:blur(20px);color:var(--text);font-weight:850;text-align:center;line-height:1.45;z-index:160;opacity:0;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,-50%) scale(1);animation:toastPulse .18s ease-out}@keyframes toastPulse{from{opacity:0;transform:translate(-50%,-50%) scale(.92)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.bottom-nav{display:none}.empty-state{text-align:left;padding:26px}.template-list{display:flex;flex-wrap:wrap;gap:12px}.split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}code{color:#baf7f5}.mail-link{text-align:center;display:block}@media(max-width:1100px){.feature-grid{grid-template-columns:repeat(2,1fr)}.pricing-grid,.analytics-grid,.profile-grid{grid-template-columns:1fr 1fr}.hero{grid-template-columns:1fr}.hero-card{max-width:620px}.goal-form{grid-template-columns:1fr}}@media(max-width:900px){.topbar{padding:12px 16px}.nav-links{display:none}.hero{padding:52px 18px}.section{padding:50px 18px}.feature-grid,.pricing-grid,.analytics-grid,.profile-grid,.contact-grid,.split{grid-template-columns:1fr}.app-shell{display:block}.sidebar{position:fixed;left:-310px;transition:.2s;box-shadow:var(--shadow)}.sidebar.open{left:0}.app-main{padding:18px 14px 100px}.mobile-app-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.page-head,.task-card,.focus-quote{flex-direction:column}.calendar-grid{gap:5px}.calendar-day{min-height:64px;padding:8px;font-size:.82rem}.task-actions{justify-content:flex-start}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:35;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(5,8,11,.88);border-top:1px solid var(--line);backdrop-filter:blur(20px)}.bottom-nav button{border:0;background:transparent;color:var(--muted);padding:10px 4px;font-weight:850}.bottom-nav button.active{color:var(--teal)}.bottom-nav span{display:block;font-size:.7rem}.top-actions .secondary-btn{display:none}.hero-logo{max-height:300px}.preview-card{position:static;margin-top:12px}.quote-icon{width:56px;height:56px}.stats-row{grid-template-columns:repeat(2,1fr)}}


/* HabitMitra UI polish fixes */
*{box-sizing:border-box}.hidden{display:none!important}body{overflow-x:hidden}.hero{align-items:center}.hero-copy{position:relative;z-index:2}.hero-card{min-height:420px;overflow:hidden;background:linear-gradient(145deg,rgba(18,27,34,.82),rgba(5,9,13,.88));display:grid;place-items:center}.hero-logo{display:none!important}.preview-card{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;width:min(100%,680px);max-width:680px;background:linear-gradient(145deg,rgba(0,0,0,.62),rgba(10,18,24,.75));backdrop-filter:blur(10px)}
.trust-row span{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.13)}.app-main{overflow-x:hidden}.page-head{max-width:100%}.quote-card.focus-quote{display:grid;grid-template-columns:auto 1fr auto;align-items:center;border-color:rgba(25,211,208,.22);background:linear-gradient(135deg,rgba(14,24,30,.96),rgba(7,22,24,.9));box-shadow:0 22px 70px rgba(0,0,0,.24)}.quote-card .quote-body span{display:none}.quote-refresh{width:46px;height:46px;padding:0;border-radius:16px}.stats-row{grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}.task-card{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:22px 24px}.task-copy{min-width:0}.task-actions{min-width:max-content}.routine-card,.template-card{display:flex;flex-direction:column;min-height:360px}.routine-habits,.template-habits{flex:1}.card-actions{margin-top:auto;display:grid;gap:10px}.template-card .primary-btn{margin-top:auto}.template-card-grid{align-items:stretch;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.habit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.habit-row strong{overflow:hidden;text-overflow:ellipsis}.calendar-card{overflow:hidden;max-width:100%}.calendar-grid{width:100%;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-spacer{min-width:0}.calendar-day{width:100%;min-width:0;overflow:hidden}.calendar-day span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-detail-card{padding:22px;border-radius:24px;background:rgba(255,255,255,.05);border:1px solid var(--line);overflow:hidden}.day-detail-card .task-card{border-radius:18px}.analytics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-card{min-height:230px}.analytics-card.wide{grid-column:span 2}.donut{width:150px!important;height:150px!important;aspect-ratio:1/1;flex:0 0 auto}.mini-legend{display:grid;grid-template-columns:1fr 1fr;gap:6px;color:var(--muted);font-size:.86rem}.rank-row,.transaction-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}.rank-row{grid-template-columns:1fr auto}.rank-row:last-child,.transaction-row:last-child{border-bottom:0}.week-bars span,.trend-bars span{box-shadow:0 -10px 24px rgba(25,211,208,.15)}.focus-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.focus-card{min-height:240px;display:flex;flex-direction:column}.focus-card button{margin-top:auto}.focus-card small{display:none!important}.focus-player{max-width:760px}.contact-grid{grid-template-columns:minmax(280px,.75fr) minmax(360px,1.25fr);align-items:stretch}.feedback-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.feedback-form h3,.feedback-form textarea{grid-column:1/-1}.feedback-form .stars{grid-column:1/2;align-self:center}.feedback-form button.primary-btn{grid-column:2/3;align-self:center;justify-self:start}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.locked-email{padding:12px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--muted)}.compact-form label{display:grid;gap:7px;color:var(--muted);font-weight:800}.compact-form input:disabled{opacity:.65;cursor:not-allowed}.modal-card{overflow:auto}.auth-status{line-height:1.35}.focus-screen .eyebrow{text-align:center}.focus-exit{z-index:2}@media(max-width:1180px){.stats-row{grid-template-columns:repeat(2,1fr)}.analytics-grid{grid-template-columns:1fr 1fr}.analytics-card.wide{grid-column:span 1}.contact-grid,.feedback-form,.profile-grid{grid-template-columns:1fr}.feedback-form button.primary-btn{grid-column:1/-1;width:100%}}@media(max-width:900px){.task-card{grid-template-columns:1fr}.task-actions{min-width:0}.quote-card.focus-quote{grid-template-columns:1fr;text-align:left}.calendar-card{padding:14px}.calendar-day{min-height:70px}.stats-row{grid-template-columns:1fr 1fr}.hero-card{min-height:auto}.preview-card{width:100%}}@media(max-width:560px){.stats-row{grid-template-columns:1fr}.calendar-grid{gap:4px}.calendar-day{padding:7px;font-size:.78rem}.analytics-grid{grid-template-columns:1fr}.template-card-grid{grid-template-columns:1fr}}


/* Final HabitMitra frontend-only polish patch */
.stats-row{gap:18px;margin-bottom:22px}.daily-summary{margin-top:4px;margin-bottom:28px}.today-layout{display:grid;gap:22px}.trial-card{margin-bottom:14px}.focus-screen h1{max-width:1100px;margin:0 auto 24px}.focus-screen p:not(.eyebrow){max-width:720px;margin:0 auto;color:#d7f8f6;font-size:1.02rem;line-height:1.8}.hz-label{display:inline-flex;margin-left:8px;padding:4px 8px;border-radius:999px;background:rgba(25,211,208,.10);border:1px solid rgba(25,211,208,.20);color:#baf7f5;font-weight:900;font-size:.82rem}.avatar-wrap{position:relative;width:max-content;margin-bottom:16px}.profile-avatar{position:relative;overflow:hidden}.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}.profile-avatar span{display:grid;place-items:center;width:100%;height:100%}.avatar-edit{position:absolute;right:-8px;bottom:-8px;width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:linear-gradient(135deg,#e8eeee,#70f4ef,#1db9bd);color:#071018;border:2px solid #071018;font-weight:950;box-shadow:0 12px 32px rgba(0,0,0,.35);cursor:pointer}.avatar-edit:hover{transform:translateY(-2px)}.profile-card:first-child{display:flex;flex-direction:column;align-items:flex-start}.template-card{gap:18px}.template-card .primary-btn{white-space:nowrap}.template-habits{display:grid;gap:0;align-content:start}.contact-grid .feedback-form{align-items:stretch}.feedback-form textarea{min-height:150px}.feedback-form button.primary-btn{align-self:end}@media(max-width:900px){.stats-row{gap:14px;margin-bottom:18px}.daily-summary{margin-bottom:22px}.trial-card{margin-bottom:18px}.focus-screen h1{font-size:clamp(2.9rem,14vw,5.6rem)}}


/* MindVault fullscreen audio controls patch */
.focus-screen-controls{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);width:min(920px,calc(100vw - 36px));padding:16px 18px;border-radius:24px;background:linear-gradient(145deg,rgba(14,24,30,.74),rgba(3,7,10,.82));border:1px solid rgba(88,230,255,.18);box-shadow:0 24px 80px rgba(0,0,0,.44);backdrop-filter:blur(22px);text-align:left}.focus-control-top,.focus-control-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px}.focus-control-top{margin-bottom:12px}.focus-control-top strong{font-size:.92rem;letter-spacing:.04em}.focus-control-top span{color:#baf7f5;font-weight:900}.focus-screen-options{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.focus-chip{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:var(--muted);border-radius:999px;padding:9px 12px;font-weight:900;font-size:.82rem;transition:.18s ease}.focus-chip:hover,.focus-chip.active{color:#061015;background:linear-gradient(135deg,#e8eeee,#74f5ef,#1db9bd);border-color:rgba(88,230,255,.42);box-shadow:0 14px 40px rgba(25,211,208,.18)}.focus-volume{display:flex;align-items:center;gap:12px;color:#d7f8f6;font-weight:900;min-width:min(390px,48vw)}.focus-volume input{width:100%;accent-color:var(--teal)}.focus-control-bottom .small-btn{min-width:84px}@media(max-width:720px){.focus-screen-controls{bottom:16px;padding:14px;border-radius:20px}.focus-control-top,.focus-control-bottom{align-items:flex-start;flex-direction:column}.focus-volume{width:100%;min-width:0}.focus-screen-options{max-height:108px;overflow:auto}.focus-chip{font-size:.78rem;padding:8px 10px}}


/* HabitMitra v6 UI patch: no white native habit dropdown + premium center alerts */
select, select option, select optgroup{
  background:#101820 !important;
  color:var(--text) !important;
}

.habit-type-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.habit-type-grid button{
  padding:13px 14px;
  border-radius:15px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.065);
  color:var(--muted);
  font-weight:900;
  text-align:left;
  transition:.18s ease;
}
.habit-type-grid button:hover{
  color:var(--text);
  border-color:rgba(88,230,255,.25);
  transform:translateY(-1px);
}
.habit-type-grid button.active{
  color:#061015;
  border-color:rgba(88,230,255,.5);
  background:linear-gradient(135deg,#dfe3e3,#ffffff 18%,#82fbf4 55%,#19c4c6);
  box-shadow:0 18px 44px rgba(25,211,208,.16);
}

.center-confirm{
  z-index:170;
}
.center-confirm-card{
  width:min(92vw,430px);
  padding:24px;
  border-radius:24px;
  background:linear-gradient(145deg,rgba(17,24,31,.96),rgba(6,16,18,.94));
  border:1px solid rgba(88,230,255,.24);
  box-shadow:0 32px 90px rgba(0,0,0,.55);
  backdrop-filter:blur(22px);
  text-align:center;
}
.center-confirm-card h3{
  margin:0 0 8px;
  font-size:1.35rem;
  letter-spacing:-.03em;
}
.center-confirm-card p{
  margin:0 0 20px;
  color:var(--muted);
  line-height:1.55;
}
.center-confirm-actions{
  display:flex;
  gap:12px;
  justify-content:center;
}
.center-confirm-actions button{
  min-width:126px;
}

@media(max-width:560px){
  .habit-type-grid{grid-template-columns:1fr}
  .center-confirm-actions{flex-direction:column}
  .center-confirm-actions button{width:100%}
}


/* HabitMitra v7 smarter notifications: only meaningful alerts, premium non-intrusive top-center card */
.toast{
  position:fixed !important;
  left:50% !important;
  top:22px !important;
  bottom:auto !important;
  right:auto !important;
  transform:translate(-50%,-14px) scale(.98) !important;
  width:auto !important;
  max-width:min(92vw,520px) !important;
  min-width:min(88vw,360px) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  padding:14px 18px !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,rgba(10,18,23,.88),rgba(12,30,32,.82)) !important;
  border:1px solid rgba(88,230,255,.2) !important;
  box-shadow:0 22px 70px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.06) !important;
  backdrop-filter:blur(22px) !important;
  color:var(--text) !important;
  font-weight:850 !important;
  text-align:left !important;
  line-height:1.35 !important;
  z-index:170 !important;
  opacity:0 !important;
  pointer-events:none !important;
}
.toast.show{
  opacity:1 !important;
  transform:translate(-50%,0) scale(1) !important;
  animation:toastSlideSoft .22s ease-out !important;
}
.toast.hidden{display:none !important;}
.toast-mark{
  width:30px;
  height:30px;
  border-radius:11px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  font-weight:950;
  color:#061015;
  background:linear-gradient(135deg,#effafa,var(--teal));
  box-shadow:0 12px 30px rgba(25,211,208,.18);
}
.toast.success{border-color:rgba(66,211,146,.32) !important;}
.toast.success .toast-mark{background:linear-gradient(135deg,#eafff4,var(--green));}
.toast.warning{border-color:rgba(246,195,67,.34) !important;}
.toast.warning .toast-mark{background:linear-gradient(135deg,#fff8db,var(--yellow));}
.toast.error{border-color:rgba(255,107,129,.36) !important;}
.toast.error .toast-mark{background:linear-gradient(135deg,#ffe6eb,var(--red));color:#21060b;}
@keyframes toastSlideSoft{from{opacity:0;transform:translate(-50%,-14px) scale(.98)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
@media(max-width:560px){.toast{top:14px !important;min-width:calc(100vw - 28px) !important;max-width:calc(100vw - 28px) !important;}}


/* HabitMitra v8: profile image remove + pricing/legal polish */
.avatar-wrap{
  position:relative;
  width:max-content;
}
.avatar-delete{
  position:absolute;
  right:-10px;
  top:-10px;
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid rgba(255,107,129,.35);
  background:linear-gradient(135deg,rgba(255,107,129,.95),rgba(120,25,42,.92));
  color:#fff;
  font-weight:950;
  line-height:1;
  box-shadow:0 14px 34px rgba(255,107,129,.18),0 18px 45px rgba(0,0,0,.35);
}
.avatar-delete:hover{
  transform:translateY(-1px) scale(1.04);
}
.price-card ul{
  padding-left:22px;
  color:var(--muted);
  line-height:1.5;
}
.price-card .badge{
  margin-bottom:12px;
}


/* HabitMitra AutoPay + access lock */
.access-lock-card{
  width:100%;
  padding:30px;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(17,24,31,.94),rgba(6,18,20,.92));
  border:1px solid rgba(88,230,255,.25);
  box-shadow:0 30px 90px rgba(0,0,0,.38);
  text-align:left;
}
.access-lock-card .lock-icon{
  width:60px;height:60px;border-radius:20px;display:grid;place-items:center;
  background:linear-gradient(135deg,#dfe3e3,#ffffff 18%,#82fbf4 55%,#19c4c6);
  color:#061015;font-size:1.6rem;margin-bottom:18px;
}
.access-lock-card h3{margin:0 0 10px;font-size:1.65rem;letter-spacing:-.04em}.access-lock-card p{color:var(--muted);line-height:1.7;max-width:720px}.pricing-lock-note{margin-top:12px;padding:12px 14px;border-radius:16px;background:rgba(255,107,129,.1);border:1px solid rgba(255,107,129,.22);color:#ffd1d8}.locked-nav{opacity:.42}.primary-btn:disabled,.secondary-btn:disabled,.plan-disabled{cursor:not-allowed;opacity:.58;filter:saturate(.65);transform:none!important;box-shadow:none!important}.price-card.current-plan-card{border-color:rgba(66,211,146,.34);box-shadow:0 20px 60px rgba(66,211,146,.08)}.price-card.current-plan-card:after{content:"Active";position:absolute;top:18px;right:18px;padding:7px 10px;border-radius:999px;background:rgba(66,211,146,.12);border:1px solid rgba(66,211,146,.28);color:#bfffe1;font-weight:950;font-size:.74rem}

/* V1 secure auth UX */
.google-auth-box{margin:14px 0 12px;display:flex;flex-direction:column;align-items:center;gap:10px}
.auth-divider{display:flex;align-items:center;width:100%;gap:10px;color:var(--muted);font-size:.82rem}
.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:rgba(255,255,255,.1)}
.remember-row{display:flex;align-items:center;gap:8px;margin:2px 0 8px;color:var(--muted);font-size:.88rem}
.remember-row input{accent-color:#2ee6a6}
.auth-security-line{font-size:.78rem;color:rgba(190,255,230,.72);margin-top:-4px;margin-bottom:10px}

/* Auth V1 clean hotfix */
.auth-security-line{display:none!important}
.google-auth-box{margin:12px 0 14px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.google-login-btn{width:100%;min-height:46px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#f6fbff;font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;transition:.2s ease}
.google-login-btn:hover{border-color:rgba(82,229,218,.48);background:rgba(255,255,255,.09);transform:translateY(-1px)}
.google-mark{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#111;font-weight:900;font-family:Arial,sans-serif}
.google-native-slot{display:none;justify-content:center}
.google-native-slot.show-native-google{display:flex}
.auth-divider{width:100%;display:flex;align-items:center;gap:12px;color:rgba(224,235,245,.46);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:rgba(255,255,255,.10)}
.auth-card .muted{margin-bottom:12px}


/* HabitMitra profile password + locked email UX patch */
.profile-helper{margin:8px 0 14px;color:var(--muted);line-height:1.65;font-size:.94rem}
.locked-email.premium-lock{display:inline-flex;align-items:center;gap:8px;max-width:100%;cursor:not-allowed;user-select:none;background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(25,211,208,.055));border-color:rgba(255,255,255,.12)}
.locked-email.premium-lock:hover{border-color:rgba(255,107,129,.42);box-shadow:0 0 0 1px rgba(255,107,129,.14)}
.lock-dot{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:rgba(255,107,129,.14);border:1px solid rgba(255,107,129,.24);font-size:.78rem;flex:0 0 auto}
.locked-email-label .label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.lock-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:999px;background:rgba(255,107,129,.11);border:1px solid rgba(255,107,129,.22);color:#ffc2cb;font-size:.74rem;font-weight:950;cursor:not-allowed}
.locked-input-wrap{position:relative;display:block}
.locked-input-wrap:after{content:'🚫';position:absolute;right:14px;top:50%;transform:translateY(-50%);opacity:.78;pointer-events:none}
.locked-email-input{padding-right:48px!important;cursor:not-allowed!important;color:var(--muted)!important;background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.10)!important}
.locked-email-input:hover{border-color:rgba(255,107,129,.30)!important}
.field-hint{color:var(--muted2);font-weight:800;margin-left:6px}
.google-password-note{display:grid;gap:5px;padding:14px 15px;border-radius:16px;background:linear-gradient(135deg,rgba(25,211,208,.10),rgba(255,255,255,.045));border:1px solid rgba(25,211,208,.22);color:#d9fffd}
.google-password-note span{color:var(--muted);line-height:1.55;font-size:.92rem}


/* HabitMitra OTP resend + premium profile lock polish */
.otp-mail-card{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;border-radius:18px;background:linear-gradient(135deg,rgba(25,211,208,.13),rgba(255,255,255,.045));border:1px solid rgba(25,211,208,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.otp-mail-icon{width:34px;height:34px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);flex:0 0 auto}
.otp-mail-card strong{display:block;color:#eaffff;font-weight:950;letter-spacing:-.02em}.otp-mail-card small{display:block;margin-top:4px;color:var(--muted);line-height:1.5;font-weight:650}.otp-cooldown{margin:0;text-align:center;color:var(--muted);font-size:.88rem;font-weight:800}.resend-otp-btn{box-shadow:none!important}.resend-otp-btn.disabled,.resend-otp-btn:disabled{opacity:.48;cursor:not-allowed;transform:none!important}.auth-form#otpForm,.auth-form#resetVerifyForm{gap:14px}.auth-form#otpForm input,.auth-form#resetVerifyForm input{letter-spacing:.08em;font-weight:900}.auth-form#otpForm input::placeholder,.auth-form#resetVerifyForm input::placeholder{letter-spacing:0;font-weight:700}
.profile-helper{margin:8px 0 14px;color:var(--muted);line-height:1.65;font-size:.94rem}.profile-email-lock{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,rgba(25,211,208,.10),rgba(255,255,255,.045));border:1px solid rgba(25,211,208,.20);color:#ccefed;font-weight:850;cursor:not-allowed;user-select:none;transition:.18s ease}.profile-email-lock:hover{border-color:rgba(25,211,208,.40);box-shadow:0 0 0 1px rgba(25,211,208,.12),0 14px 34px rgba(0,0,0,.22)}.soft-lock-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:999px;background:rgba(25,211,208,.12);border:1px solid rgba(25,211,208,.24);font-size:.82rem;flex:0 0 auto}.premium-email-lock-label .label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.email-protected-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;background:rgba(25,211,208,.10);border:1px solid rgba(25,211,208,.20);color:#baf7f5;font-size:.72rem;font-weight:950;letter-spacing:.02em}.premium-locked-input{position:relative;display:block}.premium-locked-input:before{content:attr(data-tooltip);position:absolute;right:0;bottom:calc(100% + 10px);width:min(330px,82vw);padding:11px 12px;border-radius:14px;background:rgba(5,8,11,.96);border:1px solid rgba(25,211,208,.25);box-shadow:0 18px 48px rgba(0,0,0,.36);color:#d9fffd;font-size:.78rem;line-height:1.45;font-weight:800;opacity:0;transform:translateY(6px);pointer-events:none;transition:.18s ease;z-index:10}.premium-locked-input:hover:before{opacity:1;transform:translateY(0)}.premium-locked-input input{padding-right:54px!important;cursor:not-allowed!important;color:#c5d1d8!important;background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(25,211,208,.035))!important;border-color:rgba(255,255,255,.11)!important}.lock-ring{position:absolute;right:13px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:grid;place-items:center;border-radius:999px;background:rgba(25,211,208,.10);border:1px solid rgba(25,211,208,.22);pointer-events:none}.field-hint{color:var(--muted2);font-weight:800;margin-left:6px}.google-password-note{display:grid;gap:5px;padding:14px 15px;border-radius:16px;background:linear-gradient(135deg,rgba(25,211,208,.10),rgba(255,255,255,.045));border:1px solid rgba(25,211,208,.22);color:#d9fffd}.google-password-note span{color:var(--muted);line-height:1.55;font-size:.92rem}.muted-soft{color:var(--muted);font-weight:800}


/* HM_PRO_PASSWORD_TOGGLE_START */
.hm-pass-wrap{
  position:relative;
  width:100%;
  display:block;
}

.hm-pass-wrap input{
  width:100% !important;
  padding-right:54px !important;
}

.hm-pass-toggle{
  position:absolute !important;
  right:11px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:36px !important;
  height:32px !important;
  border-radius:12px !important;
  border:1px solid rgba(160,255,246,.18) !important;
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)) !important;
  color:rgba(225,246,247,.78) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 !important;
  margin:0 !important;
  cursor:pointer !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 8px 22px rgba(0,0,0,.16) !important;
  transition:all .16s ease !important;
}

.hm-pass-toggle:hover{
  color:#bffdf8 !important;
  border-color:rgba(97,245,233,.42) !important;
  background:linear-gradient(180deg, rgba(85,245,233,.14), rgba(255,255,255,.045)) !important;
}

.hm-pass-toggle.is-visible{
  color:#6ff7ed !important;
  border-color:rgba(97,245,233,.45) !important;
}

.hm-pass-toggle svg{
  display:block !important;
  pointer-events:none !important;
}

.hm-hide-old-pass-btn{
  display:none !important;
}
/* HM_PRO_PASSWORD_TOGGLE_END */


/* HM_PREMIUM_LANDING_V2_START */
body > header,
.landing-header,
.site-header,
.topbar{
  background:rgba(5,10,13,.74) !important;
  backdrop-filter:blur(18px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(130%) !important;
  border-bottom:1px solid rgba(170,255,247,.08) !important;
}

.hm-premium-hero{
  position:relative;
  min-height:calc(100vh - 72px);
  display:grid;
  grid-template-columns:minmax(0, .95fr) minmax(420px, .9fr);
  gap:72px;
  align-items:center;
  padding:96px clamp(28px, 5vw, 78px) 78px;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 15%, rgba(64,238,228,.18), transparent 30%),
    radial-gradient(circle at 8% 78%, rgba(198,246,242,.09), transparent 27%),
    linear-gradient(135deg, #06090c 0%, #091216 48%, #061011 100%);
}

.hm-premium-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.8), transparent 82%);
  pointer-events:none;
}

.hm-hero-bg-orb{
  position:absolute;
  border-radius:999px;
  filter:blur(40px);
  opacity:.55;
  pointer-events:none;
}

.hm-orb-one{
  width:260px;
  height:260px;
  right:4%;
  top:10%;
  background:rgba(64,238,228,.22);
}

.hm-orb-two{
  width:220px;
  height:220px;
  left:4%;
  bottom:8%;
  background:rgba(255,255,255,.08);
}

.hm-hero-left,
.hm-hero-right{
  position:relative;
  z-index:1;
}

.hm-hero-left{
  max-width:760px;
}

.hm-hero-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border:1px solid rgba(151,255,247,.15);
  background:rgba(255,255,255,.045);
  border-radius:999px;
  color:rgba(226,252,250,.78);
  font-weight:800;
  font-size:13px;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  margin-bottom:24px;
}

.hm-pill-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:#63f5eb;
  box-shadow:0 0 22px rgba(99,245,235,.9);
}

.hm-premium-hero h1{
  margin:0;
  max-width:850px;
  font-size:clamp(48px, 6vw, 92px);
  line-height:.92;
  letter-spacing:-.075em;
  font-weight:950;
  color:#f7fbfb;
  text-wrap:balance;
}

.hm-hero-sub{
  max-width:660px;
  margin:26px 0 0;
  color:rgba(218,230,234,.72);
  font-size:clamp(16px, 1.4vw, 20px);
  line-height:1.7;
}

.hm-hero-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:34px;
  flex-wrap:wrap;
}

.hm-primary-cta,
.hm-secondary-cta{
  height:54px;
  border-radius:18px;
  padding:0 24px;
  font-weight:900;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.hm-primary-cta{
  border:0;
  color:#031010;
  background:linear-gradient(135deg, #f7ffff 0%, #b9fff9 42%, #42d4cf 100%);
  box-shadow:0 18px 50px rgba(61,225,215,.22), inset 0 1px 0 rgba(255,255,255,.75);
}

.hm-secondary-cta{
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.055);
  color:#eefafa;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}

.hm-primary-cta:hover,
.hm-secondary-cta:hover{
  transform:translateY(-2px);
}

.hm-hero-metrics{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  max-width:610px;
  margin-top:34px;
}

.hm-hero-metrics div{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.045);
}

.hm-hero-metrics strong{
  display:block;
  color:#f5ffff;
  font-size:18px;
  margin-bottom:4px;
}

.hm-hero-metrics span{
  color:rgba(221,234,236,.58);
  font-weight:700;
  font-size:13px;
}

.hm-hero-right{
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hm-product-frame{
  width:min(100%, 620px);
  border-radius:32px;
  padding:24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035)),
    rgba(5,10,13,.8);
  border:1px solid rgba(170,255,247,.12);
  box-shadow:
    0 40px 120px rgba(0,0,0,.48),
    0 0 0 1px rgba(255,255,255,.03) inset;
}

.hm-frame-top{
  display:flex;
  align-items:center;
  gap:7px;
  margin-bottom:22px;
  color:rgba(220,236,238,.6);
  font-weight:900;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hm-frame-top span{
  width:9px;
  height:9px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
}

.hm-frame-top p{
  margin:0 0 0 10px;
}

.hm-score-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:26px;
  border-radius:26px;
  background:linear-gradient(135deg, rgba(18,28,34,.95), rgba(11,19,23,.92));
  border:1px solid rgba(255,255,255,.08);
}

.hm-small-label{
  color:rgba(219,232,235,.62);
  font-weight:900;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hm-score-card h2{
  margin:10px 0 0;
  color:#f7ffff;
  font-size:54px;
  letter-spacing:-.055em;
}

.hm-score-ring{
  width:86px;
  height:86px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  color:#071414;
  background:conic-gradient(#65f3e9 78%, rgba(255,255,255,.1) 0);
  box-shadow:0 16px 44px rgba(101,243,233,.22);
}

.hm-progress-line{
  height:10px;
  margin:22px 0;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  overflow:hidden;
}

.hm-progress-line span{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, #f7ffff, #68f5ec, #28c7c5);
}

.hm-task-list{
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
}

.hm-task-list div{
  display:grid;
  grid-template-columns:22px 1fr auto;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  background:rgba(255,255,255,.035);
  border-bottom:1px solid rgba(255,255,255,.07);
}

.hm-task-list div:last-child{
  border-bottom:0;
}

.hm-task-list p{
  margin:0;
  color:#eef7f7;
  font-weight:750;
}

.hm-task-list b{
  color:#4ef3af;
  font-size:13px;
}

.hm-task-list .hm-warn{
  color:#f7d187;
}

.hm-check,
.hm-pulse{
  width:12px;
  height:12px;
  border-radius:999px;
  display:block;
}

.hm-check{
  background:#4ef3af;
  box-shadow:0 0 18px rgba(78,243,175,.42);
}

.hm-pulse{
  background:#f7d187;
  box-shadow:0 0 18px rgba(247,209,135,.42);
}

.hm-mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}

.hm-mini-grid div{
  padding:18px;
  border-radius:20px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
}

.hm-mini-grid span{
  display:block;
  color:rgba(219,232,235,.58);
  font-size:13px;
  font-weight:850;
  margin-bottom:6px;
}

.hm-mini-grid strong{
  color:#f3ffff;
}

.hm-floating-card{
  position:absolute;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(170,255,247,.14);
  background:rgba(10,18,22,.78);
  backdrop-filter:blur(14px);
  box-shadow:0 22px 60px rgba(0,0,0,.36);
}

.hm-floating-card span{
  display:block;
  color:rgba(222,236,238,.58);
  font-size:12px;
  font-weight:850;
  margin-bottom:5px;
}

.hm-floating-card strong{
  color:#f4ffff;
}

.hm-float-one{
  left:0;
  top:18%;
}

.hm-float-two{
  right:2%;
  bottom:15%;
}

@media (max-width: 980px){
  .hm-premium-hero{
    grid-template-columns:1fr;
    gap:42px;
    padding-top:64px;
  }

  .hm-hero-right{
    min-height:auto;
  }

  .hm-floating-card{
    display:none;
  }

  .hm-premium-hero h1{
    font-size:clamp(42px, 12vw, 72px);
  }

  .hm-hero-metrics{
    grid-template-columns:1fr;
  }
}

@media (max-width: 560px){
  .hm-premium-hero{
    padding-inline:20px;
  }

  .hm-product-frame{
    padding:16px;
    border-radius:24px;
  }

  .hm-score-card{
    padding:20px;
  }

  .hm-score-card h2{
    font-size:42px;
  }
}
/* HM_PREMIUM_LANDING_V2_END */


/* HM_HERO_TEXT_REFINEMENT_START */
.hm-premium-title,
.hm-premium-hero h1{
  max-width:720px !important;
  font-size:clamp(46px, 5.2vw, 78px) !important;
  line-height:1.02 !important;
  letter-spacing:-0.055em !important;
  font-weight:900 !important;
  color:#f6fbfb !important;
  text-wrap:balance !important;
}

.hm-premium-title span{
  background:linear-gradient(90deg, #ffffff 0%, #bffff9 45%, #58efe7 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hm-hero-sub{
  max-width:610px !important;
  font-size:18px !important;
  line-height:1.72 !important;
  color:rgba(218,230,234,.68) !important;
  margin-top:22px !important;
}

.hm-hero-pill{
  margin-bottom:22px !important;
  font-size:12px !important;
  letter-spacing:.09em !important;
}

.hm-hero-actions{
  margin-top:30px !important;
}

.hm-hero-metrics{
  margin-top:28px !important;
  max-width:560px !important;
}

@media (max-width: 560px){
  .hm-premium-title,
  .hm-premium-hero h1{
    font-size:clamp(38px, 12vw, 56px) !important;
    line-height:1.04 !important;
  }

  .hm-hero-sub{
    font-size:16px !important;
  }
}
/* HM_HERO_TEXT_REFINEMENT_END */


/* HM_FOUNDER_PANEL_START */

/* Proper founder page layout beside sidebar */
#founderView:not(.active){
  display:none !important;
}

#founderView.active{
  position:fixed !important;
  top:0 !important;
  left:280px !important;
  right:0 !important;
  bottom:0 !important;
  width:auto !important;
  height:100vh !important;
  margin:0 !important;
  padding:28px 34px 70px !important;
  overflow-y:auto !important;
  z-index:12 !important;
  background:
    radial-gradient(circle at 90% 8%, rgba(72,245,235,.14), transparent 30%),
    radial-gradient(circle at 12% 90%, rgba(255,255,255,.045), transparent 28%),
    linear-gradient(135deg, #060a0d 0%, #071114 55%, #061012 100%) !important;
}

/* Header */
#founderView .page-head{
  margin:0 0 22px !important;
  padding:22px 24px !important;
  border-radius:26px !important;
  border:1px solid rgba(125,255,246,.12) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.028)),
    rgba(8,16,20,.8) !important;
  box-shadow:0 24px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

#founderView .page-head .eyebrow{
  color:#a8fff8 !important;
  letter-spacing:.15em !important;
  font-weight:950 !important;
}

#founderView .page-head h2{
  margin:6px 0 8px !important;
  color:#f7ffff !important;
  font-size:34px !important;
  line-height:1 !important;
  letter-spacing:-.045em !important;
}

#founderView .page-head .muted{
  margin:0 !important;
  color:rgba(220,235,238,.62) !important;
}

/* Root */
.founder-root{
  display:grid !important;
  gap:20px !important;
  max-width:1180px !important;
}

/* Metrics */
.founder-metrics{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
}

.founder-metrics div{
  min-height:104px !important;
  padding:18px !important;
  border-radius:22px !important;
  border:1px solid rgba(125,255,246,.11) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.024)),
    rgba(9,17,21,.82) !important;
  box-shadow:0 18px 50px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.055) !important;
}

.founder-metrics span{
  display:block !important;
  margin-bottom:8px !important;
  color:rgba(219,236,238,.55) !important;
  font-size:12px !important;
  font-weight:950 !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
}

.founder-metrics strong{
  color:#f7ffff !important;
  font-size:30px !important;
  line-height:1 !important;
  letter-spacing:-.05em !important;
}

/* Search */
.founder-search{
  display:grid !important;
  grid-template-columns:1fr 140px !important;
  gap:12px !important;
  padding:14px !important;
  border-radius:22px !important;
  border:1px solid rgba(125,255,246,.1) !important;
  background:rgba(255,255,255,.045) !important;
}

.founder-search input{
  height:50px !important;
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.1) !important;
  background:rgba(255,255,255,.055) !important;
  color:#f6ffff !important;
  padding:0 16px !important;
  font-weight:850 !important;
  outline:none !important;
}

.founder-search input:focus{
  border-color:rgba(100,245,236,.5) !important;
  box-shadow:0 0 0 4px rgba(100,245,236,.08) !important;
}

/* Section heading */
.founder-section-head{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:14px !important;
}

.founder-section-head h3{
  margin:0 !important;
  color:#f8ffff !important;
  font-size:22px !important;
  letter-spacing:-.035em !important;
}

.founder-section-head p{
  margin:0 !important;
  color:rgba(220,235,238,.54) !important;
  font-weight:750 !important;
}

/* Users */
.founder-users{
  display:grid !important;
  gap:14px !important;
}

.founder-user-card{
  display:grid !important;
  grid-template-columns:minmax(260px,1fr) 200px minmax(360px,1.25fr) !important;
  gap:16px !important;
  align-items:center !important;
  padding:16px !important;
  border-radius:24px !important;
  border:1px solid rgba(255,255,255,.085) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.062), rgba(255,255,255,.022)),
    rgba(7,14,18,.86) !important;
  box-shadow:0 18px 52px rgba(0,0,0,.23), inset 0 1px 0 rgba(255,255,255,.055) !important;
}

.founder-user-main strong{
  display:block !important;
  color:#f7ffff !important;
  font-size:16px !important;
  margin-bottom:5px !important;
}

.founder-user-main span{
  display:block !important;
  color:rgba(224,238,240,.75) !important;
  font-weight:850 !important;
  word-break:break-word !important;
}

.founder-user-main small,
.founder-user-meta small{
  display:block !important;
  margin-top:7px !important;
  color:rgba(224,238,240,.45) !important;
  font-weight:750 !important;
  line-height:1.35 !important;
}

.founder-user-meta{
  padding:12px 14px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.035) !important;
  border:1px solid rgba(255,255,255,.06) !important;
}

.founder-user-meta b{
  display:block !important;
  color:#eaffff !important;
  margin-bottom:8px !important;
  font-size:15px !important;
}

.founder-pill{
  display:inline-flex !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:950 !important;
  border:1px solid rgba(255,255,255,.1) !important;
}

.founder-pill.good{
  color:#70f4b8 !important;
  background:rgba(72,245,170,.09) !important;
  border-color:rgba(72,245,170,.18) !important;
}

.founder-pill.bad{
  color:#ffb5c5 !important;
  background:rgba(255,100,135,.09) !important;
  border-color:rgba(255,100,135,.18) !important;
}

/* Actions */
.founder-actions{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:8px !important;
}

.founder-actions .small-btn{
  min-height:38px !important;
  padding:8px 10px !important;
  border-radius:14px !important;
  font-size:12px !important;
  font-weight:950 !important;
  border:1px solid rgba(255,255,255,.11) !important;
  background:rgba(255,255,255,.055) !important;
  color:#eaffff !important;
  white-space:normal !important;
}

.founder-actions .small-btn:hover{
  transform:translateY(-1px) !important;
  border-color:rgba(104,245,236,.32) !important;
  background:rgba(104,245,236,.08) !important;
}

.founder-actions .done{
  color:#bffff5 !important;
  background:rgba(73,245,200,.08) !important;
  border-color:rgba(73,245,200,.18) !important;
}

.founder-actions .skip{
  color:#bde9ff !important;
  background:rgba(90,185,255,.08) !important;
  border-color:rgba(90,185,255,.18) !important;
}

.founder-actions .partial{
  color:#ffe7a8 !important;
  background:rgba(255,210,110,.08) !important;
  border-color:rgba(255,210,110,.18) !important;
}

.founder-actions .missed{
  color:#ffb5c5 !important;
  background:rgba(255,90,135,.08) !important;
  border-color:rgba(255,90,135,.2) !important;
}

@media(max-width:1250px){
  .founder-user-card{
    grid-template-columns:1fr !important;
  }
  .founder-actions{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

@media(max-width:900px){
  #founderView.active{
    left:0 !important;
    padding:22px 16px 80px !important;
  }
  .founder-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .founder-search{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:560px){
  .founder-metrics{
    grid-template-columns:1fr !important;
  }
  .founder-actions{
    grid-template-columns:1fr 1fr !important;
  }
  .founder-section-head{
    display:block !important;
  }
  .founder-section-head p{
    margin-top:8px !important;
  }
}
/* HM_FOUNDER_PANEL_END */





/* HM_DELETE_ACCESS_COMPLETELY_BUTTON_START */
.founder-actions .hm-danger-soft{
  color:#ffd0d8 !important;
  background:rgba(255,80,120,.075) !important;
  border-color:rgba(255,120,150,.20) !important;
}

.founder-actions .hm-danger-soft:hover{
  color:#fff !important;
  background:rgba(255,80,120,.14) !important;
  border-color:rgba(255,140,165,.36) !important;
}
/* HM_DELETE_ACCESS_COMPLETELY_BUTTON_END */


/* HM_SIDEBAR_BOTTOM_FINAL_START */
.sidebar,
.app-sidebar,
aside{
  display:flex !important;
  flex-direction:column !important;
  height:100vh !important;
  min-height:100vh !important;
}

.hm-sidebar-bottom-final{
  margin-top:auto !important;
  padding:18px 8px 16px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  width:100% !important;
}

.hm-sidebar-bottom-final > *{
  width:100% !important;
  margin:0 !important;
  position:static !important;
  left:auto !important;
  right:auto !important;
  top:auto !important;
  bottom:auto !important;
}

.hm-sidebar-bottom-final .hm-admin-panel-btn{
  border-radius:18px !important;
  border:1px solid rgba(111,245,236,.24) !important;
  background:rgba(13,42,43,.72) !important;
  color:#f4ffff !important;
  font-weight:900 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.hm-sidebar-bottom-final .hm-admin-panel-btn:hover{
  background:rgba(22,62,63,.82) !important;
  border-color:rgba(111,245,236,.42) !important;
}
/* HM_SIDEBAR_BOTTOM_FINAL_END */




/* HM_PREMIUM_TEMPLATES_START */
#templatesView .page-head{margin-bottom:18px!important}
.template-studio-head{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:24px;border-radius:28px;border:1px solid rgba(120,255,246,.13);background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)),rgba(8,16,20,.78);box-shadow:0 24px 80px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.06);margin-bottom:4px}
.template-studio-head h3{margin:6px 0 8px;color:#f7ffff;font-size:clamp(1.55rem,2.4vw,2.6rem);letter-spacing:-.055em;line-height:1.02}.template-studio-head p{margin:0;color:rgba(219,234,236,.66);line-height:1.65;max-width:760px}.template-count{min-width:106px;min-height:86px;border-radius:24px;display:grid;place-items:center;text-align:center;border:1px solid rgba(106,245,235,.18);background:rgba(106,245,235,.07)}.template-count strong{font-size:2.2rem;color:#f6ffff;line-height:1}.template-count span{color:rgba(219,234,236,.58);font-weight:900;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.template-controls{grid-column:1/-1;display:grid;gap:12px;padding:14px;border-radius:24px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);margin-bottom:6px}.template-controls input{height:52px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:#f6ffff;padding:0 16px;font-weight:850;outline:none}.template-controls input:focus{border-color:rgba(100,245,236,.55);box-shadow:0 0 0 4px rgba(100,245,236,.08)}.template-category-row{display:flex;gap:8px;flex-wrap:wrap}.template-chip{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);color:rgba(231,246,247,.75);border-radius:999px;padding:9px 12px;font-weight:900;font-size:.82rem}.template-chip.active,.template-chip:hover{background:rgba(82,238,229,.14);border-color:rgba(82,238,229,.35);color:#eaffff}.premium-template-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:16px}.premium-template-card{min-height:410px!important;padding:22px!important;overflow:hidden}.premium-template-card:before{content:"";position:absolute;inset:-1px;background:radial-gradient(circle at 86% 0%,rgba(83,245,235,.16),transparent 34%);pointer-events:none}.template-card-top{position:relative;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.template-category-badge,.template-level{display:inline-flex;border-radius:999px;padding:7px 10px;font-size:.74rem;font-weight:950;letter-spacing:.04em;text-transform:uppercase}.template-category-badge{color:#061313;background:linear-gradient(135deg,#f5ffff,#67f2ea)}.template-level{color:#bdfbf6;border:1px solid rgba(101,245,235,.2);background:rgba(101,245,235,.07)}.premium-template-card h3{position:relative;margin:0 0 9px;color:#f7ffff;font-size:1.35rem;letter-spacing:-.04em}.template-tagline{position:relative;margin:0 0 14px;color:rgba(219,234,236,.66);line-height:1.55;min-height:48px}.template-meta{position:relative;display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.template-meta span{border-radius:999px;padding:7px 10px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.075);color:rgba(229,244,245,.7);font-weight:850;font-size:.78rem}.premium-template-habits{position:relative;display:grid;gap:0;margin-bottom:16px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.07)}.premium-template-habits .habit-row{background:rgba(255,255,255,.034);padding:10px 12px}.premium-template-card .primary-btn{position:relative;margin-top:auto!important}.template-card-grid{display:grid!important;gap:16px!important}.template-card-grid>.template-studio-head,.template-card-grid>.template-controls,.template-card-grid>.premium-template-grid{grid-column:1/-1}.template-card-grid{grid-template-columns:1fr!important}@media(max-width:760px){.template-studio-head{grid-template-columns:1fr}.template-count{width:100%;display:flex;justify-content:center;gap:8px}.premium-template-grid{grid-template-columns:1fr}.template-controls input{height:48px}}
/* HM_PREMIUM_TEMPLATES_END */


/* HM_ADMIN_DELETE_BUTTONS_FINAL_START */
.founder-actions .hm-danger-soft{
  color:#ffd2da !important;
  background:rgba(255,90,135,.075) !important;
  border-color:rgba(255,120,150,.20) !important;
}

.founder-actions .hm-danger-hard{
  color:#ffb0c4 !important;
  background:rgba(255,40,100,.09) !important;
  border-color:rgba(255,95,135,.24) !important;
}

.founder-actions .hm-danger-soft:hover,
.founder-actions .hm-danger-hard:hover{
  color:#fff !important;
  background:rgba(255,80,120,.16) !important;
  border-color:rgba(255,140,165,.42) !important;
}
/* HM_ADMIN_DELETE_BUTTONS_FINAL_END */


/* HM_SAFE_DYNAMIC_LANDING_START */

/* Only landing hero animation. Pricing/cards outside hero untouched. */
.hm-safe-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:
    opacity .65s cubic-bezier(.2,.8,.2,1),
    transform .65s cubic-bezier(.2,.8,.2,1);
  transition-delay:var(--hm-safe-delay, 0ms);
}

.hm-safe-reveal.hm-safe-reveal-in{
  opacity:1;
  transform:translateY(0);
}

.hm-premium-hero{
  position:relative;
}

.hm-premium-hero .hm-product-frame,
.hm-premium-hero .hm-floating-card{
  will-change:transform;
  transition:transform .18s ease-out, border-color .22s ease, box-shadow .22s ease;
}

.hm-premium-hero .hm-product-frame:hover{
  border-color:rgba(108,245,236,.28) !important;
  box-shadow:0 32px 100px rgba(0,0,0,.38), 0 0 44px rgba(80,245,236,.08) !important;
}

.hm-premium-hero .hm-task-list > div{
  transition:transform .2s ease, background .2s ease;
}

.hm-premium-hero .hm-task-list > div:hover{
  transform:translateX(5px);
  background:rgba(108,245,236,.06) !important;
}

.hm-premium-hero .hm-primary-cta,
.hm-premium-hero .hm-secondary-cta{
  transition:transform .2s ease, box-shadow .2s ease;
}

.hm-premium-hero .hm-primary-cta:hover,
.hm-premium-hero .hm-secondary-cta:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 50px rgba(75,245,235,.16) !important;
}

/* Make sure pricing is never blurred by old CSS */
.price-card,
.pricing-card,
#pricingView,
#pricingView *{
  filter:none !important;
  opacity:1 !important;
}

/* HM_SAFE_DYNAMIC_LANDING_END */


/* HM_SOCIAL_CARD_START */
.hm-social-link{
  cursor:pointer !important;
  background:transparent;
  border:0;
  color:inherit;
  font:inherit;
  font-weight:800;
}

.hm-social-modal-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.hm-social-modal-overlay.show{
  display:flex;
}

.hm-social-modal{
  position:relative;
  width:min(620px, 96vw);
  border-radius:30px;
  padding:30px;
  background:
    radial-gradient(circle at 88% 8%, rgba(80,245,235,.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    #081014;
  border:1px solid rgba(130,255,246,.15);
  box-shadow:0 40px 140px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.06);
  color:#f5ffff;
  animation:hmSocialIn .22s ease both;
}

@keyframes hmSocialIn{
  from{
    opacity:0;
    transform:translateY(18px) scale(.97);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.hm-social-close{
  position:absolute;
  top:18px;
  right:18px;
  width:38px;
  height:38px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#f8ffff;
  font-size:20px;
  cursor:pointer;
}

.hm-social-kicker{
  color:#8ffff7;
  font-size:12px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.hm-social-modal h2{
  margin:0;
  font-size:34px;
  letter-spacing:-.045em;
  line-height:1.05;
}

.hm-social-sub{
  margin:14px 0 22px;
  color:rgba(220,235,238,.68);
  line-height:1.65;
  font-weight:650;
}

.hm-social-grid{
  display:grid;
  gap:12px;
}

.hm-social-card-link{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:14px;
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.045);
  color:#f4ffff;
  text-decoration:none;
  transition:transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.hm-social-card-link:hover{
  transform:translateY(-3px);
  border-color:rgba(110,245,236,.34);
  background:rgba(110,245,236,.075);
  box-shadow:0 18px 55px rgba(0,0,0,.26);
}

.hm-social-icon{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(255,255,255,.12), rgba(109,245,236,.10));
  border:1px solid rgba(255,255,255,.10);
  font-size:22px;
}

.hm-social-card-link strong{
  display:block;
  margin-bottom:4px;
  font-size:17px;
}

.hm-social-card-link p{
  margin:0 0 6px;
  color:rgba(220,235,238,.62);
  font-size:14px;
  line-height:1.45;
}

.hm-social-card-link small{
  color:#99fff8;
  font-weight:850;
}

.hm-social-note{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(220,235,238,.54);
  font-size:13px;
  line-height:1.55;
}
/* HM_SOCIAL_CARD_END */


/* HM_LEGAL_CARDS_START */
.hm-legal-footer-link{
  cursor:pointer !important;
}

.hm-legal-footer-link:hover{
  color:#bffff9 !important;
}

.hm-legal-modal-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(0,0,0,.74);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.hm-legal-modal-overlay.show{
  display:flex;
}

.hm-legal-modal{
  position:relative;
  width:min(720px, 96vw);
  max-height:min(82vh, 760px);
  overflow:auto;
  border-radius:30px;
  padding:32px;
  background:
    radial-gradient(circle at 88% 8%, rgba(80,245,235,.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    #081014;
  border:1px solid rgba(130,255,246,.15);
  box-shadow:0 40px 140px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.06);
  color:#f5ffff;
  animation:hmLegalIn .22s ease both;
}

@keyframes hmLegalIn{
  from{
    opacity:0;
    transform:translateY(18px) scale(.97);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

.hm-legal-close{
  position:absolute;
  top:18px;
  right:18px;
  width:38px;
  height:38px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#f8ffff;
  font-size:20px;
  cursor:pointer;
}

.hm-legal-kicker{
  color:#8ffff7;
  font-size:12px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.hm-legal-modal h2{
  margin:0 42px 18px 0;
  font-size:32px;
  letter-spacing:-.045em;
  line-height:1.08;
}

.hm-legal-body{
  display:grid;
  gap:14px;
}

.hm-legal-body p{
  margin:0;
  color:rgba(220,235,238,.72);
  line-height:1.7;
  font-weight:650;
}

.hm-legal-body strong{
  color:#f7ffff;
}

.hm-legal-body a{
  color:#8ffff7;
  font-weight:900;
  text-decoration:none;
}

.hm-legal-body a:hover{
  text-decoration:underline;
}

.hm-legal-mini-card{
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(120,255,246,.13);
  background:rgba(255,255,255,.045);
}

.hm-legal-mini-card span{
  display:block;
  color:rgba(220,235,238,.55);
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:6px;
}

.hm-legal-mini-card a{
  font-size:18px;
}
/* HM_LEGAL_CARDS_END */


/* HM_TNC_SIGNUP_START */
.hm-tnc-box{
  margin:12px 0 14px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(120,255,246,.12);
  background:rgba(255,255,255,.045);
}

.hm-tnc-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:rgba(224,238,240,.78);
  font-size:13px;
  line-height:1.45;
  font-weight:750;
}

.hm-tnc-check input{
  margin-top:2px;
  accent-color:#62f5ec;
}

.hm-tnc-check button{
  display:inline;
  border:0;
  background:transparent;
  color:#9ffff8;
  font:inherit;
  font-weight:950;
  padding:0;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}

.hm-tnc-modal-overlay{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(0,0,0,.76);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.hm-tnc-modal-overlay.show{
  display:flex;
}

.hm-tnc-modal{
  position:relative;
  width:min(760px, 96vw);
  max-height:84vh;
  overflow:auto;
  border-radius:30px;
  padding:32px;
  background:
    radial-gradient(circle at 88% 8%, rgba(80,245,235,.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    #081014;
  border:1px solid rgba(130,255,246,.15);
  box-shadow:0 40px 140px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.06);
  color:#f5ffff;
}

.hm-tnc-close{
  position:absolute;
  top:18px;
  right:18px;
  width:38px;
  height:38px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:#f8ffff;
  font-size:20px;
  cursor:pointer;
}

.hm-tnc-kicker{
  color:#8ffff7;
  font-size:12px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.hm-tnc-modal h2{
  margin:0 44px 20px 0;
  font-size:32px;
  letter-spacing:-.045em;
  line-height:1.08;
}

.hm-tnc-points{
  display:grid;
  gap:12px;
}

.hm-tnc-points div{
  padding:15px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.hm-tnc-points b{
  display:block;
  color:#f7ffff;
  margin-bottom:6px;
}

.hm-tnc-points p{
  margin:0;
  color:rgba(220,235,238,.70);
  line-height:1.6;
  font-size:14px;
  font-weight:650;
}

.hm-tnc-points a{
  color:#9ffff8;
  font-weight:900;
  text-decoration:none;
}

.hm-tnc-points a:hover{
  text-decoration:underline;
}

.hm-tnc-footer-note{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(220,235,238,.60);
  font-size:13px;
  line-height:1.55;
}
/* HM_TNC_SIGNUP_END */






/* HM_FRONTEND_SECURITY_VALIDATION_START */
/* Do not show scary red borders before user action */
input:invalid,
textarea:invalid,
select:invalid{
  box-shadow:none !important;
}

/* Only browser focus remains clean */
input:focus,
textarea:focus,
select:focus{
  border-color: rgba(120,255,246,.45) !important;
  box-shadow: 0 0 0 3px rgba(120,255,246,.08) !important;
}

/* Optional class for future manual error state only */
.hm-field-error{
  border-color: rgba(255,91,91,.72) !important;
  box-shadow: 0 0 0 3px rgba(255,91,91,.10) !important;
}
/* HM_FRONTEND_SECURITY_VALIDATION_END */
/* HM_FEEDBACK_LAYOUT_REPAIR_START */
/* Repair feedback card after previous flex-row bug */
.hm-feedback-card-polished,
.hm-feedback-action-row-polished{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  gap:18px !important;
}

/* Feedback title stays normal */
.hm-feedback-card-polished h3,
.hm-feedback-card-polished h2,
.hm-feedback-card-polished strong,
.hm-feedback-card-polished b{
  align-self:flex-start !important;
}

/* Subject input should not stretch weirdly */
.hm-feedback-subject-polished{
  width:min(420px, 100%) !important;
  max-width:420px !important;
  height:50px !important;
  border-radius:16px !important;
}

/* Stars stay in one clean row */
.hm-feedback-card-polished .stars,
.hm-feedback-card-polished [class*="star"]{
  align-self:flex-start !important;
}

/* Textarea back to full clean width */
.hm-feedback-textarea-polished{
  width:100% !important;
  min-height:150px !important;
  max-height:230px !important;
  resize:vertical !important;
  border-radius:18px !important;
  display:block !important;
}

/* Counter below textarea, right aligned */
.hm-feedback-counter{
  margin-top:-8px !important;
  margin-bottom:0 !important;
  text-align:right !important;
  font-size:12px !important;
  font-weight:800 !important;
  color:rgba(220,235,238,.55) !important;
}

/* Button bottom-right like before */
.hm-send-feedback-btn-polished{
  align-self:flex-end !important;
  min-width:172px !important;
  height:44px !important;
  border-radius:16px !important;
  font-weight:950 !important;
  margin-top:0 !important;
}

/* Make the card height natural again */
.hm-feedback-card-polished{
  min-height:auto !important;
  padding:24px !important;
  border-radius:26px !important;
}

/* Mobile */
@media (max-width: 820px){
  .hm-send-feedback-btn-polished{
    width:100% !important;
    align-self:stretch !important;
  }
}
/* HM_FEEDBACK_LAYOUT_REPAIR_END */
/* HM_GOALS_TAB_PREMIUM_ONLY_START */
/* Scoped only to Goals tab. No other tab touched. */

#goalsView{
  position:relative;
}

#goalsView::before{
  content:"";
  position:absolute;
  inset:-24px -24px auto auto;
  width:420px;
  height:420px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(25,211,208,.16), transparent 68%);
  filter:blur(18px);
  pointer-events:none;
  z-index:0;
}

#goalsView > *{
  position:relative;
  z-index:1;
}

/* Premium header */
#goalsView .page-head{
  align-items:flex-start !important;
  padding:26px 28px !important;
  margin-bottom:22px !important;
  border-radius:30px !important;
  border:1px solid rgba(120,255,246,.13) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(25,211,208,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)) !important;
  box-shadow:0 24px 80px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045) !important;
}

#goalsView .page-head .eyebrow{
  color:#9efff6 !important;
  letter-spacing:.20em !important;
  text-shadow:0 0 22px rgba(25,211,208,.22);
}

#goalsView .page-head h2{
  margin-top:10px !important;
  background:linear-gradient(135deg,#ffffff 0%,#e9ffff 45%,#8ffbf4 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent !important;
  text-shadow:none !important;
}

#goalsView .page-head .muted{
  max-width:680px !important;
  color:rgba(210,232,236,.72) !important;
}

/* Reminder button premium placement */
#goalsView #toggleGoalReminders{
  min-width:172px !important;
  height:48px !important;
  border-radius:18px !important;
  border:1px solid rgba(120,255,246,.20) !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.18), transparent 35%),
    rgba(255,255,255,.065) !important;
  box-shadow:0 18px 45px rgba(0,0,0,.20) !important;
}

/* Goal form card */
#goalsView #goalForm{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 160px 170px !important;
  gap:12px !important;
  padding:16px !important;
  margin-bottom:18px !important;
  border-radius:30px !important;
  border:1px solid rgba(120,255,246,.13) !important;
  background:
    radial-gradient(circle at 92% 8%, rgba(25,211,208,.16), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.060), rgba(255,255,255,.020)) !important;
  box-shadow:0 22px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.04) !important;
  overflow:hidden !important;
}

#goalsView #goalTitle,
#goalsView #goalType,
#goalsView #goalDate{
  height:52px !important;
  border-radius:18px !important;
}

#goalsView #goalDescription{
  grid-column:1 / -1 !important;
  min-height:102px !important;
  max-height:190px !important;
  border-radius:20px !important;
}

#goalsView #goalForm input,
#goalsView #goalForm select,
#goalsView #goalForm textarea{
  border:1px solid rgba(255,255,255,.105) !important;
  background:linear-gradient(135deg, rgba(255,255,255,.078), rgba(255,255,255,.035)) !important;
  color:#f8ffff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035) !important;
}

#goalsView #goalForm input:focus,
#goalsView #goalForm select:focus,
#goalsView #goalForm textarea:focus{
  outline:none !important;
  border-color:rgba(120,255,246,.48) !important;
  box-shadow:0 0 0 4px rgba(25,211,208,.08), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

#goalsView #goalForm button[type="submit"],
#goalsView #goalForm .primary-btn{
  grid-column:1 / -1 !important;
  height:50px !important;
  max-width:76% !important;
  justify-self:start !important;
  padding:0 28px !important;
  border-radius:20px !important;
  font-weight:950 !important;
  letter-spacing:-.02em !important;
  box-shadow:0 18px 48px rgba(25,211,208,.22) !important;
}

/* Empty state card */
#goalsView #goalList .empty-state{
  position:relative;
  padding:30px 32px !important;
  border-radius:30px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(25,211,208,.11), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.018)) !important;
  box-shadow:0 22px 70px rgba(0,0,0,.22) !important;
  overflow:hidden !important;
}

#goalsView #goalList .empty-state::before{
  content:"🎯";
  position:absolute;
  right:28px;
  top:22px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:linear-gradient(135deg, rgba(255,255,255,.14), rgba(25,211,208,.22));
  border:1px solid rgba(120,255,246,.20);
  box-shadow:0 16px 45px rgba(25,211,208,.10);
}

#goalsView #goalList .empty-state h3{
  margin-top:0 !important;
  font-size:22px !important;
  letter-spacing:-.03em !important;
}

#goalsView #goalList .empty-state p{
  max-width:720px !important;
  color:rgba(225,238,240,.72) !important;
  line-height:1.65 !important;
}

/* Goal cards after goals are added */
#goalsView #goalList{
  display:grid !important;
  gap:14px !important;
}

#goalsView .goal-card{
  padding:24px 26px !important;
  border-radius:28px !important;
  border:1px solid rgba(255,255,255,.105) !important;
  background:
    radial-gradient(circle at 92% 10%, rgba(25,211,208,.10), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.020)) !important;
  box-shadow:0 20px 64px rgba(0,0,0,.22) !important;
}

#goalsView .goal-card .eyebrow{
  color:#9efff6 !important;
}

#goalsView .goal-card h3{
  font-size:22px !important;
  letter-spacing:-.03em !important;
}

#goalsView .goal-card small{
  color:rgba(225,238,240,.58) !important;
}

#goalsView .goal-card button{
  margin-top:14px !important;
}

/* Mobile only for goals */
@media(max-width:900px){
  #goalsView .page-head{
    padding:22px !important;
  }

  #goalsView #goalForm{
    grid-template-columns:1fr !important;
  }

  #goalsView #goalDescription,
  #goalsView #goalForm button[type="submit"],
  #goalsView #goalForm .primary-btn{
    grid-column:auto !important;
    max-width:100% !important;
    width:100% !important;
  }

  #goalsView #toggleGoalReminders{
    width:100% !important;
  }

  #goalsView #goalList .empty-state::before{
    position:static;
    margin-bottom:14px;
  }
}
/* HM_GOALS_TAB_PREMIUM_ONLY_END */


/* HM_TRACKING_VALUES_FIX_START */
.hm-tracked-value-line{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin-top:10px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(120,255,246,.18);
  background:rgba(25,211,208,.075);
  color:rgba(230,255,252,.84);
  font-size:12px;
  font-weight:850;
  line-height:1.25;
}

.hm-track-value-toast{
  position:fixed;
  top:22px;
  right:22px;
  z-index:9999999;
  min-width:220px;
  max-width:390px;
  padding:12px 15px;
  border-radius:17px;
  background:rgba(10,18,22,.96);
  border:1px solid rgba(98,255,190,.28);
  box-shadow:0 18px 60px rgba(0,0,0,.38);
  color:#f8ffff;
  font-weight:950;
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}

.hm-track-value-toast.show{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:700px){
  .hm-track-value-toast{
    left:14px;
    right:14px;
    top:14px;
    min-width:0;
    max-width:none;
  }
}
/* HM_TRACKING_VALUES_FIX_END */


/* HM_WHY_HABITMITRA_PAGE_START */
.hm-why-nav-link{border:0;background:transparent;color:inherit;font:inherit;font-weight:850;cursor:pointer;opacity:.88}.hm-why-nav-link:hover{color:#9efff6;opacity:1}body.hm-why-open{overflow:hidden}.hm-why-page{position:fixed;inset:0;z-index:9999992;display:none;overflow:auto;color:#f8ffff;background:#02070a}.hm-why-page.show{display:block}.hm-why-bg{position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 82% 8%,rgba(17,211,205,.20),transparent 32%),radial-gradient(circle at 10% 18%,rgba(255,255,255,.06),transparent 28%),linear-gradient(135deg,#02070a 0%,#071216 48%,#041012 100%)}.hm-why-shell{position:relative;z-index:1;width:min(1180px,calc(100% - 36px));margin:22px auto 38px}.hm-why-close{position:sticky;top:18px;margin-left:auto;z-index:5;width:44px;height:44px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.075);color:#fff;font-weight:950;cursor:pointer;display:grid;place-items:center}.hm-why-hero,.hm-why-body,.hm-why-final{border-radius:34px;border:1px solid rgba(120,255,246,.16);background:radial-gradient(circle at 86% 0%,rgba(25,211,208,.16),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.070),rgba(255,255,255,.020));box-shadow:0 36px 120px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.045)}.hm-why-hero{display:grid;grid-template-columns:minmax(0,1.1fr) 420px;gap:24px;align-items:stretch;padding:34px}.hm-why-kicker{display:inline-flex;color:#9efff6;font-size:12px;font-weight:950;letter-spacing:.18em;text-transform:uppercase;margin-bottom:12px}.hm-why-hero h1{margin:0;max-width:780px;font-size:clamp(44px,6vw,82px);line-height:.92;letter-spacing:-.075em;background:linear-gradient(135deg,#fff 0%,#eaffff 42%,#8ffbf4 100%);-webkit-background-clip:text;background-clip:text;color:transparent}.hm-why-hero p,.hm-why-final p,.hm-why-panel p{color:rgba(225,238,240,.72);line-height:1.72}.hm-why-hero p{max-width:720px;margin:22px 0 0;font-size:18px}.hm-why-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hm-why-hero-actions button,.hm-why-final button{min-height:48px;border-radius:17px;padding:0 20px;border:1px solid rgba(255,255,255,.12);font-weight:950;cursor:pointer}.hm-why-hero-actions button:first-child,.hm-why-final button{background:linear-gradient(135deg,#fff,#aefdf8,#06c7be);color:#061114;box-shadow:0 18px 45px rgba(25,211,208,.22)}.hm-why-hero-actions button:last-child{background:rgba(255,255,255,.06);color:#f8ffff}.hm-why-demo{border-radius:28px;padding:20px;border:1px solid rgba(255,255,255,.12);background:rgba(4,11,15,.78)}.hm-why-demo-head,.hm-why-demo-row{display:flex;justify-content:space-between;gap:12px}.hm-why-demo-head{margin-bottom:16px;color:rgba(225,238,240,.60)}.hm-why-demo-row{align-items:center;padding:14px;margin-bottom:10px;border-radius:18px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09)}.hm-why-demo-row.done{border-color:rgba(91,255,178,.28)}.hm-why-demo-row.partial{border-color:rgba(255,225,91,.28)}.hm-why-demo-row.missed{border-color:rgba(255,108,150,.34)}.hm-why-demo-note{margin-top:16px;padding:12px;border-radius:16px;color:#ffd0dc;background:rgba(255,108,150,.09);border:1px solid rgba(255,108,150,.18);font-weight:850;font-size:13px}.hm-why-body{margin-top:22px;padding:22px}.hm-why-tabs{display:flex;gap:10px;overflow:auto;padding-bottom:12px}.hm-why-tabs button{flex:0 0 auto;height:42px;border-radius:999px;padding:0 16px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.055);color:rgba(238,250,252,.78);font-weight:900;cursor:pointer}.hm-why-tabs button.active{color:#061114;background:linear-gradient(135deg,#fff,#aefdf8,#06c7be)}.hm-why-panel{display:none;padding-top:14px}.hm-why-panel.active{display:block}.hm-why-two{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.70fr);gap:18px}.hm-why-panel h2{margin:0 0 12px;font-size:clamp(30px,3.4vw,48px);line-height:1.02;letter-spacing:-.055em}.hm-why-card,.hm-why-grid>div,.hm-why-sec{border-radius:24px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045);padding:20px}.hm-why-card>div{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.08)}.hm-why-card>div:last-child{border-bottom:0}.hm-why-card span{color:rgba(225,238,240,.58)}.hm-why-list{display:grid;gap:12px}.hm-why-list div{padding:14px;border-radius:18px;background:rgba(255,255,255,.045);font-weight:900;border-bottom:0}.hm-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hm-why-grid b{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;color:#061114;background:linear-gradient(135deg,#fff,#aefdf8,#06c7be);margin-bottom:14px}.hm-why-grid h3{margin:0 0 8px}.hm-why-sec ul{margin:0;padding-left:20px;color:rgba(225,238,240,.75);line-height:1.8}.hm-why-warning{padding:14px;border-radius:16px;border:1px solid rgba(255,210,100,.18);background:rgba(255,210,100,.06);color:#ffe6a3!important;font-weight:850}.hm-why-final{margin-top:22px;padding:30px}.hm-why-final h2{max-width:880px;margin:0 0 14px;font-size:clamp(34px,4vw,58px);line-height:1;letter-spacing:-.065em}@media(max-width:920px){.hm-why-hero,.hm-why-two{grid-template-columns:1fr}.hm-why-grid{grid-template-columns:1fr 1fr}}@media(max-width:640px){.hm-why-shell{width:min(100% - 22px,1180px);margin:12px auto 24px}.hm-why-hero,.hm-why-body,.hm-why-final{padding:20px;border-radius:26px}.hm-why-grid{grid-template-columns:1fr}.hm-why-hero-actions button{width:100%}}
/* HM_WHY_HABITMITRA_PAGE_END */


/* HM_DAILY_CHECKIN_REMINDER_START */
#todayView .hm-checkin-holder{margin:16px 0 18px}
#todayView .hm-checkin-card{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px;border-radius:26px;border:1px solid rgba(120,255,246,.14);background:radial-gradient(circle at 90% 0%,rgba(25,211,208,.13),transparent 34%),linear-gradient(135deg,rgba(255,255,255,.060),rgba(255,255,255,.020));box-shadow:0 22px 70px rgba(0,0,0,.22)}
#todayView .hm-checkin-main{display:flex;gap:14px;align-items:flex-start;min-width:0}
#todayView .hm-checkin-icon{width:52px;height:52px;display:grid;place-items:center;flex:0 0 auto;border-radius:18px;border:1px solid rgba(120,255,246,.16);background:rgba(255,255,255,.06);font-size:20px;font-weight:950;color:#9efff6}
#todayView .hm-checkin-kicker{color:#9efff6;font-size:11px;font-weight:950;letter-spacing:.16em;text-transform:uppercase;margin-bottom:5px}
#todayView .hm-checkin-card h3{margin:0 0 6px;font-size:20px;letter-spacing:-.03em}
#todayView .hm-checkin-card p{margin:0;max-width:650px;color:rgba(225,238,240,.66);line-height:1.55;font-size:14px}
#todayView .hm-checkin-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
#todayView .hm-checkin-controls select,#todayView .hm-checkin-controls button{height:42px;border-radius:15px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.065);color:#f8ffff;font-weight:900;padding:0 12px}
#todayView #hmCheckinToggle.on{background:linear-gradient(135deg,#fff,#aefdf8,#06c7be);color:#061114;border-color:rgba(120,255,246,.30)}
#todayView .hm-checkin-status{flex-basis:100%;text-align:right;color:rgba(225,238,240,.50);font-size:12px;font-weight:800}
.hm-checkin-toast{position:fixed;top:22px;right:22px;z-index:9999999;min-width:260px;max-width:430px;padding:13px 16px;border-radius:18px;background:rgba(10,18,22,.96);border:1px solid rgba(98,255,190,.28);color:#f8ffff;font-weight:950;box-shadow:0 18px 60px rgba(0,0,0,.38);opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease}
.hm-checkin-toast.show{opacity:1;transform:translateY(0)}
@media(max-width:850px){#todayView .hm-checkin-card{align-items:flex-start;flex-direction:column}#todayView .hm-checkin-controls{width:100%;justify-content:stretch}#todayView .hm-checkin-controls select,#todayView .hm-checkin-controls button{flex:1 1 150px}#todayView .hm-checkin-status{text-align:left}.hm-checkin-toast{left:14px;right:14px;top:14px;min-width:0;max-width:none}}
/* HM_DAILY_CHECKIN_REMINDER_END */


/* HM_GOAL_REMINDER_TODAY_POLISH_START */
#todayView .hm-checkin-card.hm-checkin-card-pro,
#goalsView .hm-goal-reminder-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:22px;
  border-radius:30px;
  border:1px solid rgba(126,255,245,.20);
  background:
    radial-gradient(circle at 90% 8%, rgba(45,226,220,.22), transparent 34%),
    radial-gradient(circle at 10% 120%, rgba(255,255,255,.07), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow:0 26px 90px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
}

#todayView .hm-checkin-card.hm-checkin-card-pro:before,
#goalsView .hm-goal-reminder-card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(126,255,245,.08), transparent);
  transform:translateX(-70%);
  animation:hmReminderShine 5s ease-in-out infinite;
}

@keyframes hmReminderShine{
  0%,55%{transform:translateX(-80%);opacity:0}
  65%{opacity:1}
  100%{transform:translateX(80%);opacity:0}
}

#todayView .hm-checkin-main,
#goalsView .hm-goal-reminder-copy{
  position:relative;
  z-index:1;
  display:flex;
  gap:16px;
  align-items:flex-start;
}

#todayView .hm-checkin-icon,
#goalsView .hm-goal-reminder-icon{
  width:56px;
  height:56px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:20px;
  border:1px solid rgba(126,255,245,.25);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.30), transparent 34%),
    linear-gradient(135deg, rgba(126,255,245,.25), rgba(126,255,245,.08));
  color:#bffff9;
  font-weight:1000;
  font-size:22px;
  box-shadow:0 16px 45px rgba(0,0,0,.24);
}

#todayView .hm-checkin-kicker,
#goalsView .hm-reminder-kicker{
  color:#9efff6;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.19em;
  text-transform:uppercase;
  margin-bottom:6px;
}

#todayView .hm-checkin-card.hm-checkin-card-pro h3,
#goalsView .hm-goal-reminder-card h3{
  margin:0 0 7px;
  color:#fff;
  font-size:23px;
  line-height:1.08;
  letter-spacing:-.045em;
}

#todayView .hm-checkin-card.hm-checkin-card-pro p,
#goalsView .hm-goal-reminder-card p{
  margin:0;
  max-width:700px;
  color:rgba(225,238,240,.68);
  line-height:1.62;
  font-size:14px;
}

#todayView .hm-checkin-controls,
#goalsView .hm-goal-reminder-controls{
  position:relative;
  z-index:1;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}

#todayView .hm-checkin-controls select,
#todayView .hm-checkin-controls button,
#goalsView .hm-goal-reminder-controls select,
#goalsView .hm-goal-reminder-controls button{
  min-height:44px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(4,12,16,.58);
  color:#f8ffff;
  font-weight:950;
  padding:0 14px;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}

#todayView .hm-checkin-controls button,
#goalsView .hm-goal-reminder-controls button{
  cursor:pointer;
  transition:transform .14s ease, border-color .14s ease, background .14s ease;
}

#todayView .hm-checkin-controls button:hover,
#goalsView .hm-goal-reminder-controls button:hover{
  transform:translateY(-1px);
  border-color:rgba(126,255,245,.35);
}

#todayView #hmCheckinToggle.on,
#goalsView #hmGoalReminderToggle.on{
  color:#061114;
  border-color:rgba(126,255,245,.35);
  background:linear-gradient(135deg,#ffffff,#bffffb,#20d6ce);
  box-shadow:0 16px 34px rgba(32,214,206,.20);
}

#todayView .hm-checkin-status,
#goalsView .hm-goal-reminder-status{
  position:relative;
  z-index:1;
  grid-column:1 / -1;
  text-align:right;
  color:rgba(225,238,240,.55);
  font-size:12px;
  font-weight:900;
}

#goalsView .hm-goal-reminder-holder{
  margin:16px 0 22px;
}

.hm-reminder-toast{
  position:fixed;
  top:22px;
  right:22px;
  z-index:9999999;
  min-width:260px;
  max-width:430px;
  padding:13px 16px;
  border-radius:18px;
  background:rgba(10,18,22,.96);
  border:1px solid rgba(98,255,190,.28);
  color:#f8ffff;
  font-weight:950;
  box-shadow:0 18px 60px rgba(0,0,0,.38);
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}

.hm-reminder-toast.show{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:900px){
  #todayView .hm-checkin-card.hm-checkin-card-pro,
  #goalsView .hm-goal-reminder-card{
    grid-template-columns:1fr;
  }

  #todayView .hm-checkin-controls,
  #goalsView .hm-goal-reminder-controls{
    justify-content:stretch;
  }

  #todayView .hm-checkin-controls select,
  #todayView .hm-checkin-controls button,
  #goalsView .hm-goal-reminder-controls select,
  #goalsView .hm-goal-reminder-controls button{
    flex:1 1 150px;
  }

  #todayView .hm-checkin-status,
  #goalsView .hm-goal-reminder-status{
    text-align:left;
  }
}
/* HM_GOAL_REMINDER_TODAY_POLISH_END */



/* HM_HIDE_REMINDER_TEST_BUTTONS_START */
#hmCheckinTest,
#hmGoalReminderTest{
  display:none !important;
}
/* HM_HIDE_REMINDER_TEST_BUTTONS_END */


/* HM_PROFILE_DELETE_SPACING_START */
#profileView .hm-profile-delete-lower{
  margin-top:18px !important;
}
/* HM_PROFILE_DELETE_SPACING_END */
/* HM_MISSED_FUNCTION_REPAIR_START */
#missReasonModal{
  display:none !important;
}

.hm-missed-fixed-toast{
  position:fixed;
  top:22px;
  right:22px;
  z-index:9999999;
  min-width:240px;
  max-width:430px;
  padding:13px 16px;
  border-radius:18px;
  background:rgba(10,18,22,.96);
  border:1px solid rgba(98,255,190,.28);
  color:#f8ffff;
  font-weight:950;
  box-shadow:0 18px 60px rgba(0,0,0,.38);
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}

.hm-missed-fixed-toast.show{
  opacity:1;
  transform:translateY(0);
}

.hm-missed-fixed-toast.error{
  border-color:rgba(255,120,150,.38);
}

.hm-missed-fixed-overlay{
  position:fixed;
  inset:0;
  z-index:9999998;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(0,0,0,.74);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}

.hm-missed-fixed-overlay.show{
  display:flex;
}

.hm-missed-fixed-modal{
  position:relative;
  width:min(560px, 94vw);
  max-height:88vh;
  overflow:auto;
  border-radius:28px;
  padding:26px;
  background:
    radial-gradient(circle at 92% 4%, rgba(255,120,160,.12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
    #081014;
  border:1px solid rgba(255,130,160,.20);
  color:#f8ffff;
  box-shadow:0 36px 120px rgba(0,0,0,.60);
}

.hm-missed-fixed-close{
  position:absolute;
  top:16px;
  right:16px;
  width:36px;
  height:36px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  font-weight:950;
}

.hm-missed-fixed-kicker{
  color:#ffb0c6;
  font-size:12px;
  font-weight:950;
  letter-spacing:.15em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.hm-missed-fixed-modal h3{
  margin:0 42px 8px 0;
  font-size:26px;
  letter-spacing:-.035em;
}

.hm-missed-fixed-sub{
  margin:0 0 14px;
  color:rgba(225,238,240,.66);
  line-height:1.55;
}

.hm-missed-fixed-task{
  display:flex;
  gap:10px;
  align-items:center;
  padding:11px 13px;
  margin-bottom:13px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
}

.hm-missed-fixed-task span{
  color:rgba(225,238,240,.55);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:950;
}

.hm-missed-fixed-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-bottom:13px;
}

.hm-missed-fixed-grid button{
  min-height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  color:#f8ffff;
  font-weight:850;
  cursor:pointer;
  padding:8px 10px;
}

.hm-missed-fixed-grid button.active{
  border-color:rgba(255,130,160,.62);
  background:rgba(255,130,160,.14);
  color:#ffbfd0;
}

.hm-missed-fixed-note{
  width:100%;
  min-height:78px;
  resize:vertical;
  border-radius:16px;
  margin-bottom:12px;
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.055);
  color:#fff;
}

.hm-missed-fixed-comeback{
  padding:10px 12px;
  border-radius:15px;
  border:1px solid rgba(255,130,160,.16);
  background:rgba(255,130,160,.07);
  color:#ffd0dc;
  font-size:13px;
  font-weight:850;
  margin-bottom:14px;
}

.hm-missed-fixed-actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
}

.hm-missed-fixed-actions button{
  min-width:116px;
  height:42px;
  border-radius:14px;
  font-weight:950;
  cursor:pointer;
}

.hm-missed-fixed-save{
  background:linear-gradient(135deg,#fff,#28e2d2,#08bdb7) !important;
  color:#061114 !important;
}

@media(max-width:700px){
  .hm-missed-fixed-toast{
    left:14px;
    right:14px;
    top:14px;
    min-width:0;
    max-width:none;
  }

  .hm-missed-fixed-grid{
    grid-template-columns:1fr;
  }

  .hm-missed-fixed-actions{
    flex-direction:column;
  }

  .hm-missed-fixed-actions button{
    width:100%;
  }
}
/* HM_MISSED_FUNCTION_REPAIR_END */
/* HM_PROFILE_REMINDERS_CARD_START */

/* Hide goal reminder UI from Goals tab. It now lives in Profile. */
#goalsView .hm-goal-reminder-holder,
#goalsView .hm-goal-reminder-card,
#goalsView .hm-hide-goal-reminder-from-goals{
  display:none !important;
}

#profileView .hm-profile-reminders-holder{
  margin:0 0 22px;
}

#profileView .hm-profile-reminders-card{
  padding:22px;
  border-radius:28px;
  border:1px solid rgba(126,255,245,.16);
  background:
    radial-gradient(circle at 92% 0%, rgba(31,216,207,.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.020));
  box-shadow:0 18px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
}

#profileView .hm-profile-reminders-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

#profileView .hm-profile-reminders-head span{
  display:block;
  color:#9efff6;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.18em;
  text-transform:uppercase;
  margin-bottom:6px;
}

#profileView .hm-profile-reminders-head h3{
  margin:0 0 5px;
  color:#fff;
  font-size:24px;
  letter-spacing:-.04em;
}

#profileView .hm-profile-reminders-head p{
  margin:0;
  color:rgba(225,238,240,.62);
  font-size:14px;
  line-height:1.45;
}

#profileView .hm-profile-reminder-row{
  display:grid;
  grid-template-columns:minmax(220px, 1fr) auto minmax(90px, auto);
  gap:14px;
  align-items:center;
  padding:15px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.030);
}

#profileView .hm-profile-reminder-row + .hm-profile-reminder-row{
  margin-top:12px;
}

#profileView .hm-profile-reminder-copy b{
  display:block;
  color:#fff;
  font-size:17px;
  margin-bottom:4px;
  letter-spacing:-.025em;
}

#profileView .hm-profile-reminder-copy small{
  display:block;
  color:rgba(225,238,240,.58);
  line-height:1.35;
}

#profileView .hm-profile-reminder-controls{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  justify-content:flex-end;
  align-items:center;
}

#profileView .hm-profile-reminder-controls select,
#profileView .hm-profile-reminder-controls button{
  height:38px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(4,12,16,.66);
  color:#f8ffff;
  font-weight:900;
  padding:0 12px;
}

#profileView .hm-profile-reminder-controls button{
  cursor:pointer;
}

#profileView .hm-profile-reminder-controls button.on{
  color:#061114;
  background:linear-gradient(135deg,#fff,#bffffb,#20d6ce);
  border-color:rgba(126,255,245,.36);
}

#profileView .hm-profile-reminder-status{
  color:rgba(225,238,240,.52);
  font-size:12px;
  font-weight:850;
  text-align:right;
  white-space:nowrap;
}

.hm-profile-reminder-toast{
  position:fixed;
  top:22px;
  right:22px;
  z-index:9999999;
  min-width:240px;
  max-width:420px;
  padding:13px 16px;
  border-radius:18px;
  background:rgba(10,18,22,.96);
  border:1px solid rgba(98,255,190,.28);
  color:#f8ffff;
  font-weight:950;
  box-shadow:0 18px 60px rgba(0,0,0,.38);
  opacity:0;
  transform:translateY(-8px);
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}

.hm-profile-reminder-toast.show{
  opacity:1;
  transform:translateY(0);
}

@media(max-width:980px){
  #profileView .hm-profile-reminder-row{
    grid-template-columns:1fr;
  }

  #profileView .hm-profile-reminder-controls{
    justify-content:stretch;
  }

  #profileView .hm-profile-reminder-controls select,
  #profileView .hm-profile-reminder-controls button{
    flex:1 1 150px;
  }

  #profileView .hm-profile-reminder-status{
    text-align:left;
  }
}

@media(max-width:620px){
  .hm-profile-reminder-toast{
    left:14px;
    right:14px;
    top:14px;
    max-width:none;
  }
}
/* HM_PROFILE_REMINDERS_CARD_END */



/* HM_PROFILE_REMINDER_BOTTOM_START */
#profileView .hm-profile-reminder-bottom{
  margin-top:24px !important;
  margin-bottom:0 !important;
}
/* HM_PROFILE_REMINDER_BOTTOM_END */


/* HM_PROFILE_FINAL_STRUCTURE_START */

/* Profile-only final layout */
#profileView #profileGrid.profile-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  align-items:stretch;
}

#profileView .hm-profile-card-final,
#profileView .hm-edit-profile-final{
  min-height:520px;
}

#profileView .hm-profile-info-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
}

#profileView .hm-profile-info-grid > div{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.030);
}

#profileView .hm-profile-info-grid span{
  display:block;
  color:rgba(225,238,240,.52);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:5px;
}

#profileView .hm-profile-info-grid strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.25;
}

#profileView .hm-profile-action-box{
  margin-top:18px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
  overflow:hidden;
}

#profileView .hm-profile-action-toggle{
  width:100%;
  min-height:48px;
  padding:0 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
  font-weight:950;
}

#profileView .hm-profile-action-toggle b{
  color:#9efff6;
  font-size:12px;
  font-weight:950;
}

#profileView .hm-profile-password-panel{
  display:none;
  padding:0 14px 14px;
}

#profileView .hm-profile-password-panel.open{
  display:block;
}

#profileView .hm-profile-password-panel input{
  margin-top:10px;
}

#profileView .hm-profile-danger-box{
  margin-top:16px;
  padding:14px;
  border-radius:20px;
  border:1px solid rgba(255,130,160,.18);
  background:rgba(255,100,140,.055);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
}

#profileView .hm-profile-danger-box strong{
  display:block;
  color:#ffb8c8;
  font-size:14px;
  margin-bottom:3px;
}

#profileView .hm-profile-danger-box small{
  display:block;
  color:rgba(255,210,220,.62);
  line-height:1.35;
}

#profileView .hm-profile-danger-box #deleteAccountBtn{
  min-width:150px;
  margin:0 !important;
}

#profileView .hm-profile-reminder-bottom{
  margin-top:24px !important;
  margin-bottom:0 !important;
}

/* Kill old separate profile blocks if any survive until JS cleanup */
#profileView .profile-card:not(.hm-profile-card-final):not(.hm-edit-profile-final):has(#changePasswordForm){
  display:none !important;
}

#profileView .profile-card:not(.hm-profile-card-final):not(.hm-edit-profile-final):has(#deleteAccountBtn){
  display:none !important;
}

@media(max-width:980px){
  #profileView #profileGrid.profile-grid{
    grid-template-columns:1fr;
  }

  #profileView .hm-profile-card-final,
  #profileView .hm-edit-profile-final{
    min-height:auto;
  }

  #profileView .hm-profile-danger-box{
    grid-template-columns:1fr;
  }

  #profileView .hm-profile-danger-box #deleteAccountBtn{
    width:100%;
  }
}

@media(max-width:560px){
  #profileView .hm-profile-info-grid{
    grid-template-columns:1fr;
  }
}
/* HM_PROFILE_FINAL_STRUCTURE_END */


/* HM_PROFILE_SAVE_TOP_RIGHT_START */
#profileView .hm-edit-profile-title-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin-bottom:18px !important;
}

#profileView .hm-edit-profile-title-row h3{
  margin:0 !important;
}

#profileView .hm-save-profile-top-btn{
  width:auto !important;
  min-width:160px !important;
  max-width:220px !important;
  height:42px !important;
  margin:0 !important;
  padding:0 22px !important;
  border-radius:15px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
}

#profileView .hm-edit-profile-final #profileUpdateForm{
  margin-top:0 !important;
}

@media(max-width:640px){
  #profileView .hm-edit-profile-title-row{
    align-items:stretch !important;
    flex-direction:column !important;
  }

  #profileView .hm-save-profile-top-btn{
    width:100% !important;
    max-width:none !important;
  }
}
/* HM_PROFILE_SAVE_TOP_RIGHT_END */


/* HM_PROFILE_PASSWORD_MODAL_POLISH_START */

/* Profile identity card polish */
#profileView .hm-profile-card-polished{
  position:relative;
  overflow:hidden;
  padding:28px !important;
  border-radius:28px !important;
}

#profileView .hm-profile-card-polished:before{
  content:"";
  position:absolute;
  inset:auto -80px -120px auto;
  width:260px;
  height:260px;
  border-radius:999px;
  background:rgba(40,226,210,.10);
  filter:blur(8px);
  pointer-events:none;
}

#profileView .hm-profile-card-polished .avatar-wrap{
  margin-bottom:22px !important;
}

#profileView .hm-profile-card-polished h3{
  font-size:24px !important;
  margin-bottom:14px !important;
  letter-spacing:-.035em !important;
}

#profileView .hm-profile-card-polished .locked-email{
  width:max-content !important;
  max-width:100% !important;
  padding:11px 16px !important;
  border-radius:18px !important;
  background:rgba(126,255,245,.08) !important;
  border:1px solid rgba(126,255,245,.18) !important;
}

#profileView .hm-profile-status-strip{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:10px;
  margin:18px 0 18px;
}

#profileView .hm-profile-status-strip > div{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(126,255,245,.12);
  background:rgba(126,255,245,.045);
}

#profileView .hm-profile-status-strip span,
#profileView .hm-profile-section-title span{
  display:block;
  color:#9efff6;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.16em;
  text-transform:uppercase;
}

#profileView .hm-profile-status-strip b{
  display:block;
  margin-top:5px;
  color:#fff;
  font-size:13px;
}

#profileView .hm-profile-section-title{
  margin:20px 0 10px;
}

#profileView .hm-profile-info-grid{
  width:100% !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:12px !important;
}

#profileView .hm-profile-info-grid > div{
  min-height:74px !important;
  padding:14px !important;
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:radial-gradient(circle at 96% 0%, rgba(126,255,245,.08), transparent 32%), rgba(255,255,255,.030) !important;
}

#profileView .hm-profile-info-grid span{
  color:rgba(225,238,240,.54) !important;
  font-size:10px !important;
  letter-spacing:.13em !important;
}

#profileView .hm-profile-info-grid strong{
  font-size:14px !important;
  color:#fff !important;
}

/* Password panel becomes modal. Edit card will not enlarge anymore. */
#profileView .hm-profile-password-panel{
  display:none !important;
  padding:0 !important;
}

#profileView .hm-profile-password-panel.open{
  position:fixed !important;
  inset:0 !important;
  z-index:9999998 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:22px !important;
  background:rgba(0,0,0,.72) !important;
  backdrop-filter:blur(16px) !important;
  -webkit-backdrop-filter:blur(16px) !important;
}

#profileView .hm-pass-modal-shell{
  width:min(500px, 94vw);
  max-height:88vh;
  overflow:auto;
  padding:22px;
  border-radius:26px;
  border:1px solid rgba(126,255,245,.18);
  background:radial-gradient(circle at 92% 0%, rgba(31,216,207,.14), transparent 34%), linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.030)), #081014;
  box-shadow:0 36px 120px rgba(0,0,0,.60);
}

#profileView .hm-pass-modal-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:14px;
}

#profileView .hm-pass-modal-head span{
  display:block;
  color:#9efff6;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin-bottom:6px;
}

#profileView .hm-pass-modal-head h3{
  margin:0 0 4px !important;
  font-size:24px !important;
  letter-spacing:-.04em !important;
}

#profileView .hm-pass-modal-head p{
  margin:0;
  color:rgba(225,238,240,.62);
  line-height:1.45;
  font-size:13px;
}

#profileView .hm-pass-modal-close{
  width:38px;
  height:38px;
  flex:0 0 auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  color:#fff;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
}

#profileView .hm-pass-modal-shell #changePasswordForm{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
}

#profileView .hm-pass-modal-shell #changePasswordForm input{
  width:100% !important;
  margin:0 !important;
}

#profileView .hm-pass-modal-shell #changePasswordForm button{
  width:100% !important;
  margin-top:4px !important;
}

#profileView .hm-profile-action-box{
  margin-top:18px !important;
}

#profileView .hm-profile-action-toggle{
  min-height:50px !important;
}

@media(max-width:700px){
  #profileView .hm-profile-status-strip{
    grid-template-columns:1fr;
  }

  #profileView .hm-profile-info-grid{
    grid-template-columns:1fr !important;
  }
}
/* HM_PROFILE_PASSWORD_MODAL_POLISH_END */



/* HM_PASSWORD_MODAL_CLEAN_FIX_START */

/* Profile password modal only */
#profileView .hm-profile-password-panel.open{
  align-items:center !important;
  justify-content:center !important;
}

#profileView .hm-pass-modal-shell{
  width:min(520px, 94vw) !important;
  padding:24px !important;
  border-radius:28px !important;
  overflow:visible !important;
}

#profileView .hm-pass-modal-shell #changePasswordForm{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  margin-top:16px !important;
}

/* Force each password row to behave cleanly */
#profileView .hm-pass-modal-shell #changePasswordForm > *{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

/* Clean password inputs */
#profileView .hm-pass-modal-shell #changePasswordForm input{
  width:100% !important;
  height:48px !important;
  margin:0 !important;
  padding:0 54px 0 16px !important;
  border-radius:16px !important;
  box-sizing:border-box !important;
  font-size:15px !important;
  line-height:48px !important;
  border:1px solid rgba(255,255,255,.14) !important;
  background:rgba(255,255,255,.070) !important;
  color:#fff !important;
  outline:none !important;
}

#profileView .hm-pass-modal-shell #changePasswordForm input:focus{
  border-color:rgba(126,255,245,.55) !important;
  box-shadow:0 0 0 3px rgba(126,255,245,.10) !important;
}

/* Fix eye icon buttons inside password rows */
#profileView .hm-pass-modal-shell #changePasswordForm button:not(.secondary-btn):not(.full){
  position:absolute !important;
  right:10px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  min-height:34px !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:13px !important;
  display:grid !important;
  place-items:center !important;
  background:rgba(126,255,245,.08) !important;
  border:1px solid rgba(126,255,245,.16) !important;
}

/* Any wrapper around input should be relative */
#profileView .hm-pass-modal-shell #changePasswordForm label,
#profileView .hm-pass-modal-shell #changePasswordForm .password-field,
#profileView .hm-pass-modal-shell #changePasswordForm .input-wrap,
#profileView .hm-pass-modal-shell #changePasswordForm .field,
#profileView .hm-pass-modal-shell #changePasswordForm div{
  position:relative !important;
  width:100% !important;
  margin:0 !important;
}

/* Update button clean */
#profileView .hm-pass-modal-shell #changePasswordForm .secondary-btn,
#profileView .hm-pass-modal-shell #changePasswordForm button[type="submit"],
#profileView .hm-pass-modal-shell #changePasswordForm button.full{
  position:static !important;
  transform:none !important;
  width:100% !important;
  height:46px !important;
  margin-top:4px !important;
  border-radius:16px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:950 !important;
}

/* Better modal header spacing */
#profileView .hm-pass-modal-head{
  margin-bottom:10px !important;
}

#profileView .hm-pass-modal-head h3{
  font-size:26px !important;
  margin-bottom:6px !important;
}

#profileView .hm-pass-modal-head p{
  max-width:360px !important;
}

/* HM_PASSWORD_MODAL_CLEAN_FIX_END */


/* HM_PROFILE_EQUAL_CARDS_FIX_START */

/* Profile only */

/* Hide last 2 account snapshot boxes: Payment + Data */
#profileView .hm-profile-info-grid > div:nth-last-child(-n+2){
  display:none !important;
}

/* Make profile card and edit profile card feel equal and premium */
#profileView #profileGrid.profile-grid{
  align-items:stretch !important;
}

#profileView .hm-profile-card-final,
#profileView .hm-edit-profile-final{
  height:100% !important;
  min-height:620px !important;
  display:flex !important;
  flex-direction:column !important;
}

/* Let the profile info area fill naturally */
#profileView .hm-profile-card-final .hm-profile-info-grid{
  margin-top:22px !important;
}

/* Keep edit profile balanced */
#profileView .hm-edit-profile-final #profileUpdateForm{
  margin-top:18px !important;
}

/* Push danger zone slightly lower so right card does not look empty */
#profileView .hm-edit-profile-final .hm-profile-danger-box{
  margin-top:22px !important;
}

/* Keep password row clean */
#profileView .hm-edit-profile-final .hm-profile-action-box{
  margin-top:20px !important;
}

/* On smaller screens, avoid forced height */
@media(max-width:980px){
  #profileView .hm-profile-card-final,
  #profileView .hm-edit-profile-final{
    min-height:auto !important;
    height:auto !important;
  }
}

/* HM_PROFILE_EQUAL_CARDS_FIX_END */


/* HM_PROFILE_EDIT_COMPACT_RESET_START */

#profileView .hm-edit-profile-final{
  min-height:auto !important;
  height:auto !important;
  display:block !important;
  padding:28px !important;
}

#profileView .hm-edit-profile-title-row{
  margin-bottom:22px !important;
}

#profileView .hm-edit-profile-final #profileUpdateForm{
  display:flex !important;
  flex-direction:column !important;
  gap:16px !important;
  margin-top:0 !important;
}

#profileView .hm-edit-profile-final #profileUpdateForm label{
  margin:0 !important;
}

#profileView .hm-edit-profile-final #profileUpdateForm input{
  height:52px !important;
  border-radius:17px !important;
}

#profileView .hm-edit-profile-final .hm-profile-action-box{
  margin-top:24px !important;
}

#profileView .hm-edit-profile-final .hm-profile-action-toggle{
  min-height:54px !important;
  padding-left:16px !important;
  padding-right:16px !important;
}

#profileView .hm-edit-profile-final .hm-profile-danger-box{
  margin-top:16px !important;
  min-height:72px !important;
}

#profileView .hm-profile-card-final{
  min-height:auto !important;
}

#profileView #profileGrid.profile-grid{
  align-items:start !important;
}

@media(max-width:980px){
  #profileView .hm-edit-profile-final,
  #profileView .hm-profile-card-final{
    min-height:auto !important;
    height:auto !important;
  }
}

/* HM_PROFILE_EDIT_COMPACT_RESET_END */


/* HM_TODAY_FINAL_ONE_LOCK_START */

/* Today final exact layout */
#todayView .hm-final-one-hide{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  height:0 !important;
  min-height:0 !important;
  max-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  overflow:hidden !important;
}

/* Daily Focus box */
#todayView #hmFinalTodayFocus.hm-final-focus-box{
  width:100% !important;
  max-width:none !important;
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  margin:30px 0 18px !important;
  padding:16px 18px !important;
  border-radius:24px !important;
  border:1px solid rgba(126,255,245,.18) !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(31,216,207,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)) !important;
  box-shadow:0 18px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035) !important;
}

#todayView .hm-final-focus-icon{
  width:44px !important;
  height:44px !important;
  flex:0 0 44px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:16px !important;
  color:#061114 !important;
  font-size:21px !important;
  font-weight:1000 !important;
  background:linear-gradient(135deg,#dffffd,#45e2d7,#20c8c1) !important;
}

#todayView .hm-final-focus-copy span{
  display:block !important;
  color:#9efff6 !important;
  font-size:11px !important;
  font-weight:1000 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  margin-bottom:4px !important;
}

#todayView .hm-final-focus-copy strong{
  display:block !important;
  color:#fff !important;
  font-size:20px !important;
  line-height:1.28 !important;
  letter-spacing:-.03em !important;
}

/* Six summary cards */
#todayView #hmFinalTodaySummary.hm-final-summary-row{
  width:100% !important;
  max-width:none !important;
  display:grid !important;
  grid-template-columns:repeat(6, minmax(0, 1fr)) !important;
  gap:14px !important;
  margin:0 0 22px !important;
}

#todayView .hm-final-summary-card{
  min-height:96px !important;
  padding:16px !important;
  border-radius:22px !important;
  border:1px solid rgba(126,255,245,.16) !important;
  background:
    radial-gradient(circle at 88% 0%, rgba(31,216,207,.12), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.018)) !important;
  box-shadow:0 14px 42px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035) !important;
}

#todayView .hm-final-summary-card span{
  display:block !important;
  color:rgba(225,238,240,.58) !important;
  font-size:11px !important;
  font-weight:950 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
  margin-bottom:7px !important;
}

#todayView .hm-final-summary-card strong{
  display:block !important;
  color:#fff !important;
  font-size:29px !important;
  line-height:1 !important;
  letter-spacing:-.05em !important;
  margin-bottom:5px !important;
}

#todayView .hm-final-summary-card em{
  display:block !important;
  color:rgba(225,238,240,.50) !important;
  font-size:12px !important;
  font-style:normal !important;
  font-weight:750 !important;
}

/* Two-column task layout */
#todayView #todayTasks.hm-final-task-grid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
  margin-top:18px !important;
}

#todayView #todayTasks.hm-final-task-grid > *{
  min-width:0 !important;
}

#todayView .hm-final-task-card{
  position:relative !important;
  overflow:hidden !important;
  min-width:0 !important;
}

/* Reason / Tracked pill */
#todayView .hm-final-task-meta{
  position:absolute !important;
  right:18px !important;
  top:14px !important;
  display:flex !important;
  gap:6px !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  max-width:240px !important;
  z-index:5 !important;
  pointer-events:none !important;
}

#todayView .hm-final-task-meta span{
  max-width:170px !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
  padding:7px 9px !important;
  border-radius:999px !important;
  color:#bffffb !important;
  background:rgba(126,255,245,.075) !important;
  border:1px solid rgba(126,255,245,.18) !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1 !important;
}

/* Toast notification */
#hmFinalTodayToast.hm-final-toast{
  position:fixed !important;
  right:22px !important;
  top:22px !important;
  z-index:9999999 !important;
  min-width:240px !important;
  max-width:360px !important;
  padding:13px 16px !important;
  border-radius:18px !important;
  background:rgba(8,16,20,.96) !important;
  border:1px solid rgba(126,255,245,.18) !important;
  color:#fff !important;
  box-shadow:0 22px 70px rgba(0,0,0,.38) !important;
  opacity:0 !important;
  transform:translateY(-8px) !important;
  pointer-events:none !important;
  transition:opacity .18s ease, transform .18s ease !important;
}

#hmFinalTodayToast.hm-final-toast.show{
  opacity:1 !important;
  transform:translateY(0) !important;
}

#hmFinalTodayToast.hm-final-toast strong{
  display:block !important;
  font-size:14px !important;
  font-weight:1000 !important;
  margin-bottom:3px !important;
}

#hmFinalTodayToast.hm-final-toast span{
  display:block !important;
  color:rgba(225,238,240,.66) !important;
  font-size:12px !important;
}

@media(max-width:1350px){
  #todayView #hmFinalTodaySummary.hm-final-summary-row{
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
  }
}

@media(max-width:1200px){
  #todayView #todayTasks.hm-final-task-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:760px){
  #todayView #hmFinalTodaySummary.hm-final-summary-row{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }

  #todayView .hm-final-task-meta{
    position:static !important;
    justify-content:flex-start !important;
    margin-top:10px !important;
    max-width:100% !important;
  }

  #hmFinalTodayToast.hm-final-toast{
    left:14px !important;
    right:14px !important;
    top:14px !important;
    min-width:0 !important;
    max-width:none !important;
  }
}
/* HM_TODAY_FINAL_ONE_LOCK_END */


/* HM_TODAY_TASK_CARD_ALIGNMENT_FIX_START */

/* Today task cards only */
#todayView #todayTasks.hm-task-grid-final-clean{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
}

#todayView .hm-task-card-final-clean{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto !important;
  align-items:center !important;
  column-gap:22px !important;
  min-height:150px !important;
  overflow:hidden !important;
  padding:24px !important;
}

#todayView .hm-task-main-final{
  min-width:0 !important;
  max-width:100% !important;
}

#todayView .hm-task-main-final *{
  max-width:100% !important;
}

#todayView .hm-task-main-final h3,
#todayView .hm-task-main-final h4,
#todayView .hm-task-main-final strong{
  word-break:normal !important;
  overflow-wrap:normal !important;
}

#todayView .hm-task-actions-final{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  flex-wrap:nowrap !important;
  min-width:max-content !important;
  z-index:3 !important;
}

#todayView .hm-task-actions-final input{
  width:120px !important;
  min-width:120px !important;
  max-width:120px !important;
}

#todayView .hm-task-actions-final button{
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

/* Hide all duplicate old reason/tracked text/pills */
#todayView .hm-hide-bad-meta,
#todayView .hm-task-reason-pill-final,
#todayView .hm-task-meta-pills-min,
#todayView .hm-task-clean-meta-hard,
#todayView .hm-clean-task-meta,
#todayView .hm-exact-task-meta,
#todayView .hm-final-task-meta{
  display:none !important;
}

/* Single clean meta pill */
#todayView .hm-final-clean-meta{
  position:absolute !important;
  right:18px !important;
  top:14px !important;
  display:flex !important;
  gap:6px !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
  max-width:260px !important;
  z-index:4 !important;
  pointer-events:none !important;
}

#todayView .hm-final-clean-meta span{
  max-width:180px !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
  padding:7px 9px !important;
  border-radius:999px !important;
  color:#bffffb !important;
  background:rgba(126,255,245,.075) !important;
  border:1px solid rgba(126,255,245,.18) !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1 !important;
}

@media(max-width:1200px){
  #todayView #todayTasks.hm-task-grid-final-clean{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:760px){
  #todayView .hm-task-card-final-clean{
    grid-template-columns:1fr !important;
    row-gap:18px !important;
  }

  #todayView .hm-task-actions-final{
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
  }

  #todayView .hm-final-clean-meta{
    position:static !important;
    justify-content:flex-start !important;
    margin-top:12px !important;
    max-width:100% !important;
  }
}

/* HM_TODAY_TASK_CARD_ALIGNMENT_FIX_END */

/* HM_TODAY_STABLE_TOP_META_FIX_START */
#todayView #todayTasks.hm-stable-today-grid{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
}

#todayView #todayTasks.hm-stable-today-grid > .hm-stable-task-card{
  position:relative !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1fr) auto !important;
  column-gap:22px !important;
  row-gap:10px !important;
  align-items:center !important;
  min-height:158px !important;
  overflow:visible !important;
  padding:24px !important;
}

#todayView .hm-stable-task-card .hm-task-main-final{
  grid-column:1 !important;
  min-width:0 !important;
  max-width:100% !important;
  padding-right:235px !important;
}

#todayView .hm-stable-task-card .hm-task-actions-final{
  grid-column:2 !important;
  grid-row:1 / span 2 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  flex-wrap:nowrap !important;
  min-width:max-content !important;
  max-width:100% !important;
  z-index:3 !important;
}

#todayView .hm-stable-task-card .hm-task-actions-final > .task-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  flex-wrap:nowrap !important;
  min-width:max-content !important;
}

#todayView .hm-stable-task-card .hm-task-actions-final input,
#todayView .hm-stable-task-card .hm-task-actions-final select,
#todayView .hm-stable-task-card .hm-task-actions-final textarea{
  width:120px !important;
  min-width:120px !important;
  max-width:120px !important;
}

#todayView .hm-stable-task-card .hm-task-actions-final button{
  white-space:nowrap !important;
  flex:0 0 auto !important;
}

#todayView .hm-stable-top-meta{
  position:absolute !important;
  top:14px !important;
  right:18px !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:flex-end !important;
  gap:6px !important;
  flex-wrap:wrap !important;
  max-width:260px !important;
  z-index:25 !important;
  pointer-events:none !important;
}

#todayView .hm-stable-top-meta span{
  display:inline-flex !important;
  align-items:center !important;
  max-width:190px !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
  padding:7px 9px !important;
  border-radius:999px !important;
  font-size:11px !important;
  font-weight:950 !important;
  line-height:1 !important;
  color:#bffffb !important;
  background:rgba(126,255,245,.09) !important;
  border:1px solid rgba(126,255,245,.22) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}

#todayView .hm-stable-top-meta .reason{
  color:#ffd0d8 !important;
  background:rgba(255,107,129,.10) !important;
  border-color:rgba(255,107,129,.24) !important;
}

#todayView .hm-stable-task-card .hm-final-task-meta,
#todayView .hm-stable-task-card .hm-final-clean-meta,
#todayView .hm-stable-task-card .hm-tracked-value-line,
#todayView .hm-stable-task-card .hm-task-reason-pill-final,
#todayView .hm-stable-task-card .hm-task-meta-pills-min,
#todayView .hm-stable-task-card .hm-task-clean-meta-hard,
#todayView .hm-stable-task-card .hm-clean-task-meta,
#todayView .hm-stable-task-card .hm-exact-task-meta,
#todayView .hm-stable-task-card .hm-hide-bad-meta{
  display:none !important;
}

@media(max-width:1350px){
  #todayView .hm-stable-task-card .hm-task-main-final{
    padding-right:0 !important;
    padding-top:30px !important;
  }

  #todayView .hm-stable-top-meta{
    left:24px !important;
    right:24px !important;
    justify-content:flex-start !important;
    max-width:calc(100% - 48px) !important;
  }
}

@media(max-width:1200px){
  #todayView #todayTasks.hm-stable-today-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:760px){
  #todayView #todayTasks.hm-stable-today-grid > .hm-stable-task-card{
    grid-template-columns:1fr !important;
    min-height:0 !important;
  }

  #todayView .hm-stable-task-card .hm-task-main-final{
    grid-column:1 !important;
    padding-top:36px !important;
  }

  #todayView .hm-stable-task-card .hm-task-actions-final{
    grid-column:1 !important;
    grid-row:auto !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
    min-width:0 !important;
  }

  #todayView .hm-stable-task-card .hm-task-actions-final > .task-actions{
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
    min-width:0 !important;
  }

  #todayView .hm-stable-top-meta{
    top:14px !important;
    left:18px !important;
    right:18px !important;
    justify-content:flex-start !important;
    max-width:calc(100% - 36px) !important;
  }
}
/* HM_TODAY_STABLE_TOP_META_FIX_END */




/* HM ROUTINE TAB LAYOUT V5 START */
/* Routine tab only. Today tab untouched. */
#routinesView #routineList{
  display:grid;
  gap:28px;
}

#routinesView #routineList .hm-routine-v5-guide{
  width:100%;
  padding:20px 22px 24px;
  border-radius:26px;
  border:1px solid rgba(25,211,208,.20);
  background:linear-gradient(135deg,rgba(25,211,208,.10),rgba(255,255,255,.032));
  box-shadow:0 20px 58px rgba(0,0,0,.25);
}

#routinesView #routineList .hm-routine-v5-guide-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

#routinesView #routineList .hm-routine-v5-guide-head h3,
#routinesView #routineList .hm-routine-v5-section-head h3,
#routinesView #routineList .hm-routine-v5-empty-state h3{
  margin:4px 0 8px;
  letter-spacing:-.035em;
}

#routinesView #routineList .hm-routine-v5-guide-head p,
#routinesView #routineList .hm-routine-v5-section-head p,
#routinesView #routineList .hm-routine-v5-empty-state p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

#routinesView #routineList .hm-routine-v5-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

#routinesView #routineList .hm-routine-v5-steps div{
  min-height:118px;
  display:grid;
  align-content:start;
  gap:8px;
  padding:15px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(0,0,0,.16);
}

#routinesView #routineList .hm-routine-v5-steps b{
  width:32px;
  height:32px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#ffffff,#70f4ef,#1db9bd);
  color:#061015;
  font-weight:950;
}

#routinesView #routineList .hm-routine-v5-steps span{
  font-weight:950;
}

#routinesView #routineList .hm-routine-v5-steps small{
  color:var(--muted);
  line-height:1.45;
}

#routinesView #routineList .hm-routine-v5-create-wrap{
  display:flex;
  justify-content:center;
  margin-top:18px;
}

#routinesView #routineList .hm-routine-v5-create{
  min-width:220px;
  justify-content:center;
  box-shadow:0 16px 44px rgba(25,211,208,.18);
}

#routinesView #routineList .hm-routine-v5-cards-section{
  display:grid;
  gap:18px;
}

#routinesView #routineList .hm-routine-v5-section-head{
  text-align:left;
}

#routinesView #routineList .hm-routine-v5-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(300px,430px));
  gap:34px clamp(28px,8vw,120px);
  justify-content:center;
  align-items:start;
}

#routinesView #routineList .hm-routine-v5-card{
  min-height:360px !important;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:22px;
  border-radius:26px;
}

#routinesView #routineList .hm-routine-v5-card-title{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

#routinesView #routineList .hm-routine-v5-card-title h3{
  margin:0 0 7px;
  letter-spacing:-.025em;
}

#routinesView #routineList .hm-routine-v5-card-title p{
  margin:0;
  color:var(--muted);
}

#routinesView #routineList .hm-routine-v5-card-title span{
  white-space:nowrap;
  font-size:12px;
  font-weight:900;
  color:#baf7f5;
  border:1px solid rgba(25,211,208,.22);
  background:rgba(25,211,208,.08);
  border-radius:999px;
  padding:7px 10px;
}

#routinesView #routineList .hm-routine-v5-add{
  margin-top:2px;
}

#routinesView #routineList .hm-routine-v5-habit-list{
  display:grid;
  gap:10px;
  flex:1;
  align-content:start;
}

#routinesView #routineList .hm-routine-v5-habit-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035);
}

#routinesView #routineList .hm-routine-v5-habit-row strong{
  display:block;
  overflow-wrap:anywhere;
}

#routinesView #routineList .hm-routine-v5-habit-row small{
  display:block;
  color:var(--muted);
  margin-top:3px;
}

#routinesView #routineList .hm-routine-v5-habit-delete{
  padding-inline:14px;
}

#routinesView #routineList .hm-routine-v5-empty-habits{
  border:1px dashed rgba(255,255,255,.14);
  background:rgba(255,255,255,.025);
  border-radius:16px;
  padding:16px;
  display:grid;
  gap:6px;
}

#routinesView #routineList .hm-routine-v5-empty-habits small{
  color:var(--muted);
  line-height:1.45;
}

#routinesView #routineList .hm-routine-v5-delete-routine{
  margin-top:auto;
}

#routinesView #routineList .hm-routine-v5-empty-state{
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.032);
  text-align:center;
}

#routinesView #routineList .hm-routine-v5-flash{
  animation:hmRoutineV5Flash 1.2s ease-out 1;
}

@keyframes hmRoutineV5Flash{
  0%{box-shadow:0 0 0 0 rgba(25,211,208,.58); transform:translateY(-2px)}
  100%{box-shadow:0 0 0 20px rgba(25,211,208,0); transform:translateY(0)}
}

@media(max-width:980px){
  #routinesView #routineList .hm-routine-v5-card-grid{
    grid-template-columns:minmax(0,1fr);
    justify-content:stretch;
  }

  #routinesView #routineList .hm-routine-v5-card{
    min-height:0 !important;
  }
}

@media(max-width:860px){
  #routinesView #routineList .hm-routine-v5-steps{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:560px){
  #routinesView #routineList .hm-routine-v5-steps,
  #routinesView #routineList .hm-routine-v5-habit-row{
    grid-template-columns:1fr;
  }

  #routinesView #routineList .hm-routine-v5-create{
    width:100%;
  }
}
/* HM ROUTINE TAB LAYOUT V5 END */


/* HM ROUTINE V5 TOP ROW OVERRIDE START */
/* Routine tab only. Today tab untouched. */

#routinesView #routineList{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:30px !important;
  align-items:start !important;
}

/* Steps card must stay full-width at top */
#routinesView #routineList .hm-routine-v5-guide{
  width:100% !important;
  max-width:none !important;
  min-height:0 !important;
  box-sizing:border-box !important;
}

/* Step 1-4 in one single row */
#routinesView #routineList .hm-routine-v5-steps{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
}

/* Less tall, cleaner step cards */
#routinesView #routineList .hm-routine-v5-steps div{
  min-height:105px !important;
  padding:16px !important;
}

/* Create button centered under steps */
#routinesView #routineList .hm-routine-v5-create-wrap{
  display:flex !important;
  justify-content:center !important;
  margin-top:18px !important;
}

#routinesView #routineList .hm-routine-v5-create{
  min-width:240px !important;
}

/* Routine cards section below steps, full width */
#routinesView #routineList .hm-routine-v5-cards-section{
  width:100% !important;
  display:grid !important;
  gap:20px !important;
}

/* Bigger balanced routine cards */
#routinesView #routineList .hm-routine-v5-card-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(390px,540px)) !important;
  gap:38px clamp(34px,7vw,100px) !important;
  justify-content:center !important;
  align-items:start !important;
}

#routinesView #routineList .hm-routine-v5-card{
  width:100% !important;
  min-height:430px !important;
  padding:24px !important;
  border-radius:28px !important;
}

/* Habit rows breathe better inside bigger card */
#routinesView #routineList .hm-routine-v5-habit-row{
  padding:13px 14px !important;
}

/* Tablet */
@media(max-width:1100px){
  #routinesView #routineList .hm-routine-v5-card-grid{
    grid-template-columns:repeat(2,minmax(320px,1fr)) !important;
    gap:24px !important;
  }
}

/* Mobile */
@media(max-width:820px){
  #routinesView #routineList .hm-routine-v5-steps{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  #routinesView #routineList .hm-routine-v5-card-grid{
    grid-template-columns:1fr !important;
  }

  #routinesView #routineList .hm-routine-v5-card{
    min-height:0 !important;
  }
}

@media(max-width:520px){
  #routinesView #routineList .hm-routine-v5-steps{
    grid-template-columns:1fr !important;
  }

  #routinesView #routineList .hm-routine-v5-create{
    width:100% !important;
  }
}

/* HM ROUTINE V5 TOP ROW OVERRIDE END */


/* HM ROUTINE PREMIUM FILL OVERRIDE START */
/* Routine tab only. Fills available space more premium. Today tab untouched. */

#routinesView #routineList{
  width:100% !important;
}

/* Cards section should use full content width */
#routinesView #routineList .hm-routine-v5-cards-section{
  width:100% !important;
  max-width:none !important;
}

/* Make routine cards fill space instead of staying narrow in center */
#routinesView #routineList .hm-routine-v5-card-grid{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:34px !important;
  justify-content:stretch !important;
  align-items:start !important;
}

/* Bigger premium cards */
#routinesView #routineList .hm-routine-v5-card{
  width:100% !important;
  max-width:none !important;
  min-height:470px !important;
  padding:26px !important;
  border-radius:30px !important;
}

/* More premium inner spacing */
#routinesView #routineList .hm-routine-v5-card-top{
  margin-bottom:10px !important;
}

#routinesView #routineList .hm-routine-v5-add{
  min-height:48px !important;
  border-radius:16px !important;
}

#routinesView #routineList .hm-routine-v5-habit-row{
  min-height:58px !important;
  padding:14px 16px !important;
  border-radius:16px !important;
}

#routinesView #routineList .hm-routine-v5-delete-routine{
  min-height:48px !important;
  border-radius:16px !important;
  margin-top:auto !important;
}

/* Empty card should also feel filled, not small */
#routinesView #routineList .hm-routine-v5-empty-habits{
  min-height:120px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

/* Large screens: keep two premium columns */
@media(min-width:1300px){
  #routinesView #routineList .hm-routine-v5-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:42px !important;
  }

  #routinesView #routineList .hm-routine-v5-card{
    min-height:500px !important;
  }
}

/* Medium screens */
@media(max-width:980px){
  #routinesView #routineList .hm-routine-v5-card-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  #routinesView #routineList .hm-routine-v5-card{
    min-height:0 !important;
  }
}

/* HM ROUTINE PREMIUM FILL OVERRIDE END */


/* HM ROUTINE STEPS SECTION SMALL FIX START */
/* Routine tab only. Today tab untouched. */

#routinesView #routineList .hm-routine-v5-guide{
  width:100% !important;
}

#routinesView #routineList .hm-routine-v5-steps-three{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
}

#routinesView #routineList .hm-routine-v5-steps-three div{
  min-height:120px !important;
}

#routinesView #routineList .hm-routine-v5-action-row{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  margin-top:18px !important;
}

#routinesView #routineList .hm-routine-v5-action-row .hm-routine-v5-create,
#routinesView #routineList .hm-routine-v5-action-row .hm-routine-v5-import{
  min-width:220px !important;
  min-height:44px !important;
  border-radius:16px !important;
}

#routinesView #routineList .hm-routine-v5-action-row .hm-routine-v5-import{
  font-weight:900 !important;
}

@media(max-width:900px){
  #routinesView #routineList .hm-routine-v5-steps-three{
    grid-template-columns:1fr !important;
  }

  #routinesView #routineList .hm-routine-v5-action-row .hm-routine-v5-create,
  #routinesView #routineList .hm-routine-v5-action-row .hm-routine-v5-import{
    width:100% !important;
  }
}

/* HM ROUTINE STEPS SECTION SMALL FIX END */


/* HM ROUTINE PREMIUM COPY FIX START */
/* Routine section only. Today tab untouched. */

#routinesView #routineList .hm-routine-premium-guide{
  padding:28px 30px !important;
}

#routinesView #routineList .hm-routine-premium-head{
  display:block !important;
  max-width:760px !important;
}

#routinesView #routineList .hm-routine-premium-head .eyebrow{
  margin-bottom:10px !important;
}

#routinesView #routineList .hm-routine-premium-head h3{
  margin:0 0 10px !important;
  font-size:clamp(24px,2.2vw,34px) !important;
  line-height:1.08 !important;
  letter-spacing:-.045em !important;
}

#routinesView #routineList .hm-routine-premium-head p{
  margin:0 !important;
  max-width:720px !important;
  font-size:16px !important;
  line-height:1.7 !important;
  color:var(--muted) !important;
}

#routinesView #routineList .hm-routine-premium-steps{
  margin-top:24px !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
}

#routinesView #routineList .hm-routine-premium-steps div{
  min-height:132px !important;
  padding:18px !important;
  border-radius:20px !important;
}

#routinesView #routineList .hm-routine-premium-steps span{
  font-size:17px !important;
  letter-spacing:-.02em !important;
}

#routinesView #routineList .hm-routine-premium-steps small{
  font-size:14px !important;
  line-height:1.55 !important;
}

#routinesView #routineList .hm-routine-premium-actions{
  margin-top:22px !important;
  justify-content:center !important;
  gap:14px !important;
}

#routinesView #routineList .hm-routine-premium-actions button{
  min-width:230px !important;
}

@media(max-width:900px){
  #routinesView #routineList .hm-routine-premium-steps{
    grid-template-columns:1fr !important;
  }

  #routinesView #routineList .hm-routine-premium-actions button{
    width:100% !important;
  }
}

/* HM ROUTINE PREMIUM COPY FIX END */




/* HM CALENDAR TODAY SYNC FIX START */
/* Calendar tab only */
#calendarView #dayDetail .hm-calendar-note-line{
  display:block;
  margin-top:10px;
  color:#baf7f5;
  font-weight:700;
  line-height:1.45;
}

#calendarView #dayDetail [data-note-input]{
  min-width:180px;
}
/* HM CALENDAR TODAY SYNC FIX END */

/* HM_REAL_FEEDBACK_FRONTEND_START */
.hm-admin-feedback-strip{
  margin: 12px 0 16px !important;
  width: 100% !important;
}

.hm-admin-feedback-main-btn{
  width: 100% !important;
  min-height: 52px !important;
  border: 1px solid rgba(104,245,236,.28) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 12% 50%, rgba(104,245,236,.18), transparent 34%),
    linear-gradient(135deg, rgba(11,26,31,.96), rgba(8,18,24,.92)) !important;
  color: var(--text) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 12px 16px !important;
  box-shadow: 0 16px 46px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.035) !important;
  cursor: pointer !important;
  transition: .18s ease !important;
}

.hm-admin-feedback-main-btn:hover{
  transform: translateY(-2px) !important;
  border-color: rgba(125,255,247,.52) !important;
}

.hm-admin-feedback-left{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  gap:3px !important;
}

.hm-admin-feedback-left b{
  font-size:.98rem !important;
  font-weight:950 !important;
  letter-spacing:.03em !important;
  text-transform:uppercase !important;
}

.hm-admin-feedback-left small{
  color:var(--muted) !important;
  font-size:.78rem !important;
  font-weight:800 !important;
}

.hm-admin-feedback-pill{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:72px !important;
  height:32px !important;
  padding:0 12px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(104,245,236,.9)) !important;
  color:#061015 !important;
  font-weight:950 !important;
  font-size:.78rem !important;
}

.hm-feedback-page-design{
  display:block !important;
  width:100% !important;
  min-height:calc(100vh - 80px) !important;
  padding-bottom:40px !important;
}

.hm-feedback-page-head{
  display:flex !important;
  justify-content:space-between !important;
  align-items:flex-start !important;
  gap:18px !important;
  padding:24px !important;
  margin-bottom:18px !important;
  border-radius:24px !important;
  border:1px solid rgba(104,245,236,.18) !important;
  background:linear-gradient(135deg, rgba(16,27,32,.94), rgba(6,18,22,.92)) !important;
  box-shadow:0 18px 54px rgba(0,0,0,.26) !important;
}

.hm-feedback-page-head h2{
  margin:6px 0 6px !important;
  font-size:clamp(2rem,4vw,3.2rem) !important;
  letter-spacing:-.07em !important;
}

.hm-feedback-page-actions{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  justify-content:flex-end !important;
}

.hm-feedback-filter-wrap{
  margin:0 0 22px !important;
  padding:14px !important;
  border-radius:22px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.035) !important;
}

.hm-feedback-filter-wrap input{
  width:100% !important;
  height:54px !important;
  border-radius:16px !important;
  text-align:center !important;
  font-weight:850 !important;
  background:rgba(255,255,255,.075) !important;
  border:1px solid rgba(255,255,255,.14) !important;
}

.hm-feedback-grid-head{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:14px !important;
  margin:8px 2px 18px !important;
  color:var(--muted) !important;
  font-weight:850 !important;
}

.hm-feedback-design-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
}

.hm-feedback-design-card{
  min-height:360px !important;
  border-radius:28px !important;
  padding:18px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  background:
    radial-gradient(circle at 85% 0%, rgba(104,245,236,.16), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.032)) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 18px 54px rgba(0,0,0,.28) !important;
}

.hm-feedback-design-card.posted{
  border-color:rgba(66,211,146,.36) !important;
}

.hm-feedback-card-top{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

.hm-feedback-avatar{
  width:42px !important;
  height:42px !important;
  border-radius:999px !important;
  display:grid !important;
  place-items:center !important;
  background:linear-gradient(135deg,#f5ffff,#60f1ea) !important;
  color:#061015 !important;
  font-weight:950 !important;
  flex:0 0 auto !important;
}

.hm-feedback-card-top strong{
  display:block !important;
  font-weight:950 !important;
  color:#f7ffff !important;
}

.hm-feedback-card-top small,
.hm-feedback-card-meta small{
  color:var(--muted) !important;
  font-size:.76rem !important;
  font-weight:800 !important;
}

.hm-feedback-rating-row,
.hm-feedback-card-meta{
  display:flex !important;
  justify-content:space-between !important;
  gap:10px !important;
  align-items:center !important;
}

.hm-feedback-rating-row span{
  color:#f6c343 !important;
  letter-spacing:.06em !important;
  font-size:.9rem !important;
}

.hm-feedback-rating-row b{
  color:var(--muted) !important;
  font-size:.72rem !important;
}

.hm-feedback-design-card h3{
  margin:0 !important;
  color:#f7ffff !important;
  font-size:1.1rem !important;
  letter-spacing:-.035em !important;
}

.hm-feedback-design-card p{
  margin:0 !important;
  color:rgba(226,241,243,.78) !important;
  line-height:1.55 !important;
  font-size:.92rem !important;
  flex:1 !important;
}

.hm-real-feedback-actions{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
  margin-top:auto !important;
}

.hm-public-feedback-showcase{
  margin-top:30px !important;
  padding:8px 0 4px !important;
}

.hm-public-feedback-line{
  width:min(900px,92%) !important;
  margin:0 auto 28px !important;
  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;
  gap:14px !important;
  color:#b9fffb !important;
  text-align:center !important;
}

.hm-public-feedback-line span{
  height:1px !important;
  background:linear-gradient(90deg, transparent, rgba(104,245,236,.48), transparent) !important;
}

.hm-public-feedback-line strong{
  padding:10px 18px !important;
  border-radius:999px !important;
  border:1px solid rgba(104,245,236,.22) !important;
  background:rgba(104,245,236,.07) !important;
  box-shadow:0 16px 46px rgba(0,0,0,.18) !important;
  font-size:.86rem !important;
  font-weight:950 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}

.hm-public-feedback-row{
  display:grid !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(170px, 210px) !important;
  gap:14px !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  padding:10px 2px 20px !important;
  scroll-snap-type:x mandatory !important;
}

.hm-public-feedback-card{
  min-height:250px !important;
  border:1px solid rgba(255,255,255,.11) !important;
  border-radius:26px !important;
  padding:16px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:10px !important;
  background:
    radial-gradient(circle at 85% 0%, rgba(104,245,236,.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.026)) !important;
  color:var(--text) !important;
  box-shadow:0 16px 44px rgba(0,0,0,.24) !important;
  transition:.18s ease !important;
  scroll-snap-align:start !important;
  text-align:left !important;
}

.hm-public-feedback-card:hover{
  transform:translateY(-6px) scale(1.025) !important;
  border-color:rgba(104,245,236,.38) !important;
  box-shadow:0 28px 70px rgba(0,0,0,.38) !important;
  z-index:3 !important;
}

.hm-public-feedback-top{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

.hm-public-feedback-avatar{
  width:38px !important;
  height:38px !important;
  border-radius:999px !important;
  display:grid !important;
  place-items:center !important;
  background:linear-gradient(135deg,#f7ffff,#6ff5ee) !important;
  color:#061015 !important;
  font-weight:950 !important;
  flex:0 0 auto !important;
}

.hm-public-feedback-avatar.big{
  width:62px !important;
  height:62px !important;
  font-size:1.1rem !important;
}

.hm-public-feedback-top strong{
  display:block !important;
  color:#f7ffff !important;
  font-weight:950 !important;
  font-size:.94rem !important;
}

.hm-public-feedback-top small{
  color:var(--muted) !important;
  font-weight:800 !important;
  font-size:.72rem !important;
}

.hm-public-feedback-stars{
  color:#f6c343 !important;
  letter-spacing:.05em !important;
  font-weight:950 !important;
}

.hm-public-feedback-card h3{
  margin:0 !important;
  font-size:1rem !important;
  letter-spacing:-.035em !important;
}

.hm-public-feedback-card p{
  margin:0 !important;
  color:rgba(226,241,243,.78) !important;
  font-size:.86rem !important;
  line-height:1.5 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:4 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
  flex:1 !important;
}

.hm-public-feedback-read{
  margin-top:auto !important;
  color:#9ffff8 !important;
  font-size:.75rem !important;
  font-weight:950 !important;
}

.hm-public-feedback-note,
.hm-public-feedback-empty{
  text-align:center !important;
  color:rgba(220,235,238,.62) !important;
}

.hm-public-feedback-empty{
  padding:26px !important;
  border-radius:22px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:rgba(255,255,255,.035) !important;
}

.hm-public-feedback-modal-card{
  max-width:560px !important;
}

.hm-public-feedback-modal-head{
  display:flex !important;
  gap:14px !important;
  align-items:center !important;
  margin-bottom:16px !important;
}

.hm-public-feedback-modal-head h2{
  margin:5px 0 !important;
  font-size:1.8rem !important;
  letter-spacing:-.055em !important;
}

.hm-public-feedback-modal-message{
  margin:18px 0 22px !important;
  color:rgba(235,250,250,.86) !important;
  font-size:1.05rem !important;
  line-height:1.7 !important;
}

.modal-stars{
  font-size:1.15rem !important;
}

@media(max-width:900px){
  .hm-feedback-page-head{
    flex-direction:column !important;
  }
  .hm-real-feedback-actions{
    grid-template-columns:1fr !important;
  }
  .hm-feedback-design-grid{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:700px){
  .hm-public-feedback-line{
    grid-template-columns:1fr !important;
  }
  .hm-public-feedback-line span{
    display:none !important;
  }
  .hm-public-feedback-row{
    grid-auto-columns:minmax(78vw, 82vw) !important;
  }
}
/* HM_REAL_FEEDBACK_FRONTEND_END */

/* HM_FEEDBACK_NOTIFY_BADGE_START */
#hmAdminFeedbackMainBtn{
  position:relative !important;
  overflow:visible !important;
}

.hm-feedback-notify-badge{
  position:absolute !important;
  top:-10px !important;
  right:-10px !important;
  min-width:28px !important;
  height:28px !important;
  padding:0 7px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(135deg,#ff2d55,#ff004c) !important;
  color:white !important;
  border:2px solid rgba(5,8,11,.95) !important;
  box-shadow:0 10px 26px rgba(255,0,76,.36) !important;
  font-size:.72rem !important;
  font-weight:950 !important;
  line-height:1 !important;
  z-index:20 !important;
}

.hm-feedback-notify-badge.hidden{
  display:none !important;
}
/* HM_FEEDBACK_NOTIFY_BADGE_END */

/* HM_PROFILE_LOGOUT_INSIDE_START */

/* Remove old sidebar logout from side tab only */
#logoutBtn{
  display:none !important;
}

/* New Profile logout row */
#profileView .hm-profile-logout-box{
  margin-top:16px !important;
  padding:14px !important;
  border-radius:20px !important;
  border:1px solid rgba(104,245,236,.18) !important;
  background:
    radial-gradient(circle at 90% 20%, rgba(104,245,236,.10), transparent 38%),
    rgba(255,255,255,.035) !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  gap:12px !important;
  align-items:center !important;
}

#profileView .hm-profile-logout-box strong{
  display:block !important;
  color:#dffffc !important;
  font-size:14px !important;
  margin-bottom:3px !important;
  font-weight:950 !important;
}

#profileView .hm-profile-logout-box small{
  display:block !important;
  color:rgba(220,240,242,.62) !important;
  line-height:1.35 !important;
  font-weight:750 !important;
}

#profileView #hmProfileLogoutBtn{
  min-width:150px !important;
  height:46px !important;
  border-radius:16px !important;
  font-weight:950 !important;
  background:linear-gradient(135deg, rgba(255,255,255,.10), rgba(104,245,236,.10)) !important;
  border:1px solid rgba(104,245,236,.24) !important;
  color:#eaffff !important;
}

/* Make danger zone cleaner under logout */
#profileView .hm-profile-danger-box{
  margin-top:14px !important;
  padding:14px !important;
  border-radius:20px !important;
}

#profileView .hm-profile-danger-box #deleteAccountBtn{
  height:46px !important;
  border-radius:16px !important;
  font-weight:950 !important;
}

@media(max-width:560px){
  #profileView .hm-profile-logout-box{
    grid-template-columns:1fr !important;
  }

  #profileView #hmProfileLogoutBtn{
    width:100% !important;
  }
}
/* HM_PROFILE_LOGOUT_INSIDE_END */

/* HM_PROFILE_GOOGLE_PASSWORD_UI_START */
#profileView .hm-google-password-note{
  margin-bottom:4px !important;
  padding:12px 14px !important;
  border-radius:16px !important;
  border:1px solid rgba(104,245,236,.20) !important;
  background:rgba(104,245,236,.075) !important;
  color:#dffffc !important;
}

#profileView .hm-google-password-note strong{
  display:block !important;
  font-size:.84rem !important;
  font-weight:950 !important;
  margin-bottom:4px !important;
}

#profileView .hm-google-password-note span{
  display:block !important;
  color:rgba(225,244,246,.68) !important;
  font-size:.78rem !important;
  line-height:1.45 !important;
  font-weight:750 !important;
}

#profileView #changePasswordForm.hm-profile-create-password-mode{
  gap:12px !important;
}
/* HM_PROFILE_GOOGLE_PASSWORD_UI_END */

/* HM_ADMIN_BUTTON_IN_PROFILE_START */

/* Hide old Admin Panel button from sidebar. Access now lives inside Profile for admins/founders only. */
.sidebar .nav-item[data-view="founder"]{
  display:none !important;
}

#profileView .hm-profile-admin-strip{
  margin: -6px 0 18px !important;
  width: 100% !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(104,245,236,.24) !important;
  background:
    radial-gradient(circle at 82% 20%, rgba(104,245,236,.16), transparent 34%),
    linear-gradient(135deg, rgba(8,24,29,.94), rgba(8,14,20,.88)) !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  gap: 16px !important;
  align-items: center !important;
  box-shadow: 0 18px 54px rgba(0,0,0,.24) !important;
}

#profileView .hm-profile-admin-strip strong{
  display:block !important;
  color:#f4ffff !important;
  font-weight:950 !important;
  font-size:1rem !important;
  margin: 3px 0 4px !important;
}

#profileView .hm-profile-admin-strip small{
  display:block !important;
  color:rgba(220,240,242,.64) !important;
  font-weight:750 !important;
  line-height:1.4 !important;
}

#profileView #hmProfileAdminPanelBtn{
  min-width: 180px !important;
  height: 46px !important;
  border-radius: 15px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

@media(max-width:700px){
  #profileView .hm-profile-admin-strip{
    grid-template-columns:1fr !important;
  }

  #profileView #hmProfileAdminPanelBtn{
    width:100% !important;
  }
}

/* HM_ADMIN_BUTTON_IN_PROFILE_END */

/* HM_ADMIN_STATIC_BACK_START */
#founderView .hm-founder-head-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  flex-wrap:wrap !important;
}

#founderView .hm-founder-back-btn,
#founderView #founderRefreshBtn{
  min-width:92px !important;
  height:44px !important;
  border-radius:15px !important;
  font-weight:950 !important;
}

#founderView .hm-founder-back-btn{
  background:rgba(255,255,255,.065) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#eaffff !important;
}

#founderView .hm-founder-back-btn:hover{
  border-color:rgba(104,245,236,.36) !important;
  background:rgba(104,245,236,.10) !important;
}

@media(max-width:650px){
  #founderView .hm-founder-head-actions{
    width:100% !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
  }
}
/* HM_ADMIN_STATIC_BACK_END */


/* HM_SIDEBAR_PREMIUM_CSS_START */
.hm-premium-nav-item {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
}

.hm-premium-nav-icon {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 19px;
  color: rgba(232, 236, 255, 0.72);
}

.hm-premium-nav-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hm-premium-nav-label {
  letter-spacing: -0.01em;
}

.hm-premium-nav-item:hover .hm-premium-nav-icon {
  color: rgba(255, 255, 255, 0.92);
}

.hm-premium-nav-item.active .hm-premium-nav-icon,
.hm-premium-nav-item.is-active .hm-premium-nav-icon,
.hm-premium-nav-item[aria-current="page"] .hm-premium-nav-icon,
.hm-premium-nav-item[data-active="true"] .hm-premium-nav-icon {
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(120, 130, 255, 0.38));
}
/* HM_SIDEBAR_PREMIUM_CSS_END */


/* ================================
   HM_SINGLE_LINE_TASK_TEXT_FIX_START
   Keeps routine card text in single lines
   ================================ */

.task-card .task-copy{
  min-width: 0;
}

.task-card .task-copy .eyebrow,
.task-card .task-copy h3,
.task-card .task-copy > p:not(.eyebrow){
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.task-card .task-copy .eyebrow{
  letter-spacing: 0.14em;
}

.task-card .task-copy h3{
  max-width: 100%;
}

.task-card .task-copy > p:not(.eyebrow){
  max-width: 100%;
}

/* ================================
   HM_SINGLE_LINE_TASK_TEXT_FIX_END
   ================================ */


/* =========================================
   HM_TODAY_CARDS_SINGLELINE_REALFIX_START
   Fixes 100% zoom truncation in Today cards
   Only touches habit cards inside #todayTasks
   ========================================= */

#todayTasks.task-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

#todayTasks .task-card{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  gap:16px;
  min-height:160px;
  padding:24px 26px;
  overflow:hidden;
}

#todayTasks .task-copy{
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}

#todayTasks .task-copy .eyebrow,
#todayTasks .task-copy h3,
#todayTasks .task-copy > p{
  margin:0;
  max-width:100%;
  min-width:0;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}

#todayTasks .task-copy .eyebrow{
  letter-spacing:0.14em;
  line-height:1.15;
}

#todayTasks .task-copy h3{
  line-height:1.18;
}

#todayTasks .task-copy > p{
  line-height:1.25;
}

#todayTasks .task-copy > small{
  display:inline-flex;
  align-self:flex-start;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-top:2px;
}

#todayTasks .task-actions{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-top:auto;
}

#todayTasks .task-actions .mini-input{
  flex:0 0 auto;
  min-width:96px;
  max-width:120px;
}

#todayTasks .task-actions .small-btn{
  flex:0 0 auto;
  min-width:0;
  padding:10px 16px;
}

@media (max-width: 980px){
  #todayTasks.task-grid{
    grid-template-columns:1fr;
  }
}

/* =========================================
   HM_TODAY_CARDS_SINGLELINE_REALFIX_END
   ========================================= */


/* ================================
   HM_TODAY_TEXT_SIMPLE_FIX_START
   Small fix: show full Today card text
   ================================ */

#todayTasks .task-card{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:center !important;
  gap:14px !important;
}

#todayTasks .task-copy{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
}

#todayTasks .task-copy .eyebrow,
#todayTasks .task-copy h3,
#todayTasks .task-copy p,
#todayTasks .task-copy small{
  max-width:none !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:clip !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
}

#todayTasks .task-actions{
  width:100% !important;
  display:flex !important;
  justify-content:flex-start !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:10px !important;
}

#todayTasks .task-actions .mini-input{
  width:110px !important;
}

/* ================================
   HM_TODAY_TEXT_SIMPLE_FIX_END
   ================================ */


/* ======================================
   HM_TODAY_PAGE_COMPACT_SCALE_START
   Makes only Today/Daily Hub page feel like 90% zoom.
   No JS, no logic, no other tabs.
   ====================================== */

#todayView{
  zoom: .90;
}

/* Firefox fallback only */
@supports not (zoom: 1){
  #todayView{
    transform: scale(.90);
    transform-origin: top left;
    width: 111.12%;
  }
}

/* Keep mobile normal */
@media (max-width: 900px){
  #todayView{
    zoom: 1;
    transform: none;
    width: auto;
  }
}

/* ====================================
   HM_TODAY_PAGE_COMPACT_SCALE_END
   ==================================== */


/* =========================================
   HM_TODAY_NOTE_INPUT_BELOW_BUTTONS_START
   Small fix only: put Note/Minutes input below 4 buttons
   ========================================= */

#todayView #todayTasks .task-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}

/* Buttons stay first row */
#todayView #todayTasks .task-actions .small-btn{
  order:1 !important;
}

/* Note / Minutes / Value input goes below buttons */
#todayView #todayTasks .task-actions .mini-input{
  order:2 !important;
  flex:0 0 100% !important;
  width:170px !important;
  max-width:170px !important;
  margin-top:8px !important;
  margin-left:auto !important;
}

/* Give text area a little more breathing space */
#todayView #todayTasks .task-copy{
  min-width:220px !important;
}

/* Stop letter-by-letter breaking on note/timer cards */
#todayView #todayTasks .task-copy h3,
#todayView #todayTasks .task-copy p,
#todayView #todayTasks .task-copy .eyebrow{
  word-break:normal !important;
  overflow-wrap:break-word !important;
}

/* =======================================
   HM_TODAY_NOTE_INPUT_BELOW_BUTTONS_END
   ======================================= */


/* =========================================
   HM_MOBILE_NAV_TARGETS_REMOVE_FLOAT_MENU_START
   Mobile only: remove Targets/Goals from bottom nav + floating hamburger
   ========================================= */

@media (max-width: 900px){

  /* fallback: even if Goals exists somewhere, hide only in bottom nav */
  .bottom-nav button[data-view="goals"]{
    display:none !important;
  }

  /* after removing Goals, bottom nav becomes 4 clean tabs */
  .bottom-nav{
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  }

  /* keep hamburger visible while scrolling */
  #mobileMenuBtn{
    position:fixed !important;
    top:14px !important;
    left:14px !important;
    z-index:95 !important;
    width:46px !important;
    height:46px !important;
    min-width:46px !important;
    padding:0 !important;
    display:grid !important;
    place-items:center !important;
    border-radius:14px !important;
    background:rgba(18,27,35,.92) !important;
    border:1px solid rgba(255,255,255,.14) !important;
    color:#f7f8fb !important;
    backdrop-filter:blur(18px) !important;
    -webkit-backdrop-filter:blur(18px) !important;
    box-shadow:0 12px 34px rgba(0,0,0,.38) !important;
  }

  /* prevent title from hiding behind floating menu */
  .mobile-app-bar{
    padding-left:58px !important;
    min-height:50px !important;
    position:relative !important;
    z-index:60 !important;
  }
}

/* =======================================
   HM_MOBILE_NAV_TARGETS_REMOVE_FLOAT_MENU_END
   ======================================= */


/* =========================================
   HM_BOTTOM_NAV_ONLY_4_TABS_START
   Only bottom nav styling. Nothing else.
   ========================================= */

@media (max-width: 900px){
  .bottom-nav{
    display:grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:8px !important;
    padding:8px 12px !important;
    height:68px !important;
    border-radius:20px !important;
  }

  .bottom-nav button{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    padding:0 !important;
    min-width:0 !important;
    background:transparent !important;
    border:0 !important;
    color:rgba(235,242,252,.72) !important;
  }

  .bottom-nav button b{
    width:21px !important;
    height:21px !important;
    display:block !important;
    border:2px solid currentColor !important;
    border-radius:6px !important;
  }

  .bottom-nav button span{
    display:block !important;
    font-size:10.5px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
    color:currentColor !important;
  }

  .bottom-nav button.active,
  .bottom-nav button:hover{
    color:#19d3d0 !important;
  }
}

/* =======================================
   HM_BOTTOM_NAV_ONLY_4_TABS_END
   ======================================= */


/* HM_ZIP_ONBOARDING_CARDS_CSS_START */
.hm-zip-onboarding-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.hm-zip-onboarding-card{
  width:min(560px,100%);
  padding:28px;
  border-radius:28px;
  background:radial-gradient(circle at 92% 8%, rgba(25,211,208,.16), transparent 34%),linear-gradient(145deg, rgba(17,24,31,.98), rgba(5,8,11,.96));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 28px 90px rgba(0,0,0,.58);
}
.hm-zip-progress{height:8px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.09);margin-bottom:22px;}
.hm-zip-progress span{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg, var(--silver), var(--teal));transition:width .22s ease;}
.hm-zip-title{margin:10px 0;font-size:clamp(1.6rem,4vw,2.35rem);line-height:1.05;letter-spacing:-.055em;}
.hm-zip-sub{margin:0 0 20px;color:var(--muted);line-height:1.65;}
.hm-zip-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 22px;}
.hm-zip-option{min-height:48px;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:var(--text);font-weight:900;text-align:left;}
.hm-zip-option:hover,.hm-zip-option.active{color:#061015;border-color:rgba(25,211,208,.45);background:linear-gradient(135deg,#dce0e0,#ffffff 18%,#76f7f1 70%,#1db9bd);}
.hm-zip-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.hm-zip-actions button{min-width:112px;}
.hm-zip-actions button:disabled{opacity:.45;cursor:not-allowed;}
.hm-zip-note{margin:18px 0 0;color:var(--muted2);font-size:.86rem;line-height:1.5;}
@media(max-width:560px){.hm-zip-onboarding-card{padding:22px;border-radius:24px}.hm-zip-options{grid-template-columns:1fr}.hm-zip-actions{display:grid;grid-template-columns:1fr 1fr}.hm-zip-actions .primary-btn{grid-column:1 / -1}}
/* HM_ZIP_ONBOARDING_CARDS_CSS_END */







/* HM_REMOVE_ONBOARDING_SKIP_ONLY_CSS_START */
#hmAfterSignupCards [data-hm-after-skip],
#hmAfterSignupCards button[data-hm-after-skip]{
  display:none !important;
}
/* HM_REMOVE_ONBOARDING_SKIP_ONLY_CSS_END */

/* HM Google button white patch fix */
#googleSignInButton,
.google-signin-wrap,
.google-auth-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

#googleSignInButton > div {
  overflow: hidden !important;
  border-radius: 999px !important;
  background: transparent !important;
}

#googleSignInButton iframe {
  border-radius: 999px !important;
  overflow: hidden !important;
}
