@font-face { font-family: Aileron; src: url("https://www.etrepid.com/wp-content/uploads/2026/02/Aileron-Light-webfont.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: Aileron; src: url("https://www.etrepid.com/wp-content/uploads/2026/02/Aileron-SemiBold-webfont.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: Aileron; src: url("https://www.etrepid.com/wp-content/uploads/2026/02/Aileron-Heavy-webfont.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --ink: #142a49;
  --muted: #49617d;
  --paper: #f5f7f9;
  --panel: #ffffff;
  --line: #c9d6e3;
  --navy: #1b365d;
  --navy-soft: #005f8d;
  --signal: #f6d564;
  --signal-dark: #9b7620;
  --award: #005f8d;
  --opportunity: #2c9fae;
  --success: #007dba;
  --shadow: 0 12px 35px rgb(20 42 73 / 10%);
  font-family: Aileron, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.masthead {
  height: 66px; padding: 0 4vw; display: flex; align-items: center; gap: 24px;
  color: var(--navy); background: white; border-bottom: 4px solid var(--signal);
}
.brand { display: flex; align-items: center; gap: 15px; color: var(--navy); text-decoration: none; }
.brand img { width: 132px; height: auto; display: block; }
.product-name { padding-left: 15px; border-left: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.environment { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.environment span { width: 7px; height: 7px; border-radius: 50%; background: #00d084; box-shadow: 0 0 0 3px #00d08422; }
.queue-button { padding: 9px 12px; border: 1px solid var(--navy); color: var(--navy); background: white; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.queue-button span { display: inline-grid; min-width: 20px; min-height: 20px; margin-left: 5px; place-items: center; color: var(--navy); background: var(--signal); }

main { width: min(1480px, 94vw); margin: 0 auto 48px; }
.workspace-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 38px 4px 24px; }
.eyebrow { margin: 0 0 7px; color: var(--signal-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: Aileron, Arial, sans-serif; font-weight: 800; }
h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; letter-spacing: -.025em; }
h2 { margin: 0; font-size: 25px; }
h3 { margin: 0 0 8px; font-size: 19px; }
.workspace-heading > div > p:last-child { margin: 0; color: var(--muted); }
.freshness { max-width: 430px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }

.search-panel, .results-panel { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.search-panel { position: relative; z-index: 2; padding: 23px 26px 18px; border-top: 5px solid var(--navy); }
label, legend { color: #4b5a61; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.primary-search label { display: block; margin-bottom: 8px; }
.search-input-wrap { display: flex; align-items: center; border: 1px solid #9ba6a9; background: white; }
.search-input-wrap:focus-within { outline: 3px solid #d45d3222; border-color: var(--signal); }
.search-input-wrap > span { padding-left: 14px; color: var(--signal); font-size: 25px; }
input, select { border: 1px solid #bbc1c1; color: var(--ink); background: #fff; }
input { min-width: 0; padding: 10px 11px; }
input:focus, select:focus { outline: 2px solid #d45d3244; border-color: var(--signal); }
.search-input-wrap input { flex: 1; border: 0; padding: 14px 12px; font-size: 16px; outline: 0; }
.primary-button { border: 0; padding: 14px 24px; color: var(--navy); background: var(--signal); font-weight: 800; text-transform: uppercase; }
.primary-button:hover { background: #f0c93f; }
.filter-grid { display: grid; grid-template-columns: 1.35fr repeat(7, minmax(100px, 1fr)); gap: 12px; margin-top: 17px; }
.filter-grid > label { display: grid; align-content: start; gap: 6px; }
.filter-grid > label > select { min-width: 0; padding: 10px 8px; }
.type-filter { min-width: 0; margin: 0; padding: 0; border: 0; }
.type-filter legend { margin-bottom: 9px; }
.type-filter label { display: inline-flex; align-items: center; gap: 5px; margin-right: 8px; letter-spacing: 0; text-transform: none; }
.type-filter input { accent-color: var(--signal); }
.type-filter .open-only { display: flex; margin-top: 8px; color: var(--navy); font-weight: 800; }
.filter-actions { display: flex; align-items: center; gap: 18px; min-height: 28px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.text-button, .quiet-button { padding: 5px 0; border: 0; color: var(--signal-dark); background: none; font-weight: 700; }
.quiet-button { color: #d8e3e7; }

.results-panel { margin-top: 18px; overflow: hidden; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 24px 16px; border-bottom: 1px solid var(--line); }
.toolbar-actions { display: flex; align-items: center; gap: 8px; }
.export-group { display: flex; align-items: center; gap: 8px; }
.export-group > span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.page-size { display: flex; align-items: center; gap: 7px; margin-right: 8px; }
.page-size select { padding: 8px; }
.secondary-button { border: 1px solid #aeb6b7; padding: 8px 13px; color: var(--navy); background: white; font-weight: 700; }
.secondary-button:hover:not(:disabled) { border-color: var(--navy); background: #edf2f3; }
button:disabled { cursor: not-allowed; opacity: .42; }
.message { padding: 42px 24px; color: var(--muted); text-align: center; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { position: sticky; top: 0; padding: 10px 12px; color: #627179; background: #e9e7df; text-align: left; text-transform: uppercase; letter-spacing: .07em; font-size: 10px; }
td { max-width: 420px; padding: 12px; border-top: 1px solid #e5e1d8; vertical-align: top; }
tbody tr:hover { background: #f8f3ea; }
.record-title { display: block; margin-bottom: 4px; color: var(--navy); font-weight: 750; line-height: 1.35; }
.record-org { color: var(--muted); }
.badge { display: inline-block; min-width: 82px; padding: 4px 7px; color: white; text-align: center; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 800; }
.badge.award { background: var(--award); }
.badge.opportunity { background: var(--opportunity); }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding: 14px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.workspace-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.workspace-tab { padding: 11px 16px; border: 1px solid var(--line); color: var(--navy); background: #fff; font-weight: 750; }
.workspace-tab.active { border-color: var(--navy); color: #fff; background: var(--navy); }
.account-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.account-filter-grid label { display: grid; gap: 6px; color: var(--navy); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.account-filter-grid input, .account-filter-grid select { min-width: 0; padding: 10px; border: 1px solid #abb8c3; background: #fff; }
.score-caveat { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.priority-score { display: inline-grid; place-items: center; min-width: 42px; min-height: 34px; padding: 4px; color: #fff; background: var(--navy-soft); font-weight: 850; }
.account-awards { margin-top: auto; padding: 24px 28px 30px; border-top: 1px solid var(--line); background: #f7f8fa; }
.account-awards h3 { margin: 4px 0 14px; }
.account-award-item { padding: 12px 0; border-top: 1px solid var(--line); }
.account-award-item strong, .account-award-item span { display: block; }
.account-award-item span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.acceptance-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 22px 24px 28px; }
.acceptance-card { display: flex; flex-direction: column; gap: 15px; padding: 20px; border: 1px solid var(--line); border-top: 5px solid var(--navy); background: #fff; box-shadow: 0 7px 20px rgb(20 42 73 / 7%); }
.acceptance-card > header { display: flex; justify-content: space-between; gap: 18px; }
.acceptance-card h3 { font-size: 20px; }
.acceptance-card header p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.relevance-state { align-self: flex-start; min-width: 92px; padding: 7px 9px; color: #fff; background: var(--navy-soft); text-align: center; font-size: 10px; font-weight: 850; letter-spacing: .07em; }
.relevance-state.possible { color: var(--navy); background: var(--signal); }
.relevance-state.no_match { background: #64748b; }
.acceptance-signals { margin: 0; color: var(--navy-soft); font-size: 12px; font-weight: 700; text-transform: capitalize; }
.acceptance-evidence { display: grid; gap: 9px; }
.acceptance-evidence article { padding: 11px 12px; border-left: 3px solid var(--signal); background: #f7f8fa; }
.acceptance-evidence strong, .acceptance-evidence span { color: var(--muted); font-size: 11px; }
.acceptance-evidence p { margin: 5px 0; font-size: 12px; line-height: 1.45; }
.acceptance-decision-form { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.acceptance-decision-form input, .acceptance-decision-form select, .acceptance-decision-form textarea { min-width: 0; padding: 10px; border: 1px solid #abb8c3; }
.acceptance-decision-form textarea, .acceptance-decision-form .decision-feedback, .acceptance-decision-form .acceptance-complete { grid-column: 1 / -1; }
.acceptance-decision-form button { grid-column: 2; justify-self: end; }
.acceptance-complete { margin: 0; color: var(--navy-soft); font-weight: 800; }

.operations-surface { margin-top: 18px; }
.operations-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 24px; border: 1px solid var(--line); border-top: 5px solid var(--navy); background: var(--panel); box-shadow: var(--shadow); }
.operations-heading > div > p:last-child { max-width: 720px; margin: 8px 0 0; color: var(--muted); line-height: 1.45; }
.control-state { padding: 8px 10px; color: var(--navy); background: #eef8fc; border: 1px solid #9bcfe8; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.operations-notice { margin-top: 16px; padding: 15px 18px; border-left: 5px solid var(--signal); color: var(--navy); background: #fff8df; line-height: 1.5; }
.operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.operations-card { padding: 22px; border: 1px solid var(--line); border-top: 5px solid var(--navy); background: var(--panel); box-shadow: var(--shadow); }
.operations-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.operations-card-wide { grid-column: 1 / -1; }
.control-list { display: grid; gap: 9px; margin: 18px 0 0; }
.control-list div { display: grid; grid-template-columns: minmax(140px, .8fr) 1.2fr; gap: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
.control-list dt { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.control-list dd { margin: 0; color: var(--navy); line-height: 1.35; }
.action-list { display: grid; gap: 9px; margin-top: 18px; }
.action-list .secondary-button { justify-self: start; }
.action-list span, .settings-boundary { color: var(--muted); font-size: 12px; line-height: 1.45; }
.settings-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.settings-preview > div { display: grid; gap: 4px; min-height: 96px; padding: 14px; border: 1px solid var(--line); background: #f7f8fa; }
.settings-preview strong { color: var(--navy); font-size: 13px; }
.settings-preview span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.settings-boundary { margin: 18px 0 0; }

.record-link { padding: 0; border: 0; color: var(--navy); background: transparent; font-weight: 800; line-height: 1.35; text-align: left; text-decoration: underline; text-decoration-color: #2c9fae66; text-underline-offset: 3px; }
.record-link:hover { text-decoration-color: var(--navy); }
dialog { padding: 0; border: 0; }
dialog::backdrop { background: rgb(11 29 51 / 58%); }
.drawer { width: min(680px, 96vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; color: var(--ink); background: var(--panel); box-shadow: -18px 0 45px rgb(11 29 51 / 22%); }
.drawer-shell { min-height: 100%; display: flex; flex-direction: column; }
.drawer-header { display: flex; justify-content: space-between; gap: 20px; padding: 25px 28px 21px; border-top: 6px solid var(--signal); border-bottom: 1px solid var(--line); }
.close-button { align-self: flex-start; width: 38px; height: 38px; border: 1px solid var(--line); color: var(--navy); background: white; font-size: 25px; line-height: 1; }
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: 26px 28px; }
.detail-field { min-width: 0; }
.detail-field.wide { grid-column: 1 / -1; }
.detail-field dt { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-field dd { margin: 0; overflow-wrap: anywhere; line-height: 1.45; }
.detail-field a { color: var(--navy-soft); }
.qualification-form { margin-top: auto; padding: 25px 28px 30px; border-top: 1px solid var(--line); background: #eef8fc; }
.qualification-form > div:first-child p:last-child { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.qualification-form > label { display: grid; gap: 6px; margin-top: 13px; }
.qualification-form input, .qualification-form textarea { width: 100%; padding: 10px 11px; border: 1px solid #abb8c3; color: var(--ink); background: white; }
.qualification-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
#qualification-message { color: var(--navy-soft); font-size: 12px; }
.queue-items { display: grid; gap: 12px; padding: 22px 28px; }
.queue-card { padding: 17px 18px; border: 1px solid var(--line); border-left: 5px solid var(--signal); background: white; }
.queue-card h3 { margin-bottom: 5px; font-size: 16px; }
.queue-card p { margin: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.queue-card .queue-meta { color: var(--navy); font-weight: 600; }
.queue-card .queue-destination { color: var(--opportunity); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.queue-card details { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 11px; }
.queue-card summary { cursor: pointer; color: var(--navy-soft); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.decision-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.decision-form input, .decision-form select, .decision-form textarea { min-width: 0; padding: 9px; border: 1px solid #abb8c3; color: var(--ink); background: white; }
.decision-form textarea, .decision-feedback { grid-column: 1 / -1; }
.decision-form button { justify-self: end; grid-column: 2; }
.decision-feedback { min-height: 18px; color: var(--navy-soft); font-size: 12px; }

@media (max-width: 1100px) {
  .filter-grid { grid-template-columns: repeat(4, 1fr); }
  .acceptance-items { grid-template-columns: 1fr; }
  .settings-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .masthead { padding: 0 18px; }
  .environment { display: none; }
  .session-state { margin-left: auto; }
  .product-name { display: none; }
  .queue-button { margin-left: auto; }
  main { width: 100%; margin-bottom: 0; }
  .workspace-heading { display: block; padding: 25px 18px 18px; }
  .workspace-tabs { padding: 0 18px; overflow-x: auto; }
  .freshness { margin-top: 15px; text-align: left; }
  .search-panel, .results-panel { border-left: 0; border-right: 0; }
  .search-panel { padding: 18px; }
  .filter-grid { grid-template-columns: repeat(2, 1fr); }
  .account-filter-grid { grid-template-columns: 1fr; }
  .results-toolbar { align-items: flex-start; padding: 16px 18px; }
  .operations-heading { display: block; padding: 18px; }
  .control-state { display: inline-block; margin-top: 14px; }
  .operations-grid { grid-template-columns: 1fr; }
  .toolbar-actions { flex-wrap: wrap; justify-content: flex-end; }
  .export-group { flex-wrap: wrap; justify-content: flex-end; }
  .page-size { width: 100%; justify-content: flex-end; }
  th:nth-child(4), td:nth-child(4), th:nth-child(6), td:nth-child(6), th:nth-child(7), td:nth-child(7) { display: none; }
}
@media (max-width: 450px) {
  .filter-grid { grid-template-columns: 1fr; }
  .type-filter { grid-column: 1; }
  .results-toolbar { display: block; }
  .toolbar-actions { justify-content: flex-start; margin-top: 14px; }
  .page-size { width: auto; }
  .brand img { width: 105px; }
  .detail-content { grid-template-columns: 1fr; }
  .detail-field.wide { grid-column: 1; }
  .decision-form { grid-template-columns: 1fr; }
  .decision-form textarea, .decision-feedback, .decision-form button { grid-column: 1; }
  .acceptance-decision-form { grid-template-columns: 1fr; }
  .settings-preview { grid-template-columns: 1fr; }
  .control-list div { grid-template-columns: 1fr; gap: 4px; }
  .acceptance-decision-form textarea, .acceptance-decision-form .decision-feedback, .acceptance-decision-form button { grid-column: 1; }
}

/* Keep native controls readable and agency choices accessible without modifier keys. */
select, option { color: #142a49; background: #fff; color-scheme: light; }
[hidden] { display: none !important; }
.agency-filter { min-width: 0; position: relative; }
.agency-filter summary { cursor: pointer; border: 1px solid #abb8c3; padding: 10px; font-size: 12px; }
.agency-options { position: absolute; z-index: 10; width: min(420px, 80vw); max-height: 360px; overflow: auto; padding: 12px; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.agency-options > input { width: 100%; }
.agency-list label { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; font-size: 12px; text-transform: none; letter-spacing: normal; overflow-wrap: anywhere; }
.agency-list input { flex: 0 0 auto; }
.sort-button { border: 0; padding: 0; color: var(--navy); background: transparent; font: inherit; text-align: inherit; text-transform: inherit; }
.sort-button:focus-visible, summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.account-table-wrap { overflow: auto; }
@media (max-width: 700px) {
  th:nth-child(4), td:nth-child(4), th:nth-child(6), td:nth-child(6), th:nth-child(7), td:nth-child(7) { display: table-cell; }
  .table-wrap table, .account-table-wrap table { min-width: 850px; }
}

#result-count { margin: 6px 0 0; color: var(--muted); font-size: 13px; }


/* --- Masthead User Session & Profile Controls --- */
.masthead-controls { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.user-session-widget { display: flex; align-items: center; gap: 10px; }
.user-profile-trigger {
  display: flex; align-items: center; gap: 9px; padding: 4px 8px; background: transparent;
  border: 1px solid transparent; border-radius: 20px; cursor: pointer; transition: background .15s ease;
}
.user-profile-trigger:hover { background: #f0f4f8; border-color: var(--line); }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: white;
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid var(--signal); flex-shrink: 0; text-transform: uppercase;
}
.user-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.user-display-name { font-size: 12px; font-weight: 800; color: var(--navy); white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.user-role-badge { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.masthead-logout {
  padding: 6px 10px; border: 1px solid var(--line); background: white; color: var(--muted);
  font-size: 11px; font-weight: 700; border-radius: 3px; cursor: pointer;
}
.masthead-logout:hover { color: #d9383a; border-color: #d9383a; }
.masthead-login-button {
  padding: 8px 14px; background: var(--navy); color: white; font-size: 12px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border-radius: 3px;
}
.masthead-login-button:hover { background: var(--navy-soft); }

/* --- Branded Login Gate (NIST SP 800-171 / CMMC 2.0 AC.L2-3.1.9) --- */
.login-gate-container {
  min-height: calc(85vh - 70px); display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.login-gate-card {
  max-width: 620px; width: 100%; background: var(--panel); border: 1px solid var(--line);
  border-top: 6px solid var(--navy); box-shadow: 0 16px 40px rgb(20 42 73 / 12%);
  padding: 42px 36px 36px; text-align: center; border-radius: 4px;
}
.login-gate-brand { margin-bottom: 28px; }
.login-gate-logo { max-width: 190px; height: auto; margin-bottom: 16px; display: inline-block; }
.login-gate-eyebrow { margin: 0 0 8px; color: var(--signal-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.login-gate-title { margin: 0 0 8px; font-size: 24px; color: var(--navy); line-height: 1.18; font-weight: 800; }
.login-gate-subtitle { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.login-gate-action {
  display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px;
}
.microsoft-sign-in-button {
  display: inline-flex; align-items: center; gap: 12px; background: #ffffff; color: #2f2f2f;
  border: 1px solid #8c8c8c; padding: 11px 24px; font-size: 15px; font-weight: 600;
  text-decoration: none; border-radius: 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.microsoft-sign-in-button:hover {
  background: #f8f9fa; border-color: #505050; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}
.microsoft-sign-in-button svg { vertical-align: middle; flex-shrink: 0; }
.login-gate-hint { margin: 0; color: var(--muted); font-size: 11px; }

/* Defense Industrial Base Compliance Banner */
.compliance-banner {
  text-align: left; background: #fffcf2; border: 1px solid #fae69e; border-left: 4px solid var(--signal-dark);
  padding: 16px 18px; border-radius: 3px;
}
.compliance-header {
  display: flex; align-items: center; gap: 8px; color: var(--signal-dark); font-size: 11px;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px;
}
.compliance-icon { font-size: 15px; }
.compliance-text { margin: 0 0 6px; font-size: 11.5px; line-height: 1.5; color: #3b3a36; }
.compliance-consent { margin: 0 0 10px; font-size: 11px; line-height: 1.45; color: #5a574f; font-style: italic; }
.compliance-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.compliance-tag {
  font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 6px; background: rgba(155, 118, 32, 0.12); color: var(--signal-dark); border-radius: 2px;
}

/* --- User Profile Modal & Preferences Drawer --- */
.user-profile-drawer { max-width: 540px; }
.user-profile-content { padding: 20px 24px; }
.profile-hero {
  display: flex; align-items: center; gap: 16px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.profile-avatar-large {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: white;
  font-size: 20px; font-weight: 800; display: grid; place-items: center;
  border: 3px solid var(--signal); flex-shrink: 0; text-transform: uppercase;
}
.profile-identity { flex: 1; min-width: 0; }
.profile-identity h3 { margin: 0 0 4px; font-size: 18px; color: var(--navy); }
.profile-email { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.profile-roles-container { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-role-pill {
  font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  background: var(--navy); color: white; padding: 2px 7px; border-radius: 10px;
}
.profile-section { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.profile-section:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.profile-section-help { font-size: 11.5px; color: var(--muted); margin: 0 0 12px; line-height: 1.45; }
.preferences-form { display: flex; flex-direction: column; gap: 12px; }
.preferences-form label { display: flex; flex-direction: column; gap: 5px; }
.preferences-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.preferences-feedback { font-size: 11.5px; font-weight: 700; color: #007dba; }
.hash-monospace { font-family: ui-monospace, Menlo, Monaco, monospace; font-size: 10.5px; word-break: break-all; }
.status-verified { color: #028a4b; font-weight: 700; }
.danger-button {
  background: transparent; color: #d9383a; border: 1px solid #d9383a; padding: 9px 14px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  border-radius: 3px; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.danger-button:hover { background: #d9383a; color: white; }


/* ThreatKrusher Shield & Nav Suggester Enhancements */
.threatkrusher-shield {
  display: inline-block;
  vertical-align: middle;
  height: 30px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.nav-suggester-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  background: #112233;
  color: #c0d8f0;
  border: 1px solid #23405c;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nav-suggester-btn:hover {
  background: #1a334d;
  border-color: #007dba;
  color: #ffffff;
}

.boolean-query-wrap {
  margin: 1.25rem 0;
}

.boolean-query-box {
  width: 100%;
  box-sizing: border-box;
  background: #09121a;
  border: 1px solid #1f3347;
  border-radius: 6px;
  padding: 0.85rem;
  font-family: monospace;
  font-size: 0.95rem;
  color: #00e5ff;
  resize: vertical;
  line-height: 1.4;
  margin-top: 0.5rem;
}

.nav-modal-desc {
  font-size: 0.9rem;
  color: #9cb3c9;
  line-height: 1.45;
}

.nav-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.nav-feedback {
  font-size: 0.85rem;
  color: #4ade80;
  font-weight: 600;
}

.pref-clusters-wrap {
  margin: 0.75rem 0;
}

.pref-clusters-title {
  display: block;
  font-size: 0.8rem;
  color: #7b9bb6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cluster-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cluster-pill {
  background: #152535;
  color: #8faec9;
  border: 1px solid #223c54;
  border-radius: 12px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.cluster-pill:hover, .cluster-pill.active {
  background: #007dba;
  color: #ffffff;
  border-color: #0099e6;
}

/* ==========================================================================
   Daily ICP Executive Briefing & Dispatch Cockpit (Phase 3)
   ========================================================================== */

.briefing-surface {
  margin-top: 1.5rem;
}

.briefing-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  background: #0d1620;
  border: 1px solid #1a293a;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.briefing-title-group h2 {
  font-size: 1.4rem;
  color: #e2f0fb;
  margin: 0.2rem 0;
}

.briefing-subtitle {
  color: #7d9cb8;
  font-size: 0.85rem;
  max-width: 650px;
  margin: 0;
  line-height: 1.4;
}

.briefing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.briefing-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.briefing-filter-group label {
  font-size: 0.75rem;
  color: #8faec9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.briefing-select {
  background: #152535;
  color: #e2f0fb;
  border: 1px solid #223c54;
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
}

.briefing-status {
  background: #111e2c;
  border: 1px solid #1e334a;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  color: #8faec9;
  font-size: 0.95rem;
  margin: 1rem 0;
}

.briefing-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.briefing-card {
  background: #0d1622;
  border: 1px solid #1c2e42;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease;
}

.briefing-card:hover {
  border-color: #274768;
}

.briefing-card-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #1c2e42;
}

.company-headline h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin: 0 0 0.3rem 0;
}

.company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #7d9cb8;
}

.company-meta span strong {
  color: #adc8de;
}

.briefing-header-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dedup-badge {
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dedup-prospect {
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.dedup-lead {
  background: rgba(241, 196, 15, 0.12);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.35);
}

.dedup-client {
  background: rgba(231, 76, 60, 0.15);
  color: #ff7675;
  border: 1px solid rgba(231, 76, 60, 0.4);
}

.score-display-pill {
  background: #162a3f;
  border: 1px solid #25476a;
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.score-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00b4d8;
}

.score-max {
  font-size: 0.75rem;
  color: #7d9cb8;
}

.score-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.score-chip {
  background: #111d2b;
  border: 1px solid #1d3148;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  color: #8faec9;
}

.score-chip strong {
  color: #00b4d8;
}

.compliance-banner {
  background: #112133;
  border-left: 4px solid #00b4d8;
  border-radius: 0 6px 6px 0;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0.9rem 0;
}

.compliance-shield-icon {
  width: 28px;
  height: 31px;
  flex-shrink: 0;
  margin-top: 2px;
}

.compliance-details strong {
  color: #00b4d8;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.2rem;
}

.compliance-details p {
  color: #a3c2db;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

.contract-win-strip {
  background: #131f2d;
  border: 1px solid #1f334a;
  border-radius: 6px;
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  color: #7d9cb8;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.contract-win-strip strong {
  color: #ffffff;
}

.dossier-tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-bottom: 1px solid #1c2e42;
  margin-top: 1rem;
}

.dossier-tab-btn {
  background: transparent;
  color: #7d9cb8;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.dossier-tab-btn:hover {
  color: #c2ddf2;
}

.dossier-tab-btn.active {
  color: #00b4d8;
  border-bottom-color: #00b4d8;
  font-weight: 600;
}

.dossier-tab-pane {
  background: #0b131c;
  border: 1px solid #1a2a3c;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.battlecard-block {
  margin-bottom: 1rem;
}

.battlecard-block:last-child {
  margin-bottom: 0;
}

.battlecard-block h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8faec9;
  margin: 0 0 0.35rem 0;
}

.persona-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.persona-tag {
  background: #142231;
  border: 1px solid #22374e;
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  color: #c2ddf2;
}

.pitch-quote {
  background: #101c27;
  border-left: 3px solid #007dba;
  padding: 0.65rem 0.85rem;
  font-style: italic;
  color: #d1e5f5;
  margin: 0;
}

.objection-item {
  background: #101a24;
  border: 1px solid #1a2a3b;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
}

.objection-item strong {
  color: #e74c3c;
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.objection-item p {
  margin: 0;
  color: #adc8de;
}

.deliverable-field-group {
  margin-bottom: 0.85rem;
}

.deliverable-field-group label {
  display: block;
  font-size: 0.75rem;
  color: #8faec9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.deliverable-input, .deliverable-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #13202e;
  color: #e2f0fb;
  border: 1px solid #22374e;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-family: inherit;
  line-height: 1.45;
}

.deliverable-textarea {
  resize: vertical;
}

.deliverable-textarea:focus, .deliverable-input:focus {
  outline: none;
  border-color: #00b4d8;
}

.social-post-preview, .blog-post-preview {
  background: #101c27;
  border: 1px solid #1e3146;
  border-radius: 6px;
  padding: 1rem;
  color: #d1e5f5;
  white-space: pre-wrap;
  line-height: 1.5;
}

.hashtag-row {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hashtag-chip {
  color: #00b4d8;
  background: rgba(0, 180, 216, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-size: 0.75rem;
}

.video-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.video-step-card {
  background: #101c27;
  border: 1px solid #1c2f44;
  border-radius: 6px;
  padding: 0.75rem;
}

.video-step-card strong {
  color: #00b4d8;
  font-size: 0.75rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.3rem;
}

.video-step-card p {
  margin: 0;
  font-size: 0.8rem;
  color: #b5d1e8;
  line-height: 1.4;
}

.briefing-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #1c2e42;
}

.briefing-action-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-approve-dispatch {
  background: #00b4d8;
  color: #05101a;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.btn-approve-dispatch:hover {
  background: #00c8f0;
}

.btn-approve-dispatch:disabled {
  background: #34495e;
  color: #7f8c8d;
  cursor: not-allowed;
}

.btn-edit-toggle {
  background: transparent;
  color: #8faec9;
  border: 1px solid #2a435d;
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-edit-toggle:hover {
  background: #152535;
  color: #e2f0fb;
}

.btn-decline {
  background: transparent;
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.4);
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.btn-decline:hover {
  background: rgba(231, 76, 60, 0.12);
}

.dispatch-receipt {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  color: #2ecc71;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dismissed-notice {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  color: #ff7675;
  font-size: 0.78rem;
}

.dismiss-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0;
}

.dismiss-options label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #c2ddf2;
  cursor: pointer;
  line-height: 1.4;
}

.dismiss-options input[type="radio"] {
  margin-top: 3px;
}

.dismiss-notes-wrap {
  margin-bottom: 1.25rem;
}

.dismiss-notes-wrap label {
  display: block;
  font-size: 0.8rem;
  color: #8faec9;
  margin-bottom: 0.3rem;
}

.dismiss-notes-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  background: #152535;
  color: #e2f0fb;
  border: 1px solid #223c54;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.85rem;
  resize: vertical;
}

.dismiss-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.danger-button {
  background: #c0392b;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}

.danger-button:hover {
  background: #e74c3c;
}


/* Phase 4: Closed-Loop Follow-Up & Entra Attribution Styles */
.reporting-metrics-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.metric-box {
  background: #111f2e;
  border: 1px solid #1e364e;
  border-radius: 6px;
  padding: 0.75rem;
  text-align: center;
}

.metric-box.highlight {
  border-color: #2e86de;
  background: #10243d;
}

.metric-box.success {
  border-color: #27ae60;
  background: #0f2c1f;
}

.metric-label {
  display: block;
  font-size: 0.72rem;
  color: #7b99b5;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.metric-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f8fe;
}

.hierarchy-tree-section {
  margin-top: 1.5rem;
  border-top: 1px solid #1b3044;
  padding-top: 1rem;
}

.hierarchy-tree-section h3 {
  font-size: 0.95rem;
  color: #d1e5f8;
  margin-bottom: 1rem;
}

.hierarchy-tree-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hierarchy-member-card {
  background: #132232;
  border: 1px solid #203a54;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hierarchy-member-card.manager-node {
  border-left: 4px solid #d4af37;
  background: #15273b;
}

.hierarchy-member-info h4 {
  margin: 0 0 0.2rem 0;
  font-size: 0.95rem;
  color: #f1f8fe;
}

.hierarchy-member-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #8daec9;
}

.hierarchy-member-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}

.hierarchy-stat-item {
  text-align: right;
}

.hierarchy-stat-item span {
  display: block;
  font-size: 0.7rem;
  color: #7093b1;
}

.hierarchy-stat-item strong {
  color: #e2f0fb;
}

/* Marketing Accountability Box on Dossier Cards */
.marketing-accountability-box {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #0f1c29;
  border: 1px solid #1a3045;
  border-radius: 5px;
}

.mkt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  color: #d1e5f8;
}

.mkt-score-badge {
  background: #1c3852;
  color: #54a0ff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.mkt-score-badge.complete {
  background: #143e26;
  color: #2ecc71;
}

.mkt-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #9cbacf;
}

.mkt-checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}
