/* Sales-ops shell shared visually with Harvey Ops. FTWLF data and controls stay local. */
/* Bootstrap Icons v1.13.1, MIT: see /assets/bootstrap-icons-LICENSE. */
@font-face { font-family: "bootstrap-icons"; src: url("/assets/bootstrap-icons.woff2?v=1.13.1") format("woff2"); font-display: block; }
.pipeline-nav-icon::before { display: inline-block; font-family: "bootstrap-icons"; font-style: normal; font-weight: normal; line-height: 1; }
.bi-speedometer2::before { content: "\f580"; }
.bi-bullseye::before { content: "\f1de"; }
.bi-activity::before { content: "\f66b"; }
.bi-binoculars::before { content: "\f18f"; }
.bi-inbox::before { content: "\f42d"; }
.bi-send-check::before { content: "\f6b3"; }
.bi-window::before { content: "\f620"; }
.bi-bar-chart-line::before { content: "\f17c"; }
.bi-gear::before { content: "\f3e5"; }
:root {
  color-scheme: light;
  --bg: #f4f2eb;
  --panel: #fffefa;
  --panel-2: #f8faf8;
  --text: #172f2c;
  --muted: #70817b;
  --line: #dce4de;
  --blue: #123d3a;
  --shell-deep: #123d3a;
  --shell-coral: #f27d64;
  --shell-gutter: clamp(16px, 1.5vw, 28px);
}
body { grid-template-columns: 210px minmax(0, 1fr); background: var(--bg); color: var(--text); }
.sidebar { width: 210px; padding: 24px 12px; gap: 0; border: 0; background: var(--shell-deep); backdrop-filter: none; }
.brand { gap: 11px; padding: 4px 10px 28px; }
.brand-mark { width: 38px; height: 38px; padding: 4px; border-radius: 50%; background: #fffdf7; }
.brand strong { font-size: 17px; font-weight: 600; letter-spacing: -.04em; }
.nav { gap: 5px; }
.nav a { min-height: 40px; padding: 0 12px; gap: 0; border: 0; border-radius: 7px; color: #bad0c8; font-size: 12px; font-weight: 400; }
.nav a::before { width: 5px; height: 5px; margin-right: 11px; background: #6f9387; box-shadow: none; }
.nav a:hover, .nav a.active { border: 0; background: #ffffff18; color: #fff; }
.nav a.active { box-shadow: inset 3px 0 0 var(--shell-coral); }
.nav a.active::before { background: var(--shell-coral); box-shadow: none; }
.nav a:has(> .pipeline-nav-icon) { gap: 12px; }
.nav a:has(> .pipeline-nav-icon)::before { content: none; }
.nav .pipeline-nav-icon { display: inline-grid; flex: 0 0 17px; place-items: center; width: 17px; color: #93b5aa; font-size: 16px; line-height: 1; }
.nav a:is(:hover, .active) .pipeline-nav-icon { color: var(--shell-coral); }
.sidebar-foot { margin-top: auto; padding: 16px 12px 5px; border: 0; border-top: 1px solid #ffffff1c; border-radius: 0; background: transparent; }
.sidebar-foot > span { color: #7fa99b; font: 10px/1.4 monospace; letter-spacing: .14em; text-transform: uppercase; }
.sidebar-foot > b { color: #91b4a9; font-size: 10px; font-weight: 500; }
.sidebar-foot { padding-top: 18px; }
.sidebar-foot .session-user { margin: 0; padding: 0; border: 0; }
.sidebar-foot .session-user-label { color: #7fa99b !important; font: 10px/1.4 monospace !important; font-weight: 400 !important; letter-spacing: .14em; }
.sidebar-foot .session-user strong { color: #fff; font-size: 11px; font-weight: 600; }
.sidebar-foot .session-user small { color: #a9c5ba; font-size: 10px; }
.session-user[hidden], .workspace-account-actions[hidden] { display: none !important; }
.workspace-account-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 0 var(--shell-gutter); border-bottom: 1px solid #dfe6df; background: var(--panel); color: var(--muted); font: 10px/1.3 monospace; letter-spacing: .14em; }
.workspace-account-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; color: #526b68; font-size: 11px; line-height: 1.4; letter-spacing: normal; }
.workspace-account-actions button { min-height: 34px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--shell-deep); font: inherit; cursor: pointer; }
.workspace-account-actions button:hover { background: #f2f7f4; }
.workspace-account-actions button:focus-visible { outline: 2px solid var(--shell-coral); outline-offset: 2px; }
.mobile-shell-bar, .mobile-menu-backdrop, .mobile-menu-close { display: none; }
.session-user { margin-top: 10px; padding-top: 10px; border-top-color: #ffffff1c; }
.session-user strong { font-size: 11px; font-weight: 500; }
.session-user button { width: auto; min-height: 0; padding: 8px 12px; border-radius: 999px; font-size: 11px; font-weight: 500; }
main { min-width: 0; padding: 0; background: var(--bg); }
main > .dashboard-view.active-view { min-width: 0; margin: 0; padding: 26px var(--shell-gutter) 64px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
main > .dashboard-view.active-view > .panel-head { min-height: 86px; align-items: center; margin: -26px calc(-1 * var(--shell-gutter)) 26px; padding: 16px var(--shell-gutter); border-bottom: 1px solid #dfe6df; background: var(--panel); }
main > .dashboard-view.active-view > .panel-head h2 { margin: 5px 0 3px; font-size: clamp(22px, 2.5vw, 31px); font-weight: 500; letter-spacing: -.07em; line-height: 1.2; }
main > .dashboard-view.active-view > .panel-head .section-copy { margin: 0; color: var(--muted); font-size: 12px; }
/* Prospecting follows the shared discovery-first layout while retaining FTWLF data. */
main > #prospecting.dashboard-view.active-view { --shell-gutter: clamp(16px, 1.5vw, 28px); }
main > #approval-queue.dashboard-view.active-view { --shell-gutter: clamp(16px, 1.5vw, 28px); transform: none; }
main > #signals.dashboard-view.active-view { transform: none; }
#prospecting .ftwl-prospect-card { margin: 0 0 18px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: 0 8px 24px #17352d07; }
#prospecting .ftwl-prospect-card .eyebrow { margin: 0 0 7px; }
#prospecting .ftwl-prospect-card h3 { margin: 0 0 5px; color: var(--text); font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
#prospecting .ftwl-prospect-card .section-copy { max-width: 850px; margin: 0; color: #47615b; font-size: 14px; line-height: 1.5; }
#prospecting .research-run-card { min-height: 154px; gap: 24px; }
#prospecting .research-actions { flex: 0 0 auto; }
main #prospecting .research-actions button { min-height: 44px; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }
#prospecting .ftwl-prospect-card-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
#prospecting .ftwl-prospect-card-head > button { flex: 0 0 auto; min-height: 44px; padding: 10px 16px; border-radius: 999px; }
#prospecting .ftwl-route-item { margin-top: 18px; padding: 18px; border: 1px solid #d5e4dc; border-radius: 9px; background: #f4faf6; }
#prospecting .ftwl-route-item strong { display: block; margin-bottom: 8px; font-size: 16px; }
#prospecting .ftwl-route-item .research-source-status { font-size: 11px; }
#prospecting .ftwl-queue-link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); text-decoration: none; }
#prospecting .ftwl-queue-link:hover { background: #f1f7f3; }
#prospecting .ftwl-prospect-filters { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 10px; margin-top: 18px; }
#prospecting .ftwl-prospect-filters input, #prospecting .ftwl-prospect-filters select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--text); }
#prospecting .ftwl-result-count { margin: 10px 0 0; color: #6d7f77; font-size: 11px; }
#prospecting .ftwl-research-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; color: #526b68; font-size: 12px; }
#prospecting .ftwl-research-pagination[hidden] { display: none; }
#prospecting .ftwl-research-pagination button { min-height: 36px; padding: 7px 12px; border-radius: 7px; }
#prospecting .research-list { min-width: 0; }
#prospecting .research-table-wrap { width: 100%; min-width: 0; max-width: 100%; max-height: 440px; overflow: auto; overscroll-behavior: contain; }
#prospecting .research-table { width: 100%; min-width: 1100px; table-layout: fixed; }
#prospecting .research-table th { position: sticky; top: 0; z-index: 1; }
#prospecting .research-table th:nth-child(1) { width: 29%; }
#prospecting .research-table th:nth-child(2) { width: 27%; }
#prospecting .research-table th:nth-child(3) { width: 13%; }
#prospecting .research-table th:nth-child(4) { width: 16%; }
#prospecting .research-table th:nth-child(5) { width: 15%; }
#prospecting .research-table th button { justify-content: flex-start; min-height: 44px; padding: 12px 14px; border-radius: 0; background: transparent; color: #35566f; font-size: 11px; font-weight: 600; white-space: nowrap; }
#prospecting .research-table th button:hover, #prospecting .research-table th button:focus-visible { background: #e9f5f1; color: #0f766e; }
#prospecting .research-table td { overflow-wrap: anywhere; }
#prospecting .ftwl-empty-results { padding: 24px; border: 1px solid var(--line); border-radius: 8px; color: #526b68; background: #f8faf8; }
#prospecting .ftwl-import-details { padding: 0; }
#prospecting .ftwl-import-details > summary { padding: 18px 20px; color: var(--text); cursor: pointer; font-size: 14px; font-weight: 600; }
#prospecting .ftwl-import-details > summary:focus-visible, #prospecting .ftwl-queue-link:focus-visible { outline: 2px solid var(--shell-coral); outline-offset: 2px; }
#prospecting .ftwl-import-details .import-card { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: none; }
.eyebrow { color: #6f9789; font: 10px/1.3 monospace; letter-spacing: .14em; text-transform: uppercase; }
.hero, .panel, .metric, .item, .activity-block, .pipeline-card, .schedule-card { border-color: var(--line); border-radius: 10px; background: var(--panel); box-shadow: 0 8px 24px #17352d07; }
.decision-brief { gap: 18px; }
.decision-brief-grid a, .decision-priority { padding: 21px; border-color: var(--line); border-radius: 10px; background: var(--panel); color: var(--text); box-shadow: 0 8px 24px #17352d07; }
.decision-brief-grid strong { font-size: 20px; line-height: 1.25; }
.decision-brief-grid span { color: var(--text); }
.decision-brief-grid small { color: var(--muted); }
.decision-priority h3 { font-size: 18px; font-weight: 500; }
.decision-priority a { color: var(--shell-deep); text-decoration: none; }
.decision-priority a:hover { text-decoration: underline; }
.decision-brief-grid a:hover, .decision-brief-grid a:focus-visible, .nav a:focus-visible { outline: 2px solid var(--shell-coral); outline-offset: 2px; }
/* Shared light controls across every FTWLF workspace view. */
main button:not(.danger):not(.reject):not(.secondary):not(.subtle),
main button.secondary, main button.subtle {
  border: 1px solid #cddbd3;
  border-radius: 7px;
  background: #fff;
  color: #21453e;
  box-shadow: none;
}
main button:not(.danger):not(.reject):not(.secondary):not(.subtle):hover:not(:disabled),
main button.secondary:hover:not(:disabled), main button.subtle:hover:not(:disabled) {
  border-color: #a9c9b9;
  background: #f3f9f5;
  color: #163e37;
}
main button:not(.danger):not(.reject):not(.secondary):not(.subtle):is(.active,[aria-selected="true"]),
main button.secondary:is(.active,[aria-selected="true"]) {
  border-color: #a9c9b9;
  background: #e8f3ed;
  color: #163e37;
  box-shadow: inset 0 -2px #d96735;
}
main button:is(.danger,.reject) {
  border: 1px solid #e6c4bd;
  background: #fff4f1;
  color: #9f4030;
  box-shadow: none;
}
main button:is(.danger,.reject):hover:not(:disabled) { background: #fde9e3; border-color: #d9a99f; }
main button:focus-visible { outline: 2px solid #d96735; outline-offset: 2px; }
main .settings-tabs .settings-tab { border-radius: 7px; }
main .signal-link-tools .signal-view-tabs a.active {
  border-color: #a9c9b9;
  background: #e8f3ed;
  color: #163e37;
  text-decoration: none;
  box-shadow: inset 0 -2px #d96735;
}
main .dashboard-view table thead th {
  border-bottom-color: #d6e2dc;
  background: #eef4f0;
  color: #3d5d55;
  font-weight: 700;
}
main table thead th button:not(.danger):not(.reject):not(.secondary):not(.subtle) {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3d5d55;
  box-shadow: none;
  text-align: left;
}
main table thead th button:not(.danger):not(.reject):not(.secondary):not(.subtle):hover,
main table thead th button:not(.danger):not(.reject):not(.secondary):not(.subtle):focus-visible {
  background: #e1eee7;
  color: #174e41;
}
main .returning-visitor-table-head { background: #eef4f0; color: #3d5d55; }
main #approval-queue .overview-drawer-backdrop { background: transparent; border-radius: 0; box-shadow: none; }
main #approval-queue .overview-queue-table th button { background: transparent; color: #35566f; border-radius: 0; box-shadow: none; }
main #approval-queue .overview-queue-table th button:hover { background: #dfede8; color: #0f766e; }
main #approval-queue .overview-view-button,
main #approval-queue .overview-drawer-head button { background: #fff; color: #0f665e; }
main #approval-queue .overview-pagination button { background: #f4f7f5; color: #294452; }
@media (max-width: 760px) {
  :root { --shell-gutter: 16px; }
  body { display: block; overflow-x: hidden; }
  .mobile-shell-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 12px 16px; background: var(--shell-deep); color: #fff; box-shadow: 0 8px 22px #10252a29; }
  .mobile-shell-brand { display: flex; align-items: center; gap: 10px; }
  .mobile-shell-brand img { width: 38px; height: 38px; border-radius: 50%; background: #fffdf7; object-fit: contain; }
  .mobile-shell-brand div { display: grid; }
  .mobile-shell-brand b { font-size: 15px; font-weight: 600; }
  .mobile-shell-brand span { color: #b8c7c3; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
  .mobile-menu-toggle { display: grid; place-content: center; gap: 4px; width: 44px; height: 44px; border: 1px solid #ffffff33; border-radius: 9px; background: #294046; }
  .mobile-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; }
  .mobile-menu-backdrop { position: fixed; z-index: 38; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: #07161985; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
  .mobile-menu-backdrop.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
  .sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: min(86vw, 320px); min-height: 100dvh; height: 100dvh; overflow-y: auto; padding: 22px 18px; transform: translateX(-105%); transition: transform .24s ease; box-shadow: none; }
  .sidebar.is-open { transform: translateX(0); box-shadow: 18px 0 45px #07161947; }
  .brand { position: relative; padding: 0 48px 24px 8px; }
  .mobile-menu-close { position: absolute; top: -4px; right: 0; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ffffff2e; border-radius: 9px; background: #294046; color: #fff; font-size: 25px; font-weight: 400; line-height: 1; }
  .nav { display: grid; gap: 3px; padding: 18px 0; overflow: visible; }
  .nav a { min-height: 44px; width: 100%; }
  .sidebar-foot { display: block; }
  .mobile-menu-open { overflow: hidden; }
  main { width: 100%; }
  .workspace-account-bar { min-height: 54px; padding: 0 16px; }
  .workspace-account-bar > span { display: none; }
  main > .dashboard-view.active-view { padding-top: 20px; }
  main > .dashboard-view.active-view > .panel-head { margin-top: -20px; }
  #prospecting .research-table-wrap { -webkit-overflow-scrolling: touch; }
  #prospecting .ftwl-prospect-card-head, #prospecting .research-run-card { align-items: flex-start; flex-direction: column; }
  #prospecting .ftwl-prospect-filters { grid-template-columns: 1fr; }
  #prospecting .research-actions { width: 100%; }
}
