/* Hallmark · component: contextual promotion and guide · theme: existing LumHub
 * states: default · hover · focus · active · disabled · loading · error · success
 * The first, non-modal measurement notice stays in flow so body's app-bar padding keeps its buttons clear of the mobile bar. */
.lum-promotion{display:grid;grid-template-columns:1fr;gap:22px;border-block:1px solid var(--color-rule);padding-block:28px;margin-block:40px}.lum-promotion-mark{display:flex;flex-direction:column;gap:5px}.lum-promotion-mark>span{font-family:var(--font-display);font-size:1.25rem;letter-spacing:.04em;font-weight:600}.lum-promotion small{color:var(--color-muted);font-size:.75rem;max-width:24ch}.lum-promotion h2{font-size:clamp(1.25rem,2vw,1.6rem);letter-spacing:-.03em}.lum-promotion p{margin-top:9px;color:var(--color-muted);font-size:.9rem;max-width:62ch}.lum-promotion .text-link{white-space:normal;align-self:center;min-height:44px;display:flex;align-items:center}.lum-brand-link{text-decoration:none;font-size:.875rem}.lum-brand-link:hover,.lum-promotion a:hover{text-decoration:underline;color:var(--color-accent)}.measurement-settings{border:0;background:none;color:var(--color-muted);min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:.8rem;text-align:start}.guide-launch{position:fixed;right:20px;bottom:calc(20px + var(--app-bar-h,0px));z-index:var(--z-guide);display:flex;gap:10px;align-items:center;min-height:48px;max-width:calc(100vw - 40px);padding:7px 18px 7px 7px;border-radius:var(--radius-pill);border:1px solid var(--color-rule-strong);background:linear-gradient(180deg,var(--color-sheen),var(--color-transparent) 70%),var(--color-raised);color:var(--color-ink);box-shadow:inset 0 1px 0 var(--color-rim),var(--shadow-3);font:600 var(--text-sm)/1.2 var(--font-body);transition:border-color var(--dur-short) var(--ease-out),transform var(--dur-short) var(--ease-out)}.guide-launch-mark{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--color-accent-soft);color:var(--color-accent);box-shadow:inset 0 0 0 1px var(--color-accent-line)}.guide-launch svg{width:19px;height:19px}.guide-launch:hover{border-color:var(--color-accent-line)}.guide-launch:focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}.guide-launch:active{transform:translateY(1px)}.guide-dialog,.growth-consent-dialog,.admin-detail{color:var(--color-ink);background:var(--color-surface);border:1px solid var(--color-rule);border-radius:18px;padding:22px;max-width:calc(100vw - 24px)}.guide-dialog{width:470px;max-height:calc(100dvh - 32px);overflow:auto;margin:auto 16px 16px auto}.guide-dialog::backdrop,.growth-consent-dialog::backdrop,.admin-detail::backdrop{background:var(--color-scrim)}.guide-dialog header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--color-rule);padding-bottom:12px;gap:12px}.guide-dialog header small{font-size:.65rem;letter-spacing:.18em;color:var(--color-accent)}.guide-dialog h2,.growth-consent-dialog h2{font-size:1.5rem}.guide-disclosure{font-size:.75rem;color:var(--color-muted);margin-block:12px}.guide-thread{max-height:33dvh;overflow:auto;display:flex;flex-direction:column;gap:10px;padding-block:8px;overscroll-behavior:contain}.guide-message{font-size:.9rem;padding:12px 14px;border-radius:12px;white-space:pre-wrap;overflow-wrap:anywhere;flex-shrink:0}.guide-message-bot{background:var(--color-soft);margin-right:12px}.guide-message-user{background:var(--color-accent-soft);margin-left:28px}.guide-links{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.guide-links a{display:inline-flex;align-items:center;padding:8px 12px;min-height:44px;border:1px solid var(--color-rule);border-radius:8px;font-size:.8rem;text-decoration:none}.guide-links a:hover{border-color:var(--color-accent);color:var(--color-accent)}.guide-label{display:block;font-size:.75rem;margin:12px 0 6px}.guide-input{display:flex;align-items:stretch;gap:8px}.guide-input textarea{flex:1;min-width:0}.guide-dialog textarea,.guide-dialog select{width:100%;border:1px solid var(--color-rule-strong);border-radius:8px;background:var(--color-paper);color:var(--color-ink);font:inherit;padding:10px;resize:vertical}.guide-dialog textarea:focus-visible,.guide-dialog select:focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}.guide-input button{padding:10px 14px}.guide-consent{display:flex;align-items:flex-start;gap:9px;font-size:.75rem;color:var(--color-muted);margin-block:12px}.guide-consent input{flex-shrink:0;min-width:20px;min-height:20px;margin-top:2px;accent-color:var(--color-accent)}.guide-suggestion{border-top:1px solid var(--color-rule);padding-top:8px;margin-top:8px;font-size:.8rem}.guide-suggestion summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}.guide-suggestion form{display:grid;gap:10px;margin-block:12px}.guide-suggestion label{display:grid;gap:5px}.guide-forget{min-height:44px;border:0;background:none;color:var(--color-muted);font-size:.75rem;text-decoration:underline;text-underline-offset:3px}.guide-dialog [role=status],.growth-consent-dialog [role=status]{font-size:.8rem;margin-top:8px}.growth-widget [data-state=error]{color:var(--color-error)}.growth-widget [data-state=success]{color:var(--color-success)}/* Measurement notice · a quiet privacy card. Non-modal first prompt floats bottom-left (the guide owns bottom-right),
 * never takes focus or scroll; from the footer it opens as a centred modal. Both choices share one style and size. */
