:root{
  --wine:#77152d;
  --wine-strong:#681126;
  --wine-deep:#4d0d1d;
  --wine-soft:#9a4d61;
  --rose:#f2dfe3;
  --cream:#f3ece4;
  --cream-2:#ebe0d5;
  --paper:#fffdf9;
  --paper-warm:#fbf5ef;
  --sand:#d8c4ae;
  --gold:#ae8356;
  --green:#547659;
  --green-soft:#e6efe4;
  --ink:#2f2524;
  --muted:#786965;
  --muted-2:#978984;
  --line:#e3d8ce;
  --line-strong:#d8c9bd;
  --shadow-lg:0 24px 70px rgba(62,42,35,.13),0 4px 16px rgba(62,42,35,.07);
  --shadow-md:0 14px 38px rgba(62,42,35,.09),0 2px 7px rgba(62,42,35,.05);
  --shadow-sm:0 7px 20px rgba(62,42,35,.07),0 1px 3px rgba(62,42,35,.04);
  --radius-xl:20px;
  --radius-lg:16px;
  --radius-md:12px;
  --radius-sm:9px;
  --serif:Georgia,"Times New Roman",serif;
  --display-serif:"Iowan Old Style","Palatino Linotype","Book Antiqua",Palatino,Georgia,"Times New Roman",serif;
  --sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--cream)}
body{margin:0;min-width:320px;background:var(--cream);color:var(--ink);font:15px/1.55 var(--sans);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(119,21,45,.16);outline-offset:2px}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
svg{display:block}
.ui-icon,.nav-icon,.button-icon,.mini-icon,.step-icon,.notice-icon,.privacy-icon,.photo-icon,.qr-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.button-icon{width:16px;height:16px}
.mini-icon{width:13px;height:13px}

