/* Skopentra workspace: a calm, compact desk for real opportunity work.
   Visual layer only; all data, navigation and approval contracts stay in app.js. */
#appShell {
  --wp-ink: #20283c;
  --wp-muted: #657087;
  --wp-canvas: #f5f6f9;
  --wp-paper: #fff;
  --wp-line: #e1e5ed;
  --wp-accent: #62508c;
  --wp-rail: #202839;
  --wp-radius: 18px;
  background: var(--wp-canvas);
  color: var(--wp-ink);
}
#appShell .rail {
  width: 244px;
  height: 100dvh;
  padding: 28px 18px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: radial-gradient(ellipse at 10% 0, #353548 0, transparent 65%), var(--wp-rail);
  border-right: 1px solid #333b4d;
  box-shadow: 7px 0 32px #20283905;
}
#appShell .brand { gap: 11px; padding: 0 8px 30px; font-size: 24px; letter-spacing: -.9px; }
#appShell .brand-mark { width: 36px; height: 36px; border-radius: 11px; background: #e0d6f0; color: #343047; box-shadow: inset 0 1px #fff8; }
#appShell .rail-label { padding: 0 13px 14px; font-size: 9px; letter-spacing: .18em; color: #afb9cf; }
#appShell .rail-link {
  gap: 11px; min-height: 51px; flex-shrink: 0; padding: 9px 12px;
  margin: 3px 0; border-radius: 11px; font-size: 12.5px;
  font-weight: 500; line-height: 1.45; color: #d5dceb;
  border: 1px solid transparent; box-shadow: none;
}
#appShell .rail-link .nav-text { color: inherit; font-size: inherit; line-height: 1.45; }
#appShell .rail-link .nav-icon {
  width: 29px; height: 29px; flex: 0 0 29px; border: 0;
  background: transparent; color: #b9c2d8; border-radius: 8px; box-shadow: none;
}
#appShell .rail-link .nav-icon svg { width: 19px; height: 19px; stroke-width: 1.7; }
#appShell .rail-link:not(.selected):hover { background: #ffffff0b; border-color: #ffffff10; color: #fff; transform: none; }
#appShell .rail-link:not(.selected):hover .nav-icon { color: #ece4fb; background: transparent; border: 0; }
#appShell .rail-link.selected {
  color: #24293a; background: #f1edf6; border-color: #f1edf6;
  box-shadow: 0 5px 18px #11182716, inset 0 1px #fff;
}
#appShell .rail-link.selected .nav-icon { color: #62508c; background: #dfd6ee; border: 0; box-shadow: none; }
#appShell .rail-link.selected .nav-text { color: #24293a; font-weight: 700; }
#appShell .rail-link:focus-visible { outline: 3px solid #d6c8ed; outline-offset: 3px; }
#appShell .rail-bottom { margin-top: auto; padding: 20px 12px 8px; border-top: 1px solid #ffffff14; font-size: 11px; color: #bac3d5; }
#appShell .rail-dot { width: 6px; height: 6px; background: #bfcfbf; box-shadow: 0 0 0 4px #bfcfbf0a; }
#appShell .topbar {
  height: 68px; padding: 0 clamp(24px, 3vw, 44px); background: #ffffffee;
  border-color: var(--wp-line); box-shadow: 0 2px 16px #20283903;
}
#appShell .breadcrumb { color: var(--wp-muted); font-size: 12px; }
#appShell .breadcrumb strong { color: #485269; font-weight: 500; }
#appShell .breadcrumb-home { color: #393c58; font-size: 12px; }
#appShell .top-actions { gap: 16px; }
#appShell .security-pill { color: #526957; background: #f2f6f1; border-color: #e0e8df; font-size: 10px; padding: 7px 10px; }
#appShell .mail-connection { font-size: 10px; padding: 7px 10px; border-radius: 7px; }
#appShell .top-actions .text-button { min-height: 44px; font-size: 11px; color: #5d5476; }
#appShell .workspace-view { max-width: 1520px; padding: 30px clamp(24px, 3vw, 44px) 72px; background: transparent; }
#appShell .page-heading { align-items: center; margin-bottom: 22px; padding-bottom: 0; border: 0; }
#appShell .page-heading .eyebrow { display: inline-block; color: #7b698c; font-size: 9px; letter-spacing: .16em; }
#appShell .page-heading h1 { margin: 7px 0 6px; font-size: clamp(28px, 2.6vw, 37px); line-height: 1.17; letter-spacing: -.045em; }
#appShell .page-heading p { font-size: 12px; line-height: 1.65; color: var(--wp-muted); }
#appShell .tier-pill { padding: 8px 12px; font-size: 9px; letter-spacing: .13em; border-radius: 8px; background: #f0ece3; border-color: #e4dcd0; color: #746243; box-shadow: inset 0 1px #fff; }
#appShell .hero-banner {
  min-height: 204px; padding: 25px 30px; border-radius: var(--wp-radius);
  background: radial-gradient(ellipse at 95% 0, #57516985 0, transparent 70%), linear-gradient(105deg, #2b3146, #343449);
  border: 1px solid #42465b; box-shadow: 0 12px 28px #2028390a;
}
#appShell .hero-banner::before { opacity: .2; }
#appShell .hero-banner > div:first-child { max-width: 650px; position: relative; z-index: 1; }
#appShell .hero-banner h2 { font-size: clamp(29px, 2.6vw, 37px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin: 9px 0 11px; }
#appShell .hero-banner p { max-width: 560px; font-size: 12px; color: #d6d9e5; line-height: 1.65; }
#appShell .hero-banner .eyebrow { font-size: 9px; color: #d6cce6; }
#appShell .hero-review-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; margin-top: 13px; padding: 0 0 5px; border-bottom: 1px solid #d7cce699; font-size: 11px; color: #fff; }
#appShell .hero-orbit { width: 248px; height: 166px; flex: none; align-self: center; margin-left: 24px; }
#appShell .orbit-a { border-color: #d2c7ea55; width: 221px; height: 221px; left: 10px; top: -26px; }
#appShell .orbit-b { border-color: #d2c7ea55; width: 170px; height: 170px; left: 35px; top: 0; }
#appShell .orbit-c { left: 85px; top: 41px; width: 68px; height: 68px; font-size: 40px; border-radius: 18px; }
#appShell .workspace-depth-card { width: 105px; padding: 11px 12px; font-size: 8px; box-shadow: 0 12px 28px #161a3025; border-radius: 10px; }
#appShell .workspace-depth-card.depth-discover { left: 0; top: 4px; }
#appShell .workspace-depth-card.depth-review { right: 0; bottom: 5px; }
#appShell .stats { gap: 12px; margin: 22px 0 13px; }
#appShell .metric-band-label { padding: 0 1px 2px; gap: 18px; }
#appShell .metric-band-label > span { font-size: 9px; color: #6f5a85; letter-spacing: .13em; }
#appShell .metric-band-label p { font-size: 11px; color: var(--wp-muted); line-height: 1.6; }
#appShell .stats button[data-metric-view] {
  min-height: 143px; padding: 19px 19px 17px; border-radius: 14px;
  border: 1px solid var(--wp-line); background: #fff;
  box-shadow: 0 3px 4px #20283902, 0 8px 18px #20283904;
}
#appShell .stats button[data-metric-view]::before { inset: 0 17px auto; height: 2px; background: #d8d0e5; border-radius: 0 0 5px 5px; }
#appShell .stats button[data-metric-view="checked"]::before { background: #cad4e1; }
#appShell .stats button[data-metric-view="verified"]::before { background: #aec6b7; }
#appShell .stats button[data-metric-view] > span { font-size: 11px; color: #59647a; font-weight: 500; }
#appShell .stats button[data-metric-view] strong { color: #272d43; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -.045em; margin: 10px 0 9px; font-variant-numeric: tabular-nums; }
#appShell .stats button[data-metric-view] small { font-size: 10px; color: #687389; line-height: 1.55; }
#appShell .stats button[data-metric-view][aria-pressed="true"] { border-color: #b8abc9; background: #f5f1fa; box-shadow: inset 0 0 0 1px #d5c9e144, 0 5px 14px #20283904; }
#appShell .stats button[data-metric-view]:hover { transform: translateY(-2px); border-color: #b7a8cd; box-shadow: 0 10px 22px #2028390b; }
#appShell #pipelineCountExplanation { margin: 0 2px 20px; font-size: 10px; color: #677188; line-height: 1.7; }
#appShell .review-monitor { margin: 0 0 30px; padding: 19px 22px 12px; border-radius: var(--wp-radius); border-color: var(--wp-line); background: #ffffffc9; box-shadow: 0 6px 18px #20283903; }
#appShell .review-monitor-icon { width: 38px; height: 38px; border-radius: 11px; background: #f0edf6; border-color: #e0d8eb; color: #71618f; }
#appShell .review-monitor h3 { font-size: 16px; color: var(--wp-ink); margin-top: 4px; }
#appShell .review-state { font-size: 10px; padding: 7px 10px; font-weight: 500; }
#appShell .review-monitor-chips { margin-top: 15px; gap: 9px; }
#appShell .review-chip { padding: 11px 13px; background: #f7f8fa; border-color: #e9ebf0; border-radius: 10px; }
#appShell .review-chip strong { font-size: 21px; color: #3b4257; }
#appShell .review-chip span { font-size: 10px; margin-top: 4px; color: #637087; }
#appShell .review-chip[data-kind="checking"] { background: #f3eef9; border-color: #e2d9ee; }
#appShell .review-monitor-details { margin-top: 12px; border-color: #e8eaf0; padding-top: 5px; }
#appShell .review-monitor-details summary { font-size: 11px; min-height: 44px; display: flex; align-items: center; gap: 12px; color: #5c6479; }
#appShell .review-monitor-details summary span { margin-left: auto; }
#appShell .section-title { align-items: center; gap: 20px; }
#appShell .section-title h2 { font-size: 23px; margin-top: 6px; letter-spacing: -.035em; }
#appShell .eyebrow { color: #75628c; }
#appShell .filters { gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
#appShell .filters :is(input, select) { min-height: 44px; background: #fff; border-color: #dce1eb; border-radius: 9px; font-size: 11px; }
#appShell .filters input { width: 190px; }
#appShell .table-wrap { border-color: var(--wp-line); border-radius: 15px; box-shadow: 0 6px 22px #20283904; }
#appShell .table-wrap th { padding: 15px 18px; color: #657087; background: #f8f9fc; font-size: 9px; letter-spacing: .07em; }
#appShell .table-wrap td { padding: 18px; color: #667086; }
#appShell .buyer { color: #323a50; font-size: 12px; }
#appShell .opportunity-title { font-size: 11px; color: #657087; }
#appShell .source-link { color: #635583; font-weight: 500; }
#appShell .review-button { border-radius: 8px; font-size: 11px; min-height: 44px; }
#appShell :is(.government-discoveries, .team-section, .quick-introduction) { padding: 26px; border-color: var(--wp-line); border-radius: var(--wp-radius); background: #fff; box-shadow: 0 6px 24px #20283904; margin-top: 30px; }
#appShell :is(.government-discoveries, .quick-introduction, .team-section, #aiProposalStudio, #opportunities, #emailHistory, #overview) { scroll-margin-top: 95px; }
#appShell .government-discoveries > .muted { line-height: 1.75; color: #697489; }
#appShell .government-tabs { gap: 6px; padding: 8px; border: 1px solid #e6e8ef; border-radius: 12px; background: #f7f8fb; }
#appShell .government-tabs button { padding: 9px 12px; min-height: 44px; border-color: transparent; background: transparent; border-radius: 8px; color: #626a81; font-size: 11px; }
#appShell .government-tabs button[aria-pressed="true"] { background: #fff; color: #554272; border-color: #e3dbea; box-shadow: 0 2px 7px #20283908; }
#appShell .government-tabs :is(label, select) { font-size: 11px; color: #626a81; }
#appShell .opportunity-search-filters { margin-bottom: 18px; gap: 12px; }
#appShell .opportunity-search-filters label { font-size: 10px; color: #687187; }
#appShell .opportunity-search-filters :is(input, select) { min-height: 44px; border-color: #dce1eb; border-radius: 9px; font-size: 12px; }
#appShell #governmentStatus { color: #677389; text-align: left; font-size: 10px; line-height: 1.7; margin: 15px 0; }
#appShell .government-grid { gap: 14px; }
#appShell .government-card { padding: 20px; background: #fff; border-color: #e3e6ee; border-radius: 13px; box-shadow: 0 3px 10px #20283903; }
#appShell .government-card:hover { border-color: #c4b8d5; transform: translateY(-2px); box-shadow: 0 10px 24px #20283908; }
#appShell .government-card h3 { font-size: 15px; color: #30384e; line-height: 1.5; letter-spacing: -.025em; }
#appShell .government-card :is(p, small) { line-height: 1.7; }
#appShell .government-card a { display: inline-flex; align-items: center; min-height: 44px; }
#appShell .government-card .opportunity-actions button { min-height: 44px; }
#appShell .quick-introduction { position: relative; overflow: hidden; background: linear-gradient(120deg, #fff, #faf8fd); }
#appShell .quick-introduction::before { content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 2px; background: #c5b3dd; }
#appShell .introduction-heading h2 { color: #30374d; font-size: 24px; }
#appShell .introduction-heading p { font-size: 12px; line-height: 1.65; color: #687188; }
#appShell .introduction-badge { border: 1px solid #dfd7e9; background: #f4f0f9; border-radius: 7px; color: #6f5b88; font-size: 8px; }
#appShell .introduction-counts { gap: 12px; margin: 23px 0; }
#appShell .introduction-counts > div { padding: 14px 16px; border: 1px solid #e7e3ed; border-radius: 11px; background: #fff; }
#appShell .introduction-counts strong { font-size: 29px; color: #343b51; }
#appShell .introduction-counts span { color: #647087; font-size: 10px; }
#appShell .introduction-counts small { font-size: 9px; color: #657087; }
#appShell .introduction-counts > div:nth-child(3) { background: #f6f9f6; border-color: #e0e9df; }
#appShell .introduction-actions .primary-button { width: auto; min-width: 206px; min-height: 44px; margin: 0; font-size: 11px; gap: 26px; }
#appShell .primary-button, #appShell .send-button { background: #645080; box-shadow: 0 4px 12px #64508012; }
#appShell .primary-button:hover, #appShell .send-button:hover { background: #514069; }
#appShell .introduction-actions p { color: #677188; line-height: 1.7; }
#appShell .introduction-dialog { background: #fbfbfd; border-color: #dfe1ea; box-shadow: 0 32px 100px #18213338; }
#appShell .introduction-dialog h2 { font-size: 26px; color: var(--wp-ink); }
#appShell .introduction-message { background: #fff; padding: 21px; border: 1px solid #e0e3eb; border-radius: 14px; }
#appShell .introduction-dialog textarea { line-height: 1.75; }
#appShell .introduction-dialog .introduction-contact { box-shadow: 0 3px 10px #20283902; border-color: #e0e3eb; }
#appShell .introduction-dialog .introduction-contact strong { color: #354056; }
#appShell .email-history-title { margin-top: 30px; }
#appShell #aiProposalStudio { background: #fff; padding: 26px !important; border-radius: var(--wp-radius); border-color: var(--wp-line) !important; box-shadow: 0 6px 24px #20283904; margin-top: 30px; }
#appShell #aiProposalStudio > h2 { color: #30374d; font-size: 25px; }
#appShell #aiProposalStudio .studio-evidence-panel { background: #f7f6fa; border-color: #e3dfea; }
#appShell #aiProposalStudio .studio-workspace { gap: 22px; }
#appShell #aiProposalStudio :is(select, input:not([type="checkbox"])) { height: 44px; min-height: 44px; border: 1px solid #dce1eb; border-radius: 9px; padding: 10px 12px; background: #fff; color: #30384e; font-size: 12px; }
#appShell #aiProposalStudio #studioDraft { border-color: #dce1ea !important; box-shadow: 0 3px 16px #20283903; background: #fffdfb; font-size: 13px !important; line-height: 1.85 !important; }
#appShell #aiProposalStudio .studio-actions button { min-height: 44px; border-radius: 9px; }
#appShell :is(button, a, summary, input, select, textarea):focus-visible { outline: 3px solid #8b75ac; outline-offset: 3px; }
#appShell :is(button):disabled { cursor: not-allowed; transform: none !important; }
#appShell .government-card details > summary, #appShell #companyProfileSection > summary { min-height: 44px; padding-block: 12px; }
#appShell .industry-form { gap: 12px; }
#appShell .industry-form :is(input, select) { min-height: 44px; border-color: #dce1eb; }
@media (min-width: 761px) {
  #appShell .hero-banner h2 br { display: none; }
}
@media (min-width: 951px) and (max-width: 1200px) {
  #appShell .rail { width: 224px; padding-inline: 14px; }
  #appShell .workspace-view { padding-inline: 26px; }
  #appShell .hero-orbit { width: 205px; transform: scale(.85); transform-origin: center right; margin-left: 8px; }
  #appShell .hero-banner p { max-width: 395px; }
  #appShell .section-title { flex-wrap: wrap; }
  #appShell .filters { justify-content: flex-start; }
  #appShell .stats button[data-metric-view] { padding-inline: 15px; }
}
@media (max-width: 950px) and (min-width: 761px) {
  #appShell .rail { width: 190px; padding-inline: 12px; }
  #appShell .brand { padding: 0 7px 28px; justify-content: flex-start; font-size: 21px; }
  #appShell .brand > span:last-child { display: inline; }
  #appShell .rail-label { display: block; font-size: 8px; }
  #appShell .rail-link { justify-content: flex-start; padding: 8px; font-size: 11px; }
  #appShell .rail-link .nav-icon { flex-basis: 26px; width: 26px; height: 26px; }
  #appShell .rail-link .nav-text { display: block; font-size: 11px; }
  #appShell .rail-link::after { display: none; }
  #appShell .rail-bottom { font-size: 10px; }
  #appShell .workspace-view { padding-inline: 23px; }
  #appShell .topbar { padding-inline: 23px; }
  #appShell .security-pill { display: none; }
  #appShell .top-actions { gap: 12px; }
  #appShell .hero-orbit { display: none; }
  #appShell .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #appShell .review-monitor-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #appShell .section-title { flex-wrap: wrap; }
  #appShell .filters { justify-content: flex-start; }
  #appShell .introduction-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #appShell .rail { display: none; }
  #appShell .topbar { position: relative; height: auto; min-height: 65px; padding: 10px 18px; gap: 12px; flex-wrap: wrap; }
  #appShell .top-actions { gap: 12px; flex-wrap: wrap; }
  #appShell .top-actions .text-button { min-height: 44px; }
  #appShell .security-pill { display: none; }
  #appShell .workspace-view { padding: 18px 18px 45px; }
  #appShell .mobile-workspace-nav { display: flex; position: sticky; top: 0; overflow-x: auto; gap: 5px; padding: 6px; margin: 0 -4px 22px; border: 1px solid #e0e3ec; border-radius: 11px; background: #ffffffed; backdrop-filter: blur(16px); box-shadow: 0 3px 12px #20283904; z-index: 11; }
  #appShell .mobile-workspace-nav a { flex-shrink: 0; min-height: 44px; padding: 10px 13px; color: #626e84; border-radius: 7px; font-size: 11px; font-weight: 500; text-decoration: none; white-space: nowrap; }
  #appShell .mobile-workspace-nav a:not(.selected) { background: transparent; color: #626e84; }
  #appShell .mobile-workspace-nav a.selected { color: #584270; background: #efe9f6; }
  #appShell .page-heading { margin-bottom: 20px; align-items: flex-start; gap: 14px; }
  #appShell .page-heading h1 { font-size: 28px; overflow-wrap: anywhere; }
  #appShell .tier-pill { margin-top: 21px; padding: 7px 9px; font-size: 8px; }
  #appShell .hero-banner { padding: 24px; min-height: 0; }
  #appShell .hero-banner h2 { font-size: 30px; }
  #appShell .hero-banner p { font-size: 12px; }
  #appShell .hero-orbit { display: none; }
  #appShell .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #appShell .stats button[data-metric-view] { padding: 17px 14px; min-height: 150px; }
  #appShell .stats button[data-metric-view] strong { font-size: 30px; }
  #appShell .metric-band-label { display: block; }
  #appShell .metric-band-label p { margin: 9px 0 0; }
  #appShell .review-monitor { padding: 19px 17px 10px; }
  #appShell .review-monitor-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #appShell .review-chip:last-child { grid-column: 1 / -1; }
  #appShell .section-title { display: flex; flex-wrap: wrap; gap: 16px; }
  #appShell .filters { width: 100%; justify-content: flex-start; margin: 0; }
  #appShell .filters input { width: 100%; }
  #appShell .filters select { flex: 1; min-width: 125px; }
  #appShell :is(.government-discoveries, .quick-introduction, .team-section, #aiProposalStudio) { padding: 22px 17px !important; margin-top: 24px; }
  #appShell .government-card { padding: 18px; }
  #appShell .government-tabs { gap: 3px; padding: 5px; }
  #appShell .government-tabs button { padding-inline: 9px; }
  #appShell .introduction-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #appShell .introduction-counts > div { padding: 12px; }
  #appShell .introduction-counts strong { font-size: 26px; }
  #appShell .introduction-heading { align-items: flex-start; }
  #appShell .introduction-actions .primary-button { width: 100%; }
  #appShell .introduction-dialog { padding: 23px 17px; }
  #appShell .introduction-message { padding: 17px; }
  #appShell .email-history-title { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  #appShell *, #appShell *::before, #appShell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #appShell :is(.government-card, .stats button[data-metric-view]):hover { transform: none; }
}

/* Six activity indicators retain their own recorded counts. */
#appShell #reviewMonitorChips { grid-template-columns:repeat(6,minmax(0,1fr)); }
#appShell #reviewMonitorChips .review-chip { min-width:0; overflow-wrap:anywhere; }
#appShell #reviewMonitorChips .review-chip:last-child { grid-column:auto; }
#appShell #reviewMonitorChips .review-activity-note { grid-column:1/-1; margin:0; font-size:11px; line-height:1.5; color:#657087; }
@media (max-width:1100px) { #appShell #reviewMonitorChips { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:700px) { #appShell #reviewMonitorChips { grid-template-columns:repeat(2,minmax(0,1fr)); } }

#appShell .government-country-filter { min-width:0; }
#appShell #governmentCountry { min-height:44px; min-width:0; max-width:200px; }