.growth-consent-dialog{--consent-glow:color-mix(in srgb,var(--color-accent) 34%,transparent);position:relative;width:min(468px,calc(100vw - 32px));padding:var(--space-lg);border:1px solid var(--color-accent-line);border-radius:var(--radius-xl,24px);background:radial-gradient(120% 70% at 0% 0%,color-mix(in srgb,var(--color-accent) 16%,transparent),var(--color-transparent) 60%),linear-gradient(180deg,var(--color-sheen),var(--color-transparent) 40%),var(--color-surface);color:var(--color-ink);box-shadow:inset 0 1px 0 var(--color-rim),0 28px 70px -24px var(--consent-glow),var(--shadow-3);overflow:clip;isolation:isolate}
.growth-consent-dialog:not(:modal){position:fixed;inset:auto auto calc(16px + var(--app-bar-h,0px)) 16px;z-index:var(--z-consent);margin:0}
.growth-consent-dialog:modal{margin:auto}
.growth-consent-dialog[open]{animation:consent-in .6s var(--ease-out) both}
.growth-consent-dialog::backdrop{background:color-mix(in srgb,var(--color-abyss) 62%,transparent);backdrop-filter:blur(6px)}
body:has(.growth-widget){padding-bottom:calc(var(--app-bar-h,0px) + var(--consent-reserve,0px))}
.growth-consent-aura{position:absolute;z-index:-1;inset:-40% -30% auto auto;width:320px;aspect-ratio:1;border-radius:50%;background:conic-gradient(from 0deg,var(--color-accent),var(--color-gold,#d8b26a),var(--color-accent-strong),var(--color-accent));opacity:.16;filter:blur(46px);animation:consent-aura 14s linear infinite;pointer-events:none}
.growth-consent-head{display:flex;align-items:center;gap:var(--space-md)}
.growth-consent-icon{position:relative;width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,var(--color-accent-soft),var(--color-well));color:var(--color-accent);box-shadow:inset 0 0 0 1px var(--color-accent-line),0 10px 24px -10px var(--consent-glow)}
.growth-consent-icon::after{content:"";position:absolute;inset:-5px;border-radius:19px;border:1px solid var(--color-accent-line);opacity:0;animation:consent-ring 2.8s var(--ease-out) 1s infinite}
.growth-consent-icon svg{width:26px;height:26px}
.growth-consent-trace{stroke-dasharray:22;stroke-dashoffset:22;animation:consent-draw 1.1s var(--ease-out) .55s forwards}
.growth-consent-titles{min-width:0}
.growth-consent-eyebrow{display:flex;align-items:center;gap:7px;margin:0 0 3px;font:600 .6875rem/1 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--color-accent)}
.growth-consent-eyebrow span{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 0 0 var(--consent-glow);animation:consent-beat 2.4s ease-out infinite}
.growth-consent-dialog h2{font-size:var(--text-lg);line-height:1.15;letter-spacing:var(--tracking-heading)}
.growth-consent-dialog>p{font-size:var(--text-sm);line-height:1.65;color:var(--color-muted);margin-block:var(--space-md) var(--space-sm)}
.growth-consent-never{margin-block:var(--space-md);padding:12px 14px;border:1px solid var(--color-rule);border-radius:var(--radius-md);background:color-mix(in srgb,var(--color-well) 70%,transparent)}
.growth-consent-never>p{margin:0 0 8px;font:600 .6875rem/1.2 var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--color-muted)}
.growth-consent-never ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.growth-consent-never li{display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 8px;border:1px solid var(--color-rule);border-radius:var(--radius-pill);background:var(--color-surface);font-size:.75rem;font-weight:500;line-height:1.2;animation:consent-chip .5s var(--ease-out) both}
.growth-consent-never li:nth-child(1){animation-delay:.35s}.growth-consent-never li:nth-child(2){animation-delay:.42s}.growth-consent-never li:nth-child(3){animation-delay:.49s}.growth-consent-never li:nth-child(4){animation-delay:.56s}
.growth-consent-never svg{width:14px;height:14px;flex:none;fill:none;stroke:var(--color-accent);stroke-width:2;stroke-linecap:round}
.growth-consent-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:var(--space-sm)}
.growth-consent-actions button{white-space:normal;width:100%;gap:8px;transition:transform var(--dur-micro) var(--ease-out),box-shadow var(--dur-short) var(--ease-out),border-color var(--dur-short) var(--ease-out)}
.growth-consent-yes{box-shadow:0 12px 26px -12px var(--consent-glow)}
.growth-consent-yes svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.growth-consent-policy{display:inline-flex;align-items:center;gap:6px;min-height:var(--tap);margin-top:4px;font-size:var(--text-sm);font-weight:600;text-decoration:none;color:var(--color-muted)}
.growth-consent-policy svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform var(--dur-short) var(--ease-out)}
@media(hover:hover) and (pointer:fine){.growth-consent-policy:hover{color:var(--color-accent)}.growth-consent-policy:hover svg{transform:translateX(3px)}.growth-consent-yes:hover{transform:translateY(-2px);box-shadow:0 16px 30px -10px var(--consent-glow)}.growth-consent-no:hover{border-color:var(--color-accent-line)}}
.growth-consent-dialog[aria-busy=true] .growth-consent-actions button{cursor:progress}
.growth-consent-dialog [data-measurement-status]:empty{display:none}
.growth-consent-dialog [data-measurement-status]{margin:0;font-size:.8125rem}
@keyframes consent-in{from{opacity:0;transform:translateY(24px) scale(.96)}to{opacity:1;transform:none}}
@keyframes consent-aura{to{transform:rotate(1turn)}}
@keyframes consent-ring{0%{opacity:.7;transform:scale(.92)}100%{opacity:0;transform:scale(1.35)}}
@keyframes consent-draw{to{stroke-dashoffset:0}}
@keyframes consent-beat{0%{box-shadow:0 0 0 0 var(--consent-glow)}70%,100%{box-shadow:0 0 0 8px transparent}}
@keyframes consent-chip{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.growth-consent-dialog,.growth-consent-dialog *,.growth-consent-icon::after{animation:none!important}.growth-consent-trace{stroke-dashoffset:0}}
.growth-widget [data-state=busy]{color:var(--color-muted)}
/* Layer order on phones: the notice stacks above the floating launcher, so neither hides the other and the guide stays reachable. */
@media(max-width:39.99rem){.growth-consent-dialog:not(:modal){inset-inline:12px;bottom:calc(12px + var(--app-bar-h,0px));width:auto;padding:var(--space-md);border-radius:22px}.growth-consent-icon{width:42px;height:42px;border-radius:13px}.growth-consent-never{margin-block:var(--space-sm);padding:10px 12px}.growth-consent-actions{grid-template-columns:1fr}.growth-consent-yes{order:-1}body:not([data-page=business],[data-directory-surface]) .growth-consent-dialog:not(:modal){bottom:calc(84px + var(--app-bar-h,0px))}.growth-consent-dialog>p{margin-block:var(--space-sm) 0}}
@media(min-width:900px){.lum-promotion{grid-template-columns:180px minmax(0,1fr) minmax(150px,210px);gap:32px;align-items:center}}
@media(max-width:420px){.guide-dialog{padding:16px;margin:auto 12px 12px}.guide-launch{right:12px;bottom:calc(12px + var(--app-bar-h,0px))}.guide-dialog h2{font-size:1.3rem}.guide-input{flex-direction:column}.guide-input button{min-height:44px}.guide-thread{max-height:27dvh}}
@media(prefers-reduced-motion:reduce){.growth-widget *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:39.99rem){.growth-consent-never>p{display:none}.growth-consent-never{padding:8px 10px}.growth-consent-never ul{gap:5px}.growth-consent-never li{font-size:.6875rem;padding:4px 8px 4px 6px}.growth-consent-dialog>p{font-size:.8125rem;line-height:1.55}.growth-consent-policy{min-height:40px;margin-top:0}}
