/* ============================================================
   auth-lux.css - Apple-style Sign In / Sign Up (Phase 1)
   Left: space-black MacBook mockup with a Seller Dashboard
   preview (.sdx from seller-dash.css). Right: clean form.
   Loaded ONLY by login.html + signup.html (replaces auth-sdx.css
   on those two). JS untouched (data-auth-form / SSO / password).
   ============================================================ */

.auth-lux{
  --al-bg-1:#eef1f6;--al-bg-2:#f7f8fb;
  --al-panel:#ffffff;
  --al-ink:#1d1d1f;--al-ink-2:#6e6e73;--al-ink-3:#8a8a8f;
  --al-line:#e4e6ec;--al-line-2:#ededf1;
  --al-field:#f4f5f7;--al-field-focus:#ffffff;
  --al-accent:#3b6ef6;--al-accent-600:#2456e6;
  --al-radius:20px;--al-radius-sm:13px;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--al-ink);
  min-height:calc(100vh - 68px);
  display:grid;
  grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  align-items:stretch;
  background:
    radial-gradient(1100px 620px at 12% -10%, #e6ecff 0%, rgba(230,236,255,0) 58%),
    radial-gradient(900px 520px at 100% 108%, #e9eefc 0%, rgba(233,238,252,0) 55%),
    linear-gradient(180deg,var(--al-bg-1),var(--al-bg-2));
}
.auth-lux *{box-sizing:border-box}

/* ---------------- LEFT: showcase ---------------- */
.al-showcase{
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;justify-content:center;gap:26px;
  padding:40px 40px 40px 64px;
}
.al-showcase-head{max-width:520px}
.al-eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:12px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;
  color:var(--al-accent-600);
}
.al-showcase-title{
  margin:14px 0 0;font-size:34px;line-height:1.12;font-weight:800;letter-spacing:-.025em;
  color:var(--al-ink);text-wrap:balance;
}
.al-showcase-title em{font-style:normal;background:linear-gradient(92deg,var(--al-accent),var(--al-accent-600));-webkit-background-clip:text;background-clip:text;color:transparent}
.al-showcase-sub{margin:12px 0 0;font-size:15.5px;line-height:1.6;color:var(--al-ink-2);max-width:460px}