#app{width:min(1540px,100%);min-height:100vh;margin:0 auto;background:var(--paper);box-shadow:0 0 55px rgba(69,48,40,.06)}
.site-header{height:72px;display:flex;align-items:center;gap:24px;padding:0 clamp(20px,3.2vw,48px);background:rgba(255,253,249,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:80;backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08)}
.site-header::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--wine-deep),var(--wine),#b0737f,var(--wine))}
.brand{display:flex;align-items:center;gap:10px;color:var(--wine);font:700 20px/1 var(--serif);letter-spacing:.16em;white-space:nowrap}
.brand img{width:42px;height:42px}
.brand-copy{display:flex;align-items:center;min-width:0}.brand-word{display:block}.brand-tagline{display:none}
.public-nav,.member-nav{display:flex;align-items:stretch;gap:30px;margin-left:auto;height:100%}
.public-nav a,.member-nav a{display:flex;align-items:center;position:relative;font-size:12px;font-weight:700;color:#554845;transition:color .16s ease}
.mobile-nav-icon{display:none}
.mobile-nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.public-nav a:hover,.member-nav a:hover{color:var(--wine)}
.member-nav a.active{color:var(--wine)}
.member-nav a.active::after{content:"";position:absolute;left:10%;right:10%;bottom:0;height:2px;border-radius:999px;background:var(--wine)}
.header-actions,.member-actions{display:flex;align-items:center;gap:9px;position:relative}
.mobile-bismillah{display:none}.header-cta-mobile{display:none}
.header-link,.header-cta,.bell-btn,.account-btn{border:0;background:transparent;color:inherit}
.header-link{padding:10px 13px;font-size:12px;font-weight:700;color:#5b4b47}
.header-cta{padding:10px 17px;border-radius:9px;background:linear-gradient(135deg,var(--wine),var(--wine-strong));color:#fff;font-size:12px;font-weight:800;box-shadow:0 6px 14px rgba(119,21,45,.18);transition:transform .16s ease,box-shadow .16s ease}
.header-cta:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(119,21,45,.2)}
.member-actions{margin-left:10px}
.bell-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;position:relative;color:#4f413e;transition:background .16s ease,color .16s ease}
.bell-btn:hover{background:#f4ece6;color:var(--wine)}
.notification-count{position:absolute;right:1px;top:2px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--wine);color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900;line-height:1}
.account-btn{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:13px;color:#4f403d}
.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--wine),#a65a6c);color:white;font-size:12px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.account-menu{position:absolute;right:0;top:47px;min-width:190px;padding:6px;border-radius:12px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-md);z-index:120}
.account-menu button{width:100%;border:0;background:transparent;text-align:left;padding:10px 12px;border-radius:8px;color:#4d3f3c;font-size:13px}
.account-menu button:hover{background:#f5eee8;color:var(--wine)}

.auth-view{min-height:calc(100vh - 72px);display:grid;grid-template-columns:minmax(0,1.45fr) minmax(390px,.72fr);background:linear-gradient(105deg,#f4e8dc 0%,#f0e4d7 58%,#fbf6f0 58%,#fffdf9 100%);overflow:hidden}

.mobile-landing{display:none}
.mobile-auth-close{display:none}
.mobile-language svg,.mobile-primary-cta svg,.mobile-auth-close svg,.mobile-heart-divider svg,.mobile-value-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.auth-hero{position:relative;overflow:hidden;min-height:760px;padding:58px clamp(34px,4vw,64px) 190px;background:radial-gradient(circle at 62% 18%,rgba(255,250,236,.96) 0 8%,rgba(255,246,227,.52) 9% 21%,transparent 38%),linear-gradient(180deg,#f6e9dc 0%,#edddce 62%,#d9c5b2 100%)}
.auth-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.22),transparent 35%),radial-gradient(circle at 18% 78%,rgba(119,21,45,.06),transparent 28%);pointer-events:none}
.auth-hero::after{content:"";position:absolute;right:-80px;top:62px;width:330px;height:620px;border:2px solid rgba(151,112,76,.18);border-bottom:0;border-radius:170px 170px 0 0;box-shadow:0 0 0 18px rgba(255,255,255,.11),0 0 0 20px rgba(151,112,76,.08);pointer-events:none}
.auth-copy{position:relative;z-index:5;max-width:640px}
.micro-label{margin:0 0 10px;color:#9e795d;font-size:10px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}
.auth-copy h1{margin:0;color:var(--wine-strong);font:700 clamp(50px,5.1vw,78px)/.96 var(--serif);letter-spacing:-.048em}
.hero-lead{max-width:520px;margin:18px 0 0;color:#50413e;font:500 17px/1.58 var(--serif)}
.benefit-list{display:grid;gap:13px;margin-top:28px;max-width:465px}
.benefit-item{display:flex;align-items:center;gap:12px}
.benefit-icon{width:40px;height:40px;flex:0 0 40px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(119,21,45,.19);background:rgba(255,253,249,.48);color:var(--wine);box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}
.benefit-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.benefit-item b{display:block;color:#403331;font-size:13px}
.benefit-item small{display:block;color:#76645e;font-size:11px;margin-top:2px}
.hero-scene{position:absolute;inset:0;z-index:1;pointer-events:none}
.sun-glow{position:absolute;right:14%;top:9%;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,#fff9ea 0 11%,rgba(255,242,218,.65) 12% 35%,rgba(255,244,225,.13) 58%,transparent 72%)}
.mosque-silhouette{position:absolute;bottom:92px;background:linear-gradient(180deg,rgba(112,76,54,.04),rgba(79,50,39,.25));filter:blur(.15px)}
.mosque-one{left:3%;width:250px;height:260px;clip-path:polygon(0 100%,0 60%,8% 60%,8% 48%,15% 48%,15% 59%,26% 59%,26% 33%,36% 15%,46% 33%,46% 62%,62% 62%,62% 45%,72% 29%,82% 45%,82% 64%,100% 64%,100% 100%)}
.mosque-two{right:1%;width:260px;height:320px;opacity:.28;clip-path:polygon(0 100%,0 70%,16% 70%,16% 47%,27% 20%,39% 47%,39% 72%,53% 72%,53% 34%,63% 9%,73% 34%,73% 68%,100% 68%,100% 100%)}
.arch{position:absolute;border:1px solid rgba(122,86,58,.2);border-bottom:0;border-radius:110px 110px 0 0}
.arch-one{right:18%;bottom:50px;width:190px;height:350px;box-shadow:0 0 0 16px rgba(255,246,235,.11),0 0 0 17px rgba(122,86,58,.07)}
.arch-two{right:-55px;bottom:-25px;width:250px;height:470px;opacity:.28}
.auth-feature-card{position:absolute;z-index:6;left:34px;right:34px;bottom:28px;min-height:132px;border:1px solid rgba(255,255,255,.11);border-radius:16px;overflow:hidden;display:grid;grid-template-columns:1fr 220px 56px;background:linear-gradient(135deg,#74152c,#4b111f);box-shadow:0 16px 40px rgba(70,22,33,.22);color:#fff}
.feature-copy{display:flex;align-items:center;gap:14px;padding:22px}
.feature-icon{width:40px;height:40px;border:1px solid rgba(255,255,255,.17);border-radius:50%;display:grid;place-items:center;color:#efd4bb}
.feature-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.feature-copy strong{display:block;font:700 18px var(--serif);letter-spacing:.06em}
.feature-copy small{display:block;margin-top:6px;color:#ead4d7;font-size:12px;line-height:1.45}
.feature-photo{display:grid;place-items:center;text-align:center;background:linear-gradient(rgba(41,23,16,.16),rgba(41,23,16,.53)),radial-gradient(circle at 55% 28%,#e1c396 0 7%,#98744e 8% 25%,#5a3c2a 50%,#2b2019 76%);font:italic 20px/1.05 var(--serif);color:#f7ead7}
.feature-arrow{align-self:center;justify-self:center;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--wine);box-shadow:0 5px 12px rgba(0,0,0,.12)}
.feature-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.auth-card-wrap{position:relative;display:flex;align-items:center;justify-content:center;padding:48px 34px 130px;background:linear-gradient(90deg,rgba(255,253,249,.74),#fffdf9)}
.auth-card-wrap::before{content:"";position:absolute;right:-70px;top:20px;width:210px;height:480px;border:1px solid rgba(169,130,92,.14);border-bottom:0;border-radius:120px 120px 0 0;box-shadow:0 0 0 14px rgba(151,112,76,.035)}
.auth-card{position:relative;z-index:3;width:min(460px,100%);padding:34px;border:1px solid #dfd1c5;border-radius:20px;background:linear-gradient(180deg,rgba(255,254,251,.99),rgba(255,250,246,.98));box-shadow:0 28px 74px rgba(70,45,38,.14),0 5px 18px rgba(70,45,38,.07),inset 0 1px 0 rgba(255,255,255,.9)}
.auth-card h2{margin:4px 0 9px;color:var(--wine-deep);font:700 33px/1.06 var(--serif);letter-spacing:-.025em}
.muted{color:var(--muted);line-height:1.65}
.form-field{display:block;margin:16px 0}
.form-field>span{display:block;margin-bottom:7px;font-size:11px;font-weight:800;color:#4b3d3a}
.form-field input,.form-field select,.form-field textarea,.field-input{width:100%;min-height:50px;padding:12px 14px;border-radius:10px;border:1px solid var(--line-strong);background:#fff;color:var(--ink);font-size:13px;outline:none;box-shadow:inset 0 1px 1px rgba(62,42,35,.025);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}
.form-field input::placeholder,.form-field textarea::placeholder{color:#ac9f99}
.form-field textarea{min-height:112px;resize:vertical}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.field-input:focus{border-color:#b87080;box-shadow:0 0 0 3px rgba(119,21,45,.065);background:#fff}
.input-with-icon{position:relative}
.input-with-icon>span{position:absolute;left:15px;top:15px;color:#796965;font-size:15px}
.auth-input-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.input-with-icon input{padding-left:43px}
.button{border:0;border-radius:9px;min-height:46px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:850;letter-spacing:.005em;transition:transform .15s ease,filter .15s ease,box-shadow .15s ease,background .15s ease}
.button:disabled{opacity:.42;cursor:not-allowed;transform:none!important}
.button-primary{background:linear-gradient(135deg,var(--wine),var(--wine-strong));color:#fff;box-shadow:0 7px 16px rgba(119,21,45,.17)}
.button-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 20px rgba(119,21,45,.2)}
.button-secondary{background:#f2e6dd;color:var(--wine);border:1px solid #ead8cc}
.button-secondary:hover{background:#ecddd2}
.button-outline{background:#fff;border:1px solid #cdbdb2;color:#604b46;box-shadow:0 1px 2px rgba(61,42,35,.02)}
.button-outline:hover:not(:disabled){border-color:#b79f93;background:#fffaf7}
.button-danger{background:#f3dce2;color:#84243a}
.button-block{width:100%}
.text-button,.back-button{border:0;background:transparent;color:var(--wine);font-weight:800}
.text-button{display:block;margin:13px auto 0}
.back-button{padding:0;margin:0 0 18px;font-size:12px}
.auth-divider{display:flex;align-items:center;gap:10px;margin:17px 0 7px;color:#9a8980;font-size:9px;text-transform:uppercase;letter-spacing:.12em}
.auth-divider::before,.auth-divider::after{content:"";height:1px;background:#eaded4;flex:1}
.fine-print{margin:14px 0 0;color:#94837c;font-size:10px;line-height:1.55;text-align:center}
.otp-input{width:100%;padding:14px;border:1px solid #dbcbbf;border-radius:10px;background:#fff;text-align:center;color:var(--wine);font-size:28px;font-weight:900;letter-spacing:.33em;outline:none}
.dev-code{margin:13px 0;padding:11px 13px;border:1px solid #e5cc83;border-radius:9px;background:#fff0c6;color:#654f18;font-size:12px;line-height:1.5}
.auth-quote{position:absolute;right:36px;bottom:38px;max-width:285px;margin:0;color:#826e65;text-align:right;font:italic 15px/1.56 var(--serif)}
.auth-quote small{display:block;margin-top:6px;color:#9a8880;font:10px var(--sans)}

.page-shell{max-width:1360px;margin:0 auto;padding:30px clamp(20px,3.4vw,46px) 78px}
.route:not([hidden]){animation:viewIn .26s cubic-bezier(.2,.7,.2,1)}
@keyframes viewIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.dashboard-hero{display:grid;grid-template-columns:1.24fr .76fr;min-height:280px;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;background:linear-gradient(115deg,#fffdf9,#f3e5da);box-shadow:var(--shadow-md)}
.dashboard-copy{padding:36px 38px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.dashboard-copy h1,.match-heading h1{margin:5px 0 10px;color:var(--wine-deep);font:700 clamp(38px,3.8vw,55px)/1.02 var(--serif);letter-spacing:-.035em}
.dashboard-copy p{max-width:720px;margin:0 0 18px;color:#74615a;font-size:14px;line-height:1.72}
.dashboard-art{position:relative;min-height:270px;background:radial-gradient(circle at 47% 30%,#d9b77f 0 5%,transparent 6%),linear-gradient(145deg,#6c4836,#ad895f 52%,#3f2b23);overflow:hidden}
.dashboard-art::before{content:"";position:absolute;left:18%;right:18%;bottom:-8px;height:78%;border:1px solid rgba(255,239,215,.46);border-bottom:0;border-radius:94px 94px 0 0;box-shadow:0 0 0 14px rgba(255,241,221,.07),0 0 0 15px rgba(255,239,215,.12)}
.dashboard-art::after{content:"";position:absolute;left:0;right:0;bottom:0;height:42%;background:linear-gradient(180deg,transparent,rgba(41,27,21,.3))}
.art-note{position:absolute;inset:0;z-index:2;display:grid;place-items:center;text-align:center;color:#f6e8d6;font:italic 24px/1.05 var(--serif)}
.dashboard-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:18px;margin-top:18px}
.card{padding:24px;border:1px solid var(--line);border-radius:14px;background:rgba(255,253,249,.97);box-shadow:var(--shadow-sm)}
.card h2,.card h3{color:#551124;font-family:var(--serif)}
.card h2{margin:5px 0;font-size:29px;letter-spacing:-.02em}
.card h3{margin:4px 0;font-size:22px}
.row-between{display:flex;align-items:center;justify-content:space-between;gap:12px}
.section-kicker{margin:0;color:#9e795d;font-size:9px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.status-pill{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap;border:1px solid transparent}
.status-green{background:var(--green-soft);color:#45654a;border-color:#d3e3d0}
.status-wine{background:#f2e2e6;color:var(--wine);border-color:#ead0d7}
.status-gold{background:#f2e6d4;color:#7f5d2f;border-color:#e7d5b9}
.status-gray{background:#efebe8;color:#675e59;border-color:#e5dfdb}
.progress-track{height:6px;border-radius:999px;background:#e9ddd3;overflow:hidden}
.progress-track>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--wine),#a24f62);transition:width .3s ease}
.timeline{display:grid;gap:11px;margin-top:17px}
.timeline-row{display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start;position:relative}
.timeline-row:not(:last-child)::after{content:"";position:absolute;left:16px;top:33px;width:1px;height:calc(100% + 3px);background:#e4d9d0}
.timeline-dot{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#f0e8e2;color:#8a7c75;font-size:11px;font-weight:900;border:1px solid #e4d8cf;z-index:1}
.timeline-dot .ui-icon{width:15px;height:15px}
.timeline-row.done .timeline-dot{background:#e0ebde;color:#45664a;border-color:#ceddcb}
.timeline-row.active .timeline-dot{background:var(--wine);color:white;border-color:var(--wine);box-shadow:0 5px 13px rgba(119,21,45,.17)}
.timeline-row b{display:block;font-size:13px}
.timeline-row small{display:block;margin-top:2px;color:#84746e;font-size:11px;line-height:1.48}
.profile-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.mini-link{display:inline-flex;align-items:center;gap:5px;color:var(--wine);font-size:11px;font-weight:850}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}
.stat-box{position:relative;padding:14px 12px;border:1px solid #eadccf;border-radius:10px;background:#fbf3ec;min-width:0}
.stat-icon{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#f0dfd7;color:var(--wine);margin-bottom:9px}
.stat-icon .ui-icon{width:13px;height:13px}
.stat-box b{display:block;overflow:hidden;text-overflow:ellipsis;color:var(--wine);font:700 20px var(--serif);white-space:nowrap}
.stat-box>span:last-child{color:#7a6961;font-size:9px}
.profile-privacy{display:flex;gap:8px;align-items:flex-start;margin-top:14px;padding:11px 12px;border:1px solid #eee1d7;border-radius:9px;background:#fffaf6;color:#806f68;font-size:10px;line-height:1.48}
.profile-privacy .ui-icon{width:15px;height:15px;flex:0 0 15px;color:var(--wine)}

.wizard-page{max-width:1540px;margin:0 auto;padding:0 clamp(0px,1.6vw,20px) 38px;background:#f6eee7}
.wizard-shell{display:grid;grid-template-columns:260px minmax(0,1fr) 250px;min-height:calc(100vh - 72px);border-left:1px solid var(--line);border-right:1px solid var(--line);background:var(--paper);box-shadow:0 12px 36px rgba(69,48,40,.04)}
.wizard-steps{padding:38px 18px;background:#f2e8df;border-right:1px solid var(--line)}
.wizard-step-label{padding:0 11px 12px;color:#a08a80;font-size:9px;font-weight:900;letter-spacing:.15em}
.wizard-step{display:grid;grid-template-columns:34px 1fr;gap:11px;padding:11px 10px;border-radius:10px;margin-bottom:5px;color:#897a74;position:relative;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.wizard-step.active{background:rgba(119,21,45,.055);color:#581124;box-shadow:inset 3px 0 0 var(--wine)}
.wizard-step.complete{color:#4d7352}
.step-number{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid #d4c7bd;background:#faf3ec;font-size:10px;font-weight:900}
.wizard-step.active .step-number{border-color:var(--wine);background:var(--wine);color:#fff;box-shadow:0 5px 11px rgba(119,21,45,.14)}
.wizard-step.complete .step-number{border-color:#6c896f;background:#6c896f;color:#fff}
.step-icon{width:14px;height:14px}
.wizard-step b{display:block;font-size:11px}
.wizard-step small{display:block;margin-top:2px;font-size:9px;letter-spacing:.055em;text-transform:uppercase;color:inherit;opacity:.8}
.wizard-main{padding:38px clamp(28px,4vw,58px) 32px;background:linear-gradient(180deg,#fffdf9 0%,#fffcf8 64%,#fbf5ef 100%);min-width:0}
.wizard-intro{position:relative;max-width:860px;margin-bottom:14px;padding:22px 23px 20px;border:1px solid #e8d9cd;border-radius:16px;background:linear-gradient(135deg,#fffaf5 0%,#f8eee6 100%);box-shadow:0 8px 24px rgba(70,45,38,.055);overflow:hidden}
.wizard-title-row{display:flex;align-items:flex-start;gap:12px}.wizard-title-icon{width:38px;height:38px;flex:0 0 38px;margin-top:2px;border:1px solid #e5d1c5;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#fff,#f4e5dc);color:var(--wine);box-shadow:0 6px 15px rgba(72,47,39,.055),inset 0 1px 0 #fff}.wizard-title-svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wizard-title-row .micro-label{margin-bottom:5px}.wizard-title-row h1{margin-top:0}
.wizard-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;color:#8e7f79;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.09em}
.wizard-meta strong{color:#806d66;font-size:9px}
.wizard-progress{margin:0 0 18px}
.wizard-main h1{margin:5px 0 7px;color:var(--wine-deep);font:700 clamp(34px,3.2vw,47px)/1.04 var(--serif);letter-spacing:-.032em}
.wizard-lead{margin:0;color:#74635e;font-size:12px;line-height:1.62;max-width:680px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;max-width:860px;padding:14px 0 2px}
.form-grid .form-field{margin:0}.form-grid>.form-field{padding:12px 12px 11px;border:1px solid #e9ddd3;border-radius:13px;background:rgba(255,255,255,.86);box-shadow:0 5px 16px rgba(69,47,39,.035);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.form-grid>.form-field:focus-within{border-color:#d5b2ba;box-shadow:0 9px 22px rgba(119,21,45,.065);transform:translateY(-1px)}.form-grid>.form-field>span{margin-bottom:8px;color:#5a4743;font-size:10px;letter-spacing:.015em}.field-label{display:flex!important;align-items:center;gap:7px;line-height:1.25}.field-label-icon{width:23px;height:23px;flex:0 0 23px;border:1px solid #ead9ce;border-radius:7px;display:grid;place-items:center;background:#fbf1ea;color:var(--wine);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.field-label-svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}.form-grid>.form-field input,.form-grid>.form-field select,.form-grid>.form-field textarea{background:#fffaf7;border-color:#dfd2c8}
.form-field.full,.age-range-card.full{grid-column:1/-1}
.form-grid .form-field textarea{min-height:122px}
.intent-card{grid-column:1/-1;display:flex;gap:12px;padding:16px 17px;border:1px solid #e2d1c4;border-radius:13px;background:linear-gradient(135deg,#fbf2eb,#fffaf5);box-shadow:0 5px 16px rgba(69,47,39,.035)}
.intent-icon{width:21px;height:21px;flex:0 0 21px;color:var(--wine)}
.intent-card b{font-size:11px}
.intent-card p{margin:3px 0 0;color:#77665f;font-size:10px;line-height:1.48}
.age-range-card,.dealbreakers{grid-column:1/-1;padding:17px;border:1px solid #e4d6ca;border-radius:14px;background:linear-gradient(135deg,#fcf6f0,#fffaf6);box-shadow:0 5px 16px rgba(69,47,39,.035);margin:0}
.field-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.field-card-head>div{display:flex;align-items:center;gap:8px}
.field-card-head b{font-size:11px;color:#4b3d3a}
.field-card-head small{font-size:9px;color:#9a8b85}
.field-card-icon{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#f0e1d8;color:var(--wine)}
.field-card-icon .ui-icon{width:14px;height:14px}
.age-pair{display:grid;grid-template-columns:1fr 20px 1fr;align-items:end;gap:8px;margin-top:6px;max-width:420px}
.age-pair .form-field{margin:8px 0 0}
.range-separator{padding-bottom:15px;text-align:center;color:#a18f87}
.help-text{color:#998982;font-size:10px;margin:7px 0 0;line-height:1.5}
.choice-grid{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.choice-chip{display:flex;align-items:center;gap:6px;border:1px solid #dfcec2;border-radius:999px;padding:7px 10px;background:#fffdf9;color:#604b47;font-size:10px;transition:.15s ease;cursor:pointer;user-select:none}
.choice-chip input{accent-color:var(--wine);margin:0}
.choice-chip:has(input:checked){border-color:#c48190;background:#f4e1e6;color:var(--wine);box-shadow:0 3px 9px rgba(119,21,45,.05)}
.photo-uploader{grid-column:1/-1;border:1px solid #e2d3c6;border-radius:14px;padding:17px;background:linear-gradient(135deg,#fcf6f0,#fffaf6);display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:center;box-shadow:0 5px 16px rgba(69,47,39,.035);margin:0}
.photo-preview{width:96px;height:112px;border-radius:11px;background:#eee3da;overflow:hidden;display:grid;place-items:center;align-content:center;gap:5px;color:#9a8880;font-size:9px;border:1px solid #e1d5ca}
.photo-preview img{width:100%;height:100%;object-fit:cover}
.photo-preview span{color:var(--wine)}
.photo-icon{width:24px;height:24px}
.photo-actions input{display:none}
.photo-actions b{font-size:12px}
.photo-actions p{font-size:10px;color:#806f68;line-height:1.5;margin:4px 0 10px}
.photo-actions .button{min-height:39px;padding:8px 13px}
.privacy-check{grid-column:1/-1;display:block;margin-top:0;cursor:pointer}
.privacy-check>input{position:absolute;opacity:0;pointer-events:none}
.privacy-box{display:flex;gap:11px;align-items:flex-start;padding:16px;border:1px solid #e4d6c9;border-radius:13px;background:#fffaf6;font-size:10px;line-height:1.5;box-shadow:0 5px 16px rgba(69,47,39,.03);transition:.16s ease}
.privacy-check>input:checked+.privacy-box{border-color:#c8a3ab;background:#fbf0f2;box-shadow:inset 3px 0 0 var(--wine)}
.privacy-icon{width:18px;height:18px;flex:0 0 18px;color:var(--wine)}
.profile-review{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;max-width:760px}
.review-item{position:relative;padding:14px 14px 14px 46px;border:1px solid #eaded4;border-radius:10px;background:#fdf8f3;min-height:72px}
.review-icon{position:absolute;left:13px;top:14px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#f0e1d8;color:var(--wine)}
.review-icon .ui-icon{width:13px;height:13px}
.review-item small{display:block;color:#8e7d76;font-size:8px;text-transform:uppercase;letter-spacing:.09em}
.review-item b{display:block;margin-top:3px;color:#5e1627;font:700 16px var(--serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.review-notice{margin-top:13px;max-width:760px}
.wizard-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px;padding-top:17px;border-top:1px solid #eee2d8;max-width:860px}
.wizard-aside{position:relative;overflow:hidden;padding:40px 22px;background:linear-gradient(160deg,#faf3ec,#eee1d6)}
.wizard-aside::before{content:"";position:absolute;right:-76px;top:20px;width:220px;height:430px;border:1px solid rgba(165,128,91,.22);border-bottom:0;border-radius:112px 112px 0 0;box-shadow:0 0 0 17px rgba(255,255,255,.1)}
.wizard-aside::after{content:"";position:absolute;right:22px;top:102px;width:1px;height:180px;background:linear-gradient(transparent,rgba(119,21,45,.13),transparent)}
.wizard-aside img{position:absolute;right:20px;top:20px;width:84px;opacity:.24}
.wizard-aside blockquote{position:absolute;bottom:46px;left:24px;right:24px;margin:0;color:#7d685f;font:italic 14px/1.58 var(--serif)}
.wizard-aside blockquote small{display:block;margin-top:7px;color:#9b8880;font:9px var(--sans)}

.match-shell{max-width:1200px;margin:0 auto}
.match-heading{max-width:850px;margin:10px 0 24px}
.match-heading p{color:#7d6b64;font-size:13px;line-height:1.66}
.match-panel{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-lg);background:#fffdf9;box-shadow:var(--shadow-md)}
.match-hero-card{display:grid;grid-template-columns:1.22fr .78fr;min-height:280px}
.match-copy{padding:28px}
.match-copy h2{margin:7px 0;color:#581124;font:700 33px/1.05 var(--serif);letter-spacing:-.02em}
.match-art{position:relative;background:linear-gradient(rgba(57,30,20,.15),rgba(57,30,20,.46)),radial-gradient(circle at 55% 31%,#d6b279 0 8%,#806244 9% 28%,#493326 55%,#2d211b 80%)}
.match-art::before{content:"";position:absolute;left:21%;right:21%;bottom:0;height:76%;border:1px solid rgba(255,239,215,.45);border-bottom:0;border-radius:90px 90px 0 0;box-shadow:0 0 0 13px rgba(255,241,221,.06)}
.match-art::after{content:"Good\A People\A Brighter\A Futures";white-space:pre;position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#f6e8d5;font:italic 22px/1.04 var(--serif)}
.fact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:17px}
.fact{padding:12px;border:1px solid #eaded3;border-radius:9px;background:#fdf7f1}
.fact small{display:block;color:#8b7972;font-size:9px}
.fact b{display:block;margin-top:3px;font-size:12px}
.flow-block{padding:24px;border-top:1px solid var(--line)}
.payment-callout{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;padding:20px;border-radius:12px;background:linear-gradient(135deg,#74152c,#571121);color:#fff;box-shadow:0 9px 22px rgba(95,20,39,.14)}
.payment-callout small{color:#edcfd6;font-size:9px;letter-spacing:.08em}
.payment-callout h3{margin:3px 0;font:700 27px var(--serif)}
.price{font:700 32px var(--serif)}
.notice{padding:13px 14px;border-radius:9px;font-size:11px;line-height:1.55;border:1px solid transparent}
.notice-info{background:#f0e8e1;color:#66534e;border-color:#e5d8ce}
.notice-success{background:#e6efe4;color:#426448;border-color:#d1e0cf}
.notice-warm{background:#fff2d9;color:#70551d;border-color:#efddb2}
.notice-wine{background:#f3dde3;color:#72172e;border-color:#e8cad2}
.ticket-success{display:flex;gap:8px;align-items:flex-start;margin-top:14px}
.notice-icon{width:15px;height:15px;flex:0 0 15px;margin-top:1px}
.schedule-card{padding:20px;border:1px solid #e7d9ce;border-radius:12px;background:#fdf8f3}
.schedule-card h3{margin:4px 0 8px;color:#581124;font:700 26px var(--serif)}
.schedule-actions{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:13px}
.selected-slot{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px;border-radius:10px;background:#fff;border:1px solid #dfd0c4}
.selected-slot strong{font:700 18px var(--serif);color:#5d1426}
.ticket-page{display:grid;grid-template-columns:1.15fr .85fr;gap:17px}
.ticket-main,.ticket-card{border:1px solid var(--line);border-radius:14px;background:#fffdf9;box-shadow:var(--shadow-sm)}
.ticket-main{padding:25px}
.ticket-main h2{margin:4px 0;color:#5b1124;font:700 33px var(--serif)}
.meeting-details{display:grid;gap:11px;margin-top:18px}
.meeting-row{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start}
.meeting-row .ico{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f1e3d7;color:var(--wine)}
.meeting-row .ico .ui-icon{width:14px;height:14px}
.meeting-row b{display:block;font-size:12px}
.meeting-row div>span{display:block;color:#806e67;font-size:10px;margin-top:2px}
.ticket-card{padding:23px;text-align:center;overflow:hidden}
.ticket-card h3{margin:0 0 13px;color:#5b1124;font:700 23px var(--serif)}
#ticketQr{width:174px;min-height:174px;margin:0 auto 11px;display:grid;place-items:center;background:white;border:8px solid white;border-radius:8px;box-shadow:0 5px 18px rgba(0,0,0,.07)}
#ticketQr img,#ticketQr canvas{max-width:100%!important;height:auto!important}
.ticket-code{font:700 11px ui-monospace,SFMono-Regular,Consolas,monospace;color:#5b4d48}
.ticket-ribbon{margin:17px -23px -23px;padding:12px;background:linear-gradient(135deg,#74152c,#54101f);color:#fff}
.ticket-ribbon b{display:block;font:700 15px var(--serif)}
.ticket-ribbon span{display:block;margin-top:2px;color:#ead3d8;font-size:9px}
.qr-loading{font-size:10px;color:#8a7972}.qr-unavailable{width:150px;min-height:150px;display:grid;place-items:center;align-content:center;gap:6px;padding:12px;color:#6a5852;background:#fbf4ee;border:1px dashed #d9c6b8;border-radius:8px}
.qr-unavailable .qr-icon{width:24px;height:24px;color:var(--wine)}
.qr-unavailable b{font-size:10px}
.qr-unavailable small{font-size:8px;line-height:1.4}
.empty-state{padding:68px 20px;text-align:center}
.empty-state .empty-icon{width:56px;height:56px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:#f1e4da;color:var(--wine)}
.empty-state .empty-icon .ui-icon{width:23px;height:23px}
.empty-state h2{margin:0;color:#581124;font:700 31px var(--serif)}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.how-card{padding:17px;border:1px solid var(--line);border-radius:12px;background:#fffdf9;box-shadow:0 3px 10px rgba(62,42,35,.03)}
.how-card .number{color:#bd9870;font:700 18px var(--serif)}
.how-card h3{margin:7px 0 4px;color:#5e1225;font:700 18px var(--serif)}
.how-card p{font-size:11px;line-height:1.55}
.toast{position:fixed;left:50%;bottom:20px;z-index:460;transform:translate(-50%,14px);padding:11px 14px;border-radius:9px;background:#2b1b20;color:#fff;box-shadow:var(--shadow-md);opacity:0;pointer-events:none;transition:.2s ease;font-size:11px;max-width:min(92vw,560px);text-align:center}
.toast.show{opacity:1;transform:translate(-50%,0)}

.anchor-target{position:absolute;top:0;left:0}
.public-info{background:#f6eee7;border-top:1px solid #e7d9cd;padding:66px clamp(26px,6vw,100px) 80px}
.public-section{max-width:1280px;margin:0 auto;padding:58px 0;border-bottom:1px solid #e4d4c7;scroll-margin-top:78px}
.public-section:last-child{border-bottom:0}
.public-section>h2,.split-public h2{font-family:var(--serif);color:var(--wine);font-size:clamp(31px,3.7vw,52px);line-height:1.02;margin:7px 0 27px;letter-spacing:-.035em}
.public-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.public-steps article{background:#fffdf9;border:1px solid #e2d2c5;border-radius:13px;padding:22px 20px;min-height:190px;box-shadow:0 5px 15px rgba(63,43,36,.035)}
.public-steps article>span{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#f1dfd7;color:var(--wine);font-weight:900;font-size:10px;margin-bottom:16px}
.public-steps h3{font-family:var(--serif);color:#4f1b27;font-size:20px;margin:0 0 7px}
.public-steps p,.split-public>p,.split-public>div>p{color:#6c5d59;line-height:1.7;font-size:13px;margin:0}
.split-public{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.1fr);gap:clamp(30px,7vw,90px);align-items:start}
.split-public h2{margin-bottom:0}
.contact-public{align-items:center}
.support-link{display:inline-block;margin-top:14px;color:var(--wine);font-family:var(--serif);font-size:25px;border-bottom:1px solid #cba5ae;padding-bottom:2px}
.public-final-cta{max-width:1280px;margin:34px auto 0;padding:clamp(34px,5vw,62px);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:clamp(28px,6vw,74px);align-items:center;border:1px solid rgba(126,74,67,.12);border-radius:34px;background:radial-gradient(circle at 84% 8%,rgba(229,201,145,.16),transparent 30%),linear-gradient(135deg,#6d0d2f,#410018);box-shadow:0 28px 70px rgba(70,7,30,.16);color:#fff8f2;position:relative;overflow:hidden}
.public-final-cta::before{content:"";position:absolute;right:-110px;top:-170px;width:350px;height:520px;border:1px solid rgba(255,237,211,.16);border-bottom:0;border-radius:180px 180px 0 0;box-shadow:0 0 0 18px rgba(255,255,255,.035);pointer-events:none}
.public-final-copy,.public-final-actions{position:relative;z-index:1}.public-final-copy .micro-label{color:#e7ca8e}.public-final-copy h2{margin:4px 0 12px;color:#fff9f3;font:600 clamp(38px,4.2vw,60px)/.96 var(--display-serif);letter-spacing:-.04em}.public-final-copy h2 em{font-weight:400;color:#e2b7c1}.public-final-copy>p:not(.micro-label){max-width:660px;margin:0;color:rgba(255,248,242,.76);font-size:14px;line-height:1.65}
.public-final-actions{display:grid;gap:10px}.public-final-actions .button{width:100%;min-height:56px;border-radius:16px;font-size:13px}.public-final-actions .button-primary{background:linear-gradient(135deg,#fff9f3,#f5dfd7);color:#6d0d2f;box-shadow:0 12px 28px rgba(21,0,8,.18)}.public-final-actions .button-outline{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.24);color:#fff}.public-final-actions small{margin-top:3px;color:rgba(255,247,241,.62);font-size:10px;line-height:1.5;text-align:center}

@media(max-width:1120px){
  .public-nav{display:none}
  .auth-view{grid-template-columns:1fr 390px}
  .auth-hero{padding-left:38px}
  .auth-feature-card{grid-template-columns:1fr 180px 50px}
  .wizard-shell{grid-template-columns:220px 1fr}
  .wizard-aside{display:none}
  .dashboard-grid{grid-template-columns:1fr}
  .ticket-page{grid-template-columns:1fr}
  .how-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:820px){
  #app{box-shadow:none}
  .site-header{height:64px;padding:0 14px;gap:10px}
  .brand{font-size:16px;letter-spacing:.13em}.brand img{width:36px;height:36px}
  .header-actions{margin-left:auto}.header-link{display:none}
  .member-actions{margin-left:auto}.account-btn>span:nth-child(2),.account-btn>span:nth-child(3){display:none}

  body[data-mode="guest"]{background:#fcf5eb}
  body.mobile-auth-open{overflow:hidden}
  .auth-view{min-height:100svh;display:block;background:#fcf5eb;overflow:visible}
  .auth-hero{display:none}
  .mobile-landing{position:relative;display:flex;width:100%;height:100svh;min-height:100svh;max-height:100svh;overflow:hidden;isolation:isolate;background:linear-gradient(180deg,#fff9f1 0%,#fff8ef 58%,#fdf4e8 100%);padding:calc(clamp(14px,2.4svh,21px) + env(safe-area-inset-top)) 22px calc(clamp(14px,2.6svh,24px) + env(safe-area-inset-bottom));color:#310716}
  .mobile-landing::before{content:"";position:absolute;z-index:-4;inset:0;background:radial-gradient(circle at 50% 24%,rgba(255,255,255,.82),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.16),rgba(247,228,208,.12));pointer-events:none}
  .mobile-arch-bg{position:absolute;z-index:-3;left:50%;top:10px;width:min(118vw,520px);height:auto;transform:translateX(-50%);overflow:visible;pointer-events:none}
  .mobile-arch-bg path:first-child{fill:none;stroke:rgba(197,159,119,.085);stroke-width:22}
  .mobile-arch-bg path:last-child{fill:rgba(232,205,178,.045);stroke:rgba(188,148,106,.045);stroke-width:2}
  .mobile-botanical{position:absolute;z-index:-2;width:145px;height:auto;color:#958b69;opacity:.22;filter:blur(5px);pointer-events:none}
  .mobile-botanical path{fill:none;stroke:currentColor;stroke-width:5;stroke-linecap:round}.mobile-botanical ellipse{fill:currentColor;stroke:none}
  .botanical-left{left:-76px;top:92px;transform:rotate(-9deg)}
  .botanical-right{right:-95px;top:427px;transform:scaleX(-1) rotate(-4deg);opacity:.16}
  .mobile-language{position:absolute;top:calc(clamp(16px,2.7svh,23px) + env(safe-area-inset-top));right:22px;z-index:4;display:flex;align-items:center;gap:8px;color:#1f1720;font:500 clamp(14px,2svh,17px)/1 var(--sans)}
  .mobile-language svg{width:clamp(21px,2.9svh,25px);height:clamp(21px,2.9svh,25px);stroke-width:1.55}.mobile-language .language-chevron{width:clamp(14px,2svh,17px);height:clamp(14px,2svh,17px);stroke-width:1.7}
  .mobile-landing-content{width:100%;height:100%;min-height:0;max-width:430px;margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:clamp(50px,8.8svh,83px)}
  .mobile-brand-lockup{display:flex;flex-direction:column;align-items:center;margin-top:0;flex:0 0 auto}
  .mobile-brand-mark{width:clamp(50px,8svh,70px);height:auto;margin-bottom:clamp(2px,.5svh,4px)}.mark-wine{fill:#4d001d}.mark-rose{fill:#a94a5b}.mark-gold{fill:#c99a34}
  .mobile-wordmark{color:#47051c;font:500 clamp(28px,4.35svh,37px)/.95 var(--display-serif);letter-spacing:.065em}
  .mobile-brand-tagline{margin-top:clamp(6px,1.15svh,10px);color:#b28a39;font:700 clamp(7.5px,1.05svh,9px)/1 var(--sans);letter-spacing:.27em;white-space:nowrap}.mobile-brand-tagline i{font-style:normal;margin:0 5px}
  .mobile-hero-copy{margin-top:clamp(14px,3.2svh,32px);flex:0 0 auto}
  .mobile-hero-copy h1{margin:0;color:#390012;font:600 clamp(34px,min(11.2vw,5.6svh),49px)/.91 var(--display-serif);letter-spacing:-.045em}
  .mobile-hero-copy h1 em{color:#a94e60;font-style:normal;font-weight:500}
  .mobile-hero-copy p{margin:clamp(10px,2.2svh,20px) 0 0;color:#2c1620;font:400 clamp(13px,min(4.5vw,2.05svh),17.5px)/1.27 var(--display-serif);letter-spacing:-.014em}
  .mobile-heart-divider{width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(12px,1.9svh,16px);margin:clamp(9px,2.1svh,20px) 0 clamp(9px,1.9svh,18px);padding:0 clamp(38px,13vw,54px);color:#c49731;flex:0 0 auto}
  .mobile-heart-divider span{height:1px;background:#c79b3a}.mobile-heart-divider svg{width:clamp(23px,3.4svh,29px);height:clamp(22px,3.2svh,27px);stroke-width:1.8}
  .mobile-values{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;align-items:start;flex:0 0 auto}
  .mobile-value{display:flex;flex-direction:column;align-items:center;color:#2e1720;font:400 clamp(12.5px,min(4vw,1.85svh),15.5px)/1.08 var(--display-serif)}
  .mobile-value-icon{width:clamp(48px,6.9svh,60px);height:clamp(48px,6.9svh,60px);margin-bottom:clamp(6px,1.05svh,9px);border:1px solid rgba(153,63,84,.17);border-radius:50%;display:grid;place-items:center;background:rgba(248,228,221,.56);box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 5px 14px rgba(103,51,58,.035);color:#8f1839}
  .mobile-value-icon svg{width:clamp(26px,3.8svh,33px);height:clamp(26px,3.8svh,33px);stroke-width:1.55}
  .mobile-landing-actions{width:100%;margin-top:auto;padding-top:clamp(12px,2.8svh,28px);display:flex;flex-direction:column;gap:clamp(7px,1.25svh,11px);flex:0 0 auto}
  .mobile-primary-cta,.mobile-secondary-cta{width:100%;min-height:clamp(48px,6.7svh,58px);border-radius:999px;font:500 clamp(17px,2.45svh,21px)/1 var(--display-serif);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
  .mobile-primary-cta{border:1px solid #7d0d31;background:linear-gradient(135deg,#8d123d,#73102f);box-shadow:0 10px 22px rgba(96,15,43,.16),inset 0 1px 0 rgba(255,255,255,.12);color:white;display:flex;align-items:center;justify-content:center;gap:19px}
  .mobile-primary-cta svg{width:clamp(20px,2.8svh,24px);height:clamp(20px,2.8svh,24px);stroke-width:1.65}
  .mobile-secondary-cta{border:1.6px solid #77152d;background:rgba(255,251,246,.38);color:#77152d;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
  .mobile-primary-cta:active,.mobile-secondary-cta:active{transform:scale(.985)}
  .mobile-how-link{margin-top:clamp(0px,.55svh,5px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:clamp(10px,1.6svh,14px);padding:0 clamp(42px,16vw,65px);color:#7d263c;font:400 clamp(12.5px,1.8svh,15px)/1 var(--display-serif)}
  .mobile-how-link span{height:1px;background:#c79b3a}.mobile-how-link u{text-underline-offset:3px}

  .auth-card-wrap{display:none}
  .auth-card-wrap.is-open{position:fixed;inset:0;z-index:180;display:flex;align-items:flex-end;justify-content:center;padding:48px 10px calc(10px + env(safe-area-inset-bottom));margin:0;background:rgba(45,18,27,.27);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
  .auth-card-wrap.is-open::before{display:none}
  .auth-card{width:100%;max-width:560px;min-height:0;margin:0;padding:32px 23px 26px;border:1px solid rgba(134,79,91,.16);border-radius:30px 30px 22px 22px;background:linear-gradient(180deg,#fffdf9,#fff8f1);box-shadow:0 -10px 38px rgba(59,25,34,.12),0 24px 68px rgba(42,18,25,.24);animation:mobileSheetIn .24s cubic-bezier(.2,.8,.2,1)}
  @keyframes mobileSheetIn{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
  .mobile-auth-close{position:absolute;right:17px;top:16px;width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:#f6ebe6;color:#6e1830;z-index:2}.mobile-auth-close svg{width:18px;height:18px;stroke-width:1.7}
  .auth-card .micro-label{font-size:9px;margin-bottom:8px;padding-right:44px}.auth-card h2{font-size:34px;margin-bottom:10px;padding-right:35px}.auth-card .muted{font-size:13px;line-height:1.58;margin-bottom:21px;padding-right:8px}
  .auth-card .form-field{margin:19px 0}.auth-card .form-field>span{font-size:11px;margin-bottom:8px}.auth-card .form-field input{min-height:66px;border-radius:16px;padding:15px 16px;font-size:16px;border-color:#d6c2b6;background:#fff;box-shadow:0 6px 18px rgba(65,43,36,.05),inset 0 1px 1px rgba(62,42,35,.02)}.auth-card .input-with-icon input{padding-left:51px}.auth-card .input-with-icon>span{left:17px;top:21px}.auth-card .input-with-icon>span svg{width:20px;height:20px}.auth-card .button{min-height:60px;border-radius:16px;font-size:13.5px;box-shadow:0 10px 22px rgba(119,21,45,.18)}.auth-card .fine-print{font-size:9px;line-height:1.55}.auth-divider{margin:19px 0}.auth-quote{display:none}

  .page-shell{padding:22px 14px 94px}
  .dashboard-hero,.match-hero-card{grid-template-columns:1fr}.dashboard-art,.match-art{min-height:165px}.dashboard-copy{padding:28px}.dashboard-copy h1{font-size:38px}

  .wizard-page{padding:0 0 118px;background:#f7eee7}
  .wizard-shell{display:block;min-height:auto;border:0;background:transparent;box-shadow:none}
  .wizard-steps{display:none}
  .wizard-main{padding:14px 12px 118px;background:transparent}
  .wizard-intro{margin:0 0 14px;padding:14px 2px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}
  .wizard-intro::after{display:none}
  .wizard-title-row{gap:10px;align-items:center}.wizard-title-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px;border:1px solid #decfc4;background:#fbf6f2;box-shadow:none}.wizard-title-svg{width:18px;height:18px}
  .wizard-meta{align-items:center;margin-bottom:10px;color:#8d766c;font-size:10px;letter-spacing:.14em}.wizard-meta span{display:inline-flex;align-items:center;gap:8px}.wizard-meta span::before{content:"";display:block;width:8px;height:8px;border-radius:50%;background:var(--wine)}.wizard-meta strong{padding:5px 9px;border:1px solid #dbcabe;border-radius:999px;background:#fbf6f2;color:#6f5a54;font-size:10px}
  .wizard-progress{margin:0 0 12px}.wizard-progress .progress-track{height:5px;background:#e6d8cf}.wizard-progress .progress-track>i{background:var(--wine)}.wizard-main h1{font-size:33px;line-height:1.03;margin-top:0}.wizard-lead{font-size:12.5px;line-height:1.62;padding-right:0;margin-top:8px}
  .form-grid{grid-template-columns:1fr;gap:12px;max-width:none;padding:0}
  .form-grid>.form-field{position:relative;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
  .form-grid>.form-field:focus-within{border-color:transparent;transform:none;box-shadow:none}
  .form-grid>.form-field>span{font-size:11px;margin-bottom:8px}.field-label{font-weight:850;color:#4f3e3b!important}.field-label-icon{width:27px;height:27px;flex-basis:27px;border-radius:8px;background:#f7eee7;border-color:#e1d1c6;box-shadow:none}.field-label-svg{width:14px;height:14px}.form-grid>.form-field input,.form-grid>.form-field select,.form-grid>.form-field textarea{min-height:56px;border-radius:12px;padding:14px 15px;font-size:16px;background:#fffdfa;border:1px solid #d8c8bd;box-shadow:none}.form-grid>.form-field textarea{min-height:132px;font-size:15px}
  .form-field.full,.age-range-card.full,.intent-card,.dealbreakers,.photo-uploader,.privacy-check{grid-column:auto}
  .intent-card,.age-range-card,.dealbreakers,.photo-uploader,.privacy-box{border:0;border-radius:0;background:transparent;box-shadow:none}
  .intent-card{padding:4px 0 0}
  .age-range-card,.dealbreakers{padding:6px 0 0}.field-card-icon{width:29px;height:29px;border-radius:9px;background:#f7eee7;box-shadow:none}.age-pair{grid-template-columns:1fr 18px 1fr;gap:7px;max-width:none}.age-pair .form-field{margin-top:12px}.age-pair .form-field input{font-size:16px;min-height:54px}.range-separator{padding-bottom:17px}.choice-grid{gap:8px}.choice-chip{font-size:10px;padding:9px 11px;background:#fffdfa;border-color:#d9c9bf;box-shadow:none}
  .photo-uploader{grid-template-columns:86px 1fr;padding:0;gap:14px}.photo-preview{width:86px;height:104px;border-radius:14px;box-shadow:none}.photo-actions p{font-size:10px}.privacy-box{padding:0;font-size:10px}
  .profile-review{grid-template-columns:1fr;gap:10px}.review-item{min-height:78px;border-radius:14px;background:#fffdfa;border:1px solid #e0d1c6;box-shadow:none}
  .wizard-actions{position:fixed;left:0;right:0;bottom:0;margin:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid rgba(211,193,181,.9);background:rgba(247,238,231,.96);z-index:110;box-shadow:0 -6px 18px rgba(65,44,37,.04);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .wizard-actions::before{content:none}
  .wizard-actions .button{min-height:54px;border-radius:14px;font-size:12.5px}.wizard-actions .button-outline{background:#fffdfa;border:1px solid #dccdc2;box-shadow:none}.wizard-actions .button-primary{box-shadow:none}

  .match-heading h1{font-size:35px}.payment-callout{grid-template-columns:1fr}.schedule-actions{grid-template-columns:1fr}.how-grid{grid-template-columns:1fr}.fact-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(3,1fr)}
  .public-info{padding:24px 14px 36px;background:radial-gradient(circle at 94% 5%,rgba(196,154,66,.08),transparent 22%),linear-gradient(180deg,#fff8f0,#f4e5da)}
  .public-section{padding:20px 16px;margin-bottom:12px;border:1px solid rgba(126,74,67,.1);border-radius:25px;background:rgba(255,252,247,.78);box-shadow:0 12px 30px rgba(72,43,37,.045);scroll-margin-top:72px}.public-section:last-child{border-bottom:1px solid rgba(126,74,67,.1)}
  .public-section>h2,.split-public h2{font-size:clamp(32px,9vw,42px);margin:5px 0 18px}.public-steps{grid-template-columns:1fr;gap:9px}.public-steps article{min-height:auto;padding:16px;border-radius:18px;display:grid;grid-template-columns:38px 1fr;column-gap:11px;align-items:start}.public-steps article>span{grid-row:1/3;width:36px;height:36px;margin:0}.public-steps h3{font-size:19px;margin:1px 0 4px}.public-steps p{font-size:12.5px;line-height:1.55}.split-public{grid-template-columns:1fr;gap:12px}.split-public>p,.split-public>div>p{font-size:13px;line-height:1.6}.support-link{font-size:20px;margin-top:10px}
  .public-final-cta{margin:18px 0 0;padding:26px 19px;grid-template-columns:1fr;gap:22px;border-radius:28px}.public-final-copy h2{font-size:clamp(37px,10.6vw,47px)}.public-final-copy>p:not(.micro-label){font-size:13px;line-height:1.55}.public-final-actions .button{min-height:54px}
}

@media(max-width:500px){
  body{font-size:14px}
  .mobile-landing{padding-left:18px;padding-right:18px}
  .mobile-language{right:18px}.mobile-brand-tagline{letter-spacing:.25em}.mobile-heart-divider{padding-left:clamp(34px,12vw,48px);padding-right:clamp(34px,12vw,48px)}.mobile-how-link{padding-left:clamp(38px,15vw,58px);padding-right:clamp(38px,15vw,58px)}
  .dashboard-copy{padding:24px}.dashboard-copy h1{font-size:34px}.dashboard-art{min-height:145px}.art-note{font-size:20px}.card{padding:19px}.row-between{align-items:flex-start}.stat-grid{grid-template-columns:1fr}.stat-box{display:grid;grid-template-columns:28px 1fr;column-gap:8px;align-items:center}.stat-icon{grid-row:1/3;margin:0}.stat-box b{font-size:18px}.stat-box>span:last-child{grid-column:2}
  .wizard-main{padding-left:10px;padding-right:10px;padding-bottom:118px}.wizard-intro{padding:19px 16px 18px;border-radius:19px}.wizard-main h1{font-size:31px}.form-grid>.form-field{padding:13px}.wizard-actions .button{flex:1;padding-left:10px;padding-right:10px}.payment-callout{padding:15px}.ticket-main,.ticket-card{padding:16px}.ticket-ribbon{margin:16px -16px -16px}.match-copy{padding:21px}.match-copy h2{font-size:28px}.flow-block{padding:18px}.profile-card-top{align-items:center}
}

@media(max-width:820px) and (max-height:640px){
  .mobile-landing{padding-top:calc(10px + env(safe-area-inset-top));padding-bottom:calc(10px + env(safe-area-inset-bottom))}
  .mobile-language{top:calc(12px + env(safe-area-inset-top));font-size:13px;gap:6px}.mobile-language svg{width:19px;height:19px}.mobile-language .language-chevron{width:13px;height:13px}
  .mobile-landing-content{padding-top:38px}
  .mobile-brand-mark{width:42px}.mobile-wordmark{font-size:25px}.mobile-brand-tagline{margin-top:5px;font-size:7px}
  .mobile-hero-copy{margin-top:10px}.mobile-hero-copy h1{font-size:30px}.mobile-hero-copy p{margin-top:8px;font-size:11.5px;line-height:1.2}
  .mobile-heart-divider{margin:7px 0;padding-left:40px;padding-right:40px;gap:10px}.mobile-heart-divider svg{width:21px;height:20px}
  .mobile-value{font-size:11.5px}.mobile-value-icon{width:40px;height:40px;margin-bottom:5px}.mobile-value-icon svg{width:23px;height:23px}
  .mobile-landing-actions{padding-top:8px;gap:6px}.mobile-primary-cta,.mobile-secondary-cta{min-height:44px;font-size:17px}.mobile-primary-cta svg{width:19px;height:19px}.mobile-how-link{margin-top:0;padding-left:44px;padding-right:44px;font-size:12px;gap:9px}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ========================================================================
   UNIQAH app experience v3 — full-height wizard + native-feeling routes
   2026-09-11
   ======================================================================== */
:root{
  --uniqah-burgundy:#720d31;
  --uniqah-burgundy-deep:#430018;
  --uniqah-rose:#a94e60;
  --uniqah-gold:#c49a42;
  --uniqah-gold-soft:#e5c991;
  --uniqah-ivory:#fffaf3;
  --uniqah-ivory-2:#f6e7db;
  --uniqah-card:rgba(255,252,247,.94);
  --uniqah-hairline:rgba(126,74,67,.14);
  --uniqah-luxe-shadow:0 28px 76px rgba(71,24,39,.13),0 5px 18px rgba(75,46,39,.055);
  --app-header:76px;
  --app-nav-mobile:84px;
}
html{overscroll-behavior:none}
body{-webkit-tap-highlight-color:transparent}
button,a,input,select,textarea{touch-action:manipulation}
.noscript-note{position:fixed;inset:auto 16px 16px;z-index:999;padding:14px 16px;border-radius:14px;background:#430018;color:#fff;text-align:center;box-shadow:var(--shadow-lg)}

/* Public pages retain the landing-screen visual language. */
.public-info{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 8%,rgba(196,154,66,.075),transparent 25%),linear-gradient(180deg,#fff9f1,#f6e9de)}
.public-info::before{content:"";position:absolute;right:-140px;top:120px;width:420px;height:720px;border:1px solid rgba(181,139,91,.12);border-bottom:0;border-radius:215px 215px 0 0;box-shadow:0 0 0 18px rgba(255,255,255,.11)}
.public-steps article{border-radius:22px;border-color:rgba(128,78,68,.13);background:linear-gradient(145deg,rgba(255,253,249,.96),rgba(250,238,230,.88));box-shadow:0 13px 32px rgba(72,43,37,.055),inset 0 1px 0 rgba(255,255,255,.9)}
.public-steps article>span{background:rgba(246,225,217,.72);color:#831435;border:1px solid rgba(145,66,85,.11)}
.public-section>h2,.split-public h2,.public-steps h3,.support-link{font-family:var(--display-serif);color:#4c021c}

@media(min-width:821px){
  body[data-mode="guest"] .auth-view{background:linear-gradient(105deg,#fff9f1 0%,#f5e6dc 59%,#fffaf5 59%,#fffdf9 100%)}
  body[data-mode="guest"] .auth-hero{background:radial-gradient(circle at 63% 18%,rgba(255,255,255,.85) 0 8%,rgba(255,243,220,.47) 9% 21%,transparent 39%),linear-gradient(180deg,#fff8ef 0%,#f3e2d6 63%,#e7d0bf 100%)}
  body[data-mode="guest"] .auth-copy h1{color:#430018;font-family:var(--display-serif);font-weight:600}
  body[data-mode="guest"] .hero-lead{color:#513a40;font-family:var(--display-serif)}
  body[data-mode="guest"] .auth-feature-card{border-radius:24px;background:linear-gradient(135deg,#81133a,#550720 58%,#390013)}
  body[data-mode="guest"] .auth-card{border-radius:28px}
}

/* ------------------------------------------------------------------------
   MEMBER APP SHELL
   ------------------------------------------------------------------------ */
body[data-mode="member"]{height:100dvh;overflow:hidden;background:#f7eadf}
body[data-mode="member"] #app{width:100%;height:100dvh;min-height:0;overflow:hidden;background:radial-gradient(circle at 88% 8%,rgba(196,154,66,.09),transparent 24%),linear-gradient(180deg,#fffaf3 0%,#f7eadf 100%);box-shadow:none}
body[data-mode="member"] .site-header{height:var(--app-header);padding:0 clamp(24px,4vw,58px);background:#fffaf5;border-bottom:1px solid #e3d5cc;box-shadow:none}
body[data-mode="member"] .brand{font-family:var(--display-serif);font-size:22px;color:#650c2a;gap:9px}
body[data-mode="member"] .brand img{width:44px;height:44px}
body[data-mode="member"] .brand-copy{flex-direction:column;align-items:flex-start;justify-content:center;gap:3px}
body[data-mode="member"] .brand-tagline{display:block;color:#8e746c;font:700 6px/1 var(--sans);letter-spacing:.22em;white-space:nowrap}
body[data-mode="member"] .bell-btn{display:grid;color:#875e60}
body[data-mode="member"] .bell-btn .nav-icon{width:22px;height:22px;stroke-width:1.6}
body[data-mode="member"] .account-btn .avatar{background:#8a1638}
body[data-mode="member"] .member-nav a{font-size:13px}
body[data-mode="member"] main,body[data-mode="member"] #userView{height:calc(100dvh - var(--app-header));min-height:0;overflow:hidden}
body[data-mode="member"] .route,body[data-mode="member"] .page-shell,body[data-mode="member"] .wizard-page{height:100%;min-height:0!important;max-width:none;margin:0;padding:0;overflow:hidden;background:transparent}
body[data-mode="member"] #route-dashboard,body[data-mode="member"] #route-how{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
body[data-mode="member"] #route-dashboard .member-stage,body[data-mode="member"] #route-how .member-stage{height:auto;min-height:100%;overflow:visible}
body[data-mode="member"] #route-match{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
body[data-mode="member"] #route-match .member-stage{height:auto;min-height:100%;overflow:visible}
body[data-mode="member"] .route:not([hidden]){animation:routeEnter .28s cubic-bezier(.22,.8,.27,1) both}
@keyframes routeEnter{from{opacity:.2;transform:translateY(8px) scale(.996)}to{opacity:1;transform:none}}

.member-stage{position:relative;isolation:isolate;width:100%;height:100%;min-height:0;overflow:hidden;padding:clamp(28px,4.5vh,54px) clamp(30px,5.6vw,86px);background:radial-gradient(circle at 52% 8%,rgba(255,255,255,.84),transparent 32%),linear-gradient(180deg,#fff9f1 0%,#f7eadf 100%)}
.member-stage::before{content:"";position:absolute;z-index:-3;right:-4%;top:-13%;width:min(45vw,650px);height:112%;border:1px solid rgba(188,148,106,.16);border-bottom:0;border-radius:48% 48% 0 0;box-shadow:0 0 0 22px rgba(255,255,255,.12)}
.member-stage::after{content:"";position:absolute;z-index:-4;left:-10%;bottom:-48%;width:46vw;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(117,16,51,.08),transparent 66%)}
.stage-ornament{position:absolute;z-index:-2;left:6%;top:9%;width:105px;height:300px;opacity:.10;filter:blur(1.2px);transform:rotate(-18deg);border-left:3px solid #7f7459;border-radius:50%}
.stage-ornament::before,.stage-ornament::after{content:"";position:absolute;width:64px;height:24px;border-radius:60% 10% 60% 10%;background:#7f7459;transform:rotate(-34deg)}
.stage-ornament::before{left:-50px;top:74px;box-shadow:38px 64px 0 #7f7459,-2px 125px 0 #7f7459,31px 188px 0 #7f7459}
.stage-ornament::after{left:2px;top:33px;transform:scaleX(-1) rotate(-32deg);box-shadow:31px 72px 0 #7f7459,-7px 142px 0 #7f7459}
.stage-copy{align-self:center;max-width:720px;position:relative;z-index:2}
.stage-copy h1,.how-stage-head h1,.engine-copy h1{margin:0;color:var(--uniqah-burgundy-deep);font:600 clamp(52px,5.2vw,82px)/.94 var(--display-serif);letter-spacing:-.045em}
.stage-copy h1 em,.how-stage-head h1 em,.engine-copy h1 em{font-weight:400;color:#8f3650}
.stage-copy>p:not(.micro-label),.how-stage-head>p:not(.micro-label),.engine-copy>p:not(.micro-label){max-width:620px;margin:18px 0 0;color:#665055;font:400 17px/1.58 var(--display-serif)}
.stage-actions{display:flex;gap:12px;align-items:center;margin-top:28px}
body[data-mode="member"] .button{min-height:50px;padding:12px 19px;border-radius:14px;font-size:13px}
body[data-mode="member"] .button-primary{box-shadow:0 10px 24px rgba(116,20,48,.16)}
.button-ghost{background:rgba(255,253,249,.62);border:1px solid rgba(119,21,45,.15);color:#6f1430}

/* Dashboard */
.dashboard-stage{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(420px,.76fr);grid-template-rows:minmax(0,1fr) auto;gap:clamp(24px,3.2vw,50px);align-items:center}
.dashboard-stage-copy h1{font-size:clamp(54px,5.5vw,86px)}
.live-analysis-card{align-self:center;justify-self:stretch;min-height:0;padding:clamp(26px,3vw,36px);border:1px solid rgba(130,74,83,.15);border-radius:34px;background:linear-gradient(150deg,rgba(255,253,249,.97),rgba(248,234,228,.92));box-shadow:var(--uniqah-luxe-shadow);overflow:hidden;position:relative}
.live-analysis-card::after{content:"";position:absolute;right:-50px;top:-92px;width:210px;height:300px;border:1px solid rgba(191,149,92,.14);border-bottom:0;border-radius:106px 106px 0 0;pointer-events:none}
.analysis-card-head{display:flex;align-items:center;gap:9px;color:#7c5961;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.analysis-card-head b{margin-left:auto;padding:6px 10px;border-radius:999px;background:#f5e5e8;color:#7b1532;font-size:9px;letter-spacing:.1em}
.live-dot{width:8px;height:8px;border-radius:50%;background:#6f9b70;box-shadow:0 0 0 0 rgba(96,145,97,.42);animation:livePulse 1.8s ease-out infinite}
@keyframes livePulse{70%{box-shadow:0 0 0 10px rgba(96,145,97,0)}100%{box-shadow:0 0 0 0 rgba(96,145,97,0)}}
.analysis-orbit{position:relative;width:clamp(160px,14vw,210px);aspect-ratio:1;margin:clamp(18px,2vh,25px) auto 10px;display:grid;place-items:center}
.orbit-ring{position:absolute;inset:9%;border:1px solid rgba(118,17,48,.19);border-radius:50%;animation:orbitSpin 10s linear infinite}.orbit-b{inset:23%;border-style:dashed;animation-direction:reverse;animation-duration:7s}
.analysis-heart{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#7d1237,#4f061f);color:#fff;box-shadow:0 12px 30px rgba(105,14,45,.2)}
.analysis-heart-icon{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.scan-node{position:absolute;width:12px;height:12px;border-radius:50%;background:#c89c4c;box-shadow:0 0 0 6px rgba(200,156,76,.11)}.node-a{top:7%;left:45%}.node-b{right:9%;bottom:28%}.node-c{left:13%;bottom:22%}
@keyframes orbitSpin{to{transform:rotate(360deg)}}
.analysis-copy{text-align:center}.analysis-copy h2{margin:10px 0 7px;color:#4c031c;font:600 clamp(28px,2.5vw,36px)/1.04 var(--display-serif)}.analysis-copy p{margin:0 auto;max-width:500px;color:#756066;font-size:13px;line-height:1.55}
.analysis-signals{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px}.signal{display:flex;align-items:center;gap:6px;padding:8px 11px;border-radius:999px;border:1px solid rgba(122,69,76,.12);background:rgba(255,255,255,.69);color:#715c60;font-size:11px}.signal .ui-icon{width:14px;height:14px}.signal.active{animation:signalGlow 3.2s ease-in-out infinite}.signal.delay-one{animation-delay:.7s}.signal.delay-two{animation-delay:1.4s}@keyframes signalGlow{0%,100%{border-color:rgba(122,69,76,.11);background:rgba(255,255,255,.62)}45%{border-color:rgba(183,132,62,.4);background:#fff9ed}}
.dashboard-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid rgba(126,74,67,.13);border-radius:22px;background:rgba(255,252,247,.75);box-shadow:0 12px 34px rgba(71,42,36,.045);backdrop-filter:blur(12px)}
.dashboard-strip>div{padding:14px 20px;border-right:1px solid rgba(126,74,67,.1)}.dashboard-strip>div:last-child{border-right:0}.dashboard-strip small{display:block;color:#9a7d78;font-size:10px;text-transform:uppercase;letter-spacing:.11em}.dashboard-strip b{display:block;margin-top:3px;color:#5a0a24;font:600 20px var(--display-serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ------------------------------------------------------------------------
   PROFILE WIZARD — cohesive responsive app flow
   ------------------------------------------------------------------------ */
body[data-route="profile"]{background:#f7eee8}
.profile-app-shell{position:relative;width:100%;height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;background:#f7eee8}
.profile-app-shell::before{content:"";position:absolute;right:-180px;top:-220px;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.34);pointer-events:none}
.profile-app-ornament{display:none}
.profile-app-body{position:relative;z-index:1;min-height:0;display:grid;grid-template-columns:220px minmax(0,720px) 230px;justify-content:center;gap:28px;padding:24px 32px 18px;overflow:auto}
.profile-app-body>.wizard-steps{align-self:center;padding:0;background:transparent;border:0}
.profile-app-body .wizard-step-label{padding:0 10px 12px;color:#9a7a6e;font-size:9px;font-weight:900;letter-spacing:.15em}
.profile-app-body .wizard-step{grid-template-columns:34px 1fr;gap:10px;margin:0 0 6px;padding:10px;border-radius:13px;color:#8b7770}
.profile-app-body .wizard-step.active{background:#fffaf6;color:#5b1029;box-shadow:0 8px 20px rgba(84,47,43,.045)}
.profile-app-body .wizard-step.complete{color:#5f775f}
.profile-app-body .step-number{width:32px;height:32px;border:1px solid #dfcfc4;background:#fbf5f0;box-shadow:none;font-size:10px}
.profile-app-body .wizard-step.active .step-number{border-color:#7d1730;background:#7d1730;color:#fff;box-shadow:none}
.profile-app-body .wizard-step.complete .step-number{border-color:#6f8b71;background:#6f8b71;color:#fff}
.profile-app-body .wizard-step b{font-size:12px}.profile-app-body .wizard-step small{font-size:8.5px;margin-top:2px}

.profile-wizard-main{align-self:center;justify-self:center;width:100%;min-width:0;max-height:100%;padding:27px 30px 30px;border:1px solid #e7d8cf;border-radius:24px;background:#fffaf6;box-shadow:0 16px 42px rgba(73,43,39,.06);overflow:auto}
.profile-modal-head{display:block;padding:0}
.profile-step-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#9a786d;font-size:9px;font-weight:900;letter-spacing:.13em}
.profile-step-row b{color:#7c5f57;font-size:9px;white-space:nowrap}
.profile-major-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:10px 0 18px}
.profile-major-progress i{height:4px;border-radius:999px;background:#e7d9d0}
.profile-major-progress i.is-done,.profile-major-progress i.active{background:#7d1730}
.profile-modal-head h2{margin:0;color:#501026;font:600 32px/1.06 var(--display-serif);letter-spacing:-.025em}
.profile-modal-head>p{max-width:560px;margin:7px 0 0;color:#796761;font-size:13px;line-height:1.48}
.profile-subprogress{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:19px 0 16px;padding-top:14px;border-top:1px solid #eee2da;color:#8d776f;font-size:10px;font-weight:750}
.profile-subprogress-track{display:grid;grid-template-columns:repeat(var(--pane-count,4),18px);gap:5px}
.profile-subprogress-track i{height:3px;border-radius:999px;background:#e4d6cd}
.profile-subprogress-track i.is-done,.profile-subprogress-track i.active{background:#aa6677}
.profile-wizard-content{min-height:0}
.profile-modal-form,.profile-pane{min-height:0}
.profile-pane:not([hidden]){display:block;animation:profilePaneIn .18s ease both}
@keyframes profilePaneIn{from{opacity:.35;transform:translateX(5px)}to{opacity:1;transform:none}}

.compact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px;margin:0}
.compact-span{grid-column:1/-1}
.compact-form-grid>.form-field{min-width:0;margin:0;padding:0;border:0;background:transparent;box-shadow:none;display:block}
.compact-form-grid>.form-field:focus-within{border:0;box-shadow:none;transform:none}
.field-label{display:block!important;margin:0 0 7px!important;color:#5a4b47!important;font-size:10.5px!important;font-weight:700!important;line-height:1.2;letter-spacing:.002em}
.field-control{position:relative;display:block;min-width:0;margin:0!important}
.field-control-icon{position:absolute;z-index:2;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;display:grid;place-items:center;color:#9a867d;pointer-events:none}
.field-control-textarea .field-control-icon{top:16px;transform:none}
.field-control-svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.field-control-suffix{position:absolute;z-index:2;right:13px;top:50%;transform:translateY(-50%);color:#9a847b;font-size:10.5px;font-weight:700;pointer-events:none}
.form-field:focus-within .field-control-icon{color:#7d1730}
.profile-wizard-main .field-control>input,.profile-wizard-main .field-control>select,.profile-wizard-main .field-control>textarea{display:block;box-sizing:border-box;width:100%;min-width:0;height:50px;min-height:50px;max-height:50px;padding:0 13px 0 43px;border:1px solid #dacbc1;border-radius:12px;background:#fffdfa;color:#493d39;outline:0;box-shadow:0 1px 4px rgba(65,43,38,.018);font-family:var(--sans);font-size:14px;font-weight:400;line-height:1.25;letter-spacing:0;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.profile-wizard-main .field-control>select{padding-right:38px;-webkit-appearance:none;appearance:none;cursor:pointer}
.field-select .field-control::after{content:"";position:absolute;z-index:2;right:15px;top:50%;width:6px;height:6px;border-right:1.5px solid #927c73;border-bottom:1.5px solid #927c73;transform:translateY(-66%) rotate(45deg);pointer-events:none}
.field-control.has-suffix input{padding-right:42px}
.profile-wizard-main .field-control>textarea{height:96px;min-height:96px;max-height:none;padding:13px 13px 13px 43px;resize:vertical;line-height:1.45}
.profile-wizard-main .field-control>input::placeholder,.profile-wizard-main .field-control>textarea::placeholder{color:#b3a49e;font-size:13.5px;font-weight:400}
.profile-wizard-main .field-control>input:focus,.profile-wizard-main .field-control>select:focus,.profile-wizard-main .field-control>textarea:focus{border-color:#ae7481;background:#fff;box-shadow:0 0 0 3px rgba(125,23,48,.045)}
.profile-wizard-main .field-control>input[type="date"]{-webkit-appearance:none;appearance:none;color:#4b3f3b}
.profile-wizard-main .field-control>input[type="number"]{-moz-appearance:textfield}
.profile-wizard-main .field-control>input[type="number"]::-webkit-inner-spin-button,.profile-wizard-main .field-control>input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.field-ageMin .field-control-icon,.field-ageMax .field-control-icon{display:none}
.field-ageMin input,.field-ageMax input{padding-left:13px!important;text-align:center;font-variant-numeric:tabular-nums}
.field-date .field-control-icon{color:#8f7166}
.field-email .field-control-icon,.field-tel .field-control-icon{color:#8c746b}

.modal-insight{grid-column:1/-1;display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #e4d5cc;border-radius:12px;background:#f4e9e2;color:#75615d;font-size:10.5px;line-height:1.45;box-shadow:none}
.modal-insight .ui-icon{width:15px;height:15px;flex:0 0 15px;color:#7d1730}
.modal-insight.success{background:#eef4eb;border-color:#d6e3d2;color:#516b53}

.profile-wizard-main .age-range-card,.profile-wizard-main .dealbreakers,.profile-wizard-main .photo-uploader,.profile-wizard-main .privacy-box{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.field-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.field-card-head>div{display:flex;align-items:center;gap:9px}
.field-card-icon{width:31px;height:31px;flex:0 0 31px;border-radius:10px;display:grid;place-items:center;background:#f0e2dc;color:#7d1730}
.field-card-icon .ui-icon{width:15px;height:15px}
.profile-wizard-main .field-card-head b{font-size:12px;color:#554746}.profile-wizard-main .help-text{font-size:10px;color:#917e77}
.profile-wizard-main .age-pair{display:grid;grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);align-items:end;gap:8px;max-width:none;margin-top:12px}
.profile-wizard-main .age-pair .form-field{min-width:0;margin:0}.profile-wizard-main .age-pair input{min-height:50px}
.range-separator{padding-bottom:16px;text-align:center;color:#a69188}
.preference-range-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:18px;align-items:start}
.preference-age-card,.preference-range-side{min-width:0}.preference-range-side{display:grid;gap:17px}
.profile-wizard-main .choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:11px}
.profile-wizard-main .choice-chip{min-width:0;min-height:44px;padding:9px 10px;border:1px solid #ddcec4;border-radius:12px;background:#fff;color:#5f4d49;font-size:11px;box-shadow:none}
.profile-wizard-main .choice-chip:has(input:checked){border-color:#aa6c7c;background:#f7e8eb;color:#65162c}

.profile-wizard-main .photo-uploader{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:20px}
.profile-wizard-main .photo-preview{width:120px;aspect-ratio:4/5;height:auto;border:1px solid #ddcec4;border-radius:17px;background:#f5ebe5;box-shadow:none}
.profile-wizard-main .photo-actions{min-width:0}.profile-wizard-main .photo-actions b{display:block;color:#541128;font:600 20px/1.1 var(--display-serif)}.profile-wizard-main .photo-actions p{max-width:390px;margin:6px 0 12px;color:#806d67;font-size:11px;line-height:1.5}.profile-wizard-main .photo-actions .button{min-height:42px;border-radius:11px}

.dealbreaker-panel{display:grid;gap:12px}
.dealbreaker-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.dealbreaker-head>div{display:flex;align-items:center;gap:10px;min-width:0}.dealbreaker-head .micro-label{margin:0 0 2px;color:#a07b6c;font-size:8.5px}.dealbreaker-head b{display:block;color:#531027;font:600 20px/1.1 var(--display-serif)}.dealbreaker-head>small{max-width:210px;color:#88736e;font-size:10px;line-height:1.4;text-align:right}
.dealbreaker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.dealbreaker-option{position:relative;min-width:0;display:grid;grid-template-columns:22px 34px minmax(0,1fr);align-items:center;gap:10px;padding:11px 12px;border:1px solid #e1d3ca;border-radius:14px;background:#fff;cursor:pointer;box-shadow:none;transition:border-color .15s ease,background .15s ease}
.dealbreaker-option>input{position:absolute;opacity:0;pointer-events:none}.dealbreaker-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f1e4de;color:#7d1730}.dealbreaker-icon .ui-icon{width:16px;height:16px}.dealbreaker-copy{min-width:0;align-self:center}.dealbreaker-copy b{display:block;color:#5b1830;font:600 15px/1.12 var(--display-serif);word-break:normal}.dealbreaker-copy small{display:block;margin-top:3px;color:#8b7770;font-size:9px;line-height:1.3}.dealbreaker-check{width:22px;height:22px;border:1px solid #d4c1b7;border-radius:7px;display:grid;place-items:center;background:#fff;color:transparent}.dealbreaker-check .ui-icon{width:12px;height:12px}.dealbreaker-option:has(input:checked){border-color:#ad7180;background:#fbf1f2}.dealbreaker-option:has(input:checked) .dealbreaker-icon,.dealbreaker-option:has(input:checked) .dealbreaker-check{border-color:#7d1730;background:#7d1730;color:#fff}.dealbreaker-option:focus-within{box-shadow:0 0 0 3px rgba(125,23,48,.08)}
.dealbreaker-note{display:flex;align-items:center;gap:8px;padding:9px 11px;border-radius:11px;background:#f2e5df;color:#79645f;font-size:10px}.dealbreaker-note .ui-icon{width:14px;height:14px;color:#8b2948}

.profile-privacy-flow{display:grid;gap:18px}
.privacy-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.privacy-consent-row{grid-column:1/-1;display:grid;grid-template-columns:22px minmax(0,1fr);gap:11px;align-items:start;padding:14px;border:1px solid #dfd0c7;border-radius:14px;background:#fff;cursor:pointer;box-shadow:none}.privacy-consent-row>input{appearance:auto;width:19px;height:19px;margin:1px 0 0;accent-color:#7d1730}.privacy-consent-copy b{display:block;color:#57152a;font-size:12px;line-height:1.35}.privacy-consent-copy small{display:block;margin-top:4px;color:#806d67;font-size:10px;line-height:1.45}.privacy-consent-row:focus-within{box-shadow:0 0 0 3px rgba(125,23,48,.07)}
.privacy-reassurance{grid-column:1/-1;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:10px;padding:11px 13px;border-radius:12px;background:#f2e5df;color:#705a5a}.privacy-reassurance>.ui-icon{width:16px;height:16px;justify-self:center;color:#7d1730}.privacy-reassurance b{display:block;color:#59152b;font:600 14px var(--display-serif)}.privacy-reassurance small{display:block;margin-top:2px;font-size:9.5px;line-height:1.4}

.compact-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.compact-review .review-item{position:relative;min-height:78px;padding:14px 12px 12px 48px;border:1px solid #e1d3ca;border-radius:14px;background:#fff;box-shadow:none}.compact-review .review-icon{position:absolute;left:12px;top:14px;width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:#f1e4de;color:#7d1730}.compact-review .review-icon .ui-icon{width:13px;height:13px}.compact-review .review-item small{display:block;color:#927d76;font-size:8.5px;text-transform:uppercase;letter-spacing:.08em}.compact-review .review-item b{display:block;margin-top:3px;color:#561129;font:600 17px var(--display-serif)}

.profile-context-card{align-self:center;margin:0;padding:20px;border:1px solid #e4d5cc;border-radius:20px;background:#f3e5de;color:#725f5b}.profile-context-card>span{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#7d1730;color:#fff;margin-bottom:14px}.profile-context-card>span .ui-icon{width:17px;height:17px}.profile-context-card .micro-label{margin:0;color:#9a796d;font-size:8px}.profile-context-card h3{margin:5px 0 7px;color:#551027;font:600 20px/1.1 var(--display-serif)}.profile-context-card p:not(.micro-label){margin:0;font-size:10.5px;line-height:1.5}
.profile-pane-extra,.profile-inline-context,.profile-adaptive-helper{display:none}
.profile-pane-extra{margin-top:calc(16px + var(--profile-breathe));padding:15px 16px;border:1px solid #e2d3ca;border-radius:15px;background:rgba(255,250,246,.58);color:#745f59}
.profile-pane-extra-head{display:flex;align-items:flex-start;gap:11px}.profile-pane-extra-head>span{width:30px;height:30px;flex:0 0 30px;border-radius:10px;display:grid;place-items:center;background:#efe0d9;color:#7d1730}.profile-pane-extra-head>span .ui-icon{width:14px;height:14px}.profile-pane-extra-head b{display:block;color:#561329;font-size:11.75px;line-height:1.25}.profile-pane-extra-head p{margin:4px 0 0;color:#7e6963;font-size:10.6px;line-height:1.5}.profile-pane-extra-list{margin:11px 0 0;padding:0;list-style:none;display:grid;gap:7px}.profile-pane-extra-list li{display:flex;align-items:flex-start;gap:8px;color:#6e5d58;font-size:10.35px;line-height:1.42}.profile-pane-extra-list .ui-icon{width:13px;height:13px;flex:0 0 13px;color:#8b2948;margin-top:1px}

.profile-app-actions{position:relative;z-index:2;display:grid;grid-template-columns:minmax(140px,180px) 1fr minmax(180px,220px);align-items:center;gap:14px;padding:12px 32px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e5d7ce;background:#f7eee8;box-shadow:none}
.profile-app-actions .button{width:100%;min-height:50px;border-radius:13px;font-size:12.5px;box-shadow:none}.profile-app-actions .button-outline{background:#fff;border:1px solid #dccdc3;color:#76635d}.profile-app-actions .button-primary{background:#7d1730;border-color:#7d1730;color:#fff}.profile-action-meta{text-align:center;color:#8b756e;font-size:9.5px;font-weight:750;letter-spacing:.04em}

@media(max-width:1100px) and (min-width:821px){
  .profile-app-body{grid-template-columns:190px minmax(0,660px);gap:22px;padding-inline:24px}.profile-context-card{display:none}.profile-wizard-main{padding:25px 26px}.profile-modal-head h2{font-size:30px}
}

@media(max-width:820px){
  body[data-route="profile"]{background:#f6ece5}
  .profile-app-shell{--profile-breathe:0px;height:100%;grid-template-rows:minmax(0,1fr) auto;background:#f6ece5}
  .profile-app-shell::before{right:-170px;top:-210px;width:400px;height:400px;background:rgba(255,255,255,.28)}
  .profile-app-body{display:block;min-height:0;padding:14px 16px 10px;overflow:auto;-webkit-overflow-scrolling:touch}
  .profile-app-body>.wizard-steps,.profile-context-card{display:none}
  body[data-mode="member"][data-route="profile"] .profile-wizard-main{width:100%;max-width:560px;max-height:none;margin:0 auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
  .profile-step-row{font-size:9px}.profile-step-row b{font-size:9px}
  .profile-major-progress{gap:5px;margin:9px 0 calc(16px + var(--profile-breathe))}.profile-major-progress i{height:3px}
  .profile-modal-head h2{font-size:27px;line-height:1.08;letter-spacing:-.018em}.profile-modal-head>p{max-width:410px;margin-top:calc(6px + var(--profile-breathe));font-size:12.75px;line-height:1.46}
  .profile-subprogress{margin:calc(15px + var(--profile-breathe)) 0 calc(17px + var(--profile-breathe));padding-top:12px;font-size:10px}.profile-subprogress-track{grid-template-columns:repeat(var(--pane-count,4),16px);gap:4px}.profile-subprogress-track i{height:3px}
  .compact-form-grid{grid-template-columns:1fr;gap:calc(14px + var(--profile-breathe))}.compact-span{grid-column:1}
  .field-label{margin-bottom:7px!important;font-size:10.75px!important;font-weight:700!important}.field-control-icon{left:13px;width:17px;height:17px}.field-control-svg{width:14px;height:14px}.field-control-suffix{right:12px;font-size:10.5px}
  .profile-wizard-main .field-control>input,.profile-wizard-main .field-control>select{height:48px;min-height:48px;max-height:48px;padding:0 38px 0 40px;border-radius:12px;font-size:14.25px;font-weight:400;line-height:1.2}.profile-wizard-main .field-control>textarea{height:92px;min-height:92px;padding:12px 12px 12px 40px;font-size:14.25px;font-weight:400}
  .profile-wizard-main .field-control>input::placeholder,.profile-wizard-main .field-control>textarea::placeholder{font-size:13.75px;font-weight:400}
  .field-control.has-suffix input{padding-right:39px}.field-ageMin input,.field-ageMax input{padding-left:12px!important;padding-right:12px!important}.field-select .field-control::after{right:14px;width:5px;height:5px}
  .modal-insight{padding:11px 12px;border-radius:11px;font-size:10.75px}
  .profile-wizard-main .age-pair{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:7px;margin-top:9px}.profile-wizard-main .age-pair input{height:48px;min-height:48px;max-height:48px}.range-separator{padding-bottom:15px}
  .preference-range-layout .field-label{margin-bottom:7px!important}.preference-range-layout .field-control{width:100%}.preference-range-side .form-field{display:block}
  .preference-range-layout{display:grid;grid-template-columns:1fr;gap:16px}.preference-range-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.preference-age-card{min-width:0}.preference-range-side>.form-field{min-width:0;margin:0}
  .profile-wizard-main .choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-wizard-main .choice-chip{min-height:44px;padding:9px 10px;font-size:11.25px}
  .profile-wizard-main .photo-uploader{grid-template-columns:96px minmax(0,1fr);gap:15px}.profile-wizard-main .photo-preview{width:96px;border-radius:14px}.profile-wizard-main .photo-actions b{font-size:18px}.profile-wizard-main .photo-actions p{margin:5px 0 10px;font-size:10.75px;line-height:1.45}.profile-wizard-main .photo-actions .button{min-height:41px;padding:8px 10px}
  .profile-privacy-flow{gap:15px}.profile-privacy-flow .profile-grid-contact{padding-top:1px}.profile-privacy-consent{gap:9px}
  .dealbreaker-panel{gap:10px}.dealbreaker-head{gap:9px}.dealbreaker-head>small{display:none}.dealbreaker-head b{font-size:17px;line-height:1.12}.dealbreaker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dealbreaker-option{grid-template-columns:20px 30px minmax(0,1fr);gap:8px;padding:10px 10px 10px 9px;border-radius:12px;min-height:66px}.dealbreaker-icon{width:30px;height:30px;border-radius:9px}.dealbreaker-icon .ui-icon{width:14px;height:14px}.dealbreaker-copy b{font-size:13.5px;line-height:1.12}.dealbreaker-copy small{display:none}.dealbreaker-check{width:20px;height:20px}.dealbreaker-note{padding:8px 9px;font-size:9.5px}
  .privacy-contact-grid{grid-template-columns:1fr}.privacy-consent-row{grid-column:1;padding:13px}.privacy-consent-copy b{font-size:12px}.privacy-consent-copy small{font-size:10.25px;line-height:1.45}.privacy-reassurance{grid-column:1;padding:11px 12px}
  .compact-review{grid-template-columns:1fr 1fr;gap:8px}.compact-review .review-item{min-height:72px;padding:12px 9px 10px 41px;border-radius:12px}.compact-review .review-icon{left:9px;top:12px;width:25px;height:25px}.compact-review .review-item b{font-size:14.75px}
  .profile-pane-extra:not([hidden]){display:block}
  .profile-app-shell[data-profile-extra="hide"] .profile-pane-extra{display:none}
  .profile-pane-extra{margin-top:calc(16px + var(--profile-breathe));padding:15px 15px 14px;border-radius:14px}.profile-pane-extra-head{gap:10px}.profile-pane-extra-head>span{width:29px;height:29px;flex-basis:29px;border-radius:9px}.profile-pane-extra-head b{font-size:11.75px}.profile-pane-extra-head p{font-size:10.6px}.profile-pane-extra-list{margin-top:10px;gap:7px}.profile-pane-extra-list li{font-size:10.35px}
  .profile-app-shell[data-profile-context="show"] .profile-inline-context{display:flex;align-items:flex-start;gap:10px;margin-top:calc(15px + var(--profile-breathe));padding:13px 1px 2px;border-top:1px solid #e5d8cf;color:#7e6a63}
  .profile-inline-context>span{width:29px;height:29px;flex:0 0 29px;border-radius:9px;display:grid;place-items:center;background:#efe0d9;color:#7d1730}.profile-inline-context>span .ui-icon{width:14px;height:14px}.profile-inline-context b{display:block;color:#5c4944;font-size:10.9px}.profile-inline-context p{margin:3px 0 0;font-size:10.35px;line-height:1.46}
  .profile-app-shell[data-profile-helper="show"] .profile-adaptive-helper{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:calc(10px + var(--profile-breathe));padding:8px 0 1px;color:#8c7770;font-size:9.75px}
  .profile-adaptive-helper span{display:flex;align-items:center;gap:5px;min-width:0}.profile-adaptive-helper .ui-icon{width:12px;height:12px;color:#8b2948}.profile-adaptive-helper b{font-weight:700;white-space:nowrap}.profile-adaptive-helper i{width:1px;height:13px;background:#dfd0c7}
  .profile-app-actions{grid-template-columns:1fr 1fr;gap:8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#f6ece5}.profile-app-actions .button{min-height:49px;border-radius:12px;font-size:12.5px}.profile-action-meta{display:none}
}

@media(min-width:390px) and (max-width:820px){
  .profile-grid-basics-primary,.profile-grid-basics-secondary,.profile-grid-deen-primary,.profile-grid-marriage-intent,.profile-grid-preference-start,.profile-grid-partner-main,.profile-grid-contact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-grid-basics-primary .field-firstName,.profile-grid-basics-primary .field-city,.profile-grid-basics-secondary .field-languages,.profile-grid-marriage-intent .field-marriageTimeline,.profile-grid-marriage-intent .field-whatSeeking,.profile-grid-partner-main .field-practice{grid-column:1/-1}
}

@media(max-width:440px){
  .profile-app-body{padding-inline:14px}.profile-modal-head h2{font-size:26px}.profile-modal-head>p{font-size:12.25px}.compact-form-grid{gap:13px}.profile-wizard-main .photo-uploader{grid-template-columns:88px minmax(0,1fr)}.profile-wizard-main .photo-preview{width:88px}
  .preference-range-layout{grid-template-columns:1fr;gap:14px}.preference-range-side{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:520px){
  .dealbreaker-grid{grid-template-columns:1fr}
  .dealbreaker-option{min-height:60px;grid-template-columns:20px 32px minmax(0,1fr)}
}
@media(max-width:370px){
  .preference-range-side{grid-template-columns:1fr}
}


@media(max-width:820px) and (min-height:690px){
  body[data-mode="member"][data-route="profile"] .profile-wizard-main{min-height:0;display:block}
}

@media(max-height:700px) and (max-width:820px){
  .profile-app-shell{--profile-breathe:0px!important}.profile-app-body{padding-top:11px;padding-bottom:8px}.profile-major-progress{margin-bottom:13px}.profile-modal-head h2{font-size:25px}.profile-modal-head>p{font-size:11.75px;line-height:1.4}.profile-subprogress{margin:12px 0 13px;padding-top:10px}.compact-form-grid{gap:12px}.field-label{margin-bottom:6px!important;font-size:10.5px!important}.profile-wizard-main .field-control>textarea{height:86px;min-height:86px}.profile-app-actions{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.profile-app-actions .button{min-height:46px}.dealbreaker-grid{gap:6px}.dealbreaker-option{padding:7px}.privacy-consent-row{padding:11px}
}

@supports (-webkit-touch-callout:none){
  @media(max-width:820px){
    .profile-wizard-main .field-control>input,.profile-wizard-main .field-control>select,.profile-wizard-main .field-control>textarea{font-size:16px}
    .profile-wizard-main .field-control>input::placeholder,.profile-wizard-main .field-control>textarea::placeholder{font-size:15px}
  }
}

/* ------------------------------------------------------------------------
   MATCH ANALYSIS / SELECTED MATCH
   ------------------------------------------------------------------------ */
.analysis-stage{display:grid;place-items:center}
.analysis-live-panel{width:min(1120px,100%);height:min(690px,100%);min-height:0;display:grid;grid-template-columns:.88fr 1.12fr;grid-template-rows:auto minmax(0,1fr) auto auto;align-items:center;column-gap:clamp(28px,5vw,72px);padding:clamp(28px,3.2vw,42px);border:1px solid rgba(132,74,83,.14);border-radius:40px;background:linear-gradient(145deg,rgba(255,253,248,.97),rgba(248,233,226,.91));box-shadow:var(--uniqah-luxe-shadow);position:relative;overflow:hidden}
.analysis-live-panel::before{content:"";position:absolute;right:-90px;top:-135px;width:360px;height:590px;border:1px solid rgba(190,147,92,.14);border-bottom:0;border-radius:184px 184px 0 0;box-shadow:0 0 0 18px rgba(255,255,255,.12)}
.analysis-live-panel>.analysis-card-head{grid-column:1/-1;position:relative;z-index:2}
.match-engine{grid-column:1;grid-row:2;position:relative;width:min(30vw,340px);aspect-ratio:1;justify-self:center;display:grid;place-items:center}
.engine-scan{position:absolute;inset:2%;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 74%,rgba(196,154,66,.25) 84%,transparent 94%);animation:scanSpin 3.4s linear infinite;mask:radial-gradient(circle,transparent 0 47%,#000 48% 50%,transparent 51%)}
@keyframes scanSpin{to{transform:rotate(360deg)}}
.engine-orbit{position:absolute;inset:8%;border:1px solid rgba(117,13,49,.16);border-radius:50%;animation:orbitSpin 16s linear infinite}.engine-orbit::before,.engine-orbit::after{content:"";position:absolute;border-radius:50%;background:#c3994d;box-shadow:0 0 0 7px rgba(195,153,77,.09)}.engine-orbit::before{width:13px;height:13px;top:-6px;left:50%}.engine-orbit::after{width:10px;height:10px;right:9%;bottom:18%}.orbit-two{inset:24%;border-style:dashed;animation-direction:reverse;animation-duration:10s}
.engine-core{width:32%;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#82143b,#4d041d);color:#fff;box-shadow:0 17px 42px rgba(91,8,34,.23)}.engine-heart{width:44%;height:44%;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.engine-person{position:absolute;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fffaf4;border:1px solid rgba(121,63,73,.13);color:#8a3450;box-shadow:0 8px 20px rgba(70,42,37,.06)}.engine-person .ui-icon{width:18px;height:18px}.person-a{left:0;top:40%}.person-b{right:2%;top:18%}.person-c{right:8%;bottom:10%}.person-d{left:15%;bottom:4%}
.engine-copy{grid-column:2;grid-row:2;position:relative;z-index:2}.engine-copy h1{font-size:clamp(52px,5.2vw,76px)}.engine-copy #matchAnalysisText{transition:opacity .17s ease,transform .17s ease;min-height:56px;font-size:15px}.engine-copy #matchAnalysisText.is-changing{opacity:0;transform:translateY(5px)}
.engine-progress{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:9px;position:relative;z-index:2}.engine-step{display:flex;align-items:center;gap:8px;padding:11px 13px;border-radius:999px;background:rgba(255,255,255,.6);border:1px solid rgba(125,70,77,.11);color:#7d686b;font-size:11px;font-weight:800;white-space:nowrap;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.engine-step i{width:8px;height:8px;border-radius:50%;background:#c8b9b0}.engine-step.scanning{background:#fff8e9;border-color:rgba(193,145,68,.42);color:#6a4d20;transform:translateY(-1px)}.engine-step.scanning i{background:#c39546;animation:livePulse 1.8s ease-out infinite}.engine-step.human-step{opacity:.72}
.analysis-foot{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding-top:14px;border-top:1px solid rgba(125,70,77,.09);color:#8b7775;font-size:11px}.analysis-foot span:first-child{display:flex;gap:7px;align-items:center}.analysis-foot .ui-icon{width:14px;height:14px;color:#741532}

.selected-match-stage{display:grid;grid-template-columns:1.05fr .95fr;align-items:stretch;gap:clamp(22px,3.4vw,48px)}
.selected-match-copy{align-self:center}.selected-match-copy h1{font-size:clamp(50px,5.3vw,78px)}
.match-preview-facts{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.match-preview-facts span{min-width:145px;padding:12px 14px;border:1px solid rgba(122,69,76,.12);border-radius:16px;background:rgba(255,253,249,.72)}.match-preview-facts small{display:block;color:#937b77;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.match-preview-facts b{display:block;margin-top:3px;color:#5e1028;font:600 16px var(--display-serif)}
.selected-match-art{position:relative;border-radius:38px;min-height:0;overflow:hidden;background:linear-gradient(145deg,#76513d,#a67f5d 55%,#3f281f);box-shadow:var(--uniqah-luxe-shadow)}
.selected-match-art::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 66% 16%,rgba(237,204,144,.88) 0 6.8%,rgba(255,226,172,.18) 7%,transparent 14%),radial-gradient(circle at 20% 88%,rgba(255,255,255,.08),transparent 34%)}
.selected-match-art-inner{position:relative;height:100%;min-height:540px;overflow:hidden}
.selected-match-art-inner::before{content:"";position:absolute;left:16%;right:16%;bottom:-3%;height:79%;border:1px solid rgba(255,240,214,.56);border-bottom:0;border-radius:46% 46% 0 0;box-shadow:0 0 0 16px rgba(255,241,221,.07),0 0 0 1px rgba(255,255,255,.05) inset;z-index:2}
.selected-match-art-inner::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(55,32,23,.3) 58%,rgba(34,18,12,.54));z-index:3}
.counterpart-photo-blurred{position:absolute;inset:-9%;width:118%;height:118%;object-fit:cover;filter:blur(var(--counterpart-blur,28px)) saturate(.7) brightness(.82);transform:scale(1.08);opacity:.82;z-index:1}
.selected-match-art.has-counterpart-photo .counterpart-photo-blurred{mix-blend-mode:normal}
.selected-match-art.is-private-placeholder .selected-match-art-inner{background:radial-gradient(circle at 30% 28%,rgba(255,243,228,.12),transparent 20%),linear-gradient(155deg,#8a644d,#a67e5d 45%,#513225 100%)}
.counterpart-photo-private{position:absolute;inset:0;z-index:1;display:grid;place-items:center;align-content:center;justify-items:center;gap:10px;padding:28px;color:#fbf0e5;text-align:center}
.counterpart-photo-private::before,.counterpart-photo-private::after{content:"";position:absolute;border-radius:50%;filter:blur(6px);opacity:.18}
.counterpart-photo-private::before{width:220px;height:220px;background:#fff4de;left:18%;top:22%}
.counterpart-photo-private::after{width:280px;height:280px;background:#4b2d21;right:10%;bottom:6%}
.private-avatar{position:relative;z-index:1;width:118px;height:118px;border-radius:50%;display:grid;place-items:center;background:rgba(255,247,236,.16);backdrop-filter:blur(12px);border:1px solid rgba(255,246,232,.4);box-shadow:0 18px 46px rgba(34,18,12,.18)}
.private-avatar-icon{width:46px;height:46px;stroke:currentColor;fill:none;stroke-width:1.5}.counterpart-photo-private b,.counterpart-photo-private small{position:relative;z-index:1}.counterpart-photo-private b{font:600 26px/1.04 var(--display-serif);letter-spacing:.02em}.counterpart-photo-private small{max-width:280px;font-size:12px;line-height:1.45;color:#f6e7d7}
.match-seal{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-56%);display:grid;place-items:center;text-align:center;color:#fff4e5}.match-seal-icon{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:1.2}.match-seal b{margin-top:14px;font:600 27px var(--display-serif);letter-spacing:.17em}.match-seal span{margin-top:4px;font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:#f0dfc5}
.selected-match-private-note{position:absolute;left:24px;right:24px;bottom:22px;z-index:5;display:flex;align-items:center;gap:11px;padding:12px 14px;border-radius:18px;background:rgba(255,247,236,.88);backdrop-filter:blur(10px);border:1px solid rgba(113,68,53,.12);color:#6f493f;box-shadow:0 12px 30px rgba(49,27,18,.12)}
.selected-match-art.is-private-placeholder .match-seal{top:36%;transform:translate(-50%,-50%)}
.selected-match-art.is-private-placeholder .counterpart-photo-private{align-content:start;padding:280px 32px 118px}
.selected-match-art.is-private-placeholder .counterpart-photo-private b{font-size:32px;line-height:1.02}
.selected-match-art.is-private-placeholder .counterpart-photo-private small{max-width:320px;font-size:13px;line-height:1.5}
.private-note-icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}.selected-match-private-note span{font-size:12px;font-weight:700;line-height:1.35}

/* How it works */
.how-stage{display:grid;grid-template-columns:.72fr 1.28fr;align-items:center;gap:clamp(28px,5vw,74px)}
.how-stage-head h1{font-size:clamp(50px,5vw,74px)}
.how-stage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.how-step-card{appearance:none;border:1px solid rgba(126,74,67,.13);border-radius:24px;padding:22px;text-align:left;background:linear-gradient(145deg,rgba(255,253,249,.95),rgba(249,237,229,.86));box-shadow:0 12px 30px rgba(71,42,36,.05);color:#5c172b;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.how-step-card:hover{transform:translateY(-3px);border-color:rgba(176,131,61,.33);box-shadow:0 17px 34px rgba(71,42,36,.08)}.how-step-card b{display:block;color:#bd8e3d;font:600 23px var(--display-serif)}.how-step-card span{display:block;margin-top:8px;color:#4e071f;font:600 22px var(--display-serif)}.how-step-card small{display:block;margin-top:4px;color:#89726f;font-size:11px}.how-stage-tip{position:absolute;right:clamp(30px,5.6vw,86px);bottom:22px;margin:0;color:#9b837e;font-size:11px}

/* ------------------------------------------------------------------------
   MODALS / BOTTOM SHEETS
   ------------------------------------------------------------------------ */
body.app-modal-open{overflow:hidden!important}
.app-modal-wrap{position:fixed;z-index:300;inset:0;display:grid;place-items:center;padding:20px;background:rgba(48,15,27,.34);backdrop-filter:blur(14px) saturate(.92);-webkit-backdrop-filter:blur(14px) saturate(.92);opacity:0;transition:opacity .18s ease}
.app-modal-wrap.is-open{opacity:1}
.app-modal{position:relative;width:min(960px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow:hidden;border:1px solid rgba(255,255,255,.68);border-radius:34px;background:radial-gradient(circle at 88% 4%,rgba(198,157,74,.10),transparent 28%),linear-gradient(145deg,#fffdf9,#f8ebe1);box-shadow:0 34px 95px rgba(56,9,29,.22);transform:translateY(16px) scale(.985);transition:transform .22s cubic-bezier(.22,.8,.27,1)}
.app-modal-wrap.is-open .app-modal{transform:none}
.app-modal::before{content:"";position:absolute;pointer-events:none;right:-88px;top:-146px;width:315px;height:480px;border:1px solid rgba(184,142,92,.14);border-bottom:0;border-radius:160px 160px 0 0;box-shadow:0 0 0 17px rgba(255,255,255,.11)}
.app-modal-close{position:absolute;z-index:4;right:20px;top:20px;width:44px;height:44px;border:1px solid rgba(126,74,67,.13);border-radius:50%;display:grid;place-items:center;background:rgba(255,253,249,.84);color:#6b1a34;box-shadow:0 7px 18px rgba(75,44,38,.055)}.app-modal-close svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
#appModalContent{position:relative;z-index:2;max-height:100%;padding:clamp(30px,3.4vw,44px)}
.app-modal-match{width:min(860px,calc(100vw - 40px))}.app-modal-ticket{width:min(1080px,calc(100vw - 40px))}.app-modal-small{width:min(540px,calc(100vw - 40px))}.app-modal-small #appModalContent{padding:42px 38px}.app-modal-small h2{margin:4px 0 10px;color:#4e071f;font:600 36px/1.02 var(--display-serif)}
.simple-modal-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;margin-bottom:16px;background:#f5e3e6;color:#761431}.simple-modal-copy{color:#725e5e;font:400 16px/1.6 var(--display-serif);margin:0 0 24px}
.match-modal-head{padding-right:58px}.match-modal-head h2{margin:4px 0 8px;color:#4d041d;font:600 clamp(36px,3.4vw,48px)/1 var(--display-serif);letter-spacing:-.03em}.match-modal-head p{max-width:680px;margin:0;color:#796365;font-size:14px;line-height:1.5}
.match-modal-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:17px 0 14px}.match-modal-facts span{padding:11px 12px;border:1px solid rgba(125,73,76,.11);border-radius:15px;background:rgba(255,255,255,.6)}.match-modal-facts small{display:block;color:#967d7a;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.match-modal-facts b{display:block;margin-top:3px;color:#5b1027;font:600 15px var(--display-serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-modal-flow{min-height:0}.match-modal-flow .payment-callout{padding:20px 22px;border-radius:20px;background:linear-gradient(135deg,#7c1237,#570823 58%,#3f0017)}.match-modal-flow .payment-callout h3{font-family:var(--display-serif);font-size:28px}.match-modal-flow .price{font-size:34px}.match-modal-flow .schedule-card{padding:21px;border-radius:20px;background:rgba(255,253,249,.76)}.match-modal-flow .schedule-card h3{font-family:var(--display-serif);font-size:29px}.match-modal-flow .notice{border-radius:15px;font-size:12px}.match-modal-flow .schedule-actions input{min-height:50px;font-size:15px;border-radius:12px}.match-modal-flow .selected-slot{border-radius:14px}.match-modal-flow .ticket-page{gap:14px}.match-modal-flow .ticket-main,.match-modal-flow .ticket-card{padding:20px;border-radius:21px;background:rgba(255,253,249,.8)}.match-modal-flow .ticket-main h2,.match-modal-flow .ticket-card h3{font-family:var(--display-serif)}.match-modal-flow .ticket-main h2{font-size:30px}.match-modal-flow .meeting-details{gap:9px;margin-top:13px}.match-modal-flow .meeting-row{grid-template-columns:32px 1fr}.match-modal-flow .meeting-row .ico{width:31px;height:31px}.match-modal-flow .meeting-row b{font-size:12px}.match-modal-flow .meeting-row div>span{font-size:10px}.match-modal-flow #ticketQr{width:142px;min-height:142px;margin-bottom:9px}.match-modal-flow .ticket-ribbon{margin:14px -20px -20px;padding:11px}


/* Notification center */
.app-modal-notifications{width:min(620px,calc(100vw - 40px))}
.app-modal-notifications #appModalContent{padding:0;overflow:hidden}
.notification-center{display:flex;min-height:0;max-height:min(760px,calc(100dvh - 56px));flex-direction:column;color:#4f3e3b}
.notification-center-head{display:grid;grid-template-columns:58px 1fr;gap:16px;align-items:center;padding:34px 72px 22px 30px;border-bottom:1px solid rgba(119,21,45,.08);background:linear-gradient(135deg,rgba(255,253,249,.92),rgba(249,234,226,.62))}
.notification-center-head-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#741331;color:#fff;box-shadow:0 11px 28px rgba(104,18,47,.18)}
.notification-center-head-icon .ui-icon{width:24px;height:24px;stroke-width:1.7}
.notification-center-head .micro-label{margin-bottom:5px}
.notification-center-head h2{margin:0;color:#500820;font:600 34px/1.02 var(--display-serif);letter-spacing:-.025em}
.notification-center-head p:not(.micro-label){margin:7px 0 0;color:#866e69;font-size:12.5px;line-height:1.45}
.notification-center-toolbar{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 22px;border-bottom:1px solid rgba(119,21,45,.08);background:rgba(255,251,247,.88);font-size:11px;color:#8a716b}
.notification-center-toolbar strong{color:#5b1028;font-size:13px}.notification-center-toolbar span{padding:0 3px;color:#c3a49a}.notification-center-toolbar b{color:#9b3551;font-weight:800}
.notification-center-toolbar button{border:0;border-radius:999px;padding:8px 11px;background:#f3e3e7;color:#70122f;font:800 10px/1 var(--sans);letter-spacing:.02em;transition:background .15s ease,opacity .15s ease}
.notification-center-toolbar button:hover:not(:disabled){background:#ead1d8}.notification-center-toolbar button:disabled{opacity:.42;cursor:default}
.notification-center-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 10px 24px;scrollbar-width:thin;scrollbar-color:#d4b7b7 transparent}
.notification-center-item{position:relative;width:100%;display:grid;grid-template-columns:43px minmax(0,1fr);gap:12px;align-items:start;padding:14px 13px;border:0;border-bottom:1px solid rgba(116,72,67,.09);border-radius:14px;background:transparent;color:inherit;text-align:left;font:inherit;transition:background .15s ease,transform .15s ease}
.notification-center-item:hover{background:rgba(255,255,255,.7)}
.notification-center-item.is-unread{background:linear-gradient(90deg,rgba(124,18,55,.075),rgba(255,255,255,.5))}
.notification-center-item.is-unread::before{content:"";position:absolute;left:4px;top:21px;width:5px;height:5px;border-radius:50%;background:#7c1237}
.notification-center-item-icon{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#f5e9e4;color:#771631;border:1px solid rgba(119,21,45,.08)}
.notification-center-item.is-unread .notification-center-item-icon{background:#741331;color:#fff}
.notification-center-item-icon .ui-icon{width:18px;height:18px;stroke-width:1.7}
.notification-center-item-body{display:block;min-width:0}
.notification-center-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.notification-center-item-top strong{display:block;min-width:0;color:#4d1427;font:600 15px/1.15 var(--display-serif)}
.notification-center-item-top time{flex:0 0 auto;color:#a18a84;font-size:9.5px;line-height:1.3;white-space:nowrap}
.notification-center-message{display:block;margin-top:5px;color:#735f5b;font-size:11.5px;line-height:1.48}
.notification-center-item-meta{display:flex;align-items:center;gap:7px;margin-top:8px;color:#a17d72;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.notification-center-item-meta b{padding:3px 6px;border-radius:999px;background:#f3dce2;color:#771630;font-size:8px;letter-spacing:.06em}.notification-center-item-meta i{margin-left:auto;color:#7a1633;font:700 15px/1 var(--sans)}
.notification-center-empty{display:grid;place-items:center;text-align:center;padding:58px 30px;color:#8a716b}.notification-center-empty>span{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin-bottom:13px;background:#f3e4e5;color:#741331}.notification-center-empty>span .ui-icon{width:23px;height:23px}.notification-center-empty b{color:#541126;font:600 21px var(--display-serif)}.notification-center-empty p{max-width:360px;margin:7px 0 0;font-size:12px;line-height:1.5}

/* ------------------------------------------------------------------------
   MOBILE APP
   ------------------------------------------------------------------------ */
@media(max-width:820px){
  :root{--app-header:72px}
  .app-modal-wrap[data-modal-size="notifications"]{align-items:end;padding:12px 8px calc(var(--app-nav-mobile) + env(safe-area-inset-bottom) + 22px)}
  .app-modal-wrap[data-modal-size="notifications"] .app-modal{width:min(560px,100%);max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-bottom) - 58px);border-radius:28px;overflow:hidden;margin:0 auto}
  .app-modal-notifications #appModalContent{padding:0}
  .notification-center{max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-bottom) - 58px)}
  .notification-center-head{grid-template-columns:48px 1fr;gap:12px;padding:24px 58px 17px 17px}
  .notification-center-head-icon{width:48px;height:48px}.notification-center-head-icon .ui-icon{width:21px;height:21px}
  .notification-center-head h2{font-size:28px}.notification-center-head p:not(.micro-label){font-size:11.5px;margin-top:5px}
  .notification-center-toolbar{padding:8px 14px;min-height:49px}.notification-center-list{padding:6px 8px calc(44px + env(safe-area-inset-bottom) + 10px)}
  .notification-center-item{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:13px 10px}.notification-center-item-icon{width:40px;height:40px}
  .notification-center-item-top strong{font-size:14.5px}.notification-center-item-top time{font-size:9px}.notification-center-message{font-size:11.5px}

  body[data-mode="member"] .site-header{height:var(--app-header);padding:0 14px;background:#fffaf5;border-bottom:1px solid #e3d5cc;backdrop-filter:none;-webkit-backdrop-filter:none}
  body[data-mode="member"] .brand{font-size:20px;letter-spacing:.14em;gap:8px;min-width:0;flex:1}
  body[data-mode="member"] .brand img{width:44px;height:44px}
  body[data-mode="member"] .brand-copy{min-width:0;gap:3px}
  body[data-mode="member"] .brand-word{line-height:1;white-space:nowrap}
  body[data-mode="member"] .brand-tagline{font-size:5.5px;letter-spacing:.2em;max-width:220px;overflow:hidden;text-overflow:ellipsis}
  body[data-mode="member"] .member-actions{margin-left:auto;gap:6px;flex:0 0 auto}
  body[data-mode="member"] .bell-btn{width:38px;height:38px;background:transparent}
  body[data-mode="member"] .account-btn{width:44px;height:44px;padding:0;justify-content:center;border-radius:50%;background:#fff;border:1px solid #eaded6;box-shadow:none}
  body[data-mode="member"] .account-menu{right:0;top:46px;min-width:210px;border-radius:16px;padding:7px;box-shadow:0 18px 42px rgba(61,29,36,.16)}
  body[data-mode="member"] main,body[data-mode="member"] #userView{height:calc(100dvh - var(--app-header) - var(--app-nav-mobile))}
  body[data-mode="member"] .member-nav{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:140;height:var(--app-nav-mobile);margin:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));display:flex;align-items:stretch;justify-content:space-around;gap:4px;background:rgba(255,249,243,.985);border-top:1px solid rgba(120,72,64,.13);box-shadow:0 -12px 30px rgba(62,42,35,.10);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
  body[data-mode="member"][data-profile-complete="false"] main,body[data-mode="member"][data-profile-complete="false"] #userView{height:calc(100dvh - var(--app-header))}
  body[data-mode="member"][data-profile-complete="false"] .member-nav{display:none}
  body[data-mode="member"] .member-nav a{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border-radius:15px;color:#806d68;font-size:11.5px;font-weight:800;line-height:1.05}
  body[data-mode="member"] .member-nav a.active{background:transparent;color:#806d68}
  body[data-mode="member"] .member-nav a.active::after{top:-8px;bottom:auto;left:30%;right:30%;height:3px;background:var(--wine)}
  .mobile-nav-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:11px;transition:background .16s ease,transform .16s ease}
  .mobile-nav-icon svg{width:22px;height:22px}
  body[data-mode="member"] .member-nav a.active .mobile-nav-icon{background:transparent;box-shadow:none;transform:none}
  body[data-mode="member"] .account-btn .avatar{width:34px;height:34px;font-size:13px}
  body[data-mode="member"] #route-match{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}
  body[data-mode="member"] #route-match .member-stage{height:auto;min-height:100%;overflow:visible}

  .member-stage{padding:20px 18px 22px}.member-stage::before{right:-46%;top:-6%;width:115vw;height:95%;opacity:.72}.stage-ornament{left:-14px;top:8%;transform:scale(.78) rotate(-18deg)}
  .stage-copy h1,.how-stage-head h1,.engine-copy h1{font-size:clamp(42px,11.2vw,54px)}.stage-copy>p:not(.micro-label),.how-stage-head>p:not(.micro-label),.engine-copy>p:not(.micro-label){margin-top:12px;font-size:15px;line-height:1.5}.stage-actions{margin-top:20px}.stage-actions .button,body[data-mode="member"] .button{min-height:54px;padding:12px 17px;font-size:14px;border-radius:15px}
  .micro-label{font-size:11px;letter-spacing:.14em}

  .dashboard-stage{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;align-items:start}.dashboard-stage-copy{align-self:start}.dashboard-stage-copy h1{font-size:clamp(40px,10.8vw,49px)}.dashboard-stage-copy>p:not(.micro-label){font-size:13px;line-height:1.42;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dashboard-stage-copy .stage-actions{position:absolute;right:0;top:0;margin:0}.dashboard-stage-copy .stage-actions .button-ghost{display:none}.dashboard-stage-copy .stage-actions .button-primary{min-height:44px;padding:9px 12px;font-size:11px}
  .live-analysis-card{height:100%;padding:17px 17px;border-radius:26px;display:grid;grid-template-columns:132px 1fr;grid-template-rows:auto 1fr auto;column-gap:13px;align-items:center}.live-analysis-card .analysis-card-head{grid-column:1/-1}.analysis-orbit{grid-column:1;grid-row:2;width:124px;margin:6px auto}.analysis-heart{width:54px;height:54px}.analysis-copy{grid-column:2;grid-row:2;text-align:left}.analysis-copy h2{font-size:24px;margin-top:0}.analysis-copy p{font-size:11px;line-height:1.42}.analysis-signals{grid-column:1/-1;margin-top:8px;gap:6px}.signal{padding:7px 9px;font-size:10px}
  .dashboard-strip{border-radius:18px}.dashboard-strip>div{padding:9px 10px}.dashboard-strip small{font-size:8px}.dashboard-strip b{font-size:16px}

  /* analysis gets the center of the screen rather than shrinking */
  .analysis-live-panel{height:100%;width:100%;grid-template-columns:1fr;grid-template-rows:auto minmax(128px,1fr) auto auto auto;gap:8px;padding:17px;border-radius:28px}.analysis-live-panel::before{right:-160px;top:-140px}.analysis-live-panel>.analysis-card-head{grid-column:1;grid-row:1}.match-engine{grid-column:1;grid-row:2;width:min(42vw,180px)}.engine-person{width:32px;height:32px}.engine-person .ui-icon{width:14px;height:14px}.engine-copy{grid-column:1;grid-row:3;text-align:center}.engine-copy h1{font-size:clamp(36px,9.8vw,45px)}.engine-copy #matchAnalysisText{min-height:39px;font-size:12px;margin-top:8px}.engine-progress{grid-column:1;grid-row:4;grid-template-columns:1fr 1fr;gap:7px}.engine-step{justify-content:center;padding:8px 9px;font-size:10px}.analysis-foot{grid-column:1;grid-row:5;padding-top:8px;font-size:9px}

  .selected-match-stage{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 33%;gap:12px}.selected-match-copy{align-self:center}.selected-match-copy h1{font-size:clamp(39px,10.5vw,48px)}.selected-match-copy>p:not(.micro-label){font-size:15px;line-height:1.48}.match-preview-facts{margin:14px 0;gap:7px}.match-preview-facts span{min-width:0;flex:1;padding:9px 10px}.match-preview-facts small{font-size:10px}.match-preview-facts b{font-size:15px}.selected-match-art{grid-row:2;border-radius:24px}.selected-match-art-inner{min-height:310px}.selected-match-art-inner::before{left:14%;right:14%;height:76%;box-shadow:0 0 0 10px rgba(255,241,221,.07)}.match-seal{transform:translate(-50%,-58%)}.match-seal-icon{width:40px;height:40px}.match-seal b{font-size:20px;margin-top:7px}.match-seal span{font-size:9.5px}.counterpart-photo-private b{font-size:20px}.counterpart-photo-private small{font-size:10px;max-width:190px}.private-avatar{width:78px;height:78px}.private-avatar-icon{width:30px;height:30px}.selected-match-private-note{left:12px;right:12px;bottom:12px;padding:10px 11px;border-radius:14px}.selected-match-private-note span{font-size:10.5px}.counterpart-photo-blurred{inset:-11%;width:122%;height:122%;opacity:.86}.selected-match-art.is-private-placeholder .match-seal{top:34%}.selected-match-art.is-private-placeholder .counterpart-photo-private{padding:148px 18px 78px}.selected-match-art.is-private-placeholder .counterpart-photo-private b{font-size:22px}.selected-match-art.is-private-placeholder .counterpart-photo-private small{font-size:10.5px;max-width:210px}

  .how-stage{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:12px;align-items:start}.how-stage-head h1{font-size:clamp(39px,10.5vw,48px)}.how-stage-head>p:not(.micro-label){margin-top:10px;font-size:15px;line-height:1.48}.how-stage-grid{height:100%;grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,1fr);gap:9px}.how-step-card{min-height:0;padding:12px 13px;border-radius:18px}.how-step-card b{font-size:16px}.how-step-card span{margin-top:3px;font-size:17px}.how-step-card small{font-size:12px;line-height:1.4}.how-stage-tip{display:none}

  .app-modal-wrap{align-items:end;padding:0 0 var(--app-nav-mobile);background:rgba(48,15,27,.3)}.app-modal{width:100%;max-height:calc(100dvh - var(--app-nav-mobile) - 8px);border-radius:30px 30px 0 0;border-bottom:0;transform:translateY(24px)}.app-modal::before{right:-128px;top:-155px}.app-modal-close{right:15px;top:14px;width:44px;height:44px}#appModalContent{padding:26px 17px 24px}
  .app-modal-wrap[data-modal-size="small"]{align-items:center;padding:16px 14px calc(var(--app-nav-mobile) + 16px)}.app-modal-wrap[data-modal-size="small"] .app-modal{width:min(520px,100%);max-height:calc(100dvh - var(--app-nav-mobile) - 32px);border:1px solid rgba(255,255,255,.68);border-radius:28px;transform:translateY(12px) scale(.985)}.app-modal-wrap[data-modal-size="small"].is-open .app-modal{transform:none}.app-modal-wrap[data-modal-size="small"] #appModalContent{overflow:auto}
  .match-modal-head{padding-right:50px}.match-modal-head h2{font-size:34px}.match-modal-head p{font-size:14px;line-height:1.48}.match-modal-facts{gap:7px;margin:14px 0 12px}.match-modal-facts span{padding:10px}.match-modal-facts small{font-size:10px}.match-modal-facts b{font-size:13px}.match-modal-flow .payment-callout{padding:17px}.match-modal-flow .payment-callout h3{font-size:24px}.match-modal-flow .price{font-size:29px}.match-modal-flow .schedule-card{padding:17px}.match-modal-flow .schedule-card h3{font-size:25px}.match-modal-flow .schedule-actions{grid-template-columns:1fr;gap:9px}.match-modal-flow .schedule-actions input{min-height:52px;font-size:16px}.match-modal-flow .ticket-page{grid-template-columns:1fr;gap:10px}.match-modal-flow .ticket-main,.match-modal-flow .ticket-card{padding:15px;border-radius:17px}.match-modal-flow .ticket-main h2{font-size:24px}.match-modal-flow .meeting-details{gap:8px;margin-top:10px}.match-modal-flow .meeting-row{grid-template-columns:30px 1fr;gap:9px}.match-modal-flow .meeting-row .ico{width:29px;height:29px}.match-modal-flow .meeting-row .ico .ui-icon{width:14px;height:14px}.match-modal-flow .meeting-row b{font-size:12px}.match-modal-flow .meeting-row div>span{font-size:10px}.match-modal-flow #ticketQr{width:124px;min-height:124px;border-width:6px}.match-modal-flow .ticket-card h3{font-size:19px;margin-bottom:8px}.match-modal-flow .ticket-code{font-size:10px}.match-modal-flow .ticket-ribbon{margin:11px -15px -15px;padding:9px}.match-modal-flow .ticket-ribbon b{font-size:14px}.match-modal-flow .ticket-ribbon span{font-size:10px}.match-modal-flow .ticket-success{margin-top:10px;padding:10px;font-size:11px}
  .app-modal-small #appModalContent{padding:28px 20px 24px}.app-modal-small h2{font-size:30px}.simple-modal-copy{font-size:14px}
}

@media(max-width:440px){
  .member-stage{padding-left:14px;padding-right:14px}
  .dashboard-stage-copy h1{font-size:39px}.live-analysis-card{grid-template-columns:110px 1fr;padding:14px}.analysis-orbit{width:104px}.analysis-heart{width:48px;height:48px}.analysis-copy h2{font-size:21px}.dashboard-strip>div{padding:8px 7px}.dashboard-strip b{font-size:14px}
  .analysis-live-panel{padding-left:13px;padding-right:13px}.engine-copy h1{font-size:36px}.selected-match-copy h1{font-size:38px}.how-step-card{padding:10px}
}

/* Short mobile screens: simplify content, keep controls/text readable. */
@media(max-height:700px) and (max-width:820px){
  .member-stage{padding-top:12px;padding-bottom:10px}.dashboard-stage{gap:8px}.dashboard-stage-copy .micro-label{margin-bottom:4px}.dashboard-stage-copy h1{font-size:34px}.dashboard-stage-copy>p:not(.micro-label){font-size:11px;margin-top:6px}.live-analysis-card{grid-template-columns:104px 1fr;padding:12px 13px;border-radius:22px}.analysis-orbit{width:98px}.analysis-heart{width:44px;height:44px}.analysis-copy h2{font-size:19px}.analysis-copy p{font-size:10px}.analysis-signals{display:none}.dashboard-strip>div{padding:6px 7px}.dashboard-strip b{font-size:13px}
  .analysis-live-panel{grid-template-rows:auto 118px auto auto auto;padding:11px 13px;gap:5px}.match-engine{width:116px}.engine-copy h1{font-size:31px}.engine-copy #matchAnalysisText{min-height:30px;font-size:10px}.engine-progress{gap:4px}.engine-step{padding:6px 7px;font-size:8.5px}.analysis-foot{font-size:8px}
  .how-stage-head h1{font-size:36px}.how-stage-head>p:not(.micro-label){font-size:13.5px;line-height:1.45}.how-stage-grid{gap:7px}.how-step-card{padding:10px 11px}.how-step-card span{font-size:16px}.how-step-card small{font-size:11.5px;line-height:1.35}
  #appModalContent{padding-top:17px}.match-modal-head h2{font-size:27px}.match-modal-head p{font-size:10px}.match-modal-flow .meeting-row div>span{display:none}.match-modal-flow #ticketQr{width:82px;min-height:82px}.match-modal-flow .ticket-success{display:none}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ========================================================================
   UNIQAH v21 — Dashboard, private analysis and public one-page homepage
   Built on the v18 profile visual baseline.
   ======================================================================== */

/* ------------------------------------------------------------------------
   PUBLIC ONE-PAGE HOMEPAGE
   ------------------------------------------------------------------------ */
body[data-mode="guest"] .public-info{position:relative;overflow:hidden;padding:0 clamp(28px,6vw,96px) 86px;background:#f7eee8;border-top:1px solid #e4d6cc}
body[data-mode="guest"] .public-info::before{content:"";position:absolute;right:-210px;top:90px;width:520px;height:520px;border-radius:50%;background:rgba(255,255,255,.26);pointer-events:none}
body[data-mode="guest"] .public-section{position:relative;z-index:1;max-width:1180px;margin:0 auto;padding:82px 0;border:0;border-bottom:1px solid #dfd1c7;border-radius:0;background:transparent;box-shadow:none;scroll-margin-top:82px}
body[data-mode="guest"] .public-section:last-of-type{border-bottom:0}
.public-section-head{max-width:780px}
.public-section-head>.micro-label,.public-analysis-copy>.micro-label,.public-trust-copy>.micro-label,.public-faq>.micro-label,.public-contact-block>.micro-label{margin-bottom:9px;color:#9a766b;font-size:10px;letter-spacing:.15em}
.public-section-head h2,.public-analysis-copy h2,.public-trust-copy h2,.public-faq h2,.public-contact-block h2{margin:0;color:#551029;font:600 clamp(38px,4.5vw,60px)/1.02 var(--display-serif);letter-spacing:-.034em}
.public-section-head>p:not(.micro-label),.public-analysis-copy>p:not(.micro-label),.public-trust-copy>p:not(.micro-label),.public-contact-block>p:not(.micro-label){max-width:720px;margin:15px 0 0;color:#74615c;font-size:15px;line-height:1.65}

.public-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:46px;border-top:1px solid #dfd1c7;border-bottom:1px solid #dfd1c7}
.public-principles article{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:25px 24px;background:transparent;border:0;border-radius:0;box-shadow:none}
.public-principles article+article{border-left:1px solid #dfd1c7}
.public-principles article>span{color:#9a766b;font-size:10px;font-weight:850;letter-spacing:.1em}
.public-principles h3{margin:0;color:#5a1730;font:600 22px/1.1 var(--display-serif)}
.public-principles p{margin:7px 0 0;color:#78655f;font-size:12.5px;line-height:1.55}

.public-flow-steps{margin-top:44px;border-top:1px solid #dfd1c7}
.public-flow-steps article{display:grid;grid-template-columns:62px minmax(0,1fr);gap:20px;padding:21px 0;border-bottom:1px solid #dfd1c7;background:transparent}
.public-flow-steps article>span{width:40px;height:40px;border:1px solid #d9c8be;border-radius:12px;display:grid;place-items:center;color:#741532;background:#fbf6f2;font-size:10px;font-weight:850}
.public-flow-steps h3{margin:0;color:#57142b;font:600 21px/1.1 var(--display-serif)}
.public-flow-steps p{max-width:720px;margin:5px 0 0;color:#7b6761;font-size:12.5px;line-height:1.55}

.public-analysis-explainer{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);gap:clamp(44px,6vw,90px);align-items:center}
.public-inline-note{display:grid;grid-template-columns:9px minmax(0,1fr);gap:12px;max-width:650px;margin-top:28px;padding-top:18px;border-top:1px solid #dfd1c7}
.public-inline-note>span{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#7d1730}
.public-inline-note b{color:#5b1730;font-size:12.5px}.public-inline-note p{margin:4px 0 0;color:#806c66;font-size:11.5px;line-height:1.5}
.public-analysis-list{border-top:1px solid #dfd1c7;border-bottom:1px solid #dfd1c7}
.public-analysis-list>div{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;align-items:center;padding:17px 0}
.public-analysis-list>div+div{border-top:1px solid #e5d9d0}
.public-analysis-list>div>span{color:#9a766b;font-size:9px;font-weight:850}
.public-analysis-list b{display:block;color:#5a1730;font-size:13px}.public-analysis-list small{display:block;margin-top:3px;color:#806c66;font-size:11.5px;line-height:1.45}

.public-meeting-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-top:44px;border-top:1px solid #dfd1c7;border-bottom:1px solid #dfd1c7}
.public-meeting-flow article{padding:24px 22px}
.public-meeting-flow article+article{border-left:1px solid #dfd1c7}
.public-meeting-flow article>span{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#efe1da;color:#751831;font-size:10px;font-weight:850}
.public-meeting-flow b{display:block;margin-top:13px;color:#5a1730;font:600 18px/1.15 var(--display-serif)}
.public-meeting-flow p{margin:7px 0 0;color:#7c6862;font-size:11.5px;line-height:1.5}

.public-trust{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(50px,7vw,110px);align-items:start}
.public-trust-points{border-top:1px solid #dfd1c7}
.public-trust-points>div{padding:20px 0;border-bottom:1px solid #dfd1c7}
.public-trust-points b{display:block;color:#5b1730;font-size:13px}.public-trust-points p{margin:5px 0 0;color:#7b6761;font-size:12px;line-height:1.55}

.public-faq-contact{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr);gap:clamp(44px,7vw,100px);align-items:start}
.public-faq details{border-top:1px solid #dfd1c7}
.public-faq details:last-child{border-bottom:1px solid #dfd1c7}
.public-faq summary{list-style:none;cursor:pointer;padding:17px 32px 17px 0;color:#5a1730;font-size:13px;font-weight:750;position:relative}
.public-faq summary::-webkit-details-marker{display:none}.public-faq summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);color:#8d7068;font-size:18px;font-weight:400}.public-faq details[open] summary::after{content:"−"}
.public-faq details p{margin:-4px 0 18px;max-width:680px;color:#7a6660;font-size:12px;line-height:1.55}
.public-contact-block{padding-left:32px;border-left:1px solid #dfd1c7}
.public-contact-block .support-link{display:inline-block;margin-top:18px;color:#741532;font:600 clamp(23px,2.5vw,31px)/1.1 var(--display-serif);text-decoration:none;border-bottom:1px solid #b9939c}

body[data-mode="guest"] .public-final-cta{position:relative;z-index:1;max-width:1180px;margin:0 auto;padding:70px 0 4px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.65fr);gap:clamp(48px,7vw,96px);align-items:end;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit}
.public-final-copy h2{margin:0;color:#551029;font:600 clamp(42px,5vw,66px)/1 var(--display-serif);letter-spacing:-.04em}.public-final-copy h2 em{font-weight:400;color:#8c3a51}.public-final-copy>p:not(.micro-label){max-width:650px;margin:15px 0 0;color:#74615c;font-size:14px;line-height:1.6}
.public-final-actions{display:grid;gap:9px}.public-final-actions .button{width:100%;min-height:52px;border-radius:13px;font-size:12.5px;box-shadow:none}.public-final-actions small{margin-top:4px;color:#8d7770;font-size:9.5px;line-height:1.45;text-align:center}

/* ------------------------------------------------------------------------
   DASHBOARD + PRIVATE MATCH ANALYSIS
   ------------------------------------------------------------------------ */
.dashboard-stage,.analysis-stage{background:#f6ece5}
.dashboard-stage::before,.analysis-stage::before{right:-170px;top:-210px;width:420px;height:420px;border:0;border-radius:50%;background:rgba(255,255,255,.28);box-shadow:none}
.dashboard-stage::after,.analysis-stage::after,.dashboard-stage .stage-ornament,.analysis-stage .stage-ornament{display:none}
.status-mark{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#7d1730;box-shadow:none}

.dashboard-stage{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);grid-template-rows:minmax(0,1fr) auto;gap:clamp(28px,3.8vw,58px);padding:clamp(30px,4.5vh,52px) clamp(34px,5.6vw,82px);align-items:stretch}
.dashboard-welcome{grid-column:1;grid-row:1;min-width:0;display:flex;flex-direction:column;justify-content:center;padding-right:clamp(20px,2.5vw,38px);border-right:1px solid #dfd1c7}
.dashboard-welcome .micro-label{margin:0 0 9px;color:#9a766b;font-size:9.5px;letter-spacing:.14em}
.dashboard-welcome h1{margin:0;color:#56112a;font:600 clamp(42px,4.1vw,60px)/1.02 var(--display-serif);letter-spacing:-.034em}.dashboard-welcome h1 em{font-weight:400;color:#8b3e53}
.dashboard-welcome>p:not(.micro-label){max-width:440px;margin:13px 0 0;color:#74615c;font-size:14px;line-height:1.55}
.dashboard-state-line{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;margin-top:23px;padding-top:13px;border-top:1px solid #e1d3ca}.dashboard-state-line small{display:block;color:#9a8077;font-size:8px;font-weight:850;letter-spacing:.12em}.dashboard-state-line b{display:block;margin-top:2px;color:#5b1730;font-size:12.5px;line-height:1.25}

.dashboard-analysis-card{grid-column:2;grid-row:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto auto;align-content:center;gap:14px;padding:0;background:transparent}
.dashboard-analysis-top{min-height:0;display:grid;grid-template-columns:minmax(170px,.42fr) minmax(0,1.58fr);align-items:center;gap:clamp(28px,3.5vw,52px)}
.dashboard-analysis-visual{display:grid;place-items:center;min-width:0}.dashboard-analysis-visual .analysis-orbit{width:min(18vw,230px);margin:0}.dashboard-analysis-visual .analysis-heart{box-shadow:none}
.dashboard-analysis-content{min-width:0}.dashboard-analysis-content>.micro-label{margin:0 0 7px;color:#9a766b;font-size:9.5px}.dashboard-analysis-content h2{margin:0;color:#541029;font:600 clamp(34px,3.2vw,48px)/1.03 var(--display-serif);letter-spacing:-.025em}.dashboard-analysis-content>p:not(.micro-label){max-width:620px;margin:10px 0 0;color:#75625d;font-size:13.5px;line-height:1.52}
.dashboard-email-note{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:11px;padding:12px 0;border-top:1px solid #e2d4ca;border-bottom:1px solid #e2d4ca}.dashboard-email-icon{width:18px;height:18px;margin-top:1px;justify-self:center;color:#7b1934}.dashboard-email-note b{display:block;color:#5b1730;font-size:12.5px}.dashboard-email-note span{display:block;margin-top:3px;color:#806c66;font-size:11px;line-height:1.42}
.dashboard-analysis-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-analysis-actions .button{width:100%;min-width:0;min-height:48px;padding:10px 13px;border-radius:12px;justify-content:center;box-shadow:none;font-size:12.25px;white-space:nowrap}.dashboard-analysis-actions .button-ghost{background:transparent;border:1px solid #d9c8be;color:#65162e}

.dashboard-summary-cards{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #dfd1c7;border-bottom:1px solid #dfd1c7}.dashboard-summary-cards article{min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:14px 18px}.dashboard-summary-cards article+article{border-left:1px solid #dfd1c7}.dashboard-summary-cards article>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#efe1da;color:#741532}.dashboard-summary-cards article>span .ui-icon{width:15px;height:15px}.dashboard-summary-cards small{display:block;color:#9b8179;font-size:8px;text-transform:uppercase;letter-spacing:.09em}.dashboard-summary-cards b{display:block;min-width:0;margin-top:2px;color:#5b1730;font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.analysis-stage{display:grid;place-items:stretch;padding:clamp(26px,4vh,48px) clamp(34px,5.6vw,82px)}
.analysis-live-panel{width:min(1160px,100%);height:100%;min-height:0;margin:0 auto;display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);grid-template-rows:auto minmax(0,1fr) auto auto;align-items:center;column-gap:clamp(42px,5.5vw,82px);row-gap:16px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.analysis-live-panel::before{display:none}
.analysis-live-panel>.analysis-card-head{grid-column:1/-1;grid-row:1;display:flex;align-items:center;gap:9px;padding-bottom:12px;border-bottom:1px solid #dfd1c7;color:#8c706a;font-size:9.5px}.analysis-live-panel>.analysis-card-head b{margin-left:auto;padding:4px 8px;border:1px solid #dccbc2;border-radius:999px;background:#fbf5f1;color:#731831;font-size:8.5px}
.match-engine{grid-column:1;grid-row:2;width:min(28vw,330px);max-height:100%;align-self:center;justify-self:center}.engine-person{width:42px;height:42px;box-shadow:none;border-color:#ddcec5;background:#fffaf6}.engine-core{box-shadow:none}
.engine-copy{grid-column:2;grid-row:2;align-self:center;min-width:0;text-align:left}.engine-copy>.micro-label{margin:0 0 8px;color:#9a766b;font-size:9.5px}.engine-copy h1{max-width:690px;margin:0;color:#541029;font:600 clamp(42px,4.2vw,62px)/1.02 var(--display-serif);letter-spacing:-.034em}.engine-copy #matchAnalysisText{min-height:0;max-width:620px;margin:12px 0 0;color:#77635e;font-size:14px;line-height:1.52}
.analysis-wait-card{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:11px;max-width:640px;margin-top:18px;padding:13px 0;border-top:1px solid #e2d4ca;border-bottom:1px solid #e2d4ca;background:transparent;text-align:left}.analysis-wait-icon{width:18px;height:18px;margin-top:1px;justify-self:center;color:#741532}.analysis-wait-card b{display:block;color:#5b1730;font-size:12.5px}.analysis-wait-card span{display:block;margin-top:3px;color:#806c66;font-size:11px;line-height:1.42}
.engine-progress{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #dfd1c7;border-bottom:1px solid #dfd1c7}.engine-step{min-width:0;min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border:0;background:transparent;color:#806c66;font-size:10.5px;font-weight:750;white-space:nowrap;transform:none}.engine-step+.engine-step{border-left:1px solid #dfd1c7}.engine-step i{width:7px;height:7px;border-radius:50%;background:#c9b8af}.engine-step.scanning{background:#fbf4ee;color:#68162f}.engine-step.scanning i{background:#8e2743}.engine-step.human-step{opacity:.82}
.analysis-foot{grid-column:1/-1;grid-row:4;display:flex;justify-content:space-between;align-items:center;color:#89756e;font-size:10.5px}.analysis-foot span{display:flex;align-items:center;gap:7px}.analysis-foot .ui-icon{width:13px;height:13px;color:#741532}

@media(max-width:1100px) and (min-width:821px){
  .dashboard-stage{grid-template-columns:minmax(260px,.68fr) minmax(0,1.32fr);gap:28px;padding-inline:38px}.dashboard-welcome h1{font-size:42px}.dashboard-analysis-top{grid-template-columns:150px 1fr;gap:28px}.dashboard-analysis-visual .analysis-orbit{width:150px}.dashboard-analysis-content h2{font-size:34px}
  .analysis-stage{padding-inline:40px}.analysis-live-panel{grid-template-columns:230px 1fr;column-gap:40px}.match-engine{width:230px}.engine-copy h1{font-size:44px}
}

@media(max-width:820px){
  /* Guest homepage becomes a long, app-like single-page experience. */
  body[data-mode="guest"] .mobile-landing{background:#f7eee8}.mobile-arch-bg,.mobile-botanical{opacity:.12}.mobile-hero-copy h1{font-size:clamp(36px,10.4vw,46px);line-height:.98}.mobile-hero-copy p{font-size:clamp(13px,3.9vw,16px);line-height:1.38}.mobile-primary-cta,.mobile-secondary-cta{border-radius:14px;font-family:var(--sans);font-size:14px;font-weight:800}.mobile-primary-cta{background:#7d1730;box-shadow:none}.mobile-secondary-cta{background:#fffdfa;border-color:#c99da9}
  body[data-mode="guest"] .public-info{padding:0 16px 54px;background:#f7eee8}.public-info::before{right:-220px;top:120px;width:400px;height:400px}
  body[data-mode="guest"] .public-section{padding:52px 0;margin:0;border:0;border-bottom:1px solid #dfd1c7;border-radius:0;background:transparent;box-shadow:none;scroll-margin-top:72px}
  .public-section-head>.micro-label,.public-analysis-copy>.micro-label,.public-trust-copy>.micro-label,.public-faq>.micro-label,.public-contact-block>.micro-label{font-size:9px}.public-section-head h2,.public-analysis-copy h2,.public-trust-copy h2,.public-faq h2,.public-contact-block h2{font-size:clamp(31px,8.3vw,38px);line-height:1.03}.public-section-head>p:not(.micro-label),.public-analysis-copy>p:not(.micro-label),.public-trust-copy>p:not(.micro-label),.public-contact-block>p:not(.micro-label){margin-top:11px;font-size:13px;line-height:1.58}
  .public-principles{grid-template-columns:1fr;margin-top:29px}.public-principles article{grid-template-columns:34px 1fr;padding:18px 0}.public-principles article+article{border-left:0;border-top:1px solid #dfd1c7}.public-principles h3{font-size:19px}.public-principles p{font-size:12px;line-height:1.5}
  .public-flow-steps{margin-top:28px}.public-flow-steps article{grid-template-columns:45px 1fr;gap:12px;padding:17px 0}.public-flow-steps article>span{width:34px;height:34px;border-radius:10px}.public-flow-steps h3{font-size:18px}.public-flow-steps p{font-size:12px;line-height:1.5}
  .public-analysis-explainer,.public-trust,.public-faq-contact{grid-template-columns:1fr;gap:30px}.public-inline-note{margin-top:21px;padding-top:15px}.public-analysis-list>div{padding:14px 0}.public-analysis-list b{font-size:12.5px}.public-analysis-list small{font-size:11px}
  .public-meeting-flow{grid-template-columns:1fr 1fr;margin-top:29px}.public-meeting-flow article{padding:18px 12px}.public-meeting-flow article:nth-child(odd){padding-left:0}.public-meeting-flow article:nth-child(even){padding-right:0;border-left:1px solid #dfd1c7}.public-meeting-flow article:nth-child(n+3){border-top:1px solid #dfd1c7}.public-meeting-flow article:nth-child(3){border-left:0}.public-meeting-flow b{font-size:16px}.public-meeting-flow p{font-size:10.75px;line-height:1.45}
  .public-trust-points>div{padding:16px 0}.public-trust-points b{font-size:12.5px}.public-trust-points p{font-size:11.5px}
  .public-contact-block{padding:28px 0 0;border-left:0;border-top:1px solid #dfd1c7}.public-faq summary{padding:15px 30px 15px 0;font-size:12.5px}.public-faq details p{font-size:11.5px}.public-contact-block .support-link{font-size:23px}
  body[data-mode="guest"] .public-final-cta{padding:48px 0 0;grid-template-columns:1fr;gap:26px}.public-final-copy h2{font-size:clamp(34px,9.2vw,43px)}.public-final-copy>p:not(.micro-label){font-size:12.5px}.public-final-actions .button{min-height:50px;border-radius:12px;font-size:12.5px}

  /* Member dashboard */
  .dashboard-stage,.analysis-stage{padding:12px 14px 10px;background:#f6ece5}.dashboard-stage::before,.analysis-stage::before{right:-150px;top:-185px;width:340px;height:340px;background:rgba(255,255,255,.24)}
  .dashboard-stage{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;align-items:stretch}
  .dashboard-welcome{grid-column:1;grid-row:1;padding:0 0 10px;border-right:0;border-bottom:1px solid #dfd1c7}.dashboard-welcome .micro-label{margin-bottom:4px;font-size:8.5px}.dashboard-welcome h1{font-size:clamp(30px,8.6vw,37px);line-height:1.03}.dashboard-welcome>p:not(.micro-label){max-width:none;margin:6px 0 0;font-size:12.25px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.dashboard-state-line{margin-top:8px;padding-top:7px;gap:8px}.dashboard-state-line small{font-size:7.5px}.dashboard-state-line b{font-size:10.75px}
  .dashboard-analysis-card{grid-column:1;grid-row:2;min-height:0;gap:9px;align-content:center}.dashboard-analysis-top{grid-template-columns:88px minmax(0,1fr);gap:13px;min-height:0}.dashboard-analysis-visual .analysis-orbit{width:84px}.dashboard-analysis-visual .analysis-heart{width:46px;height:46px}.dashboard-analysis-visual .analysis-heart-icon{width:20px;height:20px}.dashboard-analysis-visual .scan-node{width:8px;height:8px;box-shadow:0 0 0 4px rgba(200,156,76,.1)}
  .dashboard-analysis-content>.micro-label{margin-bottom:4px;font-size:8.25px}.dashboard-analysis-content h2{font-size:clamp(25px,7vw,30px);line-height:1.03}.dashboard-analysis-content>p:not(.micro-label){margin-top:6px;font-size:11.75px;line-height:1.38;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .dashboard-email-note{grid-template-columns:23px 1fr;gap:8px;padding:8px 0}.dashboard-email-icon{width:15px;height:15px}.dashboard-email-note b{font-size:11.25px}.dashboard-email-note span{font-size:10.25px;line-height:1.34;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .dashboard-analysis-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-analysis-actions .button{min-height:43px;padding:8px 8px;font-size:11.5px;white-space:nowrap}.dashboard-analysis-actions .button-icon{width:14px;height:14px}
  .dashboard-summary-cards{grid-column:1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:0}.dashboard-summary-cards article{grid-template-columns:29px minmax(0,1fr);gap:7px;padding:8px 7px}.dashboard-summary-cards article:nth-child(even){border-left:1px solid #dfd1c7}.dashboard-summary-cards article:nth-child(n+3){border-top:1px solid #dfd1c7}.dashboard-summary-cards article:nth-child(3){border-left:0}.dashboard-summary-cards article>span{width:29px;height:29px;border-radius:9px}.dashboard-summary-cards article>span .ui-icon{width:13px;height:13px}.dashboard-summary-cards small{font-size:7px}.dashboard-summary-cards b{font-size:10.75px;line-height:1.2}

  /* Private analysis */
  .analysis-stage{place-items:stretch}.analysis-live-panel{width:100%;height:100%;display:grid;grid-template-columns:1fr;grid-template-rows:auto 124px minmax(0,1fr) auto auto;row-gap:7px;padding:0;overflow:hidden}.analysis-live-panel>.analysis-card-head{grid-column:1;grid-row:1;padding:0 0 7px;font-size:8.5px}.analysis-live-panel>.analysis-card-head b{padding:3px 7px;font-size:7.5px}
  .match-engine{grid-column:1;grid-row:2;width:clamp(118px,31vw,142px);align-self:center;justify-self:center;margin:0 auto}.engine-person{width:30px;height:30px}.engine-person .ui-icon{width:13px;height:13px}
  .engine-copy{grid-column:1;grid-row:3;align-self:center;text-align:center;padding:0 3px}.engine-copy>.micro-label{margin:0 0 5px;font-size:8.5px;letter-spacing:.11em}.engine-copy h1{max-width:420px;margin-inline:auto;font-size:clamp(30px,8.1vw,35px);line-height:1.03}.engine-copy #matchAnalysisText{max-width:420px;margin:7px auto 0;font-size:12px;line-height:1.38}
  .analysis-wait-card{grid-template-columns:23px 1fr;gap:8px;max-width:430px;margin:9px auto 0;padding:8px 0;text-align:left}.analysis-wait-icon{width:15px;height:15px}.analysis-wait-card b{font-size:11.25px}.analysis-wait-card span{font-size:10.25px;line-height:1.33}
  .engine-progress{grid-column:1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr))}.engine-step{min-height:38px;justify-content:flex-start;padding:7px 9px;font-size:9.75px;white-space:normal;line-height:1.15}.engine-step:nth-child(3){border-left:0;border-top:1px solid #dfd1c7}.engine-step:nth-child(4){border-top:1px solid #dfd1c7}
  .analysis-foot{grid-column:1;grid-row:5;padding-top:1px;font-size:9px}.analysis-foot .ui-icon{width:11px;height:11px}.analysis-foot span:last-child{justify-content:flex-end;text-align:right}
}

@media(max-width:430px){
  .dashboard-stage,.analysis-stage{padding-inline:12px}.dashboard-analysis-top{grid-template-columns:78px minmax(0,1fr);gap:11px}.dashboard-analysis-visual .analysis-orbit{width:74px}.dashboard-analysis-content h2{font-size:24px}.dashboard-analysis-content>p:not(.micro-label){font-size:11.25px}.dashboard-analysis-actions .button{font-size:11px}
  .analysis-live-panel{grid-template-rows:auto 112px minmax(0,1fr) auto auto}.match-engine{width:112px}.engine-copy h1{font-size:29px}.engine-copy #matchAnalysisText{font-size:11.5px}.analysis-wait-card span{font-size:9.9px}
}

@media(max-height:650px) and (max-width:820px){
  .dashboard-stage,.analysis-stage{padding-top:8px;padding-bottom:7px}.dashboard-stage{gap:7px}.dashboard-welcome{padding-bottom:7px}.dashboard-welcome .micro-label{display:none}.dashboard-welcome h1{font-size:27px}.dashboard-welcome>p:not(.micro-label){-webkit-line-clamp:1;font-size:11.25px}.dashboard-state-line{margin-top:5px;padding-top:5px}.dashboard-analysis-top{grid-template-columns:70px minmax(0,1fr);gap:10px}.dashboard-analysis-visual .analysis-orbit{width:66px}.dashboard-analysis-content>.micro-label{display:none}.dashboard-analysis-content h2{font-size:22.5px}.dashboard-analysis-content>p:not(.micro-label){font-size:10.75px;-webkit-line-clamp:1}.dashboard-email-note{padding:6px 0}.dashboard-email-note span{-webkit-line-clamp:1}.dashboard-analysis-actions{gap:6px}.dashboard-analysis-actions .button{min-height:39px;padding:6px;font-size:10.5px}.dashboard-summary-cards article{padding-top:5px;padding-bottom:5px}.dashboard-summary-cards article>span{width:26px;height:26px}.dashboard-summary-cards b{font-size:10px}
  .analysis-live-panel{grid-template-rows:auto 92px minmax(0,1fr) auto auto;row-gap:4px}.analysis-live-panel>.analysis-card-head{padding-bottom:4px}.match-engine{width:92px}.engine-person{width:24px;height:24px}.engine-copy>.micro-label{display:none}.engine-copy h1{font-size:26px}.engine-copy #matchAnalysisText{margin-top:4px;font-size:10.75px;line-height:1.3}.analysis-wait-card{margin-top:5px;padding:5px 0}.analysis-wait-card span{display:none}.engine-step{min-height:33px;padding:5px 7px;font-size:9px}.analysis-foot{font-size:8.5px}
}

/* ========================================================================
   INTRODUCTION / KENNISMAKING — reference rebuild
   ======================================================================== */
body[data-mode="member"][data-route="match"] #route-match{background:#f9f0e9}

.introduction-analysis{--intro-line:#dfcfc6;--intro-soft:#f4e5df;--intro-paper:#fffaf6;--intro-wine:#7f1236;--intro-text:#6f5c57;display:grid;grid-template-columns:minmax(260px,.74fr) minmax(0,1.26fr);grid-template-rows:auto minmax(190px,1fr) auto auto auto;column-gap:clamp(38px,5vw,78px);row-gap:clamp(14px,2vh,22px);align-items:center;padding:clamp(22px,3vh,34px) clamp(30px,5vw,76px) clamp(20px,2.7vh,32px);background:#f9f0e9!important}
.introduction-analysis::before{right:-8%;top:-22%;width:min(48vw,650px);height:98%;border-color:rgba(183,147,122,.12);box-shadow:0 0 0 22px rgba(255,255,255,.10)}
.introduction-analysis::after{display:none}
.intro-analysis-status{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;padding:10px 16px 10px 18px;border:1px solid var(--intro-line);border-radius:18px;background:rgba(255,250,246,.68)}
.intro-analysis-status-title{display:flex;align-items:center;gap:11px;color:#755d59;font-size:11px;font-weight:900;letter-spacing:.16em}.intro-status-icon{width:22px;height:22px;color:var(--intro-wine)}
.intro-active-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid #d9c8c0;border-radius:999px;background:#fffaf7;color:#68152e;font-size:10px;font-weight:900;letter-spacing:.08em}.intro-active-pill i{width:8px;height:8px;border-radius:50%;background:#66b85d;box-shadow:none}

.intro-analysis-hero{grid-column:1;grid-row:2/4;position:relative;display:grid;place-items:center;min-height:0;align-self:stretch}
.intro-orbit-wrap{position:relative;width:clamp(205px,21vw,285px);aspect-ratio:1;border-radius:50%}
.intro-orbit-ring{position:absolute;inset:15%;border:1px solid rgba(145,90,96,.14);border-radius:50%}.intro-orbit-ring.ring-two{inset:27%;border-style:dashed;border-color:rgba(158,125,105,.18)}
.intro-orbit-heart{position:absolute;z-index:4;left:50%;top:50%;width:32%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;display:grid;place-items:center;background:#800f37;color:#fff;box-shadow:0 10px 24px rgba(107,15,50,.13)}.intro-heart-icon{width:42%;height:42%;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.intro-orbit-person{position:absolute;z-index:3;width:18%;aspect-ratio:1;border:1px solid #dccbc2;border-radius:50%;display:grid;place-items:center;background:#fff;color:#8f2444}.intro-orbit-person .ui-icon{width:47%;height:47%;stroke-width:1.6}.person-one{left:4%;top:35%}.person-two{right:6%;top:16%}.person-three{right:4%;bottom:17%}.person-four{left:21%;bottom:4%}
.intro-orbit-gold{position:absolute;z-index:2;border-radius:50%;background:#d5a53d;box-shadow:0 0 0 10px rgba(226,192,126,.18)}.gold-a{width:10%;aspect-ratio:1;left:18%;top:10%}.gold-b{width:8%;aspect-ratio:1;right:15%;top:42%}.gold-c{width:7%;aspect-ratio:1;left:38%;bottom:11%}.gold-d{width:10%;aspect-ratio:1;right:27%;bottom:1%}
.intro-hand-note{position:absolute;left:72%;top:31%;width:170px;display:flex;align-items:center;gap:6px;color:#8b6758;transform:rotate(-5deg)}.intro-hand-note svg{width:58px;height:42px;flex:0 0 58px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.intro-hand-note span{font:500 17px/1.18 cursive}

.intro-analysis-copy{grid-column:2;grid-row:2;align-self:end;max-width:710px}.intro-analysis-phase{margin:0 0 10px;color:#8a7068;font-size:10px;font-weight:900;letter-spacing:.16em}.intro-analysis-copy h1{margin:0;color:#610c2a;font:600 clamp(46px,4.25vw,64px)/.96 var(--display-serif);letter-spacing:-.037em}.intro-analysis-copy>p:last-child{max-width:650px;margin:12px 0 0;color:#77625d;font:400 15px/1.5 var(--serif);transition:opacity .17s ease,transform .17s ease}.intro-analysis-copy>p.is-changing{opacity:0;transform:translateY(4px)}.intro-mobile-break{display:none}

.intro-analysis-notice{grid-column:2;grid-row:3;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:14px;max-width:720px;padding:15px 17px;border:1px solid var(--intro-line);border-radius:18px;background:rgba(255,250,246,.72)}.intro-notice-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#f4e6df;color:#7d1735}.intro-notice-icon .ui-icon{width:20px;height:20px}.intro-analysis-notice b{display:block;color:#5c142b;font-size:13px}.intro-analysis-notice p{margin:4px 0 0;color:#75615d;font-size:11.5px;line-height:1.46}

.intro-criteria{grid-column:1/-1;grid-row:4}.intro-criteria>h2{margin:0 0 10px;color:#775f59;font-size:10px;font-weight:900;letter-spacing:.17em}.intro-criteria-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.match-criterion{min-width:0;min-height:74px;display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:11px;padding:10px 12px;border:1px solid var(--intro-line);border-radius:16px;background:rgba(255,250,246,.62);color:#76645f;transition:border-color .2s ease,background .2s ease,color .2s ease}.criterion-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f1e2df;color:#7d1735}.criterion-icon .ui-icon{width:19px;height:19px}.criterion-copy{min-width:0}.criterion-copy b{display:block;color:#62504c;font-size:12px;line-height:1.18}.criterion-copy small{display:block;margin-top:4px;color:#8b7770;font-size:10px;line-height:1.25}.criterion-arrow{width:15px;height:15px;color:#806b65}.match-criterion.is-current{border-color:#8b2948;background:#fff7f7}.match-criterion.is-current .criterion-icon{background:#f3dde3;color:#7d1735}.match-criterion.is-current .criterion-copy b,.match-criterion.is-current .criterion-arrow{color:#6f1530}

.intro-privacy-banner{grid-column:1/-1;grid-row:5;display:grid;grid-template-columns:46px minmax(0,1fr) 20px;align-items:center;gap:13px;min-height:70px;padding:12px 17px;border-radius:18px;background:linear-gradient(100deg,#76112f,#8f2345);color:#fff}.intro-privacy-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16)}.intro-privacy-icon .ui-icon{width:20px;height:20px}.intro-privacy-banner b{display:block;font-size:13px}.intro-privacy-banner p{margin:3px 0 0;color:#f0dde3;font-size:10.75px;line-height:1.35}.intro-privacy-arrow{width:18px;height:18px;justify-self:end}

@media(max-width:1020px) and (min-width:821px){
  .introduction-analysis{grid-template-columns:230px minmax(0,1fr);column-gap:32px;padding-inline:32px}.intro-orbit-wrap{width:220px}.intro-hand-note{display:none}.intro-analysis-copy h1{font-size:46px}.intro-criteria-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:820px){
  body[data-mode="member"][data-route="match"] .member-nav{background:#fffaf6;border-top:1px solid #eaded6;box-shadow:none}
  body[data-mode="member"][data-route="match"] .member-nav a.active{background:transparent;color:#806d68}
  .introduction-analysis{display:grid;grid-template-columns:1fr;grid-template-rows:auto auto auto auto auto auto;align-content:start;row-gap:12px;height:auto;min-height:100%;padding:14px 14px calc(22px + env(safe-area-inset-bottom));background:#f9f0e9!important;overflow:visible}
  .introduction-analysis::before{right:-48%;top:-8%;width:120vw;height:62%;opacity:.6}.introduction-analysis::after{display:none}
  .intro-analysis-status{grid-column:1;grid-row:1;min-height:52px;padding:8px 12px;border-radius:15px}.intro-analysis-status-title{gap:8px;font-size:10.5px;letter-spacing:.14em}.intro-status-icon{width:19px;height:19px}.intro-active-pill{padding:5px 10px;gap:6px;font-size:9.5px}.intro-active-pill i{width:7px;height:7px}
  .intro-analysis-hero{grid-column:1;grid-row:2;min-height:165px;align-self:auto}.intro-orbit-wrap{width:clamp(160px,44vw,196px)}.intro-orbit-heart{box-shadow:none}.intro-orbit-person{border-width:1px}.intro-orbit-gold{box-shadow:0 0 0 6px rgba(226,192,126,.18)}
  .intro-hand-note{left:68%;top:24%;width:130px;gap:4px}.intro-hand-note svg{width:39px;height:30px;flex-basis:39px;stroke-width:1.7}.intro-hand-note span{font-size:13.5px;line-height:1.16}
  .intro-analysis-copy{grid-column:1;grid-row:3;align-self:auto;text-align:center;max-width:none;padding:0 4px}.intro-analysis-phase{margin:0 0 7px;font-size:9.5px;letter-spacing:.14em}.intro-analysis-copy h1{font-size:clamp(36px,9.8vw,44px);line-height:.99;letter-spacing:-.032em}.intro-mobile-break{display:block}.intro-analysis-copy>p:last-child{max-width:410px;margin:9px auto 0;font-size:13.4px;line-height:1.42}
  .intro-analysis-notice{grid-column:1;grid-row:4;grid-template-columns:42px minmax(0,1fr);gap:11px;max-width:none;padding:11px 12px;border-radius:15px}.intro-notice-icon{width:40px;height:40px}.intro-notice-icon .ui-icon{width:17px;height:17px}.intro-analysis-notice b{font-size:12.9px}.intro-analysis-notice p{margin-top:3px;font-size:10.9px;line-height:1.38}
  .intro-criteria{grid-column:1;grid-row:5;min-height:0}.intro-criteria>h2{margin:0 0 8px;font-size:9.4px;letter-spacing:.15em}.intro-criteria-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.match-criterion{min-height:64px;grid-template-columns:38px minmax(0,1fr) 14px;gap:8px;padding:9px 9px;border-radius:13px}.criterion-icon{width:37px;height:37px}.criterion-icon .ui-icon{width:16px;height:16px}.criterion-copy b{font-size:11.8px}.criterion-copy small{margin-top:2px;font-size:9.6px}.criterion-arrow{width:12px;height:12px}
  .intro-privacy-banner{grid-column:1;grid-row:6;min-height:62px;grid-template-columns:40px minmax(0,1fr) 16px;gap:10px;padding:10px 11px;border-radius:14px}.intro-privacy-icon{width:38px;height:38px}.intro-privacy-icon .ui-icon{width:17px;height:17px}.intro-privacy-banner b{font-size:12.8px}.intro-privacy-banner p{margin-top:2px;font-size:10.3px}.intro-privacy-arrow{width:14px;height:14px}
}
@media(max-width:430px){
  .introduction-analysis{padding-inline:12px}.intro-hand-note{left:67%;width:112px}.intro-analysis-copy h1{font-size:36px}.intro-analysis-copy>p:last-child{font-size:12.8px}.match-criterion{grid-template-columns:33px minmax(0,1fr) 12px;padding-inline:7px}.criterion-icon{width:32px;height:32px}.criterion-copy b{font-size:11.2px}.criterion-copy small{font-size:9.1px}
}

/* Dashboard reference — approved desktop reference, single source of truth */
body[data-mode="member"][data-route="dashboard"]{background:#fbf6f1}
body[data-mode="member"][data-route="dashboard"] .site-header{background:#fffdf9;border-bottom-color:#e8dfd8}
body[data-mode="member"][data-route="dashboard"] .member-nav{background:#fffdf9;border-top:1px solid #eaded6;box-shadow:none}
body[data-mode="member"][data-route="dashboard"] .member-nav a.active{background:transparent;color:#806d68}

.dashboard-reference{position:relative;width:min(1180px,100%);margin:0 auto;padding:50px 24px 42px;display:grid;gap:22px;background:#fbf6f100;overflow:visible}
.dashboard-reference::before{content:"";position:absolute;right:-150px;top:-130px;width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.52),rgba(255,255,255,.16) 52%,transparent 70%);pointer-events:none}
.dashboard-ref-copy{min-width:0;padding:0}
.dashboard-ref-copy .micro-label,.dashboard-ref-links-head .micro-label,.dashboard-ref-analysis .micro-label{margin:0 0 12px;color:#8f746c;font-size:11px;font-weight:850;letter-spacing:.18em}
.dashboard-ref-copy h1{margin:0;color:#781833;font:600 clamp(48px,3.65vw,62px)/.98 var(--display-serif);letter-spacing:-.043em}
.dashboard-ref-copy h1 em{color:#821f3d;font-style:italic;font-weight:500}
.dashboard-ref-heart{display:inline-block;margin-left:5px;color:#b99243;font-size:.7em;font-weight:400;transform:translateY(-2px)}
.dashboard-ref-copy>p:not(.micro-label){max-width:470px;margin:18px 0 0;color:#5d504b;font-size:16px;line-height:1.54}
.dashboard-ref-status{display:inline-flex;width:max-content;align-items:center;gap:12px;margin-top:18px;padding:14px 20px;border:1px solid #eaded5;border-radius:999px;background:#fffdfa;color:#6f1531;box-shadow:0 8px 22px rgba(75,44,38,.035);font-size:15px;font-weight:800}
.dashboard-ref-status-dot{width:14px;height:14px;border-radius:50%;background:#34b54c}
.dashboard-ref-status-arrow{width:16px;height:16px;margin-left:6px;color:#302925}

/* Desktop dashboard: clean two-column composition — greeting 65fr, wallet 45fr. */
.dashboard-top-refresh{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,65fr) minmax(363px,45fr);gap:30px;align-items:start;margin-bottom:0}
.dashboard-top-refresh .dashboard-ref-copy{display:flex;height:292px;min-height:292px;padding:4px 0 0;flex-direction:column;justify-content:flex-start}
.dashboard-top-refresh .dashboard-ref-copy .micro-label{margin-top:2px;margin-bottom:13px}

.dashboard-wallet-panel{position:relative;height:292px;min-width:0;display:grid;grid-template-rows:80px 1fr 62px;overflow:hidden;border:1px solid #e8ddd4;border-radius:20px;background:#fffdf9;box-shadow:0 8px 24px rgba(74,43,36,.035)}
.dashboard-wallet-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #eee3da;background:#fffdf9}
.dashboard-wallet-panel-title{min-width:0;display:flex;align-items:center;gap:12px;color:#927267;font-size:12px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
.dashboard-wallet-panel-title>span{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border:1px solid rgba(205,155,74,.14);border-radius:13px;background:linear-gradient(180deg,#fff6eb,#fbecda);color:#c4832d;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.dashboard-wallet-panel-title .ui-icon{width:24px;height:24px;stroke-width:1.75}
.dashboard-wallet-topup{height:49px;min-width:164px;display:inline-flex;align-items:center;justify-content:center;gap:13px;padding:0 19px;border:0;border-radius:13px;background:linear-gradient(135deg,#861433 0%,#a70d39 100%);box-shadow:none;color:#fff;font-size:13px;font-weight:850;line-height:1;white-space:nowrap}
.dashboard-wallet-topup .ui-icon{width:15px;height:15px;stroke-width:2}
.dashboard-wallet-body{position:relative;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:16px 124px 14px 30px;overflow:hidden;background:#fffdf9}
.dashboard-wallet-body::after{content:"";position:absolute;z-index:0;right:-51px;bottom:-80px;width:207px;height:207px;border-radius:50%;background:radial-gradient(circle at 42% 38%,rgba(255,246,226,.97) 0 30%,rgba(249,229,197,.66) 49%,rgba(249,229,197,.13) 67%,transparent 68%);pointer-events:none}
.dashboard-wallet-label,.dashboard-wallet-amount,.dashboard-wallet-note{position:relative;z-index:2}
.dashboard-wallet-label{margin:0 0 2px;color:#5f4b45;font-size:14px;font-weight:500;line-height:1.25}
.dashboard-wallet-amount{margin:0;color:#861a36;font:600 52px/.98 var(--display-serif);letter-spacing:-.035em;white-space:nowrap}
.dashboard-wallet-note{display:flex;align-items:center;gap:8px;margin-top:5px;color:#71534b;font-size:14px;font-weight:500;line-height:1.3;white-space:nowrap}
.dashboard-wallet-note .info{width:19px;height:19px;flex:0 0 19px;display:inline-grid;place-items:center;border:1.5px solid #b98e80;border-radius:50%;color:#a27366;font:700 11px/1 var(--serif)}
.dashboard-wallet-coins{position:absolute;z-index:2;right:22px;top:50%;width:94px;height:94px;transform:translateY(-44%);opacity:1;pointer-events:none;filter:drop-shadow(0 7px 8px rgba(174,124,48,.08))}
.dashboard-wallet-foot{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 29px;border:0;border-top:1px solid #eee3da;background:#fffdf9;color:#6b473f;text-align:left;font-size:14px;font-weight:650}
.dashboard-wallet-foot>span{display:inline-flex;align-items:center;gap:14px}
.dashboard-wallet-foot>span>.ui-icon{width:19px;height:19px;color:#a11740;stroke-width:2}
.dashboard-wallet-foot>.ui-icon{width:15px;height:15px;color:#4f413c;stroke-width:2}
.dashboard-wallet-foot:hover{background:#fffaf5}


.dashboard-ref-analysis{position:relative;z-index:1;width:100%;margin-left:0;margin-right:0;display:grid;grid-template-columns:minmax(0,1.32fr) minmax(250px,.68fr);gap:22px;align-items:center;padding:32px 134px;border-radius:28px;background:linear-gradient(135deg,#78132f 0%,#891636 58%,#8d1c3b 100%);color:#fff;overflow:hidden;box-shadow:0 17px 40px rgba(88,22,40,.08)}
.dashboard-ref-analysis::after{content:"";position:absolute;right:-80px;bottom:-110px;width:320px;height:320px;border:1px solid rgba(255,255,255,.06);border-radius:50%;box-shadow:0 0 0 30px rgba(255,255,255,.018),0 0 0 64px rgba(255,255,255,.012);pointer-events:none}
.dashboard-ref-analysis-copy,.dashboard-ref-analysis-visual{position:relative;z-index:1}
.dashboard-ref-analysis .micro-label{color:#f4dde3}
.dashboard-ref-analysis h2{margin:0;color:#fff;font:600 clamp(44px,4.25vw,62px)/.98 var(--display-serif);letter-spacing:-.035em}
.dashboard-ref-analysis p:not(.micro-label){max-width:660px;margin:15px 0 0;color:#f4e9eb;font-size:16.5px;line-height:1.5}
.dashboard-ref-analysis-button{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-width:min(100%,440px);min-height:64px;margin-top:27px;padding:0 27px;border-radius:999px;background:#fffaf5;color:#68142f;font-size:17px;font-weight:850;box-shadow:none}
.dashboard-ref-analysis-button .button-icon{width:18px;height:18px}
.dashboard-ref-analysis-visual{display:grid;justify-items:center;gap:17px}
.dashboard-ref-analysis-orbit{position:relative;width:235px;aspect-ratio:1}
.dashboard-ref-analysis-ring{position:absolute;inset:18px;border:1px solid rgba(255,255,255,.2);border-radius:50%}
.dashboard-ref-analysis-ring.ring-b{inset:38px;border-color:rgba(239,205,146,.28)}
.dashboard-ref-analysis-heart{position:absolute;left:50%;top:50%;width:128px;height:128px;transform:translate(-50%,-50%);display:grid;place-items:center;border:2px solid rgba(255,248,236,.88);border-radius:50%;background:rgba(94,9,35,.16)}
.dashboard-ref-analysis-heart .ui-icon{width:52px;height:52px;stroke:#fff}
.dashboard-ref-analysis-node{position:absolute;width:17px;height:17px;border-radius:50%;background:#dcb35c;box-shadow:0 0 0 9px rgba(220,179,92,.11)}
.dashboard-ref-analysis-node.node-1{top:10%;left:47%}
.dashboard-ref-analysis-node.node-2{right:5%;top:49%}
.dashboard-ref-analysis-node.node-3{left:6%;bottom:18%}
.dashboard-ref-analysis-badge{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;padding:13px 17px;border-radius:17px;background:#fff8f1;color:#6b1530}
.dashboard-ref-analysis-badge .analysis-badge-icon{width:25px;height:25px}
.dashboard-ref-analysis-badge span{font-size:14px;font-weight:800;line-height:1.22}

.dashboard-ref-links{position:relative;z-index:1;display:grid;gap:15px}
.dashboard-ref-links-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.dashboard-ref-links-script{margin:0;color:#ae8847;text-align:right;font:500 clamp(23px,2vw,32px)/.95 "Brush Script MT","Segoe Script","Snell Roundhand",cursive}
.dashboard-ref-links-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dashboard-ref-link-card{position:relative;min-width:0;min-height:132px;padding:19px 18px 18px;border:1px solid #eaded5;border-radius:19px;background:#fffdfa;box-shadow:0 8px 22px rgba(75,44,38,.035)}
.dashboard-ref-link-card>span:first-child{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;background:#f8eaeb;color:#8e1938}
.dashboard-ref-link-card>span:first-child .ui-icon{width:22px;height:22px}
.dashboard-ref-link-card>div{margin-top:14px;padding-right:14px}
.dashboard-ref-link-card b{display:block;color:#6b1430;font-size:17px;line-height:1.15}
.dashboard-ref-link-card small{display:block;margin-top:5px;color:#74645e;font-size:13px;line-height:1.22}
.dashboard-ref-link-card .card-arrow{position:absolute;right:16px;bottom:21px;width:16px;height:16px;color:#7c6963}
.wallet-transactions-modal{display:grid;gap:18px}
.wallet-transactions-head{padding-right:58px}
.wallet-transactions-label{display:flex;align-items:center;gap:10px;color:#98786d;font-size:10px;font-weight:850;letter-spacing:.17em}
.wallet-transactions-label>span{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#f8eadf;color:#b87929}
.wallet-transactions-label .ui-icon{width:19px;height:19px}
.wallet-transactions-head h2{margin:14px 0 7px;color:#741630;font:600 clamp(35px,4vw,48px)/1 var(--display-serif);letter-spacing:-.035em}
.wallet-transactions-head p{max-width:560px;margin:0;color:#6c5a54;font-size:13.5px;line-height:1.5}
.wallet-transactions-balance{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #eadfd6;border-radius:18px;background:#fffaf6}
.wallet-transactions-balance div{display:grid;gap:2px}.wallet-transactions-balance small{color:#8d756d;font-size:11px}.wallet-transactions-balance strong{color:#811936;font:600 30px/1 var(--display-serif)}
.wallet-transactions-balance>span{padding:8px 11px;border-radius:999px;background:#f5e9e5;color:#7a1934;font-size:11px;font-weight:800;white-space:nowrap}
.wallet-transactions-list{display:grid;gap:11px}
.wallet-transaction-item{overflow:hidden;border:1px solid #eadfd6;border-radius:18px;background:#fffdf9}
.wallet-transaction-main{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 16px}
.wallet-transaction-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f5e8e4;color:#841a37}.wallet-transaction-icon.is-credit{background:#edf7ee;color:#2f8c4b}.wallet-transaction-icon.is-debit{background:#f8e9ec;color:#8c1736}.wallet-transaction-icon .ui-icon{width:20px;height:20px}
.wallet-transaction-copy{min-width:0}.wallet-transaction-copy b{display:block;color:#5c2435;font-size:14px;line-height:1.2}.wallet-transaction-copy small{display:block;margin-top:4px;color:#927d75;font-size:11px}
.wallet-transaction-amount{color:#6f5b55;font-size:15px;font-weight:850;white-space:nowrap}.wallet-transaction-amount.is-credit{color:#2d8247}.wallet-transaction-amount.is-debit{color:#851a36}
.wallet-transaction-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid #eee4dc;background:#fcf7f3}
.wallet-transaction-details>span{min-width:0;padding:11px 13px}.wallet-transaction-details>span+span{border-left:1px solid #eee4dc}.wallet-transaction-details small{display:block;color:#9a847c;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.wallet-transaction-details b{display:block;margin-top:4px;color:#66524c;font-size:11px;line-height:1.25;overflow-wrap:anywhere}
.wallet-transaction-status{color:#367c4d!important}.wallet-transaction-status.status-pending,.wallet-transaction-status.status-processing{color:#a06d22!important}.wallet-transaction-status.status-failed,.wallet-transaction-status.status-cancelled,.wallet-transaction-status.status-canceled{color:#9a2b3b!important}
.wallet-transactions-empty{display:grid;justify-items:center;padding:34px 22px;border:1px dashed #ddcdc4;border-radius:18px;background:#fffaf6;text-align:center}.wallet-transactions-empty>span{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#f5e8e4;color:#8b1a38}.wallet-transactions-empty .ui-icon{width:22px;height:22px}.wallet-transactions-empty h3{margin:13px 0 5px;color:#69162f;font:600 24px/1.1 var(--display-serif)}.wallet-transactions-empty p{max-width:440px;margin:0;color:#7a6760;font-size:12.5px;line-height:1.5}
.dashboard-ref-quote{position:relative;z-index:1;padding:36px 30px;border-radius:26px;background:linear-gradient(180deg,#f7e8e7,#efd8d4);text-align:center;overflow:hidden}
.dashboard-ref-quote-overlay{position:absolute;left:-50px;bottom:-80px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(124,78,59,.11),transparent 66%);filter:blur(8px)}
.dashboard-ref-quote-ar,.dashboard-ref-quote-nl,.dashboard-ref-quote-ref{position:relative;z-index:1}
.dashboard-ref-quote-ar{margin:0;color:#761a35;font:500 clamp(30px,3vw,42px)/1.6 var(--display-serif)}
.dashboard-ref-quote-nl{max-width:820px;margin:10px auto 0;color:#5f4d46;font:italic 500 clamp(19px,1.8vw,25px)/1.45 var(--display-serif)}
.dashboard-ref-quote-ref{margin:15px 0 0;color:#9e746b;font-size:13px;font-weight:850;letter-spacing:.17em}

/* Compact desktop: keep the same two-column 65fr/45fr composition. */
@media(max-width:1100px) and (min-width:961px){
  .dashboard-reference{width:min(1180px,100%);padding-left:24px;padding-right:24px}
  .dashboard-top-refresh{grid-template-columns:minmax(0,65fr) minmax(363px,45fr);gap:24px}
  .dashboard-ref-copy h1{font-size:clamp(44px,4.7vw,56px)}
  .dashboard-ref-copy>p:not(.micro-label){font-size:14.5px}
  .dashboard-wallet-topup{min-width:150px;padding-inline:16px}
  .dashboard-wallet-body{padding-left:24px;padding-right:108px}
  .dashboard-wallet-amount{font-size:48px}
  .dashboard-ref-analysis{padding-left:72px;padding-right:72px}
}

@media(max-width:960px){
  .dashboard-reference{width:100%;padding:18px 24px calc(30px + var(--app-nav-mobile));gap:18px;overflow:visible}
  .dashboard-top-refresh{grid-template-columns:1fr;gap:16px;margin-bottom:18px}
  .dashboard-top-refresh .dashboard-ref-copy{height:auto;min-height:0;padding:0}
  .dashboard-ref-copy .micro-label,.dashboard-ref-links-head .micro-label,.dashboard-ref-analysis .micro-label{margin-bottom:9px;font-size:9.2px;letter-spacing:.18em}
  .dashboard-ref-copy h1{font-size:clamp(27px,7.5vw,32px);line-height:1.01;letter-spacing:-.038em}
  .dashboard-ref-copy>p:not(.micro-label){margin-top:11px;font-size:12.7px;line-height:1.45}
  .dashboard-ref-heart{margin-left:3px;font-size:.72em}
  .dashboard-ref-status{margin-top:16px;padding:11px 15px;gap:9px;font-size:12.4px;box-shadow:0 4px 13px rgba(75,44,38,.035)}
  .dashboard-ref-status-dot{width:11px;height:11px}
  .dashboard-ref-status-arrow{width:13px;height:13px;margin-left:2px}
  .dashboard-wallet-panel{height:auto;min-height:272px;grid-template-rows:auto 1fr 56px;border-radius:20px}
  .dashboard-wallet-panel-head{padding:13px 14px}
  .dashboard-wallet-panel-title{font-size:10.5px;letter-spacing:.14em}
  .dashboard-wallet-panel-title>span{width:43px;height:43px;flex-basis:43px;border-radius:12px}
  .dashboard-wallet-panel-title .ui-icon{width:21px;height:21px}
  .dashboard-wallet-topup{height:44px;min-width:0;padding:0 15px;border-radius:12px;font-size:12px}
  .dashboard-wallet-body{min-height:132px;padding:16px 103px 15px 22px}
  .dashboard-wallet-amount{font-size:44px}
  .dashboard-wallet-label,.dashboard-wallet-note{font-size:12.5px}
  .dashboard-wallet-note{white-space:normal}
  .dashboard-wallet-coins{right:13px;width:80px;height:80px}
  .dashboard-wallet-body::after{right:-56px;bottom:-88px;width:185px;height:185px}
  .dashboard-wallet-foot{padding:0 21px;font-size:13px}
  .dashboard-wallet-foot>span{gap:11px}
  .dashboard-ref-analysis{width:100%;margin-left:0;margin-right:0;grid-template-columns:minmax(0,1.34fr) minmax(118px,.66fr);gap:10px;padding:20px 16px;border-radius:20px;box-shadow:none}
  .dashboard-ref-analysis h2{font-size:clamp(30px,8.3vw,36px);line-height:.98}
  .dashboard-ref-analysis p:not(.micro-label){margin-top:10px;font-size:12.3px;line-height:1.42}
  .dashboard-ref-analysis-button{min-width:0;width:100%;min-height:50px;margin-top:17px;padding:0 18px;font-size:13.2px}
  .dashboard-ref-analysis-button .button-icon{width:14px;height:14px}
  .dashboard-ref-analysis-visual{gap:11px}
  .dashboard-ref-analysis-orbit{width:126px}
  .dashboard-ref-analysis-ring{inset:9px}
  .dashboard-ref-analysis-ring.ring-b{inset:21px}
  .dashboard-ref-analysis-heart{width:74px;height:74px}
  .dashboard-ref-analysis-heart .ui-icon{width:31px;height:31px}
  .dashboard-ref-analysis-node{width:10px;height:10px;box-shadow:0 0 0 5px rgba(220,179,92,.11)}
  .dashboard-ref-analysis-badge{grid-template-columns:24px minmax(0,1fr);gap:7px;padding:9px 10px;border-radius:12px}
  .dashboard-ref-analysis-badge .analysis-badge-icon{width:18px;height:18px}
  .dashboard-ref-analysis-badge span{font-size:10px;line-height:1.16}
  .dashboard-ref-links{gap:11px}
  .dashboard-ref-links-head{gap:9px}
  .dashboard-ref-links-script{font-size:clamp(18px,5.2vw,23px)}
  .dashboard-ref-links-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .dashboard-ref-link-card{min-height:112px;padding:13px 10px 12px;border-radius:15px;box-shadow:none}
  .dashboard-ref-link-card>span:first-child{width:36px;height:36px;border-radius:11px}
  .dashboard-ref-link-card>span:first-child .ui-icon{width:18px;height:18px}
  .dashboard-ref-link-card>div{margin-top:10px;padding-right:0}
  .dashboard-ref-link-card b{font-size:11.4px}
  .dashboard-ref-link-card small{margin-top:3px;font-size:9.8px}
  .dashboard-ref-link-card .card-arrow{right:9px;bottom:12px;width:12px;height:12px}
  .wallet-transactions-head{padding-right:42px}
  .wallet-transactions-head h2{font-size:34px}
  .wallet-transactions-balance{padding:15px 16px}
  .wallet-transaction-main{grid-template-columns:38px minmax(0,1fr) auto;padding:13px 12px;gap:10px}
  .wallet-transaction-icon{width:38px;height:38px;border-radius:11px}
  .wallet-transaction-details{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wallet-transaction-details>span:nth-child(odd){border-left:0}
  .wallet-transaction-details>span:nth-child(n+3){border-top:1px solid #eee4dc}
  .dashboard-ref-quote{padding:23px 16px;border-radius:18px}
  .dashboard-ref-quote-ar{font-size:clamp(23px,6.4vw,29px);line-height:1.5}
  .dashboard-ref-quote-nl{margin-top:8px;font-size:clamp(13.5px,3.8vw,16px);line-height:1.4}
  .dashboard-ref-quote-ref{margin-top:11px;font-size:10px;letter-spacing:.14em}
}

@media(max-width:430px){
  .dashboard-wallet-panel-head{gap:9px}
  .dashboard-wallet-panel-title{gap:9px}
  .dashboard-wallet-panel-title>span{width:40px;height:40px;flex-basis:40px}
  .dashboard-wallet-topup{padding:0 12px;font-size:11.5px;gap:8px}
  .dashboard-wallet-body{padding-left:19px;padding-right:88px}
  .dashboard-wallet-amount{font-size:41px}
  .dashboard-wallet-coins{right:8px;width:72px;height:72px}
  .dashboard-wallet-foot{padding:0 18px}
  .dashboard-ref-links-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .dashboard-ref-link-card{min-height:100px}
  .wallet-transactions-balance{align-items:flex-start;flex-direction:column}
  .wallet-transaction-main{grid-template-columns:36px minmax(0,1fr);align-items:start}
  .wallet-transaction-amount{grid-column:2;margin-top:-2px}
  .wallet-transaction-details{grid-template-columns:1fr}
  .wallet-transaction-details>span+span{border-left:0;border-top:1px solid #eee4dc}
}

/* Uitleg reference rebuild v28 */
.how-reference{position:relative;width:min(1180px,100%);height:auto!important;min-height:100%;margin:0 auto;padding:clamp(32px,4vw,54px) clamp(26px,4vw,52px) 38px;background:#fbf4ee;overflow:visible!important}
.how-reference::before{content:"";position:absolute;right:-11%;top:-7%;width:46%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.42),rgba(255,255,255,.06) 61%,transparent 62%);pointer-events:none}
.how-reference::after{display:none}
.how-ref-hero{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.38fr) minmax(280px,.62fr);gap:clamp(30px,5vw,72px);align-items:start}
.how-ref-copy{padding-top:20px}
.how-ref-copy>.micro-label{margin:0 0 15px;color:#8e746c;font-size:11px;font-weight:850;letter-spacing:.2em}
.how-ref-copy h1{margin:0;color:#71142f;font:600 clamp(54px,5.5vw,78px)/.96 var(--display-serif);letter-spacing:-.045em}
.how-ref-copy h1 em{font-weight:400;color:#7b2941}
.how-ref-copy>p:not(.micro-label){max-width:650px;margin:20px 0 0;color:#5f514b;font:400 19px/1.52 var(--display-serif)}
.how-ref-values{display:flex;align-items:flex-start;gap:32px;margin-top:34px}
.how-ref-values>span{display:grid;grid-template-columns:40px auto;align-items:center;gap:11px;color:#5f514b}
.how-ref-values .ui-icon{width:31px;height:31px;color:#ae8541}.how-ref-values b{font:500 15px/1.22 var(--display-serif)}
.how-ref-arch{width:min(100%,330px);aspect-ratio:231/415;justify-self:end;background:url('./assets/how-arch-reference.webp') center/cover no-repeat;border-radius:122px 122px 0 0;overflow:hidden;box-shadow:none}
.how-ref-arch>span{display:none}

.how-ref-steps{position:relative;z-index:1;margin-top:26px;display:grid}
.how-ref-step{position:relative;appearance:none;width:100%;display:grid;grid-template-columns:74px 82px minmax(0,1fr) minmax(130px,180px) 22px;align-items:center;gap:18px;min-height:118px;padding:18px 4px;border:0;border-bottom:1px solid #e7d8ce;background:transparent;text-align:left;color:inherit;cursor:pointer}
.how-ref-step:first-child{border-top:0}
.how-ref-num{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#f3e5d8;color:#9a7040;font:600 20px var(--display-serif);box-shadow:inset 0 0 0 1px rgba(169,128,76,.08)}
.how-ref-step:first-child .how-ref-num,.how-ref-step:last-child .how-ref-num{background:#8a1534;color:#fff}
.how-ref-icon{width:74px;height:74px;border-radius:18px;display:grid;place-items:center;background:#f6e8e7;color:#8a1534}.how-ref-icon .ui-icon{width:33px;height:33px}
.how-ref-step-copy{min-width:0}.how-ref-step-copy b{display:block;color:#71142f;font:600 clamp(24px,2vw,31px)/1.08 var(--display-serif)}.how-ref-step-copy small{display:block;max-width:620px;margin-top:7px;color:#645650;font:400 15.5px/1.42 var(--display-serif)}
.how-ref-tag{justify-self:end;color:#9c7d6f;font-size:10.5px;font-weight:800;line-height:1.28;letter-spacing:.16em;text-align:left}
.how-ref-arrow{width:20px;height:20px;color:#811631}
.how-ref-step:hover .how-ref-step-copy b,.how-ref-step:focus-visible .how-ref-step-copy b{color:#8e1c3d}
.how-ref-step:focus-visible{outline:2px solid rgba(125,23,48,.22);outline-offset:3px;border-radius:14px}

.how-ref-cta{position:relative;z-index:1;margin-top:26px;min-height:104px;padding:18px 20px;display:grid;grid-template-columns:76px minmax(0,1fr) 64px;align-items:center;gap:18px;border-radius:24px;background:linear-gradient(135deg,#76142f,#8b1838);color:#fff;box-shadow:0 14px 34px rgba(96,20,43,.13)}
.how-ref-cta-icon{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1)}.how-ref-cta-icon .ui-icon{width:31px;height:31px}.how-ref-cta small{display:block;color:#f1dce2;font-size:10.5px;font-weight:800;letter-spacing:.2em}.how-ref-cta b{display:block;margin-top:6px;font:500 clamp(26px,2.5vw,36px)/1.05 var(--display-serif)}.how-ref-cta-arrow{width:52px;height:52px;padding:14px;border-radius:50%;background:#fff;color:#7d1730}
.how-ref-foot{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 6px 0;color:#6d5c56;font:400 13px/1.35 var(--display-serif)}.how-ref-foot>span{display:flex;align-items:center;gap:9px}.how-ref-foot .ui-icon{width:16px;height:16px}.how-ref-foot em{color:#8a4253;font-size:14px}

@media(max-width:820px){
  .how-reference{width:100%;padding:18px 16px calc(26px + var(--app-nav-mobile));background:#fbf4ee}
  .how-ref-hero{grid-template-columns:minmax(0,1.58fr) minmax(118px,.42fr);gap:10px}
  .how-ref-copy{padding-top:22px}
  .how-ref-copy>.micro-label{margin-bottom:9px;font-size:8.8px;letter-spacing:.19em}
  .how-ref-copy h1{font-size:clamp(31px,9.4vw,42px);line-height:.99;letter-spacing:-.04em}
  .how-ref-copy>p:not(.micro-label){max-width:295px;margin-top:12px;font-size:13.2px;line-height:1.42}
  .how-ref-values{gap:13px;margin-top:18px}
  .how-ref-values>span{grid-template-columns:27px auto;gap:7px}.how-ref-values .ui-icon{width:24px;height:24px}.how-ref-values b{font-size:10.7px;line-height:1.18}
  .how-ref-arch{width:100%;max-width:154px;margin-left:auto;border-radius:78px 78px 0 0;background-position:center top}
  .how-ref-steps{margin-top:18px}
  .how-ref-step{grid-template-columns:43px 49px minmax(0,1fr) 76px 15px;gap:9px;min-height:91px;padding:12px 0}
  .how-ref-num{width:42px;height:42px;font-size:13.5px}
  .how-ref-icon{width:46px;height:46px;border-radius:13px}.how-ref-icon .ui-icon{width:22px;height:22px}
  .how-ref-step-copy b{font-size:clamp(19px,5.8vw,25px);line-height:1.06}.how-ref-step-copy small{margin-top:4px;font-size:12px;line-height:1.28}
  .how-ref-tag{font-size:7.6px;line-height:1.24;letter-spacing:.12em}.how-ref-arrow{width:14px;height:14px}
  .how-ref-cta{min-height:82px;margin-top:18px;padding:12px 13px;grid-template-columns:50px minmax(0,1fr) 45px;gap:11px;border-radius:18px}.how-ref-cta-icon{width:46px;height:46px}.how-ref-cta-icon .ui-icon{width:21px;height:21px}.how-ref-cta small{font-size:7.9px;letter-spacing:.17em}.how-ref-cta b{margin-top:4px;font-size:21px}.how-ref-cta-arrow{width:40px;height:40px;padding:11px}
  .how-ref-foot{padding:12px 1px 0;font-size:10.5px}.how-ref-foot em{font-size:10.8px}
}

@media(max-width:430px){
  .how-reference{padding-inline:13px}
  .how-ref-hero{grid-template-columns:minmax(0,1.62fr) 112px;gap:8px}
  .how-ref-copy h1{font-size:30px}.how-ref-copy>p:not(.micro-label){font-size:12.4px}
  .how-ref-values{gap:9px}.how-ref-values>span{grid-template-columns:23px auto;gap:5px}.how-ref-values .ui-icon{width:20px;height:20px}.how-ref-values b{font-size:9.5px}
  .how-ref-arch{max-width:112px;border-radius:58px 58px 0 0}
  .how-ref-step{grid-template-columns:40px 44px minmax(0,1fr) 65px 13px;gap:7px;min-height:86px}.how-ref-num{width:38px;height:38px;font-size:12.5px}.how-ref-icon{width:42px;height:42px;border-radius:12px}.how-ref-icon .ui-icon{width:20px;height:20px}.how-ref-step-copy b{font-size:18px}.how-ref-step-copy small{font-size:11px}.how-ref-tag{font-size:6.9px}.how-ref-arrow{width:12px;height:12px}
  .how-ref-foot{align-items:flex-start}.how-ref-foot em{text-align:right}
}

@media(max-width:360px){
  .how-ref-hero{grid-template-columns:1fr}.how-ref-arch{display:none}.how-ref-copy>p:not(.micro-label){max-width:none}
  .how-ref-values{justify-content:space-between}
  .how-ref-step{grid-template-columns:38px 42px minmax(0,1fr) 12px}.how-ref-tag{display:none}.how-ref-step-copy b{font-size:17.5px}.how-ref-step-copy small{font-size:10.8px}
}

/* Scheduling availability */
.schedule-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.schedule-picker label{display:grid;gap:6px;color:#705b56;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.schedule-picker .field-input{width:100%;min-height:52px;padding:0 13px;border:1px solid #dbcac0;border-radius:12px;background:#fffdf9;color:#4f1729;font-size:14px;font-weight:700;outline:0}
.schedule-picker .field-input:focus{border-color:#8a2340;box-shadow:0 0 0 3px rgba(125,23,48,.08)}
.schedule-picker .field-input:disabled{opacity:.55;cursor:not-allowed;background:#f2e9e3}
.schedule-feedback{margin-top:10px;padding:10px 12px;border-radius:12px;font-size:11.5px;line-height:1.45;border:1px solid transparent}
.schedule-feedback.is-info{background:#f5eee8;color:#735d55;border-color:#e7d8ce}
.schedule-feedback.is-loading{background:#f4ead7;color:#75551f;border-color:#e8d3a9}
.schedule-feedback.is-success{background:#edf5ea;color:#41673b;border-color:#cfe1ca}
.schedule-feedback.is-error{background:#faebee;color:#7c1836;border-color:#e9c6d0}
.schedule-submit{margin-top:11px}.schedule-submit:disabled,#confirmSlotBtn:disabled{opacity:.55;cursor:not-allowed;transform:none!important}
@media(max-width:520px){.schedule-picker{grid-template-columns:1fr}.schedule-picker .field-input{min-height:50px;font-size:16px}.schedule-feedback{font-size:11px}.schedule-submit{width:100%}}

/* Flow/wallet/attendance additions */
.selected-match-art.has-counterpart-photo,.selected-match-art.is-private-placeholder{isolation:isolate}
.match-action-stack{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.wallet-inline{margin-top:12px;padding:10px 12px;border-radius:12px;background:#f4e8e1;color:#6c1730;font-size:12px}.match-status-note{font-size:13px;margin-bottom:0}.schedule-rule-note{margin:9px 0 12px;padding:9px 11px;border-radius:11px;background:#f4e8e1;color:#765f58;font-size:11px;line-height:1.35}
.attendance-panel{grid-column:1/-1;margin-top:16px;padding:18px;border:1px solid #e3d4cb;border-radius:18px;background:#fffaf6}.attendance-panel h3{margin:3px 0 7px;color:#5a1029;font:600 22px/1.1 var(--display-serif)}.attendance-panel p{margin:0 0 12px;color:#75625d;font-size:12px;line-height:1.5}.attendance-actions{display:flex;gap:8px;flex-wrap:wrap}.attendance-textarea{width:100%;min-height:92px;margin:12px 0 9px;padding:12px 13px;border:1px solid #dbcac0;border-radius:12px;background:#fff;font:400 16px/1.4 var(--sans);resize:vertical}.attendance-panel input[type=file]{width:100%;margin:0 0 10px;font-size:12px;color:#6f5b55}
@media(max-width:820px){.match-action-stack{display:grid;grid-template-columns:1fr}.match-action-stack .button{width:100%}.attendance-panel{margin-top:12px;padding:14px;border-radius:15px}.attendance-panel h3{font-size:19px}.attendance-actions{display:grid;grid-template-columns:1fr}.attendance-actions .button{width:100%}.match-status-note{font-size:11px}.schedule-rule-note{font-size:10px}}
.dashboard-ref-status.is-paused .dashboard-ref-status-dot{background:#b68a55;box-shadow:none}.dashboard-wallet-balance{margin-left:4px;color:#7a655f;font-size:10px;font-weight:700;white-space:nowrap}

/* ========================================================================
   UNIQAH v40 — Public homepage rebuilt to the supplied visual reference
   ======================================================================== */
body[data-mode="guest"]{background:#fbf6f0;color:#553b37}
body[data-mode="guest"] #app{width:100%;max-width:none;background:#fbf6f0;box-shadow:none;padding-top:72px}
body[data-mode="guest"] .site-header{position:fixed;top:0;left:0;right:0;width:100%;height:72px;padding:0 clamp(28px,6vw,76px);background:rgba(255,251,247,.965);border-bottom:1px solid #eaded5;box-shadow:0 8px 28px rgba(67,40,34,.055);backdrop-filter:blur(16px) saturate(1.04);-webkit-backdrop-filter:blur(16px) saturate(1.04);z-index:180}
body[data-mode="guest"] .site-header::before{display:none}
body[data-mode="guest"] .brand{gap:9px;font-size:22px;color:#77152d}
body[data-mode="guest"] .brand img{width:42px;height:42px}
body[data-mode="guest"] .brand-copy{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
body[data-mode="guest"] .brand-tagline{display:block;font:700 5.5px/1 var(--sans);letter-spacing:.19em;color:#8d6b68}
body[data-mode="guest"] .public-nav{gap:38px}
body[data-mode="guest"] .public-nav a{font-size:12px;color:#514440;font-weight:700}
body[data-mode="guest"] .header-link{font-size:12px;color:#514440}
body[data-mode="guest"] .header-cta{padding:10px 18px;border-radius:9px;background:#851737;font-size:12px;box-shadow:0 7px 16px rgba(119,21,45,.18)}

body[data-mode="guest"] .home-ref-shell{min-height:0;display:block;background:#fbf6f0;overflow:visible}
body[data-mode="guest"] .mobile-landing,body[data-mode="guest"] .auth-hero{display:none!important}
.home-ref-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(410px,.96fr);gap:clamp(34px,4vw,66px);align-items:center;max-width:1180px;margin:0 auto;padding:36px 24px 42px}
.home-ref-hero::before{content:"";position:absolute;left:-220px;bottom:-92px;width:360px;height:360px;border:1px solid rgba(184,144,106,.11);border-radius:50%;box-shadow:0 0 0 20px rgba(255,255,255,.16);pointer-events:none}
.home-ref-hero-copy{position:relative;z-index:2;padding:10px 0 0}
.home-ref-kicker{margin:0 0 10px;color:#9b725b;font-size:10.5px;font-weight:850;letter-spacing:.17em;text-transform:uppercase}
.home-ref-hero h1{margin:0;color:#681129;font:600 clamp(52px,5vw,72px)/.93 var(--display-serif);letter-spacing:-.05em}
.home-ref-lead{max-width:540px;margin:16px 0 0;color:#685653;font:400 16px/1.52 var(--display-serif)}
.home-ref-hero-actions{display:flex;gap:14px;margin-top:20px;align-items:center}
.home-ref-primary,.home-ref-secondary,.home-ref-price-btn,.home-ref-contact-btn,.home-ref-text-btn{appearance:none;border:0;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:12px;font-size:12px;font-weight:800;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.home-ref-primary{min-width:220px;padding:0 20px;background:linear-gradient(135deg,#861536,#6a0d29);color:#fff;box-shadow:0 9px 22px rgba(118,18,49,.22)}
.home-ref-primary:hover,.home-ref-price-btn:hover{transform:translateY(-1px)}
.home-ref-secondary{min-width:180px;padding:0 20px;background:#fffaf5;border:1px solid #e6d7cd;color:#8a4555}
.home-ref-hero-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px;max-width:610px}
.home-ref-hero-values>div{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start}
.home-ref-value-icon{width:34px;height:34px;display:grid;place-items:center;color:#b37a2c;font:400 28px/1 var(--display-serif)}
.home-ref-hero-values p{margin:0}.home-ref-hero-values b{display:block;color:#681129;font-size:13px}.home-ref-hero-values small{display:block;margin-top:4px;color:#7c6963;font-size:11.5px;line-height:1.4}
.home-ref-hero-visual{position:relative;justify-self:end;width:min(100%,505px)}
.home-ref-hero-visual img{width:100%;height:auto;border-radius:0;filter:saturate(.95)}

/* Auth is now a modal so the public page remains identical to the reference. */
body[data-mode="guest"] .auth-card-wrap{display:none;position:fixed;inset:0;z-index:250;align-items:center;justify-content:center;padding:24px;background:rgba(44,22,27,.35);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
body[data-mode="guest"] .auth-card-wrap.is-open{display:grid}
body[data-mode="guest"] .auth-card-wrap::before{display:none}
body[data-mode="guest"] .auth-card{width:min(470px,calc(100vw - 32px));padding:34px;border-radius:24px;box-shadow:0 30px 90px rgba(69,31,36,.24)}
body[data-mode="guest"] .mobile-auth-close{display:grid;position:absolute;right:17px;top:17px;width:38px;height:38px;border:1px solid #eadbd2;border-radius:50%;place-items:center;background:#fffaf6;color:#6d1730}
body[data-mode="guest"] .mobile-auth-close svg{width:17px;height:17px}
body.mobile-auth-open{overflow:hidden}
body[data-mode="guest"] .auth-quote{display:none}

body[data-mode="guest"] .home-ref-info{position:relative;overflow:hidden;padding:0 24px 26px;background:#fbf6f0;border:0}
body[data-mode="guest"] .home-ref-info::before{content:"";position:absolute;right:-250px;top:10px;width:540px;height:900px;border:1px solid rgba(184,144,106,.10);border-bottom:0;border-radius:270px 270px 0 0;box-shadow:0 0 0 22px rgba(255,255,255,.12);pointer-events:none}
.home-ref-section{position:relative;z-index:1;max-width:1120px;margin:0 auto;padding:38px 0;scroll-margin-top:88px}
.home-ref-section h2{margin:0;color:#681129;font:600 clamp(34px,4.1vw,52px)/.98 var(--display-serif);letter-spacing:-.045em}
.home-ref-section h2 em{font-weight:400;color:#9a4058}
.home-ref-intro{text-align:center;padding-top:34px}
.home-ref-intro h2{font-size:clamp(40px,4.7vw,61px)}
.home-ref-center-copy{margin:13px auto 0;max-width:660px;color:#76625d;font:400 15px/1.55 var(--display-serif)}
.home-ref-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.home-ref-pillars article{min-height:94px;display:grid;grid-template-columns:52px 1fr;gap:13px;align-items:center;padding:18px 20px;border:1px solid #e6d9d0;border-radius:16px;background:rgba(255,251,247,.74);text-align:left;box-shadow:0 7px 20px rgba(73,45,38,.03)}
.home-ref-round-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;border:1px solid #edced6;background:#fff7f7;color:#8b1838;font:400 28px/1 var(--display-serif)}
.home-ref-pillars b{display:block;color:#71152f;font-size:14px}.home-ref-pillars small{display:block;margin-top:5px;color:#806d67;font-size:12px;line-height:1.42}

.home-ref-analysis-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.65fr) minmax(190px,.62fr);gap:28px;align-items:center;margin-top:10px;padding:30px;border-radius:20px;background:linear-gradient(135deg,#f4e4de,#faeee7 58%,#f6e4df);overflow:hidden}
.home-ref-analysis-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 45%,rgba(255,255,255,.48),transparent 28%);pointer-events:none}
.home-ref-analysis-copy,.home-ref-orbit,.home-ref-analysis-side{position:relative;z-index:1}
.home-ref-analysis-copy h2{font-size:clamp(35px,4vw,52px)}
.home-ref-analysis-copy>p:not(.home-ref-kicker){max-width:560px;margin:13px 0 0;color:#6f5b56;font-size:14px;line-height:1.58}
.home-ref-orbit{aspect-ratio:1;max-width:225px;justify-self:center}
.home-ref-orbit-ring{position:absolute;inset:14%;border:1px solid rgba(139,84,92,.16);border-radius:50%}.home-ref-orbit-ring.ring-b{inset:27%}.home-ref-orbit-ring.ring-c{inset:39%}
.home-ref-orbit-heart{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#9b153d;color:#fff;font:400 38px/1 var(--display-serif);box-shadow:0 7px 17px rgba(114,15,44,.23)}
.home-ref-node{position:absolute;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #ead4da;color:#9a4960;font-size:18px;box-shadow:0 4px 12px rgba(84,49,48,.05)}
.home-ref-node.n1{left:0;top:40%}.home-ref-node.n2{right:3%;top:10%}.home-ref-node.n3{right:2%;bottom:9%}.home-ref-node.n4{left:15%;bottom:-1%}
.home-ref-gold{position:absolute;width:17px;height:17px;border-radius:50%;background:#bc891d;box-shadow:inset 0 1px 2px rgba(255,255,255,.45)}.home-ref-gold.g1{left:18%;top:3%}.home-ref-gold.g2{right:22%;top:31%;width:13px;height:13px}.home-ref-gold.g3{right:18%;bottom:4%;width:18px;height:18px}.home-ref-gold.g4{left:35%;bottom:-3%;width:12px;height:12px}
.home-ref-analysis-side{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:24px}
.home-ref-analysis-side>em{align-self:center;color:#9d7469;font:italic 24px/1 var(--display-serif);transform:rotate(-4deg)}
.home-ref-alert{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:14px 16px;border-radius:13px;background:rgba(255,252,248,.92);box-shadow:0 6px 18px rgba(91,55,47,.07)}
.home-ref-alert>span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;border:1px solid #dfb980;color:#b4772b}.home-ref-alert p{margin:0}.home-ref-alert b{display:block;color:#6f1730;font-size:12.5px}.home-ref-alert small{display:block;margin-top:4px;color:#77645e;font-size:11px;line-height:1.42}

.home-ref-route{padding-top:38px}.home-ref-route>p:not(.home-ref-kicker){margin:8px 0 0;color:#806c65;font-size:13.5px;line-height:1.5}
.home-ref-route-grid{display:grid;grid-template-columns:1fr 34px 1fr 34px 1fr 34px 1fr;align-items:center;gap:0;margin-top:24px}
.home-ref-route-grid article{min-width:0}.home-ref-route-grid>i{text-align:center;color:#9f7d72;font-style:normal;font-size:20px}
.home-ref-route-top{display:flex;align-items:center;gap:10px}.home-ref-step-icon{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#f7ece7;border:1px solid #e5d5cc;color:#8a1a39;font-size:23px}.home-ref-route-top small{color:#9b725b;font-size:10px;font-weight:850}
.home-ref-route-grid b{display:block;margin-top:9px;color:#6d1730;font:600 16px/1.15 var(--display-serif)}.home-ref-route-grid p{max-width:205px;margin:6px 0 0;color:#7d6963;font-size:11.5px;line-height:1.5}

.home-ref-price{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(210px,.52fr) minmax(230px,.62fr);padding:0!important;border-radius:18px;overflow:hidden;background:linear-gradient(125deg,#8b0d34,#6f0929 65%,#4c061b);color:white;box-shadow:0 9px 24px rgba(84,22,43,.12)}
.home-ref-price-copy{padding:30px 32px}.home-ref-kicker.light{color:#e9c8ce}.home-ref-price h2{color:#fff;font-size:36px;line-height:1.02}.home-ref-price-copy>p:not(.home-ref-kicker){margin:12px 0 0;color:#f0d9dd;font-size:12.5px;line-height:1.55}.home-ref-price-btn{margin-top:17px;min-width:188px;padding:0 19px;background:#fff7f2;color:#74152f;box-shadow:none}
.home-ref-price-value{padding:29px 28px 24px;border-left:1px solid rgba(255,255,255,.18)}.home-ref-price-value strong{display:block;font:600 44px/1 var(--display-serif)}.home-ref-price-value>span{display:block;margin-top:4px;font-size:13px;font-weight:700}.home-ref-price-value ul{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px solid rgba(255,255,255,.18)}.home-ref-price-value li{position:relative;margin:7px 0;padding-left:18px;color:#f7e8e9;font-size:11px;line-height:1.4}.home-ref-price-value li::before{content:"✓";position:absolute;left:0;font-weight:900}
.home-ref-price-image{min-height:190px}.home-ref-price-image img{width:100%;height:100%;object-fit:cover}

.home-ref-privacy{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);gap:26px;align-items:center;padding-top:22px}
.home-ref-privacy-image img{width:100%;border-radius:17px}
.home-ref-privacy-copy h2{font-size:38px}.home-ref-privacy-copy>p:not(.home-ref-kicker){margin:10px 0 0;color:#78645e;font-size:13.5px;line-height:1.55}
.home-ref-privacy-points{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:16px;border-top:1px solid #e5d8cf}.home-ref-privacy-points>div{display:grid;grid-template-columns:28px 1fr;gap:8px;padding:16px 14px 0 0}.home-ref-privacy-points>div+div{padding-left:14px;border-left:1px solid #e5d8cf}.home-ref-privacy-points>div>span{color:#bb812d;font-size:22px}.home-ref-privacy-points p{margin:0}.home-ref-privacy-points b{display:block;color:#71172f;font-size:12px}.home-ref-privacy-points small{display:block;margin-top:4px;color:#82706a;font-size:10.5px;line-height:1.4}

.home-ref-meeting{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.85fr);gap:50px;align-items:center;padding-top:18px}.home-ref-meeting h2{font-size:40px}.home-ref-meeting>div:first-child>p:not(.home-ref-kicker){max-width:590px;margin:10px 0 0;color:#78645e;font-size:13.5px;line-height:1.56}.home-ref-ticket img{width:100%;border-radius:15px;filter:drop-shadow(0 7px 14px rgba(75,48,40,.08))}

.home-ref-verse{margin-top:10px;padding:32px 24px;text-align:center;border-radius:18px;background:linear-gradient(135deg,#f5e9e2,#faefe9);overflow:hidden}.home-ref-verse::before,.home-ref-verse::after{content:"";position:absolute;bottom:-90px;width:150px;height:220px;border:1px solid rgba(177,135,99,.12);border-bottom:0;border-radius:80px 80px 0 0}.home-ref-verse::before{left:24px}.home-ref-verse::after{right:24px}.home-ref-arabic{position:relative;z-index:1;margin:0;color:#7b1733;font:500 25px/1.5 Georgia,"Times New Roman",serif;direction:rtl}.home-ref-verse p:not(.home-ref-arabic){position:relative;z-index:1;margin:9px 0 0;color:#755f59;font:400 14px/1.55 var(--display-serif)}.home-ref-verse small{position:relative;z-index:1;display:block;margin-top:10px;color:#78504b;font-size:10px;font-weight:800;letter-spacing:.12em}

.home-ref-faq-contact{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.72fr);gap:52px;align-items:start}.home-ref-faq h2{font-size:34px}.home-ref-faq details{border-bottom:1px solid #e4d7ce}.home-ref-faq details:first-of-type{margin-top:10px;border-top:1px solid #e4d7ce}.home-ref-faq summary{position:relative;list-style:none;padding:13px 28px 13px 0;color:#6d1730;font-size:12.5px;font-weight:750;cursor:pointer}.home-ref-faq summary::-webkit-details-marker{display:none}.home-ref-faq summary::after{content:"+";position:absolute;right:3px;color:#96766c;font-size:15px;font-weight:400}.home-ref-faq details[open] summary::after{content:"−"}.home-ref-faq details p{margin:-1px 0 13px;color:#7d6a64;font-size:11.5px;line-height:1.5}
.home-ref-contact-card{padding:24px 26px;border:1px solid #e5d8cf;border-radius:16px;background:#fffaf6}.home-ref-contact-card h3{margin:0;color:#71172f;font:600 28px/1.05 var(--display-serif)}.home-ref-contact-card>p:not(.home-ref-kicker){margin:10px 0;color:#7c6862;font-size:12.5px;line-height:1.55}.home-ref-contact-card>a:not(.home-ref-contact-btn){display:block;margin:15px 0;color:#7a1732;font-size:12px;font-weight:700}.home-ref-contact-btn{margin-top:4px;min-height:44px;padding:0 17px;border:1px solid #e7d8cf;background:#fff;color:#77152d;font-size:12px}

.home-ref-final{position:relative;z-index:1;max-width:1180px;margin:8px auto 18px;display:grid;grid-template-columns:1.15fr .9fr .65fr;gap:26px;align-items:center;padding:22px 28px;border:1px solid #eadfd7;border-radius:18px;background:linear-gradient(100deg,#f5e8e1,#fbf1ea);overflow:hidden}.home-ref-final::before{content:"";position:absolute;left:-55px;bottom:-115px;width:180px;height:220px;border:1px solid rgba(178,137,101,.12);border-bottom:0;border-radius:90px 90px 0 0}.home-ref-final h2{margin:0;color:#6d1730;font:600 34px/.98 var(--display-serif)}.home-ref-final h2 em{font-weight:400;color:#98435a}.home-ref-final ul{list-style:none;margin:0;padding:0}.home-ref-final li{position:relative;margin:7px 0;padding-left:18px;color:#75625d;font-size:11.5px;line-height:1.4}.home-ref-final li::before{content:"✓";position:absolute;left:0;color:#8b6e38;font-weight:900}.home-ref-final>div:last-child{display:grid;gap:7px}.home-ref-final .home-ref-primary{width:100%;min-width:0}.home-ref-text-btn{min-height:34px;background:transparent;color:#7b5760;text-decoration:underline;font-size:11.5px}

.home-ref-footer{position:relative;z-index:1;max-width:1180px;margin:0 auto;padding:20px 0 10px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-top:1px solid #eadfd7}.home-ref-footer-brand{display:flex;align-items:center;gap:8px;color:#7a1732}.home-ref-footer-brand img{width:38px;height:38px}.home-ref-footer-brand span{display:flex;flex-direction:column;gap:2px}.home-ref-footer-brand b{font:700 18px/1 var(--display-serif);letter-spacing:.15em}.home-ref-footer-brand small{font-size:5.5px;letter-spacing:.18em;color:#93716e}.home-ref-footer nav{display:flex;gap:25px}.home-ref-footer nav a{font-size:10.5px;color:#5e504d}.home-ref-footer-note{justify-self:end;color:#9b766d;font:italic 12px/1.08 var(--display-serif)}

@media(max-width:1000px) and (min-width:821px){
  .home-ref-hero{grid-template-columns:1fr 420px;padding-inline:34px}.home-ref-hero h1{font-size:56px}.home-ref-hero-values{gap:12px}.home-ref-analysis-card{grid-template-columns:1.1fr .7fr}.home-ref-analysis-side{display:none}.home-ref-price{grid-template-columns:1.3fr .7fr}.home-ref-price-image{display:none}.home-ref-meeting{grid-template-columns:1fr 380px}.home-ref-faq-contact{grid-template-columns:1fr 300px}
}

@media(max-width:820px){
  body[data-mode="guest"] #app{padding-top:66px}
  body[data-mode="guest"] .site-header{height:66px;padding:0 14px;gap:8px;background:rgba(255,251,247,.97);box-shadow:0 8px 24px rgba(67,40,34,.06)}
  body[data-mode="guest"] .brand{font-size:18px;letter-spacing:.14em;gap:7px;min-width:0;flex:1}
  body[data-mode="guest"] .brand img{width:38px;height:38px;flex:0 0 38px}
  body[data-mode="guest"] .brand-copy{gap:2px;min-width:0}
  body[data-mode="guest"] .brand-word{line-height:1;white-space:nowrap}
  body[data-mode="guest"] .brand-tagline{font-size:4.6px;letter-spacing:.16em;white-space:nowrap}
  .public-nav{display:none!important}
  body[data-mode="guest"] .header-actions{margin-left:auto;gap:4px;flex:0 0 auto}
  body[data-mode="guest"] .mobile-bismillah{display:none!important}
  body[data-mode="guest"] .header-actions{gap:6px}
  body[data-mode="guest"] .header-actions .header-link{display:none}
  body[data-mode="guest"] .header-actions .header-cta{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border-radius:10px;font-size:11px;white-space:nowrap;box-shadow:0 5px 12px rgba(119,21,45,.14)}
  body[data-mode="guest"] .header-cta-desktop{display:none}
  body[data-mode="guest"] .header-cta-mobile{display:inline}

  body[data-mode="guest"] .home-ref-info{padding:0 16px 28px}
  .home-ref-hero{display:block;padding:30px 18px 32px;overflow:hidden}
  .home-ref-hero::before{left:-150px;bottom:-80px;width:300px;height:300px}
  .home-ref-hero-copy{padding-top:2px}
  .home-ref-kicker{font-size:10px;letter-spacing:.16em;margin-bottom:9px}
  .home-ref-hero h1{max-width:620px;font-size:clamp(43px,11.5vw,56px);line-height:.95;letter-spacing:-.045em}
  .home-ref-lead{max-width:560px;margin-top:16px;font-size:16px;line-height:1.55}
  .home-ref-hero-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:20px}
  .home-ref-primary,.home-ref-secondary{width:100%;min-width:0;min-height:50px;font-size:12.5px;border-radius:12px}
  .home-ref-hero-values{grid-template-columns:1fr;gap:8px;margin-top:22px;max-width:none}
  .home-ref-hero-values>div{grid-template-columns:38px 1fr;gap:11px;padding:11px 12px;border:1px solid rgba(130,81,77,.10);border-radius:14px;background:rgba(255,252,248,.7)}
  .home-ref-value-icon{width:36px;height:36px;font-size:27px}
  .home-ref-hero-values b{font-size:13px}
  .home-ref-hero-values small{font-size:11.5px;margin-top:2px}
  .home-ref-hero-visual{width:calc(100% + 12px);margin:24px -6px 0}
  .home-ref-hero-visual img{width:100%;border-radius:20px}

  .home-ref-section{padding:38px 0;scroll-margin-top:78px}
  .home-ref-section h2{font-size:clamp(35px,9.7vw,45px);line-height:1}
  .home-ref-intro{padding-top:34px}
  .home-ref-intro h2{font-size:clamp(38px,10.2vw,47px)}
  .home-ref-center-copy{max-width:560px;font-size:14px;line-height:1.55}
  .home-ref-pillars{grid-template-columns:1fr;gap:10px;margin-top:23px}
  .home-ref-pillars article{min-height:0;padding:15px 15px;border-radius:15px;grid-template-columns:48px 1fr;gap:12px}
  .home-ref-round-icon{width:44px;height:44px;font-size:27px}
  .home-ref-pillars b{font-size:14px}.home-ref-pillars small{font-size:12px}

  .home-ref-analysis-card{grid-template-columns:1fr;padding:24px 19px 22px;gap:22px;border-radius:20px}
  .home-ref-analysis-copy h2{font-size:clamp(36px,9.5vw,43px)}
  .home-ref-analysis-copy>p:not(.home-ref-kicker){font-size:13.5px;line-height:1.56}
  .home-ref-orbit{width:min(68vw,240px);max-width:240px;margin:0 auto}
  .home-ref-analysis-side{display:flex;gap:13px}
  .home-ref-analysis-side>em{font-size:21px;text-align:center}
  .home-ref-alert{padding:14px 15px;border-radius:14px}
  .home-ref-alert b{font-size:12.5px}.home-ref-alert small{font-size:11px}

  .home-ref-route>p:not(.home-ref-kicker){font-size:13px}
  .home-ref-route-grid{grid-template-columns:1fr;margin-top:18px}
  .home-ref-route-grid>i{display:none}
  .home-ref-route-grid article{display:grid;grid-template-columns:50px 1fr;column-gap:12px;padding:15px 0;border-bottom:1px solid #e4d7ce}
  .home-ref-route-grid article:last-child{border-bottom:0}
  .home-ref-route-top{grid-row:1/3;display:grid;align-content:start;justify-items:center;gap:5px}
  .home-ref-step-icon{width:44px;height:44px;font-size:22px}
  .home-ref-route-top small{font-size:9.5px}
  .home-ref-route-grid b{margin-top:2px;font-size:17px}
  .home-ref-route-grid p{max-width:none;margin-top:5px;font-size:12px;line-height:1.48}

  .home-ref-price{grid-template-columns:1fr;border-radius:20px}
  .home-ref-price-copy{padding:25px 22px}
  .home-ref-price h2{font-size:34px}
  .home-ref-price-copy>p:not(.home-ref-kicker){font-size:12.5px}
  .home-ref-price-btn{width:100%;min-height:49px;font-size:12px}
  .home-ref-price-value{border-left:0;border-top:1px solid rgba(255,255,255,.18);padding:21px 22px 22px}
  .home-ref-price-value strong{font-size:42px}.home-ref-price-value>span{font-size:13px}.home-ref-price-value li{font-size:11.5px}
  .home-ref-price-image{height:190px}.home-ref-price-image img{object-position:center}

  .home-ref-privacy{grid-template-columns:1fr;gap:20px;padding-top:24px}
  .home-ref-privacy-image img{border-radius:18px}
  .home-ref-privacy-copy h2{font-size:36px}
  .home-ref-privacy-copy>p:not(.home-ref-kicker){font-size:13.5px}
  .home-ref-privacy-points{grid-template-columns:1fr;margin-top:17px}
  .home-ref-privacy-points>div,.home-ref-privacy-points>div+div{padding:13px 0;border-left:0;border-bottom:1px solid #e4d7ce}
  .home-ref-privacy-points>div:last-child{border-bottom:0}
  .home-ref-privacy-points b{font-size:12.5px}.home-ref-privacy-points small{font-size:11px}

  .home-ref-meeting{grid-template-columns:1fr;gap:23px;padding-top:22px}
  .home-ref-meeting h2{font-size:clamp(35px,9.5vw,42px)}
  .home-ref-meeting>div:first-child>p:not(.home-ref-kicker){font-size:13.5px}
  .home-ref-ticket img{border-radius:17px}

  .home-ref-verse{padding:28px 16px;border-radius:18px}
  .home-ref-arabic{font-size:22px;line-height:1.65}
  .home-ref-verse p:not(.home-ref-arabic){font-size:13.5px;line-height:1.55}
  .home-ref-verse small{font-size:9.5px}

  .home-ref-faq-contact{grid-template-columns:1fr;gap:26px}
  .home-ref-faq h2{font-size:34px}
  .home-ref-faq summary{padding:14px 30px 14px 0;font-size:12.5px}
  .home-ref-faq details p{font-size:11.5px}
  .home-ref-contact-card{padding:21px;border-radius:18px}
  .home-ref-contact-card h3{font-size:29px}
  .home-ref-contact-card>p:not(.home-ref-kicker){font-size:12.5px}
  .home-ref-contact-card>a:not(.home-ref-contact-btn){font-size:12px}
  .home-ref-contact-btn{min-height:46px;font-size:12px}

  .home-ref-final{grid-template-columns:1fr;margin:6px 0 18px;padding:23px 19px;border-radius:18px;gap:18px}
  .home-ref-final h2{font-size:35px}
  .home-ref-final li{font-size:11.5px}
  .home-ref-final>div:last-child{gap:8px}
  .home-ref-final .home-ref-primary{min-height:50px}
  .home-ref-text-btn{font-size:11.5px}

  .home-ref-footer{grid-template-columns:1fr;gap:18px;padding:23px 2px 12px}
  .home-ref-footer-brand img{width:42px;height:42px}
  
  .home-ref-footer nav{display:flex;flex-wrap:wrap;gap:14px 20px}
  .home-ref-footer nav a{font-size:10.5px}
  .home-ref-footer-note{justify-self:start;font-size:12px}

  body[data-mode="guest"] .auth-card{padding:28px 22px}
  .auth-card h2{font-size:31px}
}

@media(max-width:420px){
  body[data-mode="guest"] .site-header{padding-inline:10px}
  body[data-mode="guest"] .brand{font-size:16px;gap:6px}
  body[data-mode="guest"] .brand img{width:35px;height:35px;flex-basis:35px}
  body[data-mode="guest"] 
  body[data-mode="guest"] .brand-tagline{font-size:4px;letter-spacing:.13em}
  body[data-mode="guest"] .header-link{font-size:10px;padding-inline:5px}
  body[data-mode="guest"] .header-cta{font-size:10.2px;padding:8px 10px}
  .home-ref-hero{padding-inline:15px}
  .home-ref-hero h1{font-size:clamp(40px,11.7vw,49px)}
  .home-ref-lead{font-size:15px}
  .home-ref-analysis-card{padding-inline:16px}
  .home-ref-orbit{width:min(72vw,225px)}
}

@media(max-width:520px){
  .app-modal-wrap[data-modal-size="notifications"] .app-modal{max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-bottom) - 26px)}
  .notification-center{max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-bottom) - 26px)}
}

.notification-center-list::after{content:"";display:block;height:2px}
@media(max-width:820px){
  .app-modal-wrap[data-modal-size="notifications"] .app-modal-close{top:12px;right:12px}
  .notification-center-list{scroll-padding-bottom:28px}
}
@media(max-width:520px){
  .app-modal-wrap[data-modal-size="notifications"] .app-modal{width:min(560px,calc(100% - 12px));max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-bottom) - 68px)}
  .notification-center{max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-bottom) - 68px)}
  .notification-center-list{padding-bottom:calc(56px + env(safe-area-inset-bottom) + 12px)}
}

/* v53 popup viewport safety: all app popups stay fully visible and scrollable */
.app-modal-wrap{
  overflow:hidden;
  padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
}
.app-modal{
  display:flex;
  flex-direction:column;
  width:min(960px,calc(100vw - 36px));
  max-width:calc(100vw - 36px);
  max-height:calc(100dvh - max(36px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 24px));
  min-height:0;
  overflow:hidden;
}
#appModalContent{
  flex:1 1 auto;
  min-width:0;
  min-height:0;
  max-width:100%;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding-bottom:max(clamp(30px,3.4vw,44px),calc(24px + env(safe-area-inset-bottom)));
  scrollbar-width:thin;
}
#appModalContent>*{min-width:0;max-width:100%}
#appModalContent p,#appModalContent h1,#appModalContent h2,#appModalContent h3,#appModalContent h4,#appModalContent b,#appModalContent span,#appModalContent small{overflow-wrap:anywhere}
.app-modal-match,.app-modal-ticket,.app-modal-small,.app-modal-notifications,.app-modal-wallet{max-width:calc(100vw - 36px)}
.app-modal-match{width:min(860px,calc(100vw - 36px))}
.app-modal-ticket{width:min(1080px,calc(100vw - 36px))}
.app-modal-small{width:min(540px,calc(100vw - 36px))}
.app-modal-notifications{width:min(620px,calc(100vw - 36px))}
.app-modal-wallet{width:min(760px,calc(100vw - 36px))}
.match-modal-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.match-modal-flow,.match-modal-flow>*{min-width:0;max-width:100%}
.match-modal-flow .schedule-actions,.match-action-stack,.attendance-actions{max-width:100%}
.match-modal-flow input,.match-modal-flow select,.match-modal-flow textarea,.attendance-panel input,.attendance-panel textarea{max-width:100%;min-width:0}
.match-modal-flow .ticket-page{min-width:0;max-width:100%}
.match-modal-flow .ticket-main,.match-modal-flow .ticket-card{min-width:0;max-width:100%}
.notification-center{
  flex:1 1 auto;
  min-width:0;
  min-height:0;
  max-height:none;
  height:min(760px,calc(100dvh - 80px));
}
.app-modal-notifications #appModalContent{
  display:flex;
  min-height:0;
  overflow:hidden;
  padding:0;
}
.notification-center-list{
  flex:1 1 auto;
  min-height:0;
  padding-bottom:max(28px,calc(18px + env(safe-area-inset-bottom)));
}

@media(max-width:820px){
  .app-modal-wrap,
  .app-modal-wrap[data-modal-size="notifications"],
  .app-modal-wrap[data-modal-size="small"]{
    align-items:end;
    padding:max(10px,env(safe-area-inset-top)) 8px calc(var(--app-nav-mobile) + env(safe-area-inset-bottom) + 14px);
  }
  .app-modal,
  .app-modal-wrap[data-modal-size="notifications"] .app-modal,
  .app-modal-wrap[data-modal-size="small"] .app-modal{
    width:100%;
    max-width:100%;
    max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 28px);
    border:1px solid rgba(255,255,255,.68);
    border-radius:28px;
    border-bottom:1px solid rgba(255,255,255,.68);
    margin:0;
  }
  #appModalContent,
  .app-modal-wrap[data-modal-size="small"] #appModalContent{
    overflow-y:auto;
    overflow-x:hidden;
    max-height:none;
    padding:24px 16px calc(32px + env(safe-area-inset-bottom));
  }
  .app-modal-notifications #appModalContent{padding:0;overflow:hidden}
  .notification-center{
    height:auto;
    max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 28px);
  }
  .notification-center-list{padding-bottom:calc(34px + env(safe-area-inset-bottom))}
  .match-modal-head{padding-right:48px}
  .match-modal-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .match-modal-flow .schedule-actions{grid-template-columns:minmax(0,1fr)}
  .match-modal-flow .ticket-page{grid-template-columns:minmax(0,1fr)}
  .match-action-stack,.attendance-actions{display:grid;grid-template-columns:minmax(0,1fr)}
  .match-action-stack .button,.attendance-actions .button{width:100%;max-width:100%}
}

@media(max-width:520px){
  .app-modal-wrap,
  .app-modal-wrap[data-modal-size="notifications"],
  .app-modal-wrap[data-modal-size="small"]{padding-left:6px;padding-right:6px}
  .app-modal,
  .app-modal-wrap[data-modal-size="notifications"] .app-modal,
  .app-modal-wrap[data-modal-size="small"] .app-modal{
    max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 22px);
    border-radius:24px;
  }
  #appModalContent,.app-modal-wrap[data-modal-size="small"] #appModalContent{padding:20px 14px calc(34px + env(safe-area-inset-bottom))}
  .app-modal-notifications #appModalContent{padding:0}
  .notification-center{max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 22px)}
  .notification-center-head{grid-template-columns:42px minmax(0,1fr);padding:20px 52px 15px 14px}
  .notification-center-toolbar{flex-wrap:wrap;gap:6px;padding:8px 12px}
  .match-modal-facts{grid-template-columns:minmax(0,1fr)}
  .match-modal-facts b{white-space:normal}
  .match-modal-head h2{font-size:clamp(26px,8vw,32px)}
  .match-modal-head p{font-size:12px}
}

@media(max-height:620px) and (max-width:820px){
  .app-modal,
  .app-modal-wrap[data-modal-size="notifications"] .app-modal,
  .app-modal-wrap[data-modal-size="small"] .app-modal{
    max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-bottom) - 12px);
  }
  .notification-center{max-height:calc(100dvh - var(--app-nav-mobile) - env(safe-area-inset-bottom) - 12px)}
}
