/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:      #f1f4f8;
  --s1:      #ffffff;
  --s2:      #f8f9fb;
  --b1:      #e5e7eb;
  --b2:      #d1d5db;
  --b3:      #9ca3af;
  --accent:  #2a6be8;
  --a2:      #1d4ed8;
  --t1:      #111827;
  --t2:      #4b5563;
  --t3:      #9ca3af;
  --green:   #059669;
  --red:     #dc2626;
  --amber:   #d97706;
  --radius:  7px;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg); color: var(--t1);
       min-height: 100vh; font-size: 15px; line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ───────────────────────────────────────────────── */
.nav { background: var(--s1); border-bottom: 1px solid var(--b1);
       padding: 0 28px; height: 54px; display: flex; align-items: center;
       justify-content: space-between; position: sticky; top: 0; z-index: 100;
       box-shadow: var(--shadow); }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-hex   { width: 28px; height: 28px; background: var(--accent); flex-shrink: 0;
             clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
             display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: #fff; }
.nav-title { font-weight: 700; font-size: 15px;
             letter-spacing: .08em; text-transform: uppercase; color: var(--t1); }
.nav-title span { color: var(--accent); }
.nav-links  { display: flex; align-items: center; gap: 16px; }
.nav-link   { color: var(--t2); font-size: 15px; }
.nav-link.active { color: var(--accent); font-weight: 600; }
.nav-link--muted { color: var(--t3); }
.nav-link--muted:hover { color: var(--t2); }
.nav-sep    { color: var(--b2); }
.nav-generating-pill { display: inline-flex; align-items: center; gap: 6px;
                       background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 20px;
                       padding: 3px 10px; font-size: 15px; color: var(--accent);
                       font-weight: 600; text-decoration: none; }
.nav-generating-pill:hover { background: #dbeafe; text-decoration: none; }
.nav-gen-btn { display: inline-flex; align-items: center; gap: 7px; }
.nav-gen-spinner { width: 10px; height: 10px; border: 2px solid #bfdbfe;
                   border-top-color: var(--accent); border-radius: 50%;
                   display: inline-block; animation: spin .7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav-user   { color: var(--t2); font-size: 15px; }

/* ── Flash messages ────────────────────────────────────── */
.flash { padding: 10px 28px; font-size: 15px; border-bottom: 1px solid transparent; }
.flash--success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.flash--error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.flash--info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

/* ── Main ──────────────────────────────────────────────── */
.main { min-height: calc(100vh - 54px); }

/* ── Page layout ───────────────────────────────────────── */
.page         { max-width: 1100px; margin: 0 auto; padding: 32px 28px; }
.page--narrow { max-width: 760px; }
.page-header  { display: flex; align-items: flex-start; justify-content: space-between;
                gap: 16px; margin-bottom: 28px; }
.page-title   { font-weight: 800; font-size: 24px;
                color: var(--t1); display: flex; align-items: center; gap: 10px; }
.page-sub     { font-size: 15px; color: var(--t3); margin-top: 4px; }
.page-breadcrumb { font-size: 15px; color: var(--t3); margin-bottom: 4px; }
.page-breadcrumb a { color: var(--t2); }
.page-breadcrumb a:hover { color: var(--accent); }
.header-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: flex-start; }

/* ── Buttons ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
       border-radius: var(--radius); font-weight: 700;
       font-size: 15px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
       border: none; text-decoration: none; transition: background .15s, box-shadow .15s; }
.btn--primary  { background: var(--accent); color: #fff; box-shadow: 0 1px 3px rgba(42,107,232,.3); }
.btn--primary:hover { background: var(--a2); text-decoration: none; color: #fff; }
.btn--secondary { background: var(--s1); color: var(--t1); border: 1px solid var(--b1);
                  box-shadow: var(--shadow); }
.btn--secondary:hover { background: var(--s2); text-decoration: none; }
.btn--ghost    { background: transparent; color: var(--t2); border: 1px solid var(--b1); }
.btn--ghost:hover { background: var(--s2); color: var(--t1); text-decoration: none; }
.btn--full     { width: 100%; justify-content: center; }
.btn--sm       { padding: 5px 12px; font-size: 15px; }
.btn--danger   { color: var(--red); border-color: #fecaca; }
.btn--danger:hover { background: #fef2f2; text-decoration: none; }

/* ── Badges ────────────────────────────────────────────── */
.badge { display: inline-block; padding: 2px 8px; border-radius: 20px;
         font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge--active      { background: #d1fae5; color: #065f46; }
.badge--concluded   { background: #dbeafe; color: #1e40af; }
.badge--archived    { background: #f3f4f6; color: var(--t3); }
.badge--planned     { background: #f3f4f6; color: var(--t2); }
.badge--in_progress { background: #fef3c7; color: #92400e; }
.badge--completed   { background: #d1fae5; color: #065f46; }
.badge--generating  { background: #fef3c7; color: #92400e; }
.badge--draft       { background: #f3f4f6; color: var(--t2); }
.badge--final       { background: #d1fae5; color: #065f46; }
.badge--report      { background: #dbeafe; color: #1e40af; }
.badge--pending     { background: #f3f4f6; color: var(--t3); }
.badge--active.badge--lg, .badge--final.badge--lg, .badge--completed.badge--lg { font-size: 15px; padding: 4px 10px; }
.badge--lg          { font-size: 15px; padding: 4px 10px; }

/* ── Filter tabs ───────────────────────────────────────── */
.filter-tabs { display: flex; gap: 4px; margin-bottom: 20px; }
.filter-tab  { padding: 5px 14px; border-radius: 20px; font-size: 15px; color: var(--t2);
               border: 1px solid var(--b1); background: var(--s1); text-decoration: none; }
.filter-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.filter-tab:hover  { text-decoration: none; background: var(--s2); }
.filter-tab.active:hover { background: var(--a2); }

/* ── Prospect card grid ────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.prospect-card { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
                 padding: 20px 22px; text-decoration: none; color: var(--t1); display: block;
                 box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.prospect-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); text-decoration: none; }
.prospect-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.prospect-card__logo   { width: 34px; height: 34px; background: #eff6ff; border-radius: 7px;
                         display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--accent); }
.prospect-card__name   { font-weight: 700; font-size: 15px; color: var(--t1); margin-bottom: 3px; }
.prospect-card__domain { font-size: 15px; color: var(--t3); margin-bottom: 10px; }
.prospect-card__meta   { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 15px; color: var(--t3); }

/* ── Empty state ───────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 24px; color: var(--t2); }
.empty-state p { margin-bottom: 16px; }
.empty-text { color: var(--t3); font-size: 15px; padding: 12px 0; }

/* ── Auth ──────────────────────────────────────────────── */
.auth-wrap    { min-height: 100vh; background: var(--bg); display: flex;
                align-items: center; justify-content: center; padding: 24px; }
.auth-card    { background: var(--s1); border: 1px solid var(--b1); border-radius: 10px;
                padding: 40px 36px; width: 100%; max-width: 400px; box-shadow: var(--shadow-md); }
.auth-brand   { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.auth-heading { font-weight: 800; font-size: 24px;
                color: var(--t1); margin-bottom: 24px; }
.auth-footer  { margin-top: 20px; font-size: 15px; color: var(--t2); text-align: center; }

/* ── Forms ─────────────────────────────────────────────── */
.form-card { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
             padding: 28px 32px; box-shadow: var(--shadow); }
.form-section-label { font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
                      color: var(--t3); margin: 0 0 14px; padding-bottom: 6px;
                      border-bottom: 1px solid var(--b1); }
.form-section-label + .field-row,
.form-section-label + .field { margin-top: 0; }
.field       { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.field-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-label { font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
               color: var(--t2); font-weight: 600; }
.field-label--inline { display: inline; margin-left: 6px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.field-input { background: var(--s1); border: 1px solid var(--b1); border-radius: 5px;
               color: var(--t1); font-family: var(--font-body); font-size: 15px;
               padding: 8px 11px; width: 100%; outline: none;
               transition: border-color .15s, box-shadow .15s; }
.field-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(42,107,232,.1); }
.field-input--textarea { resize: vertical; min-height: 72px; }
.field-input--sm { font-size: 15px; padding: 6px 9px; }
.field-hint  { font-size: 15px; color: var(--t3); margin-top: 2px; }
.field-error { font-size: 15px; color: var(--red); margin-top: 2px; }
.field--inline { flex-direction: row; align-items: center; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: 15px;
               color: var(--t2); cursor: pointer; margin-top: 8px; }
.form-actions { margin-top: 24px; display: flex; justify-content: flex-end; gap: 10px; }

/* ── Report generation progress page ──────────────────── */
.gen-wrap  { min-height: calc(100vh - 54px); display: flex; align-items: center;
             justify-content: center; padding: 32px 24px; background: var(--bg); }
.gen-card  { background: var(--s1); border: 1px solid var(--b1); border-radius: 12px;
             padding: 44px 48px; max-width: 560px; width: 100%;
             box-shadow: var(--shadow-md); text-align: center; }

.gen-company      { display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
                    justify-content: center; }
.gen-logo         { width: 44px; height: 44px; background: #eff6ff; border-radius: 10px;
                    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px;
                    color: var(--accent); flex-shrink: 0; }
.gen-company-name { font-weight: 700; font-size: 16px;
                    color: var(--t1); text-align: left; }
.gen-company-domain { font-size: 15px; color: var(--t3); text-align: left; margin-top: 2px; }

.gen-title { font-weight: 800; font-size: 24px;
             color: var(--t1); margin-bottom: 10px; }
.gen-sub   { font-size: 15px; color: var(--t2); line-height: 1.7; margin-bottom: 28px; }

/* Progress bar */
.gen-progress-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.gen-progress-bar  { flex: 1; height: 8px; background: var(--b1); border-radius: 99px;
                     overflow: hidden; }
.gen-progress-fill { height: 100%; width: 0%; border-radius: 99px;
                     background: linear-gradient(90deg, var(--accent), #60a5fa);
                     transition: width 1.2s ease; }
.gen-progress-pct  { font-size: 15px; font-weight: 700; color: var(--accent);
                     min-width: 36px; text-align: right; }
.gen-stage { font-size: 15px; color: var(--t2); margin-bottom: 24px;
             min-height: 18px; font-style: italic; }

/* Steps list */
.gen-steps { display: flex; flex-direction: column; gap: 10px;
             text-align: left; margin-bottom: 28px; }
.gen-step  { display: flex; align-items: center; gap: 12px; }
.gen-step__dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
                 border: 2px solid var(--b2); background: var(--s1);
                 transition: all .3s; position: relative; }
.gen-step__dot.active { border-color: var(--accent); background: #eff6ff;
                        box-shadow: 0 0 0 3px rgba(42,107,232,.15); }
.gen-step__dot.active::after { content: ''; position: absolute; top: 50%; left: 50%;
                                width: 6px; height: 6px; background: var(--accent);
                                border-radius: 50%; transform: translate(-50%,-50%);
                                animation: pulse 1s infinite; }
.gen-step__dot.done { border-color: var(--green); background: #d1fae5; }
.gen-step__dot.done::after { content: '✓'; position: absolute; top: 50%; left: 50%;
                              transform: translate(-50%,-50%); font-size: 15px;
                              color: var(--green); font-weight: 700; }
.gen-step__label { font-size: 15px; color: var(--t2); }
.gen-step__dot.active ~ .gen-step__label { color: var(--t1); font-weight: 500; }
.gen-step__dot.done ~ .gen-step__label   { color: var(--green); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: .5; transform: translate(-50%,-50%) scale(1.4); }
}

.gen-notice { background: #f8f9fb; border: 1px solid var(--b1); border-radius: 6px;
              padding: 12px 16px; font-size: 15px; color: var(--t3); line-height: 1.65; }
.gen-error  { background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px;
              padding: 16px; font-size: 15px; color: #991b1b; line-height: 1.65;
              margin-top: 16px; text-align: center; }

/* ── Prospect lookup bar ───────────────────────────────── */
.lookup-bar    { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 6px; }
.lookup-btn    { flex-shrink: 0; height: 38px; margin-bottom: 20px; }
.lookup-error  { background: #fef2f2; border: 1px solid #fecaca; border-radius: 5px;
                 padding: 10px 14px; font-size: 15px; color: #991b1b; margin-bottom: 14px; }
.lookup-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 18px;
                  font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.lookup-divider::before, .lookup-divider::after { content: ''; flex: 1; height: 1px; background: var(--b1); }

/* ── Detail page ───────────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-card { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
               padding: 22px 24px; box-shadow: var(--shadow); }
.detail-card__title { font-weight: 700; font-size: 15px;
                      text-transform: uppercase; letter-spacing: .06em; color: var(--t3);
                      margin-bottom: 16px; display: flex; justify-content: space-between; }
.detail-card__edit  { font-size: 15px; color: var(--accent);
                      font-weight: 400; text-transform: none; letter-spacing: 0; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.profile-item      { background: var(--s2); border-radius: 5px; padding: 10px 14px; }
.profile-item__label { font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
                       color: var(--t3); margin-bottom: 2px; }
.profile-item__val   { font-size: 15px; color: var(--t1); font-weight: 500; }
.detail-notes { font-size: 15px; color: var(--t2); line-height: 1.65; margin-top: 10px;
                padding-top: 10px; border-top: 1px solid var(--b1); }
.session-list { display: flex; flex-direction: column; gap: 6px; }
.session-row  { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center;
                background: var(--s2); border: 1px solid var(--b1); border-radius: 5px;
                padding: 10px 14px; text-decoration: none; color: var(--t1);
                transition: border-color .15s; }
.session-row:hover { border-color: var(--accent); text-decoration: none; }
.session-row__num  { font-size: 15px; color: var(--t3); text-align: right; }
.session-row__title { font-size: 15px; color: var(--t1); font-weight: 500; }
.session-row__date  { font-size: 15px; color: var(--t3); margin-top: 2px; }

/* ── Report view ───────────────────────────────────────── */
.rpt-exec-panel  { background: #eff6ff; border: 1px solid #bfdbfe;
                   border-left: 4px solid var(--accent);
                   border-radius: var(--radius); padding: 18px 22px; margin-bottom: 16px; }
.rpt-exec-label  { font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
                   color: #3b82f6; margin-bottom: 8px; font-weight: 600; }
.rpt-exec-panel p { font-size: 15px; color: #1e3a5f; line-height: 1.75; }

/* Risk cards */
.rpt-risk-cards      { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.rpt-risk-card       { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
                       padding: 16px 18px; text-align: center; box-shadow: var(--shadow); }
.rpt-risk-card--high   { border-top: 3px solid #dc2626; }
.rpt-risk-card--medium { border-top: 3px solid #d97706; }
.rpt-risk-card--low    { border-top: 3px solid #059669; }
.rpt-risk-label      { font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
                       color: var(--t3); margin-bottom: 5px; }
.rpt-risk-level      { font-weight: 800; font-size: 24px; margin-bottom: 4px; }
.rpt-risk-level--high   { color: #dc2626; }
.rpt-risk-level--medium { color: #d97706; }
.rpt-risk-level--low    { color: #059669; }
.rpt-risk-sub        { font-size: 15px; color: var(--t2); line-height: 1.5; }

/* Profile panel */
.rpt-profile-panel   { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
                       padding: 20px 24px; margin-bottom: 16px; box-shadow: var(--shadow); }
.rpt-narrative       { font-size: 15px; color: var(--t2); line-height: 1.75; margin-bottom: 16px; }

/* Signals panel */
.rpt-signals-panel { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
                     padding: 18px 22px; margin-bottom: 24px; box-shadow: var(--shadow); }
.panel-title     { font-weight: 700; font-size: 15px;
                   text-transform: uppercase; letter-spacing: .06em; color: var(--t2); margin-bottom: 10px; }
.signals-list    { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.signals-list li { font-size: 15px; color: var(--t2); display: flex; gap: 8px; line-height: 1.55; }
.signals-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-size: 15px; margin-top: 1px; }

/* Lens rows */
.lens-group-label { font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
                    color: var(--t3); padding: 10px 0 6px; margin-top: 10px;
                    border-bottom: 1px solid var(--b1); margin-bottom: 6px; }
.lens-row   { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
              margin-bottom: 5px; overflow: hidden; box-shadow: var(--shadow); }
.lens-row.open { border-color: var(--accent); box-shadow: 0 2px 12px rgba(42,107,232,.1); }
.lens-header { display: grid; grid-template-columns: 28px 1fr auto auto auto 20px;
               align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer;
               background: var(--s1); user-select: none; transition: background .12s; }
.lens-header:hover { background: var(--s2); }
.lens-row.open .lens-header { background: #eff6ff; }
.lens-n      { font-size: 15px; color: var(--t3); text-align: right; font-weight: 600; }
.lens-name   { font-size: 15px; font-weight: 600; color: var(--t1); }
.lens-group-tag { font-size: 15px; color: var(--t3); margin-top: 1px; }
.lens-chevron { font-size: 15px; color: var(--t3); transition: transform .2s; }
.lens-row.open .lens-chevron { transform: rotate(180deg); color: var(--accent); }
.lens-body   { padding: 0 14px 18px; background: #fafbfc; border-top: 1px solid var(--b1); }
.lens-body-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 16px; }
.lens-intel-label { font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
                    color: var(--t3); margin-bottom: 5px; margin-top: 2px; font-weight: 600; }
.lens-intel-text  { font-size: 15px; color: var(--t2); line-height: 1.75; }
.completed-tag { font-size: 15px; color: var(--green); font-weight: 600; }
.dq-list { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: 6px; }
.dq-list li { font-size: 15px; color: var(--t2); display: flex; gap: 7px; line-height: 1.55; }
.dq-list li::before { content: '?'; color: var(--accent); flex-shrink: 0; font-weight: 700; font-size: 15px; }

/* Tier + Score badges */
.tier-badge  { font-size: 15px; font-weight: 600; padding: 2px 7px; border-radius: 10px; white-space: nowrap; }
.tier-1 { background: #dbeafe; color: #1e40af; }
.tier-2 { background: #fef3c7; color: #92400e; }
.tier-3 { background: #f3e8ff; color: #6b21a8; }
.tier-4 { background: #d1fae5; color: #065f46; }
.score-pill  { font-size: 15px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
               text-transform: uppercase; letter-spacing: .04em; }
.score-High   { background: #fee2e2; color: #dc2626; }
.score-Medium { background: #fef3c7; color: #d97706; }
.score-Low    { background: #d1fae5; color: #059669; }

/* Dominant lenses */
.dominant-grid       { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 28px; }
.dominant-card       { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
                       padding: 18px 20px; box-shadow: var(--shadow); }
.dominant-card--1    { border-top: 3px solid var(--accent); }
.dominant-card--2    { border-top: 3px solid #d97706; }
.dominant-card--3    { border-top: 3px solid #7c3aed; }
.dominant-rank       { font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
                       color: var(--t3); margin-bottom: 5px; }
.dominant-name       { font-weight: 700; font-size: 15px; color: var(--t1); margin-bottom: 6px; line-height: 1.3; }
.dominant-why        { font-size: 15px; color: var(--t2); line-height: 1.65; }

/* Advisory products */
.advisory-list       { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.advisory-card       { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
                       overflow: hidden; display: flex; box-shadow: var(--shadow); }
.advisory-card__body { padding: 18px 22px; flex: 1; border-left: 5px solid var(--accent); }
.advisory-card--2 .advisory-card__body { border-left-color: #d97706; }
.advisory-card--3 .advisory-card__body { border-left-color: #7c3aed; }
.advisory-card__header { display: flex; align-items: flex-start; justify-content: space-between;
                         gap: 12px; margin-bottom: 8px; }
.advisory-card__name   { font-weight: 700; font-size: 15px; color: var(--t1); }
.advisory-card__reason { font-size: 15px; color: var(--t2); line-height: 1.75; margin-bottom: 9px; }
.advisory-card__pitch  { background: var(--s2); border-left: 3px solid var(--b1); padding: 9px 13px;
                         font-size: 15px; color: var(--t1); font-style: italic;
                         border-radius: 0 4px 4px 0; }
.advisory-card__evidence { margin-top: 9px; font-size: 15px; color: var(--t3); line-height: 1.6; }
.advisory-card__evidence strong { color: var(--t2); font-size: 15px;
                                   text-transform: uppercase; letter-spacing: .05em; }

/* Advisory motion */
.motion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.motion-card { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius);
               padding: 22px 24px; box-shadow: var(--shadow); }
.motion-icon  { font-size: 24px; margin-bottom: 10px; }
.motion-label { font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
                color: var(--t3); margin-bottom: 8px; font-weight: 600; }
.motion-text  { font-size: 15px; font-weight: 600; color: var(--t1); line-height: 1.55; margin-bottom: 8px; }
.motion-sub   { font-size: 15px; color: var(--t2); line-height: 1.7; }

/* AI suggestion box */
.suggestion-box { margin-top: 10px; background: #eff6ff; border: 1px solid #bfdbfe;
                  border-radius: 5px; padding: 12px 14px; font-size: 15px;
                  color: #1e3a5f; line-height: 1.7; }

/* ── Session workspace ─────────────────────────────────── */
.workspace      { display: flex; flex-direction: column; height: calc(100vh - 54px); overflow: hidden; }
.ws-header      { padding: 16px 28px 14px; border-bottom: 1px solid var(--b1);
                  display: flex; justify-content: space-between; align-items: flex-start;
                  background: var(--s1); flex-shrink: 0; box-shadow: var(--shadow); }
.ws-body        { flex: 1; overflow-y: auto; padding: 20px 28px; background: var(--bg); }
.ws-group-label { font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
                  color: var(--t3); padding: 14px 0 6px; margin-top: 8px;
                  border-bottom: 1px solid var(--b1); margin-bottom: 8px; }
.ws-lens        { display: grid; grid-template-columns: 1fr 1fr; gap: 0;
                  border: 1px solid var(--b1); border-radius: var(--radius);
                  margin-bottom: 8px; overflow: hidden; box-shadow: var(--shadow); }
.ws-lens__left  { padding: 16px 18px; background: var(--s1); border-right: 1px solid var(--b1); }
.ws-lens__right { padding: 16px 18px; background: var(--s2); }
.ws-lens__num   { font-size: 15px; color: var(--t3); margin-bottom: 4px; font-weight: 600; }
.ws-lens__title { font-size: 15px; font-weight: 600; color: var(--t1); margin-bottom: 8px;
                  display: flex; align-items: center; gap: 8px; }
.ws-lens__score { font-size: 15px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.ws-lens__score.score-High   { color: #dc2626; }
.ws-lens__score.score-Medium { color: #d97706; }
.ws-lens__score.score-Low    { color: #059669; }
.ws-lens__intel { font-size: 15px; color: var(--t2); line-height: 1.7; }
.ws-lens__intel--muted { color: var(--t3); font-style: italic; }
.ws-lens__dq-label { font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
                     color: var(--t3); margin: 10px 0 5px; }
.ws-dq-list     { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.ws-dq-list li  { font-size: 15px; color: var(--t2); display: flex; gap: 6px; line-height: 1.55; }
.ws-dq-list li::before { content: '?'; color: var(--accent); flex-shrink: 0; font-weight: 700; }
.ws-input-label { font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
                  color: var(--t3); margin-bottom: 5px; font-weight: 600; }
.ws-save-status { font-size: 15px; color: var(--green); height: 14px; margin-top: 6px; }

/* Severity pills */
.severity-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.sev-pill       { padding: 4px 10px; border-radius: 20px; font-size: 15px; font-weight: 600;
                  cursor: pointer; border: 1px solid var(--b1); background: var(--s1); color: var(--t2);
                  transition: background .15s, color .15s, border-color .15s; }
.sev-pill:hover { border-color: var(--b3); background: var(--s2); }
.sev-pill.active.sev-High   { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
.sev-pill.active.sev-Medium { background: #fef3c7; color: #d97706; border-color: #fcd34d; }
.sev-pill.active.sev-Low    { background: #d1fae5; color: #059669; border-color: #6ee7b7; }
.sev-pill.active.sev-Not_Applicable { background: #f3f4f6; color: var(--t2); border-color: var(--b2); }

/* ── Share panel ───────────────────────────────────────── */
.share-panel { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--radius);
               padding: 14px 18px; margin-bottom: 20px; }
.share-panel__label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
                      color: #1e40af; font-weight: 700; margin-bottom: 8px; }
.share-panel__hint  { font-weight: 400; color: var(--t3); text-transform: none; letter-spacing: 0; font-size: 13px; }
.share-panel__row   { display: flex; gap: 8px; align-items: center; }
.share-panel__input { flex: 1; background: var(--s1); border: 1px solid var(--b1); border-radius: 5px;
                      padding: 7px 10px; font-family: var(--font-body); font-size: 13px;
                      color: var(--t1); outline: none; }
.share-panel__input:focus { border-color: var(--accent); }

/* ── Shared (public) report header ─────────────────────── */
.shared-header { background: var(--s1); border-bottom: 1px solid var(--b1); padding: 14px 0;
                 box-shadow: var(--shadow); }
.shared-header__inner { max-width: 1100px; margin: 0 auto; padding: 0 28px;
                        display: flex; align-items: center; justify-content: space-between; }
.shared-header__sub   { font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
                        color: var(--t3); font-weight: 600; }
.shared-footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--b1);
                 font-size: 13px; color: var(--t3); text-align: center; }
