/* Match the enterprise site's tokens and chrome. Keep the Copilot UI distinct. */
:root {
  --paper: #FAFAF8;
  --ink: #101218;
  --muted: #6A6E78;
  --rule: #E6E6E2;
  --space: #070A13;
  --starlight: #FBFAF4;
}
body { font-size: 16.5px; font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; }
.wrap { max-width: 1320px; padding-inline: 24px; }
.primary { border-radius: 8px; padding: 12px 26px; font-size: 15.5px; font-weight: 500; }
.site-header { position: sticky; top: 0; z-index: 30; height: auto; max-width: none; padding: 0; background: rgba(7,10,19,.96); color: var(--starlight); border-color: rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.site-header-inner { display: flex; align-items: center; gap: 26px; max-width: 1320px; width: 100%; margin: auto; padding: 14px 24px; }
.site-header .brand { font-size: 20px; gap: 9px; letter-spacing: -.025em; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark polyline { stroke: rgba(255,255,255,.52); }
.site-header nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; font-size: 14.5px; font-weight: 400; }
.site-header nav a, .industry-menu summary { color: rgba(255,255,255,.62); }
.site-header nav a:hover, .site-header nav a[aria-current], .industry-menu summary:hover { color: white; }

.site-header .primary, .demo-invitation .primary { color: var(--space); background: var(--starlight); border-color: var(--starlight); }
.site-header .primary:hover, .demo-invitation .primary:hover { background: white; }
.site-header .header-cta { font-size: 14px; padding: 9px 18px; white-space: nowrap; }
.site-header :focus-visible, .demo-invitation :focus-visible { outline-color: var(--starlight); }
.industry-menu { position: relative; }
.industry-menu summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 7px; }
.industry-menu summary::-webkit-details-marker { display: none; }
.industry-menu summary::after { content: ''; border-inline-end: 1px solid; border-bottom: 1px solid; width: 5px; height: 5px; transform: rotate(45deg); margin-top: -3px; }
.industry-menu>div { position: absolute; top: calc(100% + 18px); inset-inline-start: -18px; width: 180px; padding: 8px; background: #0C1222; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; box-shadow: 0 12px 35px #0003; }
.industry-menu>div a { display: block; padding: 8px 10px; border-radius: 5px; }
.industry-menu>div a:hover { background: #ffffff0a; }
.demo-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; padding-block: 24px; font-size: 14px; font-weight: 400; }
.demo-nav a { color: var(--muted); text-decoration: none; }
.demo-nav a:hover { color: var(--ink); }
.demo { margin-top: 24px; padding-top: 28px; padding-bottom: 28px; border: 1px solid var(--rule); border-radius: 16px; background: white; max-width: 1272px; }
.demo-topline { border: 0; padding-top: 0; }
.question-row { margin-block: 28px; }
.scenario-tabs button, .view-toggle, .view-toggle button { border-radius: 8px; }
.section { padding-block: 96px; }
.section-heading h2 { font-size: clamp(28px,3.4vw,40px); }
.section-heading>p { font-size: 17.5px; line-height: 1.6; }
.connection-layout { border: 1px solid var(--rule); border-radius: 12px; background: white; overflow: hidden; }
.system-list { padding-inline: 12px; }
.system-tab { padding-inline-start: 12px; border-radius: 6px; }
.system-tab[aria-selected=true] { background: #F0F0EC; }
.connection-detail { padding-inline-end: 32px; }
.how-section { background: #F0F0EC; }
.how-section .section { padding-block: 96px; }
.process p, .access-note p { color: var(--muted); }
.demo-invitation { background: var(--space); color: var(--starlight); padding: 22px 26px; border-radius: 12px; }
.demo-invitation h3 { font-size: 22px; }
.demo-invitation p { color: #A7ADBC; font-size: 14px; margin-top: 4px; }
.demo-invitation .primary { padding: 10px 16px; font-size: 14px; }
.pilot textarea { border-radius: 8px; }
.closing { padding-block: 40px; border-color: var(--rule); }
footer.wrap { max-width: 1320px; padding: 48px 24px 36px !important; }
footer .brand { font-size: 17px; }
footer p, footer>a:last-child { font-size: 14px; }
.cp-window { scroll-margin-top: 8px; }

@media(max-width:1350px) { .demo { margin-inline: 24px; } }
@media(max-width:900px) { .site-header-inner { gap: 18px; } .site-header nav { gap: 18px; } }
@media(max-width:680px) {
  html { scroll-padding-top: 130px; }
  .site-header-inner { flex-wrap: wrap; gap: 12px 16px; padding: 12px 20px; }
  .site-header .brand { margin-inline-end: auto; }

  .site-header .header-cta { font-size: 12px; padding: 7px 12px; }
  .site-header nav { display: flex; order: 1; flex-basis: 100%; justify-content: center; margin: 0; font-size: 13px; gap: 28px; }
  .demo-nav { gap: 12px 22px; font-size: 13px; padding-block: 22px; }
  .demo { margin: 12px 14px 0; padding: 22px 18px; border-radius: 12px; }
  .section, .how-section .section { padding-block: 64px; }
  .section-heading>p { font-size: 16px; }
  .connection-detail { padding-inline: 22px; }
  .system-list { padding-inline: 10px; }
  .demo-invitation { padding: 20px 18px; }
  .demo-invitation h3 { font-size: 20px; }
  footer.wrap { padding-block: 32px !important; }
  footer p { font-size: 12px; }
  .cp-window { scroll-margin-top: 8px; }
}

/* Enter the conversation directly, without a landing-page hero. */
.ask-section.section { padding-top: 24px; padding-bottom: 20px; }
.demo-nav { border-block: 1px solid var(--rule); margin-bottom: 24px; }
@media(max-width:680px) {
  .ask-section.section { padding-top: 20px; padding-bottom: 16px; }
}

/* Keep the composer visible when the mock is the page entry. */
.cp-main { height: clamp(480px, calc(100svh - 200px), 660px); }
.cp-welcome { padding-block: 20px 12px; }
.cp-welcome h3 { font-size: 26px; }
.cp-starters { margin-top: 22px; }

/* Familiar chat shells share the same local sample conversations. */
.chat-mode { display: block; }
.chat-platform-icon { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 5px; font: 600 17px/1 "Segoe UI", sans-serif; }
svg.chat-platform-icon { fill: none; stroke-width: 4; stroke-linecap: round; padding: 2px; }
.slack-icon { background: #3F0E40; color: white; }
.chat-teams .cp-titlebar { background: #e9e8f5; border-color: #d9d7eb; }
.chat-teams .cp-sidebar { background: #f3f2f8; }
.chat-teams .cp-agent-selected { background: #e6e4f3; }
.chat-teams .cp-main { background: #f7f7fb; }
.chat-teams .cp-message-user>p { background: #e7e4f8; }
.chat-teams .cp-message-answer { background: white; border: 1px solid #e7e6ef; border-radius: 8px; padding: 18px 20px; margin-bottom: 20px; }
.chat-teams .cp-composer-bottom button { background: #5B5FC7; }
.chat-teams .cp-composer-bottom button:disabled { background: #edf0f5; }
.chat-slack { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.chat-slack .cp-titlebar { background: #3F0E40; color: white; border-color: #ffffff26; }
.chat-slack .cp-work { color: #ffffffb3; border-color: #ffffff40; }
.chat-slack .cp-mock-badge { color: #ffffffd9; border-color: #ffffff50; }
.chat-slack .cp-sidebar { background: #4a154b; color: white; border-color: #4a154b; }
.chat-slack .cp-sidebar>p, .chat-slack .cp-workspace-name small { color: #d6bfd6; }
.chat-slack .cp-sidebar button:hover { background: #ffffff14; }
.chat-slack .cp-sidebar button.cp-new { color: white; background: #ffffff0a; border-color: #ffffff45; }
.chat-slack .cp-agent-selected { background: #1164a3; }
.chat-slack .cp-main, .chat-slack .cp-agentbar { background: white; }
.chat-slack .cp-agentbar strong { font-size: 17px; }
.chat-slack .cp-thread { background: white; }
.chat-slack .cp-message-user { margin-inline: 0; max-width: 100%; margin-bottom: 18px; }
.chat-slack .cp-message-user>span { text-align: start; color: #101218; font-size: 12px; font-weight: 600; }
.chat-slack .cp-message-user>p { background: none; border-radius: 0; padding: 0; }
.chat-slack .cp-message-answer { padding-bottom: 22px; }
.chat-slack .cp-compose-area { background: white; }
.chat-slack .cp-composer { border-color: #b7b7b7; border-radius: 8px; box-shadow: none; }
.chat-slack .cp-composer textarea { font-family: inherit; }
.chat-slack .cp-composer-bottom button { background: #007A5A; }
.chat-slack .cp-composer-bottom button:disabled { background: #edf0f5; }
.chat-slack .cp-starters button, .chat-slack .cp-followups button { border-radius: 6px; }
.chat-slack .cp-starters button:hover { background: #f4f8fa; border-color: #879fad; }
@media(max-width:760px) {
  .chat-teams .cp-message-answer { padding: 14px; }
}

/* Team conversations and reviewed, browser-local actions. */
.cp-sidebar { max-height: clamp(440px, calc(100svh - 236px), 620px); overflow-y: auto; }
.cp-channel-nav { display: grid; gap: 5px; }
.cp-channel-nav button[aria-current=true] { background: #e6e4f3; font-weight: 600; }
.chat-slack .cp-channel-nav button[aria-current=true] { background: #1164a3; }
.cp-mobile-channels { display: none; }
.cp-channel-context { color: #78818e; font-size: 11px; margin-bottom: 20px; }
.cp-teammate { border-inline-start: 2px solid #cbd3e0; padding-inline-start: 12px; margin-block: 16px; font-size: 13px; line-height: 1.65; }
.cp-teammate strong { font-size: 12px; }
.cp-teammate p { margin-top: 4px; }
.cp-teammate small { display: block; color: #78818e; font-size: 10px; }
.cp-channel-starters { margin-block: 20px; }
.cp-action-options { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px; }
.cp-action-options button, .cp-review-action { border: 1px solid #bbc5d6; border-radius: 6px; padding: 9px 12px; background: white; font-size: 12px; text-align: start; }
.cp-action-options button>span { display: none; }
.cp-review-action { margin-top: 12px; background: #475e98; border-color: #475e98; color: white; }
.chat-slack .cp-review-action { background: #007A5A; border-color: #007A5A; }
.cp-action-card { border: 1px solid #d6dce6; border-radius: 9px; padding: 18px; background: white; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.cp-action-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; font-size: 10px; color: #657186; }
.cp-action-head strong { color: #30535a; font-weight: 500; }
.cp-action-card h4 { font-size: 17px; margin: 12px 0 3px; font-weight: 600; }
.cp-action-record, .cp-action-local { color: #78818e; font-size: 11px; }
.cp-action-record { margin-bottom: 10px; }
.cp-action-local, .cp-action-receipt { margin-top: 10px; }
.cp-action-ack { border-color: #72a797; }
.action-dialog { inset: 0; margin: auto; width: min(580px,calc(100vw - 28px)); height: fit-content; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 22px 80px #0003; overflow: auto; }
.action-review-form { padding: 28px; }
.action-review-head>span { font-size: 12px; color: var(--muted); }
.action-review-head h2 { font-size: 27px; margin-top: 8px; }
.action-review-head p { font-size: 13px; color: var(--muted); margin: 12px 0 22px; }
.action-review-form label { display: block; font-size: 13px; font-weight: 500; margin: 17px 0 7px; }
.action-review-form input, .action-review-form select, .action-review-form textarea { width: 100%; padding: 10px 12px; font: 14px/1.5 var(--font); border: 1px solid #b8bfc5; border-radius: 7px; background: white; color: var(--ink); }
.action-diff { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 9px 16px; margin: 0; padding: 16px; background: #F0F0EC; border-radius: 8px; font-size: 13px; }
.action-diff dt { color: var(--muted); }
.action-diff dd { margin: 0; overflow-wrap: anywhere; }
.action-review-controls { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.action-review-controls button { border: 1px solid var(--rule); border-radius: 8px; background: white; padding: 10px 16px; font-size: 13px; }
.action-review-controls button[type=submit] { background: var(--ink); color: white; border-color: var(--ink); }
@media(max-width:760px) {
  .cp-main { grid-template-rows: auto auto minmax(0,1fr) auto; }
  .cp-mobile-channels { display: flex; padding: 8px 10px; gap: 5px; border-bottom: 1px solid #e1e5ec; overflow-x: auto; }
  .cp-mobile-channels button { flex: none; border: 1px solid #d6dce6; border-radius: 5px; padding: 6px 8px; background: white; font-size: 10px; }
  .cp-mobile-channels button[aria-current=true] { background: #e6e4f3; border-color: #9690be; }
  .chat-slack .cp-mobile-channels button[aria-current=true] { background: #f0e7f0; border-color: #806080; }
  .cp-action-card { padding: 14px; }
  .action-review-form { padding: 22px; }
  .action-diff { grid-template-columns: 85px minmax(0,1fr); gap: 8px 12px; }
  .action-review-controls button { flex: 1; }
}

/* Review polish: keep the conversation larger than its input controls. */
.cp-window { font-weight: 400; }
.cp-agentbar { padding: 12px 24px; }
.cp-thread { padding: 16px 24px 12px; }
.cp-compose-area { padding: 8px 20px 10px; min-width: 0; }
.cp-composer { padding: 8px 10px; }
.cp-composer textarea { display: block; height: 44px; min-height: 44px; }
.cp-composer-bottom { margin-top: 4px; }
.cp-composer-bottom>span { border: 0; padding: 0; color: #657184; }
.cp-composer-bottom button { width: 28px; height: 28px; }
.cp-disclaimer { margin-top: 6px; color: #657184; }
.cp-context, .cp-channel-context, .cp-action-record, .cp-action-local { color: #657184; }
.cp-welcome { padding-block: 8px; }
.cp-welcome h3 { font-size: 24px; }
.cp-starters { margin-top: 16px; gap: 8px; }
.cp-starters button { padding: 10px 12px; }
.cp-followups { margin-bottom: 8px; }
.cp-followups button { font-size: 11px; padding: 6px 10px; }
.cp-teammate { margin-block: 12px; }
.cp-channel-context { margin-bottom: 14px; }
@media(max-width:760px) {
  .cp-agentbar { padding: 10px 16px; }
  .cp-thread { padding: 14px 16px 10px; }
  .cp-compose-area { padding: 8px 12px; }
  .cp-followups { flex-wrap: nowrap; overflow-x: auto; padding: 2px 0 5px; scrollbar-width: thin; }
  .cp-followups button { flex: none; font-size: 10px; }
  .cp-composer-bottom>span { font-size: 9px; }
}
.answer-layout>* { min-width: 0; }
.metric-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media(max-width:760px) {
  .cp-welcome { padding-block: 4px; }
  .cp-welcome h3 { font-size: 21px; }
  .cp-starters { margin-top: 12px; gap: 7px; }
  .cp-starters button { padding: 8px 10px; font-size: 12px; }
}
@media(max-width:380px) {
  .metric-value { font-size: clamp(20px,6vw,23px); }
}

.cp-message-answer h4{font-size:14px;margin:18px 0 7px;color:#202838}
.cp-message-answer ul,.cp-message-answer ol{padding-left:22px;margin:8px 0 14px}
.cp-message-answer li{padding-left:3px;margin:7px 0;line-height:1.6}
.cp-draft-reply{margin:12px 0;padding:2px 18px;border-left:3px solid #8e97ad;background:#f6f7fa;border-radius:0 8px 8px 0}

/* Financial examples live in the conversation, with the same source identity. */
.cp-source { border-color: #d9dfe8; color: #344154; max-width: 100%; line-height: 1.5; }
.cp-source .source-logo { flex: none; width: 17px; height: 17px; margin: 0; object-fit: contain; }
.cp-source .sap-logo { width: 25px; }
.cp-source>span { min-width: 0; overflow-wrap: anywhere; }
.cp-source:hover { border-color: var(--src); }
.cp-table .cp-source { margin: 0; }
.cp-table caption { text-align: left; caption-side: top; font-size: 11px; color: #657184; margin: 12px 0 8px; }
.cp-finance-bars { margin: 22px 0 12px; max-width: 720px; }
.cp-bar-pair { margin: 18px 0; }
.cp-bar-pair>div:first-child { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; }
.cp-bar-pair button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 0; font-size: 12px; text-align: left; }
.cp-bar-pair button img { width: 24px; height: 15px; }
.cp-bar-track { height: 8px; margin-top: 7px; background: #eef1f5; border-radius: 2px; overflow: hidden; }
.cp-bar-track i { display: block; height: 100%; background: #366d98; border-radius: inherit; }
.cp-bar-budget i { background: #b8c4d1; }
.cp-bar-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 10px; color: #657184; }
.cp-bar-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 5px; background: #366d98; border-radius: 1px; }
.cp-bar-legend span+span::before { background: #b8c4d1; }
.cp-message-answer .cp-savings-context { list-style: none; padding: 0; }
.cp-savings-context li { border-top: 1px solid #e5e8ed; padding: 13px 0; margin: 0; }
.cp-savings-context p { margin: 6px 0 0; }
.cp-savings-context .cp-source { margin-right: 6px; }
.demo-nav .text-button { margin-left: auto; font-size: 12px; }
@media(max-width:760px) {
  .cp-source { font-size: 10px; }
  .cp-result strong { font-size: clamp(17px,5vw,23px); }
}


/* ---------- demo touch-up: heading above the mock ---------- */
.ask-head { max-width: 760px; margin: 8px auto 26px; text-align: center; }
.ask-eyebrow { font-family: inherit; font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ask-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.ask-head > p { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.ask-layout.chat-mode .ask-guide { padding-top: 0; border-top: 0; margin-bottom: 18px; grid-template-columns: 1fr auto; align-items: center; }
.ask-layout.chat-mode .ask-tabs { grid-column: auto; margin-bottom: 0; }
.ask-layout.chat-mode .ask-guide > .primary { margin: 0; }
.cp-window { border-radius: 16px; box-shadow: 0 30px 70px -40px rgba(16, 18, 24, .45), 0 1px 0 rgba(255,255,255,.6) inset; }

/* example questions, grouped by team */
.cp-welcome-lede { color: #657184; font-size: 13.5px; margin-top: 8px; }
.cp-starters-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cp-starters .cp-starter { position: relative; display: flex; align-items: flex-start; justify-content: flex-start; gap: 10px; width: 100%; text-align: left; padding: 11px 30px 11px 12px; font-size: 13.5px; line-height: 1.35; }
.cp-starters .cp-starter small { flex: none; width: 74px; margin-top: 3px; font-weight: 600; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: #657184; }
.cp-starters .cp-starter > span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #657184; }
.cp-starters .cp-starter-digest { border-color: #b9d3c6; background: #f3faf6; }
.cp-starters .cp-starter-digest:hover { border-color: #27744d; background: #e9f5ee; }
.chat-slack .cp-starters .cp-starter-digest { background: #f4f8fa; }
@media(max-width:560px) { .cp-starters-teams { grid-template-columns: 1fr; } }

/* the daily digest in #synoptic-updates */
.cp-digest { border: 1px solid #e1e5ec; border-radius: 12px; padding: 14px 16px 12px; background: white; font-size: 13px; line-height: 1.5; max-width: 560px; }
.chat-teams .cp-digest { background: white; }
.cp-digest-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13.5px; }
.cp-digest-head span { padding: 1px 5px; border-radius: 3px; background: #eef1f5; color: #4f5a6b; font-size: 10px; font-weight: 600; }
.cp-digest-head em { font-style: normal; color: #657184; font-size: 12px; }
.cp-digest-intro { margin: 0 0 12px; }
.cp-digest-block { margin: 10px 0 14px; padding: 2px 0 2px 12px; border-left: 3px solid var(--bar, #ccc); }
.cp-digest-tool { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 12.5px; font-weight: 600; }
.cp-digest-tool img { width: 16px; height: 16px; }
.cp-digest-tool span { font-weight: 400; color: #657184; }
.cp-digest-count { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.cp-digest-dots { display: flex; flex-wrap: wrap; gap: 3px 12px; margin: 0 0 8px; font-size: 12px; color: #657184; }
.cp-digest-dots i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; background: var(--d); vertical-align: -1px; }
.cp-digest-line { margin: 2px 0; font-size: 12.5px; }
.cp-digest-line em { font-style: italic; color: #657184; }
.cp-digest-line em.is-approved { color: #27744d; font-style: normal; font-weight: 600; }
.cp-digest-line em.is-denied { color: #b23b3b; font-style: normal; font-weight: 600; }
.cp-digest-line em.is-monitor { color: #8a6a12; font-style: normal; font-weight: 600; }
.cp-digest-more { color: #657184; }
.cp-digest-review { margin-top: 8px; padding: 6px 12px; border: 0; border-radius: 6px; background: #27744d; color: white; font-size: 12.5px; font-weight: 600; }
.cp-digest-review:disabled { opacity: .5; }
.cp-followups .cp-startover { margin-inline-start: auto; border-color: #101218; color: #101218; font-weight: 600; }
.synoptic-icon { background: white; border: 1px solid var(--rule); padding: 4px; object-fit: contain; }
.chat-web .cp-titlebar { background: white; border-color: var(--rule); }
.chat-web .cp-sidebar { background: #F6F6F3; border-color: #E6E6E1; }
.chat-web .cp-main, .chat-web .cp-agentbar, .chat-web .cp-thread, .chat-web .cp-compose-area { background: white; }
.chat-web .cp-channel-nav button[aria-current=true] { background: #101218; color: white; }
.chat-web .cp-message-user>p { background: #F0F0EC; }
.chat-web .cp-message-answer { background: white; border: 1px solid var(--rule); border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; }
.chat-web .cp-composer { border-color: #c9c9c4; border-radius: 12px; box-shadow: none; }
.chat-web .cp-composer-bottom button { background: #101218; }
.chat-web .cp-composer-bottom button:disabled { background: #edf0f5; }
.chat-web .cp-digest-review, .chat-web .cp-review-action { background: #101218; border-color: #101218; }
.chat-web .cp-digest-guide { background: #2A6DB0; }
.chat-web .cp-digest-guide::before { border-bottom-color: #2A6DB0; }
.chat-web .cp-mobile-channels button[aria-current=true] { background: #101218; color: white; border-color: #101218; }
.cp-web-nav { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 12px; }
.cp-web-nav button, .cp-web-nav .is-static { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13px; color: #101218; text-align: start; }
.cp-web-nav button[aria-current=true] { background: #101218; color: white; font-weight: 600; }
.cp-web-nav .is-static { color: #4f5a6b; }
.cp-web-nav svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cp-web-nav b { margin-inline-start: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #101218; color: white; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.cp-web-bar { gap: 12px; }
.cp-web-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #657184; }
.cp-web-tools { display: flex; gap: 6px; margin-inline-start: auto; }
.cp-web-tools span { padding: 6px 10px; border: 1px solid var(--rule); border-radius: 8px; background: white; font-size: 12px; color: #3a3f49; }
.chat-web .cp-message-user { margin-inline: 0; max-width: 100%; margin-bottom: 8px; }
.chat-web .cp-message-user>p { background: none; border-radius: 0; padding: 0; font-size: 20px; font-weight: 600; line-height: 1.3; color: #101218; }
.chat-web .cp-message-user>small { display: block; margin-top: 4px; font-size: 12px; color: #657184; }
.cp-web-activity { margin: 0 0 14px; font-size: 12.5px; color: #4f5a6b; }
.chat-web .cp-message-answer { border: 0; border-radius: 0; padding: 0 0 22px; }
@media(max-width:760px) { .cp-web-tools { display: none; } }
.cp-alerts { padding: 22px 28px 26px; }
.cp-alerts-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #657184; }
.cp-alerts h3 { margin: 0 0 8px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.cp-alerts-lede { max-width: 60ch; margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #4f5a6b; }
.cp-alert-form { padding: 18px 20px; border: 1px solid var(--rule); border-radius: 12px; background: white; }
.cp-alert-form h4 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.cp-alert-form > label { display: block; margin: 10px 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #657184; }
.cp-alert-form input:not([type=checkbox]), .cp-alert-form textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid #D6D6D0; border-radius: 8px; background: #FAFAF8; font: inherit; font-size: 14px; color: #101218; resize: vertical; }
.cp-alert-form input:focus, .cp-alert-form textarea:focus { outline: 2px solid #101218; outline-offset: 1px; }
.cp-alert-hint { margin: 8px 0 12px; font-size: 12.5px; color: #657184; }
.cp-alert-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cp-alert-email { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #101218; }
.cp-alert-email input { width: 16px; height: 16px; margin: 0; accent-color: #101218; }
.cp-alert-foot button { padding: 9px 16px; border: 0; border-radius: 8px; background: #101218; color: white; font-size: 13.5px; font-weight: 600; }
.cp-alert-list { display: grid; gap: 10px; margin-top: 16px; }
.cp-alert { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 12px; background: white; }
.cp-alert strong { display: block; font-size: 14.5px; }
.cp-alert p { margin: 3px 0 4px; font-size: 13.5px; color: #3a3f49; }
.cp-alert small { font-size: 12px; color: #657184; }
.cp-alert button { flex: none; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 8px; background: white; font-size: 12.5px; }
.cp-alerts-empty { margin: 16px 0 0; font-size: 14px; color: #4f5a6b; }
.cp-alerts .cp-context { margin-top: 14px; }
@media(max-width:760px) { .cp-alerts { padding: 16px; } }
.cp-digest-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 0; }
.cp-digest-cta .cp-digest-review { margin-top: 0; }
.cp-digest-guide { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 4px; padding: 9px 12px; border-radius: 10px; background: #101218; color: white; font-size: 12.5px; font-weight: 600; line-height: 1.3; animation: cpBounce 1.6s ease-in-out infinite; }
.cp-digest-guide::before { content: ""; position: absolute; top: -7px; left: 22px; border: 7px solid transparent; border-top: 0; border-bottom-color: #101218; }
.cp-digest-guide svg { flex: none; width: 18px; height: 18px; }
@keyframes cpBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .cp-digest-guide { animation: none; } }
.chat-teams .cp-digest-review { background: #5B5FC7; }
.cp-digest-logged { margin: 4px 0 0; font-size: 12.5px; font-weight: 600; color: #27744d; }

/* the review dialog for a digest queue */
.action-dialog.is-digest { width: min(520px, calc(100vw - 28px)); }
.digest-review { padding: 22px 24px 18px; }
.digest-review .action-review-head > span { display: inline-flex; align-items: center; gap: 6px; }
.digest-review .action-review-head h2 { font-size: 22px; margin: 6px 0 8px; }
.digest-review .cp-digest-dots { margin-bottom: 4px; }
.digest-item { border-top: 1px solid var(--rule); padding: 12px 0 10px; }
.digest-item h3 { font-size: 15.5px; margin: 0 0 2px; }
.digest-meta { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.digest-adds { display: flex; gap: 8px; margin: 0 0 6px; padding: 7px 10px; border-radius: 8px; background: #F3F3EF; font-size: 13px; line-height: 1.45; color: #3a3f49; }
.digest-adds img { flex: none; margin-top: 3px; }
.digest-adds b { color: var(--ink); font-weight: 600; }
.digest-action { font-size: 13px; margin: 0 0 8px; }
.digest-item .cp-source-row { margin: 0 0 8px; }
.digest-buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.digest-buttons button { border: 1px solid var(--rule); border-radius: 8px; background: white; padding: 7px 12px; font-size: 13px; font-weight: 500; }
.digest-buttons .digest-approve { background: #27744d; border-color: #27744d; color: white; }
.digest-decided { font-size: 13px; font-weight: 600; }
.digest-decided.is-approved { color: #27744d; }
.digest-decided.is-denied { color: #b23b3b; }
.digest-decided.is-monitor { color: #8a6a12; }
.digest-item.is-decided { background: #fbfbf9; margin: 0 -24px; padding-inline: 24px; }
.digest-foot { margin: 0 auto 0 0; font-size: 12px; color: var(--muted); }
.digest-review .action-review-controls { align-items: center; margin-top: 14px; }
@media(max-width:760px) { .digest-review { padding: 20px; } .digest-item.is-decided { margin: 0 -20px; padding-inline: 20px; } }

/* ---------- systems flow: sources in, answers out ---------- */
.flow-section.section { padding-block: 40px 80px; }
.flow-heading { margin-bottom: 20px; }
.ask-head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.flow-figure { border: 1px solid var(--rule); border-radius: 18px; background: white; padding: 12px 8px; overflow: hidden; }
.flow-svg { display: block; width: 100%; height: auto; }
.fl-tile rect { fill: white; stroke: var(--rule); stroke-width: 1.5; filter: drop-shadow(0 6px 12px rgba(16,18,24,.06)); }
.fl-surface rect { stroke: #D6D6D0; }
.fl-hub rect { fill: white; stroke: #D6D6D0; stroke-width: 1.5; filter: drop-shadow(0 14px 24px rgba(16,18,24,.12)); }
.fl-path { fill: none; stroke: #C9CBD3; stroke-width: 1.4; stroke-dasharray: 5 6; }
.fl-dot { filter: drop-shadow(0 0 4px rgba(255,255,255,.9)); }
.fl-card > rect { fill: white; stroke: #D6D6D0; stroke-width: 1.5; filter: drop-shadow(0 14px 24px rgba(16,18,24,.10)); }
.fl-card text { font-family: inherit; }
.fl-title { font-size: 13px; font-weight: 600; fill: #101218; }
.fl-meta { font-size: 12px; fill: #657184; }
.fl-lead { font-size: 16px; font-weight: 600; fill: #101218; }
.fl-line { font-size: 13.5px; fill: #4f5a6b; }
.fl-rule { stroke: #EEF0F3; stroke-width: 1; }
.fl-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .14em; fill: #657184; }
.fl-chip rect { fill: #F6F7F9; stroke: #E5E7EC; }
.fl-chip text { font-size: 12px; font-weight: 600; fill: #3a3f49; }
.flow-lists { display: grid; gap: 14px; margin-top: 20px; }
.flow-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.flow-label { flex: none; width: 92px; margin: 0; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.flow-icons, .flow-surfaces { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.flow-icons li { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--rule); background: white; }
.flow-icons img { width: 18px; height: 18px; object-fit: contain; }
.flow-surfaces li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; border: 1px solid var(--rule); background: white; font-size: 13px; font-weight: 500; }
.flow-surfaces img { width: 18px; height: 18px; object-fit: contain; }
.flow-icons .flow-pill { display: inline-flex; align-items: center; gap: 7px; width: auto; padding: 0 12px 0 9px; font-size: 13px; font-weight: 500; }
.flow-scroll-hint { display: none; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.flow-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
@media(max-width:760px) { .flow-figure { padding: 6px 2px; } .flow-section.section { padding-block: 36px 56px; } .flow-scroll-hint { display: block; } }
@media (prefers-reduced-motion: reduce) { .fl-dot { display: none; } }
@media(max-width:760px) { .flow-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; } .flow-svg { min-width: 760px; } }

/* Documents show the file app and its storage location together. */
.cp-document { align-items: flex-start; padding: 9px 11px; }
.cp-document>span { display: block; }
.cp-document>span>small { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: #737e8e; font-size: 10px; }
.cp-document>span>small .source-logo { width: 12px; height: 12px; }
.document-details { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 13px; line-height: 1.7; }
.document-details .source-logo { width: 28px; height: 32px; object-fit: contain; }
