@font-face {
  font-family:"Bukumi Sans";
  src:url("/assets/fonts/open-sans-regular.woff") format("woff");
  font-style:normal;
  font-weight:400;
  font-display:swap
}
@font-face {
  font-family:"Bukumi Sans";
  src:url("/assets/fonts/open-sans-semibold.woff") format("woff");
  font-style:normal;
  font-weight:600 800;
  font-display:swap
}
:root {
  --canvas:#f5f6f2;
  --surface:#fff;
  --rail:#142f2a;
  --ink:#192d29;
  --muted:#5d6f68;
  --line:#dfe5df;
  --soft:#edf1eb;
  --primary:#176a51;
  --primary-hover:#0f503d;
  --mint:#d8f4d9;
  --selected:#edf6ef;
  --attention:#8c4a24;
  --attention-bg:#fff4e7;
  --danger:#a63338;
  --danger-bg:#fff0ef;
  --blue:#345d8a;
  --blue-bg:#edf3fc;
  --radius:9px;
  --rail-width:202px;
  --focus:#22755c;
  --shadow:0 18px 50px #142f2a24;
  --font:"Bukumi Sans","Segoe UI",sans-serif;
  --motion:180ms
}
* {
  box-sizing:border-box
}
html {
  color-scheme:light;
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:var(--font);
  font-size:14px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.55
}
a {
  color:inherit;
  text-decoration:none
}
a:hover {
  text-decoration:none
}
button {
  color:inherit
}
input,select,textarea {
  max-width:100%;
  min-width:0
}
button,input,select,textarea,a {
  touch-action:manipulation
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:2px solid var(--focus);
  outline-offset:3px
}
input[type="checkbox"] {
  accent-color:var(--primary);
  width:16px;
  height:16px;
  flex:none
}
h1,h2,h3,p {
  margin:0
}
h1 {
  font-size:29px;
  line-height:1.2;
  font-weight:700;
  letter-spacing:-1.1px
}
h2 {
  font-size:20px;
  line-height:1.35;
  letter-spacing:-.45px
}
h3 {
  font-size:15px;
  line-height:1.5;
  font-weight:700
}
ul {
  padding-left:22px
}
small {
  font-size:12px
}
.icon {
  display:inline-block;
  flex:none;
  vertical-align:middle;
  width:18px;
  height:18px
}
.sr-only {
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.muted {
  color:var(--muted)
}
.tiny {
  font-size:12px
}
.text-primary {
  color:var(--primary)
}
.text-danger {
  color:var(--danger)
}
.nowrap {
  white-space:nowrap
}
.wrap {
  overflow-wrap:anywhere
}
.full {
  width:100%
}
.stack {
  display:flex;
  flex-direction:column;
  gap:12px
}
.row {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0
}
.row-wrap {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap
}
.spacer {
  flex:1
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.3px;
  text-transform:uppercase;
  color:var(--muted)
}
.skip-link {
  position:fixed;
  top:-60px;
  left:12px;
  z-index:100;
  background:var(--rail);
  color:#fff;
  padding:12px 18px;
  border-radius:6px
}
.skip-link:focus {
  top:10px
}
.no-script {
  margin:24px;
  padding:24px;
  background:#fff
}
.brand-mark {
  display:grid;
  flex:none;
  place-items:center;
  width:37px;
  height:37px;
  border-radius:10px;
  background:var(--mint);
  color:var(--rail);
  font-weight:700;
  font-size:29px;
  line-height:1;
  letter-spacing:-3px;
  padding:0 4px 4px 0
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff
}
.brand-word {
  display:block;
  font-size:24px;
  letter-spacing:-1px;
  font-weight:700;
  line-height:1
}
.brand-sub {
  display:block;
  color:#a9c3b7;
  font-size:8px;
  letter-spacing:.9px;
  text-transform:uppercase;
  margin-top:5px
}
.app-shell {
  min-height:100dvh
}
.side-rail {
  position:fixed;
  z-index:40;
  inset:0 auto 0 0;
  width:var(--rail-width);
  background:var(--rail);
  color:#c9d8d0;
  display:flex;
  flex-direction:column;
  padding:27px 15px 18px
}
.side-rail .brand {
  padding:0 7px 34px
}
.rail-label {
  padding:0 13px 9px;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:1.4px;
  color:#a7bfb2;
  font-weight:600
}
.primary-nav {
  display:flex;
  flex-direction:column;
  gap:5px
}
.nav-link {
  display:flex;
  align-items:center;
  gap:11px;
  padding:11px 12px;
  min-height:44px;
  border-radius:7px;
  font-size:12px;
  transition:background var(--motion),color var(--motion)
}
.nav-link .icon {
  width:17px;
  height:17px
}
.nav-link:hover {
  background:#ffffff0c;
  color:#fff
}
.nav-link[aria-current="page"] {
  background:var(--mint);
  color:#183e2c;
  font-weight:700
}
.nav-count {
  margin-left:auto;
  font-size:10px;
  min-width:22px;
  line-height:19px;
  text-align:center;
  border-radius:5px;
  background:#ffffff0e;
  font-variant-numeric:tabular-nums
}
.nav-link[aria-current="page"] .nav-count {
  background:#c3e7c4
}
.rail-tools {
  margin-top:34px;
  display:flex;
  flex-direction:column;
  gap:1px
}
.rail-button {
  width:100%;
  display:flex;
  align-items:center;
  gap:11px;
  border:0;
  background:none;
  color:inherit;
  font-size:11px;
  padding:10px 12px;
  text-align:left;
  border-radius:6px;
  min-height:40px
}
.rail-button:hover {
  background:#ffffff0c;
  color:#fff
}
.rail-bottom {
  margin-top:auto;
  padding-top:34px
}
.rail-note {
  border:1px solid #426052;
  border-radius:8px;
  padding:12px;
  margin:0 3px 19px;
  font-size:10px;
  line-height:1.6;
  color:#b9cdc1
}
.rail-note strong {
  color:#e6f2e9;
  display:block;
  font-size:11px;
  margin-bottom:5px
}
.workspace-person {
  border-top:1px solid #426052;
  padding:16px 5px 0;
  display:flex;
  align-items:center;
  gap:10px
}
.profile-avatar {
  border-radius:50%;
  height:32px;
  width:32px;
  background:#e7d5bf;
  color:#3f4438;
  display:grid;
  place-items:center;
  font-weight:700;
  font-size:12px;
  flex:none
}
.profile-name {
  font-size:11px;
  color:#edf5ef;
  font-weight:600
}
.profile-sub {
  font-size:9px;
  color:#b5c7bb
}
.app-frame {
  margin-left:var(--rail-width);
  min-width:0
}
.topbar {
  height:65px;
  display:flex;
  align-items:center;
  gap:14px;
  border-bottom:1px solid var(--line);
  padding:0 28px;
  background:#fafbf8
}
.topbar-label {
  font-size:11px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:9px
}
.topbar-label strong {
  color:var(--ink);
  font-weight:600
}
.topbar .divider {
  width:1px;
  height:15px;
  background:var(--line);
  margin:0 3px
}
.top-date {
  font-size:10px;
  color:var(--muted)
}
.topbar-tools {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:12px
}
.connection-button {
  border:1px solid var(--line);
  border-radius:20px;
  padding:5px 9px;
  font-size:10px;
  background:var(--surface);
  display:flex;
  align-items:center;
  gap:6px
}
.connection-button .icon {
  width:13px;
  height:13px
}
.connection-dot {
  width:5px;
  height:5px;
  display:inline-block;
  border-radius:50%;
  background:var(--primary)
}
.connection-dot.warning {
  background:var(--attention)
}
.connection-dot.error {
  background:var(--danger)
}
.mobile-menu {
  display:none
}
.nav-backdrop {
  display:none
}
main:focus {
  outline:none
}
.main-content {
  padding:25px 28px 35px;
  max-width:1800px;
  margin:0 auto
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:21px
}
.page-heading p {
  font-size:12px;
  color:var(--muted);
  margin-top:7px
}
.page-heading .eyebrow {
  margin-bottom:7px;
  font-size:9px
}
.page-actions {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:37px;
  border:1px solid var(--line);
  padding:8px 13px;
  border-radius:7px;
  background:var(--surface);
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
  transition:background var(--motion),border-color var(--motion),box-shadow var(--motion)
}
.button .icon {
  width:15px;
  height:15px
}
.button:hover {
  background:var(--soft);
  border-color:#b8c7ba
}
.button.primary {
  background:var(--primary);
  border-color:var(--primary);
  color:#fff
}
.button.primary:hover {
  background:var(--primary-hover)
}
.button.danger {
  background:var(--danger);
  border-color:var(--danger);
  color:#fff
}
.button.small {
  padding:5px 9px;
  min-height:30px;
  font-size:10px
}
.button.ghost {
  border-color:transparent;
  background:transparent;
  color:var(--primary)
}
.button.ghost:hover {
  background:var(--selected)
}
.button.text-button {
  border:0;
  background:transparent;
  padding:3px 0;
  min-height:28px;
  justify-content:flex-start;
  color:var(--primary);
  font-size:11px
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  width:32px;
  height:32px;
  background:transparent;
  border:1px solid transparent;
  border-radius:6px;
  color:var(--muted)
}
.icon-button:hover {
  background:var(--soft);
  color:var(--ink)
}
.icon-button.active {
  background:var(--selected);
  color:var(--primary)
}
.icon-button .icon {
  width:16px;
  height:16px
}
.segment-control {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:7px;
  overflow:hidden;
  background:#fff
}
.segment-control button {
  border:0;
  background:transparent;
  min-width:33px;
  height:31px;
  color:var(--muted);
  display:grid;
  place-items:center
}
.segment-control button[aria-pressed="true"] {
  background:var(--rail);
  color:white
}
.segment-control .icon {
  width:15px;
  height:15px
}
.notice {
  display:flex;
  align-items:flex-start;
  gap:9px;
  border:1px solid #cfe2d1;
  border-radius:7px;
  padding:10px 12px;
  background:var(--selected);
  font-size:11px;
  color:#315e45;
  line-height:1.6
}
.notice .icon {
  width:15px;
  height:15px;
  margin-top:1px
}
.notice.warning {
  background:var(--attention-bg);
  color:var(--attention);
  border-color:#eddcc5
}
.notice.error {
  background:var(--danger-bg);
  color:var(--danger);
  border-color:#efd1d2
}
.notice.subtle {
  background:#f7f8f5;
  color:var(--muted);
  border-color:var(--line)
}
.notice p+p {
  margin-top:5px
}
.connection-notice {
  margin-bottom:16px;
  align-items:center
}
.connection-notice .notice-copy {
  flex:1
}
.inline-count {
  font-variant-numeric:tabular-nums;
  background:var(--soft);
  color:var(--muted);
  border-radius:4px;
  padding:1px 5px;
  font-size:10px;
  min-width:21px;
  text-align:center
}
.source-caption {
  font-size:10px;
  color:var(--muted);
  line-height:1.6
}
.search-tabs {
  display:flex;
  gap:20px;
  border-bottom:1px solid var(--line);
  margin-bottom:16px;
  overflow-x:auto;
  scrollbar-width:none
}
.search-tab {
  background:transparent;
  border:0;
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
  padding:0 0 10px;
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  white-space:nowrap;
  color:var(--muted);
  min-height:35px
}
.search-tab[aria-pressed="true"] {
  color:var(--primary);
  border-bottom-color:var(--primary);
  font-weight:700
}
.search-tab[aria-pressed="true"] .inline-count {
  background:#e0efdf;
  color:#2e6145
}
.search-toolbar {
  display:flex;
  gap:9px;
  margin-bottom:11px
}
.search-box {
  position:relative;
  flex:1;
  min-width:0
}
.search-box>.icon {
  position:absolute;
  left:12px;
  top:12px;
  width:17px;
  height:17px;
  color:var(--muted)
}
.search-box input {
  width:100%;
  padding:10px 40px 10px 38px;
  border:1px solid #cfd9cf;
  border-radius:7px;
  background:#fff;
  font-size:12px;
  height:41px;
  color:var(--ink)
}
.search-box input::placeholder {
  color:#738177
}
.search-hint {
  position:absolute;
  right:12px;
  top:10px;
  min-width:20px;
  height:21px;
  border:1px solid var(--line);
  border-radius:4px;
  display:grid;
  place-items:center;
  font-size:10px;
  color:var(--muted)
}
.filter-row {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) auto;
  gap:8px;
  margin-bottom:14px
}
.filter-field {
  display:flex;
  align-items:center;
  position:relative;
  min-width:0
}
.filter-field select {
  height:36px;
  padding:6px 25px 6px 10px;
  font-size:10px;
  appearance:none;
  border:1px solid var(--line);
  border-radius:6px;
  background:#fff;
  color:var(--ink);
  width:100%;
  cursor:pointer;
  text-overflow:ellipsis
}
.filter-field>.icon {
  position:absolute;
  right:9px;
  pointer-events:none;
  width:12px;
  height:12px;
  color:var(--muted)
}
.filter-field label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0)
}
.filter-field select.has-value {
  background:var(--selected);
  border-color:#99bfa6;
  color:var(--primary)
}
.filter-extra {
  padding:12px 0;
  border-top:1px dashed var(--line);
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap
}
.checkbox-label {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:var(--muted);
  min-height:32px;
  cursor:pointer
}
.checkbox-label input {
  margin:0
}
.filter-summary {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--muted);
  margin-bottom:12px
}
.filter-chip {
  display:flex;
  align-items:center;
  gap:5px;
  padding:4px 7px;
  background:#e6eee3;
  border-radius:5px;
  color:#315c40
}
.filter-chip .icon {
  width:11px;
  height:11px
}
.workbench {
  border:1px solid #d6dfd5;
  border-radius:9px;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(300px,.94fr) minmax(0,1.06fr);
  overflow:hidden;
  min-height:560px
}
.results-pane {
  border-right:1px solid var(--line);
  min-width:0;
  display:flex;
  flex-direction:column
}
.results-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 15px;
  border-bottom:1px solid var(--line);
  font-size:10px;
  color:var(--muted);
  background:#fcfdfb;
  min-height:43px
}
.results-toolbar strong {
  color:var(--ink);
  font-weight:600
}
.sort-control {
  display:flex;
  align-items:center;
  gap:4px;
  white-space:nowrap
}
.sort-control select {
  font-size:10px;
  border:0;
  background:transparent;
  padding:3px 20px 3px 3px;
  color:var(--ink);
  max-width:150px;
  cursor:pointer
}
.opportunity-list {
  max-height:calc(100dvh - 285px);
  min-height:410px;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:#bccabc transparent
}
.opportunity-row {
  position:relative;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 25px;
  gap:11px;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  transition:background var(--motion);
  min-height:104px
}
.opportunity-row:last-child {
  border-bottom:0
}
.opportunity-row:hover {
  background:#f7faf5
}
.opportunity-row.selected {
  background:var(--selected);
  box-shadow:inset 3px 0 var(--primary)
}
.company-mark {
  width:34px;
  height:34px;
  border-radius:7px;
  display:grid;
  place-items:center;
  flex:none;
  background:#e9edf1;
  color:#3d586c;
  font-weight:700;
  font-size:11px;
  letter-spacing:-.4px;
  overflow:hidden
}
.company-mark.tone-1 {
  background:#f4e9db;
  color:#795027
}
.company-mark.tone-2 {
  background:#e5eee5;
  color:#456340
}
.company-mark.tone-3 {
  background:#eee7f2;
  color:#6c4c7c
}
.company-mark.tone-4 {
  background:#f5e4e1;
  color:#8c5047
}
.company-mark.tone-5 {
  background:#e2edf0;
  color:#3f6e7b
}
.company-mark.large {
  width:50px;
  height:50px;
  border-radius:10px;
  font-size:16px
}
.person-mark {
  background:#e9ede5;
  border-radius:50%;
  color:#56664d
}
.opportunity-content {
  min-width:0
}
.company-label {
  font-size:11px;
  color:var(--muted);
  margin-bottom:3px;
  display:block
}
.opportunity-title {
  font-size:14px;
  font-weight:700;
  line-height:1.45;
  display:block;
  color:var(--ink);
  overflow-wrap:anywhere
}
.opportunity-title:hover {
  color:var(--primary)
}
.opportunity-title::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:0
}
.opportunity-meta {
  display:flex;
  flex-wrap:wrap;
  gap:4px 9px;
  font-size:11px;
  color:var(--muted);
  margin-top:5px;
  align-items:center
}
.opportunity-meta>span {
  display:inline-flex;
  align-items:center;
  gap:3px
}
.opportunity-meta .icon {
  width:11px;
  height:11px
}
.opportunity-tags {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:6px;
  align-items:center
}
.opportunity-save {
  position:relative;
  z-index:1;
  width:27px;
  height:29px;
  padding:0;
  border:0;
  background:none;
  color:#7e8d80;
  align-self:start;
  display:grid;
  place-items:center;
  border-radius:5px
}
.opportunity-save:hover {
  background:#dceadb;
  color:var(--primary)
}
.opportunity-save.saved {
  color:var(--primary)
}
.opportunity-save.saved .icon {
  fill:#cde8cd
}
.badge {
  display:inline-flex;
  align-items:center;
  gap:4px;
  border-radius:4px;
  font-size:10px;
  padding:2px 5px;
  font-weight:600;
  line-height:1.55;
  white-space:normal;
  color:#54695c;
  background:#edf1e9
}
.badge .icon {
  width:10px;
  height:10px
}
.badge.source {
  background:#faf0dc;
  color:#8a6227
}
.badge.fit {
  background:#e3f1e3;
  color:#31634a
}
.badge.blue {
  background:var(--blue-bg);
  color:var(--blue)
}
.badge.muted-badge {
  background:#f0f1ee;
  color:#5f6c61
}
.badge.stage-saved {
  background:#edf1e9;
  color:#526348
}
.badge.stage-researching {
  background:#f4ecd9;
  color:#7b6026
}
.badge.stage-contacted {
  background:#e9f0f9;
  color:#315e8d
}
.badge.stage-applied {
  background:#e3f1f0;
  color:#28665e
}
.badge.stage-interview {
  background:#ebe5f7;
  color:#654f82
}
.badge.stage-offer {
  background:#def1df;
  color:#2d683c
}
.badge.stage-closed {
  background:#f0eeeb;
  color:#69635c
}
.results-footer {
  display:flex;
  justify-content:center;
  padding:13px;
  border-top:1px solid var(--line);
  background:#fcfdfb;
  margin-top:auto
}
.detail-pane {
  padding:22px 24px 25px;
  min-width:0;
  max-height:calc(100dvh - 241px);
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:#bccabc transparent;
  animation:detail-enter var(--motion) ease-out
}
.breadcrumbs {
  display:flex;
  align-items:center;
  gap:4px;
  flex-wrap:wrap;
  font-size:9px;
  color:var(--muted);
  margin-bottom:21px
}
.breadcrumbs .icon {
  width:10px;
  height:10px
}
.breadcrumbs button {
  font-size:inherit;
  border:0;
  background:none;
  padding:2px;
  color:var(--primary);
  text-align:left
}
.breadcrumbs span {
  overflow-wrap:anywhere
}
.detail-heading {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px
}
.detail-heading .detail-company {
  font-size:13px;
  font-weight:600;
  display:block
}
.detail-heading .detail-sub {
  font-size:10px;
  color:var(--muted);
  margin-top:3px
}
.detail-heading .spacer+.icon-button {
  align-self:flex-start
}
.detail-title {
  font-size:22px;
  line-height:1.35;
  letter-spacing:-.6px;
  margin:12px 0;
  overflow-wrap:anywhere
}
.detail-metadata {
  display:flex;
  align-items:center;
  gap:8px 13px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:10px;
  margin:9px 0 16px
}
.detail-metadata span {
  display:flex;
  align-items:center;
  gap:4px
}
.detail-metadata .icon {
  width:12px;
  height:12px
}
.detail-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:17px 0 19px
}
.detail-actions .primary {
  min-width:130px
}
.detail-tabs {
  display:flex;
  gap:18px;
  border-bottom:1px solid var(--line);
  margin:3px -24px 18px;
  padding:0 24px;
  overflow-x:auto;
  scrollbar-width:none
}
.detail-tab {
  font-size:10px;
  border:0;
  border-bottom:2px solid transparent;
  background:none;
  padding:12px 0 10px;
  color:var(--muted);
  white-space:nowrap;
  display:flex;
  align-items:center;
  gap:4px
}
.detail-tab[aria-pressed="true"] {
  font-weight:700;
  border-bottom-color:var(--primary);
  color:var(--primary)
}
.detail-section {
  padding:16px 0;
  border-bottom:1px solid var(--line)
}
.detail-section:first-child {
  padding-top:0
}
.detail-section:last-child {
  border-bottom:0;
  padding-bottom:0
}
.detail-section h3 {
  font-size:12px;
  margin-bottom:10px
}
.detail-section p {
  font-size:12px;
  line-height:1.8;
  color:#52635a;
  white-space:pre-line;
  overflow-wrap:anywhere
}
.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px
}
.section-heading h2,.section-heading h3 {
  margin:0
}
.section-heading h2 {
  font-size:15px
}
.section-heading h3 {
  font-size:12px
}
.facts-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px 22px
}
.fact dt {
  font-size:9px;
  color:var(--muted);
  margin-bottom:3px
}
.fact dd {
  font-size:11px;
  font-weight:600;
  margin:0;
  overflow-wrap:anywhere
}
.facts-grid dl {
  margin:0
}
.source-links {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.source-link {
  font-size:11px;
  color:var(--primary);
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  overflow-wrap:anywhere;
  word-break:break-word
}
.source-link .icon {
  width:13px;
  height:13px
}
.source-link:hover {
  text-decoration:underline
}
.linked-company {
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  background:#f7f9f4;
  border:1px solid var(--line);
  border-radius:7px;
  margin-top:12px
}
.linked-company .company-mark {
  width:31px;
  height:31px;
  font-size:10px
}
.linked-company .company-link {
  display:block;
  font-weight:600;
  font-size:12px;
  color:var(--ink)
}
.linked-company p {
  font-size:10px;
  line-height:1.5
}
.linked-company .icon-button {
  margin-left:auto
}
.person-row {
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 0;
  border-bottom:1px solid var(--line)
}
.person-row:last-child {
  border-bottom:0;
  padding-bottom:0
}
.person-row .person-mark {
  width:31px;
  height:31px;
  font-size:10px
}
.person-name {
  font-size:11px;
  font-weight:700;
  display:block
}
.person-role {
  font-size:10px;
  color:var(--muted);
  margin-top:3px;
  line-height:1.6
}
.person-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px
}
.person-actions .source-link {
  font-size:9px;
  min-height:26px
}
.related-role {
  display:block;
  padding:11px 0;
  border-bottom:1px solid var(--line)
}
.related-role:last-child {
  border-bottom:0
}
.related-role strong {
  display:block;
  font-size:11px;
  line-height:1.6
}
.related-role>span {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:3px
}
.related-role:hover strong {
  color:var(--primary)
}
.tracking-summary {
  border:1px solid #cbdccb;
  border-radius:7px;
  background:#f8fbf5;
  padding:13px;
  margin-top:16px
}
.tracking-summary .section-heading {
  margin-bottom:8px
}
.tracking-summary p {
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
  overflow-wrap:anywhere
}
.tracking-summary .source-link {
  font-size:10px
}
.history-list {
  list-style:none;
  padding:0;
  margin:0
}
.history-list li {
  position:relative;
  padding:0 0 17px 20px;
  font-size:11px;
  border-left:1px solid var(--line);
  margin-left:4px
}
.history-list li::before {
  content:"";
  position:absolute;
  left:-4px;
  top:4px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 0 3px white
}
.history-list li:last-child {
  padding-bottom:0;
  border-left-color:transparent
}
.history-list time {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:4px
}
.history-list p {
  font-size:11px;
  line-height:1.65;
  white-space:pre-line;
  overflow-wrap:anywhere
}
.mobile-back {
  display:none
}
.empty-state {
  text-align:center;
  padding:45px 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  color:var(--muted)
}
.empty-state>.icon {
  width:30px;
  height:30px;
  stroke-width:1.3;
  color:#789683
}
.empty-state h2,.empty-state h3 {
  color:var(--ink);
  font-size:16px
}
.empty-state p {
  max-width:350px;
  font-size:12px;
  line-height:1.7
}
.empty-state.small {
  padding:21px 8px
}
.empty-state.small h3 {
  font-size:12px
}
.empty-state.small p {
  font-size:11px
}
.empty-state.small>.icon {
  width:24px;
  height:24px
}
.desktop-hint {
  padding:35px;
  text-align:left
}
.desktop-hint h2 {
  font-size:24px
}
.desktop-hint p {
  font-size:13px
}
.metrics-strip {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
  margin:0 0 20px;
  overflow:hidden
}
.metric {
  padding:17px 21px;
  border-right:1px solid var(--line)
}
.metric:last-child {
  border:0
}
.metric-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  color:var(--muted);
  gap:8px
}
.metric-top>.icon {
  width:15px;
  height:15px
}
.metric strong {
  display:block;
  font-size:29px;
  letter-spacing:-.8px;
  line-height:1.25;
  font-weight:600;
  font-variant-numeric:tabular-nums;
  margin:6px 0 2px
}
.metric p {
  font-size:9px;
  color:var(--muted)
}
.overview-grid {
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);
  gap:19px
}
.panel {
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  overflow:hidden;
  min-width:0
}
.panel-heading {
  padding:17px 19px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.panel-heading h2 {
  font-size:14px
}
.panel-body {
  padding:17px 19px
}
.queue-row {
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 19px;
  border-bottom:1px solid var(--line);
  min-width:0
}
.queue-row:last-child {
  border-bottom:0
}
.queue-row .queue-info {
  flex:1;
  min-width:0
}
.queue-row .queue-title {
  font-size:11px;
  font-weight:700;
  display:block;
  line-height:1.6;
  overflow-wrap:anywhere
}
.queue-row p {
  font-size:10px;
  color:var(--muted);
  margin-top:2px;
  overflow-wrap:anywhere
}
.due-label {
  display:flex;
  align-items:center;
  gap:4px;
  font-size:9px;
  color:var(--attention);
  white-space:nowrap
}
.due-label .icon {
  width:12px;
  height:12px
}
.checklist {
  list-style:none;
  padding:0;
  margin:0
}
.checklist label {
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 0;
  font-size:11px;
  color:#4a6052;
  cursor:pointer;
  border-bottom:1px solid #edf0e8
}
.checklist li:last-child label {
  border:0
}
.checklist input {
  margin-top:3px
}
.checklist .done {
  text-decoration:line-through;
  color:#778478
}
.progress-track {
  height:5px;
  border-radius:5px;
  background:#e5ece1;
  overflow:hidden;
  margin-top:9px
}
.progress-track>span {
  display:block;
  height:100%;
  background:var(--primary);
  border-radius:5px
}
.progress-meta {
  display:flex;
  justify-content:space-between;
  font-size:9px;
  color:var(--muted);
  margin-top:17px
}
.overview-stack {
  display:flex;
  flex-direction:column;
  gap:19px
}
.source-callout {
  padding:14px 17px;
  border-left:3px solid #b7cbb6;
  background:#f9faf7;
  font-size:10px;
  color:var(--muted);
  line-height:1.8
}
.source-callout strong {
  display:block;
  color:var(--ink);
  margin-bottom:4px;
  font-size:11px
}
.tracker-controls {
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px;
  flex-wrap:wrap
}
.tracker-counts {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:10px;
  color:var(--muted)
}
.table-wrap {
  overflow-x:auto;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff
}
.tracker-table {
  width:100%;
  border-collapse:collapse;
  font-size:11px;
  text-align:left;
  min-width:680px
}
.tracker-table th {
  font-size:9px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:var(--muted);
  font-weight:600;
  padding:12px 14px;
  background:#f9faf7;
  border-bottom:1px solid var(--line);
  white-space:nowrap
}
.tracker-table td {
  padding:14px;
  border-bottom:1px solid var(--line);
  vertical-align:top
}
.tracker-table tr:last-child td {
  border:0
}
.tracker-table tbody tr:hover {
  background:#fafcf8
}
.tracker-table .target-cell {
  min-width:190px;
  max-width:340px
}
.tracker-table .target-cell a {
  display:block;
  font-size:11px;
  font-weight:700;
  line-height:1.6;
  overflow-wrap:anywhere
}
.tracker-table .target-cell p {
  font-size:10px;
  color:var(--muted);
  margin-top:3px
}
.tracker-table .next-cell {
  max-width:180px;
  overflow-wrap:anywhere;
  font-size:10px;
  line-height:1.7
}
.tracker-table .date-cell {
  white-space:nowrap;
  font-size:10px;
  color:var(--muted)
}
.table-actions {
  display:flex;
  gap:3px;
  justify-content:flex-end
}
.tracker-board {
  display:grid;
  grid-auto-columns:minmax(225px,1fr);
  grid-auto-flow:column;
  gap:12px;
  overflow-x:auto;
  padding:1px 1px 16px;
  scrollbar-width:thin
}
.board-column {
  border:1px solid var(--line);
  border-radius:8px;
  background:#edf1e9;
  min-height:340px;
  padding:10px
}
.board-column-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  font-weight:700;
  margin-bottom:12px
}
.board-card {
  background:#fff;
  border:1px solid #d6dfd0;
  border-radius:7px;
  padding:12px;
  margin-bottom:8px
}
.board-card a {
  font-size:11px;
  font-weight:700;
  line-height:1.6;
  display:block;
  overflow-wrap:anywhere
}
.board-card p {
  font-size:10px;
  color:var(--muted);
  margin-top:5px
}
.board-card-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:12px
}
.template-layout {
  display:grid;
  grid-template-columns:235px minmax(0,1fr);
  gap:20px
}
.template-list {
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  align-self:start
}
.template-item {
  display:block;
  padding:14px 15px;
  border-bottom:1px solid var(--line)
}
.template-item:last-child {
  border:0
}
.template-item strong {
  font-size:11px;
  display:block
}
.template-item span {
  font-size:9px;
  color:var(--muted);
  display:block;
  margin-top:4px
}
.template-item:hover {
  background:var(--selected)
}
.template-section {
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  scroll-margin-top:20px
}
.template-section h2 {
  font-size:16px;
  margin-bottom:6px
}
.template-section .template-when {
  color:var(--muted);
  font-size:11px;
  line-height:1.7
}
.template-text {
  font-size:13px;
  line-height:1.9;
  color:#3d5247;
  padding:17px;
  border-left:2px solid #93b69a;
  background:#f5f8f1;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin:15px 0
}
.template-context {
  padding:14px 16px;
  background:var(--rail);
  color:#e4f0e5;
  border-radius:8px;
  margin-bottom:18px;
  display:flex;
  align-items:center;
  gap:12px
}
.template-context .icon {
  color:#b8e5bf
}
.template-context p {
  font-size:10px;
  color:#c3d8c7
}
.template-context strong {
  font-size:12px
}
.template-context .button {
  margin-left:auto;
  color:#f3f8f2;
  border-color:#57715c;
  background:transparent
}
.template-context .button:hover {
  background:#2c4937
}
.section-divider {
  font-size:9px;
  font-weight:700;
  letter-spacing:.9px;
  text-transform:uppercase;
  color:var(--muted);
  margin:2px 0 10px
}
.source-text {
  font-size:12px;
  color:#52635a;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.source-note-block {
  border-top:1px solid var(--line);
  padding-top:16px;
  margin-top:16px
}
.source-note-block h3 {
  font-size:12px;
  margin-bottom:6px
}
.company-directory {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  overflow:hidden
}
.directory-row {
  display:flex;
  gap:12px;
  padding:18px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  min-width:0;
  align-items:flex-start
}
.directory-row:hover {
  background:var(--selected)
}
.directory-row .directory-info {
  min-width:0;
  flex:1
}
.directory-row strong {
  font-size:12px;
  display:block;
  overflow-wrap:anywhere
}
.directory-row p {
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
  margin-top:4px
}
.directory-row .icon {
  width:14px;
  height:14px;
  color:var(--muted)
}
dialog {
  padding:0;
  border:1px solid #d4ded2;
  border-radius:13px;
  width:min(640px,calc(100vw - 32px));
  max-height:calc(100dvh - 48px);
  background:#fff;
  color:var(--ink);
  box-shadow:var(--shadow);
  font-family:var(--font);
  overflow:auto
}
dialog::backdrop {
  background:#0f252a65;
  backdrop-filter:blur(2px)
}
body.dialog-open {
  overflow:hidden
}
.dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:19px 22px;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  background:#fff;
  z-index:2
}
.dialog-heading h2 {
  font-size:18px
}
.dialog-body {
  padding:21px 22px
}
.dialog-body>p {
  font-size:12px;
  color:var(--muted);
  line-height:1.8
}
.dialog-actions {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:16px 22px;
  border-top:1px solid var(--line);
  background:#f9faf7;
  position:sticky;
  bottom:0;
  z-index:2
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px
}
.form-grid .wide {
  grid-column:1/-1
}
.field {
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0
}
.field>label,.field>legend {
  font-size:11px;
  color:var(--ink);
  font-weight:600
}
.field input:not([type="checkbox"]),.field select,.field textarea {
  border:1px solid #cbd7c9;
  border-radius:6px;
  padding:10px 11px;
  min-height:39px;
  color:var(--ink);
  background:#fff;
  font-size:12px;
  width:100%
}
.field input:disabled {
  background:#f4f6f1;
  color:var(--muted)
}
.field textarea {
  min-height:96px;
  resize:vertical
}
.field select[multiple] {
  min-height:108px
}
.field .helper {
  font-size:10px;
  color:var(--muted);
  line-height:1.6
}
.field .required {
  color:var(--danger)
}
fieldset.field {
  padding:0;
  border:0;
  margin:0
}
.checkbox-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3px 10px
}
.checkbox-grid label {
  display:flex;
  gap:7px;
  align-items:flex-start;
  font-size:11px;
  min-height:36px;
  padding:7px 0;
  cursor:pointer
}
.checkbox-grid input {
  margin:1px 0 0
}
.form-error {
  font-size:12px;
  color:var(--danger);
  background:var(--danger-bg);
  padding:10px 12px;
  border-radius:6px;
  margin:0 0 16px
}
.form-error:empty {
  display:none
}
.form-notice {
  margin-bottom:16px
}
.form-target {
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  background:#f4f8ee;
  border-radius:7px;
  margin-bottom:18px
}
.form-target strong {
  display:block;
  font-size:12px;
  line-height:1.5;
  overflow-wrap:anywhere
}
.form-target p {
  font-size:10px;
  color:var(--muted);
  margin-top:3px
}
.dialog-sections {
  display:flex;
  flex-direction:column;
  gap:18px
}
.settings-tools {
  border-top:1px solid var(--line);
  padding-top:18px;
  margin-top:20px
}
.settings-tools h3 {
  font-size:12px;
  margin-bottom:10px
}
.settings-tools .button {
  font-size:10px
}
.toast-region {
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:90;
  display:flex;
  flex-direction:column;
  gap:8px;
  max-width:min(430px,calc(100vw - 32px));
  pointer-events:none
}
.toast {
  display:flex;
  align-items:flex-start;
  gap:10px;
  background:var(--rail);
  color:#fff;
  padding:12px 12px 12px 15px;
  border-radius:9px;
  box-shadow:0 7px 25px #102b2926;
  font-size:12px;
  pointer-events:auto;
  animation:detail-enter var(--motion) ease-out
}
.toast>.icon {
  width:17px;
  height:17px;
  flex:none;
  margin-top:3px;
  color:#bae6c1
}
.toast>span {
  padding-top:2px;
  overflow-wrap:anywhere
}
.toast>.icon-button {
  width:24px;
  height:24px;
  color:#c5d9cd
}
.toast>.icon-button:hover {
  background:#ffffff15;
  color:#fff
}
.toast-error {
  background:#812c32
}
.toast-error>.icon {
  color:#ffd5d5
}
.toast-warn {
  background:#765225
}
.toast-warn>.icon {
  color:#ffe0b4
}
.loading-screen,.gate,.auth-screen {
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px
}
.loading-screen .brand-mark {
  width:49px;
  height:49px;
  margin-bottom:25px;
  background:var(--rail);
  color:var(--mint);
  font-size:38px
}
.loading-screen h1 {
  font-size:24px
}
.loading-screen p {
  color:var(--muted);
  font-size:12px;
  margin-top:10px
}
.loading-line {
  width:160px;
  height:3px;
  background:#dee8da;
  margin-top:27px;
  position:relative;
  overflow:hidden;
  border-radius:4px
}
.loading-line::after {
  content:"";
  display:block;
  width:45%;
  height:100%;
  background:var(--primary);
  animation:loading 1s infinite ease-in-out
}
.auth-card,.gate-card {
  max-width:440px;
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:29px;
  text-align:left;
  box-shadow:0 8px 30px #142f2a09
}
.auth-card h1,.gate-card h1 {
  font-size:24px;
  margin-bottom:12px
}
.auth-card p,.gate-card p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:16px;
  line-height:1.8
}
.auth-card .field,.gate-card .field {
  margin:17px 0
}
.auth-card .button,.gate-card .button {
  min-height:42px
}
.loading-shimmer {
  height:20px;
  background:#e8eee3;
  border-radius:5px;
  animation:subtle-pulse 1.5s ease-in-out infinite
}
.loading-row {
  border-bottom:1px solid var(--line);
  padding:20px
}
.loading-row .loading-shimmer+.loading-shimmer {
  width:60%;
  height:10px;
  margin-top:10px
}
.privacy-footnote {
  font-size:10px;
  color:var(--muted);
  line-height:1.7;
  margin-top:18px;
  max-width:360px
}
.text-list {
  margin:10px 0;
  padding-left:18px;
  color:var(--muted);
  font-size:12px;
  line-height:1.8
}
.text-list li+li {
  margin-top:7px
}
.rule-label {
  display:block;
  color:var(--ink);
  font-size:12px;
  margin-bottom:4px
}
.source-records {
  border-top:1px solid var(--line);
  margin-top:14px;
  padding-top:10px;
  font-size:10px;
  color:var(--muted)
}
.source-records summary {
  cursor:pointer;
  min-height:30px
}
.source-records pre {
  font-family:ui-monospace,monospace;
  font-size:10px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:#f4f6f0;
  padding:10px;
  max-height:240px;
  overflow:auto
}
.form-inline-error {
  font-size:10px;
  color:var(--danger)
}
.filter-heading-mobile {
  display:none
}
@keyframes detail-enter {
  from {
    opacity:.4;
    transform:translateY(4px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}
@keyframes loading {
  0% {
    transform:translateX(-100%)
  }
  100% {
    transform:translateX(330%)
  }
}
@keyframes subtle-pulse {
  50% {
    opacity:.55
  }
}
@media(min-width:1600px) {
  .workbench {
    grid-template-columns:minmax(430px,.9fr) minmax(0,1.1fr)
  }
  .opportunity-row {
    padding:14px 18px;
    gap:12px
  }
  .opportunity-title {
    font-size:14px
  }
  .company-label {
    font-size:12px
  }
  .opportunity-meta {
    font-size:12px
  }
  .badge {
    font-size:11px
  }
  .detail-pane {
    padding:25px 31px
  }
  .detail-tabs {
    margin-left:-31px;
    margin-right:-31px;
    padding-left:31px;
    padding-right:31px
  }
  .detail-section p {
    font-size:13px
  }
  .detail-title {
    font-size:24px
  }
}
@media(max-width:1200px) {
  :root {
    --rail-width:178px
  }
  .side-rail {
    padding-left:10px;
    padding-right:10px
  }
  .brand-word {
    font-size:22px
  }
  .main-content {
    padding:23px 20px
  }
  .topbar {
    padding:0 20px
  }
  .detail-pane {
    padding:20px
  }
  .detail-tabs {
    padding:0 20px;
    margin-left:-20px;
    margin-right:-20px;
    gap:14px
  }
  .workbench {
    grid-template-columns:minmax(280px,.95fr) minmax(0,1.05fr)
  }
  .detail-title {
    font-size:19px
  }
  .filter-row {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
  .filter-row>.button {
    grid-column:1/-1;
    justify-self:start
  }
  .opportunity-row {
    padding-left:12px;
    padding-right:11px;
    gap:9px
  }
  .top-date {
    display:none
  }
  .company-directory {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:1000px) {
  :root {
    --rail-width:172px
  }
  .overview-grid {
    grid-template-columns:1fr
  }
  .overview-stack {
    display:grid;
    grid-template-columns:1fr 1fr
  }
  .template-layout {
    grid-template-columns:190px minmax(0,1fr);
    gap:14px
  }
  .metrics-strip .metric {
    padding:14px
  }
  .workbench {
    grid-template-columns:1fr
  }
  .results-pane {
    border:0
  }
  .detail-pane {
    display:none;
    max-height:none
  }
  .workbench.has-detail .results-pane {
    display:none
  }
  .workbench.has-detail .detail-pane {
    display:block
  }
  .opportunity-list {
    max-height:none;
    min-height:0
  }
  .opportunity-row {
    grid-template-columns:38px minmax(0,1fr) 30px;
    padding:14px;
    gap:12px;
    min-height:104px
  }
  .opportunity-title {
    font-size:14px
  }
  .company-label {
    font-size:11px
  }
  .opportunity-meta {
    font-size:11px
  }
  .badge {
    font-size:10px
  }
  .mobile-back {
    display:inline-flex;
    margin-bottom:15px
  }
  .detail-pane {
    padding:22px 25px
  }
  .detail-tabs {
    margin-left:-25px;
    margin-right:-25px;
    padding-left:25px;
    padding-right:25px
  }
  .detail-title {
    font-size:24px
  }
  .detail-section p {
    font-size:13px
  }
  .detail-section h3 {
    font-size:14px
  }
  .person-name {
    font-size:13px
  }
  .person-role {
    font-size:12px
  }
  .workbench {
    min-height:420px
  }
  .detail-actions .button {
    font-size:12px;
    min-height:41px
  }
  .breadcrumbs {
    font-size:11px
  }
}
@media(max-width:760px) {
  :root {
    --rail-width:202px
  }
  .app-frame {
    margin-left:0
  }
  .side-rail {
    transform:translateX(-100%);
    transition:transform var(--motion) ease-out;
    padding-top:25px
  }
  .nav-open .side-rail {
    transform:translateX(0)
  }
  .nav-open .nav-backdrop {
    display:block;
    position:fixed;
    inset:0;
    background:#122c3366;
    z-index:35;
    border:0
  }
  .mobile-menu {
    display:inline-flex;
    width:38px;
    height:38px;
    margin-left:-5px
  }
  .topbar {
    height:59px;
    padding:0 16px;
    gap:8px
  }
  .topbar-label {
    font-size:10px
  }
  .topbar-label .divider,.topbar-label .workspace-label {
    display:none
  }
  .topbar-tools {
    gap:5px
  }
  .connection-button {
    font-size:9px;
    padding:5px 7px
  }
  .main-content {
    padding:22px 16px 32px
  }
  .page-heading {
    gap:12px;
    align-items:flex-start;
    margin-bottom:18px
  }
  .page-heading h1 {
    font-size:26px
  }
  .page-heading p {
    font-size:11px;
    max-width:270px
  }
  .page-actions .button {
    font-size:11px;
    padding:9px 11px;
    min-height:42px
  }
  .page-actions .button .icon {
    width:15px;
    height:15px
  }
  .page-actions .button.secondary-action {
    display:none
  }
  .search-tabs {
    gap:18px;
    margin-bottom:14px
  }
  .search-tab {
    font-size:11px;
    min-height:40px;
    padding-bottom:9px
  }
  .search-toolbar {
    gap:7px
  }
  .search-box input {
    font-size:16px;
    height:45px;
    padding-left:38px
  }
  .search-box>.icon {
    top:14px
  }
  .search-hint {
    display:none
  }
  .search-toolbar>.button {
    min-height:45px;
    padding:8px 10px;
    font-size:11px
  }
  .filter-row {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-bottom:13px
  }
  .filter-field select {
    height:42px;
    font-size:12px;
    padding-left:10px
  }
  .filter-extra {
    gap:10px 16px
  }
  .filter-extra .checkbox-label {
    font-size:12px;
    min-height:40px
  }
  .filter-extra .filter-field {
    min-width:130px;
    flex:1
  }
  .results-toolbar {
    font-size:11px;
    padding:12px 14px
  }
  .sort-control select {
    font-size:11px;
    max-width:145px;
    min-height:28px
  }
  .opportunity-title {
    font-size:14px;
    line-height:1.5
  }
  .opportunity-save {
    width:35px;
    height:38px
  }
  .opportunity-row {
    padding:14px 13px;
    gap:11px;
    grid-template-columns:36px minmax(0,1fr) 31px
  }
  .opportunity-meta {
    font-size:11px;
    gap:4px 7px
  }
  .opportunity-tags {
    margin-top:8px
  }
  .company-mark {
    width:36px;
    height:36px
  }
  .detail-pane {
    padding:19px 19px 23px
  }
  .detail-tabs {
    margin-left:-19px;
    margin-right:-19px;
    padding-left:19px;
    padding-right:19px;
    gap:18px
  }
  .detail-tab {
    font-size:12px;
    min-height:43px
  }
  .detail-title {
    font-size:23px
  }
  .detail-metadata {
    font-size:12px
  }
  .detail-section p {
    font-size:15px;
    line-height:1.85
  }
  .detail-section h3 {
    font-size:14px
  }
  .source-link {
    font-size:12px;
    min-height:38px
  }
  .facts-grid dd {
    font-size:13px
  }
  .fact dt {
    font-size:11px
  }
  .breadcrumbs {
    font-size:10px;
    gap:3px;
    margin-bottom:18px
  }
  .breadcrumbs button {
    min-height:32px
  }
  .person-row {
    gap:12px;
    padding:15px 0
  }
  .person-row .person-mark {
    width:38px;
    height:38px
  }
  .person-name {
    font-size:14px
  }
  .person-role {
    font-size:12px
  }
  .person-actions .source-link {
    font-size:11px;
    min-height:36px
  }
  .related-role strong {
    font-size:13px
  }
  .related-role>span {
    font-size:11px
  }
  .tracking-summary p {
    font-size:12px
  }
  .tracking-summary .button {
    min-height:38px
  }
  .tracking-summary h3 {
    font-size:12px
  }
  .linked-company .company-link {
    font-size:13px
  }
  .linked-company p {
    font-size:11px
  }
  .source-caption {
    font-size:11px
  }
  .button.small {
    min-height:36px;
    font-size:11px
  }
  .icon-button {
    width:38px;
    height:38px
  }
  .icon-button .icon {
    width:18px;
    height:18px
  }
  .notice {
    font-size:12px
  }
  .connection-notice {
    flex-wrap:wrap
  }
  .connection-notice .row-wrap {
    padding-left:24px;
    width:100%
  }
  .metrics-strip {
    grid-template-columns:1fr 1fr
  }
  .metric:nth-child(2) {
    border-right:0
  }
  .metric:nth-child(-n+2) {
    border-bottom:1px solid var(--line)
  }
  .metric-top {
    font-size:11px
  }
  .metric p {
    font-size:10px
  }
  .metrics-strip .metric {
    padding:16px
  }
  .metric strong {
    font-size:28px
  }
  .overview-grid {
    gap:16px
  }
  .overview-stack {
    display:flex;
    gap:16px
  }
  .queue-row {
    padding:15px
  }
  .queue-row .queue-title {
    font-size:12px
  }
  .queue-row p {
    font-size:11px
  }
  .panel-heading {
    padding:16px
  }
  .panel-body {
    padding:16px
  }
  .checklist label {
    font-size:13px;
    min-height:45px
  }
  .tracker-counts {
    font-size:11px;
    gap:10px;
    flex-wrap:wrap
  }
  .tracker-controls .search-box {
    min-width:100%;
    order:-1
  }
  .tracker-table {
    min-width:0;
    display:block
  }
  .tracker-table thead {
    display:none
  }
  .tracker-table tbody {
    display:block
  }
  .tracker-table tr {
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:15px;
    gap:12px 10px;
    border-bottom:1px solid var(--line);
    position:relative
  }
  .tracker-table tr:last-child {
    border-bottom:0
  }
  .tracker-table td {
    display:block;
    padding:0;
    border:0;
    min-width:0;
    max-width:none
  }
  .tracker-table td::before {
    content:attr(data-label);
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.5px;
    color:var(--muted);
    display:block;
    margin-bottom:4px
  }
  .tracker-table .target-cell {
    grid-column:1/-1;
    padding-right:35px;
    min-width:0;
    max-width:none
  }
  .tracker-table .target-cell::before {
    display:none
  }
  .tracker-table .target-cell a {
    font-size:13px
  }
  .tracker-table .target-cell p {
    font-size:11px
  }
  .tracker-table .next-cell {
    max-width:none;
    font-size:12px;
    grid-column:1/-1
  }
  .tracker-table .date-cell {
    font-size:12px
  }
  .tracker-table .action-cell {
    position:absolute;
    right:10px;
    top:11px
  }
  .tracker-table .action-cell::before {
    display:none
  }
  .table-actions {
    flex-direction:column;
    gap:0
  }
  .tracker-board {
    grid-auto-columns:minmax(260px,80%)
  }
  .board-card {
    padding:14px
  }
  .board-card a {
    font-size:13px
  }
  .board-card p {
    font-size:12px
  }
  .board-column-header {
    font-size:13px
  }
  .template-layout {
    grid-template-columns:1fr
  }
  .template-list {
    display:flex;
    overflow-x:auto;
    scrollbar-width:thin
  }
  .template-item {
    min-width:185px;
    border-bottom:0;
    border-right:1px solid var(--line)
  }
  .template-item strong {
    font-size:12px
  }
  .template-section {
    padding:19px
  }
  .template-text {
    font-size:15px;
    line-height:1.85;
    padding:14px
  }
  .template-section .template-when {
    font-size:12px
  }
  .template-context {
    flex-wrap:wrap;
    gap:10px
  }
  .template-context .button {
    margin-left:0
  }
  .source-text {
    font-size:14px
  }
  .company-directory {
    grid-template-columns:1fr
  }
  .directory-row {
    padding:16px;
    border-right:0
  }
  .directory-row strong {
    font-size:14px
  }
  .directory-row p {
    font-size:12px
  }
  .dialog-heading {
    padding:17px 18px
  }
  .dialog-body {
    padding:19px 18px
  }
  .dialog-actions {
    padding:14px 18px
  }
  .dialog-actions .button {
    min-height:44px;
    font-size:12px
  }
  .field input:not([type="checkbox"]),.field select,.field textarea {
    font-size:16px;
    min-height:44px
  }
  .field>label,.field>legend {
    font-size:12px
  }
  .field .helper {
    font-size:11px
  }
  .checkbox-grid label {
    font-size:12px;
    min-height:44px
  }
  .checkbox-grid {
    grid-template-columns:1fr 1fr
  }
  .form-grid {
    gap:16px 12px
  }
  .form-target strong {
    font-size:13px
  }
  .form-target p {
    font-size:11px
  }
  .dialog-body>p {
    font-size:14px
  }
  .toast-region {
    right:16px;
    bottom:max(16px,env(safe-area-inset-bottom));
  }
  .toast {
    font-size:13px
  }
  .toast>.icon-button {
    width:32px;
    height:32px
  }
  .empty-state p {
    font-size:13px
  }
  .empty-state.small p {
    font-size:12px
  }
  .source-callout {
    font-size:12px
  }
  .text-list {
    font-size:14px
  }
  .privacy-footnote {
    font-size:11px
  }
  .history-list p {
    font-size:13px
  }
  .history-list time {
    font-size:11px
  }
  .mobile-back {
    min-height:40px
  }
  .topbar-tools>.icon-button {
    width:35px
  }
}
@media(max-width:420px) {
  .main-content {
    padding:20px 12px
  }
  .topbar {
    padding:0 12px
  }
  .page-heading {
    gap:8px
  }
  .page-heading h1 {
    font-size:24px
  }
  .page-heading p {
    font-size:10px
  }
  .page-actions .button {
    font-size:10px;
    padding:8px
  }
  .page-actions .button .icon {
    width:14px
  }
  .search-tab {
    font-size:10px
  }
  .search-tabs {
    gap:14px
  }
  .search-tabs .inline-count {
    font-size:9px
  }
  .opportunity-row {
    grid-template-columns:29px minmax(0,1fr) 24px;
    gap:9px;
    padding:14px 10px
  }
  .company-mark {
    width:29px;
    height:29px;
    font-size:10px
  }
  .opportunity-title {
    font-size:13px
  }
  .opportunity-save {
    width:28px;
    height:37px
  }
  .opportunity-tags {
    gap:4px
  }
  .badge {
    font-size:10px
  }
  .detail-title {
    font-size:21px
  }
  .detail-pane {
    padding:17px 16px
  }
  .detail-tabs {
    margin-left:-16px;
    margin-right:-16px;
    padding-left:16px;
    padding-right:16px;
    gap:17px
  }
  .detail-tab {
    font-size:11px
  }
  .facts-grid {
    gap:12px
  }
  .filter-field select {
    font-size:11px
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .checkbox-grid {
    grid-template-columns:1fr
  }
  .connection-button {
    max-width:128px
  }
  .topbar-label {
    font-size:10px
  }
  .profile-avatar {
    width:29px;
    height:29px
  }
  .tracker-counts {
    gap:8px
  }
  .page-heading.overview-heading {
    flex-direction:column
  }
  .page-heading.overview-heading .page-actions {
    margin-top:2px
  }
  .company-mark.large {
    width:45px;
    height:45px
  }
  .template-context strong {
    font-size:12px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important
  }
  .loading-line::after {
    width:100%;
    transform:none
  }
}
@media print {
  .side-rail,.topbar,.page-actions,.search-toolbar,.filter-row,.filter-extra,.dialog-actions,.toast-region {
    display:none!important
  }
  .app-frame {
    margin:0
  }
  .main-content {
    padding:0;
    max-width:none
  }
  .workbench {
    display:block;
    border:0
  }
  .results-pane {
    display:none
  }
  .detail-pane {
    display:block;
    max-height:none;
    overflow:visible
  }
  .tracker-table {
    min-width:0
  }
  .button,.icon-button {
    display:none
  }
  .template-layout {
    display:block
  }
  .template-list {
    display:none
  }
}
/* Small refinements for source filters and script navigation. */
.search-tab[aria-current="page"] {
  color:var(--primary);
  border-bottom-color:var(--primary);
  font-weight:700
}
.filter-chip {
  border:1px solid #d7e1d1
}
.filter-help {
  flex-basis:100%
}
.template-item {
  appearance:none;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  text-align:left;
  font-family:inherit;
  color:inherit
}
.template-item:hover {
  background:#f0f6ed
}
.template-section {
  scroll-margin-top:24px
}
.auth-card>.brand-mark {
  background:var(--rail);
  color:var(--mint);
  margin-bottom:18px;
  width:43px;
  height:43px
}
.auth-card ol {
  padding-left:20px;
  font-size:12px;
  line-height:1.9;
  color:var(--muted);
  margin:16px 0
}
.auth-card code {
  font-size:11px;
  color:var(--ink);
  background:#f2f5ee;
  border-radius:3px;
  padding:1px 4px
}
.auth-card .dialog-form {
  margin-top:18px
}
.auth-card .dialog-form>.button.primary {
  width:100%
}
.focus-filter[aria-pressed="true"] {
  background:var(--selected);
  color:var(--primary);
  border-color:#b1d2b9
}
.focus-filter {
  white-space:nowrap
}
@media(max-width:760px) {
  .filter-row>.focus-filter {
    grid-column:1/-1;
    justify-self:start;
    min-height:40px
  }
}

.brand>span:last-child {
  min-width:0;
}
@media (min-width:761px) {
  .mobile-menu {
    display:none;
  }
}
