:root {
  --navy: #0f3a65;
  --navy-deep: #092a4a;
  --pink: #ff3785;
  --teal: #1796a4;
  --paper: #fbfbfb;
  --canvas: #f1f5f8;
  --ink: #13263a;
  --muted: #64778a;
  --line: #dce6ed;
  --success: #16866f;
  --warning: #b46a19;
  --danger: #b93b57;
  --shadow: 0 18px 48px rgba(15, 58, 101, 0.08);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

[hidden] { display: none !important; }

.v2-orchestra-task .v2-orchestra-reason {
  margin: 8px 0;
  padding: 8px 10px;
  border-left: 3px solid #169e9f;
  border-radius: 0 8px 8px 0;
  background: #f2fbfa;
  color: #143e65;
}

.v2-orchestra-contact-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(23, 150, 164, 0.45);
  text-underline-offset: 3px;
  cursor: pointer;
}
.v2-orchestra-contact-link:hover { color: var(--teal); text-decoration-color: currentColor; }
.v2-orchestra-contact-link:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 3px; }

/* Missions V2 */
.v2-mission-filterbar{grid-template-columns:minmax(280px,1fr) minmax(190px,.28fr) minmax(180px,.24fr) auto}
.v2-master-detail.v2-mission-master-detail{min-height:0;height:calc(100dvh - 292px);grid-auto-rows:minmax(0,1fr)}
.v2-mission-master-detail>.v2-list-card,.v2-mission-master-detail>.v2-detail-card{height:100%;min-height:0;max-height:none;border-radius:18px;overflow:hidden;clip-path:inset(0 round 18px)}
.v2-mission-master-detail>.v2-list-card{display:grid;grid-template-rows:auto minmax(0,1fr)}
.v2-mission-master-detail .v2-list{height:auto;min-height:0;max-height:none;overflow:auto;padding-bottom:18px}
.v2-mission-row{grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center}
.v2-mission-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e8f7f8;color:#1796a4;border:1px solid #bce4e8}
.v2-mission-icon-pipeline{background:linear-gradient(135deg,#e8f7f8 0 52%,#fff0f6 52% 100%);color:#0f3a65;border-color:#a9dce1}
.v2-mission-icon-contact{background:#fff0f6;color:#ff3785;border-color:#ffc5dc}
.v2-mission-icon-school{background:#edf0ff;color:#4e5fd3;border-color:#cbd2ff}
.v2-mission-icon svg{width:21px;height:21px}
.v2-mission-count{text-align:right}.v2-mission-count strong,.v2-mission-count small{display:block}.v2-mission-count small{text-transform:uppercase;font-size:9px;color:#60778e}
.v2-mission-detail{display:flex;flex-direction:column;overflow:hidden}
.v2-mission-detail .v2-campaign-detail-content{flex:1;overflow:auto;min-height:0;padding-bottom:28px;scrollbar-gutter:stable}
.v2-mission-gpt-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px;border:1px solid #a8dfe3;background:#f1fbfc;border-radius:16px}
.v2-mission-gpt-card h3,.v2-mission-objective h3{margin:3px 0 5px;color:#0f3a65}.v2-mission-gpt-card p,.v2-mission-objective p{margin:0;color:#5d748a;max-width:700px}
.v2-mission-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.v2-mission-kpis span{background:#f0f5f8;border-radius:13px;padding:13px}.v2-mission-kpis small,.v2-mission-kpis strong{display:block}.v2-mission-kpis small{text-transform:uppercase;font-size:9px;color:#60778e}.v2-mission-kpis strong{font-size:17px;color:#0f3a65;margin-top:3px}
.v2-mission-objective,.v2-mission-section{padding:16px;border:1px solid #d9e5ed;border-radius:15px;background:#fff;margin-bottom:14px}
.v2-mission-targets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.v2-mission-targets>span{padding:8px 11px;border-radius:999px;background:#edf5f8;color:#0f3a65;font-weight:600;font-size:12px}
.v2-safety-note{display:flex;gap:12px;padding:12px;border-radius:12px;background:#e8f7f2;color:#0b725f}.v2-safety-note strong{white-space:nowrap}
.v2-mission-results{min-height:0}.v2-mission-result-list{display:grid;gap:10px}
.v2-mission-result{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px 14px;align-items:center;padding:13px;border:1px solid #d9e5ed;border-radius:14px;background:#fff}
.v2-result-score{width:56px;height:56px;border-radius:14px;background:#e7f6f1;color:#108675;display:grid;place-content:center;text-align:center}.v2-result-score strong{font-size:19px}.v2-result-score small{font-size:8px;text-transform:uppercase}
.v2-result-main>div strong,.v2-result-main>div small{display:block}.v2-result-main>div strong{color:#0f3a65;font-size:14px}.v2-result-main>div small{color:#60778e;margin-top:2px}.v2-result-main p{margin:7px 0;color:#526b82}.v2-result-status{font-size:10px;font-weight:700;color:#1796a4;text-transform:uppercase}.v2-result-freshness{display:block;margin-top:5px;color:#087f75;font-size:10px;font-weight:700}
.v2-result-evidence{margin:10px 0;padding:10px;border:1px solid #dbe6ed;border-radius:12px;background:#f7fafb}.v2-result-evidence-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.v2-result-evidence-head strong{font-size:11px;color:#0f3a65}.v2-result-evidence-head span{font-size:10px;color:#60778e}.v2-evidence-level{margin-left:auto;padding:4px 8px;border-radius:999px;font-weight:700}.v2-evidence-level-proven{background:#dff5ed;color:#0d8069!important}.v2-evidence-level-probable{background:#fff0cf;color:#9b5d0d!important}.v2-evidence-level-exploratory,.v2-evidence-level-unknown{background:#edf2f5;color:#60778e!important}.v2-result-evidence article{display:grid;grid-template-columns:minmax(130px,.32fr) minmax(0,1fr) auto;gap:8px;align-items:start;padding:7px 0;border-top:1px solid #e4edf2}.v2-result-evidence article:first-of-type{border-top:0}.v2-result-evidence article div strong,.v2-result-evidence article div small{display:block}.v2-result-evidence article div strong{font-size:10px}.v2-result-evidence article div small{font-size:9px;color:#6b7e90;margin-top:2px}.v2-result-evidence article p{margin:0;font-size:10px;line-height:1.45}.v2-result-evidence article a,.v2-result-evidence article>span{font-size:10px;font-weight:700;color:#0f3a65;white-space:nowrap}.v2-evidence-solide{border-color:#bde4d9;background:#f0faf7}.v2-evidence-partial{border-color:#f0d7a3;background:#fffaf0}.v2-evidence-weak{border-color:#f1bdca;background:#fff4f7}.v2-mission-result.is-pending{opacity:.72;pointer-events:none}
.v2-result-actions{grid-column:2;display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap}.v2-result-actions .v2-btn{padding:9px 11px;font-size:11px}
.v2-pipeline-company-list{display:grid;gap:14px}.v2-pipeline-company{overflow:hidden;border:1px solid #cfe0e9;border-radius:16px;background:#f8fbfc}.v2-pipeline-company>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid #dce8ee;background:#eef7f8}.v2-pipeline-company>header h3{margin:2px 0 3px;color:var(--navy);font-size:18px}.v2-pipeline-company>header p{margin:0;color:var(--muted);font-size:11px}.v2-pipeline-company>.v2-mission-result{margin:12px;border-color:#c9dce6}.v2-pipeline-contacts{margin:0 12px 12px;padding:12px;border:1px solid #dce7ed;border-radius:14px;background:#fff}.v2-pipeline-contacts-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;color:var(--navy);font-size:11px}.v2-pipeline-contacts .v2-mission-result{margin-top:8px;background:#fbfdfe}.v2-mission-result.is-compact{grid-template-columns:50px minmax(0,1fr) auto;padding:10px}.v2-mission-result.is-compact .v2-result-score{width:46px;height:46px}.v2-mission-result.is-compact .v2-result-main>p{margin:4px 0;font-size:10px}.v2-mission-result.is-compact .v2-result-actions{grid-column:3;align-self:center}.v2-source-missing{padding:8px 10px;border-radius:9px;background:#fff0cf;color:#915c0e;font-size:10px;font-weight:700}.v2-empty-inline{padding:16px;border:1px dashed #cbdbe4;border-radius:11px;color:var(--muted);font-size:11px;text-align:center}
.v2-result-rejete,.v2-result-exclu{opacity:.68}.v2-mission-empty{display:flex;flex-direction:column;align-items:center;gap:10px}.v2-mission-empty span{color:#60778e}
.v2-history-list{display:grid;gap:8px}.v2-history-list>div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:12px;background:#f3f7f9;border-radius:11px}
.v2-mission-create-dialog{width:min(820px,calc(100vw - 32px))}
.v2-editable-title{display:flex;align-items:center;gap:9px;min-width:0}.v2-editable-title h2{min-width:0}.v2-editable-title button{flex:0 0 auto;border:1px solid #c9dce5;border-radius:999px;padding:5px 9px;color:var(--navy);background:#f1f6f8;font:inherit;font-size:9px;font-weight:800}.v2-editable-title button:hover{border-color:var(--teal);color:var(--teal);background:#eaf8f9}
@media(max-width:1024px){.v2-mission-filterbar{grid-template-columns:1fr 1fr}.v2-master-detail.v2-mission-master-detail{height:auto;max-height:none;min-height:0}.v2-mission-master-detail>.v2-list-card,.v2-mission-master-detail>.v2-detail-card{height:auto;max-height:none}.v2-mission-kpis{grid-template-columns:repeat(2,1fr)}.v2-mission-result{grid-template-columns:56px 1fr}.v2-result-actions{grid-column:2;justify-content:flex-start}.v2-mission-result.is-compact{grid-template-columns:50px 1fr}.v2-mission-result.is-compact .v2-result-actions{grid-column:2}.v2-pipeline-company>header{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){.v2-mission-filterbar{grid-template-columns:1fr}.v2-mission-gpt-card{align-items:stretch;flex-direction:column}.v2-mission-kpis{grid-template-columns:1fr 1fr}.v2-mission-result,.v2-mission-result.is-compact{grid-template-columns:1fr}.v2-result-score{width:auto;height:auto;padding:8px;display:flex;gap:6px;align-items:baseline}.v2-result-actions,.v2-mission-result.is-compact .v2-result-actions{grid-column:auto}.v2-safety-note{flex-direction:column}.v2-result-evidence article{grid-template-columns:1fr}.v2-result-evidence article a{white-space:normal}.v2-pipeline-company>.v2-mission-result,.v2-pipeline-contacts{margin:8px}.v2-pipeline-contacts{padding:8px}}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; }
body { margin: 0; min-width: 320px; min-height: 100vh; min-height: 100dvh; max-width: 100%; overflow-x: clip; background: var(--canvas); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }

.v2-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 232px minmax(0, 1fr); transition: grid-template-columns .2s ease; }
.v2-sidebar { position: sticky; z-index: 30; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; overflow: visible; padding: 22px 16px; background: linear-gradient(180deg, var(--navy-deep), var(--navy)); color: white; font-family: Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.v2-brand { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px 5px 26px; }
.v2-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 13px; background: white; }
.v2-brand-copy { min-width: 0; display: grid; flex: 1; gap: 1px; }
.v2-brand strong { letter-spacing: .14em; font-size: 15px; }
.v2-brand span { color: #a8d9df; font-size: 12px; }
.v2-sidebar-toggle { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; border: 0; border-radius: 9px; color: #b9d9e9; background: rgba(255,255,255,.08); }
.v2-sidebar-toggle:hover { color: white; background: rgba(255,255,255,.15); }
.v2-sidebar-toggle svg { width: 16px; fill: currentColor; transition: transform .2s ease; }
.v2-sidebar nav { display: flex; flex: 1; flex-direction: column; gap: 7px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.v2-nav-section { margin-top: 12px; }
.v2-nav-section > summary { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 8px 13px; color: #b9d9e9; cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; letter-spacing: .7px; }
.v2-nav-section > summary::-webkit-details-marker { display: none; }
.v2-nav-section > summary::after { content: '›'; font-size: 20px; }
.v2-nav-section[open] > summary::after { transform: rotate(90deg); }
.v2-nav-section-items { display: grid; gap: 4px; }
.v2-nav-section.v2-sidebar-bottom { display: block; margin-top: auto; padding-top: 18px; }
.v2-nav-section.v2-sidebar-bottom > summary { border-top: 1px solid rgba(255,255,255,.15); letter-spacing: 0; font-size: 13px; }
.v2-sidebar [hidden] { display: none !important; }
.sidebar-collapsed .v2-nav-section > summary { font-size: 0; justify-content: center; padding-inline: 0; }
.v2-sidebar-bottom { margin-top: auto; display: grid; gap: 10px; }
.v2-nav { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 13px; padding: 0 13px; color: #dcebf6; background: transparent; text-align: left; text-decoration: none; transition: .18s ease; }
.v2-nav:hover { background: rgba(255,255,255,.09); color: white; }
.v2-nav.active { background: white; color: var(--navy); box-shadow: 0 12px 30px rgba(2, 19, 34, .24); }
.v2-nav svg { width: 20px; height: 20px; flex: 0 0 auto; fill: currentColor; }
.v2-nav-letter { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 6px; font-size: 11px; font-weight: 850; }
.v2-legacy-link { border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.1); color: white; border-radius: 13px; padding: 11px 13px; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 2px 9px; text-align: left; }
.v2-legacy-link svg { width: 18px; grid-row: 1 / span 2; align-self: center; fill: currentColor; }
.v2-legacy-link small { color: #a8c8dc; }
.v2-shell.sidebar-collapsed { grid-template-columns: 82px minmax(0, 1fr); }
.v2-shell.sidebar-collapsed .v2-sidebar { padding-inline: 12px; }
.v2-shell.sidebar-collapsed .v2-brand { justify-content: center; padding-inline: 0; }
.v2-shell.sidebar-collapsed .v2-brand-copy,
.v2-shell.sidebar-collapsed .v2-nav span,
.v2-shell.sidebar-collapsed .v2-legacy-link span,
.v2-shell.sidebar-collapsed .v2-legacy-link small { display: none; }
.v2-shell.sidebar-collapsed .v2-brand img { width: 38px; height: 38px; }
.v2-shell.sidebar-collapsed .v2-sidebar-toggle { position: absolute; z-index: 2; top: 70px; left: 50%; width: 28px; height: 28px; transform: translateX(-50%); }
.v2-shell.sidebar-collapsed .v2-sidebar-toggle svg { transform: rotate(180deg); }
.v2-shell.sidebar-collapsed .v2-sidebar nav { margin-top: 34px; }
.v2-shell.sidebar-collapsed .v2-nav { justify-content: center; padding-inline: 0; }
.v2-shell.sidebar-collapsed .v2-legacy-link { display: grid; grid-template-columns: 1fr; place-items: center; min-height: 46px; padding: 0; }
.v2-shell.sidebar-collapsed .v2-legacy-link svg { grid-row: auto; }

@media (hover: hover) and (pointer: fine) {
  .v2-shell.sidebar-collapsed .v2-nav { position: relative; }
  .v2-shell.sidebar-collapsed .v2-nav::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: calc(100% + 12px);
    padding: 7px 10px;
    border-radius: 8px;
    color: white;
    background: #092a4a;
    box-shadow: 0 10px 28px rgba(9,42,74,.25);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translate(-4px, -50%);
    transition: opacity .15s ease, transform .15s ease;
    white-space: nowrap;
  }
  .v2-shell.sidebar-collapsed .v2-nav:hover::after,
  .v2-shell.sidebar-collapsed .v2-nav:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
}

.v2-main { min-width: 0; padding: 30px clamp(20px, 3vw, 48px) 48px; }
.v2-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; margin-bottom: 24px; }
.v2-header-copy { min-width: 250px; }
.v2-header h1, .v2-card h2, .v2-detail-card h2 { margin: 3px 0 4px; color: var(--navy); font-weight: 750; letter-spacing: -.025em; }
.v2-header h1 { font-size: clamp(28px, 3vw, 42px); }
.v2-header p, .v2-card p { margin: 0; color: var(--muted); }
.v2-eyebrow { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.v2-context-summary { display: inline-flex; margin-top: 10px; color: var(--teal); font-size: 12px; font-weight: 700; }
.v2-header-right { min-width: min(650px, 58vw); display: grid; gap: 9px; justify-items: end; }
.v2-global-context { width: 100%; display: grid; grid-template-columns: minmax(155px, .8fr) minmax(235px, 1.35fr) auto auto; gap: 9px; align-items: end; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: rgba(251,251,251,.92); box-shadow: 0 12px 32px rgba(15,58,101,.06); }
.v2-global-context > label:not(.v2-switch-field) { display: grid; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 750; }
.v2-global-context select { width: 100%; min-width: 0; height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; color: var(--navy); background: white; font-size: 12px; font-weight: 650; }
.v2-switch-field { display: grid; grid-template-columns: auto 45px; grid-template-rows: auto 24px; column-gap: 7px; align-items: center; color: var(--muted); font-size: 10px; font-weight: 750; white-space: nowrap; }
.v2-switch-field > span { grid-column: 1 / -1; }
.v2-switch-field input { position: absolute; opacity: 0; pointer-events: none; }
.v2-switch-field i { position: relative; grid-column: 2; width: 45px; height: 24px; border-radius: 99px; background: #cbd8e1; transition: .18s ease; }
.v2-switch-field i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: white; box-shadow: 0 2px 6px rgba(15,58,101,.2); transition: .18s ease; }
.v2-switch-field input:checked + i { background: var(--teal); }
.v2-switch-field input:checked + i::after { transform: translateX(21px); }
.v2-switch-field input:focus-visible + i { outline: 3px solid rgba(23,150,164,.2); }
.v2-switch-field input:disabled + i { opacity: .45; cursor: not-allowed; }
.v2-refresh-btn { height: 38px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 10px; padding: 0 12px; color: white; background: var(--navy); font-size: 11px; font-weight: 750; }
.v2-refresh-btn svg { width: 16px; fill: currentColor; }
.v2-refresh-btn.loading svg { animation: v2-spin .8s linear infinite; }
@keyframes v2-spin { to { transform: rotate(360deg); } }
.v2-header-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.v2-status, .v2-pill { display: inline-flex; align-items: center; min-height: 30px; border-radius: 999px; padding: 6px 11px; color: var(--teal); background: #e3f5f6; font-size: 12px; font-weight: 700; }
.v2-pill.neutral { color: var(--muted); background: #edf2f5; }
.v2-pill.safe { color: var(--success); background: #e2f4ef; }

.v2-view { display: none; }
.v2-view.active { display: block; }
.v2-btn { border: 0; border-radius: 11px; padding: 10px 15px; font-weight: 750; transition: .16s ease; }
.v2-btn:hover:not(:disabled) { transform: translateY(-1px); }
.v2-btn:disabled { opacity: .45; cursor: not-allowed; }
.v2-btn-primary { color: white; background: var(--pink); box-shadow: 0 10px 24px rgba(255,55,133,.18); }
.v2-btn-secondary { color: white; background: var(--navy); }
.v2-btn-ghost { color: var(--navy); background: #edf3f7; }
.v2-btn-soft { color: var(--navy); background: #edf3f7; }
.v2-btn-danger { color: white; background: var(--danger); }

.v2-dashboard-intro { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; padding: 21px 23px; border-radius: 18px; color: white; background: linear-gradient(120deg, var(--navy), #155a82); box-shadow: var(--shadow); }
.v2-dashboard-intro h2 { margin: 2px 0 5px; font-size: 24px; }
.v2-dashboard-intro p { margin: 0; color: #d6e9f3; }
.v2-dashboard-intro .v2-eyebrow { color: #7ee0e4; }
.v2-metrics { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 13px; }
.v2-metric, .v2-card, .v2-list-card, .v2-detail-card { border: 1px solid var(--line); background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.v2-metric { min-height: 126px; padding: 18px; display: grid; align-content: space-between; gap: 8px; }
.v2-metric strong { color: var(--navy); font-size: 30px; }
.v2-metric span { color: var(--muted); font-size: 13px; }
.v2-dashboard-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 16px; margin-top: 16px; }
.v2-card { padding: 21px; }
.v2-quality-grid, .v2-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 10px; margin-top: 15px; }
.v2-quality-item, .v2-summary-item { padding: 13px; border-radius: 12px; background: #f0f5f8; }
.v2-quality-item strong, .v2-summary-item strong { display: block; color: var(--navy); font-size: 19px; }
.v2-quality-item span, .v2-summary-item span { color: var(--muted); font-size: 11px; }
.v2-owner-bars { display: grid; gap: 12px; margin-top: 16px; }
.v2-owner-bar { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; font-size: 12px; }
.v2-owner-bar i { height: 8px; border-radius: 99px; background: #dce8ee; overflow: hidden; }
.v2-owner-bar i::before { content: ""; display: block; width: var(--size); height: 100%; background: var(--teal); border-radius: inherit; }

.v2-ops-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 26px; border: 1px solid #bfd5e5; border-radius: 20px; color: white; background: linear-gradient(120deg, var(--navy), #155a82); box-shadow: var(--shadow); }
.v2-ops-hero.critical { border-color: #ffc6cf; background: linear-gradient(120deg, #6d1630, #b1284d); }
.v2-ops-hero.warning { border-color: #f3d39a; background: linear-gradient(120deg, #65420c, #9b6514); }
.v2-ops-hero.warming { background: linear-gradient(120deg, #334b5a, #5c7480); }
.v2-ops-hero h2 { margin: 4px 0 6px; font-size: 28px; }
.v2-ops-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.82); }
.v2-ops-hero .v2-eyebrow { color: #8ee5e0; }
.v2-ops-hero-actions { display: grid; justify-items: end; gap: 10px; white-space: nowrap; }
.v2-ops-hero-actions > span { color: rgba(255,255,255,.76); font-size: 12px; }
.v2-ops-overview, .v2-ops-queue { display: grid; gap: 12px; margin-top: 15px; }
.v2-ops-overview { grid-template-columns: repeat(3, minmax(180px, 1fr)); }
.v2-ops-queue { grid-template-columns: repeat(4, minmax(150px, 1fr)); margin-top: 0; }
.v2-ops-metric { min-height: 118px; display: grid; align-content: space-between; gap: 7px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.v2-ops-metric > span, .v2-ops-metric small { color: var(--muted); font-size: 12px; }
.v2-ops-metric strong { color: var(--navy); font-size: 29px; line-height: 1; }
.v2-ops-metric.success { border-color: #a9ddcf; background: #f4fcf9; }
.v2-ops-metric.danger { border-color: #f2bac4; background: #fff7f8; }
.v2-ops-metric.accent { border-color: #8bd5d8; background: #f1fbfb; }
.v2-ops-section { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.v2-ops-section .v2-section-heading { margin-bottom: 15px; }
.v2-ops-observed { color: var(--muted); font-size: 12px; }
.v2-ops-workflows { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 11px; }
.v2-ops-workflow { position: relative; overflow: hidden; padding: 16px 17px; border: 1px solid var(--line); border-radius: 15px; background: #fbfdfe; }
.v2-ops-workflow::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #9bacb4; }
.v2-ops-workflow.healthy::before { background: #20a476; }
.v2-ops-workflow.empty::before { background: #4898a7; }
.v2-ops-workflow.warning::before { background: #dc981f; }
.v2-ops-workflow.critical::before { background: #d8425c; }
.v2-ops-workflow-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.v2-ops-workflow-head span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v2-ops-workflow-head h3 { margin: 3px 0 0; color: var(--navy); font-size: 16px; }
.v2-ops-workflow-head > strong { padding: 5px 8px; border-radius: 99px; color: #485c67; background: #e8eef1; font-size: 10px; white-space: nowrap; }
.v2-ops-workflow.healthy .v2-ops-workflow-head > strong { color: #147a59; background: #def3eb; }
.v2-ops-workflow.empty .v2-ops-workflow-head > strong { color: #2f7580; background: #e0f2f4; }
.v2-ops-workflow.warning .v2-ops-workflow-head > strong { color: #986310; background: #fff0cc; }
.v2-ops-workflow.critical .v2-ops-workflow-head > strong { color: #a72a43; background: #ffe1e7; }
.v2-ops-workflow-kpis { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; color: var(--muted); font-size: 11px; }
.v2-ops-workflow-kpis b { color: var(--navy); font-size: 14px; }
.v2-ops-workflow-foot { display: grid; gap: 3px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #edf2f4; color: var(--muted); font-size: 10px; }
.v2-ops-workflow-error { color: #b4233c; font-weight: 800; }
.v2-ops-ok { display: flex; align-items: center; gap: 13px; margin-top: 16px; padding: 15px 17px; border: 1px solid #b8e3d7; border-radius: 16px; background: #f2fbf8; }
.v2-ops-ok > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: #20a476; font-weight: 900; }
.v2-ops-ok strong { color: #116a4d; }
.v2-ops-ok p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.v2-ops-alerts { display: grid; gap: 8px; margin-top: 16px; padding: 18px; border: 1px solid #f2c9a8; border-radius: 17px; background: #fffaf5; }
.v2-ops-alerts .v2-section-heading { margin-bottom: 3px; }
.v2-ops-alerts article { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #6c4a18; background: #fff0d8; font-size: 12px; }
.v2-ops-alerts article.critical { color: #8f2338; background: #ffe4e9; }
.v2-ops-timeline { display: grid; }
.v2-ops-timeline article { display: grid; grid-template-columns: 10px minmax(190px, 1.3fr) minmax(170px, .9fr) auto; align-items: center; gap: 12px; padding: 11px 6px; border-top: 1px solid #edf2f4; }
.v2-ops-timeline article:first-child { border-top: 0; }
.v2-ops-timeline i { width: 9px; height: 9px; border-radius: 50%; background: #d8425c; }
.v2-ops-timeline i.healthy { background: #20a476; }
.v2-ops-timeline strong, .v2-ops-timeline span { display: block; }
.v2-ops-timeline strong { color: var(--navy); font-size: 12px; }
.v2-ops-timeline span, .v2-ops-timeline time { color: var(--muted); font-size: 10px; }
.v2-ops-empty { padding: 28px; border-radius: 13px; color: var(--muted); background: #f3f7f9; text-align: center; }
.v2-ops-crm-summary { margin-top: 16px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 14px; background: #f7fafb; color: var(--muted); font-size: 12px; }
.v2-ops-crm-summary summary { color: var(--navy); font-weight: 800; cursor: pointer; }
.v2-ops-crm-summary div { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; }
.v2-linkedin-monitor { border-color: #b8d5ef; background: linear-gradient(180deg, #f8fbff, #fff); }
.v2-linkedin-summary { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; }
.v2-linkedin-summary .v2-ops-metric { min-height: 102px; box-shadow: none; }
.v2-linkedin-radars { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 11px; margin-top: 12px; }
.v2-linkedin-radar { position: relative; overflow: hidden; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.v2-linkedin-radar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #9bacb4; }
.v2-linkedin-radar.healthy::before { background: #20a476; }
.v2-linkedin-radar.warning::before { background: #dc981f; }
.v2-linkedin-radar.critical::before { background: #d8425c; }
.v2-linkedin-radar-kpis { display: grid; grid-template-columns: repeat(5, minmax(60px, 1fr)); gap: 8px; margin-top: 14px; }
.v2-linkedin-radar-kpis span { padding: 9px; border-radius: 10px; color: var(--muted); background: #f3f7f9; font-size: 10px; text-align: center; }
.v2-linkedin-radar-kpis b { display: block; margin-bottom: 3px; color: var(--navy); font-size: 18px; }

.v2-filterbar { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, .8fr)); gap: 10px; padding: 14px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.v2-filterbar-compact { grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(170px, .8fr)); }
.v2-company-filterbar { grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, .75fr)); }
.v2-filterbar-campaigns { grid-template-columns: minmax(320px, 1.7fr) minmax(190px, .7fr) auto; align-items: end; }
.v2-campaign-create-trigger { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
.v2-campaign-create-trigger svg { width: 17px; height: 17px; }
.v2-filterbar label, .v2-field { display: grid; gap: 5px; min-width: 0; color: var(--muted); font-size: 11px; font-weight: 700; }
.v2-filterbar input, .v2-filterbar select, .v2-field input { width: 100%; min-width: 0; min-height: 39px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--ink); background: #fbfdfe; outline: 0; }
.v2-filterbar input:focus, .v2-filterbar select:focus, .v2-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,150,164,.1); }
.v2-master-detail { min-height: 640px; display: grid; grid-template-columns: minmax(330px, .82fr) minmax(480px, 1.45fr); gap: 14px; }
.v2-list-card, .v2-detail-card { min-width: 0; overflow: hidden; }
.v2-list-header { padding: 15px 17px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.v2-list { max-height: calc(100vh - 225px); min-height: 520px; overflow: auto; }
.v2-list-row { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 13px 15px; border: 0; border-bottom: 1px solid #edf2f5; background: transparent; color: var(--ink); text-align: left; }
.v2-list-row:hover { background: #f3f8fa; }
.v2-list-row.active { background: #eaf5f7; box-shadow: inset 3px 0 var(--teal); }
.v2-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: var(--navy); font-size: 12px; font-weight: 800; }
.v2-list-row strong, .v2-list-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-list-row small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.v2-score { min-width: 38px; color: var(--pink); font-size: 12px; font-weight: 800; text-align: right; }
.v2-detail-card { padding: 22px; overflow: auto; max-height: calc(100vh - 190px); }

@media (min-width: 901px) {
  .v2-master-detail[data-viewport-fitted="true"] {
    height: var(--v2-workspace-height) !important;
    min-height: 0 !important;
    max-height: var(--v2-workspace-height) !important;
  }

  .v2-master-detail[data-viewport-fitted="true"] > .v2-list-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .v2-master-detail[data-viewport-fitted="true"] > .v2-list-card > .v2-list {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: auto;
  }

  .v2-master-detail[data-viewport-fitted="true"] > .v2-detail-card {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}
.v2-detail-hero { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.v2-detail-hero h2 { font-size: 26px; }
.v2-detail-hero p { margin: 4px 0; color: var(--muted); }
.v2-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.v2-link { display: inline-flex; align-items: center; min-height: 38px; border-radius: 10px; padding: 8px 12px; color: white; background: var(--navy); text-decoration: none; font-size: 12px; font-weight: 700; }
.v2-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 17px 0; }
.v2-detail-field { min-width: 0; padding: 12px; border-radius: 12px; background: #f2f6f8; }
.v2-detail-field span { display: block; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.v2-detail-field strong { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.v2-insight { margin: 12px 0; padding: 14px 16px; border-left: 3px solid var(--pink); border-radius: 0 12px 12px 0; background: #fff1f7; }
.v2-insight strong { color: var(--navy); }
.v2-insight p { margin: 5px 0 0; color: var(--muted); white-space: pre-wrap; }
.v2-legacy-crm { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.v2-crm-state-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v2-crm-state { padding: 14px; border: 1px solid #dbe8ee; border-radius: 13px; background: #f7fafb; }
.v2-crm-state header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.v2-crm-state header button { border: 0; padding: 0; color: var(--navy); background: transparent; font-weight: 800; text-align: left; }
.v2-crm-state header button:hover { color: var(--pink); }
.v2-status-chip { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 8px; border-radius: 999px; color: var(--navy); background: #e3f2f5; font-size: 10px; font-weight: 800; white-space: nowrap; }
.v2-crm-state dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.v2-crm-state dl div { min-width: 0; }
.v2-crm-state dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.v2-crm-state dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 11px; }
.v2-crm-state > p { margin: 11px 0 0; padding-top: 10px; border-top: 1px solid var(--line); white-space: pre-wrap; font-size: 11px; }
.v2-legacy-notes { margin-top: 11px; padding: 14px 16px; border-radius: 12px; background: #fff7eb; }
.v2-legacy-notes strong { color: var(--navy); }
.v2-legacy-notes p { margin: 7px 0 0; color: var(--muted); white-space: pre-wrap; }
.v2-crm-timeline { margin-top: 18px; }
.v2-crm-timeline h4 { margin: 0 0 10px; color: var(--navy); }
.v2-crm-timeline > article { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 13px; padding: 11px 0; border-bottom: 1px solid #edf2f5; }
.v2-crm-timeline time { color: var(--muted); font-size: 10px; }
.v2-crm-timeline strong { color: var(--navy); font-size: 12px; }
.v2-crm-timeline p { margin: 3px 0; color: var(--ink); white-space: pre-wrap; font-size: 11px; }
.v2-crm-timeline small { color: var(--muted); font-size: 10px; }
.v2-status-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.v2-status-grid > div { padding: 12px; border-radius: 11px; background: #f0f5f8; }
.v2-status-grid strong, .v2-status-grid span { display: block; }
.v2-status-grid strong { color: var(--navy); font-size: 20px; }
.v2-status-grid span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.v2-campaign-statuses { margin-top: 19px; }
.v2-compact-list { display: grid; max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.v2-compact-list > button { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 13px; border: 0; border-bottom: 1px solid #edf2f5; color: var(--ink); background: white; text-align: left; }
.v2-compact-list > button:hover { background: #f3f8fa; }
.v2-compact-list strong, .v2-compact-list small { display: block; }
.v2-compact-list small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.v2-schema-alert { margin-bottom: 14px; }
.v2-conversation { margin-top: 19px; }
.v2-conversation-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.v2-conversation-head h3 { margin: 0; color: var(--navy); }
.v2-messages { display: grid; gap: 9px; }
.v2-message { max-width: 82%; padding: 11px 13px; border-radius: 13px 13px 13px 4px; background: #edf3f7; }
.v2-message.self { margin-left: auto; border-radius: 13px 13px 4px 13px; color: white; background: var(--navy); }
.v2-message header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: 10px; opacity: .7; }
.v2-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.55; }
.v2-empty { min-height: 160px; display: grid; place-items: center; padding: 28px; color: var(--muted); text-align: center; }

.v2-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v2-admin-imports, .v2-admin-integrations, .v2-admin-preview, .v2-admin-access { grid-column: 1 / -1; }
.v2-access-form { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; align-items: end; }
.v2-access-password { grid-column: span 2; }
.v2-access-users { display: grid; gap: 8px; margin-top: 16px; }
.v2-access-user { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) auto auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.v2-access-user small { color: var(--muted); }
.v2-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 13px; }
.v2-section-heading h2 { margin: 2px 0 0; font-size: 20px; }
.v2-help { color: var(--muted); font-size: 12px; line-height: 1.55; }
.v2-import-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 16px 0; }
.v2-file-card { min-width: 0; display: grid; gap: 6px; padding: 15px; border: 1px dashed #b9cbd6; border-radius: 13px; background: #f7fafb; }
.v2-file-card strong { color: var(--navy); }
.v2-file-card span { min-height: 34px; color: var(--muted); font-size: 11px; }
.v2-file-card input { width: 100%; color: var(--muted); font-size: 10px; }
.v2-check { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.v2-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 13px; }
.v2-inline-summary { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: 11px; }
.v2-integration-owner { max-width: 360px; margin-top: 16px; }
.v2-integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.v2-integration-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #f8fbfc; }
.v2-integration-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.v2-integration-heading h3 { margin: 2px 0 0; color: var(--navy); font-size: 18px; }
.v2-integration-card > p { min-height: 40px; margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.v2-preview-section { margin-top: 16px; }
.v2-preview-section h3 { margin: 0 0 9px; color: var(--navy); font-size: 15px; }
.v2-alerts { display: grid; gap: 7px; }
.v2-alert { padding: 10px 12px; border-radius: 10px; color: var(--warning); background: #fff4e7; font-size: 12px; }
.v2-alert.blocker { color: var(--danger); background: #ffedf1; }
.v2-alert.success { color: var(--success); background: #e8f5f1; }
.v2-danger-zone { border-color: #efc7d0; }
.v2-danger-zone > p { margin-bottom: 14px; line-height: 1.55; }
.v2-toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; max-width: min(420px, calc(100vw - 48px)); padding: 13px 16px; border-radius: 12px; color: white; background: var(--navy-deep); box-shadow: 0 18px 45px rgba(0,0,0,.24); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.v2-toast.show { opacity: 1; transform: translateY(0); }

/* Étape 0 : interface minimale de validation de la couche CRM mutable. */
.v2-crm-editor { margin: 18px 0; padding: 18px; border: 1px solid #b9dfe3; border-radius: 14px; background: #f5fbfc; }
.v2-crm-editor-grid { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.5fr) minmax(145px, .8fr) auto; gap: 10px; align-items: end; }
.v2-crm-editor label, .v2-crm-note-row { min-width: 0; }
.v2-crm-editor label > span { display: block; margin-bottom: 5px; color: #315572; font-size: 11px; font-weight: 700; }
.v2-crm-editor select, .v2-crm-editor input, .v2-crm-editor textarea { width: 100%; box-sizing: border-box; border: 1px solid #c9d9e4; border-radius: 9px; background: #fff; color: #0f3a65; font: inherit; padding: 9px 10px; }
.v2-crm-note-row { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 10px; margin-top: 12px; align-items: end; }
.v2-crm-notes, .v2-crm-history { margin-top: 14px; }
.v2-crm-notes p, .v2-crm-history article { margin: 7px 0 0; padding: 9px 10px; border-radius: 8px; background: #fff; }
.v2-crm-notes small, .v2-crm-history small { display: block; margin-top: 3px; color: #60778a; }
.v2-crm-history article { display: grid; grid-template-columns: minmax(90px, .7fr) minmax(170px, 1fr) minmax(180px, 2fr); gap: 8px; font-size: 12px; }
.v2-tabs { display: flex; gap: 8px; }

/* Étape 2 : workspace Contacts. */
.v2-contacts-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.v2-mode-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.v2-mode-tabs button, .v2-detail-tabs button, .v2-conversation-presets button { border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 750; }
.v2-mode-tabs button { min-height: 36px; padding: 0 13px; }
.v2-mode-tabs button:hover, .v2-detail-tabs button:hover, .v2-conversation-presets button:hover { color: var(--navy); background: #edf4f7; }
.v2-mode-tabs button.active { color: white; background: var(--navy); box-shadow: 0 6px 16px rgba(15,58,101,.16); }
.v2-mode-tabs button span, .v2-detail-tabs button span { display: inline-flex; justify-content: center; min-width: 19px; margin-left: 4px; padding: 2px 5px; border-radius: 99px; color: inherit; background: rgba(255,255,255,.18); font-size: 9px; }
.v2-contact-stats { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 10px; }
.v2-contact-stats span { padding: 7px 9px; border-radius: 9px; background: rgba(255,255,255,.7); }
.v2-contact-stats strong { color: var(--navy); }
.v2-conversation-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.v2-conversation-presets[hidden], .v2-contact-filterbar > [hidden] { display: none !important; }
.v2-conversation-presets button { min-height: 31px; padding: 0 11px; border: 1px solid var(--line); background: white; }
.v2-conversation-presets button.active { border-color: var(--teal); color: var(--teal); background: #e9f7f8; }
.v2-contact-filterbar { grid-template-columns: minmax(230px, 1.4fr) repeat(6, minmax(115px, .65fr)); }
#view-contacts .v2-list-card, #view-contacts .v2-detail-card { height: calc(100vh - 190px); max-height: calc(100vh - 190px); }
#view-contacts .v2-detail-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 16px 18px;
  border-radius: 18px;
  clip-path: inset(0 round 18px);
  overflow: hidden;
}
#view-contacts .v2-list-card { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#view-contacts .v2-list { height: auto; min-height: 0; max-height: none; }
.v2-contact-row-badges { display: flex; gap: 4px; margin-top: 5px; }
.v2-contact-row-badges i { padding: 2px 6px; border-radius: 99px; color: var(--muted); background: #edf2f5; font-size: 8px; font-style: normal; font-weight: 750; }
.v2-contact-row-badges i.replied { color: var(--success); background: #e3f4ef; }
.v2-contact-row-badges i.campaign-match { color: #087d89; background: #e2f6f7; }
.v2-contact-campaign-match { max-width: 470px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-contact-campaign-match strong { font-size: 13px; }
.v2-contact-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 0 12px 0 0; border-left: 4px solid #d9e3e9; }
.v2-contact-row-main { min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 11px; align-items: center; border: 0; padding: 12px 4px 12px 15px; color: var(--ink); background: transparent; text-align: left; }
.v2-contact-row-tools { display: grid; grid-template-columns: 34px 126px; align-items: center; gap: 7px; }
.v2-contact-row-tools .v2-score { justify-self: center; text-align: center; }
.v2-row-status { width: 126px; min-height: 27px; border: 1px solid transparent; border-radius: 8px; padding: 3px 24px 3px 7px; font-size: 9px; font-weight: 800; }
.v2-status-unset { border-color: #cbd5df !important; color: #52616f !important; background-color: #eef2f5 !important; }
.v2-status-qualify { border-color: #a5b4fc !important; color: #3730a3 !important; background-color: #e9eaff !important; }
.v2-status-contact { border-color: #67d6dd !important; color: #006b75 !important; background-color: #d8f7f8 !important; }
.v2-status-contacted { border-color: #7eb4e8 !important; color: #0a4d91 !important; background-color: #deedff !important; }
.v2-status-followup { border-color: #ff84b8 !important; color: #a80e50 !important; background-color: #ffe3ef !important; }
.v2-status-discussion { border-color: #c084fc !important; color: #6b21a8 !important; background-color: #f1ddff !important; }
.v2-status-blocked { border-color: #f08b98 !important; color: #a30f28 !important; background-color: #ffe0e4 !important; }
.v2-status-archived { border-color: #9ba5af !important; color: #303942 !important; background-color: #dde2e6 !important; }
.v2-status-backlog { border-color: #94a3b8 !important; color: #334155 !important; background-color: #e2e8f0 !important; }
.v2-status-closed { border-color: #6b7280 !important; color: #1f2937 !important; background-color: #d1d5db !important; }
.v2-status-noneed { border-color: #d58fa9 !important; color: #7c294b !important; background-color: #f7dce7 !important; }
.v2-status-meeting { border-color: #5fc69a !important; color: #08633e !important; background-color: #d9f6e8 !important; }
.v2-status-replied { border-color: #4cc6d5 !important; color: #075f6b !important; background-color: #d8f4f7 !important; }
.v2-status-active { border-color: #57b87e !important; color: #0e5d31 !important; background-color: #dcf5e6 !important; }
.v2-status-draft { border-color: #b7a0dc !important; color: #5c4087 !important; background-color: #eee6f8 !important; }
.v2-status-row-unset { border-left-color: #cbd5df; }
.v2-status-row-qualify { border-left-color: #6366f1; }
.v2-status-row-contact { border-left-color: #0fa3ad; }
.v2-status-row-contacted { border-left-color: #2878c7; }
.v2-status-row-followup { border-left-color: #ff3785; }
.v2-status-row-discussion { border-left-color: #9333ea; }
.v2-status-row-blocked { border-left-color: #d72645; }
.v2-status-row-archived { border-left-color: #68737d; }
.v2-status-row-backlog { border-left-color: #64748b; }
.v2-status-row-closed { border-left-color: #374151; }
.v2-status-row-noneed { border-left-color: #a23e66; }
.v2-status-row-meeting { border-left-color: #14915a; }
.v2-status-row-replied { border-left-color: #0b98aa; }
.v2-status-row-active { border-left-color: #168a48; }
.v2-status-row-draft { border-left-color: #7653a6; }
.v2-contact-detail-header { border-bottom: 1px solid var(--line); }
.v2-contact-detail-header .v2-detail-hero { border: 0; }
.v2-detail-identity { min-width: 220px; }
.v2-contact-header-side { max-width: 66%; display: flex; align-items: flex-start; justify-content: flex-end; gap: 10px; }
.v2-contact-header-metrics { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.v2-contact-header-metrics > span { min-height: 38px; display: grid; align-content: center; gap: 1px; border-radius: 10px; padding: 6px 9px; color: var(--navy); background: #f0f5f8; }
.v2-contact-header-metrics small { color: var(--muted); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.v2-contact-header-metrics strong { font-size: 11px; white-space: nowrap; }
.v2-contact-header-metrics .v2-header-status { min-width: 94px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; font-size: 10px; font-weight: 800; }
.v2-contact-actions { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid #edf2f5; }
.v2-contact-actions label { min-width: 185px; display: grid; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 750; }
.v2-contact-actions select { min-height: 37px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; color: var(--navy); background: white; }
.v2-contact-actions .v2-btn { min-height: 37px; display: inline-flex; align-items: center; }
.v2-contact-actions > .v2-pill { min-height: 37px; }
.v2-contact-actions .v2-action-hint { max-width: 260px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.v2-detail-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px 0 9px; }
.v2-detail-tabs button { min-height: 34px; flex: 0 0 auto; padding: 0 11px; }
.v2-detail-tabs button.active { color: var(--navy); background: #e7f3f5; }
.v2-contact-detail-content { padding-top: 3px; }
.v2-contact-insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v2-contact-insights .v2-insight { margin: 0; }
.v2-crm-workspace, .v2-linkedin-workspace { padding-top: 14px; }
.v2-crm-workspace-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.v2-crm-workspace-head h3 { margin: 2px 0 0; color: var(--navy); }
.v2-crm-workspace label { min-width: 0; }
.v2-crm-workspace label > span { display: block; margin-bottom: 5px; color: #315572; font-size: 10px; font-weight: 750; }
.v2-crm-workspace select, .v2-crm-workspace input, .v2-crm-workspace textarea { width: 100%; box-sizing: border-box; border: 1px solid #c9d9e4; border-radius: 9px; background: #fff; color: var(--navy); font: inherit; padding: 9px 10px; }
.v2-crm-editor-grid-wide { grid-template-columns: minmax(150px, .85fr) minmax(210px, 1.5fr) minmax(140px, .7fr) auto; }
.v2-action-guidance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px; }
.v2-action-guidance > div { padding: 12px 14px; border-left: 3px solid var(--pink); border-radius: 0 11px 11px 0; background: #fff2f7; }
.v2-action-guidance span, .v2-action-guidance strong { display: block; }
.v2-action-guidance span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.v2-action-guidance strong { margin-top: 4px; color: var(--navy); font-size: 12px; }
.v2-action-footnote { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.v2-linkedin-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 18px; }
.v2-linkedin-summary > div { padding: 12px; border-radius: 11px; background: #f0f5f8; }
.v2-linkedin-summary strong, .v2-linkedin-summary span { display: block; }
.v2-linkedin-summary strong { color: var(--navy); font-size: 17px; }
.v2-linkedin-summary span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.v2-linkedin-compose { margin-bottom: 18px; padding: 15px; border: 1px solid #c8e4e7; border-radius: 14px; background: #f3fafb; }
.v2-action-workspace .v2-linkedin-compose { margin-top: 18px; margin-bottom: 0; }
.v2-linkedin-compose-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 10px; }
.v2-linkedin-compose-head h3 { margin: 2px 0 0; color: var(--navy); font-size: 17px; }
.v2-linkedin-compose-head p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.v2-linkedin-compose textarea { width: 100%; min-height: 150px; box-sizing: border-box; resize: vertical; border: 1px solid #bdd5df; border-radius: 11px; padding: 12px; color: var(--ink); background: white; font: inherit; font-size: 12px; line-height: 1.55; }
.v2-linkedin-compose textarea:focus, .v2-conversation-tools input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,150,164,.1); }
.v2-linkedin-compose-actions, .v2-conversation-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.v2-linkedin-compose-actions { margin-top: 9px; }
.v2-linkedin-compose-actions small { margin-left: auto; color: var(--muted); }
.v2-conversation-tools { justify-content: flex-end; }
.v2-conversation-tools input { min-width: 230px; min-height: 36px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; }
.v2-message[hidden] { display: none !important; }
.v2-message-search-empty { padding: 18px; color: var(--muted); text-align: center; }

#view-contacts .v2-contact-detail-header .v2-detail-hero { gap: 12px; padding-bottom: 9px; }
#view-contacts .v2-detail-hero h2 { margin-block: 1px 2px; font-size: 23px; line-height: 1.1; }
#view-contacts .v2-detail-identity p { display: inline; margin: 0; font-size: 11px; line-height: 1.35; }
#view-contacts .v2-detail-identity p + p { margin-left: 7px; padding-left: 8px; border-left: 1px solid var(--line); }
#view-contacts .v2-contact-header-metrics { gap: 5px; }
#view-contacts .v2-contact-header-metrics > span { min-height: 34px; padding: 4px 7px; border-radius: 9px; }
#view-contacts .v2-contact-header-metrics .v2-header-status { min-width: 88px; }
#view-contacts .v2-contact-actions { gap: 7px; padding: 8px 0; }
#view-contacts .v2-contact-actions label { min-width: 185px; gap: 2px; }
#view-contacts .v2-contact-actions select,
#view-contacts .v2-contact-actions .v2-btn,
#view-contacts .v2-contact-actions > .v2-pill { min-height: 34px; }
#view-contacts .v2-detail-tabs { padding: 1px 0 6px; }
#view-contacts .v2-detail-tabs button { min-height: 30px; }
#view-contacts .v2-contact-detail-content { min-height: 0; padding-top: 0; }
#view-contacts .is-crm-actions .v2-contact-detail-content { overflow: hidden; }
#view-contacts .is-crm-actions .v2-action-footnote { display: none; }
#view-contacts .is-crm-history .v2-contact-detail-content { overflow: auto; }
#view-contacts .is-linkedin-conversation .v2-contact-detail-content { overflow: hidden; }
#view-contacts .is-linkedin-conversation .v2-linkedin-workspace {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  box-sizing: border-box;
  padding-top: 8px;
}
#view-contacts .is-linkedin-conversation .v2-conversation-head { flex: 0 0 auto; }
#view-contacts .is-linkedin-conversation .v2-messages {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  align-content: start;
  box-sizing: border-box;
  padding-right: 8px;
  scrollbar-gutter: stable;
}
#view-contacts .v2-crm-workspace { padding-top: 8px; }
#view-contacts .v2-crm-workspace-head { margin-bottom: 8px; }
#view-contacts .v2-crm-workspace-head h3 { font-size: 14px; }
#view-contacts .v2-action-guidance { gap: 8px; margin-bottom: 9px; }
#view-contacts .v2-action-guidance > div { padding: 9px 11px; }
#view-contacts .v2-crm-workspace select,
#view-contacts .v2-crm-workspace input,
#view-contacts .v2-crm-workspace textarea { padding-block: 7px; }
#view-contacts .v2-crm-note-row { gap: 8px; margin-top: 8px; }
#view-contacts .v2-action-workspace .v2-linkedin-compose { margin-top: 10px; padding: 12px; }
#view-contacts .v2-linkedin-compose-head { margin-bottom: 7px; }
#view-contacts .v2-linkedin-compose-head h3 { font-size: 16px; }
#view-contacts .v2-linkedin-compose textarea { min-height: 128px; padding: 10px; }
#view-contacts .v2-linkedin-compose-actions { margin-top: 7px; }
#view-contacts .v2-action-footnote { margin-top: 8px; }

#view-companies .v2-list-card, #view-companies .v2-detail-card { height: calc(100vh - 190px); max-height: calc(100vh - 190px); }
#view-companies .v2-list-card { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#view-companies .v2-list { height: auto; min-height: 0; max-height: none; }
#view-companies .v2-detail-card {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 16px 18px;
  border-radius: 18px;
  clip-path: inset(0 round 18px);
  overflow: hidden;
}
.v2-company-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 0 12px 0 0; border-left: 4px solid #d9e3e9; }
.v2-company-row-main { min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 11px; align-items: center; border: 0; padding: 12px 4px 12px 15px; color: var(--ink); background: transparent; text-align: left; }
.v2-company-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: #e8f7f7; box-shadow: inset 0 0 0 1px rgba(23, 150, 164, .14); }
.v2-company-mark svg { width: 21px; height: 21px; }
.v2-company-row-tools { display: grid; grid-template-columns: 38px 126px; align-items: center; gap: 7px; }
.v2-company-replies { color: var(--teal); text-align: center; }
.v2-company-replies strong, .v2-company-replies small { display: block; }
.v2-company-replies strong { font-size: 12px; }
.v2-company-replies small { margin: 1px 0 0; font-size: 8px; }
.v2-company-detail-header { border-bottom: 1px solid var(--line); }
.v2-company-detail-header .v2-detail-hero { gap: 12px; padding-bottom: 9px; border: 0; }
#view-companies .v2-detail-hero h2 { margin-block: 1px 2px; font-size: 23px; line-height: 1.1; }
#view-companies .v2-detail-identity p { margin: 0; font-size: 11px; }
#view-companies .v2-contact-header-metrics { gap: 5px; }
#view-companies .v2-contact-header-metrics > span { min-height: 34px; padding: 4px 7px; border-radius: 9px; }
#view-companies .v2-contact-header-metrics .v2-header-status { min-width: 88px; }
#view-companies .v2-contact-actions { gap: 7px; padding: 8px 0; }
#view-companies .v2-contact-actions label { gap: 2px; }
#view-companies .v2-contact-actions select, #view-companies .v2-contact-actions > .v2-pill { min-height: 34px; }
#view-companies .v2-detail-tabs { padding: 1px 0 6px; }
#view-companies .v2-detail-tabs button { min-height: 30px; }
.v2-company-detail-content { min-height: 0; overflow: hidden; }
.is-company-history .v2-company-detail-content { overflow: auto; }
.is-company-offers .v2-company-detail-content { overflow: auto; }
.v2-company-offer { margin-top: 12px; padding: 16px; border: 1px solid var(--v2-border, #e2e8f0); border-radius: 14px; background: #fff; overflow-wrap: anywhere; }
.v2-company-offer h4 { margin: 0 0 8px; }
.v2-company-offer p { margin: 4px 0; }
.v2-company-offer h4 a { color: var(--v2-navy, #123c63); text-decoration: none; font-size: 15px; line-height: 1.5; }
.v2-company-offer h4 a:hover { text-decoration: underline; }
.v2-company-offer-dates { display: flex; flex-wrap: wrap; gap: 5px 16px; color: #57718b; font-size: 12px; line-height: 1.6; }
.v2-company-offer-contacts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.v2-company-offer-contacts .v2-btn { padding: 5px 10px; min-height: 30px; font-size: 12px; }
.v2-company-offers-intro { color: #57718b; font-size: 13px; margin: 4px 0 12px; }
.v2-company-management { margin-top: 10px; font-size: 13px; }
.v2-company-management > summary { width: fit-content; margin-left: auto; color: #57718b; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.v2-company-management summary:hover { background: #edf4f7; }
.v2-company-management summary:focus-visible, .v2-company-offer a:focus-visible { outline: 2px solid #00a5b5; outline-offset: 3px; }
.v2-company-duplicate { margin-top: 8px; border: 1px solid var(--v2-border, #e2e8f0); border-radius: 12px; padding: 12px; background: #f7fafc; }
.v2-company-duplicate > summary { cursor: pointer; font-weight: 600; }
.v2-company-duplicate p { color: #57718b; line-height: 1.6; }
.v2-company-duplicate-search { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.v2-company-duplicate-search label { display: grid; flex: 1 1 220px; gap: 6px; }
.v2-company-duplicate input { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cbd8e3; border-radius: 8px; font: inherit; }
.v2-company-duplicate [data-company-duplicate-results] { display: grid; gap: 8px; margin-top: 12px; }
.v2-company-duplicate [data-confirm-company-group] { padding: 10px 12px; border: 1px solid #cbd8e3; border-radius: 8px; background: white; color: #123c63; font: inherit; text-align: left; cursor: pointer; }
#view-companies .v2-crm-workspace { padding-top: 9px; }
#view-companies .v2-crm-workspace-head { margin-bottom: 9px; }
#view-companies .v2-crm-workspace-head h3 { font-size: 14px; }
#view-companies .v2-action-guidance { gap: 8px; margin-bottom: 10px; }
#view-companies .v2-action-guidance > div { padding: 10px 11px; }
#view-companies .v2-crm-workspace select, #view-companies .v2-crm-workspace input, #view-companies .v2-crm-workspace textarea { padding-block: 7px; }
#view-companies .v2-crm-note-row { gap: 8px; margin-top: 8px; }
.v2-company-action-workspace { min-height: 100%; box-sizing: border-box; }
.v2-company-action-editor { min-height: 0; }
.v2-client-conversion { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 12px 0; padding: 14px 16px; border: 1px solid #b9e4dd; border-radius: 12px; background: #effaf7; }
.v2-client-conversion h3, .v2-client-conversion p { margin: 2px 0 0; }
.v2-client-conversion p { color: var(--muted); font-size: 11px; }
.v2-client-conversion .v2-btn { flex: 0 0 auto; }
.v2-client-workspace { margin: 12px 0; padding: 14px; border: 1px solid #b9e4dd; border-radius: 12px; background: linear-gradient(145deg, #f7fffc, #edf8f5); }
.v2-client-workspace .v2-crm-editor-grid-wide { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
.v2-client-need { display: block; margin-top: 10px; }
.v2-client-need > span { display: block; margin-bottom: 5px; color: #315572; font-size: 10px; font-weight: 750; }
.v2-client-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.v2-company-relations { min-height: 0; padding-top: 10px; }
.v2-company-contact-list { max-height: 300px; min-height: 0; overflow: auto; border: 1px solid #edf2f5; border-radius: 12px; }
.v2-client-hub-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.v2-client-tabs { min-width: 0; display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #eaf2f5; overflow-x: auto; }
.v2-client-tabs button { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; border: 0; border-radius: 10px; padding: 0 15px; color: #516b80; background: transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.v2-client-tabs button:hover { color: var(--navy); background: rgba(255,255,255,.75); }
.v2-client-tabs button.active { color: white; background: var(--navy); box-shadow: 0 5px 14px rgba(15,58,101,.2); }
.v2-client-tabs button span { min-width: 23px; padding: 3px 7px; border-radius: 999px; color: inherit; background: rgba(255,255,255,.17); text-align: center; font-size: 9px; }
.v2-client-hub-summary { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.v2-client-hub-summary span { padding: 9px 11px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.v2-client-hub-summary strong { color: var(--navy); font-size: 15px; }
.v2-client-hub-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; padding: 18px 20px; border: 1px solid #badfdc; border-radius: 17px; background: linear-gradient(135deg,#f0fbf8,#f8fbfc); }
.v2-client-hub-intro h2 { margin: 3px 0; color: var(--navy); font-size: 22px; }
.v2-client-hub-intro p { margin: 0; color: var(--muted); font-size: 11px; }
.v2-client-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(290px,1fr)); gap: 12px; }
.v2-client-card { min-width: 0; display: flex; flex-direction: column; gap: 9px; padding: 17px; border: 1px solid #d4e2e9; border-radius: 16px; background: white; box-shadow: 0 7px 22px rgba(15,58,101,.06); }
.v2-client-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.v2-client-kind { padding: 5px 8px; border-radius: 8px; color: #0d7e89; background: #e4f6f6; font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.v2-client-kind.company { color: #734268; background: #fff0f6; }
.v2-client-card h3 { margin: 0; color: var(--navy); font-size: 17px; }
.v2-client-card > p { min-height: 34px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.v2-client-card-metrics { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-client-card-metrics span { padding: 6px 8px; border-radius: 8px; color: #60788b; background: #f2f6f8; font-size: 10px; }
.v2-client-card-metrics strong { color: var(--navy); }
.v2-client-card-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 8px; }
.v2-client-card-actions .v2-btn, .v2-record-actions .v2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; flex-shrink: 0; white-space: nowrap; text-decoration: none; }
.v2-record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 16px; }
[data-client-load-schools] { margin-bottom: 16px; }
.v2-status-chip.v2-client-former { color: #697987; background: #edf1f3; }
.v2-company-contact-list .v2-list-row { grid-template-columns: 42px minmax(0, 1fr) auto; }

#view-campaigns .v2-list-card, #view-campaigns .v2-detail-card { height: calc(100vh - 190px); max-height: calc(100vh - 190px); }
#view-campaigns .v2-list-card { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#view-campaigns .v2-list { height: auto; min-height: 0; max-height: none; }
#view-campaigns .v2-detail-card { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 16px 18px; border-radius: 18px; clip-path: inset(0 round 18px); overflow: hidden; }
.v2-campaign-row { border-left: 4px solid #cbd5df; }
.v2-campaign-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--pink); background: #fff0f6; box-shadow: inset 0 0 0 1px rgba(255, 55, 133, .13); }
.v2-campaign-mark svg { width: 21px; height: 21px; }
.v2-campaign-count { min-width: 52px; color: var(--navy); text-align: right; }
.v2-campaign-count strong, .v2-campaign-count small { display: block; }
.v2-campaign-count strong { font-size: 14px; }
.v2-campaign-count small { margin-top: 1px; font-size: 8px; text-transform: uppercase; }
.v2-campaign-detail-header { border-bottom: 1px solid var(--line); }
.v2-campaign-detail-header .v2-detail-hero { gap: 12px; padding-bottom: 9px; border: 0; }
#view-campaigns .v2-detail-hero h2 { margin-block: 1px 2px; font-size: 23px; line-height: 1.1; }
#view-campaigns .v2-detail-identity p { max-width: 680px; margin: 0; font-size: 11px; }
#view-campaigns .v2-contact-header-metrics { gap: 5px; }
#view-campaigns .v2-contact-header-metrics > span { min-height: 34px; padding: 4px 7px; border-radius: 9px; }
#view-campaigns .v2-contact-header-metrics .v2-header-status { min-width: 92px; }
#view-campaigns .v2-detail-tabs { padding: 2px 0 6px; }
#view-campaigns .v2-detail-tabs button { min-height: 30px; }
.v2-campaign-detail-content { min-height: 0; overflow: hidden; }
.v2-campaign-workspace { height: 100%; min-height: 0; box-sizing: border-box; padding-top: 10px; }
.v2-campaign-workspace-head, .v2-campaign-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.v2-campaign-workspace-head { margin-bottom: 10px; }
.v2-campaign-workspace-head h3, .v2-campaign-panel-head h3 { margin: 2px 0 0; color: var(--navy); font-size: 14px; }
.v2-campaign-panel { min-width: 0; padding: 12px; border: 1px solid #e2ebf0; border-radius: 13px; background: #fbfdfe; }
.v2-campaign-panel-head { margin-bottom: 10px; }
.v2-inline-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.v2-campaign-workspace label { min-width: 0; }
.v2-campaign-workspace label > span { display: block; margin-bottom: 5px; color: #315572; font-size: 10px; font-weight: 750; }
.v2-campaign-workspace select, .v2-campaign-workspace input, .v2-campaign-workspace textarea { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #c9d9e4; border-radius: 9px; padding: 8px 10px; color: var(--navy); background: white; font: inherit; }
.v2-campaign-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 9px; }
.v2-campaign-kpis .v2-detail-field { margin: 0; padding: 9px 11px; }
.v2-campaign-pilotage { overflow: auto; }
.v2-campaign-pilotage-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 9px; }
.v2-campaign-pilotage .v2-status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-campaign-pilotage .v2-status-grid > div { padding: 8px 9px; }
.v2-campaign-pilotage .v2-status-grid strong { font-size: 16px; }
.v2-campaign-action-grid { display: grid; grid-template-columns: minmax(120px, .8fr) minmax(170px, 1.4fr) minmax(125px, .7fr) auto; gap: 7px; align-items: end; }
.v2-campaign-pilotage .v2-crm-note-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-top: 7px; }
.v2-campaign-activity { margin-top: 9px; }
.v2-campaign-activity-list { display: grid; max-height: 155px; overflow: auto; }
.v2-campaign-activity-list button { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; padding: 8px 3px; border: 0; border-bottom: 1px solid #edf2f5; color: var(--ink); background: transparent; text-align: left; }
.v2-campaign-activity-list time { color: var(--muted); font-size: 9px; }
.v2-campaign-activity-list strong, .v2-campaign-activity-list small { display: block; }
.v2-campaign-activity-list small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.v2-campaign-targets { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 9px; }
.v2-campaign-analysis-empty { height: 100%; min-height: 260px; display: flex; align-items: center; justify-content: center; gap: 15px; color: var(--muted); text-align: left; }
.v2-campaign-analysis-empty h3 { margin: 3px 0 5px; color: var(--navy); }
.v2-campaign-analysis-empty p, .v2-matching-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.v2-analysis-spinner { width: 30px; height: 30px; border: 3px solid #dce9ee; border-top-color: var(--teal); border-radius: 50%; animation: v2Spin .8s linear infinite; }
@keyframes v2Spin { to { transform: rotate(360deg); } }
.v2-matching-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.v2-matching-summary > div { padding: 8px 10px; border: 1px solid #e1ebef; border-radius: 11px; background: #f3f7f9; }
.v2-matching-summary strong, .v2-matching-summary span { display: block; }
.v2-matching-summary strong { color: var(--navy); font-size: 17px; }
.v2-matching-summary span { margin-top: 1px; color: var(--muted); font-size: 9px; font-weight: 750; }
.v2-matching-summary .v2-match-match { background: #e5f7ef; border-color: #c6eadb; }
.v2-matching-summary .v2-match-review { background: #fff5df; border-color: #f2dfad; }
.v2-matching-summary .v2-match-excluded { background: #ffedf2; border-color: #f2ccd7; }
.v2-matching-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 320px); gap: 9px; }
.v2-matching-toolbar > input { width: 100%; box-sizing: border-box; border: 1px solid #c9d9e4; border-radius: 10px; padding: 8px 10px; color: var(--navy); background: white; }
.v2-matching-filters { display: flex; gap: 5px; overflow-x: auto; }
.v2-matching-filters button { flex: 0 0 auto; padding: 7px 9px; border: 1px solid #d6e2e8; border-radius: 9px; color: #315572; background: white; font: inherit; font-size: 9px; font-weight: 750; }
.v2-matching-filters button span { margin-left: 3px; color: var(--muted); }
.v2-matching-filters button.active { color: white; border-color: var(--navy); background: var(--navy); }
.v2-matching-filters button.active span { color: #dceaf3; }
.v2-campaign-target-columns { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v2-campaign-target-columns > .v2-campaign-panel, .v2-campaign-response-list { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.v2-campaign-target-list { min-height: 0; overflow: auto; border: 1px solid #edf2f5; border-radius: 11px; background: white; }
.v2-campaign-target-list button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 11px; border: 0; border-bottom: 1px solid #edf2f5; color: var(--ink); background: transparent; text-align: left; }
.v2-campaign-target-list button:hover { background: #f3f8fa; }
.v2-campaign-target-list strong, .v2-campaign-target-list small { display: block; }
.v2-campaign-target-list small { max-width: 410px; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.v2-match-list .v2-match-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px; }
.v2-match-score { width: 48px; height: 48px; display: grid; place-content: center; border-radius: 12px; color: var(--navy); background: #eef4f7; text-align: center; }
.v2-match-score strong { font-size: 16px; line-height: 1; }
.v2-match-score small { max-width: 44px; margin: 3px 0 0; font-size: 7px; line-height: 1; white-space: normal; }
.v2-match-score.v2-match-match { color: #087659; background: #e4f5ee; }
.v2-match-score.v2-match-review { color: #9a5b0b; background: #fff1d5; }
.v2-match-score.v2-match-excluded { color: #a31d3a; background: #ffe8ee; }
.v2-match-main { min-width: 0; }
.v2-match-main em { display: block; margin-top: 3px; overflow: hidden; color: #5c7486; font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.v2-match-breakdown { display: flex; align-items: center; gap: 5px; }
.v2-match-breakdown > span { min-width: 38px; padding: 5px 6px; border-radius: 8px; background: #f1f5f7; text-align: center; }
.v2-match-breakdown small, .v2-match-breakdown strong { display: block; }
.v2-match-breakdown small { margin: 0 0 2px; font-size: 7px; text-transform: uppercase; }
.v2-match-label { padding: 5px 7px; border-radius: 99px; color: #506a7d; background: #edf2f5; font-size: 8px; font-style: normal; font-weight: 800; white-space: nowrap; }
.v2-match-label.v2-match-match { color: #087659; background: #e4f5ee; }
.v2-match-label.v2-match-review { color: #9a5b0b; background: #fff1d5; }
.v2-match-label.v2-match-excluded { color: #a31d3a; background: #ffe8ee; }
.v2-matching-criteria-head { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid #e2ebf0; }
.v2-matching-criteria-head h3 { margin: 2px 0 0; color: var(--navy); font-size: 14px; }
.v2-matching-criteria-head p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.v2-matching-criteria-form { padding: 12px; border: 1px solid #d9e9ed; border-radius: 12px; background: #f5fafb; }
.v2-campaign-messages { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.v2-campaign-message-grid { min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.v2-campaign-message-card { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 12px; border: 1px solid #d8e7ed; border-radius: 13px; background: #f7fbfc; }
.v2-campaign-message-card textarea { min-height: 0; resize: none; line-height: 1.5; }
.v2-campaign-message-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 10px; }
.v2-campaign-message-footer p { max-width: 720px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.v2-campaign-responses { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; }
.v2-campaign-response-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.v2-campaign-response-kpis > div { padding: 11px; border-radius: 12px; color: var(--navy); background: #edf3f7; }
.v2-campaign-response-kpis > div.positive { color: #0e6b3a; background: #e4f6eb; }
.v2-campaign-response-kpis > div.negative { color: #a31d3a; background: #ffe8ee; }
.v2-campaign-response-kpis > div.objection { color: #915016; background: #fff1df; }
.v2-campaign-response-kpis strong, .v2-campaign-response-kpis span { display: block; }
.v2-campaign-response-kpis strong { font-size: 20px; }
.v2-campaign-response-kpis span { margin-top: 2px; font-size: 9px; font-weight: 700; }
.v2-campaign-settings { overflow: auto; }
.v2-campaign-settings-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 10px; }
.v2-campaign-settings-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; align-items: end; }
.v2-campaign-settings-form .wide { grid-column: 1 / -1; }
.v2-campaign-settings-form .v2-btn { justify-self: start; }
.v2-campaign-history { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.v2-campaign-history-list { min-height: 0; max-height: 335px; overflow: auto; }
.v2-campaign-history-list article { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 8px; padding: 8px 2px; border-bottom: 1px solid #edf2f5; }
.v2-campaign-history-list time { color: var(--muted); font-size: 9px; }
.v2-campaign-history-list strong, .v2-campaign-history-list small { display: block; }
.v2-campaign-history-list small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.v2-campaign-danger { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 10px; padding: 12px 14px; border: 1px solid #f2d9df; border-radius: 13px; background: #fff8fa; }
.v2-campaign-danger strong { color: var(--danger); }
.v2-campaign-danger p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.v2-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); box-sizing: border-box; border: 0; border-radius: 20px; padding: 0; color: var(--ink); background: white; box-shadow: 0 28px 90px rgba(15, 58, 101, .28); }
.v2-dialog::backdrop { background: rgba(9, 37, 65, .55); backdrop-filter: blur(3px); }
.v2-dialog form { padding: 24px; }
.v2-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.v2-dialog-head h2 { margin: 3px 0 5px; color: var(--navy); font-size: 23px; }
.v2-dialog-head p { margin: 0; color: var(--muted); font-size: 11px; }
.v2-dialog-close { width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 10px; color: var(--navy); background: #edf3f7; font-size: 22px; line-height: 1; }
.v2-toolbar-actions, .v2-page-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.v2-page-actions { margin-bottom: 10px; }
.v2-team-sync-status { border: 1px solid #cfe3ea; background: #eff7fa; }
.v2-team-sync-status[data-mode="synced"] { color: #087e70; border-color: #c8ece3; background: #e9f8f3; }
.v2-team-sync-status[data-mode="local"], .v2-team-sync-status[data-mode="empty"] { color: #8a6415; border-color: #f1dfae; background: #fff8e6; }
.v2-team-sync-status[data-mode="error"] { color: #a42e50; border-color: #f3c9d4; background: #fff0f4; }
.v2-manual-create-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 0; }
.v2-manual-create-grid .wide { grid-column: 1 / -1; }
.v2-manual-create-grid label > span { display: block; margin-bottom: 5px; color: #315572; font-size: 10px; font-weight: 750; }
.v2-manual-create-grid input, .v2-manual-create-grid select, .v2-manual-create-grid textarea { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #c9d9e4; border-radius: 10px; padding: 9px 10px; color: var(--navy); background: #fbfdfe; font: inherit; }
.v2-manual-create-grid input:focus, .v2-manual-create-grid select:focus, .v2-manual-create-grid textarea:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 3px rgba(23, 150, 164, .1); }
.v2-campaign-create-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 0; }
.v2-campaign-create-dialog { width: min(920px, calc(100vw - 28px)); }
.v2-campaign-ai-status { margin-top: 10px; padding: 10px 12px; border-radius: 11px; color: var(--muted); background: #f1f6f8; font-size: 12px; }
.v2-campaign-ai-preview { margin-top: 4px; padding: 14px; border: 1px solid rgba(23,150,164,.28); border-radius: 15px; background: #f5fcfc; }
.v2-campaign-ai-preview-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.v2-campaign-ai-preview-head h3, .v2-campaign-ai-preview-head p { margin: 3px 0 0; }
.v2-campaign-ai-preview-grid, .v2-campaign-intelligence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.v2-campaign-ai-preview-grid > div, .v2-campaign-intelligence-grid > div { padding: 10px; border-radius: 10px; background: white; }
.v2-campaign-ai-preview-grid span, .v2-campaign-intelligence-grid span, .v2-campaign-ai-preview-message > span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.v2-campaign-ai-preview-grid strong, .v2-campaign-intelligence-grid strong { display: block; margin-top: 4px; font-size: 12px; }
.v2-campaign-ai-preview-message { margin-top: 9px; padding: 11px; border-left: 3px solid var(--pink); background: white; }
.v2-campaign-ai-preview-message p { margin: 5px 0 0; white-space: pre-wrap; }
.v2-campaign-intelligence-card { padding: 13px; border: 1px solid rgba(23,150,164,.3); border-radius: 14px; background: #f3fbfb; }
.v2-campaign-intelligence-card.is-missing { display: flex; justify-content: space-between; gap: 12px; border-color: #f0d7a3; background: #fff9ec; }
.v2-campaign-intelligence-card h3, .v2-campaign-intelligence-card p { margin: 3px 0 0; }
.v2-message-variable-library { display: grid; grid-template-columns: minmax(160px, .35fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid #d8e7ed; border-radius: 13px; background: #f7fbfc; }
.v2-message-variable-library p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.v2-message-variable-library > div:last-child { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-message-variable-library button { border: 1px solid rgba(15,58,101,.14); border-radius: 999px; padding: 7px 9px; color: var(--navy); background: white; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.v2-message-variable-library button:hover { border-color: var(--teal); background: #eefafa; }
.v2-message-variable-library code { color: var(--teal); font-size: 10px; }
.v2-message-live-preview { display: grid; grid-template-columns: minmax(175px, .55fr) minmax(220px, .7fr) minmax(320px, 1.6fr); gap: 14px; align-items: stretch; padding: 13px 14px; border: 1px solid rgba(23,150,164,.28); border-radius: 14px; background: #f3fbfb; }
.v2-message-live-preview > div:first-child { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.v2-message-live-preview h4 { max-width: 180px; margin: 4px 0 0; line-height: 1.3; }
.v2-message-live-preview label { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.v2-message-live-preview label > span { margin-bottom: 6px; color: #315572; font-size: 10px; font-weight: 750; }
.v2-message-preview-content { display: grid; min-width: 0; padding: 8px 10px; border: 1px solid #dce9ee; border-radius: 11px; background: white; }
.v2-message-preview-content > span { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v2-message-live-preview pre { max-height: 130px; overflow: auto; margin: 4px 0 0; padding: 0; color: var(--ink); background: transparent; font: inherit; font-size: 11px; line-height: 1.45; white-space: pre-wrap; }
.v2-campaign-gpt-transfer, .v2-campaign-gpt-external { display: grid; gap: 10px; padding: 13px; border: 1px solid rgba(23,150,164,.25); border-radius: 13px; background: #f3fbfb; }
.v2-campaign-gpt-transfer { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.v2-campaign-gpt-transfer h3, .v2-campaign-gpt-external h4 { margin: 3px 0; color: var(--navy); }
.v2-campaign-gpt-transfer p, .v2-campaign-gpt-external p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.v2-campaign-gpt-transfer textarea, .v2-campaign-gpt-external textarea { width: 100%; min-width: 0; box-sizing: border-box; resize: vertical; border: 1px solid #c9d9e4; border-radius: 10px; padding: 10px; color: var(--navy); background: white; font: inherit; line-height: 1.45; }
.v2-campaign-gpt-external { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-bottom: 12px; }
.v2-campaign-gpt-external textarea { grid-column: 1 / -1; }
.v2-campaign-gpt-external [data-campaign-ai-sync] { grid-column: 2; }
.v2-campaign-create-grid .wide { grid-column: 1 / -1; }
.v2-campaign-create-grid label { min-width: 0; }
.v2-campaign-create-grid label > span { display: block; margin-bottom: 5px; color: #315572; font-size: 10px; font-weight: 750; }
.v2-campaign-create-grid input, .v2-campaign-create-grid select, .v2-campaign-create-grid textarea { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #c9d9e4; border-radius: 10px; padding: 9px 10px; color: var(--navy); background: #fbfdfe; font: inherit; }
.v2-campaign-create-grid input:focus, .v2-campaign-create-grid select:focus, .v2-campaign-create-grid textarea:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 3px rgba(23, 150, 164, .1); }
.v2-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }

.v2-school-filterbar { grid-template-columns: minmax(250px, 1.4fr) repeat(5, minmax(120px, .72fr)); }
#view-schools .v2-list-card, #view-schools .v2-detail-card { height: calc(100vh - 190px); max-height: calc(100vh - 190px); }
#view-schools .v2-list-card { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#view-schools .v2-list { height: auto; min-height: 0; max-height: none; }
#view-schools .v2-detail-card { padding: 0; border-radius: 18px; clip-path: inset(0 round 18px); overflow: auto; }
.v2-school-row { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; text-align: left; }
.v2-school-row > span:nth-child(2) { min-width: 0; }
.v2-school-row em { display: block; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.v2-school-mark { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(23, 150, 164, .2); border-radius: 50%; color: var(--teal); background: #ebf9fa; }
.v2-school-mark svg { width: 21px; height: 21px; }
.v2-school-list-score { min-width: 40px; color: var(--teal); text-align: center; }
.v2-school-list-score strong, .v2-school-list-score small { display: block; }
.v2-school-list-score strong { font-size: 15px; }
.v2-school-list-score small { margin-top: 1px; font-size: 8px; }
.v2-school-load-more, .v2-list-load-more { width: calc(100% - 20px); margin: 10px; border: 1px solid #cadde5; border-radius: 10px; padding: 10px; color: var(--navy); background: #f3f8fa; font: inherit; font-weight: 750; cursor: pointer; }
.v2-school-load-more:hover, .v2-list-load-more:hover { border-color: var(--teal); background: #e9f6f7; }
.v2-school-load-error { display: grid; place-items: center; min-height: 240px; padding: 24px; color: var(--muted); text-align: center; }
.v2-school-load-error strong { color: var(--navy); font-size: 15px; }
.v2-school-load-error p { max-width: 420px; margin: 7px 0 13px; }
.v2-school-detail-header { position: sticky; z-index: 3; top: 0; padding: 15px 18px 8px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); }
.v2-school-detail-header .v2-detail-hero { gap: 12px; padding-bottom: 8px; border: 0; }
#view-schools .v2-detail-hero h2 { margin-block: 1px 2px; font-size: 23px; line-height: 1.1; }
#view-schools .v2-detail-identity p { margin: 0; font-size: 11px; }
#view-schools .v2-contact-header-metrics { gap: 5px; }
#view-schools .v2-contact-header-metrics > span { min-height: 34px; padding: 4px 7px; border-radius: 9px; }
#view-schools .v2-contact-actions { gap: 7px; padding: 7px 0 0; }
#view-schools .v2-contact-actions label { gap: 2px; }
#view-schools .v2-contact-actions select, #view-schools .v2-contact-actions > .v2-pill, #view-schools .v2-contact-actions > .v2-btn { min-height: 34px; }
.v2-school-detail-content { padding: 0 18px 18px; }
.v2-school-cockpit { padding-top: 12px; }
.v2-school-facts { display: grid; grid-template-columns: .65fr .65fr 1.35fr 1.35fr; gap: 8px; margin-bottom: 10px; }
.v2-school-facts > div { min-width: 0; padding: 10px 11px; border-left: 3px solid var(--pink); border-radius: 0 10px 10px 0; background: #fff2f7; }
.v2-school-facts span, .v2-school-facts strong { display: block; }
.v2-school-facts span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.v2-school-facts strong { margin-top: 4px; overflow: hidden; color: var(--navy); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.v2-school-action-grid { display: grid; grid-template-columns: minmax(125px, .75fr) minmax(210px, 1.35fr) minmax(125px, .65fr) auto; gap: 8px; align-items: end; }
.v2-school-action-grid label { min-width: 0; }
.v2-school-action-grid label > span { display: block; margin-bottom: 5px; color: #315572; font-size: 9px; font-weight: 750; }
.v2-school-action-grid input, .v2-school-action-grid select { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #c9d9e4; border-radius: 9px; padding: 8px 10px; color: var(--navy); background: white; font: inherit; }
.v2-school-source-line { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 9px; }
.v2-school-section { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.v2-school-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 9px; }
.v2-school-section-head h3 { margin: 2px 0 0; color: var(--navy); font-size: 14px; }
.v2-school-contact-list { max-height: 280px; overflow: auto; border: 1px solid #e2ebf0; border-radius: 12px; }
.v2-school-contact-list .v2-list-row { grid-template-columns: 40px minmax(0, 1fr) auto; text-align: left; }
.v2-school-contact-list em { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-style: normal; }
.v2-school-relation-score { min-width: 57px; padding: 6px 7px; border-radius: 9px; text-align: center; }
.v2-school-relation-score strong, .v2-school-relation-score small { display: block; }
.v2-school-relation-score small { margin-top: 2px; font-size: 8px; }
.v2-school-relation-score.strong { color: #087659; background: #e4f5ee; }
.v2-school-relation-score.probable { color: #9a5b0b; background: #fff1d5; }
.v2-school-program-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 330px; overflow: auto; }
.v2-school-program-list article { display: flex; justify-content: space-between; gap: 12px; min-width: 0; padding: 10px 11px; border: 1px solid #e2ebf0; border-radius: 11px; background: #fbfdfe; }
.v2-school-program-list article > div { min-width: 0; }
.v2-school-program-list article > div:last-child { flex: 0 0 auto; text-align: right; }
.v2-school-program-list strong, .v2-school-program-list span, .v2-school-program-list b, .v2-school-program-list small { display: block; }
.v2-school-program-list strong { overflow: hidden; color: var(--navy); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.v2-school-program-list span, .v2-school-program-list small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.v2-school-program-list b { color: var(--teal); font-size: 9px; }
.v2-school-history { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.v2-school-history > summary { color: var(--navy); cursor: pointer; font-size: 12px; font-weight: 800; }
.v2-school-history .v2-crm-history { margin-top: 8px; }

@media (max-width: 1360px) {
  .v2-header { display: grid; }
  .v2-header-right { width: 100%; min-width: 0; justify-items: stretch; }
}

@media (max-width: 1440px) {
  .v2-header { display: grid; }
  .v2-header-right { width: 100%; min-width: 0; justify-items: stretch; }
  .v2-main { padding-inline: 16px; }
  .v2-master-detail { grid-template-columns: minmax(270px, .72fr) minmax(410px, 1.4fr); }
  .v2-detail-card { padding: 16px; }
  .v2-list-row { padding-inline: 11px; }
  .v2-metrics { grid-template-columns: repeat(3, 1fr); }
  .v2-filterbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-company-filterbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-school-filterbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-school-master-detail { grid-template-columns: minmax(260px, .68fr) minmax(420px, 1.32fr); }
  .v2-school-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-school-action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-school-program-list { grid-template-columns: 1fr; }
  .v2-contact-filterbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-campaign-pilotage-grid, .v2-campaign-target-columns, .v2-campaign-settings-grid { grid-template-columns: 1fr; }
  .v2-campaign-message-grid { grid-template-columns: 1fr; overflow: auto; }
  .v2-message-live-preview, .v2-message-variable-library, .v2-campaign-ai-preview-grid, .v2-campaign-intelligence-grid, .v2-campaign-gpt-external { grid-template-columns: 1fr; }
  .v2-campaign-gpt-transfer, .v2-campaign-gpt-external { grid-template-columns: 1fr; }
  .v2-campaign-gpt-external textarea, .v2-campaign-gpt-external [data-campaign-ai-sync] { grid-column: 1; }
  .v2-search { grid-column: span 2; }
  .v2-import-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) and (max-height: 760px) {
  .v2-main { padding-top: 14px; padding-bottom: 16px; }
  .v2-header { grid-template-columns: minmax(210px, .42fr) minmax(0, 1fr); align-items: start; gap: 12px; margin-bottom: 8px; }
  .v2-header-copy { min-width: 0; }
  .v2-header-copy > p { display: none; }
  .v2-context-summary { margin-top: 4px; }
  .v2-header h1 { font-size: 30px; }
  .v2-header p { font-size: 11px; }
  .v2-header-right { gap: 6px; }
  .v2-global-context { padding: 8px 10px; }
  .v2-header-meta { gap: 6px; }
  .v2-filterbar { margin-bottom: 10px; padding: 9px 10px; }
  .v2-contact-filterbar { grid-template-columns: minmax(170px, 1.35fr) repeat(6, minmax(82px, 1fr)); }
  .v2-contact-filterbar .v2-search { grid-column: auto; }
  .v2-company-filterbar { grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(105px, 1fr)); }
  .v2-school-filterbar { grid-template-columns: minmax(180px, 1.35fr) repeat(5, minmax(90px, 1fr)); }
  .v2-school-filterbar .v2-search { grid-column: auto; }
  .v2-master-detail { min-height: 0; }
  #view-contacts .v2-list-card, #view-contacts .v2-detail-card,
  #view-companies .v2-list-card, #view-companies .v2-detail-card,
  #view-schools .v2-list-card, #view-schools .v2-detail-card,
  #view-campaigns .v2-list-card, #view-campaigns .v2-detail-card { height: calc(100dvh - 180px); max-height: calc(100dvh - 180px); }
  .v2-master-detail.v2-mission-master-detail { height: calc(100dvh - 205px); }
  .v2-detail-card { padding: 14px; }
  .v2-list-row { padding-block: 8px; }
}

@media (max-width: 900px) {
  .v2-main { padding-inline: 20px; }
  .v2-master-detail, .v2-dashboard-grid { grid-template-columns: 1fr; }
  .v2-ops-overview { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
  .v2-ops-queue { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
  .v2-school-master-detail { grid-template-columns: 1fr; }
  .v2-list { min-height: 360px; max-height: 480px; }
  .v2-detail-card { max-height: none; }
  #view-contacts .v2-list-card, #view-contacts .v2-detail-card { height: auto; max-height: none; }
  #view-companies .v2-list-card, #view-companies .v2-detail-card { height: auto; max-height: none; }
  #view-schools .v2-list-card, #view-schools .v2-detail-card { height: auto; max-height: none; }
  #view-campaigns .v2-list-card, #view-campaigns .v2-detail-card { height: auto; max-height: none; }
  #view-contacts .v2-list { min-height: 360px; max-height: 480px; }
  .v2-crm-editor-grid, .v2-crm-note-row, .v2-crm-history article { grid-template-columns: 1fr; }
  .v2-client-workspace .v2-crm-editor-grid-wide { grid-template-columns: 1fr; }
  .v2-client-conversion { align-items: stretch; flex-direction: column; }
  .v2-client-hub-head { align-items: stretch; flex-direction: column; }
  .v2-client-hub-summary { flex-wrap: wrap; }
  .v2-contacts-toolbar { align-items: flex-start; flex-direction: column; }
  .v2-contact-stats { justify-content: flex-start; }
  .v2-contact-insights { grid-template-columns: 1fr; }
  .v2-contact-header-side { max-width: none; display: grid; justify-items: end; }
  .v2-detail-hero { align-items: flex-start; }
  .v2-linkedin-compose-head { display: grid; }
  .v2-conversation-tools { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .v2-shell { display: block; }
  .v2-sidebar { position: sticky; z-index: 10; width: 100%; height: auto; display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 9px 12px; }
  .v2-brand { flex: 0 0 auto; gap: 8px; padding: 0; }
  .v2-brand-copy { flex: 0 0 auto; }
  .v2-brand img { width: 34px; height: 34px; border-radius: 10px; }
  .v2-sidebar nav { min-width: 0; display: flex; flex: 1; justify-content: flex-start; gap: 4px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .v2-sidebar nav::-webkit-scrollbar { display: none; }
  .v2-sidebar-bottom { flex: 0 0 auto; margin: 0; display: flex; }
  .v2-sidebar-bottom .v2-legacy-link { display: none; }
  .v2-sidebar-toggle, .v2-shell.sidebar-collapsed .v2-sidebar-toggle { display: none; }
  .v2-shell.sidebar-collapsed .v2-sidebar { padding: 9px 12px; }
  .v2-shell.sidebar-collapsed .v2-brand { padding: 0; }
  .v2-shell.sidebar-collapsed .v2-sidebar nav { margin-top: 0; }
  .v2-sidebar .v2-nav { width: 42px; min-height: 40px; flex: 0 0 42px; justify-content: center; gap: 0; padding: 0; border-radius: 10px; }
  .v2-sidebar .v2-nav > span { display: none; }
  .v2-nav svg { width: 18px; }
  .v2-main { padding: 18px 13px 30px; }
  .v2-header { display: grid; gap: 12px; }
  .v2-header-meta { justify-content: flex-start; }
  .v2-header h1 { font-size: 28px; }
  .v2-global-context { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-switch-field { justify-self: start; }
  .v2-refresh-btn { justify-content: center; }
  .v2-metrics { grid-template-columns: repeat(2, 1fr); }
  .v2-metric { min-height: 105px; padding: 14px; }
  .v2-filterbar, .v2-filterbar-compact { grid-template-columns: 1fr; }
  .v2-contact-filterbar { grid-template-columns: 1fr; }
  .v2-company-filterbar { grid-template-columns: 1fr; }
  .v2-school-filterbar { grid-template-columns: 1fr; }
  .v2-school-action-grid { grid-template-columns: 1fr; }
  .v2-school-source-line, .v2-school-section-head { align-items: stretch; flex-direction: column; }
  .v2-search { grid-column: auto; }
  .v2-master-detail { display: block; }
  .v2-list-card { margin-bottom: 12px; }
  .v2-detail-grid, .v2-quality-grid, .v2-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-crm-state-grid, .v2-status-grid { grid-template-columns: 1fr; }
  .v2-admin-grid { grid-template-columns: 1fr; }
  .v2-admin-imports, .v2-admin-integrations, .v2-admin-preview, .v2-admin-access { grid-column: auto; }
  .v2-access-form { grid-template-columns: 1fr; }
  .v2-access-password { grid-column: auto; }
  .v2-access-user { grid-template-columns: 1fr; }
  .v2-integration-grid { grid-template-columns: 1fr; }
  .v2-import-grid { grid-template-columns: 1fr; }
  .v2-dashboard-intro { display: grid; }
  .v2-ops-hero { display: grid; padding: 20px; }
  .v2-ops-hero-actions { justify-items: start; }
  .v2-ops-overview, .v2-ops-queue, .v2-ops-workflows, .v2-linkedin-summary, .v2-linkedin-radars { grid-template-columns: 1fr; }
  .v2-ops-workflows { max-height: 75dvh; padding-right: 3px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  .v2-ops-timeline article { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .v2-ops-timeline article > div:nth-of-type(2) { display: none; }
  .v2-mode-tabs { width: 100%; overflow-x: auto; }
  .v2-mode-tabs button { flex: 1 0 auto; }
  .v2-linkedin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-detail-hero, .v2-contact-header-side { display: grid; }
  .v2-contact-header-side { width: 100%; justify-items: start; }
  .v2-contact-header-metrics { justify-content: flex-start; }
  #view-contacts .v2-detail-identity p { display: block; }
  #view-contacts .v2-detail-identity p + p { margin-left: 0; padding-left: 0; border-left: 0; }
  .v2-action-guidance { grid-template-columns: 1fr; }
  .v2-contact-row-tools { grid-template-columns: 30px 112px; }
  .v2-row-status { width: 112px; }
  .v2-campaign-kpis, .v2-campaign-response-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-campaign-action-grid, .v2-campaign-settings-form { grid-template-columns: 1fr; }
  .v2-campaign-settings-form .wide { grid-column: auto; }
  .v2-campaign-message-footer, .v2-campaign-danger { align-items: stretch; flex-direction: column; }
  .v2-campaign-create-grid { grid-template-columns: 1fr; }
  .v2-campaign-create-grid .wide { grid-column: auto; }
  .v2-manual-create-grid { grid-template-columns: 1fr; }
  .v2-manual-create-grid .wide { grid-column: auto; }
  .v2-matching-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-matching-toolbar { grid-template-columns: 1fr; }
  .v2-match-list .v2-match-row { grid-template-columns: 48px minmax(0, 1fr); }
  .v2-match-breakdown { grid-column: 1 / -1; justify-content: flex-end; }
  .v2-orchestra-lane:not(.collapsed) > div { max-height: 72dvh; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
}

@media (max-width: 390px) {
  .v2-sidebar { padding-inline: 7px; }
  .v2-brand img { width: 30px; height: 30px; }
  .v2-sidebar .v2-nav { width: 38px; flex-basis: 38px; }
  .v2-global-context { grid-template-columns: 1fr; }
  .v2-header-meta .v2-btn { width: 100%; }
  .v2-detail-grid, .v2-quality-grid, .v2-summary-grid { grid-template-columns: 1fr; }
  .v2-message { max-width: 94%; }
  .v2-crm-timeline > article { grid-template-columns: 1fr; gap: 4px; }
}
.v2-orchestra-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:22px;border-radius:20px;background:linear-gradient(135deg,#0f3a65,#135b7c);color:#fff;margin-bottom:16px}.v2-orchestra-hero h2{margin:4px 0 6px;font-size:25px}.v2-orchestra-hero p{margin:0;max-width:720px}.v2-orchestra-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.v2-orchestra-controls input{min-height:42px;border:0;border-radius:11px;padding:0 12px}.v2-orchestra-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px}.v2-orchestra-metrics div{background:#fff;border:1px solid #d7e4ec;border-radius:15px;padding:15px}.v2-orchestra-metrics strong{display:block;color:#0f3a65;font-size:24px}.v2-orchestra-metrics span{font-size:12px;color:#5b7187}.v2-orchestra-objective-form{display:grid;grid-template-columns:minmax(280px,2fr) 1fr 1fr auto;gap:10px}.v2-orchestra-objective-form input,.v2-orchestra-objective-form select{min-height:42px;border:1px solid #cddde8;border-radius:11px;padding:0 12px}.v2-orchestra-objective-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.v2-orchestra-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}.v2-orchestra-lane{background:#f8fbfd;border:1px solid #d4e3eb;border-radius:18px;overflow:hidden}.v2-orchestra-lane>header{display:flex;justify-content:space-between;padding:14px 16px;background:#edf5f8}.v2-orchestra-lane>header h2{margin:0;font-size:17px}.v2-orchestra-task{background:#fff;border-top:1px solid #e2edf2;padding:14px}.v2-orchestra-task h3{margin:3px 0 5px;font-size:15px}.v2-orchestra-task p{margin:0;color:#5a7187;font-size:12px}.v2-orchestra-task-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.v2-orchestra-empty{padding:20px;color:#75899c}.v2-orchestra-review{white-space:pre-wrap;background:#f1f7f9;border-radius:12px;padding:14px;max-height:300px;overflow:auto}.v2-orchestra-followups{margin-top:12px}.v2-orchestra-followups>summary{cursor:pointer;color:#0d6f7b;font-weight:800}.v2-orchestra-followups>div{display:grid;gap:7px;margin-top:10px}.v2-orchestra-followup{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:#f5f9fb}.v2-orchestra-followup span{min-width:0;font-size:11px;color:#425d73}.v2-orchestra-followup .v2-btn{flex:0 0 auto}@media(max-width:1024px){.v2-orchestra-hero{align-items:flex-start;flex-direction:column}.v2-orchestra-metrics{grid-template-columns:repeat(3,1fr)}.v2-orchestra-objective-form{grid-template-columns:1fr 1fr}.v2-orchestra-board{grid-template-columns:1fr}}@media(max-width:600px){.v2-orchestra-metrics{grid-template-columns:1fr 1fr}.v2-orchestra-objective-form{grid-template-columns:1fr}.v2-orchestra-followup{align-items:flex-start;flex-direction:column}}
.v2-orchestra-offer{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 6px}
.v2-orchestra-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;background:#fff;border:1px solid #d7e4ec;border-radius:14px}.v2-orchestra-toolbar label{font-weight:800;color:#173f65}.v2-orchestra-toolbar select{min-height:40px;min-width:270px;border:1px solid #cddde8;border-radius:10px;padding:0 12px;background:#fff}.v2-orchestra-toolbar span{margin-left:auto;color:#5b7187;font-size:12px}.v2-orchestra-lane>header{padding:0}.v2-orchestra-lane-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 16px;border:0;background:transparent;color:#143e65;text-align:left;cursor:pointer}.v2-orchestra-lane-toggle span{display:flex;align-items:baseline;gap:9px}.v2-orchestra-lane-toggle h2{margin:0}.v2-orchestra-lane-toggle small{color:#607b90}.v2-orchestra-lane-toggle strong{font-size:11px;color:#0d8291}.v2-orchestra-lane.collapsed{align-self:start}.v2-btn-offer{background:#fff4d9;border-color:#efc66a;color:#845800}.v2-btn-offer:hover{background:#ffeab9}@media(max-width:600px){.v2-orchestra-toolbar{align-items:stretch;flex-direction:column}.v2-orchestra-toolbar select{min-width:0;width:100%}.v2-orchestra-toolbar span{margin-left:0}.v2-orchestra-task-actions{flex-wrap:wrap}}
.v2-orchestra-search{display:flex;align-items:center;gap:8px;min-width:min(420px,40vw)}.v2-orchestra-search span{margin-left:0;white-space:nowrap;color:#173f65}.v2-orchestra-search input{width:100%;min-height:40px;min-width:220px;border:1px solid #cddde8;border-radius:10px;padding:0 12px;background:#fbfdfe;color:var(--ink)}.v2-orchestra-search input:focus{border-color:var(--teal);outline:0;box-shadow:0 0 0 3px rgba(23,150,164,.1);background:#fff}@media(max-width:800px){.v2-orchestra-search{width:100%;min-width:0}.v2-orchestra-search input{min-width:0}}
.v2-orchestra-toolbar{flex-wrap:wrap}.v2-orchestra-toolbar>.v2-orchestra-result-count{margin-left:auto}.v2-orchestra-tools{margin-left:0}.v2-orchestra-tools>summary{display:block;cursor:pointer;list-style:none;white-space:nowrap}.v2-orchestra-tools>summary::-webkit-details-marker{display:none}.v2-orchestra-tools[open]{flex-basis:100%;width:100%;border-top:1px solid #dce8ee;padding-top:12px}.v2-orchestra-tools[open]>summary{width:max-content;margin-left:auto}.v2-orchestra-tools-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.v2-orchestra-tools-panel>section{min-width:0;padding:16px;border:1px solid #dce8ee;border-radius:14px;background:#f8fbfd}.v2-orchestra-tools-panel>section:nth-child(n+3){grid-column:1/-1}.v2-orchestra-tools-panel .v2-section-heading{margin-bottom:12px}.v2-orchestra-tools-panel .v2-section-heading h2{font-size:17px}.v2-orchestra-tools-panel .v2-orchestra-controls+.v2-orchestra-controls{margin-top:10px}@media(max-width:800px){.v2-orchestra-toolbar>.v2-orchestra-result-count{margin-left:0}.v2-orchestra-tools{margin-left:0}.v2-orchestra-tools-panel{grid-template-columns:1fr}.v2-orchestra-tools-panel>section{grid-column:1!important}}
.v2-orchestra-followup span small{display:block;margin-top:3px;color:#6d8192;line-height:1.35}
.v2-orchestra-contact-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.v2-orchestra-outcomes{position:relative}.v2-orchestra-outcomes>summary{min-height:36px;display:flex;align-items:center;padding:0 10px;border:1px solid #d6e3ea;border-radius:9px;background:#fff;color:#315572;font-size:11px;font-weight:800;cursor:pointer;list-style:none}.v2-orchestra-outcomes>summary::-webkit-details-marker{display:none}.v2-orchestra-outcomes>div{position:absolute;z-index:8;right:0;top:calc(100% + 6px);min-width:190px;display:grid;gap:6px;padding:8px;border:1px solid #cbdde6;border-radius:12px;background:#fff;box-shadow:0 14px 32px rgba(15,58,101,.18)}.v2-orchestra-outcomes .v2-btn{justify-content:flex-start;width:100%}@media(max-width:600px){.v2-orchestra-contact-actions{width:100%;justify-content:flex-start}.v2-orchestra-outcomes>div{right:auto;left:0}}
.v2-orchestra-task-actions{justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:6px}.v2-orchestra-task-actions .v2-btn,.v2-orchestra-contact-actions .v2-btn{min-height:32px;padding:7px 10px;border-radius:9px;font-size:11px;line-height:1.15;box-shadow:none}.v2-orchestra-task-actions .v2-btn-primary,.v2-orchestra-contact-actions .v2-btn-primary{box-shadow:0 5px 14px rgba(255,55,133,.13)}.v2-orchestra-card-more{margin-left:auto}.v2-orchestra-card-more>div{width:196px;box-sizing:border-box}.v2-orchestra-card-more .v2-btn{justify-content:center}.v2-orchestra-assignee{display:grid;gap:5px;margin:0;padding:5px}.v2-orchestra-card-more .v2-orchestra-assignee{width:100%;box-sizing:border-box}.v2-orchestra-assignee span{font-size:10px;font-weight:800;color:#557086}.v2-orchestra-assignee select{width:100%;min-height:34px;box-sizing:border-box;border:1px solid #cbdde6;border-radius:8px;padding:0 8px;background:#fff;color:#123f66;font-weight:750}.v2-orchestra-followup{padding:9px 10px;background:#f5f9fb;border:1px solid #edf3f6}.v2-orchestra-followup>span{display:grid;gap:3px}.v2-orchestra-followup small{display:block;color:#60798e}.v2-orchestra-contact-actions{gap:6px}.v2-orchestra-toolbar{display:grid;grid-template-columns:auto minmax(210px,300px) minmax(270px,1fr) auto auto}.v2-orchestra-toolbar select{min-width:0}.v2-orchestra-search{display:flex;align-items:center;gap:8px}.v2-orchestra-search input{min-width:180px;width:100%}.v2-orchestra-result-count{white-space:nowrap}.v2-orchestra-tools{margin-left:0}@media(max-width:900px){.v2-orchestra-toolbar{grid-template-columns:auto 1fr}.v2-orchestra-search,.v2-orchestra-result-count,.v2-orchestra-tools{grid-column:1/-1}.v2-orchestra-card-more{margin-left:0}}@media(max-width:600px){.v2-orchestra-followup{align-items:stretch}.v2-orchestra-contact-actions{justify-content:flex-start}.v2-orchestra-task-actions .v2-btn,.v2-orchestra-contact-actions .v2-btn{min-height:34px}.v2-orchestra-card-more>div{right:auto;left:0}}
.v2-orchestra-lane{position:relative;min-width:0;overflow:visible}.v2-orchestra-lane:has(.v2-orchestra-outcomes[open]){z-index:20}.v2-orchestra-lane>header{border-radius:17px 17px 0 0}.v2-orchestra-task:has(.v2-orchestra-outcomes[open]){position:relative;z-index:21}.v2-orchestra-task:last-child{border-radius:0 0 17px 17px}.v2-orchestra-outcomes>summary{min-height:40px;padding-inline:12px}.v2-orchestra-card-more>div{top:auto;bottom:calc(100% + 6px)}
.v2-orchestra-task.is-focused{position:relative;z-index:2;outline:3px solid rgba(255,55,133,.65);outline-offset:-3px;background:#fff8fb;box-shadow:0 10px 28px rgba(255,55,133,.18)}
.v2-orchestra-board{align-items:start}
.v2-orchestra-board .v2-orchestra-lane{align-self:start}
.v2-orchestra-card-more>div{right:auto;left:50%;transform:translateX(-50%)}
.v2-orchestra-card-more .v2-btn{display:flex;align-items:center;justify-content:center;text-align:center}
.v2-orchestra-card-more>div>.v2-orchestra-assignee{width:100%;min-width:0;grid-template-columns:minmax(0,1fr);justify-self:stretch;text-align:center}
.v2-orchestra-card-more>div>.v2-orchestra-assignee>span{display:block;width:100%;text-align:center}
.v2-orchestra-card-more>div>.v2-orchestra-assignee>select{display:block;width:130px;min-width:0;max-width:100%;margin:0 auto;justify-self:center;text-align:center;text-align-last:center}
@media(max-width:600px){.v2-orchestra-card-more>div{left:0;transform:none}}
.v2-opportunity-overview{margin-bottom:14px;padding:16px;border:1px solid #b9e0dd;border-radius:18px;background:linear-gradient(135deg,#f2fbfa,#f7fafc)}.v2-opportunity-overview h2{margin:3px 0;color:var(--navy)}.v2-opportunity-overview p{margin:0;color:var(--muted)}.v2-opportunity-overview-kpis{display:flex;gap:8px}.v2-opportunity-overview-kpis span{padding:9px 11px;border-radius:11px;background:#fff;color:var(--muted)}.v2-opportunity-overview-kpis strong{color:var(--navy);font-size:18px}.v2-opportunity-streams{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.v2-opportunity-streams button{display:flex;flex-direction:column;gap:4px;padding:11px;border:1px solid #d4e4e8;border-radius:12px;background:#fff;text-align:left;cursor:pointer}.v2-opportunity-streams button:hover{border-color:#1796a4;box-shadow:0 5px 14px rgba(15,58,101,.08)}.v2-opportunity-streams button>span{color:#0b8895;font-size:9px;font-weight:800;text-transform:uppercase}.v2-opportunity-streams button>strong{color:var(--navy);font-size:12px}.v2-opportunity-streams button>small{color:var(--muted);line-height:1.4}@media(max-width:1024px){.v2-opportunity-streams{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.v2-opportunity-streams{grid-template-columns:1fr}.v2-opportunity-overview .v2-section-heading{align-items:flex-start;flex-direction:column}}
.v2-opportunity-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-top:14px}.v2-opportunity-categories button{display:flex;min-height:84px;flex-direction:column;gap:3px;padding:12px;border:1px solid #d4e4e8;border-radius:13px;background:#fff;color:var(--navy);text-align:left;cursor:pointer}.v2-opportunity-categories button:hover,.v2-opportunity-categories button.active{border-color:#0797a6;box-shadow:0 5px 16px rgba(15,58,101,.09)}.v2-opportunity-categories button.active{background:#e8f8f6}.v2-opportunity-categories strong{font-size:13px}.v2-opportunity-categories span{font-size:11px;font-weight:800;color:#078995}.v2-opportunity-categories small{color:var(--muted)}.v2-opportunity-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,480px) auto;align-items:end;gap:12px;margin-top:14px;padding:12px;border:1px solid #d7e6eb;border-radius:13px;background:#fff}.v2-opportunity-toolbar>div{display:flex;flex-direction:column;gap:3px}.v2-opportunity-toolbar>div>strong{color:var(--navy);font-size:17px}.v2-opportunity-toolbar>div>span{color:var(--muted);font-size:11px}.v2-opportunity-results{min-height:220px;margin-top:12px}.v2-opportunity-company-list{display:grid;gap:14px}.v2-opportunity-company{overflow:hidden;border:1px solid #c8dde6;border-radius:16px;background:#fff}.v2-opportunity-company>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid #dbe8ed;background:#eef8f8}.v2-opportunity-company>header h3{margin:2px 0;color:var(--navy);font-size:19px}.v2-opportunity-company>header p{margin:0;color:var(--muted);font-size:11px}.v2-opportunity-company-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:12px;padding:12px}.v2-opportunity-company-grid>section{min-width:0;padding:10px;border:1px solid #e0eaee;border-radius:13px;background:#fafdfe}.v2-opportunity-company-grid h4{margin:0 0 8px;color:var(--navy);font-size:12px}.v2-opportunity-company-grid .v2-mission-result{margin-top:8px}.v2-opportunity-company-grid .v2-mission-result.is-compact{grid-template-columns:46px minmax(0,1fr);align-items:start}.v2-opportunity-company-grid .v2-mission-result.is-compact .v2-result-score{width:42px;height:42px}.v2-opportunity-company-grid .v2-mission-result.is-compact .v2-result-actions{grid-column:2;justify-content:flex-start}.v2-opportunity-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:var(--muted)}.v2-opportunity-pagination>div{display:flex;align-items:center;gap:10px}.v2-opportunity-pagination strong{color:var(--navy)}.v2-mission-history-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:13px 16px;border:1px solid #d9e6eb;border-radius:15px;background:#fff}.v2-mission-history-toggle>div{display:flex;flex-direction:column;gap:2px}.v2-mission-history-toggle strong{color:var(--navy);font-size:15px}.v2-mission-history-toggle small{color:var(--muted)}
.v2-opportunity-company.is-contact-only .v2-opportunity-company-grid{grid-template-columns:1fr}.v2-opportunity-company.is-contact-only .v2-opportunity-company-grid>section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v2-opportunity-company.is-contact-only .v2-opportunity-company-grid h4,.v2-opportunity-company.is-contact-only .v2-empty-inline{grid-column:1/-1}
.v2-opportunity-search{display:grid;gap:5px;min-width:0;color:#315572;font-size:10px;font-weight:750}.v2-opportunity-search>div{display:flex;align-items:center;min-height:42px;padding:0 12px;border:1px solid #cddde8;border-radius:11px;background:#fbfdfe;transition:border-color .16s ease,box-shadow .16s ease}.v2-opportunity-search>div:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px rgba(23,150,164,.1);background:#fff}.v2-opportunity-search svg{width:18px;height:18px;flex:0 0 auto;margin-right:9px;color:#6a8295}.v2-opportunity-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;font-size:12px}.v2-opportunity-search input::placeholder{color:#8295a4}.v2-opportunity-search input::-webkit-search-cancel-button{cursor:pointer}
@media(max-width:1100px){.v2-opportunity-toolbar{grid-template-columns:1fr 1fr}.v2-opportunity-toolbar>.v2-btn{grid-column:1/-1}.v2-opportunity-company-grid{grid-template-columns:1fr}.v2-opportunity-company.is-contact-only .v2-opportunity-company-grid>section{grid-template-columns:1fr}}
@media(max-width:700px){.v2-opportunity-toolbar{grid-template-columns:1fr}.v2-opportunity-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-opportunity-pagination,.v2-mission-history-toggle{align-items:flex-start;flex-direction:column}.v2-opportunity-company>header{align-items:flex-start;flex-direction:column}}
.v2-orchestra-board .v2-orchestra-lane{position:relative;min-width:0;overflow:visible}.v2-orchestra-lane:has(.v2-orchestra-outcomes[open]){z-index:20}.v2-orchestra-card-more>div{top:auto;bottom:calc(100% + 6px)}
.v2-orchestra-board{align-items:start}
.v2-orchestra-board .v2-orchestra-lane{align-self:start}
.v2-orchestra-card-more>div{right:auto;left:50%;transform:translateX(-50%)}
.v2-orchestra-card-more .v2-btn{display:flex;align-items:center;justify-content:center;text-align:center}
.v2-orchestra-card-more>div>.v2-orchestra-assignee{width:100%;min-width:0;grid-template-columns:minmax(0,1fr);justify-self:stretch;text-align:center}
.v2-orchestra-card-more>div>.v2-orchestra-assignee>span{display:block;width:100%;text-align:center}
.v2-orchestra-card-more>div>.v2-orchestra-assignee>select{display:block;width:130px;min-width:0;max-width:100%;margin:0 auto;justify-self:center;text-align:center;text-align-last:center}
@media(max-width:600px){.v2-orchestra-card-more>div{left:0;transform:none}}
.v2-dma-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:14px;padding:22px;border:1px solid #b8dedc;border-radius:20px;background:linear-gradient(135deg,#eefaf8,#f8fbfd)}.v2-dma-hero h2{margin:4px 0 6px;color:var(--navy);font-size:25px}.v2-dma-hero p{max-width:720px;margin:0;color:var(--muted)}.v2-dma-hero-actions{display:flex;align-items:end;gap:8px;flex:0 0 auto}.v2-dma-hero-actions label,.v2-dma-toolbar label,.v2-dma-target{display:grid;gap:5px;color:#315572;font-size:10px;font-weight:800}.v2-dma-hero-actions select,.v2-dma-toolbar select,.v2-dma-target select{min-height:42px;border:1px solid #cddde8;border-radius:10px;padding:0 11px;background:#fff;color:#173f65}.v2-dma-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.v2-dma-summary>div{display:grid;gap:4px;padding:15px;border:1px solid #d7e4ec;border-radius:15px;background:#fff}.v2-dma-summary strong{color:var(--navy);font-size:25px}.v2-dma-summary span{color:var(--muted);font-size:11px}.v2-dma-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px 12px;border:1px solid #d7e4ec;border-radius:14px;background:#fff}.v2-dma-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v2-dma-item{display:grid;align-content:start;gap:10px;min-width:0;padding:16px;border:1px solid #d8e5eb;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(15,58,101,.05)}.v2-dma-item.is-actionable{border-color:#e7c66d}.v2-dma-item>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.v2-dma-item h3{margin:3px 0 0;color:var(--navy);font-size:17px}.v2-dma-meta,.v2-dma-decision-meta{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.v2-dma-item blockquote{margin:0;padding:11px 12px;border-left:3px solid var(--teal);border-radius:0 10px 10px 0;background:#f4f9fa;color:#294a63;font-size:12px;line-height:1.5}.v2-dma-actions{display:flex;align-items:end;flex-wrap:wrap;gap:7px;margin-top:auto}.v2-dma-actions .v2-btn{min-height:38px}.v2-dma-target{min-width:190px;flex:1}.v2-dma-link{width:max-content;max-width:100%;color:#087d89;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}@media(max-width:1000px){.v2-dma-hero{align-items:flex-start;flex-direction:column}.v2-dma-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-dma-list{grid-template-columns:1fr}}@media(max-width:680px){.v2-dma-hero-actions,.v2-dma-toolbar{width:100%;align-items:stretch;flex-direction:column}.v2-dma-hero-actions label,.v2-dma-hero-actions .v2-btn{width:100%}.v2-dma-summary{grid-template-columns:1fr 1fr}.v2-dma-toolbar .v2-mode-tabs{width:100%}.v2-dma-actions{align-items:stretch;flex-direction:column}.v2-dma-actions .v2-btn,.v2-dma-target{width:100%}}@media(max-width:390px){.v2-dma-summary{grid-template-columns:1fr}}
.v2-contact-opportunities{display:grid;grid-template-columns:minmax(110px,.28fr) minmax(0,1fr);gap:10px 18px;align-items:start;padding:12px 18px;border-top:1px solid var(--v2-border,#d9e5ec);background:#f7fbfd}.v2-contact-opportunities>span{color:#587286;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.v2-contact-opportunities>div{display:flex;flex-wrap:wrap;gap:8px 14px;min-width:0}.v2-contact-opportunities a{color:#005f7a;font-weight:700;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.v2-contact-opportunities a:hover{color:#003f55}@media(max-width:700px){.v2-contact-opportunities{grid-template-columns:1fr}}
/* Tickets collaboratifs */
.v2-nav-tickets { position: relative; }
.v2-nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: #ef4444; color: #fff; font: 700 11px/1 system-ui; font-style: normal; box-shadow: 0 0 0 2px rgba(255,255,255,.14); }
.v2-nav-badge[hidden] { display: none; }
.sidebar-collapsed .v2-nav-badge { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; }
.v2-ticket-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border-radius: 22px; background: linear-gradient(135deg, #102f4f, #17517c); color: #fff; box-shadow: 0 16px 36px rgba(15,58,101,.16); }
.v2-ticket-hero h2 { margin: 4px 0 6px; font-size: clamp(22px, 2.2vw, 32px); }
.v2-ticket-hero p { margin: 0; max-width: 700px; color: rgba(255,255,255,.78); }
.v2-ticket-hero .v2-eyebrow { color: #8fd8ff; }
.v2-ticket-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.v2-ticket-metrics article { padding: 16px 18px; border: 1px solid var(--v2-border, #dce5ed); border-radius: 16px; background: #fff; }
.v2-ticket-metrics span { display: block; color: #687b8c; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.v2-ticket-metrics strong { display: block; margin-top: 5px; color: #123a5c; font-size: 27px; }
.v2-ticket-toolbar { display: grid; grid-template-columns: minmax(240px,1fr) 180px 180px auto; gap: 10px; align-items: end; margin-bottom: 14px; }
.v2-ticket-toolbar .v2-search { grid-column: auto; }
.v2-ticket-toolbar label, .v2-ticket-controls label { display: grid; gap: 5px; color: #5f7284; font-size: 12px; font-weight: 700; }
.v2-ticket-toolbar input, .v2-ticket-toolbar select, .v2-ticket-controls select { min-height: 42px; padding: 8px 11px; border: 1px solid #cfdae4; border-radius: 11px; background: #fff; color: #173b59; }
.v2-ticket-workspace { display: grid; grid-template-columns: minmax(310px,380px) minmax(0,1fr); gap: 14px; min-height: 520px; }
.v2-ticket-list, .v2-ticket-detail { overflow: auto; border: 1px solid #dbe4ec; border-radius: 18px; background: #fff; }
.v2-ticket-list { padding: 8px; }
.v2-ticket-row { position: relative; width: 100%; padding: 14px; border: 0; border-bottom: 1px solid #edf1f4; border-radius: 12px; background: transparent; color: #193a55; text-align: left; cursor: pointer; }
.v2-ticket-row:hover { background: #f3f8fb; }
.v2-ticket-row.unread { background: #edf8ff; box-shadow: inset 3px 0 #1685c2; }
.v2-ticket-row > strong, .v2-ticket-row > span { display: block; }
.v2-ticket-row > strong { margin: 8px 0 4px; font-size: 14px; }
.v2-ticket-row > span:not(.v2-ticket-row-top):not(.v2-ticket-row-foot) { color: #708292; font-size: 12px; }
.v2-ticket-row-top, .v2-ticket-row-foot { display: flex !important; align-items: center; gap: 7px; }
.v2-ticket-row-top i { width: 8px; height: 8px; border-radius: 50%; background: #8ba0b2; }
.v2-ticket-row-top i.priority-high { background: #f59e0b; }.v2-ticket-row-top i.priority-critical { background: #ef4444; }
.v2-ticket-row-top b { color: #557085; font-size: 11px; text-transform: uppercase; }
.v2-ticket-row-top time { margin-left: auto; color: #8a9aa7; font-size: 10px; }
.v2-ticket-row-foot { margin-top: 10px; justify-content: space-between; }
.v2-ticket-row-foot em, .v2-ticket-priority { padding: 4px 8px; border-radius: 999px; background: #e8eef3; color: #435d72; font-size: 11px; font-style: normal; font-weight: 800; }
.v2-ticket-row-foot em.status-in_progress { background: #dbeafe; color: #1d4ed8; }.v2-ticket-row-foot em.status-to_verify { background: #fef3c7; color: #92400e; }.v2-ticket-row-foot em.status-resolved { background: #dcfce7; color: #166534; }
.v2-ticket-detail { padding: 22px; }
.v2-ticket-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.v2-ticket-detail-head h2 { margin: 5px 0; color: #123a5c; }.v2-ticket-detail-head p { margin: 0; color: #718290; font-size: 13px; }
.v2-ticket-priority.priority-high { background: #fef3c7; color: #92400e; }.v2-ticket-priority.priority-critical { background: #fee2e2; color: #991b1b; }
.v2-ticket-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 20px 0; padding: 14px; border-radius: 14px; background: #f6f9fb; }
.v2-ticket-controls label { min-width: 140px; }.v2-ticket-controls .v2-btn:first-of-type { margin-left: auto; }
.v2-ticket-description { padding: 18px; border-left: 4px solid #1685c2; border-radius: 0 14px 14px 0; background: #f5fafd; }
.v2-ticket-description p { margin: 8px 0 0; color: #29475e; line-height: 1.55; }
.v2-ticket-context { display: flex; gap: 12px; margin: 12px 0; padding: 12px 15px; border: 1px dashed #c8d7e2; border-radius: 12px; color: #667b8c; font-size: 12px; }.v2-ticket-context strong { color: #29475e; }
.v2-ticket-qualification { display: grid; gap: 14px; margin-top: 18px; padding: 18px; border: 1px solid #cfe3ef; border-radius: 16px; background: #f8fcfe; }
.v2-ticket-diagnostic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.v2-ticket-diagnostic-grid article,.v2-ticket-analysis-block { padding: 13px 15px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(18,58,92,.06); }
.v2-ticket-diagnostic-grid span,.v2-ticket-analysis-block > span,.v2-ticket-recommendation span { display: block; margin-bottom: 6px; color: #60788a; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.v2-ticket-diagnostic-grid p,.v2-ticket-analysis-block p { margin: 4px 0; color: #29475e; line-height: 1.45; }
.v2-ticket-analysis-block ul { margin: 7px 0 0; padding-left: 20px; color: #29475e; }
.v2-ticket-solutions { display: grid; gap: 8px; }.v2-ticket-solutions article { padding: 11px 13px; border: 1px solid #e1ebf1; border-radius: 11px; }.v2-ticket-solutions p { margin: 5px 0; }.v2-ticket-solutions small { color: #708493; }
.v2-ticket-recommendation { padding: 14px 16px; border-left: 4px solid #16a085; border-radius: 0 12px 12px 0; background: #edfaf6; color: #174f43; }
.v2-ticket-thread { margin-top: 22px; }.v2-ticket-comments { display: grid; gap: 9px; }
.v2-ticket-comments article { padding: 13px 15px; border-radius: 13px; background: #f7f9fb; }.v2-ticket-comments article div { display: flex; justify-content: space-between; color: #23445e; font-size: 12px; }.v2-ticket-comments time { color: #8a9aa7; }.v2-ticket-comments p { margin: 7px 0 0; color: #405b70; line-height: 1.45; }
.v2-ticket-composer { display: grid; gap: 10px; margin-top: 16px; padding: 15px; border: 1px solid #d5e3ec; border-radius: 16px; background: linear-gradient(145deg,#f8fbfd,#f1f7fa); }
.v2-ticket-composer > label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #173b59; font-size: 13px; font-weight: 800; }
.v2-ticket-composer > label small { color: #758b9c; font-size: 11px; font-weight: 600; }
.v2-ticket-composer > div { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px; }
.v2-ticket-composer textarea { box-sizing: border-box; width: 100%; min-height: 92px; padding: 13px 14px; border: 1px solid #bfd2df; border-radius: 12px; outline: 0; resize: vertical; background: #fff; color: #173b59; font: inherit; line-height: 1.5; transition: border-color .16s ease,box-shadow .16s ease; }
.v2-ticket-composer textarea:focus { border-color: #1685c2; box-shadow: 0 0 0 3px rgba(22,133,194,.12); }
.v2-ticket-composer .v2-btn { min-height: 44px; white-space: nowrap; }
.v2-btn-danger-ghost { border: 1px solid #fecaca; background: #fff; color: #b42318; }
.v2-btn-danger-ghost:hover { border-color: #ef4444; background: #fff1f2; }
.v2-ticket-create-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }.v2-ticket-create-grid label { display: grid; gap: 6px; }.v2-ticket-create-grid .wide { grid-column: 1/-1; }.v2-ticket-create-grid input,.v2-ticket-create-grid select,.v2-ticket-create-grid textarea { padding: 11px; border: 1px solid #ccd8e2; border-radius: 11px; }
.v2-ticket-routing { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: #edf8ff; color: #27516d; font-size: 13px; }
@media (max-width: 960px) { .v2-ticket-metrics { grid-template-columns: repeat(2,1fr); }.v2-ticket-toolbar { grid-template-columns: 1fr 1fr; }.v2-ticket-workspace { grid-template-columns: 1fr; }.v2-ticket-list { max-height: 360px; } }
@media (max-width: 620px) { .v2-ticket-hero,.v2-ticket-detail-head,.v2-ticket-routing { align-items: stretch; flex-direction: column; }.v2-ticket-toolbar,.v2-ticket-create-grid,.v2-ticket-diagnostic-grid { grid-template-columns: 1fr; }.v2-ticket-create-grid .wide { grid-column: auto; }.v2-ticket-controls .v2-btn:first-of-type { margin-left: 0; }.v2-ticket-metrics { gap: 8px; }.v2-ticket-composer > label { align-items: flex-start; flex-direction: column; gap: 3px; }.v2-ticket-composer > div { grid-template-columns: 1fr; }.v2-ticket-composer .v2-btn { width: 100%; } }

.v2-plan-hero { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 30px; border-radius: 22px; background: linear-gradient(130deg,#0e3155 0%,#12567a 58%,#087f87 100%); color: #fff; box-shadow: 0 14px 34px rgba(15,48,82,.16); }
.v2-plan-hero h2 { max-width: 900px; margin: 5px 0 8px; font-size: clamp(25px,3vw,40px); line-height: 1.12; }
.v2-plan-hero p { max-width: 820px; margin: 0; color: #d9edf4; line-height: 1.55; }
.v2-plan-hero .v2-eyebrow { color: #9ff3e8; }
.v2-plan-hero-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 10px; }
.v2-plan-hero-actions .v2-btn { min-height: 44px; }
.v2-plan-meta { display: flex; align-items: center; gap: 22px; margin: 14px 0 18px; padding: 11px 16px; border: 1px solid #d6e4eb; border-radius: 13px; background: #fff; color: #5f7485; font-size: 12px; }
.v2-plan-meta strong { color: var(--navy); }
.v2-plan-meta button { margin-left: auto; border: 0; background: transparent; color: #087f87; font: inherit; font-weight: 800; cursor: pointer; }
.v2-plan-workspace { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,390px); align-items: start; gap: 20px; }
.v2-plan-document { min-height: 720px; padding: clamp(28px,5vw,64px); border: 1px solid #dce6ec; border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(21,53,77,.07); }
.v2-plan-paper { max-width: 900px; margin: 0 auto; color: #28465c; font-size: 15px; line-height: 1.78; }
.v2-plan-paper h2 { margin: 0 0 28px; color: #0d3155; font-size: clamp(28px,3vw,40px); line-height: 1.15; }
.v2-plan-paper h3 { margin: 40px 0 13px; padding-bottom: 9px; border-bottom: 1px solid #dce8ed; color: #0e526e; font-size: 22px; }
.v2-plan-paper h4 { margin: 26px 0 9px; color: #087f87; font-size: 17px; }
.v2-plan-paper p { margin: 0 0 17px; }
.v2-plan-paper ul { margin: 0 0 19px; padding-left: 24px; }
.v2-plan-paper li { margin: 7px 0; padding-left: 4px; }
.v2-roadmap-empty-copy { display: grid; place-items: center; min-height: 470px; text-align: center; color: #788d9b; }
.v2-roadmap-empty-copy strong { align-self: end; color: #173b59; font-size: 23px; }
.v2-roadmap-empty-copy span { align-self: start; max-width: 480px; margin-top: 8px; }
.v2-plan-document > .v2-btn { display: block; margin: 24px auto 0; }
.v2-plan-discussion { position: sticky; top: 18px; overflow: hidden; border: 1px solid #d9e5eb; border-radius: 19px; background: #fff; box-shadow: 0 10px 30px rgba(21,53,77,.06); }
.v2-plan-discussion > .v2-section-heading { padding: 19px 20px 4px; }
.v2-plan-composer { display: grid; gap: 10px; margin: 13px; padding: 15px; border: 1px solid #cce2e4; border-radius: 14px; background: #f1faf9; }
.v2-plan-composer label { display: grid; gap: 3px; color: #174861; font-size: 13px; font-weight: 850; }
.v2-plan-composer small { color: #728a98; font-size: 11px; font-weight: 600; }
.v2-plan-composer textarea { box-sizing: border-box; width: 100%; padding: 12px; border: 1px solid #bcd3dc; border-radius: 11px; outline: 0; resize: vertical; color: #173b59; font: inherit; line-height: 1.5; }
.v2-plan-composer textarea:focus { border-color: #087f87; box-shadow: 0 0 0 3px rgba(8,127,135,.12); }
.v2-plan-composer .v2-btn { justify-self: end; }
.v2-plan-comments { display: grid; gap: 10px; max-height: 560px; overflow-y: auto; padding: 0 13px 16px; }
.v2-plan-comment { padding: 14px; border: 1px solid #e0e8ed; border-radius: 13px; background: #fbfcfd; }
.v2-plan-comment.status-integrated { border-color: #bce5d6; background: #f0faf6; }
.v2-plan-comment.status-dismissed { opacity: .74; }
.v2-plan-comment header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.v2-plan-comment header div { display: grid; gap: 2px; }
.v2-plan-comment time { color: #8294a0; font-size: 10px; }
.v2-plan-comment header > span { padding: 4px 7px; border-radius: 999px; background: #e8f1f5; color: #36596d; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.v2-plan-comment p { margin: 11px 0 0; color: #3b586c; font-size: 12px; line-height: 1.55; }
.v2-plan-comment footer { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.v2-plan-comment footer .v2-btn { min-height: 32px; padding: 6px 9px; font-size: 10px; }
.v2-plan-dialog { width: min(1120px,calc(100vw - 30px)); }
.v2-plan-editor { display: grid; gap: 14px; }
.v2-plan-editor label { display: grid; gap: 6px; color: #173b59; font-size: 12px; font-weight: 850; }
.v2-plan-editor small { color: #718795; font-weight: 600; }
.v2-plan-editor input,.v2-plan-editor textarea { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 1px solid #c5d7e0; border-radius: 12px; outline: 0; color: #173b59; font: inherit; }
.v2-plan-editor textarea { min-height: 58vh; resize: vertical; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 13px; line-height: 1.6; }
.v2-plan-editor input:focus,.v2-plan-editor textarea:focus { border-color: #087f87; box-shadow: 0 0 0 3px rgba(8,127,135,.12); }
@media (max-width: 1050px) { .v2-plan-workspace { grid-template-columns: 1fr; }.v2-plan-discussion { position: static; }.v2-plan-comments { max-height: none; } }
@media (max-width: 700px) { .v2-plan-hero { align-items: stretch; flex-direction: column; padding: 22px; }.v2-plan-meta { align-items: flex-start; flex-direction: column; gap: 7px; }.v2-plan-meta button { margin-left: 0; }.v2-plan-document { min-height: 520px; padding: 25px 20px; } }

.v2-dma-item.is-focused { border-color: #168b8f; box-shadow: 0 0 0 3px rgba(22,139,143,.14),0 10px 26px rgba(15,58,101,.09); }
.v2-dma-revenue-origin { display: block; margin-top: 4px; color: #168b8f; font-size: 9px; font-weight: 850; }
.v2-dma-revenue-context { display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:13px 15px;border:1px solid #b8dedc;border-radius:14px;background:#f2fbfa; }
.v2-dma-revenue-context>div { display:grid;gap:3px; }
.v2-dma-revenue-context strong { color:var(--navy);font-size:13px; }
.v2-dma-revenue-context small { color:var(--muted);font-size:10px; }
@media(max-width:680px){.v2-dma-revenue-context{align-items:stretch;flex-direction:column}.v2-dma-revenue-context .v2-btn{width:100%}}
.v2-dma-linked-revenue { display:grid;gap:2px;margin:0;padding:9px 10px;border-radius:10px;background:#eef6fb;color:var(--muted);font-size:10px; }
.v2-dma-linked-revenue span { color:#168b8f;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.05em; }
.v2-dma-linked-revenue strong { color:var(--navy);font-size:11px; }

/* Roadmap structurée : document long, navigation et discussions contextuelles. */
.v2-plan-hero-stats { display: grid; grid-template-columns: repeat(3,minmax(88px,1fr)); flex: 0 0 auto; gap: 9px; }
.v2-plan-hero-stats span { display: grid; min-width: 88px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.19); border-radius: 13px; background: rgba(255,255,255,.09); color: #d9edf4; font-size: 10px; text-align: center; }
.v2-plan-hero-stats strong { color: #fff; font-size: 20px; line-height: 1.05; }
.v2-plan-shell { display: grid; grid-template-columns: minmax(210px,255px) minmax(460px,1fr) minmax(300px,360px); align-items: start; gap: 16px; }
.v2-plan-navigation,.v2-plan-discussion { position: sticky; top: 16px; max-height: calc(100vh - 34px); overflow: hidden; border: 1px solid #d9e5eb; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(21,53,77,.06); }
.v2-plan-navigation { display: flex; flex-direction: column; }
.v2-plan-search { display: grid; gap: 6px; padding: 15px 14px 11px; color: #617988; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.v2-plan-search input { box-sizing: border-box; width: 100%; padding: 10px 11px; border: 1px solid #cbdce4; border-radius: 10px; outline: 0; color: #173b59; font-family: inherit; font-size: 11px; font-weight: 600; line-height: 1.3; text-transform: none; }
.v2-plan-search input:focus { border-color: #087f87; box-shadow: 0 0 0 3px rgba(8,127,135,.1); }
.v2-plan-nav-overview,.v2-plan-nav-item { display: grid; width: 100%; border: 0; background: transparent; color: #274a61; cursor: pointer; text-align: left; }
.v2-plan-nav-overview { grid-template-columns: 24px 1fr; align-items: center; gap: 7px; padding: 11px 14px; border-block: 1px solid #e4edf1; }
.v2-plan-nav-overview span { color: #07949a; font-size: 18px; }
.v2-plan-nav-overview strong { font-size: 12px; }
.v2-plan-nav-overview.is-active { background: #e8f7f5; color: #086c73; }
.v2-plan-nav-list { overflow-y: auto; padding: 7px; }
.v2-plan-nav-item { position: relative; grid-template-columns: 24px 1fr auto; align-items: start; gap: 7px; padding: 10px 8px; border-radius: 10px; }
.v2-plan-nav-item:hover { background: #f3f8fa; }
.v2-plan-nav-item.is-active { background: #103b5d; color: #fff; }
.v2-plan-nav-item.is-now:not(.is-active) { background: #fff4f8; color: #9d2359; }
.v2-plan-nav-item > span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; background: #e8f2f5; color: #087f87; font-size: 10px; font-weight: 900; }
.v2-plan-nav-item.is-active > span { background: #fff; color: #103b5d; }
.v2-plan-nav-item strong { display: -webkit-box; overflow: hidden; padding-top: 2px; font-size: 10px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.v2-plan-nav-item em { min-width: 18px; padding: 3px 5px; border-radius: 999px; background: #ff2f86; color: #fff; font-size: 8px; font-style: normal; font-weight: 900; text-align: center; }
.v2-plan-main { min-width: 0; }
.v2-plan-main-actions { display: flex; justify-content: flex-end; gap: 8px; min-height: 38px; margin-bottom: 10px; }
.v2-plan-main-actions .v2-btn { min-height: 36px; padding: 8px 12px; font-size: 10px; }
.v2-plan-document.v2-plan-document-structured,.v2-plan-document.v2-plan-overview { min-height: 650px; padding: clamp(24px,3vw,42px); }
.v2-plan-block-head { display: flex; justify-content: space-between; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid #dce8ed; }
.v2-plan-block-head h2,.v2-plan-overview-head h2 { margin: 5px 0 10px; color: #0d3155; font-size: clamp(24px,2.3vw,34px); line-height: 1.13; }
.v2-plan-block-head p,.v2-plan-overview-head p { max-width: 760px; margin: 0; color: #607889; font-size: 13px; line-height: 1.55; }
.v2-plan-block-count { align-self: start; flex: 0 0 auto; padding: 7px 9px; border-radius: 999px; background: #edf7f5; color: #087f87; font-size: 9px; font-weight: 850; }
.v2-plan-paper.v2-plan-paper-structured { max-width: none; margin-top: 24px; font-size: 14px; line-height: 1.68; }
.v2-plan-introduction { margin-bottom: 18px; padding: 18px; border-left: 4px solid #07979a; border-radius: 0 12px 12px 0; background: #f1f8f8; }
.v2-plan-introduction p:last-child { margin-bottom: 0; }
.v2-plan-chapters { display: grid; gap: 9px; }
.v2-plan-chapter { overflow: hidden; border: 1px solid #dce7ec; border-radius: 13px; background: #fff; scroll-margin-top: 18px; }
.v2-plan-chapter[open] { border-color: #bcdcdf; box-shadow: 0 7px 20px rgba(21,53,77,.055); }
.v2-plan-chapter summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 16px; color: #173f5a; cursor: pointer; font-size: 13px; font-weight: 850; list-style: none; }
.v2-plan-chapter summary::-webkit-details-marker { display: none; }
.v2-plan-chapter[open] summary { border-bottom: 1px solid #dce7ec; background: #f3f9f9; color: #087f87; }
.v2-plan-chapter-tools { display: flex; align-items: center; flex: 0 0 auto; gap: 7px; }
.v2-plan-chapter-tools em { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: #ff2f86; color: #fff; font-size: 8px; font-style: normal; }
.v2-plan-chapter-tools button { border: 0; background: transparent; color: #087f87; cursor: pointer; font-family: inherit; font-size: 9px; font-weight: 800; }
.v2-plan-chapter-tools i { font-size: 17px; font-style: normal; transition: transform .18s ease; }
.v2-plan-chapter[open] .v2-plan-chapter-tools i { transform: rotate(180deg); }
.v2-plan-chapter-body { padding: 18px 20px 20px; }
.v2-plan-chapter-body h4 { margin: 24px 0 8px; color: #0e526e; font-size: 15px; }
.v2-plan-chapter-body h4:first-child { margin-top: 0; }
.v2-plan-chapter-body p { margin: 0 0 13px; }
.v2-plan-chapter-body ul { margin: 0 0 15px; padding-left: 22px; }
.v2-plan-chapter-body li { margin: 5px 0; }
.v2-plan-overview-head { max-width: 760px; margin-bottom: 25px; }
.v2-plan-overview-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.v2-plan-overview-card { display: flex; flex-direction: column; min-height: 190px; padding: 17px; border: 1px solid #dce7ec; border-radius: 15px; background: #fbfdfe; color: #274a61; cursor: pointer; text-align: left; transition: transform .15s ease,box-shadow .15s ease,border-color .15s ease; }
.v2-plan-overview-card:hover { transform: translateY(-2px); border-color: #8ac8cb; box-shadow: 0 10px 22px rgba(21,53,77,.08); }
.v2-plan-overview-card.is-now { border-color: #ffabd0; background: #fff5f9; }
.v2-plan-overview-card > span { color: #079397; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.v2-plan-overview-card strong { margin: 8px 0; color: #133b58; font-size: 13px; line-height: 1.35; }
.v2-plan-overview-card p { display: -webkit-box; overflow: hidden; margin: 0; color: #607889; font-size: 11px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.v2-plan-overview-card footer { display: flex; justify-content: space-between; margin-top: auto; padding-top: 13px; color: #087f87; font-size: 9px; font-weight: 850; }
.v2-plan-discussion { display: flex; flex-direction: column; }
.v2-plan-discussion .v2-plan-comments { min-height: 100px; max-height: calc(100vh - 360px); }
.v2-plan-comment-location { margin-top: 9px; color: #087f87; font-size: 9px; font-weight: 850; }
.v2-plan-comment blockquote { margin: 9px 0 0; padding: 8px 10px; border-left: 3px solid #9ccfd1; background: #f2f8f8; color: #5e7686; font-size: 10px; }
.v2-plan-comment-clear { justify-self: start; border: 0; background: transparent; color: #087f87; cursor: pointer; font-family: inherit; font-size: 10px; font-weight: 750; }
@media (max-width: 1450px) { .v2-plan-shell { grid-template-columns: minmax(190px,225px) minmax(430px,1fr) minmax(280px,320px); }.v2-plan-hero-stats { display: none; } }
@media (max-width: 1120px) { .v2-plan-shell { grid-template-columns: minmax(190px,230px) minmax(0,1fr); }.v2-plan-discussion { position: static; grid-column: 1 / -1; max-height: none; }.v2-plan-discussion .v2-plan-comments { max-height: none; } }
@media (max-width: 780px) { .v2-plan-shell { grid-template-columns: 1fr; }.v2-plan-navigation { position: static; max-height: 420px; }.v2-plan-main-actions { justify-content: stretch; }.v2-plan-main-actions .v2-btn { flex: 1; }.v2-plan-overview-grid { grid-template-columns: 1fr; }.v2-plan-block-head { flex-direction: column; }.v2-plan-block-count { align-self: flex-start; } }

/* Relecture guidée : une synthèse digeste, la roadmap complète reste la référence. */
.v2-plan-modebar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 14px 0 10px; }
.v2-plan-mode-tabs { display: inline-grid; grid-template-columns: repeat(2,minmax(210px,1fr)); gap: 5px; padding: 5px; border: 1px solid #d6e4eb; border-radius: 15px; background: #eaf1f4; }
.v2-plan-mode-tabs button { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 10px 13px; border: 0; border-radius: 11px; background: transparent; color: #536d7f; cursor: pointer; font-family: inherit; text-align: left; }
.v2-plan-mode-tabs button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: #dce8ed; color: #426278; font-size: 15px; font-weight: 900; }
.v2-plan-mode-tabs button strong { color: inherit; font-size: 12px; line-height: 1.2; }
.v2-plan-mode-tabs button small { margin-top: 2px; color: #7a8e9b; font-size: 9px; }
.v2-plan-mode-tabs button.is-active { background: #fff; color: #0a6f75; box-shadow: 0 3px 10px rgba(21,53,77,.09); }
.v2-plan-mode-tabs button.is-active > span { background: #dff5ef; color: #087f71; }
.v2-plan-mode-help { color: #6b8190; font-size: 11px; }
.v2-plan-modebar + .v2-plan-meta { margin-top: 0; }
.v2-plan-summary-document { min-height: 650px !important; padding: clamp(24px,3vw,38px) !important; }
.v2-plan-summary-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #dce8ed; }
.v2-plan-summary-head h2 { margin: 5px 0 10px; color: #0d3155; font-size: clamp(22px,1.8vw,29px); line-height: 1.16; }
.v2-plan-summary-head p { max-width: 720px; margin: 0; color: #607889; font-size: 13px; line-height: 1.55; }
.v2-plan-review-progress { display: grid; flex: 0 0 auto; min-width: 92px; padding: 12px 14px; border-radius: 14px; background: #eef8f7; color: #087f78; text-align: center; }
.v2-plan-review-progress strong { font-size: 21px; line-height: 1.1; }
.v2-plan-review-progress span { margin-top: 3px; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.v2-plan-proposal-list { display: grid; gap: 12px; margin-top: 22px; }
.v2-plan-proposal { overflow: hidden; border: 1px solid #dce7ec; border-radius: 16px; background: #fff; transition: border-color .16s ease,box-shadow .16s ease; }
.v2-plan-proposal:hover { border-color: #afcfd6; box-shadow: 0 7px 20px rgba(21,53,77,.055); }
.v2-plan-proposal.is-validated { border-color: #a8dbc9; background: #fbfefd; }
.v2-plan-proposal.is-adjust { border-color: #f0c68a; background: #fffdf8; }
.v2-plan-proposal > header { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 13px; padding: 18px 18px 15px; }
.v2-plan-proposal > header > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: #edf5f7; color: #087f87; font-size: 11px; font-weight: 900; }
.v2-plan-proposal h3 { margin: 1px 0 7px; color: #123c5a; font-size: 15px; line-height: 1.35; }
.v2-plan-proposal p { margin: 0; color: #587183; font-size: 12px; line-height: 1.58; }
.v2-plan-editorial-summary > p { color: #36566b; font-size: 12px; line-height: 1.62; }
.v2-plan-editorial-summary dl { display: grid; gap: 7px; margin: 12px 0 0; }
.v2-plan-editorial-summary dl > div { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 9px; align-items: start; padding-top: 7px; border-top: 1px solid #e7eef1; }
.v2-plan-editorial-summary dt { color: #087f87; font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.v2-plan-editorial-summary dd { margin: 0; color: #526d7f; font-size: 11px; line-height: 1.52; }
.v2-plan-proposal > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; border-top: 1px solid #e7eef2; background: #fafcfd; }
.v2-plan-proposal > footer > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.v2-plan-review-actions { gap: 7px !important; }
.v2-plan-review-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 7px 10px; border: 1px solid #cfdee5; border-radius: 9px; background: #fff; color: #3d5a6e; cursor: pointer; font-family: inherit; font-size: 10px; font-weight: 850; }
.v2-plan-review-btn span { font-size: 13px; }
.v2-plan-review-btn.is-validate:hover,.v2-plan-review-btn.is-validate.is-active { border-color: #6bc3a6; background: #e8f8f2; color: #087257; }
.v2-plan-review-btn.is-adjust:hover,.v2-plan-review-btn.is-adjust.is-active { border-color: #e8ae58; background: #fff3df; color: #925c0d; }
.v2-plan-text-action { padding: 5px 2px; border: 0; border-bottom: 1px solid #9cc7cc; background: transparent; color: #087f87; cursor: pointer; font-family: inherit; font-size: 9px; font-weight: 800; }
.v2-plan-contribution-count { padding: 4px 7px; border-radius: 999px; background: #e9f1f4; color: #537082; font-size: 8px; font-weight: 850; }
.v2-plan-show-more { display: block; width: 100%; margin-top: 13px; padding: 11px 14px; border: 1px solid #c6dce3; border-radius: 11px; background: #f7fafb; color: #236179; cursor: pointer; font-family: inherit; font-size: 10px; font-weight: 850; }
.v2-plan-show-more:hover { border-color: #86bdc3; background: #eef8f7; color: #087f87; }
.v2-plan-add-proposal { display: grid; grid-template-columns: 34px 1fr; column-gap: 11px; width: 100%; margin-top: 14px; padding: 15px 17px; border: 1px dashed #8bc7c9; border-radius: 14px; background: #f5fbfa; color: #126a70; cursor: pointer; font-family: inherit; text-align: left; }
.v2-plan-add-proposal > span { grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #dff3ef; font-size: 19px; }
.v2-plan-add-proposal strong { font-size: 12px; }
.v2-plan-add-proposal small { margin-top: 2px; color: #6d858f; font-size: 9px; }
.v2-plan-review-panel { padding: 18px 18px 4px; }
.v2-plan-review-meter { overflow: hidden; height: 7px; margin: 11px 0 10px; border-radius: 999px; background: #e6eef1; }
.v2-plan-review-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0a9794,#29b889); transition: width .25s ease; }
.v2-plan-review-numbers { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.v2-plan-review-numbers span { display: grid; padding: 8px 5px; border-radius: 9px; background: #f4f8fa; color: #738793; font-size: 8px; text-align: center; }
.v2-plan-review-numbers strong { color: #173e59; font-size: 15px; }
.v2-plan-icon-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0 !important; border: 1px solid #c9dce2 !important; border-radius: 9px; background: #fff !important; }
.v2-plan-icon-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.v2-plan-chevron { width: 8px; height: 8px; margin: 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.v2-plan-chapter[open] .v2-plan-chevron { transform: rotate(225deg); }
.v2-plan-example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin: -5px 0 18px; }
.v2-plan-example-grid > span { display: grid; gap: 3px; padding: 10px 11px; border: 1px solid #dfebef; border-radius: 10px; background: #f8fbfc; }
.v2-plan-example-grid strong { color: #244b63; font-size: 10px; }
.v2-plan-example-grid em { color: #087f87; font-size: 9px; font-style: normal; font-weight: 800; }
@media (max-width: 900px) { .v2-plan-modebar { align-items: stretch; flex-direction: column; }.v2-plan-mode-tabs { width: 100%; box-sizing: border-box; }.v2-plan-mode-help { padding-inline: 5px; }.v2-plan-proposal > footer { align-items: flex-start; flex-direction: column; }.v2-plan-example-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .v2-plan-mode-tabs { grid-template-columns: 1fr; }.v2-plan-summary-head { flex-direction: column; }.v2-plan-review-progress { align-self: stretch; }.v2-plan-proposal > header { grid-template-columns: 1fr; }.v2-plan-proposal > footer > div { width: 100%; }.v2-plan-review-btn { flex: 1; justify-content: center; }.v2-plan-editorial-summary dl > div { grid-template-columns: 1fr; gap: 3px; } }

/* Compact navigation keeps each collapsible section reachable on phones. */
@media (max-width: 680px) {
  .v2-sidebar nav { flex-direction: row; overflow-y: hidden; }
  .v2-nav-section, .v2-nav-section.v2-sidebar-bottom { flex: 0 0 auto; margin: 0; padding: 0; }
  .v2-nav-section[open] { display: flex; align-items: center; }
  .v2-nav-section-items { display: flex; gap: 4px; }
  .v2-nav-section > summary, .v2-nav-section.v2-sidebar-bottom > summary { min-height: 40px; padding: 0 8px; border: 0; white-space: nowrap; }
}
.v2-global-context { grid-template-columns: minmax(155px, 1fr) auto; }

/* Direct actions and assignment on Orchestra cards. */
.v2-orchestra-task-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.v2-orchestra-task-heading>.v2-eyebrow{min-width:0;padding-top:6px}.v2-orchestra-task-heading>.v2-orchestra-assignee{flex:0 0 130px;max-width:45%;padding:0;gap:4px}.v2-orchestra-task-heading .v2-orchestra-assignee span{text-align:right}.v2-orchestra-task-heading .v2-orchestra-assignee select{min-height:32px;font-size:11px}.v2-orchestra-task-statuses{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.v2-orchestra-task-statuses:empty{display:none}
.v2-team-tasks{display:grid;gap:1.2rem;padding:1.4rem;max-width:1600px;margin:auto}
.v2-team-tasks>header{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.v2-team-tasks h2{margin:.2rem 0}.v2-team-tasks p{margin:.3rem 0}
.v2-team-task-form,.v2-team-task-card,.v2-team-task-filters{background:var(--v2-surface,#fff);border:1px solid var(--v2-border,#ddd);border-radius:14px;padding:1rem}
.v2-team-task-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.v2-team-task-form label,.v2-team-task-controls label,.v2-team-task-filters label{display:grid;gap:.25rem;font-size:.83rem}
.v2-team-task-form input,.v2-team-task-form select,.v2-team-task-form textarea,.v2-team-task-controls input,.v2-team-task-controls select,.v2-team-task-filters select{width:100%;min-width:0;padding:.55rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#17263b;font:inherit}
.v2-team-task-wide{grid-column:1/-1}.v2-team-task-form>button{justify-self:start}
.v2-team-task-filters{display:flex;flex-wrap:wrap;gap:.8rem;align-items:end}.v2-team-task-filters>label{flex:1 1 145px;min-width:0}.v2-team-task-list{display:grid;gap:.7rem}
.v2-team-task-card{display:flex;justify-content:space-between;gap:1rem}.v2-team-task-card>div:first-child{min-width:0;flex:1}.v2-team-task-card small{color:#5d6a7b}
.v2-team-task-controls{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:.5rem;align-items:start}
.v2-team-task-create>summary{cursor:pointer;font-weight:600;padding:.3rem 0}.v2-team-task-create[open]>summary{margin-bottom:.6rem}
.v2-team-task-board{display:grid;grid-template-columns:repeat(3,minmax(280px,1fr));gap:1rem;overflow-x:auto;align-items:start;padding-bottom:.5rem}
.v2-team-task-column{background:var(--v2-surface-alt,#f2f5f9);border:1px solid var(--v2-border,#ddd);border-radius:14px;padding:.8rem;min-height:220px}
.v2-team-task-column>h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 .8rem;font-size:1rem}.v2-team-task-column>h3>span{background:#e1e8f0;border-radius:20px;padding:.15rem .55rem;font-size:.8rem}
.v2-team-task-board .v2-team-task-card{display:grid;padding:.8rem;cursor:grab}.v2-team-task-card[draggable="false"]{opacity:.7;cursor:progress}
.v2-team-task-board .v2-team-task-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-team-task-board .v2-team-task-controls>label:last-child{grid-column:1/-1}
.v2-team-task-context{display:flex;flex-wrap:wrap;gap:.35rem;margin:.6rem 0;font-size:.78rem}.v2-team-task-context>span:not(.v2-team-task-tag){width:100%;color:#526278}.v2-team-task-tag{padding:.2rem .45rem;background:#edf2fb;border-radius:6px;color:#304b80}
.v2-team-task-empty{color:#65738a;font-size:.9rem;padding:.7rem 0}
@media(max-width:900px){.v2-team-task-form{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-team-task-card{display:grid}.v2-team-task-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.v2-team-task-form,.v2-team-task-controls{grid-template-columns:1fr}.v2-team-task-filters{display:grid}.v2-team-tasks{padding:.8rem}}
.v2-client-need-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin:1rem 0}
.v2-client-need-form label{display:grid;gap:.25rem;font-size:.85rem}
.v2-client-need-form input,.v2-client-need-form select,.v2-client-need-form textarea{width:100%;min-width:0;padding:.55rem;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#17263b;font:inherit}
.v2-client-need-wide{grid-column:1/-1}
@media(max-width:600px){.v2-client-need-form{grid-template-columns:1fr}}

.v2-contact-channels{display:flex;flex-wrap:wrap;gap:.6rem;margin:.75rem 0;min-width:0}
.v2-contact-channels>a,.v2-contact-channels>span{display:flex;flex-direction:column;justify-content:center;gap:.2rem;min-height:44px;min-width:0;max-width:100%;padding:.55rem .8rem;border:1px solid #cbdde8;border-radius:10px;background:#f2f8fc;color:var(--ink);overflow-wrap:anywhere;text-decoration:none}
.v2-contact-channels small{color:var(--muted);font-size:.72rem}
.v2-contact-channels a:hover{border-color:var(--teal)}
.v2-contact-channels a:focus-visible,.v2-company-form-details>summary:focus-visible{outline:2px solid var(--pink);outline-offset:3px}
.v2-contact-copy-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.65rem}
.v2-company-contact-row{min-width:0;border-bottom:1px solid var(--line)}
.v2-company-contact-row>.v2-contact-channels{margin:.25rem .5rem .75rem}
.v2-company-form-details{margin-top:1rem;border:1px solid #cbdde8;border-radius:12px;padding:.75rem;background:#fff}
.v2-company-form-details>summary{cursor:pointer;min-height:44px;padding:.65rem;font-weight:700;color:var(--navy)}
@media(max-width:600px){.v2-contact-channels>a,.v2-contact-channels>span{flex:1 1 100%}.v2-contact-copy-actions>.v2-btn{flex:1 1 auto}.v2-company-form-details{padding:.5rem}}
