:root{--navy: #1f3864;--navy-deep: #172a4c;--navy-mid: #27467a;--gold: #c9a24b;--gold-soft: rgba(201, 162, 75, .18);--gold-strong: #b58d38;--canvas: #f4f6f8;--surface: #ffffff;--ink: #1a2433;--ink-muted: #5c6b80;--line: #e6eaef;--sidebar-w: 248px;--topbar-h: 64px;--radius: 10px;--space: 8px;--font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;--serif: "Source Serif 4", Georgia, "Times New Roman", serif;--shadow-bar: 0 1px 0 rgba(31, 56, 100, .06);--shadow-card: 0 1px 2px rgba(31, 56, 100, .05), 0 8px 24px rgba(31, 56, 100, .05);--focus: 0 0 0 3px rgba(201, 162, 75, .45);color-scheme:light}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}html{-webkit-text-size-adjust:100%}body{margin:0;min-height:100%;font-family:var(--font);font-size:16px;line-height:1.45;color:var(--ink);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}p,h1,h2{margin:0}.skip-link{position:absolute;left:16px;top:-48px;z-index:80;padding:8px 12px;border-radius:8px;background:var(--navy);color:#fff;font-weight:600;text-decoration:none}.skip-link:focus{top:12px;outline:none;box-shadow:var(--focus)}.shell{display:flex;min-height:100%;height:100%}.sidebar{display:flex;flex-direction:column;width:var(--sidebar-w);flex:none;background:var(--navy);color:#f4f6f8;padding:24px 16px 16px;position:sticky;top:0;height:100vh;z-index:30;box-shadow:inset -1px 0 #0000001f}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 8px 20px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.08)}.logo-mark{width:32px;height:32px;flex:none;display:block}.wordmark{font-family:var(--serif);font-size:1.28rem;font-weight:600;letter-spacing:-.02em;line-height:1.1;color:#fff}.brand-kicker{margin-top:2px;font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}.sidebar-nav{display:flex;flex-direction:column;gap:4px;padding:8px 0}.nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:40px;padding:8px 12px 8px 10px;border-radius:8px;color:#f4f6f8c7;font-weight:600;font-size:.95rem;letter-spacing:.01em;text-align:left;position:relative;transition:background .12s ease,color .12s ease}.nav-item:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:999px;background:transparent}.nav-item:hover{background:#ffffff0f;color:#fff}.nav-item.is-active{background:var(--gold-soft);color:#fff}.nav-item.is-active:before{background:var(--gold)}.nav-item:focus-visible,.menu-toggle:focus-visible,.skip-link:focus-visible,.btn-review:focus-visible,.back-link:focus-visible,.switch:focus-visible,.btn-insight:focus-visible,.btn-signin:focus-visible,.btn-secondary:focus-visible,.modal-close:focus-visible,.topbar-user:focus-visible,.account-menu button:focus-visible,input:focus-visible,select:focus-visible{outline:none;box-shadow:var(--focus)}.nav-icon{display:grid;place-items:center;width:20px;height:20px;flex:none;color:inherit}.nav-icon svg{width:20px;height:20px}.nav-item.is-active .nav-icon{color:var(--gold)}.sidebar-foot{margin-top:auto;padding:16px 12px 8px;border-top:1px solid rgba(255,255,255,.08)}.sidebar-foot-label{font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#f4f6f87a}.sidebar-foot-firm{margin-top:6px;font-size:.82rem;font-weight:600;color:#f4f6f8e0}.frame{flex:1;min-width:0;display:flex;flex-direction:column;min-height:100vh;background:var(--canvas)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;height:var(--topbar-h);padding:0 32px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:var(--shadow-bar);position:sticky;top:0;z-index:20}.topbar:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--gold)}.topbar-left{display:flex;align-items:center;gap:12px;min-width:0}.topbar-wordmark{font-family:var(--serif);font-size:1.2rem;font-weight:600;letter-spacing:-.02em;color:var(--navy)}.menu-toggle{display:none;width:40px;height:40px;place-items:center;border-radius:8px;color:var(--navy)}.menu-toggle svg{width:22px;height:22px}.menu-toggle:hover{background:var(--canvas)}.topbar-user-wrap{position:relative}.topbar-user{display:flex;align-items:center;gap:12px;min-width:0;border-radius:8px;padding:4px 2px 4px 8px}.topbar-user:hover{background:var(--canvas)}.account-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:160px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-card);padding:6px;z-index:40}.account-menu button{display:block;width:100%;text-align:left;padding:8px 12px;border-radius:8px;font-weight:600;color:var(--navy)}.account-menu button:hover{background:var(--canvas)}.topbar-user-copy{text-align:right;min-width:0}.user-name{font-size:.92rem;font-weight:650;color:var(--navy);line-height:1.2}.user-firm{margin-top:2px;font-size:.75rem;font-weight:500;color:var(--ink-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.avatar{width:36px;height:36px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.04em;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--gold)}.fos-embedded-root{padding:32px 40px 48px;max-width:100%}.fos-embedded-root .page-stack{max-width:1120px}.canvas{flex:1;overflow:auto;padding:32px 40px 48px}.page-title{font-size:1.75rem;font-weight:650;letter-spacing:-.03em;color:var(--navy);line-height:1.15}.page-intro{max-width:42rem}.page-lede{margin:.65rem 0 0;color:var(--ink-muted);font-size:.98rem;line-height:1.6}.share-link-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.85rem;font-size:.88rem;color:var(--ink-muted)}.share-link-row code{padding:.2rem .5rem;background:var(--surface-muted, #f4f5f7);border-radius:6px;font-size:.84rem;color:var(--ink);word-break:break-all}.share-link-row .btn-copy-link{margin-top:0}.cell-gaps{font-size:.9rem;color:var(--ink-muted);line-height:1.4}.gap-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;height:1.35rem;margin-right:.45rem;border-radius:999px;background:#f6efdc;color:#6d5420;font-size:.75rem;font-weight:700;vertical-align:middle}.gap-summary{color:var(--navy);font-weight:550}.gap-none{color:var(--ink-muted)}.insurance-page .section-heading{margin:0}.btn-insight--compact{min-height:36px;padding:6px 14px;font-size:.82rem}.coverage-line-table .onfile-stat{display:block;font-weight:650;color:var(--navy);font-size:.9rem}.onfile-bar{display:block;margin-top:6px;height:4px;width:100%;max-width:120px;border-radius:999px;background:#e4e8ee;position:relative;overflow:hidden}.onfile-bar:after{content:"";position:absolute;left:0;top:0;bottom:0;width:var(--onfile-pct, 0%);border-radius:inherit;background:linear-gradient(90deg,#c9a24b,#1f3864)}.coverage-row--monitor{background:#eef2f773}.coverage-signal{color:var(--ink-muted);font-size:.88rem;line-height:1.45;max-width:22rem}.gap-count--table{margin-right:0}.insurance-actions-section{display:flex;flex-direction:column;gap:16px}.action-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.action-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-card);padding:18px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.action-card-title{margin:0;font-size:1rem;font-weight:650;color:var(--navy);line-height:1.35;letter-spacing:-.01em}.action-card-body{margin:0;flex:1;color:var(--ink-muted);font-size:.88rem;line-height:1.5}.checklist-head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.checklist-progress{margin:0;font-size:.88rem;font-weight:650;color:var(--navy)}.btn-checklist-export{min-height:36px;padding:6px 14px;font-size:.82rem}.action-checklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.action-checklist-item{border:1px solid var(--line);border-radius:10px;background:#fafbfc;transition:background .2s ease,border-color .2s ease}.action-checklist-item.is-done{background:#f4f8f4;border-color:#c5dcc8}.action-checklist-label{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:14px;padding:14px 16px;cursor:pointer}.action-checklist-label input{margin-top:4px;width:16px;height:16px;accent-color:var(--navy)}.action-checklist-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.action-checklist-title{font-weight:650;color:var(--navy);font-size:.92rem;line-height:1.35}.action-checklist-body{color:var(--ink-muted);font-size:.85rem;line-height:1.45}.action-checklist-stamp{margin-top:4px;font-size:.78rem;font-weight:600;color:#1f5a45}.btn-link-quiet{padding:0;color:var(--navy);font-size:.88rem;font-weight:650;text-decoration:underline;text-underline-offset:2px}.btn-link-quiet:hover{color:var(--gold-strong)}.page-stack{display:flex;flex-direction:column;gap:32px;max-width:1120px}.dashboard-home{gap:28px}.client-filter-bar{display:flex;flex-direction:column;gap:.65rem}.client-filter-label{margin:0;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted)}.client-filter-label--kind{margin-top:.35rem}.client-filter-chips{display:flex;flex-wrap:wrap;gap:.45rem}.client-filter-chips--kind{gap:.4rem}.client-filter-chip{display:inline-flex;align-items:center;gap:.45rem;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;color:#4b5563;font-size:.88rem;font-weight:600}.client-filter-chip--kind{min-height:32px;font-size:.8rem;font-weight:550}.client-filter-chip:hover{border-color:#d1d5db;color:#111827;background:#f9fafb}.client-filter-chip.is-active{border-color:#c9a24b8c;background:#fbf7ee;color:var(--navy);box-shadow:inset 0 0 0 1px #c9a24b33}.client-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;height:1.35rem;padding:0 .35rem;border-radius:999px;background:#eef2f7;color:#4b5563;font-size:.72rem;font-weight:700}.client-filter-chip.is-active .client-filter-count{background:#c9a24b38;color:var(--navy)}.product-chip-row{display:flex;flex-wrap:wrap;gap:.3rem}.product-chip{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;background:#eef2f7;color:#334155;font-size:.75rem;font-weight:650}.sync-banner.is-live{border-color:#d5e8dc;background:#f3faf6}.sync-banner.is-demo{border-color:#ead9b0;background:#fbf7ee}.sync-banner-text{margin:0;font-size:.92rem;color:#4b5563;line-height:1.4}.sync-banner.is-live .sync-banner-text{color:#1f5a45}.btn-link-quiet:disabled{opacity:.55;cursor:wait}.dashboard-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem}.dashboard-eyebrow{margin:0 0 .35rem;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-strong)}.dashboard-lede{margin:.65rem 0 0;max-width:34rem;color:var(--ink-muted);font-size:1.05rem;line-height:1.55}.dashboard-date{margin:.35rem 0 0;flex:none;color:var(--ink-muted);font-size:.92rem;white-space:nowrap}.stat-hint{display:none}.dashboard-panel .section-title,.dashboard-panel .panel-title{padding:0}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:20px 24px 14px;border-bottom:1px solid var(--line)}.panel-subtitle{margin:.4rem 0 0;color:var(--ink-muted);font-size:.95rem;line-height:1.5;max-width:36rem}.panel-count{margin:0;flex:none;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}.client-name-link{appearance:none;border:0;background:none;padding:0;font:inherit;font-weight:650;color:var(--navy);cursor:pointer;text-align:left}.client-name-link:hover{color:var(--gold-strong);text-decoration:underline;text-underline-offset:3px}.profile-stub-copy{margin:0;padding:0 24px 12px;color:var(--ink-muted);line-height:1.6}.profile-stub-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;margin:0;padding:0 24px 20px;font-size:.9rem;color:var(--ink-muted)}.page-subtitle{margin:.35rem 0 0;color:var(--muted);font-size:.95rem;line-height:1.55;max-width:40rem}.integrations-note,.integrations-loading{margin:0;color:var(--muted);font-size:.88rem}.integrations-banner{margin:0;padding:.75rem 1rem;border-radius:10px;background:#c9a24b1f;border:1px solid rgba(201,162,75,.28);color:var(--navy);font-size:.9rem}.integrations-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.integration-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px 22px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:.55rem}.integration-card.is-connected{border-color:#c9a24b73}.integration-category{margin:0;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}.integration-name{margin:0;font-size:1.1rem;font-weight:650;color:var(--navy)}.integration-copy,.integration-sync-summary{margin:0;color:var(--muted);font-size:.9rem;line-height:1.55}.integration-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:.35rem 0 0}.integration-meta dt{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.integration-meta dd{margin:.15rem 0 0;font-size:.88rem;color:var(--navy);font-weight:600}.integration-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto;padding-top:.75rem}.integration-actions .btn{font:inherit;font-weight:700;font-size:.88rem;border-radius:8px;padding:.55rem .9rem;cursor:pointer;border:1px solid transparent}.integration-actions .btn-gold{background:var(--gold);color:var(--navy)}.integration-actions .btn-secondary{background:#fff;border-color:var(--line);color:var(--navy)}.integration-actions .btn-ghost{background:transparent;color:var(--muted)}.integration-actions .btn:disabled{opacity:.55;cursor:not-allowed}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:22px 22px 20px;box-shadow:var(--shadow-card);position:relative;overflow:hidden}.stat-card:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:999px;background:var(--gold)}.stat-value{margin:0;font-size:2rem;font-weight:650;letter-spacing:-.03em;color:var(--navy);line-height:1.1;padding-left:8px}.stat-label{margin:.55rem 0 0;font-size:.92rem;font-weight:600;letter-spacing:0;text-transform:none;color:var(--ink-muted);line-height:1.35;padding-left:8px}.data-table--readable th,.data-table--readable td{padding:14px 20px;font-size:.95rem;line-height:1.45}.data-table--readable thead th{font-size:.8rem;letter-spacing:.04em}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-card);padding:0;overflow:hidden}.section-title{font-size:1.05rem;font-weight:650;letter-spacing:-.01em;color:var(--navy);padding:16px 24px 12px}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:720px}.data-table th,.data-table td{text-align:left;padding:14px 24px;vertical-align:middle}.data-table thead th{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted);border-bottom:1px solid var(--line)}.data-table tbody td{font-size:.94rem;color:var(--ink);border-bottom:1px solid var(--line)}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr{transition:background .12s ease}.data-table tbody tr:hover{background:#f7f8fa}.cell-name{font-weight:650;color:var(--navy)}.cell-action{text-align:right;width:1%;white-space:nowrap}.tag{display:inline-flex;align-items:center;min-height:24px;padding:2px 10px;border-radius:999px;font-size:.75rem;font-weight:650;letter-spacing:.01em;white-space:nowrap}.tag-owner{background:#e8eef6;color:var(--navy)}.tag-earner{background:#ece8f4;color:#4a3d6b}.tag-home{background:#e6f1ec;color:#1f5a45}.tag-entity{background:#f6efdc;color:#6d5420}.tag-retire{background:#f3e8e2;color:#6b3f2e}.tag-rental{background:#e4eef3;color:#2c5368}.btn-review{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 14px;border-radius:8px;background:var(--navy);color:#fff;font-size:.82rem;font-weight:650;letter-spacing:.02em;transition:background .12s ease}.btn-review:hover{background:var(--navy-deep)}.btn-review:active{background:#12223d}.back-link{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;margin-bottom:-16px;color:var(--ink-muted);font-size:.88rem;font-weight:600}.back-link svg{width:16px;height:16px}.back-link:hover{color:var(--navy)}.empty-hint{color:var(--ink-muted);font-size:.98rem}.insight-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;background:linear-gradient(180deg,#fbf7ee,#f6f0e2);border:1px solid #ead9b0;border-radius:12px;box-shadow:var(--shadow-card);position:relative;overflow:hidden}.insight-card:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:999px;background:var(--gold)}.insight-copy{padding-left:12px;min-width:0}.insight-kicker{font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-strong)}.insight-text{margin-top:6px;font-size:1.12rem;font-weight:650;color:var(--navy);line-height:1.45;letter-spacing:-.015em;max-width:36rem}.btn-insight{flex:none;min-height:40px;padding:8px 16px;border-radius:8px;background:var(--gold);color:var(--navy);font-weight:700;font-size:.88rem;letter-spacing:.01em}.btn-insight:hover{background:#d4ad55}.insight-actions{display:flex;flex-wrap:wrap;gap:10px;flex:none;justify-content:flex-end}.btn-insight--secondary{background:transparent;color:var(--navy);box-shadow:inset 0 0 0 1.5px #1f386438}.btn-insight--secondary:hover{background:#ffffffa6}.profile-hero{display:flex;align-items:center;gap:16px}.profile-hero-copy{min-width:0}.profile-name{margin:0}.profile-meta{margin-top:6px;color:var(--ink-muted);font-size:.95rem;display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem}.profile-meta-sep{color:#b8c0cc}.btn-copy-link{margin-top:10px;padding:0;font-size:.84rem;font-weight:650;color:var(--navy);text-decoration:underline;text-underline-offset:2px}.btn-copy-link:hover{color:var(--gold-strong)}.client-profile-page.page-stack{gap:28px}.profile-section{padding-top:4px}.consent-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-card);padding:20px 24px 18px;position:relative;overflow:hidden}.consent-card--prominent{border-color:#c9a24b73;box-shadow:var(--shadow-card),0 0 0 1px #c9a24b1f}.consent-card:before{content:"";position:absolute;left:0;top:16px;bottom:16px;width:3px;border-radius:999px;background:var(--gold)}.consent-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-left:10px}.consent-title{font-size:1.05rem;font-weight:650;color:var(--navy);letter-spacing:-.01em}.consent-lede{margin-top:6px;font-size:.88rem;color:var(--ink-muted);line-height:1.45;max-width:42rem}.consent-recorded{margin-top:8px;font-size:.9rem;font-weight:650;color:var(--navy);animation:consent-fade-in .35s ease}@keyframes consent-fade-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.consent-note{margin-top:12px;padding-left:10px;font-size:.82rem;color:var(--ink-muted);line-height:1.45}.switch{display:inline-flex;align-items:center;gap:10px;flex:none;border-radius:999px}.switch-track{width:44px;height:24px;border-radius:999px;background:#c5ccd6;position:relative;transition:background .2s ease}.switch-thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #1f386433;transition:transform .2s ease}.switch.is-on .switch-track{background:var(--navy)}.switch.is-on .switch-thumb{transform:translate(20px)}.switch-text{font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-muted)}.switch.is-on .switch-text{color:var(--navy)}.rec-panel{border-radius:12px;transition:background .35s ease,border-color .35s ease,box-shadow .35s ease,padding .35s ease}.rec-panel.is-locked{background:#eef0f3;border:1px solid #d5dae2;padding:20px 24px 22px;overflow:hidden}.rec-panel.is-unlocked{background:transparent;border:1px solid transparent;padding:4px 0 0}.rec-panel.is-unlocked.is-open{padding-top:0}.rec-panel.is-locked .rec-locked-title,.rec-panel.is-unlocked .rec-title{margin:0 0 14px}.rec-locked-layer{max-height:120px;opacity:1;overflow:hidden;transition:max-height .38s ease,opacity .28s ease,margin .38s ease}.rec-locked-layer.is-collapsed{max-height:0;opacity:0;margin-top:0;pointer-events:none}.rec-unlocked-layer{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .42s ease,opacity .35s ease}.rec-unlocked-layer.is-expanded{grid-template-rows:1fr;opacity:1}.rec-unlocked-inner{overflow:hidden;min-height:0}.rec-locked-message{display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:10px;background:#ffffff8c;border:1px dashed #c5ccd4;color:var(--ink-muted);font-size:.95rem}.rec-locked-title{font-size:1.05rem;font-weight:650;color:#8a93a3;letter-spacing:-.01em}.rec-locked-message p{margin:0;line-height:1.45}.rec-kicker{margin-bottom:12px}.rec-title{margin-bottom:0}.rec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0}.rec-lock{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:8px;background:#e4e8ee;color:#7a8494}.rec-lock svg{width:16px;height:16px}.rec-card{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-card);padding:20px;display:flex;flex-direction:column;gap:10px;opacity:0;transform:translateY(8px);transition:opacity .35s ease,transform .35s ease,box-shadow .2s ease}.rec-panel.is-open .rec-card{opacity:1;transform:translateY(0)}.rec-card h3{margin:0;font-size:1.02rem;font-weight:650;color:var(--navy);letter-spacing:-.015em}.rec-card p{margin:0;color:var(--ink-muted);font-size:.92rem;line-height:1.45;flex:1}.section-heading{font-size:1.05rem;font-weight:650;color:var(--navy);letter-spacing:-.01em}.section-kicker{margin-top:4px;margin-bottom:16px;color:var(--ink-muted);font-size:.86rem}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.info-card,.coverage-row{background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-card);padding:16px 18px;display:flex;align-items:flex-start;gap:12px}.client-profile-page .info-card{background:#fafbfc;border-color:#e4e8ee;box-shadow:none}.profile-avatar{width:56px;height:56px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font-weight:700;letter-spacing:.04em;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--gold)}.info-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;background:#eef2f7;color:var(--navy)}.info-icon svg{width:18px;height:18px}.info-title{font-weight:650;color:var(--navy);font-size:.95rem}.info-detail{margin-top:2px;color:var(--ink-muted);font-size:.85rem}.coverage-list{display:grid;gap:10px}.coverage-row{align-items:center}.coverage-row .info-title{flex:1}.status-tag{display:inline-flex;align-items:center;min-height:24px;padding:2px 10px;border-radius:999px;font-size:.75rem;font-weight:650;white-space:nowrap}.status-onfile{background:#e6f1ec;color:#1f5a45}.status-external{background:#eef2f7;color:#4a5c72}.status-gap{background:#f6efdc;color:#6d5420}.status-new{background:#e8eef6;color:var(--navy);box-shadow:inset 0 0 0 1px #c9a24b73}.status-contacted{background:#e4eef3;color:#2c5368}.status-quoted{background:#f6efdc;color:#6d5420}.status-bound{background:#e6f1ec;color:#1f5a45}.modal-root{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px}.modal-backdrop{position:absolute;inset:0;background:#172a4c75}.modal-dialog{position:relative;width:min(100%,440px);background:var(--surface);border-radius:14px;box-shadow:0 16px 48px #172a4c38;overflow:hidden}.modal-dialog:before{content:"";display:block;height:3px;background:var(--gold)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 0}.modal-title{font-size:1.15rem;font-weight:650;color:var(--navy);letter-spacing:-.02em}.modal-close{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:var(--navy)}.modal-close:hover{background:var(--canvas)}.modal-close svg{width:18px;height:18px}.modal-body{display:flex;flex-direction:column;gap:16px;padding:16px 20px 20px}.modal-meta{display:grid;gap:12px;padding:12px 14px;background:var(--canvas);border-radius:10px}.modal-kicker{display:block;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:2px}.modal-actions{display:flex;justify-content:flex-end;gap:8px}.btn-secondary{min-height:36px;padding:6px 14px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--navy);font-weight:650;font-size:.88rem}.btn-secondary:hover{background:var(--canvas)}.btn-modal-primary{min-height:36px}.field-label{display:grid;gap:6px;font-size:.82rem;font-weight:650;color:var(--navy)}.field-label input,.field-label select{font:inherit;font-weight:500;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px 12px;background:#fff}.toast{position:fixed;right:24px;bottom:24px;z-index:70;background:var(--navy);color:#fff;padding:12px 16px;border-radius:10px;box-shadow:0 8px 28px #172a4c47;font-weight:650;font-size:.92rem;border-left:3px solid var(--gold)}.login-screen{min-height:100vh;display:grid;place-items:center;padding:32px 16px;background:var(--navy)}.login-card{width:min(100%,400px);background:#fff;border-radius:14px;box-shadow:0 18px 50px #08122447;padding:36px 32px 32px;text-align:center;position:relative}.login-card:before{content:"";position:absolute;left:24px;right:24px;top:0;height:3px;border-radius:0 0 3px 3px;background:var(--gold)}.login-card .logo-mark{margin:0 auto 16px}.login-wordmark{font-family:var(--serif);font-size:1.7rem;font-weight:600;color:var(--navy);letter-spacing:-.03em}.login-tagline{margin-top:8px;color:var(--ink-muted);font-size:.98rem}.login-form{display:grid;gap:14px;margin-top:28px;text-align:left}.login-error{margin:0;color:#8a3b2b;font-size:.86rem;font-weight:600}.btn-signin{margin-top:4px;min-height:44px;border-radius:10px;background:var(--gold);color:var(--navy);font-weight:700;font-size:.98rem}.btn-signin:hover{background:#d4ad55}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.nav-backdrop{display:none}@media(max-width:1099px){:root{--sidebar-w: 76px}.sidebar{padding:20px 10px 12px;align-items:stretch}.sidebar-brand{justify-content:center;padding:0 0 16px}.sidebar-brand-copy,.nav-label,.sidebar-foot{display:none}.nav-item{justify-content:center;padding:10px 8px}.nav-item:before{top:10px;bottom:10px}.topbar{padding:0 20px}.canvas{padding:28px 24px 40px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-card{flex-wrap:wrap}.rec-grid,.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:719px){:root{--sidebar-w: 248px}.sidebar{position:fixed;left:0;top:0;transform:translate(-100%);transition:transform .2s ease;box-shadow:8px 0 32px #172a4c47;padding:24px 16px 16px}.sidebar.is-open{transform:translate(0)}.sidebar-brand{justify-content:flex-start;padding:0 8px 20px}.sidebar-brand-copy,.nav-label,.sidebar-foot{display:block}.nav-item{justify-content:flex-start;padding:8px 12px 8px 10px}.menu-toggle{display:grid}.nav-backdrop{display:block;position:fixed;inset:0;z-index:25;background:#172a4c6b;border:0;cursor:pointer}.topbar-user-copy{display:none}.user-firm{max-width:160px}.canvas{padding:24px 16px 40px}.stat-grid{grid-template-columns:1fr}.dashboard-header{flex-direction:column;gap:.5rem}.dashboard-date{white-space:normal}.panel-head{flex-direction:column;gap:.5rem}.action-card-grid{grid-template-columns:1fr}.action-checklist-label{grid-template-columns:auto 1fr}.action-checklist-label .status-tag{grid-column:2;justify-self:start}.insight-card{flex-direction:column;align-items:flex-start;padding:16px 18px}.rec-grid,.info-grid{grid-template-columns:1fr}.consent-row{flex-direction:column}.section-title,.data-table th,.data-table td{padding-left:16px;padding-right:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(prefers-contrast:more){.sidebar{border-right:2px solid #000}.nav-item.is-active{outline:2px solid var(--gold)}.topbar{border-bottom-width:2px}}.unified-shell{--shell-navy: #2a4068;--shell-navy-deep: #243756;--shell-gold: #c9a24b;--shell-gold-soft: rgba(201, 162, 75, .16);--shell-canvas: #f5f6f8;--shell-line: rgba(255, 255, 255, .12);--shell-sidebar: 260px;--shell-topbar: 64px;display:flex;min-height:100%;height:100%;font-family:"Source Sans 3",Segoe UI,system-ui,sans-serif;color:#1a2433;background:var(--shell-canvas)}.unified-shell .shell-sidebar{width:var(--shell-sidebar);flex-shrink:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#334e78,#2a4068);color:#fff;border-right:1px solid rgba(0,0,0,.06)}.unified-shell .shell-brand{display:flex;align-items:center;gap:12px;padding:20px 18px 16px;border-bottom:1px solid var(--shell-line)}.unified-shell .shell-mark{width:36px;height:36px;border-radius:10px;background:var(--shell-gold-soft);border:1px solid rgba(201,162,75,.35);display:grid;place-items:center;color:var(--shell-gold);font-family:"Source Serif 4",Georgia,serif;font-weight:700;font-size:1.1rem}.unified-shell .shell-wordmark{margin:0;font-family:"Source Serif 4",Georgia,serif;font-size:1.2rem;font-weight:600;letter-spacing:.01em}.unified-shell .shell-kicker{margin:2px 0 0;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#ffffff9e}.unified-shell .shell-section-label{margin:18px 18px 8px;font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#ffffff73}.unified-shell .shell-nav{display:flex;flex-direction:column;gap:4px;padding:0 10px}.unified-shell .shell-nav-btn{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:10px;color:#ffffffe0;text-align:left;transition:background .15s ease,color .15s ease}.unified-shell .shell-nav-btn:hover{background:#ffffff1a}.unified-shell .shell-nav-btn.is-active{background:#ffffff24;color:#fff;box-shadow:inset 3px 0 0 var(--shell-gold)}.unified-shell .shell-nav-btn .shell-icon{width:18px;height:18px;flex-shrink:0;opacity:.9}.unified-shell .shell-nav-label{font-size:.94rem;font-weight:600}.unified-shell .shell-nav-sub{margin-top:4px;padding-top:8px;border-top:1px solid var(--shell-line)}.unified-shell .shell-connect{margin:auto 14px 14px;padding:12px 14px;border-radius:10px;background:#ffffff0f;border:1px solid var(--shell-line)}.unified-shell .shell-connect-title{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:.78rem;font-weight:700;color:var(--shell-gold)}.unified-shell .shell-connect-dot{width:7px;height:7px;border-radius:50%;background:#5fd08a;box-shadow:0 0 0 3px #5fd08a33}.unified-shell .shell-connect-copy{margin:0;font-size:.78rem;line-height:1.45;color:#ffffffb8}.unified-shell .shell-frame{flex:1;min-width:0;display:flex;flex-direction:column;min-height:100%}.unified-shell .shell-topbar{height:var(--shell-topbar);flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;background:#fff;border-bottom:1px solid #e6eaef;box-shadow:0 1px #1f38640a}.unified-shell .shell-topbar-left{display:flex;align-items:center;gap:12px;min-width:0}.unified-shell .shell-menu-toggle{display:none;width:40px;height:40px;border-radius:10px;border:1px solid #e6eaef;color:var(--shell-navy)}.unified-shell .shell-breadcrumb{margin:0;font-size:.92rem;font-weight:500;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unified-shell .shell-breadcrumb strong{color:#374151;font-weight:650}.unified-shell .shell-topbar-right{display:flex;align-items:center;gap:12px}.unified-shell .shell-module-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.02em;background:var(--shell-gold-soft);color:var(--shell-navy);border:1px solid rgba(201,162,75,.35)}.unified-shell .shell-user{display:flex;align-items:center;gap:10px;padding:6px 8px 6px 12px;border-radius:999px;border:1px solid #e6eaef;background:#fff}.unified-shell .shell-user-copy{text-align:right}.unified-shell .shell-user-name{margin:0;font-size:.82rem;font-weight:650;color:#374151}.unified-shell .shell-user-firm{margin:0;font-size:.72rem;color:#5c6b80}.unified-shell .shell-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--shell-navy);color:#fff;font-size:.75rem;font-weight:700}.unified-shell .shell-signout{padding:8px 14px;border-radius:8px;font-size:.82rem;font-weight:600;color:#4b5563;border:1px solid #e5e7eb;background:#fff}.unified-shell .shell-signout:hover{background:#f8fafc}.unified-shell .shell-workspace-switch{display:flex;align-items:center;gap:2px;padding:4px;border-radius:12px;background:linear-gradient(180deg,#334e78,#2a4068);border:1px solid rgba(255,255,255,.12)}.unified-shell .shell-workspace-tab{min-height:34px;padding:0 14px;border-radius:9px;font-size:.84rem;font-weight:600;letter-spacing:.01em;color:#fff;white-space:nowrap;transition:background .15s ease,color .15s ease,box-shadow .15s ease}.unified-shell .shell-workspace-tab:hover{color:#fff;background:#ffffff1f}.unified-shell .shell-workspace-tab.is-active{background:#ffffff2e;color:#fff;box-shadow:inset 0 0 0 1px #fff3;border:1px solid rgba(255,255,255,.14)}.unified-shell .shell-main{flex:1;min-height:0;overflow:auto}.unified-shell .shell-main--operations{background:#f7fafc}.unified-shell .shell-backdrop{display:none}@media(max-width:960px){.unified-shell .shell-menu-toggle{display:grid;place-items:center}.unified-shell .shell-workspace-switch{display:none}.unified-shell .shell-sidebar{position:fixed;inset:0 auto 0 0;z-index:40;transform:translate(-100%);transition:transform .2s ease}.unified-shell .shell-sidebar.is-open{transform:translate(0)}.unified-shell .shell-backdrop{display:block;position:fixed;inset:0;z-index:30;border:0;background:#0f243873}}.unified-shell .shell-legal-footer{margin-top:24px;padding:12px 0 4px;font-size:.82rem;color:var(--ink-muted, #5c6b80);border-top:1px solid var(--line, #e6eaef)}.unified-shell .shell-legal-footer a{color:var(--navy, #1f3864)}:root{font-family:Plus Jakarta Sans,Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#1b2433;background:#eef4fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--navy: #16324f;--navy-deep: #0f2438;--teal: #1a7a6c;--teal-deep: #146056;--sky: #2563a8;--sky-deep: #1d4e89;--sky-soft: #e8f1fb;--sky-mid: #7eb6e0;--sky-border: #b9d4ee;--surface: #ffffff;--surface-tint: #f4f8fd;--border: #d4e3f2;--text-dim: #5c6b80;--danger: #b42318}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#eef4fa}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--sky-mid);border-radius:999px}button,input,select{font:inherit}button{appearance:none;border:1px solid transparent;border-radius:8px;padding:.55rem .95rem;background:var(--sky);color:#fff;cursor:pointer;font-weight:600;letter-spacing:.01em;box-shadow:none;transform:none;transition:background .12s ease,border-color .12s ease,color .12s ease}button:hover:not(:disabled){background:var(--sky-deep)}button:active:not(:disabled){background:#163d6e}button.secondary{background:#fff;color:var(--sky);border-color:var(--sky-border)}button.secondary:hover:not(:disabled){background:var(--sky-soft);color:var(--sky-deep)}button:disabled{opacity:.5;cursor:not-allowed}.app-shell{max-width:1180px;margin:1.25rem auto 0;padding:0 1.25rem 2.5rem}.app-shell--embedded{max-width:none;margin:0;padding:24px 28px 40px}.operations-embedded-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:1rem;padding:1rem 1.1rem;background:var(--surface);border:1px solid var(--sky-border);border-radius:10px;border-left:4px solid #c9a24b;box-shadow:0 1px 2px #2563a80f}.operations-embedded-title{margin:0 0 .25rem;font-size:1.15rem;color:var(--navy-deep)}.operations-embedded-copy{margin:0;max-width:38em;color:var(--text-dim);font-size:.88rem;line-height:1.45}.operations-embedded-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.app-header{display:flex;justify-content:space-between;align-items:center;gap:1.25rem;margin-bottom:1rem;padding:.85rem 1.1rem;background:var(--surface);border:1px solid var(--sky-border);border-radius:10px;box-shadow:0 1px 2px #2563a814;border-top:3px solid var(--sky)}.eyebrow{margin:0 0 .3rem;font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:var(--sky)}h1,h2,h3{margin:0}.brand-block{display:flex;flex-direction:column;gap:.4rem;min-width:0}.brand-name{display:flex;align-items:center;gap:.55rem;font-size:1.35rem;font-weight:700;letter-spacing:-.02em;line-height:1;color:var(--navy-deep)}.brand-mark{flex:none;width:1.45rem;height:1.45rem}.brand-mark rect{fill:var(--sky)}.brand-mark path{fill:none;stroke:#eaf6f2;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.brand-tagline{margin:0;font-size:.8rem;font-weight:500;color:var(--text-dim)}.badge{border-radius:999px;background:var(--sky-soft);color:var(--sky-deep);padding:.35rem .7rem;font-size:.75rem;font-weight:600;border:1px solid var(--sky-border)}.workspace-nav{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;margin-bottom:1rem;padding:.3rem;background:var(--surface);border:1px solid var(--border);border-radius:10px}.workspace-tab{background:transparent;color:var(--text-dim);border-color:transparent;padding:.45rem .9rem;font-weight:600;font-size:.88rem}.workspace-tab:hover:not(:disabled){background:var(--surface-tint);color:var(--navy)}.workspace-tab.is-active{background:var(--sky);color:#fff}.workspace-tab.is-active:hover:not(:disabled){background:var(--sky-deep);color:#fff}.workspace-lead{margin-left:auto;padding:.25rem .7rem;font-size:.78rem;font-weight:600;color:var(--sky);background:var(--sky-soft);border-radius:999px;border:1px solid var(--sky-border);max-width:28ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.field-hint{font-size:.78rem;font-weight:400;color:var(--text-dim)}.producer-card{grid-column:1 / -1;font-size:.85rem;background:var(--surface-tint);padding:.7rem .85rem;border-radius:8px;border:1px solid var(--border)}.span-all{grid-column:1 / -1}.header-actions{display:flex;align-items:center;gap:.5rem}.header-actions button,.logout-button{padding:.45rem .75rem;font-size:.82rem}.change-password-panel{max-width:420px;margin:0 auto 1.6rem}.change-password-panel .panel-header-row{margin-top:0;padding-top:0;border-top:none}.login-panel{max-width:42rem;margin:3rem auto 0}.login-panel h1{color:var(--navy-deep);font-size:1.45rem;margin:0 0 .35rem}.login-tagline{margin:0 0 .75rem;color:var(--navy-deep);font-size:1.05rem;font-weight:600}.login-positioning{margin:0 0 1rem;max-width:38em;color:var(--text-dim);font-size:.88rem;line-height:1.55}.login-sub{margin:0 0 1.25rem;color:var(--text-dim);font-size:.9rem}.login-home-link{color:var(--sky);font-weight:600;text-decoration:underline;text-underline-offset:3px}.login-home-link:hover{color:var(--sky-deep)}.login-home-link:focus-visible{outline:2px solid var(--sky);outline-offset:3px;border-radius:4px}.login-form{display:flex;flex-direction:column;gap:1.1rem}.login-mode-toggle{display:block;width:100%;margin-top:1rem;padding:.5rem;background:none;box-shadow:none;color:var(--navy);font-size:.85rem;font-weight:500;text-align:center;text-decoration:underline;text-underline-offset:3px}.login-mode-toggle:hover:not(:disabled){filter:none;transform:none;color:var(--navy-deep)}.message-box.login-error{background:#fef3f2;border-color:#f5c2c0;color:var(--danger)}.btn-danger{background:#fef3f2;border:1px solid #f5c2c0;color:var(--danger)}.btn-danger:hover:not(:disabled){background:#fee4e2;border-color:#f04438}.btn-danger:disabled{opacity:.55;cursor:not-allowed}.btn-danger-inline{font-size:.78rem;padding:.15rem .45rem;margin-left:.35rem;vertical-align:middle}.layout{display:grid;grid-template-columns:1.55fr 1fr;gap:1.15rem;align-items:start}.layout-outreach,.layout-leads{grid-template-columns:1fr}.app-shell>.panel{margin-top:1.75rem}.panel{background:linear-gradient(180deg,var(--surface) 0%,var(--surface-tint) 100%);border:1px solid var(--sky-border);border-radius:18px;box-shadow:0 1px #ffffffe6 inset,0 20px 40px -26px #2563a838,0 6px 16px -12px #2563a824;padding:1.75rem;transition:box-shadow .25s ease}.panel:hover{box-shadow:0 1px #ffffffe6 inset,0 24px 48px -26px #0f3d6857,0 8px 18px -12px #0f3d6833}.panel h2{color:var(--navy-deep);font-size:1.22rem;font-weight:700;letter-spacing:-.01em;padding-bottom:.9rem;margin-bottom:.25rem;border-bottom:1px solid var(--border)}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem;margin-top:1.1rem}label{display:flex;flex-direction:column;gap:.5rem;font-size:.9rem;font-weight:600;color:#2e4157}input,select,textarea{font-size:16px;border:1px solid var(--border);border-radius:11px;background:var(--surface-tint);color:#16223a;padding:.78rem .9rem;box-shadow:0 2px 5px #0f3d680f inset;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}input:hover,select:hover{border-color:#c2d3e8}input:focus,select:focus{outline:none;border-color:var(--sky);background:#fff;box-shadow:0 2px 5px #0f3d680f inset,0 0 0 4px #2f7fd626}.section-divider{margin-top:1.6rem;padding-top:1.2rem;border-top:1px solid var(--border)}.section-divider h3{color:var(--navy-deep);font-size:1.02rem}.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:.9rem}.checkbox-item{display:flex;flex-direction:row;align-items:center;gap:.6rem;padding:.75rem .85rem;border:1px solid var(--border);border-radius:12px;background:var(--surface-tint);box-shadow:0 2px 5px #0f3d680d inset;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.checkbox-item:hover{border-color:#b9cee6;transform:translateY(-1px);box-shadow:0 2px 5px #0f3d680d inset,0 6px 14px -8px #0f3d684d}.checkbox-item input{width:18px;height:18px;accent-color:var(--sky)}.lead-discover-section{padding:1.1rem 1.2rem 1.3rem;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.lead-discover-group-label{margin-top:1.3rem;margin-bottom:.1rem}.lead-discover-search-row{margin-top:1.3rem}.button-row{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.6rem}.message-box{margin-top:1.1rem;padding:.85rem 1rem;border-radius:12px;background:linear-gradient(160deg,#e6faf2,#d9f3e8);border:1px solid #bfe6d3;color:#0e4534;font-weight:600;box-shadow:0 8px 18px -12px #0e453466}.messaging-thread{margin-top:1rem;display:flex;flex-direction:column;gap:.55rem;max-height:280px;overflow-y:auto;padding:.65rem;border-radius:12px;background:var(--sky-soft);border:1px solid var(--sky-border)}.messaging-bubble{max-width:85%;padding:.55rem .75rem;border-radius:12px;font-size:.92rem;line-height:1.35;white-space:pre-wrap}.messaging-bubble.out{align-self:flex-end;background:#d9f3e8;color:#0e4534}.messaging-bubble.in{align-self:flex-start;background:var(--sky-soft);border:1px solid var(--sky-border)}.messaging-bubble-meta{font-size:.75rem;opacity:.75;margin-bottom:.2rem}.lead-summary-preview{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-top:.6rem;padding:.8rem 1rem;border-radius:12px;background:var(--surface-tint);border:1px solid var(--border)}.lead-summary-preview-name{font-weight:700;color:var(--navy-deep);margin-right:auto}.lead-summary-detail{display:flex;flex-direction:column;gap:1.5rem}.lead-summary-header{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}.lead-summary-header h3{margin:0;font-size:1.4rem;color:var(--navy-deep)}.lead-summary-id{font-family:SFMono-Regular,Consolas,monospace;font-size:.78rem;color:var(--text-dim)}.lead-summary-warning{background:#fbe1e1;border:1px solid #f2b8b8;color:#942626;padding:.85rem 1rem;border-radius:12px;font-weight:600}.lead-summary-warning h3{margin:0 0 .3rem;color:inherit}.lead-summary-warning p{margin:.2rem 0 0}.lead-summary-section h4{margin:0 0 .7rem;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-dim);border-bottom:1px solid var(--border);padding-bottom:.5rem}.lead-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 2rem}.lead-summary-field label{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-dim);margin-bottom:.2rem}.lead-summary-field span{font-size:.98rem;font-weight:600;color:var(--navy-deep)}.lead-summary-chips{display:flex;flex-wrap:wrap;gap:.4rem}.info-chip{display:inline-flex;align-items:center;padding:.3rem .7rem;border:1px solid var(--border);border-radius:999px;background:var(--surface-tint);font-size:.78rem;font-weight:600;color:var(--navy-deep)}.consent-ok{color:var(--teal-deep)}.consent-missing{color:var(--danger)}.lead-summary-list{margin:0;padding-left:1.2rem}.lead-summary-list--warnings li{color:#8a5a00}.empty-state{color:var(--text-dim);margin-top:1rem}.panel-header-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-top:1.6rem;padding-top:1.2rem;border-top:1px solid var(--border)}.panel-header-row h2{border-bottom:none;padding-bottom:0;margin-bottom:0;font-size:1.05rem}.panel-header-row button{padding:.55rem .9rem;font-size:.85rem}.panel-header-actions{display:flex;align-items:center;gap:.5rem}.leads-list{list-style:none;margin:.9rem 0 0;padding:0;max-height:420px;overflow-y:auto;display:flex;flex-direction:column;gap:.6rem}.lead-row{padding:.75rem .9rem;border:1px solid var(--border);border-radius:12px;background:var(--surface-tint);box-shadow:0 2px 5px #0f3d680d inset;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.lead-row:hover{border-color:#b9cee6;transform:translateY(-1px);box-shadow:0 2px 5px #0f3d680d inset,0 6px 14px -8px #0f3d684d}.lead-row.active{border-color:var(--sky);box-shadow:0 2px 5px #0f3d680d inset,0 0 0 3px #2f7fd626}.lead-row-name{display:flex;justify-content:space-between;align-items:center;gap:.6rem;font-weight:700;color:var(--navy-deep)}.lead-search-block{margin:.55rem 0 .75rem;padding:.6rem .7rem .7rem;border:1px solid var(--border);border-radius:12px;background:var(--sky-soft)}.lead-search-block h3{font-size:.88rem;color:var(--navy-deep)}.lead-search-block .license-hint{margin:.25rem 0 .4rem;font-size:.75rem}.lead-search-block .field-grid{gap:.45rem;margin-top:.35rem}.lead-search-block label{font-size:.75rem;gap:.22rem}.lead-search-block input,.lead-search-block select{padding:.38rem .5rem;border-radius:8px}.lead-search-block .button-row{gap:.45rem;margin-top:.45rem;align-items:end}.lead-search-block button{padding:.32rem .65rem;font-size:.8rem}.lead-search-block .leads-list{max-height:180px;margin-top:.45rem;gap:.35rem}.lead-search-block .lead-row{padding:.45rem .55rem}.lead-search-block .panel-header-row{margin-top:.55rem;padding-top:.45rem}.lead-search-block .panel-header-row h3{font-size:.82rem}.lead-search-block .lead-row-name input[type=checkbox]{margin-right:.4rem}button.compact{padding:.32rem .65rem;font-size:.8rem;border-radius:6px}.lead-row-meta{margin-top:.3rem;font-size:.82rem;color:var(--text-dim)}.review-card{cursor:default}.review-compare{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:.5rem;font-size:.82rem;color:var(--text-dim)}.review-compare strong{display:block;color:var(--navy-deep);margin-bottom:.2rem}.dnc-flag{color:#c0392b;font-weight:700}.score-badge{font-size:.72rem;font-weight:700;padding:.2rem .55rem;border-radius:999px;white-space:nowrap}.score-badge.score-high{background:#d3f3ea;color:var(--teal-deep)}.score-badge.score-medium{background:#fdf0d5;color:#8a5a00}.score-badge.score-low{background:#fbe1e1;color:#942626}.campaign-info{background:linear-gradient(160deg,#eef6ff,#e1eefb);border:1px solid #cfe2f6;border-radius:12px;padding:.9rem 1rem;margin:.9rem 0;font-size:.9rem;box-shadow:0 2px 6px #0f3d680f inset}.campaign-info p{margin:.4rem 0;line-height:1.4}button.campaign-start{background:linear-gradient(160deg,#16a34a,#0d7c3d 55%,#0a5f2f);box-shadow:0 1px #fff3 inset,0 -2px 6px #00000029 inset,0 10px 20px -8px #0a5f2f80}button.campaign-stop{background:linear-gradient(160deg,#e0304a,#c41e3a 55%,#941226);box-shadow:0 1px #fff3 inset,0 -2px 6px #00000029 inset,0 10px 20px -8px #94122680}button.twilio-call{background:linear-gradient(160deg,#2f8ce6,#06c 55%,#004c99);box-shadow:0 1px #fff3 inset,0 -2px 6px #00000029 inset,0 10px 20px -8px #004c9980}.license-editor{grid-column:1 / -1;margin-top:.75rem;padding:1rem 1.1rem 1.1rem;border:1px solid var(--border);border-radius:14px;background:var(--surface-tint)}.license-editor h4{margin:0 0 .25rem;font-size:1rem;font-weight:700;letter-spacing:-.01em;color:var(--navy-deep)}.license-editor-note{margin:0 0 1rem;font-size:.8rem;color:var(--text-dim)}.license-editor-group{margin-bottom:1.1rem}.license-editor-group-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.6rem;padding-bottom:.4rem;border-bottom:1px solid var(--border)}.license-editor-group-head strong{color:var(--navy-deep);font-size:.92rem}.license-editor-group-head button{padding:.35rem .75rem;font-size:.8rem}.license-row{padding:.85rem;margin-bottom:.7rem;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.license-row .check-grid{margin-top:.6rem}.license-hint{font-size:.75rem;font-weight:400;color:var(--text-dim)}.state-chips{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.6rem}.state-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .3rem .25rem .55rem;border:1px solid var(--border);border-radius:999px;background:var(--surface-tint);font-size:.78rem;font-weight:600;color:var(--navy-deep)}.state-chip button{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;border-radius:999px;background:#0f3d6817;box-shadow:none;color:var(--text-dim);font-size:.9rem;line-height:1;cursor:pointer}.state-chip button:hover{background:#0f3d682e;color:var(--navy-deep);transform:none}button.license-remove{margin-top:.6rem;padding:.3rem .7rem;font-size:.78rem}@media(max-width:900px){.layout{grid-template-columns:1fr;gap:1.25rem}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{margin:1.75rem auto;padding:0 1.25rem 2.5rem}.app-shell>.panel{margin-top:1.25rem}.app-header{flex-direction:column;align-items:flex-start;gap:1.1rem}.brand-name{font-size:1.9rem}.header-actions{flex-wrap:wrap}button,input,select,textarea,.checkbox-item{min-height:48px}.checkbox-item input{width:22px;height:22px;min-height:0}.logout-button,.header-actions button,.license-editor-group-head button,button.license-remove{min-height:44px}.state-chip button{width:30px;height:30px;min-height:0;font-size:1.05rem}}@media(max-width:620px){.app-shell{margin:.75rem auto 0;padding-top:0;padding-right:max(.85rem,env(safe-area-inset-right,0px));padding-bottom:calc(2rem + env(safe-area-inset-bottom,0px));padding-left:max(.85rem,env(safe-area-inset-left,0px))}.field-grid,.check-grid{grid-template-columns:1fr;gap:.85rem}.panel{padding:1.15rem;border-radius:14px}.panel h2{font-size:1.08rem}.app-header{margin-bottom:1rem;padding:1rem 1.1rem;border-radius:16px;gap:.9rem}.brand-name{font-size:1.55rem;gap:.5rem}.brand-mark{width:1.5rem;height:1.5rem}.brand-tagline{font-size:.85rem}.header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;width:100%}.header-actions button{width:100%;padding:.7rem .6rem;font-size:.85rem}.badge{grid-column:1 / -1;text-align:center}.button-row{gap:.6rem;margin-top:1.2rem}.button-row button{flex:1 1 100%}.login-panel{margin-top:1.5rem}.license-editor{padding:.85rem}.license-row{padding:.7rem}.license-editor-group-head{flex-wrap:wrap;gap:.5rem}.leads-list{max-height:none}.lead-summary-grid{grid-template-columns:1fr}}@media(max-width:400px){.app-shell{padding-right:max(.65rem,env(safe-area-inset-right,0px));padding-left:max(.65rem,env(safe-area-inset-left,0px))}.panel{padding:.95rem}.brand-name{font-size:1.4rem}.header-actions button{padding:.65rem .4rem;font-size:.78rem}}@media(pointer:coarse){button,input,select,textarea,.checkbox-item{min-height:48px}.checkbox-item input{width:22px;height:22px;min-height:0}.logout-button,.header-actions button,.license-editor-group-head button,button.license-remove{min-height:44px}.state-chip{min-height:40px}.state-chip button{width:30px;height:30px;min-height:0;font-size:1.05rem}button:hover:not(:disabled),.checkbox-item:hover,.panel:hover,.lead-row:hover{transform:none}}@media(max-height:480px)and (orientation:landscape){.app-shell{margin-top:.5rem}.app-header{margin-bottom:.75rem;padding:.7rem 1rem}.brand-tagline{display:none}.login-panel{margin-top:.75rem}}button:focus-visible,[role=menuitem]:focus-visible{outline:3px solid var(--sky);outline-offset:2px}.btn-icon{width:1.05em;height:1.05em;margin-right:.45rem;vertical-align:-.17em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.modal-backdrop{position:fixed;inset:0;z-index:100;display:flex;align-items:flex-start;justify-content:center;padding:3rem 1.5rem;overflow:hidden;background:#0a1c3080;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.modal-dialog{width:100%;max-width:860px;max-height:100%;display:flex;flex-direction:column;animation:modal-in .18s ease-out}@media(prefers-reduced-motion:reduce){.modal-dialog{animation:none}}@keyframes modal-in{0%{opacity:0;transform:translateY(-8px) scale(.99)}to{opacity:1;transform:none}}.modal-dialog:hover{box-shadow:0 1px #ffffffe6 inset,0 20px 40px -26px #0f3d684d,0 6px 16px -12px #0f3d682e}.modal-dialog--fullscreen{max-width:none;width:100%;height:100%}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.modal-head h2{flex:1;color:var(--navy-deep);font-size:1.22rem;font-weight:700;letter-spacing:-.01em;padding-bottom:.9rem;border-bottom:1px solid var(--border)}.modal-close{flex:none;width:2.35rem;height:2.35rem;padding:0;font-size:1.35rem;line-height:1;border-radius:11px}.modal-subtitle{margin-top:.9rem;margin-bottom:0}.modal-body{overflow-y:auto;min-height:0;padding:.25rem .3rem .3rem;margin:.9rem -.3rem -.3rem}.modal-body>.panel-header-row:first-child{margin-top:.6rem;padding-top:0;border-top:none}.header-overflow{position:relative}.header-overflow-menu{position:absolute;top:calc(100% + .45rem);right:0;z-index:60;display:flex;flex-direction:column;gap:.5rem;min-width:15rem;padding:.6rem;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 22px 44px -20px #0f3d6873}.header-overflow-menu button{width:100%;text-align:left}.tooltip-wrap{position:relative;display:inline-flex}.tooltip-wrap[data-tooltip=""]:after{content:none}.tooltip-wrap:after{content:attr(data-tooltip);position:absolute;bottom:calc(100% + .5rem);left:50%;transform:translate(-50%);z-index:70;width:max-content;max-width:19rem;padding:.5rem .7rem;border-radius:10px;background:var(--navy-deep);color:#eaf3ff;font-size:.8rem;font-weight:500;line-height:1.35;opacity:0;pointer-events:none;transition:opacity .12s ease}.tooltip-wrap:hover:after,.tooltip-wrap:focus-within:after{opacity:1}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:620px){.modal-backdrop{padding:.75rem .75rem calc(.75rem + env(safe-area-inset-bottom,0px));align-items:stretch;overflow-y:auto}.modal-dialog{max-height:none;min-height:100%}.header-overflow{grid-column:1 / -1}.header-overflow-menu{left:0;right:0;min-width:0}.tooltip-wrap,.tooltip-wrap button{width:100%}}.modal-body pre{white-space:pre-wrap;overflow-wrap:anywhere;overflow-x:auto}
