:root{
    --primary:#6D3FD1;--primary-dark:#2D1B69;--soft-purple:#F2ECFF;--pink:#FFEAF4;--blue:#EAF6FF;--green:#E9FBEF;--warning:#FFF6DB;--danger:#FFECEC;--text:#1F2937;--muted:#6B7280;--border:#E5E7EB;--bg:#FAFAFF;--white:#fff;
    --shadow:0 22px 55px rgba(45,27,105,.10);--shadow-soft:0 14px 35px rgba(31,41,55,.08);--radius:22px;
}
*{letter-spacing:0}body{background:var(--bg);color:var(--text);font-family:Inter,Poppins,Nunito,system-ui,-apple-system,Segoe UI,sans-serif;overflow-x:hidden}.text-muted{color:var(--muted)!important}.premium-shell{min-height:100vh;background:linear-gradient(135deg,#fafaff 0%,#fff7fb 48%,#f3fbff 100%)}
.card,.modal-content,.premium-card{border:1px solid rgba(229,231,235,.78);border-radius:var(--radius);box-shadow:var(--shadow-soft);background:rgba(255,255,255,.92);backdrop-filter:blur(12px)}.card-hover{transition:.25s ease}.card-hover:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.btn{border-radius:999px;font-weight:700;padding:.68rem 1.1rem}.btn-primary,.btn-gradient{border:0;background:linear-gradient(135deg,#6D3FD1,#B35CE6 56%,#FF8FBD);box-shadow:0 12px 24px rgba(109,63,209,.24);color:#fff}.btn-primary:hover,.btn-gradient:hover{filter:brightness(.98);transform:translateY(-1px);color:#fff}.btn-outline-primary{border-color:rgba(109,63,209,.35);color:var(--primary);background:#fff}.btn-outline-primary:hover{background:var(--soft-purple);color:var(--primary-dark);border-color:var(--primary)}.btn-success{background:#49B889;border-color:#49B889}.badge{border-radius:999px;padding:.45rem .75rem}.badge-soft{background:var(--green);color:#17734E}.badge-warn{background:var(--warning);color:#946312}.badge-danger-soft{background:var(--danger);color:#B4232D}.badge-purple{background:var(--soft-purple);color:var(--primary-dark)}.badge-blue{background:var(--blue);color:#0B6394}.badge-pink{background:var(--pink);color:#A63E69}
.form-control,.form-select{border:1px solid var(--border);border-radius:16px;padding:.78rem 1rem}.form-control:focus,.form-select:focus{border-color:#9D7CF0;box-shadow:0 0 0 .22rem rgba(109,63,209,.12)}.table{--bs-table-bg:transparent}.table thead th{color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border)}.table td{border-color:#F0F1F7}
.main-grid{display:grid;grid-template-columns:292px minmax(0,1fr)}.sidebar{position:sticky;top:0;min-height:100vh;border-right:1px solid rgba(229,231,235,.75);background:linear-gradient(180deg,#fff 0%,#fbf8ff 100%);padding:1.15rem}.brand-mark{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),#FF8FBD);color:#fff;box-shadow:0 13px 25px rgba(109,63,209,.26)}.brand-title{line-height:1.05}.sidebar .nav-link{display:flex;align-items:center;gap:.72rem;color:#4B5563;border-radius:16px;padding:.82rem .9rem;font-weight:700}.sidebar .nav-link i{width:22px;color:var(--primary)}.sidebar .nav-link.active,.sidebar .nav-link:hover{background:linear-gradient(135deg,var(--soft-purple),#fff);color:var(--primary-dark);box-shadow:inset 0 0 0 1px rgba(109,63,209,.08)}.sidebar-help{background:linear-gradient(135deg,var(--primary-dark),var(--primary));color:#fff;border-radius:22px;padding:1rem;margin-top:1.2rem;overflow:hidden;position:relative}.sidebar-help:after{content:"";position:absolute;right:-24px;bottom:-34px;width:120px;height:120px;border-radius:38px;background:rgba(255,255,255,.12);transform:rotate(28deg)}
.content-wrap{min-height:100vh}.topbar{background:rgba(255,255,255,.82);backdrop-filter:blur(16px);border-bottom:1px solid rgba(229,231,235,.72);position:sticky;top:0;z-index:20}.topbar h1{font-weight:800;color:var(--primary-dark)}.page-pad{padding:1.4rem}.profile-chip{display:flex;align-items:center;gap:.7rem;background:#fff;border:1px solid var(--border);border-radius:999px;padding:.42rem .55rem .42rem .45rem}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--soft-purple);color:var(--primary);font-weight:800}
.stat-card{position:relative;overflow:hidden;min-height:132px}.stat-card:after{content:"";position:absolute;right:-30px;top:-26px;width:115px;height:115px;border-radius:34px;background:linear-gradient(135deg,rgba(109,63,209,.12),rgba(255,143,189,.16));transform:rotate(18deg)}.stat-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:var(--soft-purple);color:var(--primary);font-size:1.25rem}.stat-value{font-size:2.1rem;font-weight:850;color:var(--primary-dark)}.chart-card canvas{max-height:300px}.module-cover{height:150px;background:linear-gradient(135deg,var(--blue),var(--pink));border-radius:18px;position:relative;overflow:hidden}.module-cover:before{content:"";position:absolute;inset:18px;border-radius:18px;background:rgba(255,255,255,.36)}
.landing-page{background:linear-gradient(180deg,#fff 0%,var(--bg) 42%,#fff 100%)}.landing-nav{position:fixed;top:18px;left:50%;transform:translateX(-50%);width:min(1160px,calc(100% - 28px));z-index:50;border:1px solid rgba(255,255,255,.62);background:rgba(255,255,255,.62);backdrop-filter:blur(18px);box-shadow:0 18px 45px rgba(45,27,105,.10);border-radius:24px;padding:.55rem .75rem}.landing-nav .nav-link{font-weight:700;color:#4B5563}.landing-nav .nav-link:hover{color:var(--primary)}.landing-logo{display:flex;align-items:center;gap:.75rem;font-weight:850;color:var(--primary-dark);text-decoration:none}.hero-premium{position:relative;min-height:760px;padding:130px 0 80px;overflow:hidden;background:radial-gradient(circle at 18% 20%,rgba(255,234,244,.96),transparent 35%),radial-gradient(circle at 88% 16%,rgba(234,246,255,.95),transparent 32%),linear-gradient(135deg,#fff 0%,#F2ECFF 45%,#FFEAF4 100%)}.hero-premium:before{content:"";position:absolute;inset:auto -14% -32% -10%;height:360px;background:linear-gradient(90deg,rgba(109,63,209,.10),rgba(255,143,189,.13),rgba(73,184,137,.11));border-radius:52px;transform:rotate(-4deg)}.hero-badge{display:inline-flex;align-items:center;gap:.55rem;background:rgba(255,255,255,.78);border:1px solid rgba(109,63,209,.12);color:var(--primary-dark);border-radius:999px;padding:.55rem .85rem;font-weight:800;box-shadow:var(--shadow-soft)}.hero-title{font-size:clamp(2.35rem,5vw,4.65rem);line-height:1.02;font-weight:900;color:var(--primary-dark);max-width:760px}.hero-title span{background:linear-gradient(135deg,var(--primary),#DB62AE);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-copy{font-size:1.12rem;line-height:1.75;color:#4B5563;max-width:650px}.hero-stat{border-left:3px solid rgba(109,63,209,.28);padding-left:1rem}.hero-stat b{font-size:1.3rem;color:var(--primary-dark)}.hero-visual{position:relative;min-height:500px}.mother-card{position:relative;z-index:2;border-radius:36px;padding:1.1rem;background:rgba(255,255,255,.74);box-shadow:var(--shadow);border:1px solid rgba(255,255,255,.8)}.mother-card img{width:100%;height:440px;object-fit:cover;border-radius:28px;object-position:center}.floating-card{position:absolute;z-index:3;background:rgba(255,255,255,.9);border:1px solid rgba(229,231,235,.75);box-shadow:var(--shadow);border-radius:20px;padding:.85rem 1rem;display:flex;gap:.75rem;align-items:center}.floating-card i{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:var(--soft-purple);color:var(--primary)}.float-one{left:-18px;top:58px}.float-two{right:-16px;top:205px}.float-three{left:30px;bottom:38px}.section-pad{padding:88px 0}.section-kicker{display:inline-flex;align-items:center;gap:.45rem;border-radius:999px;background:var(--soft-purple);color:var(--primary);font-weight:850;padding:.52rem .85rem}.section-title{font-size:clamp(2rem,3vw,3.1rem);line-height:1.08;font-weight:900;color:var(--primary-dark)}.feature-card{height:100%;padding:1.35rem}.feature-icon{width:56px;height:56px;border-radius:19px;display:grid;place-items:center;font-size:1.35rem;background:var(--soft-purple);color:var(--primary)}.step-card{position:relative;padding:1.15rem}.step-number{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),#FF8FBD);color:#fff;font-weight:900}.score-pill{border-radius:20px;padding:1rem;border:1px solid var(--border);background:#fff}.dashboard-preview{background:linear-gradient(135deg,var(--primary-dark),#5133B8);color:#fff;border-radius:30px;padding:1.35rem;box-shadow:var(--shadow);overflow:hidden}.preview-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:1rem}.chat-bubble{border-radius:22px;padding:1rem;max-width:82%;box-shadow:var(--shadow-soft)}.chat-bubble.left{background:#fff}.chat-bubble.right{background:var(--soft-purple);margin-left:auto}.footer-premium{background:#1D123F;color:rgba(255,255,255,.78);padding:54px 0 28px}.footer-premium a{color:rgba(255,255,255,.82);text-decoration:none}.footer-premium a:hover{color:#fff}
@media(max-width:991px){.main-grid{grid-template-columns:1fr}.sidebar{position:relative;min-height:auto}.sidebar .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem}.sidebar-help{display:none}.page-pad{padding:1rem}.landing-nav{top:10px;border-radius:18px}.hero-premium{padding-top:112px;min-height:auto}.hero-visual{min-height:auto;margin-top:2rem}.mother-card img{height:350px}.floating-card{position:relative;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;margin:.75rem 0}.section-pad{padding:62px 0}}
@media(max-width:575px){.sidebar .nav{grid-template-columns:1fr}.topbar{position:relative}.profile-chip .small{display:none}.mother-card img{height:280px}.hero-title{font-size:2.25rem}.hero-premium{padding-top:100px}.landing-nav .btn{padding:.5rem .75rem}.feature-card{padding:1rem}}

/* Icon system inspired by the supplied dashboard mockup */
.feature-icon,.stat-icon,.sidebar-icon,.alert-icon,.mini-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;box-shadow:0 12px 24px rgba(45,27,105,.08);position:relative}.feature-icon{width:56px;height:56px;border-radius:18px;font-size:26px;margin-bottom:16px}.stat-icon{width:46px;height:46px;border-radius:16px;font-size:21px}.sidebar-icon{width:34px!important;height:34px;border-radius:12px;font-size:17px}.alert-icon{width:48px;height:48px;border-radius:16px;font-size:24px}.mini-icon{width:30px;height:30px;border-radius:11px;font-size:15px}.feature-icon:after,.stat-icon:after,.alert-icon:after{content:"";position:absolute;inset:6px;border-radius:inherit;background:rgba(255,255,255,.35);pointer-events:none}.feature-icon i,.stat-icon i,.alert-icon i,.sidebar-icon i,.mini-icon i{position:relative;z-index:1}.feature-icon.purple,.stat-icon.purple,.sidebar-icon.purple,.mini-icon.purple{background:#F2ECFF;color:#6D3FD1}.feature-icon.green,.stat-icon.green,.sidebar-icon.green,.mini-icon.green{background:#E9FBEF;color:#16A34A}.feature-icon.pink,.stat-icon.pink,.sidebar-icon.pink,.mini-icon.pink{background:#FFEAF4;color:#E84A8A}.feature-icon.blue,.stat-icon.blue,.sidebar-icon.blue,.mini-icon.blue{background:#EAF6FF;color:#2563EB}.feature-icon.orange,.stat-icon.orange,.sidebar-icon.orange,.mini-icon.orange{background:#FFF3E0;color:#F59E0B}.feature-icon.red,.stat-icon.red,.sidebar-icon.red,.mini-icon.red{background:#FFECEC;color:#DC2626}.feature-icon.teal,.stat-icon.teal,.sidebar-icon.teal,.mini-icon.teal{background:#E6FFFA;color:#0F9F8E}.feature-icon.slate,.stat-icon.slate,.sidebar-icon.slate,.mini-icon.slate{background:#EEF2FF;color:#475569}.sidebar .nav-link i{width:auto;color:inherit}.sidebar .nav-link .sidebar-icon{margin-left:-.2rem}.sidebar .nav-link.active .sidebar-icon,.sidebar .nav-link:hover .sidebar-icon{background:#fff;color:var(--primary);box-shadow:0 10px 18px rgba(109,63,209,.12)}.icon-badge{display:inline-flex;align-items:center;gap:.35rem}.icon-badge i{font-size:.92em}.status-normal{background:#E9FBEF;color:#15803D}.status-medium{background:#FFF6DB;color:#B7791F}.status-high{background:#FFECEC;color:#DC2626}.status-waiting{background:#FFF3E0;color:#C76A00}.status-replied{background:#E9FBEF;color:#15803D}.status-done{background:#EAF6FF;color:#2563EB}.feature-card{border-color:rgba(109,63,209,.10)}.feature-card:hover .feature-icon{transform:translateY(-2px) scale(1.03)}.illustration-frame{border-radius:32px;padding:1.1rem;background:linear-gradient(135deg,rgba(255,255,255,.84),rgba(242,236,255,.84));border:1px solid rgba(255,255,255,.92);box-shadow:var(--shadow)}.illustration-frame img{width:100%;height:auto;display:block}.module-cover{display:flex;align-items:center;justify-content:center}.module-cover .feature-icon{margin:0}.score-pill{display:flex;align-items:center;gap:.85rem}.score-pill .mini-icon{box-shadow:none}.preview-card .mini-icon{background:rgba(255,255,255,.18);color:#fff;box-shadow:none}.chat-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#EAF6FF;color:#2563EB;font-size:22px}.floating-card .feature-icon{width:42px;height:42px;border-radius:14px;font-size:19px;margin:0;box-shadow:none}.brand-mark img{width:24px;height:24px}.empty-illustration{max-width:220px;margin:auto;display:block;opacity:.95}

/* Premium authentication pages */
.auth-page{min-height:100vh;position:relative;overflow:hidden;background:radial-gradient(circle at 82% 12%,rgba(255,234,244,.95),transparent 28%),radial-gradient(circle at 10% 88%,rgba(234,246,255,.95),transparent 30%),linear-gradient(135deg,#FAFAFF 0%,#fff 44%,#F2ECFF 100%);padding:34px 0}.auth-page:before,.auth-page:after{content:"";position:absolute;border-radius:999px;filter:blur(5px);pointer-events:none}.auth-page:before{width:260px;height:260px;right:-70px;top:90px;background:rgba(232,74,138,.12)}.auth-page:after{width:330px;height:330px;left:-130px;bottom:-130px;background:rgba(109,63,209,.12)}.auth-grid{position:relative;z-index:1;min-height:calc(100vh - 68px);display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.75fr);align-items:center;gap:52px}.auth-brand-panel{padding:28px}.auth-brand-logo{display:inline-flex;align-items:center;gap:.85rem;background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.86);box-shadow:var(--shadow-soft);padding:.68rem .9rem;border-radius:22px;color:var(--primary-dark);font-weight:900;text-decoration:none}.auth-title{font-size:clamp(2.25rem,4.3vw,4.25rem);line-height:1.03;font-weight:900;color:var(--primary-dark);max-width:640px}.auth-title span{background:linear-gradient(135deg,var(--primary),#E84A8A);-webkit-background-clip:text;background-clip:text;color:transparent}.auth-copy{font-size:1.08rem;line-height:1.75;color:#4B5563;max-width:620px}.auth-illustration{max-width:560px;margin-top:28px}.auth-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:640px}.auth-mini-card{background:rgba(255,255,255,.78);border:1px solid rgba(229,231,235,.8);box-shadow:var(--shadow-soft);border-radius:22px;padding:14px;transition:.25s ease}.auth-mini-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.auth-card{width:min(100%,460px);justify-self:end;border-radius:28px;padding:38px 38px 32px;background:rgba(255,255,255,.9);border:1px solid #EEEAFB;box-shadow:0 28px 70px rgba(45,27,105,.14);backdrop-filter:blur(18px);animation:authFadeUp .55s ease both}.auth-card-logo{width:58px;height:58px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),#E84A8A);color:#fff;font-size:28px;box-shadow:0 16px 30px rgba(109,63,209,.25)}.auth-form-group{margin-bottom:18px}.auth-label{display:flex;align-items:center;gap:.45rem;font-weight:800;color:var(--primary-dark);margin-bottom:8px}.auth-input-wrap{position:relative}.auth-input-wrap .form-control{height:54px;border-radius:16px;padding-left:48px;padding-right:48px;background:#fff}.auth-input-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--primary);font-size:19px;z-index:2}.auth-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#8B95A1;width:38px;height:38px;border-radius:12px;display:grid;place-items:center}.auth-toggle:hover{background:var(--soft-purple);color:var(--primary)}.auth-submit{height:54px;border-radius:17px}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.84rem;font-weight:700}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--border);flex:1}.demo-box{border:1px solid rgba(109,63,209,.12);background:linear-gradient(135deg,#fff,#F8F5FF);border-radius:18px;padding:14px}.demo-row{display:flex;justify-content:space-between;gap:12px;font-size:.86rem;border-bottom:1px dashed #E5E7EB;padding:6px 0}.demo-row:last-child{border-bottom:0}.floating-auth-card{animation:floatSoft 5s ease-in-out infinite}.auth-back{display:inline-flex;align-items:center;gap:.45rem;text-decoration:none;color:var(--primary);font-weight:800}.auth-back:hover{color:var(--primary-dark)}@keyframes authFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes floatSoft{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@media(max-width:991px){.auth-grid{grid-template-columns:1fr;gap:24px}.auth-brand-panel{text-align:center;padding:16px}.auth-copy,.auth-title{margin-left:auto;margin-right:auto}.auth-illustration{max-width:360px;margin-left:auto;margin-right:auto}.auth-mini-grid{max-width:560px;margin-left:auto;margin-right:auto}.auth-card{justify-self:center;padding:30px 24px}}@media(max-width:575px){.auth-page{padding:16px 0}.auth-grid{min-height:calc(100vh - 32px)}.auth-mini-grid{grid-template-columns:1fr}.auth-brand-panel{padding:6px}.auth-card{border-radius:24px}.auth-illustration{display:none}.auth-title{font-size:2.15rem}}

/* Viewport-locked auth refinement: no page scroll on login */
.auth-page{height:100dvh;min-height:100dvh;overflow:hidden;padding:clamp(10px,2vh,22px) 0}.auth-grid{height:calc(100dvh - clamp(20px,4vh,44px));min-height:0}.auth-login .auth-grid{grid-template-columns:minmax(0,1fr) minmax(390px,460px);gap:clamp(22px,4vw,46px)}.auth-login .auth-brand-panel{padding:clamp(8px,1.6vw,20px)}.auth-login .auth-title{font-size:clamp(2.1rem,4.2vw,3.8rem);margin-bottom:clamp(12px,2vh,22px)!important}.auth-login .auth-copy{font-size:clamp(.95rem,1.2vw,1.05rem);line-height:1.65;margin-bottom:clamp(12px,2vh,22px)!important}.auth-login .auth-brand-logo{margin-bottom:clamp(12px,2vh,24px)!important}.auth-login .hero-badge{margin-bottom:clamp(12px,2vh,24px)!important}.auth-login .auth-mini-grid{gap:12px;margin-bottom:0!important}.auth-login .auth-mini-card{padding:12px 14px;border-radius:20px}.auth-login .auth-mini-card .mini-icon{margin-bottom:7px!important}.auth-login .auth-illustration{max-width:min(520px,48vh);margin-top:clamp(12px,2vh,22px)}.auth-login .auth-card{padding:clamp(24px,3.2vh,34px);width:min(100%,460px);max-height:calc(100dvh - clamp(28px,5vh,56px));overflow:hidden}.auth-login .auth-card-logo{width:54px;height:54px;border-radius:18px;font-size:25px}.auth-login .auth-form-group{margin-bottom:clamp(12px,1.6vh,16px)}.auth-login .auth-input-wrap .form-control{height:50px}.auth-login .auth-submit{height:52px}.auth-login .auth-divider{margin-top:clamp(14px,2vh,22px)!important;margin-bottom:clamp(12px,1.8vh,20px)!important}.auth-login .demo-box{padding:10px 14px;margin-bottom:clamp(12px,1.8vh,20px)!important}.auth-login .demo-row{padding:4px 0;font-size:.82rem}.auth-login p.text-center{margin-bottom:10px!important}.auth-register{overflow:auto}.auth-register .auth-grid{height:auto;min-height:calc(100dvh - clamp(20px,4vh,44px))}
@media(max-height:860px) and (min-width:992px){.auth-login .auth-illustration{display:none}.auth-login .auth-mini-grid{max-width:620px}.auth-login .auth-title{font-size:clamp(2.25rem,4vw,3.55rem)}.auth-login .auth-brand-panel{align-self:center}.auth-login .auth-card{padding:24px 30px}.auth-login .demo-row{font-size:.8rem}.auth-login .auth-card .text-muted.mb-4{margin-bottom:14px!important}}
@media(max-height:720px) and (min-width:992px){.auth-login .auth-mini-grid{grid-template-columns:repeat(3,1fr)}.auth-login .auth-mini-card small{display:none}.auth-login .demo-box{display:none}.auth-login .auth-divider{display:none}.auth-login .auth-card{padding:22px 28px}.auth-login .auth-card-logo{width:48px;height:48px}.auth-login .auth-title{font-size:3rem}.auth-login .auth-copy{max-width:560px}.auth-login .auth-brand-logo,.auth-login .hero-badge{margin-bottom:12px!important}}
@media(max-width:991px){.auth-page{height:auto;min-height:100dvh;overflow:auto}.auth-login{height:100dvh;overflow:hidden}.auth-login .auth-grid{height:calc(100dvh - 20px);display:flex;flex-direction:column;justify-content:center;gap:12px}.auth-login .auth-brand-panel{padding:0}.auth-login .auth-brand-logo{margin-bottom:10px!important}.auth-login .hero-badge,.auth-login .auth-copy,.auth-login .auth-illustration{display:none}.auth-login .auth-title{font-size:clamp(1.65rem,7vw,2.35rem);margin-bottom:10px!important}.auth-login .auth-mini-grid{grid-template-columns:repeat(3,1fr);gap:8px}.auth-login .auth-mini-card{padding:9px;border-radius:16px}.auth-login .auth-mini-card b{font-size:.78rem}.auth-login .auth-mini-card small{display:none}.auth-login .auth-card{width:min(100%,460px);max-height:none;padding:22px}.auth-login .auth-card-logo{width:48px;height:48px}.auth-login .demo-box{display:none}.auth-login .auth-divider{display:none}}
@media(max-width:575px){.auth-login .auth-mini-grid{display:none}.auth-login .auth-title{font-size:1.75rem}.auth-login .auth-card{padding:20px 16px;border-radius:22px}.auth-login .auth-card .d-flex.align-items-center.justify-content-between{margin-bottom:14px!important}.auth-login .auth-form-group{margin-bottom:12px}.auth-login .auth-input-wrap .form-control{height:48px}.auth-login .auth-submit{height:50px}.auth-login p.text-center{font-size:.9rem}.auth-login .auth-back{font-size:.9rem}}
@media(max-height:640px) and (max-width:991px){.auth-login .auth-brand-panel{display:none}.auth-login .auth-grid{justify-content:center}.auth-login .auth-card{padding:18px 16px}.auth-login .auth-card-logo{display:none}.auth-login .auth-card h2{font-size:1.35rem}.auth-login .auth-card p.text-muted{margin-bottom:12px!important}.auth-login .auth-form-group{margin-bottom:10px}.auth-login .auth-input-wrap .form-control{height:44px}.auth-login .auth-submit{height:46px}.auth-login .d-flex.justify-content-between.align-items-center.mb-3{margin-bottom:10px!important}}

/* Real brand logo integration */
.brand-mark.logo-mark{background:#fff;color:inherit;overflow:hidden;border:1px solid rgba(109,63,209,.10);box-shadow:0 14px 30px rgba(45,27,105,.12)}.brand-mark.logo-mark img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit;transform:scale(1.18)}.brand-mark.logo-mark.logo-sm{width:44px;height:44px;border-radius:16px}.brand-mark.logo-mark.logo-md{width:58px;height:58px;border-radius:20px}.brand-mark.logo-mark.logo-lg{width:74px;height:74px;border-radius:24px}.landing-logo .brand-mark.logo-mark{width:48px;height:48px}.auth-brand-logo .brand-mark.logo-mark{width:50px;height:50px}.auth-card-logo.logo-mark{background:#fff;padding:0;overflow:hidden;border:1px solid rgba(109,63,209,.12)}.auth-card-logo.logo-mark img{width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.18)}.footer-premium .brand-mark.logo-mark{box-shadow:none}.brand-wordmark{display:flex;flex-direction:column;line-height:1.05}.brand-wordmark small{font-size:.72rem;color:#6B628E;font-weight:800;margin-top:.22rem}.footer-premium .brand-wordmark small{color:rgba(255,255,255,.72)}@media(max-width:575px){.landing-logo .brand-wordmark small,.auth-brand-logo .brand-wordmark small{display:none}.landing-logo .brand-mark.logo-mark{width:42px;height:42px}.auth-brand-logo .brand-mark.logo-mark{width:44px;height:44px}}

/* User supplied mother-baby brand illustration */
.mother-card img[src$="mother-baby-brand.png"],.auth-illustration[src$="mother-baby-brand.png"]{object-fit:contain;object-position:center;background:#fff;border-radius:28px}.mother-card img[src$="mother-baby-brand.png"]{max-height:440px;width:100%;height:440px;padding:10px}.auth-illustration[src$="mother-baby-brand.png"]{max-height:min(520px,48vh);width:100%;object-fit:contain}.hero-visual .illustration-frame{background:linear-gradient(135deg,#fff,#fff7fb);padding:.8rem}@media(max-width:991px){.mother-card img[src$="mother-baby-brand.png"]{height:350px}}@media(max-width:575px){.mother-card img[src$="mother-baby-brand.png"]{height:280px;padding:6px}}

/* Global responsive hardening across landing, auth, and dashboards */
html{max-width:100%;overflow-x:hidden}body{min-width:320px}img,svg,canvas,video{max-width:100%}.container,.container-fluid{min-width:0}.row>*{min-width:0}.premium-card,.card{min-width:0}.landing-logo,.auth-brand-logo{min-width:0;max-width:100%}.brand-wordmark{min-width:0}.brand-wordmark span{overflow:hidden;text-overflow:ellipsis}.landing-nav{max-width:calc(100vw - 28px)}.landing-nav .container-fluid{min-width:0}.navbar-collapse{min-width:0}.hero-title,.section-title,.auth-title{overflow-wrap:anywhere}.hero-copy,.auth-copy,p{overflow-wrap:break-word}.btn{white-space:normal}.btn-lg{line-height:1.2}.badge{white-space:normal}.table{min-width:680px;margin-bottom:0}.card:has(.table),.premium-card:has(.table){overflow-x:auto;-webkit-overflow-scrolling:touch}.card:has(.table)::-webkit-scrollbar,.premium-card:has(.table)::-webkit-scrollbar{height:8px}.card:has(.table)::-webkit-scrollbar-thumb,.premium-card:has(.table)::-webkit-scrollbar-thumb{background:#d7ccfa;border-radius:999px}.chart-card{overflow:hidden}.chart-card canvas{width:100%!important}.topbar{min-width:0}.topbar>div:first-child{min-width:0}.topbar h1{overflow-wrap:anywhere}.profile-chip{max-width:100%}.module-cover{min-height:120px}.footer-premium{overflow:hidden}
@media(max-width:1199px){.hero-premium{min-height:auto}.hero-title{font-size:clamp(2.15rem,5vw,3.8rem)}.landing-nav{width:calc(100% - 22px)}.dashboard-preview{border-radius:24px}.auth-login .auth-grid{grid-template-columns:minmax(0,1fr) minmax(360px,430px)}}
@media(max-width:991px){.landing-nav{top:8px;max-height:calc(100dvh - 16px);overflow:auto}.landing-nav .navbar-collapse{padding:.7rem 0 .35rem}.landing-nav .navbar-nav{gap:.15rem!important}.landing-nav .nav-link{border-radius:14px;padding:.6rem .75rem}.landing-nav .d-flex.gap-2{flex-wrap:wrap}.landing-nav .d-flex.gap-2 .btn{flex:1 1 150px}.hero-premium{padding-top:104px}.hero-title,.auth-title{text-align:center}.hero-copy{text-align:center;margin-left:auto;margin-right:auto}.hero-premium .d-flex.flex-wrap.gap-3{justify-content:center}.hero-stat{text-align:left}.section-title{text-align:inherit}.main-grid{display:block}.sidebar{position:relative;top:auto;border-right:0;border-bottom:1px solid rgba(229,231,235,.75)}.sidebar .landing-logo{justify-content:center}.sidebar .nav{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.content-wrap{min-height:auto}.topbar{position:relative}.topbar.px-4{padding-left:1rem!important;padding-right:1rem!important}.page-pad{padding:1rem}.stat-card{min-height:118px}.stat-value{font-size:1.8rem}.table{min-width:620px}.auth-register .auth-grid{display:flex;flex-direction:column}.auth-register .auth-card{width:min(100%,560px)}}
@media(max-width:767px){.section-pad{padding:52px 0}.hero-premium{padding-top:96px}.hero-stat{padding-left:.75rem}.hero-stat b{font-size:1.08rem}.mother-card{border-radius:24px}.mother-card img[src$="mother-baby-brand.png"]{height:320px}.floating-card{width:100%;justify-content:flex-start}.feature-card{border-radius:20px}.score-pill{padding:.85rem}.dashboard-preview{padding:1rem;border-radius:22px}.preview-card{border-radius:16px}.chat-bubble{max-width:100%}.auth-register .auth-brand-panel{display:none}.auth-register .auth-page,.auth-register{height:auto;overflow:auto}.auth-register .auth-card{padding:22px 18px}.auth-register .auth-input-wrap .form-control{height:48px}.auth-register .auth-form-group{margin-bottom:12px}}
@media(max-width:575px){body{font-size:.95rem}.container{padding-left:16px;padding-right:16px}.landing-nav{border-radius:18px;padding:.45rem}.landing-logo{gap:.55rem}.landing-logo .brand-wordmark>span,.auth-brand-logo .brand-wordmark>span{font-size:.9rem;max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-mark.logo-mark{box-shadow:0 10px 20px rgba(45,27,105,.10)}.hero-premium{padding-top:88px}.hero-title{font-size:2rem}.hero-copy{font-size:.98rem;line-height:1.6}.hero-premium .btn-lg{width:100%;padding:.75rem 1rem}.hero-stat{border-left:0;border-top:3px solid rgba(109,63,209,.18);padding:.65rem .35rem 0;text-align:center}.mother-card img[src$="mother-baby-brand.png"]{height:260px}.section-kicker{font-size:.82rem}.section-title{font-size:1.75rem;text-align:left}.feature-icon{width:50px;height:50px;font-size:22px;border-radius:16px}.premium-card.feature-card{padding:1rem}.topbar{align-items:flex-start!important}.topbar .profile-chip{order:1}.topbar form{order:2}.profile-chip{padding:.35rem}.avatar{width:34px;height:34px}.sidebar{padding:.9rem}.sidebar .nav{grid-template-columns:1fr}.sidebar .nav-link{padding:.72rem .8rem}.page-pad{padding:.85rem}.stat-card{min-height:108px}.stat-icon{width:42px;height:42px}.stat-value{font-size:1.55rem}.table{min-width:560px;font-size:.88rem}.auth-login .auth-card{width:100%;max-width:420px}.auth-login .auth-card .badge{font-size:.72rem}.auth-input-wrap .form-control{font-size:.95rem}.demo-row{gap:8px}.demo-row b{font-size:.78rem}.footer-premium{text-align:left}.footer-premium .brand-wordmark>span{white-space:normal}}
@media(max-width:380px){.landing-logo .brand-wordmark>span,.auth-brand-logo .brand-wordmark>span{max-width:145px}.hero-title{font-size:1.78rem}.mother-card img[src$="mother-baby-brand.png"]{height:220px}.btn{padding:.62rem .85rem}.auth-login .auth-card{padding:16px 14px}.auth-login .auth-card h2{font-size:1.25rem}.auth-login .auth-card p.text-muted{font-size:.88rem}.auth-login .auth-input-wrap .form-control{height:44px}.auth-login .auth-submit{height:46px}.auth-login p.text-center,.auth-login .auth-back{font-size:.84rem}.table{min-width:520px}}
@media(orientation:landscape) and (max-height:520px){.auth-login .auth-brand-panel{display:none}.auth-login .auth-grid{height:calc(100dvh - 12px)}.auth-login .auth-card{max-width:520px}.landing-nav{position:absolute}}