/* ---------------- MacBook (real mockup image + dashboard behind the transparent screen) ---------------- */
.mac{position:relative;align-self:center;width:100%;max-width:760px;margin:0 auto;filter:drop-shadow(0 40px 80px rgba(20,32,64,.34))}
.mac-img{position:relative;display:block;width:100%;height:auto;z-index:2;pointer-events:none;-webkit-user-select:none;user-select:none}
/* Apple device-mockup attribution: legally present, deliberately quiet. */
.al-devcredit{position:relative;z-index:2;margin:2px 0 0;text-align:center;font-size:10px;color:var(--al-ink-3);opacity:.6}
/* transparent screen cutout of the mockup PNG (measured: L9.44% T10.67% W81.13% H78.66%) */
.mac-screen-fill{position:absolute;left:9.44%;top:10.67%;width:81.13%;height:78.66%;overflow:hidden;z-index:1;background:#f4f6fd;border-radius:5px}
.mac-shot{position:absolute;top:0;left:0;width:1180px;transform-origin:top left}

/* the dashboard preview sits full-bleed inside the shot */
.mac-shot .sdx{width:1180px;min-height:760px;padding:74px 26px 30px;border-radius:0;position:relative}
.mac-shot .sdx .kpis{margin-top:18px}
.mac-shot .sdx .wshead{padding:0}
/* keep it a clean screenshot: no hover lift inside the frame */
.mac-shot .sdx .kpi:hover{transform:none}
.mac-shot .sdx .reveal{opacity:1;transform:none}

/* simple static area chart used in the preview */
.mac-shot .sdx .prev-chart{margin-top:18px}
.mac-shot .sdx .prev-chart .cwrap{margin-top:16px;position:relative}
.mac-shot .sdx .prev-chart svg{width:100%;height:210px;display:block;overflow:visible}
.mac-shot .sdx .prev-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.mac-shot .sdx .prev-tstat{border:1px solid var(--sdx-line);border-radius:14px;padding:14px 16px;background:linear-gradient(180deg,#fff,#f8faff)}
.mac-shot .sdx .prev-tstat .tl{font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--sdx-ink-400)}
.mac-shot .sdx .prev-tstat .tv{font-family:'Inter';font-size:24px;font-weight:800;color:var(--sdx-ink-900);margin-top:6px;line-height:1}

/* ---------------- RIGHT: form ---------------- */
.al-formwrap{
  display:flex;align-items:center;justify-content:center;
  padding:32px 52px;
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(255,255,255,.9));
  border-left:1px solid var(--al-line);
  backdrop-filter:saturate(1.1) blur(2px);
}
.al-card{
  width:100%;max-width:400px;
  background:var(--al-panel);
  border:1px solid var(--al-line);
  border-radius:26px;
  padding:38px 36px 34px;
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 30px 60px -34px rgba(24,40,90,.28);
}
.al-card .ed-kicker{
  display:inline-block;font-size:11.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;
  color:var(--al-accent-600);margin:0 0 12px;
}
.al-card h2{margin:0;font-size:27px;font-weight:800;letter-spacing:-.02em;color:var(--al-ink)}
.al-card>p{margin:9px 0 26px;font-size:14.5px;line-height:1.55;color:var(--al-ink-2)}

/* form */
.al-card .ed-auth-form{display:flex;flex-direction:column;gap:16px}
.al-card .ed-field{display:flex;flex-direction:column;gap:7px;position:relative}
.al-card .ed-field>span{font-size:12.5px;font-weight:700;color:var(--al-ink-2);letter-spacing:-.01em;padding-left:2px}
.al-card .ed-field input{
  width:100%;height:52px;padding:0 16px;
  border:1px solid var(--al-line);border-radius:var(--al-radius-sm);
  background:var(--al-field);color:var(--al-ink);
  font:inherit;font-size:15px;letter-spacing:-.01em;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.al-card .ed-field input::placeholder{color:var(--al-ink-3)}
.al-card .ed-field input:focus{outline:none;background:var(--al-field-focus);border-color:var(--al-accent);box-shadow:0 0 0 4px rgba(59,110,246,.14)}
.al-card .ed-field input:-webkit-autofill{-webkit-text-fill-color:var(--al-ink);-webkit-box-shadow:0 0 0 40px var(--al-field) inset}

/* password shell + toggle */
.al-card .ed-pass{position:relative;display:block}
.al-card .ed-pass input{padding-right:48px}
.al-card .ed-pass-toggle{
  position:absolute;top:50%;right:8px;transform:translateY(-50%);
  height:36px;padding:0 12px;border:none;background:transparent;
  font:inherit;font-size:12.5px;font-weight:700;color:var(--al-accent-600);
  border-radius:9px;cursor:pointer;transition:background .15s ease;
}
.al-card .ed-pass-toggle:hover{background:rgba(59,110,246,.09)}

/* row: remember + forgot */
.al-card .ed-auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-2px}
.al-card .ed-check{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;font-weight:600;color:var(--al-ink-2);cursor:pointer;user-select:none}
.al-card .ed-check input{width:18px;height:18px;accent-color:var(--al-accent);cursor:pointer}
.al-card .ed-check a{color:var(--al-accent-600);font-weight:700;text-decoration:none}
.al-card .ed-check a:hover{text-decoration:underline}
/* long wrapping terms consent */
.al-card .ed-check-terms{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;margin-top:2px}
.al-card .ed-check-terms input{flex:0 0 auto;margin-top:1px}
.al-card .ed-auth-link{font-size:13.5px;font-weight:700;color:var(--al-accent-600);text-decoration:none}
.al-card .ed-auth-link:hover{text-decoration:underline}

/* status */
.al-card .ed-auth-status{margin:0;font-size:13px;font-weight:600;min-height:0;line-height:1.45}
.al-card .ed-auth-status:empty{display:none}
.al-card .ed-auth-status.is-info{color:var(--al-ink-2)}
.al-card .ed-auth-status.is-error,.al-card .ed-auth-status.is-bad{color:#c0392b}
.al-card .ed-auth-status.is-success,.al-card .ed-auth-status.is-ok{color:#0d9268}

/* primary submit */
.al-card .ed-auth-submit{
  width:100%;height:54px;margin-top:4px;border:none;border-radius:var(--al-radius-sm);
  background:linear-gradient(135deg,var(--al-accent),var(--al-accent-600));color:#fff;
  font:inherit;font-size:15.5px;font-weight:700;letter-spacing:-.01em;cursor:pointer;
  box-shadow:0 12px 26px -12px rgba(36,86,230,.6);
  transition:transform .16s ease,box-shadow .2s ease,filter .16s ease;
}
.al-card .ed-auth-submit:hover{transform:translateY(-1px);box-shadow:0 16px 32px -12px rgba(36,86,230,.72)}
.al-card .ed-auth-submit:active{transform:translateY(0)}
.al-card .ed-auth-submit:disabled{opacity:.7;cursor:default;transform:none}

/* divider */
.al-card .ed-auth-or{display:flex;align-items:center;gap:12px;margin:22px 0;color:var(--al-ink-3);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.al-card .ed-auth-or::before,.al-card .ed-auth-or::after{content:"";flex:1;height:1px;background:var(--al-line)}
.al-card .ed-auth-or span{white-space:nowrap}

/* SSO (Apple-clean, light) */
.al-card .ed-auth-sso{display:flex;flex-direction:column;gap:11px}
.al-card .ed-sso-btn{
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:0 20px;
  border:1px solid var(--al-line);border-radius:var(--al-radius-sm);background:#fff;color:var(--al-ink);
  font:inherit;font-weight:700;font-size:14.5px;letter-spacing:-.01em;cursor:pointer;position:relative;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease;
}
.al-card .ed-sso-btn:hover{border-color:#cfd4de;background:#fafbfc;transform:translateY(-1px);box-shadow:0 8px 20px -12px rgba(24,40,90,.35)}
.al-card .ed-sso-btn svg{flex:0 0 18px;width:18px;height:18px}
.al-card .ed-sso-btn[aria-busy="true"]{pointer-events:none}
.al-card .ed-sso-btn[aria-busy="true"]>span{opacity:.55}
.al-card .ed-sso-btn[aria-busy="true"]::after{content:"";position:absolute;right:18px;width:15px;height:15px;border-radius:50%;border:2px solid rgba(29,29,31,.25);border-top-color:var(--al-accent);animation:alSpin .7s linear infinite}
@keyframes alSpin{to{transform:rotate(360deg)}}

.al-card .ed-auth-foot{margin:24px 0 0;text-align:center;font-size:13.5px;color:var(--al-ink-2);font-weight:600}
.al-card .ed-auth-foot a{color:var(--al-accent-600);font-weight:700;text-decoration:none}
.al-card .ed-auth-foot a:hover{text-decoration:underline}

/* ---------------- signup role selector (two Apple cards) ---------------- */
.al-card .al-seg{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.al-card .al-seg label{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:13px 34px 13px 15px;border:1px solid var(--al-line);border-radius:13px;background:var(--al-field);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.al-card .al-seg label b{font-size:14px;font-weight:700;color:var(--al-ink);letter-spacing:-.01em}
.al-card .al-seg label small{font-size:12px;color:var(--al-ink-3);font-weight:600}
.al-card .al-seg input{position:absolute;opacity:0;pointer-events:none}
.al-card .al-seg label:hover{border-color:#cfd4de}
.al-card .al-seg label:has(input:checked){border-color:var(--al-accent);background:rgba(59,110,246,.07);box-shadow:0 0 0 3px rgba(59,110,246,.13)}
.al-card .al-seg label:has(input:checked) b{color:var(--al-accent-600)}
.al-card .al-seg label::after{content:"";position:absolute;top:12px;right:12px;width:16px;height:16px;border-radius:50%;border:1.5px solid var(--al-line-2);transition:.16s ease}
.al-card .al-seg label:has(input:checked)::after{border-color:var(--al-accent);background:radial-gradient(circle,#fff 0 3px,var(--al-accent) 4px)}

/* ---------------- signup: compact layout so the form fits without scrolling ---------------- */
.al-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px}
/* single Show/Hide toggle controlling BOTH password + confirm */
.al-pass-block{display:flex;flex-direction:column;gap:7px}
.al-pass-lbl{display:flex;align-items:center;justify-content:space-between}
.al-pass-lbl>span{font-size:12.5px;font-weight:700;color:var(--al-ink-2);letter-spacing:-.01em;padding-left:2px}
/* eye-icon show/hide toggle (login single field + signup both fields) */
.al-eye{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:var(--al-ink-3);cursor:pointer;padding:6px;border-radius:9px;transition:color .15s ease,background .15s ease}
.al-eye:hover{color:var(--al-accent-600);background:rgba(59,110,246,.1)}
.al-eye svg{width:19px;height:19px;display:block}
.al-eye .eye-off{display:none}
.al-eye[aria-pressed="true"] .eye-open{display:none}
.al-eye[aria-pressed="true"] .eye-off{display:block}
/* login: eye sits inside the password field, right side */
.al-card .ed-pass-toggle.al-eye{position:absolute;top:50%;right:8px;transform:translateY(-50%);height:auto;min-width:0;padding:6px}
.al-pass-block .ed-field{gap:0}
.al-pass-block .ed-pass input{padding-right:16px}
.al-card-signup{padding:22px 30px 20px}
.al-card-signup h2{font-size:24px}
.al-card-signup>p{display:none}
.al-card-signup .ed-kicker{margin-bottom:10px}
.al-card-signup .ed-auth-form{gap:11px}
.al-card-signup .ed-field input{height:44px}
.al-card-signup .al-seg label{padding:9px 30px 9px 13px}
.al-card-signup .al-seg label small{font-size:11.5px}
.al-card-signup .ed-check-terms{font-size:12.5px;line-height:1.4}
.al-card-signup .ed-auth-submit{height:48px;font-size:15px;margin-top:2px}
.al-card-signup .ed-auth-or{margin:11px 0}
.al-card-signup .ed-auth-sso .ed-sso-btn{min-height:46px}
.al-card-signup .ed-auth-foot{margin-top:12px}
@media (max-width:560px){.al-duo{grid-template-columns:1fr}}

/* ================= role-aware showcase: view toggle ================= */
.mac-shot .demo-msg{display:none}
.mac-shot[data-view="msg"] .sdx{display:none}
.mac-shot[data-view="msg"] .demo-msg{display:grid}

/* ================= demo Messages screen (animated) ================= */
.demo-msg{position:relative;width:1180px;height:772px;box-sizing:border-box;grid-template-columns:322px 1fr;grid-template-rows:minmax(0,1fr);background:#f4f6fb;font-family:'Inter',system-ui,sans-serif;color:#0b1220;overflow:hidden;padding-top:66px}
.demo-msg *{box-sizing:border-box}
/* macOS Chrome browser frame (sits in the reserved top space of the messages view) */
.dm-chrome{position:absolute;top:0;left:0;right:0;height:66px;z-index:6;display:flex;flex-direction:column;font-family:'Inter',system-ui,sans-serif;user-select:none}
.dm-tabbar{height:38px;background:#dde1e6;display:flex;align-items:flex-end}
.dm-lights{display:flex;align-items:center;gap:8px;height:38px;padding:0 16px 0 15px;flex:0 0 auto}
.dm-lights i{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 .5px rgba(0,0,0,.16)}
.dm-lights i:nth-child(1){background:#ff5f57}
.dm-lights i:nth-child(2){background:#febc2e}
.dm-lights i:nth-child(3){background:#28c840}
.dm-tabs{display:flex;align-items:flex-end;gap:4px;flex:1;min-width:0;padding-right:10px}
.dm-tab{position:relative;height:29px;display:flex;align-items:center;gap:8px;padding:0 9px 0 11px;background:#c7ccd3;border-radius:10px 10px 0 0;font-size:12.5px;color:#3c4043;max-width:236px;min-width:46px;flex:0 1 auto}
.dm-tab.is-active{height:33px;background:#fff;color:#202124;font-weight:600;box-shadow:0 -1px 4px rgba(60,64,67,.14)}
.dm-fav{flex:0 0 auto;width:16px;height:16px;border-radius:4px;background:linear-gradient(135deg,#3b82ff,#1d4ed8);display:grid;place-items:center}
.dm-fav svg{width:10px;height:10px;display:block}
.dm-fav2{background:linear-gradient(135deg,#8a93a6,#5b6474)}
.dm-tabt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.01em}
.dm-tabx{flex:0 0 auto;width:16px;height:16px;color:#5f6368;display:grid;place-items:center;border-radius:50%}
.dm-tabx svg{width:9px;height:9px;display:block}
.dm-tab:not(.is-active) .dm-tabx{opacity:.5}
.dm-tabadd{flex:0 0 auto;width:26px;height:26px;color:#5f6368;display:grid;place-items:center;margin-bottom:3px}
.dm-tabadd svg{width:15px;height:15px;display:block}
.dm-toolbar{height:28px;background:#fff;display:flex;align-items:center;gap:11px;padding:0 13px;border-bottom:1px solid #e7e9ec}
.dm-nav{display:flex;align-items:center;gap:10px;color:#5f6368;flex:0 0 auto}
.dm-nav svg{width:16px;height:16px;display:block}
.dm-nav svg.is-dim{opacity:.32}
.dm-omni{flex:1;min-width:0;height:20px;background:#f1f3f4;border-radius:999px;display:flex;align-items:center;gap:7px;padding:0 12px;font-size:11.5px;color:#3c4043}
.dm-lock{width:11px;height:11px;color:#1a9d5a;flex:0 0 auto;display:block}
.dm-omni-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
.dm-omni-star{width:13px;height:13px;color:#5f6368;flex:0 0 auto;display:block}
.dm-menu{display:flex;flex-direction:column;gap:2.2px;flex:0 0 auto;padding-left:1px}
.dm-menu i{width:3px;height:3px;border-radius:50%;background:#5f6368}
/* rail */
.dm-rail{background:#fff;border-right:1px solid #e7edf7;padding:22px 16px;display:flex;flex-direction:column;gap:14px;min-height:0;overflow-y:auto;scrollbar-width:none}
.dm-rail::-webkit-scrollbar{width:0;height:0;display:none}
.dm-rail-h{display:flex;align-items:center;justify-content:space-between}
.dm-rail-h b{font-size:23px;font-weight:800;letter-spacing:-.02em}
.dm-rail-h .dm-badge{font-size:12px;font-weight:800;color:#fff;background:linear-gradient(135deg,#3277ff,#1d4ed8);border-radius:999px;padding:3px 9px}
.dm-search{height:44px;border-radius:13px;background:#f8fbff;border:1px solid #eef2fa;display:flex;align-items:center;gap:10px;padding:0 14px;color:#9aa6bd;font-size:15px}
.dm-search svg{width:18px;height:18px}
.dm-conv{display:flex;gap:13px;align-items:center;padding:13px;border-radius:14px;transition:background .15s}
.dm-conv.is-active{background:#eef3ff}
.dm-conv .dm-av{flex:0 0 auto}
.dm-conv-main{min-width:0;flex:1}
.dm-conv-top{display:flex;justify-content:space-between;align-items:baseline}
.dm-conv-nm{font-size:16px;font-weight:750;color:#0b1220;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-conv-tm{font-size:12px;color:#9aa6bd;font-weight:600;flex:0 0 auto;margin-left:8px}
.dm-conv-pv{font-size:14px;color:#6b788f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
.dm-conv.is-active .dm-conv-nm{color:#1d4ed8}
.dm-unread{flex:0 0 auto;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#3277ff,#1d4ed8);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center}
/* avatars */
.dm-av{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;font-size:16px;font-weight:800;display:grid;place-items:center;overflow:hidden}
.dm-av.a2{background:linear-gradient(135deg,#8b5cf6,#2563eb)}
.dm-av.a3{background:linear-gradient(135deg,#14b8a6,#0d9b66)}
.dm-av.a4{background:linear-gradient(135deg,#ec4899,#be185d)}
.dm-av.a5{background:linear-gradient(135deg,#6366f1,#4338ca)}
.dm-av.a6{background:linear-gradient(135deg,#f59e0b,#d97706)}
.dm-conv-nm .fp-kyc-tick{margin-left:3px !important}
.dm-av.me{background:linear-gradient(135deg,#3277ff,#1d4ed8)}
/* chat */
.dm-chat{display:flex;flex-direction:column;min-width:0;background:#fff}
.dm-head{display:flex;align-items:center;gap:14px;padding:17px 24px;border-bottom:1px solid #eef2fa}
.dm-head .dm-av{width:48px;height:48px;font-size:17px}
.dm-head-id{min-width:0}
.dm-head-nm{font-size:18.5px;font-weight:800;letter-spacing:-.01em;display:flex;align-items:center;gap:4px}
.dm-head-nm .dm-vf{width:17px;height:17px;color:#2563eb}
.dm-head-nm .fp-kyc-tick{margin:0 !important}
.dm-head-hd{font-size:13.5px;color:#6b788f;font-weight:600;margin-left:3px}
.dm-head-sub{font-size:13.5px;font-weight:700;color:#0d9b66;margin-top:2px}
.dm-head-act{margin-left:auto;display:flex;gap:9px}
.dm-ico{width:42px;height:42px;border-radius:12px;border:1px solid #e7edf7;background:#fff;color:#46536b;display:grid;place-items:center}
.dm-ico svg{width:19px;height:19px}
.dm-thread{flex:1;min-height:0;padding:24px 26px 14px;display:flex;flex-direction:column;gap:16px;overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior:contain}
.dm-thread::-webkit-scrollbar{width:0;height:0;display:none}
.dm-thread>*{flex-shrink:0}
/* message rows: left = seller, right = buyer(me) */
.dm-row{display:flex;gap:13px;align-items:flex-end;max-width:78%;animation:dmRise .44s cubic-bezier(.2,.75,.2,1) both}
.dm-row.me{flex-direction:row-reverse;align-self:flex-end}
.dm-row .dm-av{width:38px;height:38px;font-size:14px;flex:0 0 auto}
.dm-col{min-width:0}
.dm-nm{font-size:14px;font-weight:750;color:#46536b;margin:0 4px 5px}
.dm-row.me .dm-nm{text-align:right}
.dm-bub{font-size:18px;line-height:1.5;color:#0b1220;background:#f1f4f9;padding:13px 17px;border-radius:6px 18px 18px 18px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.dm-row.me .dm-bub{background:linear-gradient(135deg,#3277ff 0%,#1d4ed8 100%);color:#fff;border-radius:18px 6px 18px 18px;box-shadow:0 8px 20px -10px rgba(37,99,235,.5)}
.dm-tick{font-size:12px;color:#9aa6bd;font-weight:600;margin:5px 4px 0;text-align:right}
.dm-tick b{color:#1d4ed8;font-weight:700}
/* typing */
.dm-typing{display:flex;gap:13px;align-items:flex-end;animation:dmRise .3s ease both}
.dm-typing .dm-av{width:38px;height:38px;font-size:14px}
.dm-typing-b{display:inline-flex;gap:6px;padding:15px 18px;background:#f1f4f9;border-radius:18px}
.dm-typing-b i{width:8px;height:8px;border-radius:50%;background:#9aa6bd;animation:dmBounce 1.25s infinite}
.dm-typing-b i:nth-child(2){animation-delay:.16s}
.dm-typing-b i:nth-child(3){animation-delay:.32s}
/* contract card (in chat, from seller) */
.dm-card{align-self:flex-start;max-width:452px;border:1px solid #e7edf7;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 14px 36px -20px rgba(20,40,90,.4);animation:dmCard .5s cubic-bezier(.2,.75,.2,1) both}
.dm-card-top{padding:16px 18px;background:linear-gradient(135deg,rgba(22,184,119,.15),rgba(10,125,82,.1));border-bottom:1px solid #eef2fa;display:flex;align-items:center;gap:13px}
.dm-card-ic{flex:0 0 auto;width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,#16b877,#0a7d52);color:#fff;display:grid;place-items:center}
.dm-card-ic svg{width:22px;height:22px}
.dm-card-kind{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#0a7d52}
.dm-card-title{font-size:19px;font-weight:800;letter-spacing:-.01em;margin-top:2px}
.dm-cstatus{margin-left:auto;flex:0 0 auto;font-size:13px;font-weight:800;padding:5px 13px;border-radius:999px;text-transform:capitalize;transition:color .3s,background .3s}
.dm-cstatus.pending{color:#b26a00;background:#fff6e6}
.dm-cstatus.accepted{color:#0a7d52;background:#e6f7ef}
.dm-card-body{padding:17px 19px}
.dm-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 18px}
.dm-metric .k{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6b788f}
.dm-metric .v{font-size:18px;font-weight:800;color:#0b1220;margin-top:3px}
.dm-metric .v.price{color:#0a7d52}
.dm-cactions{display:grid;grid-template-columns:1.4fr 1fr;gap:11px;margin-top:17px;overflow:hidden;transition:max-height .45s ease,opacity .35s ease,margin .45s ease;max-height:60px}
.dm-cactions.gone{max-height:0;opacity:0;margin-top:0;pointer-events:none}
.dm-cbtn{height:48px;border-radius:13px;font-size:15.5px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent}
.dm-cbtn svg{width:17px;height:17px}
.dm-cbtn.green{background:linear-gradient(135deg,#16b877,#0a7d52);color:#fff;box-shadow:0 10px 22px -12px rgba(13,155,102,.7);position:relative}
.dm-cbtn.green.press{transform:scale(.96)}
.dm-cbtn.ghost{background:#fff;border-color:#e7edf7;color:#46536b}
/* composer */
.dm-composer{padding:16px 24px 20px;border-top:1px solid #eef2fa}
.dm-inputcard{border:1px solid #e7edf7;border-radius:20px;padding:14px 16px 14px 20px;display:flex;align-items:center;gap:14px;box-shadow:0 2px 12px -7px rgba(20,40,90,.16)}
.dm-input-ph{flex:1;color:#9aa6bd;font-size:17px;font-weight:500}
.dm-tools{display:flex;gap:4px;color:#9aa6bd}
.dm-tools svg{width:20px;height:20px}
.dm-send{flex:0 0 auto;width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,#3277ff,#1d4ed8);color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px -8px rgba(37,99,235,.6)}
.dm-send svg{width:20px;height:20px}
/* animated cursor + click ripple */
.dm-cursor{position:absolute;left:0;top:0;z-index:25;width:30px;height:30px;pointer-events:none;opacity:0;transform:translate(560px,590px);transition:transform 1s cubic-bezier(.5,.05,.2,1),opacity .3s ease;filter:drop-shadow(0 3px 5px rgba(0,0,0,.28))}
.dm-cursor.show{opacity:1}
.dm-cursor svg{width:30px;height:30px;display:block}
.dm-ripple{position:absolute;left:6px;top:6px;width:20px;height:20px;border-radius:50%;background:rgba(37,99,235,.45);transform:scale(0);opacity:0}
.dm-cursor.click .dm-ripple{animation:dmRipple .5s ease-out}
/* celebration overlay (reuses editorial .ed-txn-* via .fp-ed) */
.dm-celebrate{position:absolute;inset:0;z-index:30;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.94),rgba(240,245,255,.92));backdrop-filter:blur(4px)}
.dm-celebrate.show{display:flex;animation:dmFade .4s ease}
.dm-cele-orb{width:132px;height:132px;border-radius:50%;background:linear-gradient(150deg,#34d399 0%,#10b981 48%,#059669 100%);display:grid;place-items:center;box-shadow:0 24px 60px -18px rgba(16,185,129,.7),0 0 0 12px rgba(16,185,129,.1);position:relative;animation:dmPop .55s cubic-bezier(.2,.9,.3,1.2) both}
.dm-cele-orb svg{width:66px;height:66px}
.dm-cele-orb path{stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;fill:none;stroke-dasharray:52;stroke-dashoffset:52;animation:dmDraw .6s .28s ease forwards}
.dm-cele-ring{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(16,185,129,.5);animation:dmRing 1.4s ease-out infinite}
.dm-cele-t{font-size:30px;font-weight:800;letter-spacing:-.02em;color:#0b1220;margin-top:26px}
.dm-cele-s{font-size:17px;color:#46536b;font-weight:500;margin-top:8px;max-width:400px}
.dm-cele-chips{margin-top:22px;display:inline-flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.dm-cchip{display:inline-flex;align-items:center;gap:9px;font-size:13.5px;font-weight:650;color:#1f2f47;background:#fff;border:1px solid #e6ebf3;border-radius:999px;padding:7px 16px 7px 8px;box-shadow:0 10px 24px -12px rgba(16,40,80,.3)}
.dm-cchip .ci{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}
.dm-cchip .ci svg{width:13px;height:13px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;display:block}
.dm-cchip.pay .ci{background:linear-gradient(135deg,#34d399,#059669)}
.dm-cchip.notify .ci{background:linear-gradient(135deg,#3b82ff,#1d4ed8)}
.dm-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.dm-confetti i{position:absolute;top:-24px;width:11px;height:16px;border-radius:2px;opacity:0}
.dm-celebrate.show .dm-confetti i{animation:dmConfetti 2.6s ease-in forwards}
/* ---------- delivery -> review -> approve -> 5-star flow ---------- */
.dm-divider{align-self:center;margin:4px 0 0;font-size:11.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#93a0b5;display:flex;align-items:center;gap:10px;animation:dmRise .44s cubic-bezier(.2,.75,.2,1) both}
.dm-divider::before,.dm-divider::after{content:"";width:30px;height:1px;background:#e2e8f2}
.dm-cstatus.warn{color:#b26a00;background:#fff6e6}
.dm-dcard{align-self:flex-start;width:340px;max-width:88%;border:1px solid #e7edf7;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 14px 36px -20px rgba(20,40,90,.4);animation:dmCard .5s cubic-bezier(.2,.75,.2,1) both}
.dm-dcard-top{display:flex;align-items:center;gap:10px;padding:13px 15px 11px}
.dm-dchip{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;color:#1d3a8a;background:#eef3ff;border-radius:999px;padding:5px 11px}
.dm-dchip svg{width:14px;height:14px}
.dm-dcard .dm-cstatus{margin-left:auto;font-size:12px;padding:5px 11px}
.dm-shot{display:block;position:relative;width:100%;border:0;padding:0;margin:0;cursor:pointer;background:#eef2f8;overflow:hidden}
.dm-shot img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.dm-shot-badge{position:absolute;top:10px;left:10px;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:rgba(15,23,42,.6);border-radius:7px;padding:4px 8px}
.dm-shot-view{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:750;color:#fff;background:rgba(15,23,42,.3);opacity:0;transition:opacity .25s}
.dm-shot-view svg{width:19px;height:19px}
.dm-shot:hover .dm-shot-view{opacity:1}
.dm-dfoot{display:flex;align-items:center;gap:9px;font-size:12.5px;font-weight:650;color:#5a6a83;padding:11px 15px;border-top:1px solid #eef2fa}
.dm-dfoot svg{width:15px;height:15px;flex:0 0 auto}
.dm-notif{position:absolute;top:88px;right:18px;z-index:24;display:none;align-items:center;gap:12px;width:326px;max-width:74%;background:#fff;border:1px solid #e6ebf3;border-left:4px solid #10b981;border-radius:15px;box-shadow:0 22px 50px -18px rgba(16,40,80,.5);padding:13px 15px}
.dm-notif.show{display:flex;animation:dmSlideIn .4s cubic-bezier(.34,1.3,.6,1)}
.dm-notif-ic{flex:0 0 auto;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#34d399,#059669)}
.dm-notif-ic svg{width:20px;height:20px}
.dm-notif-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.dm-notif-tx b{font-size:14.5px;font-weight:800;color:#0b1220}
.dm-notif-tx span{font-size:12.5px;color:#5a6a83;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dm-notif-cta{flex:0 0 auto;font-size:13px;font-weight:800;color:#0a7d52;background:#e6f7ef;border-radius:999px;padding:6px 13px}
.dm-lightbox{position:absolute;inset:0;z-index:24;display:none;align-items:center;justify-content:center;padding:26px;background:rgba(9,13,24,.9);backdrop-filter:blur(5px)}
.dm-lightbox.show{display:flex;animation:dmFade .35s ease}
.dm-lb-inner{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:520px}
.dm-lb-imgwrap{position:relative;width:420px;max-width:100%;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 30px 70px -24px rgba(0,0,0,.7);animation:dmPop .45s cubic-bezier(.2,.9,.3,1.2) both}
.dm-lb-imgwrap img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.dm-lb-tag{position:absolute;top:12px;left:12px;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#0b1220;background:rgba(255,255,255,.92);border-radius:7px;padding:4px 9px}
.dm-lb-cap{font-size:15px;font-weight:750;color:#fff}
.dm-lb-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;justify-content:center}
.dm-lb-approve{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:800;color:#fff;background:linear-gradient(135deg,#34d399,#059669);border:0;border-radius:13px;padding:13px 24px;cursor:pointer;box-shadow:0 16px 34px -12px rgba(5,150,105,.85);transition:transform .12s}
.dm-lb-approve svg{width:19px;height:19px}
.dm-lb-approve.press{transform:scale(.95)}
.dm-lb-ghost{font-size:14px;font-weight:700;color:#dfe6f2;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);border-radius:13px;padding:13px 20px;cursor:pointer}
.dm-lb-reassure{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:600;color:#c6d0e2}
.dm-lb-reassure svg{width:14px;height:14px}
.dm-approved{position:absolute;inset:0;z-index:30;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.94),rgba(240,245,255,.92));backdrop-filter:blur(4px)}
.dm-approved.show{display:flex;animation:dmFade .4s ease}
.dm-approved.show .dm-confetti i{animation:dmConfetti 2.6s ease-in forwards}
.dm-stars{display:inline-flex;gap:8px;margin-top:20px}
.dm-star{width:34px;height:34px;fill:#dfe6f1;transition:fill .2s}
.dm-star.on{fill:#f5b301;animation:dmStar .42s cubic-bezier(.2,.9,.3,1.4) both}
.dm-approved .dm-cchip{margin-top:22px}
@keyframes dmSlideIn{from{opacity:0;transform:translateX(34px)}to{opacity:1;transform:none}}
@keyframes dmStar{0%{transform:scale(0) rotate(-24deg)}100%{transform:scale(1) rotate(0)}}
/* ---------- Sell my services: living dashboard animation ---------- */
.sd-cursor{position:absolute;left:0;top:0;z-index:40;width:30px;height:30px;pointer-events:none;opacity:0;transform:translate(560px,360px);transition:transform .95s cubic-bezier(.5,.05,.2,1),opacity .3s ease;filter:drop-shadow(0 3px 5px rgba(0,0,0,.28))}
.sd-cursor.show{opacity:1}
.sd-cursor svg{width:30px;height:30px;display:block}
.sd-ripple{position:absolute;left:6px;top:6px;width:20px;height:20px;border-radius:50%;background:rgba(37,99,235,.45);transform:scale(0);opacity:0}
.sd-cursor.click .sd-ripple{animation:dmRipple .5s ease-out}
.sd-toasts{position:absolute;top:84px;right:22px;z-index:36;width:384px;max-width:52%;display:flex;flex-direction:column;gap:10px;align-items:flex-end;pointer-events:none}
.sd-toast{display:flex;align-items:center;gap:11px;width:100%;background:#fff;border:1px solid #e6ebf3;border-left:4px solid #10b981;border-radius:13px;box-shadow:0 16px 40px -18px rgba(16,40,80,.42);padding:10px 13px;opacity:0;transform:translateX(38px);transition:opacity .35s,transform .4s cubic-bezier(.34,1.3,.6,1)}
.sd-toast.show{opacity:1;transform:none}
.sd-toast.blue{border-left-color:#3b82ff}
.sd-toast.gold{border-left-color:#f5b301}
.sd-toast-ic{flex:0 0 auto;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#34d399,#059669)}
.sd-toast.blue .sd-toast-ic{background:linear-gradient(135deg,#3b82ff,#1d4ed8)}
.sd-toast.gold .sd-toast-ic{background:linear-gradient(135deg,#fbbf24,#f59e0b)}
.sd-toast-ic svg{width:20px;height:20px}
.sd-toast-tx{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1 1 auto}
.sd-toast-tx b{font-size:13px;font-weight:800;color:#0b1220;line-height:1.2}
.sd-toast-tx span{font-size:11.5px;color:#5a6a83;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}
.sd-toast.has-action{width:376px}
.sd-toast .sd-deliver{flex:0 0 auto;font-size:12px;padding:7px 12px;border-radius:9px;box-shadow:0 8px 18px -8px rgba(5,150,105,.7)}
.sd-toast .sd-deliver svg{width:13px;height:13px}
.sd-orow{overflow:hidden;animation:sdRowIn .5s cubic-bezier(.2,.75,.2,1) both}
.sd-orow .statuschip.st-g{background:#e6f7ef;color:#0a7d52}
.sd-deliver{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:800;color:#fff;background:linear-gradient(135deg,#34d399,#059669);border:0;border-radius:10px;padding:8px 14px;cursor:pointer;box-shadow:0 10px 22px -10px rgba(5,150,105,.8);transition:transform .12s,opacity .3s}
.sd-deliver svg{width:15px;height:15px}
.sd-deliver.press{transform:scale(.94)}
.sd-deliver.gone{opacity:0;pointer-events:none;width:0;padding:0;margin:0;overflow:hidden}
.sd-flash{display:inline-block;animation:sdPop2 .6s cubic-bezier(.2,.9,.3,1.4)}
.sd-lvlup{animation:sdGlow 1.3s ease}
@keyframes sdRowIn{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:none}}
@keyframes sdPop2{0%{transform:scale(1)}45%{transform:scale(1.15)}100%{transform:scale(1)}}
@keyframes sdGlow{0%{box-shadow:0 0 0 0 rgba(59,110,246,.55)}100%{box-shadow:0 0 0 15px rgba(59,110,246,0)}}
/* withdrawal success big popup */
.sd-withdraw{position:absolute;top:0;left:0;right:0;height:760px;z-index:42;display:none;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.96),rgba(238,244,255,.94));backdrop-filter:blur(5px)}
.sd-withdraw.show{display:flex;animation:dmFade .4s ease}
.sd-withdraw.show .dm-confetti i{animation:dmConfetti 2.6s ease-in forwards}
.sd-wd-card{margin-top:22px;width:320px;max-width:82%;background:#fff;border:1px solid #e7edf7;border-radius:16px;box-shadow:0 20px 46px -22px rgba(20,40,90,.4);padding:4px 18px}
.sd-wd-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #eef2fa;font-size:14px}
.sd-wd-row:last-child{border-bottom:0}
.sd-wd-row span{color:#5a6a83;font-weight:600}
.sd-wd-row b{color:#0b1220;font-weight:800}
.sd-withdraw .dm-cchip{margin-top:20px}
/* send-delivery upload popup */
.sd-delivery{position:absolute;top:0;left:0;right:0;height:760px;z-index:42;display:none;flex-direction:column;align-items:center;justify-content:center;padding:40px;background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.96),rgba(238,244,255,.94));backdrop-filter:blur(5px)}
.sd-delivery.show{display:flex;animation:dmFade .35s ease}
.sd-delivery.show .dm-confetti i{animation:dmConfetti 2.6s ease-in forwards}
.sd-dl-panel{width:366px;max-width:84%;background:#fff;border:1px solid #e7edf7;border-radius:20px;box-shadow:0 26px 60px -26px rgba(20,40,90,.5);padding:22px;animation:dmPop .4s cubic-bezier(.2,.9,.3,1.2) both}
.sd-dl-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}
.sd-dl-ic{flex:0 0 auto;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#3b82ff,#1d4ed8)}
.sd-dl-ic svg{width:22px;height:22px}
.sd-dl-htx{display:flex;flex-direction:column;gap:2px;text-align:left;min-width:0}
.sd-dl-htx b{font-size:16px;font-weight:800;color:#0b1220}
.sd-dl-htx span{font-size:12.5px;color:#5a6a83}
.sd-dl-msg{font-size:13px;color:#33415a;background:#f5f8ff;border:1px solid #e6ecfa;border-radius:12px;padding:10px 13px;text-align:left;margin-bottom:13px;line-height:1.4}
.sd-dl-file{display:flex;align-items:flex-start;gap:12px;border:1px solid #eef2fa;border-radius:14px;padding:12px 13px}
.sd-dl-fic{flex:0 0 auto;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:#3b6ef6;background:#eef3ff}
.sd-dl-fic svg{width:19px;height:19px}
.sd-dl-finfo{flex:1;min-width:0;text-align:left}
.sd-dl-frow b{font-size:13px;font-weight:750;color:#0b1220;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.sd-dl-bar{height:7px;border-radius:999px;background:#eef2f8;overflow:hidden;margin:9px 0 6px}
.sd-dl-fill{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#34d399,#059669);transition:width 1.5s cubic-bezier(.3,.7,.3,1)}
.sd-dl-fstat{font-size:11.5px;font-weight:700;color:#5a6a83}
.sd-dl-success{display:none;flex-direction:column;align-items:center;text-align:center}
.sd-delivery.is-sent .sd-dl-panel{display:none}
.sd-delivery.is-sent .sd-dl-success{display:flex}
.sd-dl-success .dm-cchip{margin-top:18px}
/* login: buyer/seller experience part-tabs.
   HIDDEN by owner decision (2026-08-04). Kept in the DOM rather than deleted from login.html because
   auth-demo.js still toggles `is-on` across [data-al-part] while it alternates the mockup; the tabs
   were only a legend for that alternation, which reads fine without them. Removing the markup would
   mean touching that JS too. This also gives the MacBook 60px of vertical room back. */
.al-parttabs{display:none}
.al-parttabs--legacy{display:flex;gap:9px;margin-top:22px;flex-wrap:wrap}
.al-part{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:750;color:#5a6a83;background:#fff;border:1px solid #e6ebf3;border-radius:999px;padding:8px 15px;transition:color .35s,border-color .35s,background .35s,box-shadow .35s}
.al-part i{width:8px;height:8px;border-radius:50%;background:#c7d0de;transition:background .35s,box-shadow .35s}
.al-part.is-on{color:#1d3a8a;border-color:#bcd0ff;background:#eff5ff;box-shadow:0 8px 20px -10px rgba(59,110,246,.45)}
.al-part.is-on i{background:#3b6ef6;box-shadow:0 0 0 4px rgba(59,110,246,.16)}
/* demo mockup links/buttons: press feedback only, no navigation */
.mac-shot a,.mac-shot .btn,.mac-shot .qa{transition:transform .1s ease}
.mac-shot a:active,.mac-shot .btn:active,.mac-shot .qa:active{transform:scale(.97)}
@keyframes dmRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes dmCard{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@keyframes dmBounce{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-7px)}}
@keyframes dmRipple{0%{transform:scale(0);opacity:.6}100%{transform:scale(4.5);opacity:0}}
@keyframes dmPop{0%{transform:scale(0) rotate(-12deg)}100%{transform:scale(1) rotate(0)}}
@keyframes dmDraw{to{stroke-dashoffset:0}}
@keyframes dmRing{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.7);opacity:0}}
@keyframes dmFade{from{opacity:0}to{opacity:1}}
@keyframes dmConfetti{0%{opacity:1;transform:translateY(0) rotate(0)}100%{opacity:1;transform:translateY(820px) rotate(560deg)}}
@media (prefers-reduced-motion:reduce){
  .demo-msg .dm-row,.demo-msg .dm-card,.demo-msg .dm-typing,.dm-dcard,.dm-divider,.dm-lb-imgwrap{animation:none}
  .dm-cursor{display:none}
  .dm-celebrate.show .dm-confetti i,.dm-approved.show .dm-confetti i,.dm-cele-orb,.dm-cele-orb path,.dm-cele-ring{animation:none}
  .dm-cele-orb path{stroke-dashoffset:0}
  .dm-notif.show{animation:none}
  .dm-star.on{animation:none}
}

/* ---------------- responsive ---------------- */
@media (max-width:1240px){
  .al-showcase{padding:34px 28px 34px 44px}
}
/* SHORT viewports. The showcase is min-height:calc(100vh - 68px) but GROWS past it when the copy
   plus the MacBook are taller than the column, and the overflow falls below the fold - which is why
   the laptop looked cut off along its bottom edge on a 13"/14" screen. Height, not width, is the
   constraint here, so it is keyed on max-height: trim the column and scale the mockup down until the
   whole thing fits above the fold. */
@media (max-height:900px){
  .al-showcase{padding-top:30px;padding-bottom:30px;gap:20px}
  .al-showcase-title{font-size:30px}
  .al-showcase-sub{font-size:14.5px;margin-top:10px}
  .mac{max-width:660px}
}
@media (max-height:800px){
  .al-showcase{padding-top:22px;padding-bottom:22px;gap:16px}
  .al-showcase-title{font-size:27px}
  .mac{max-width:580px}
}
@media (max-height:700px){
  .al-showcase-sub{display:none}
  .mac{max-width:520px}
}
@media (max-width:1080px){
  .auth-lux{grid-template-columns:1fr}
  .al-showcase{display:none}
  .al-formwrap{border-left:none;padding:40px 22px;background:transparent}
}
@media (max-width:460px){
  .al-card{padding:30px 22px 26px;border-radius:22px}
  .al-card h2{font-size:24px}
}
@media (prefers-reduced-motion:reduce){
  .al-card .ed-sso-btn[aria-busy="true"]::after{animation:none}
  .al-card .ed-auth-submit,.al-card .ed-sso-btn{transition:none}
}

/* ── Terms & Conditions gate (login + signup) - added 2026-07-26 ── */
.auth-lux .ed-check-terms { margin-top: 4px; align-items: flex-start; }
.auth-lux .ed-auth-submit[disabled],
.auth-lux .ed-auth-submit.is-disabled {
  opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; filter: saturate(.55);
}
.auth-lux .ed-auth-submit[disabled]:hover,
.auth-lux .ed-auth-submit.is-disabled:hover { transform: none; box-shadow: none; }
@keyframes alTermsShake { 10%,90% { transform: translateX(-1px); } 30%,70% { transform: translateX(2px); } 50% { transform: translateX(-3px); } }
.auth-lux .ed-check.is-shake { animation: alTermsShake .4s ease; }
.auth-lux .ed-check.is-shake span { color: #b4231f; }
