/* ============================================================
   GMB Optimizer - customer dashboard v2, sign-in v2, sign-up (survey) v2
   Markup: LpDv2Return (shell), LpDv2Overview, LpLoginV2 in the bundle; every
   other dashboard section keeps its own markup and is restyled here under
   .dv-shell / .dv-content. Loaded after theme-premium.css, home-v2.css and
   pages-v2.css.
   ============================================================ */

/* ---------- Shell ---------- */
.dv-shell { background: #f4f6f9; }
.dv-sidebar { width: 268px; border-right: 1px solid var(--outline-variant); background: #fff; }
.dv-side-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 14px; border-bottom: 0; }
.dv-side-head .logo img { height: 34px !important; }
.dv-side-close { display: none; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--text-secondary); cursor: pointer; }
.dv-side-close:hover { background: var(--surface-variant-2); color: var(--text-primary); }

.dv-workspace {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 14px 6px;
    padding: 12px 12px 12px 12px;
    border-radius: 16px;
    color: #fff;
    background:
        radial-gradient(160px 90px at 100% 0%, rgba(1, 159, 70, 0.45), transparent 70%),
        linear-gradient(140deg, #111c2e 0%, #0b1220 100%);
    box-shadow: 0 14px 28px -18px rgba(11, 18, 32, 0.7);
}
.dv-ws-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #19bb6a, #017534); color: #fff; font: 700 14px var(--font-heading); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.dv-ws-meta { flex: 1; min-width: 0; }
.dv-ws-meta strong { display: block; overflow: hidden; color: #fff; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dv-ws-meta span { display: block; overflow: hidden; color: rgba(255, 255, 255, 0.62); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; text-transform: capitalize; }
.dv-ws-edit { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); cursor: pointer; transition: background-color .15s; }
.dv-ws-edit:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.dv-ws-edit .material-symbols-outlined { font-size: 18px; }

.dv-nav { gap: 0; padding: 4px 12px 12px; }
.dv-nav-group + .dv-nav-group { margin-top: 4px; }
.dv-nav-label { padding: 10px 12px 4px; color: var(--text-tertiary); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dv-nav .dv-nav-item { min-height: 38px; margin-bottom: 1px; padding: 8px 12px; border-radius: 10px; font-size: 14px; }
.dv-nav-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dv-side-foot { padding: 12px 14px 16px; border-top: 1px solid #eef0f4; }
.dv-user { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; }
.dv-user-avatar { width: 36px !important; height: 36px !important; border: 0; cursor: pointer; }
.dv-user-meta { flex: 1; min-width: 0; }
.dv-user-meta strong { display: block; overflow: hidden; color: var(--text-primary); font-size: 13.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dv-user-meta button { padding: 0; border: 0; background: none; color: var(--primary-press); font: 500 12.5px var(--font-body); cursor: pointer; }
.dv-user-meta button:hover { text-decoration: underline; }
.dv-foot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.dv-foot-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 10px; border: 1px solid var(--outline-variant); border-radius: 10px; background: #fff; color: #344054; font: 600 13px var(--font-body); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.dv-foot-btn .material-symbols-outlined { font-size: 17px; }
.dv-foot-btn:hover { background: var(--surface-variant); border-color: #cfd5de; }
.dv-logout:hover { background: #fef3f2; border-color: #fecdca; color: #b42318; }
.dv-foot-btn:disabled { opacity: .6; cursor: progress; }

.dv-main {
    background:
        radial-gradient(900px 320px at 75% -160px, rgba(1, 159, 70, 0.09), transparent 70%),
        #f4f6f9;
}
.dv-topbar { gap: 14px; height: 64px; padding: 0 28px; background: rgba(255, 255, 255, 0.86); }
.dv-crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--text-tertiary); font-size: 14px; }
.dv-crumbs > .material-symbols-outlined { font-size: 18px; }
.dv-crumb-root { font-weight: 500; }
.dv-crumb-cur { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; color: var(--text-primary); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dv-crumb-cur .material-symbols-outlined { color: var(--primary); font-size: 18px; font-variation-settings: 'FILL' 1; }
.dv-top-right { display: flex; align-items: center; gap: 12px; margin-left: auto; min-width: 0; }
.dv-top-avatar { border: 0; cursor: pointer; }

.dv-shell .trial-banner { width: calc(100% - 64px); max-width: 1176px; margin: 20px auto 0; padding: 12px 18px; border: 1px solid var(--outline-variant); border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.dv-shell .trial-banner.active { border-color: #c9eed9; }
.dv-shell .trial-banner.expired { border-color: #fecdca; }
.dv-content { width: 100%; max-width: 1240px; margin: 0 auto; padding: 24px 32px 72px; }
.dv-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 96px 0; color: var(--text-secondary); }
.dv-spinner { display: inline-block; flex-shrink: 0; width: 34px; height: 34px; border: 3px solid #d1f2df; border-top-color: var(--primary); border-radius: 50%; animation: dvSpin .8s linear infinite; }
@keyframes dvSpin { to { transform: rotate(360deg); } }

/* Business switcher + notification menus. */
.dv-shell .lp-menu { padding: 8px; border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(16, 24, 40, 0.25), 0 0 0 1px rgba(16, 24, 40, 0.04); }
.dv-shell .lp-menu-item { border-radius: 10px; }
.dv-shell .lp-menu-item.on { background: var(--primary-container); }
.dv-shell .lp-badge { box-shadow: 0 0 0 2px #fff; }

/* ---------- Overview ---------- */
.dv-ov { display: flex; flex-direction: column; gap: 20px; }
.dv-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: 32px 36px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(520px 280px at 100% 0%, rgba(1, 159, 70, 0.5), transparent 70%),
        radial-gradient(360px 220px at 0% 120%, rgba(253, 189, 1, 0.16), transparent 70%),
        linear-gradient(140deg, #111c2e 0%, #0b1220 100%);
    box-shadow: 0 30px 60px -34px rgba(11, 18, 32, 0.75);
}
.dv-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 10%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 10%, transparent 100%);
}
.dv-hero::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #019f46 0 33.3%, #f92019 33.3% 66.6%, #fdbd01 66.6% 100%); }
.dv-hero-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.dv-hero-kicker .material-symbols-outlined { color: #fdbd01; font-size: 17px; }
.dv-hero h1 { margin-top: 14px; color: #fff; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; letter-spacing: -0.03em; }
.dv-hero-sub { margin-top: 8px; color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.dv-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dv-btn-light { padding: 10px 18px; border: 0; background: #fff; color: var(--brand-navy); font-size: 14.5px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.5); }
.dv-btn-light:hover { background: #ecfdf3; color: #014d24; }
.dv-btn-light:disabled { opacity: .8; cursor: progress; }
.dv-btn-ghost { padding: 10px 18px; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 14.5px; }
.dv-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.dv-hero-actions .material-symbols-outlined { font-size: 18px; }

.dv-hero-score { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 190px; }
.dv-ring-wrap { position: relative; width: 136px; height: 136px; }
.dv-ring { width: 136px; height: 136px; transform: rotate(-90deg); }
.dv-ring-track { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 10; }
.dv-ring-value { fill: none; stroke: #4ade80; stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.2, .7, .2, 1); filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.45)); }
.dv-ring-ok .dv-ring-value { stroke: #fbbf24; filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.45)); }
.dv-ring-low .dv-ring-value { stroke: #f87171; filter: drop-shadow(0 0 8px rgba(248, 113, 113, 0.45)); }
.dv-ring-center { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 46px; }
.dv-ring-center strong { color: #fff; font: 700 38px/1 var(--font-heading); letter-spacing: -0.03em; }
.dv-ring-center span { margin-left: 2px; color: rgba(255, 255, 255, 0.55); font-size: 14px; font-weight: 600; }
.dv-score-label { color: rgba(255, 255, 255, 0.7); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.dv-score-chip { padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.dv-score-chip.dv-good { background: rgba(74, 222, 128, 0.16); color: #86efac; }
.dv-score-chip.dv-ok { background: rgba(251, 191, 36, 0.16); color: #fcd34d; }
.dv-score-chip.dv-low { background: rgba(248, 113, 113, 0.16); color: #fca5a5; }

.dv-card { padding: 22px 24px; border-radius: 20px; border: 1px solid var(--outline-variant); background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.dv-scan { display: flex; align-items: center; gap: 16px; }
.dv-scan strong { display: block; color: var(--text-primary); font-size: 15px; }
.dv-scan span:not(.dv-spinner) { color: var(--text-secondary); font-size: 13.5px; }
.dv-error { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; border-color: #fde2df; background: linear-gradient(180deg, #fff8f7, #fff 70%); }
.dv-error > .material-symbols-outlined { color: #d92d20; }
.dv-error p { flex: 1; min-width: 220px; color: #1d2939; font-size: 14.5px; }

.dv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dv-kpi {
    --t: var(--primary); --tb: #e8f7ef;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--outline-variant);
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
button.dv-kpi { cursor: pointer; }
button.dv-kpi:hover { transform: translateY(-2px); border-color: rgba(1, 159, 70, 0.3); box-shadow: 0 18px 36px -20px rgba(16, 24, 40, 0.25); }
.dv-kpi > .material-symbols-outlined { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: var(--tb); color: var(--t); font-size: 22px; font-variation-settings: 'FILL' 1; }
.dv-tone-yellow { --t: #c68a00; --tb: #fff8e1; }
.dv-tone-green { --t: #019f46; --tb: #e8f7ef; }
.dv-tone-navy { --t: #111823; --tb: #eef1f6; }
.dv-tone-red { --t: #d92d20; --tb: #fef3f2; }
.dv-kpi-val { color: var(--text-primary); font: 700 26px/1.1 var(--font-heading); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dv-kpi-label { margin-top: 4px; color: var(--text-secondary); font-size: 13.5px; font-weight: 500; }
.dv-kpi-sub { margin-top: 2px; color: var(--text-tertiary); font-size: 12.5px; }

.dv-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 20px; }
.dv-side { display: flex; flex-direction: column; gap: 20px; }
.dv-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dv-card-head h2 { color: var(--text-primary); font-size: 17px; letter-spacing: -0.015em; }
.dv-card-head p { margin-top: 3px; color: var(--text-secondary); font-size: 13.5px; }
.dv-link { display: inline-flex; flex-shrink: 0; align-items: center; gap: 4px; padding: 4px 0; border: 0; background: none; color: var(--primary-press); font: 600 13.5px var(--font-body); cursor: pointer; white-space: nowrap; }
.dv-link .material-symbols-outlined { font-size: 17px; transition: transform .15s; }
.dv-link:hover .material-symbols-outlined { transform: translateX(3px); }

.dv-prio-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dv-prio-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--outline-variant); background: var(--surface-variant); transition: background-color .15s, border-color .15s; }
.dv-prio-list li:hover { border-color: #cfd5de; background: #fff; }
.dv-prio-num { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--text-secondary); font: 700 12px var(--font-heading); box-shadow: inset 0 0 0 1px var(--outline-variant); }
.dv-prio-list li > .material-symbols-outlined { flex-shrink: 0; color: var(--primary); font-size: 20px; }
.dv-prio-title { flex: 1; min-width: 0; color: #1d2939; font-size: 14.5px; font-weight: 500; }
.dv-impact { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.dv-impact-high { background: #fef3f2; color: #b42318; box-shadow: inset 0 0 0 1px #fecdca; }
.dv-impact-med { background: #fffaeb; color: #b54708; box-shadow: inset 0 0 0 1px #fedf89; }
.dv-impact-low { background: #ecfdf3; color: #067647; box-shadow: inset 0 0 0 1px #abefc6; }
.dv-empty { display: flex; align-items: center; gap: 12px; padding: 18px; border-radius: 14px; background: #ecfdf3; color: #067647; font-weight: 600; }

.dv-status-row { display: flex; align-items: flex-start; gap: 14px; }
.dv-status-row > .material-symbols-outlined { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; font-size: 22px; font-variation-settings: 'FILL' 1; }
.dv-status.is-ok .dv-status-row > .material-symbols-outlined { background: #ecfdf3; color: #067647; }
.dv-status.is-warn .dv-status-row > .material-symbols-outlined { background: #fffaeb; color: #b54708; }
.dv-status-row strong { color: var(--text-primary); font-size: 15px; }
.dv-status-row p { margin-top: 4px; color: var(--text-secondary); font-size: 13.5px; line-height: 1.55; }
.dv-rev { display: flex; align-items: center; gap: 16px; }
.dv-rev .dv-rev-score { margin: 0; color: var(--text-primary); font: 700 44px/1 var(--font-heading); letter-spacing: -0.03em; }
.dv-stars { display: inline-flex; color: #f5b400; }
.dv-stars .material-symbols-outlined { font-size: 20px; font-variation-settings: 'FILL' 1; }
.dv-stars .material-symbols-outlined.off { color: #e4e7ec; }
.dv-rev div p { margin-top: 4px; color: var(--text-secondary); font-size: 13.5px; }
.dv-muted { color: var(--text-secondary); font-size: 14px; }

/* A <section>, so it would otherwise pick up the site-wide section padding. */
.dv-ov .dv-quick { padding: 0; }
.dv-quick-title { margin: 8px 0 12px; color: var(--text-primary); font-size: 17px; letter-spacing: -0.015em; }
.dv-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.dv-quick-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--outline-variant);
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dv-quick-card:hover { transform: translateY(-3px); border-color: rgba(1, 159, 70, 0.3); box-shadow: 0 20px 40px -22px rgba(16, 24, 40, 0.28); }
.dv-quick-card:focus-visible, .dv-kpi:focus-visible, .dv-nav-item:focus-visible { outline: none; box-shadow: var(--ring); }
.dv-quick-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 12px; background: linear-gradient(180deg, #effaf4, #e2f5ea); color: var(--primary); box-shadow: inset 0 0 0 1px rgba(1, 159, 70, 0.12); }
.dv-quick-card strong { color: var(--text-primary); font-size: 15px; }
.dv-quick-desc { color: var(--text-secondary); font-size: 13.5px; line-height: 1.5; }
.dv-quick-arrow { position: absolute; top: 18px; right: 18px; color: var(--text-tertiary); transition: color .15s, transform .15s; }
.dv-quick-arrow .material-symbols-outlined { font-size: 18px; }
.dv-quick-card:hover .dv-quick-arrow { color: var(--primary); transform: translate(2px, -2px); }

/* ---------- Every other section ---------- */
.dv-content .dash-section-head { margin-bottom: 18px; }
.dv-content .dash-section-head h2 { font-size: 24px; letter-spacing: -0.025em; }
.dv-content .dash-section-link { font-weight: 600; }
.dv-content .g-card { border-radius: 20px; border-color: var(--outline-variant); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }
.dv-content .g-card.hoverable:hover { transform: none; }
.dv-content .live-lookup-card, .dv-content .composer-card, .dv-content .report-generate-card, .dv-content .audit-summary-card { padding: 24px; }
.dv-content .live-lookup-head h3, .dv-content .composer-card h3 { font-size: 17px; letter-spacing: -0.015em; }
.dv-content .live-lookup-meta { color: var(--text-secondary); }
.dv-content .chip { font-size: 12px; }
.dv-content .btn-sm { padding: 8px 16px; }

/* Tables (rank tracking, competitors, reports). */
.dv-content .dash-table-card { overflow: hidden; }
.dv-content .dash-table th { padding: 13px 20px; background: #f8fafc; }
.dv-content .dash-table td { padding: 15px 20px; }
.dv-content .dash-pos-badge { font-weight: 700; }

/* Lists (priorities, posts, protection, notes). */
.dv-content .dash-list-card { padding: 6px 22px; }
.dv-content .dash-list-row { gap: 14px; padding: 15px 0; }
.dv-content .dash-list-row > .material-symbols-outlined { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #e8f7ef; font-size: 19px; }
.dv-content .dash-list-title { color: #1d2939; font-weight: 500; }

/* Rank tracking "how it works". */
.dv-content .rk-howto { border: 1px solid #d1f2df; background: radial-gradient(520px 240px at 100% 0%, rgba(1, 159, 70, 0.1), transparent 70%), linear-gradient(180deg, #f3fbf6 0%, #fff 220px); }
.dv-content .rk-step { border-radius: 16px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.dv-content .rk-step:hover { transform: translateY(-2px); border-color: rgba(1, 159, 70, 0.35); box-shadow: 0 16px 32px -20px rgba(16, 24, 40, 0.25); }
.dv-content .rk-tip { border: 1px solid #fde7a6; border-radius: 14px; }

/* Reviews. */
.dv-content .dash-reviews-grid { gap: 18px; }
.dv-content .dash-review-card { border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.dv-content .dash-review-card:hover { border-color: #cfd5de; box-shadow: 0 16px 32px -22px rgba(16, 24, 40, 0.25); }
.dv-content .dash-review-card .testimonial-avatar { background: linear-gradient(135deg, #e8f7ef, #cdeedb); color: var(--primary-press); font-weight: 700; }
.dv-content .dash-review-name { font-weight: 600; }
.dv-content .dash-stars, .dv-content .dash-review-card .mock-stars { color: #f5b400; }
.dv-content .dash-stars .material-symbols-outlined, .dv-content .dash-review-card .material-symbols-outlined[class] { font-variation-settings: 'FILL' 1; }
.dv-content .dash-reply-box { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--surface-variant); border: 1px solid var(--outline-variant); }

/* Business details. */
.dv-content .biz-card { border-radius: 20px; }
.dv-content .biz-card-head { padding: 16px 22px; background: #fff; }
.dv-content .biz-card-title { font-size: 15px; }
.dv-content .biz-card-icon { width: 34px; height: 34px; border-radius: 10px; }
.dv-content .biz-card-icon .material-symbols-outlined { font-size: 18px; }
.dv-content .biz-card-body { padding: 22px; }
.dv-content .biz-global-tabs { padding: 5px; border-radius: 14px; }
.dv-content .biz-gtab { padding: 10px 16px; border-radius: 10px; }
.dv-content .biz-upload-zone { border-radius: 16px; transition: border-color .2s, background-color .2s; }
.dv-content .biz-upload-zone:hover { border-color: var(--primary); background: #f3fbf6; }

/* Posts, protection, reports, account, competitors. */
.dv-content .protection-card { border-radius: 18px; }
.dv-content .lp-kpi { border-radius: 14px; }
.dv-content .account-card { max-width: 640px; border-radius: 20px; }
.dv-content .account-card-head { padding: 22px 26px; }
.dv-content .lp-empty-card { padding: 40px 24px; border-style: dashed; }
.dv-content .lp-empty-card > .material-symbols-outlined { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #e8f7ef; font-size: 26px; }
.dv-content .lp-lock { border-radius: 24px; box-shadow: 0 30px 60px -34px rgba(16, 24, 40, 0.35); }
.dv-content .dash-banner { border: 1px solid #c9eed9; border-radius: 16px; background: linear-gradient(90deg, #ecfdf3, #fff 70%); color: #067647; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); }

/* ---------- Sign in ---------- */
section.lv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--header-h)); padding: 0; }
.lv-brand {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 48px;
    color: #fff;
    background:
        radial-gradient(560px 320px at 0% 0%, rgba(1, 159, 70, 0.45), transparent 70%),
        radial-gradient(420px 260px at 100% 100%, rgba(253, 189, 1, 0.16), transparent 70%),
        linear-gradient(150deg, #111c2e 0%, #0b1220 100%);
}
.lv-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 40% 40%, #000 10%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 70% at 40% 40%, #000 10%, transparent 100%);
}
.lv-brand-inner { width: 100%; max-width: 470px; }
.lv-brand h2 { margin-top: 22px; color: #fff; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
.lv-brand h2 span { background: linear-gradient(95deg, #4ade80, #19bb6a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lv-points { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.lv-points li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, 0.86); font-size: 15.5px; font-weight: 500; }
.lv-points .material-symbols-outlined { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #6ee7a8; font-size: 19px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.lv-quote { margin: 36px 0 0; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lv-quote blockquote { margin: 10px 0 16px; color: #fff; font-size: 16px; line-height: 1.6; }
.lv-quote figcaption { display: flex; align-items: center; gap: 12px; }
.lv-quote figcaption strong { display: block; color: #fff; font-size: 14px; }
.lv-quote figcaption span span { color: rgba(255, 255, 255, 0.6); font-size: 12.5px; }
.lv-quote .hv-quote-avatar { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }

.lv-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background:
        radial-gradient(520px 300px at 100% 0%, rgba(1, 159, 70, 0.08), transparent 70%),
        radial-gradient(420px 260px at 0% 100%, rgba(253, 189, 1, 0.08), transparent 70%),
        #f6f8fa;
}
.lv-card { position: relative; overflow: hidden; width: 100%; max-width: 430px; padding: 40px 36px 32px; border-radius: 24px; border: 1px solid var(--outline-variant); background: #fff; text-align: center; box-shadow: var(--shadow-4); }
.lv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand-stripe); }
.lv-card .logo { justify-content: center; margin-bottom: 22px; }
.lv-card .logo img { height: 40px !important; }
.lv-card h1 { font-size: 28px; letter-spacing: -0.03em; }
.lv-sub { margin-top: 6px; color: var(--text-secondary); font-size: 15px; }
.lv-google { width: 100%; margin-top: 26px; padding: 12px 18px; }
.lv-form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.lv-field { display: flex; flex-direction: column; gap: 7px; }
.lv-label { color: #344054; font-size: 13.5px; font-weight: 600; }
.lv-input { position: relative; display: flex; align-items: center; }
.lv-input > .material-symbols-outlined { position: absolute; left: 14px; color: var(--text-tertiary); font-size: 20px; pointer-events: none; }
.lv-input input {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 44px;
    border: 1px solid var(--outline);
    border-radius: 12px;
    background: #fff;
    color: var(--text-primary);
    font: 400 15px var(--font-body);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    transition: border-color .15s, box-shadow .15s;
}
.lv-input input:hover:not(:focus) { border-color: #b8c0cc; }
.lv-input input:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.lv-input input:focus ~ .material-symbols-outlined, .lv-input:focus-within > .material-symbols-outlined { color: var(--primary); }
.lv-eye { position: absolute; right: 6px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--text-tertiary); cursor: pointer; }
.lv-eye:hover { background: var(--surface-variant); color: var(--text-primary); }
.lv-eye .material-symbols-outlined { font-size: 20px; }
.lv-submit { width: 100%; height: 48px; margin-top: 4px; font-size: 15.5px; }
.lv-card .login-footer { margin-top: 22px; color: var(--text-secondary); font-size: 14px; }
.lv-card .login-footer a { color: var(--primary-press); font-weight: 600; }

/* ---------- Sign up (survey) ---------- */
.survey-page {
    background:
        radial-gradient(720px 400px at 100% -10%, rgba(1, 159, 70, 0.10), transparent 70%),
        radial-gradient(520px 320px at -10% 10%, rgba(253, 189, 1, 0.10), transparent 70%),
        #f6f8fa;
}
.survey-header { padding: 18px 32px; }
.survey-header .logo img { height: 36px !important; }
.survey-exit { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: #fff; color: #344054; font-weight: 600; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), inset 0 0 0 1px var(--outline-variant); }
.survey-exit:hover { background: var(--surface-variant); }
.survey-progress { max-width: 640px; }
.survey-progress-bar { height: 8px; background: #e4e7ec; }
.survey-progress-fill { background: linear-gradient(90deg, #019f46, #19bb6a); box-shadow: 0 0 12px rgba(1, 159, 70, 0.45); }
.survey-progress-label { color: var(--text-secondary); font-weight: 500; }
.survey-body { flex: 0 0 auto; padding: 32px 24px 24px; }
.survey-step {
    position: relative;
    overflow: hidden;
    max-width: 640px;
    padding: 44px 48px 40px;
    border-radius: 24px;
    border: 1px solid var(--outline-variant);
    background: #fff;
    box-shadow: var(--shadow-4);
}
.survey-step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand-stripe); }
.survey-step h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; text-wrap: balance; }
.survey-choice-card, .survey-choice-row { border-width: 1px; border-radius: 16px; transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s; }
.survey-choice-card:hover, .survey-choice-row:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(16, 24, 40, 0.3); }
.survey-choice-card.selected, .survey-choice-row.selected { box-shadow: var(--ring); }
.survey-field input, .survey-field select { height: 50px; border-radius: 12px; }
.survey-actions { max-width: 640px; padding: 4px 24px 48px; }
.survey-actions .btn { padding: 13px 26px; font-size: 15.5px; }
.survey-loading .survey-spinner { border-color: #d1f2df; border-top-color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .dv-kpis, .dv-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .dv-side-close { display: inline-flex; }
    .dv-grid { grid-template-columns: minmax(0, 1fr); }
    section.lv { grid-template-columns: minmax(0, 1fr); }
    .lv-brand { display: none; }
}
@media (max-width: 900px) {
    .dv-topbar { padding: 0 16px; }
    .dv-crumb-root, .dv-crumbs > .material-symbols-outlined { display: none; }
    .dv-shell .trial-banner { width: calc(100% - 32px); margin-top: 14px; }
    .dv-content { padding: 18px 16px 56px; }
}
@media (max-width: 640px) {
    .dv-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 22px; text-align: center; }
    .dv-hero-copy { display: flex; flex-direction: column; align-items: center; }
    .dv-hero-actions { justify-content: center; }
    .dv-hero-actions .btn { flex: 1; }
    .dv-hero-score { order: -1; }
    .dv-kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
    .dv-kpi { flex-direction: column; gap: 10px; padding: 16px; }
    .dv-quick-grid { grid-template-columns: minmax(0, 1fr); }
    .dv-crumbs { display: none; }
    .dv-top-right { gap: 8px; }
    .dv-prio-list li { flex-wrap: wrap; row-gap: 8px; }
    .dv-prio-title { flex-basis: calc(100% - 76px); }
    .dv-impact { margin-left: 68px; }
    .lv-form-side { padding: 28px 16px 48px; }
    .lv-card { padding: 32px 22px 26px; }
    .survey-step { padding: 32px 22px 28px; border-radius: 20px; }
    .survey-body { padding: 20px 14px 16px; }
    .survey-header { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .dv-ring-value { transition: none; }
    .dv-spinner { animation-duration: 2s; }
}

/* ---------- Form controls: one custom look for every field in the dashboard ----------
   Component rules style some fields differently (1px outline, 8px radius, browser
   focus outline), so border, radius and focus are forced here. */
.dv-shell :is(input:not([type]), input[type=text], input[type=email], input[type=url], input[type=tel], input[type=number],
    input[type=search], input[type=password], input[type=date], input[type=time], input[type=datetime-local], input[type=month]),
.dv-shell select,
.dv-shell textarea {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--outline) !important;
    border-radius: 12px !important;
    background-color: #fff;
    color: var(--text-primary);
    font: 400 14.5px/1.4 var(--font-body);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    outline: none !important;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.dv-shell textarea { min-height: 110px; line-height: 1.55; resize: vertical; }
.dv-shell :is(input, select, textarea):hover:not(:focus):not(:disabled):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]) { border-color: #b8c0cc !important; }
.dv-shell :is(input, select, textarea):focus:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]) { border-color: var(--primary) !important; box-shadow: var(--ring) !important; }
.dv-shell :is(input, select, textarea):disabled { background-color: var(--surface-variant); color: var(--text-tertiary); cursor: not-allowed; box-shadow: none; }
.dv-shell :is(input, textarea)::placeholder { color: var(--text-tertiary); opacity: 1; }
.dv-shell select:not([multiple]) { padding-right: 42px !important; cursor: pointer; }

/* Date and time pickers: brand icons instead of the browser's black ones. */
.dv-shell input[type=date]::-webkit-calendar-picker-indicator,
.dv-shell input[type=time]::-webkit-calendar-picker-indicator {
    width: 18px; height: 18px; padding: 3px; border-radius: 7px; cursor: pointer; opacity: .8;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23019f46' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.dv-shell input[type=time]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23019f46' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
}
.dv-shell input[type=date]::-webkit-calendar-picker-indicator:hover,
.dv-shell input[type=time]::-webkit-calendar-picker-indicator:hover { opacity: 1; background-color: #e8f7ef; }
.dv-shell .biz-hours-row input[type=time] { min-height: 40px; padding: 7px 10px; }

/* File pickers. */
.dv-shell input[type=file] { max-width: 100%; padding: 6px; border: 1px dashed var(--outline); border-radius: 12px; background: var(--surface-variant); color: var(--text-secondary); font: 13.5px var(--font-body); cursor: pointer; }
.dv-shell input[type=file]:hover { border-color: var(--primary); background: #f3fbf6; }
.dv-shell input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--outline); border-radius: 9px; background: #fff; color: #344054; font: 600 13px var(--font-body); cursor: pointer; }
.dv-shell input[type=file]::file-selector-button:hover { background: var(--surface-variant); }

/* Colour picker (brand colours in Business DNA). */
.dv-shell input[type=color] { width: 44px; height: 44px; padding: 3px; border: 1px solid var(--outline); border-radius: 12px; background: #fff; cursor: pointer; }
.dv-shell input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.dv-shell input[type=color]::-webkit-color-swatch { border: 0; border-radius: 8px; }

/* Field labels read as one family too. */
.dv-shell :is(.biz-field, .demo-field, .dash-field) { color: #344054; font-size: 13px; font-weight: 600; gap: 7px; }
