:root {
  --bg: #050816;
  --bg-deep: #02040d;
  --surface: #0a0e1d;
  --surface-2: #0d1222;
  --ink: #f7f8fb;
  --muted: #9ca6b9;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.19);
  --orange: #ff8a22;
  --pink: #ff3f91;
  --violet: #8b4dff;
  --blue: #3478ff;
  --cyan: #12d9ef;
  --green: #5ee6a8;
  --amber: #ffbf69;
  --gradient: linear-gradient(96deg, var(--orange), var(--pink) 30%, var(--violet) 57%, var(--blue) 78%, var(--cyan));
  --gutter: 16px;
  --radius: 20px;
  --header-height: 72px;
  --banner-height: 38px;
  --journey-height: 58px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(52, 120, 255, 0.1), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; }
button { cursor: pointer; }
textarea { resize: vertical; }
::selection { background: var(--pink); color: white; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 4px;
  left: 10px;
  z-index: 1000;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  background: white;
  color: #050816;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: none; }

.environment-banner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 150;
  display: flex;
  min-height: var(--banner-height);
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #080b17;
  color: #98a3b6;
  font-size: 0.61rem;
  text-align: center;
}
.environment-banner strong { color: #fff; letter-spacing: 0.08em; text-transform: uppercase; }

.os-header {
  position: fixed;
  top: var(--banner-height);
  right: 0;
  left: 0;
  z-index: 140;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: var(--header-height);
  padding: 8px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 5, 14, 0.93);
  backdrop-filter: blur(20px);
}

.experience-journey {
  position: fixed;
  top: calc(var(--banner-height) + var(--header-height));
  right: 0;
  left: 0;
  z-index: 135;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: var(--journey-height);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 22, 0.95);
  backdrop-filter: blur(18px);
}

.experience-journey a {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 2px;
  padding: 8px 6px;
  color: #727d92;
}

.experience-journey a::after {
  position: absolute;
  right: 6px;
  bottom: 0;
  left: 6px;
  height: 2px;
  background: transparent;
  content: "";
}

.experience-journey a:not(:last-child)::before {
  position: absolute;
  top: 50%;
  right: -3px;
  color: #414b61;
  content: "→";
  font-size: 0.62rem;
  transform: translateY(-50%);
}

.experience-journey a[aria-current="step"] { color: white; }
.experience-journey a[aria-current="step"]::after { background: var(--gradient); }
.experience-journey span { font-size: 0.52rem; font-weight: 820; letter-spacing: 0.08em; }
.experience-journey strong { overflow: hidden; font-size: 0.62rem; text-overflow: ellipsis; white-space: nowrap; }

.os-logo { width: 142px; }
.os-product { display: none; }
.os-header__actions { display: flex; align-items: center; gap: 7px; }
.os-header__actions > a { display: none; }

.os-language-switcher {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 3px;
  color: #6f7a91;
  font-size: 0.62rem;
  font-weight: 820;
}
.os-language-switcher button { min-width: 29px; min-height: 38px; padding: 0 4px; border: 0; background: transparent; color: #6f7a91; }
.os-language-switcher button.is-active { color: white; }

.os-menu-toggle {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: white;
}
.os-menu-toggle span,
.os-menu-toggle span::before,
.os-menu-toggle span::after { display: block; width: 17px; height: 2px; border-radius: 3px; background: currentColor; content: ""; transition: transform 0.25s ease, top 0.25s ease; }
.os-menu-toggle span::before { position: absolute; top: 15px; }
.os-menu-toggle span::after { position: absolute; top: 29px; }
.os-menu-toggle[aria-expanded="true"] span { background: transparent; }
.os-menu-toggle[aria-expanded="true"] span::before { top: 22px; transform: rotate(45deg); }
.os-menu-toggle[aria-expanded="true"] span::after { top: 22px; transform: rotate(-45deg); }

.os-nav {
  position: fixed;
  top: calc(var(--banner-height) + var(--header-height) + var(--journey-height));
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 130;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: rgba(3, 5, 14, 0.985);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.os-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
.os-nav__intro { display: grid; gap: 5px; margin-bottom: 22px; }
.os-nav__intro span,
.os-nav__footer span { color: #717d94; font-size: 0.61rem; font-weight: 820; letter-spacing: 0.12em; text-transform: uppercase; }
.os-nav__intro strong { font-size: 1.25rem; }
.os-nav nav { display: grid; align-content: start; }
.os-nav nav button,
.os-nav nav a {
  display: grid;
  grid-template-columns: 34px 1fr;
  min-height: 52px;
  align-items: center;
  padding: 6px 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #b3bbca;
  font-size: 0.82rem;
  font-weight: 720;
  text-align: left;
}
.os-nav nav > button > span:first-child,
.os-nav nav > a > span:first-child { color: #7a869f; font-size: 0.59rem; font-weight: 820; }
.os-nav nav button:hover,
.os-nav nav a:hover,
.os-nav nav button[aria-current="page"],
.os-nav nav a[aria-current="page"] { color: white; background: linear-gradient(90deg, rgba(139, 77, 255, 0.15), transparent); }
.os-nav nav button[aria-current="page"] > span:first-child,
.os-nav nav a[aria-current="page"] > span:first-child { color: var(--cyan); }
.primary-os-nav button,
.primary-os-nav a { min-height: 68px !important; }
.primary-os-nav .nav-copy { display: grid; gap: 4px; color: inherit; }
.primary-os-nav .nav-copy strong { font-size: 0.8rem; }
.primary-os-nav .nav-copy small { color: #707b90; font-size: 0.6rem; font-weight: 620; line-height: 1.35; }
.connected-systems-nav { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.connected-systems-nav summary { display: grid; gap: 4px; padding: 10px; color: #aeb7c7; cursor: pointer; list-style: none; }
.connected-systems-nav summary::-webkit-details-marker { display: none; }
.connected-systems-nav summary strong { font-size: 0.72rem; }
.connected-systems-nav summary span { color: #6f7a91; font-size: 0.59rem; }
.connected-systems-nav[open] summary { color: white; }
.connected-systems-nav nav { margin-top: 8px; border-top: 1px solid var(--line); }
.connected-systems-nav nav button { min-height: 46px; font-size: 0.72rem; }
.os-nav__footer { display: grid; gap: 5px; margin-top: auto; padding: 18px 10px 0; border-top: 1px solid var(--line); }
.os-nav__footer strong { color: #b8c0cf; font-size: 0.74rem; }

.workspace {
  min-height: 100vh;
  padding: calc(var(--banner-height) + var(--header-height) + var(--journey-height) + 28px) var(--gutter) 70px;
}

.workspace-header {
  display: grid;
  gap: 22px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
body[data-active-view="winnie"] .workspace-header { display: none; }
.workspace-header p,
.view-lead span,
.morning-brief span,
.today-focus header p,
.today-lanes header span,
.winnie-assistant header span,
.action-center header > span,
.winnie-context > div span,
.campaign-list article header span,
.campaign-list article section span,
.insight-hero > span,
.attribution-note > span,
.management-support header span {
  margin: 0 0 8px;
  color: #8fa4df;
  font-size: 0.62rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.workspace-header h1 { margin: 0; font-size: clamp(2.55rem, 12vw, 5.5rem); letter-spacing: -0.065em; line-height: 0.9; }
.workspace-header > div > span { display: block; max-width: 700px; margin-top: 14px; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.workspace-date { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3px 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.workspace-date span { color: #8791a7; font-size: 0.66rem; text-transform: uppercase; }
.workspace-date strong { grid-row: 1 / 3; grid-column: 2; font-size: 1.3rem; }
.workspace-date small { color: #657188; font-size: 0.62rem; }

.os-view[hidden] { display: none; }
.os-view { animation: view-in 0.35s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }

.today-story {
  display: grid;
  gap: 24px;
  padding: 26px 20px;
  border: 1px solid rgba(104, 103, 255, 0.3);
  border-radius: var(--radius);
  background: radial-gradient(circle at 88% 15%, rgba(18, 217, 239, 0.12), transparent 34%), linear-gradient(130deg, rgba(139, 77, 255, 0.15), rgba(255, 63, 145, 0.05)), #0a0e1d;
}
.today-story__intro > span,
.owner-attention__intro > span,
.guided-next > div > span { color: #8fa4df; font-size: 0.61rem; font-weight: 840; letter-spacing: 0.12em; text-transform: uppercase; }
.today-story h3 { max-width: 780px; margin: 12px 0 0; font-size: clamp(1.9rem, 9vw, 4.2rem); letter-spacing: -0.055em; line-height: 0.98; }
.today-story__intro p { max-width: 660px; margin: 16px 0 0; color: #9ba5b8; font-size: 0.8rem; line-height: 1.6; }
.today-story__numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.today-story__numbers div { display: grid; min-height: 96px; align-content: end; padding: 14px; background: rgba(4, 7, 17, 0.82); }
.today-story__numbers dt { color: #7f899e; font-size: 0.62rem; line-height: 1.35; }
.today-story__numbers dd { order: -1; margin: 0 0 7px; font-size: 1.8rem; font-weight: 820; letter-spacing: -0.05em; }
.today-story > a,
.owner-attention > a,
.guided-next > a {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gradient);
  color: white;
  font-size: 0.72rem;
  font-weight: 820;
}

.morning-brief {
  display: grid;
  gap: 22px;
  padding: 26px 20px;
  border: 1px solid rgba(104, 103, 255, 0.3);
  border-radius: var(--radius);
  background: radial-gradient(circle at 88% 15%, rgba(18, 217, 239, 0.12), transparent 34%), linear-gradient(130deg, rgba(139, 77, 255, 0.15), rgba(255, 63, 145, 0.05)), #0a0e1d;
}
.morning-brief h3 { max-width: 760px; margin: 0; font-size: clamp(1.75rem, 8vw, 3.7rem); letter-spacing: -0.05em; line-height: 1; }
.morning-brief a,
.view-lead > button,
.team-attention button {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  gap: 20px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: white;
  font-size: 0.72rem;
  font-weight: 820;
}

.today-focus { margin-top: 28px; border-top: 1px solid var(--line); }
.today-focus > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.today-focus > header p { margin: 0; }
.today-focus > header span { color: #6f7a91; font-size: 0.64rem; text-align: right; }
.focus-list { display: grid; }
.focus-list button {
  display: grid;
  gap: 7px;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
}
.focus-list button > span { color: #7e8cad; font-size: 0.62rem; font-weight: 830; letter-spacing: 0.08em; text-transform: uppercase; }
.focus-list button strong { font-size: 1rem; line-height: 1.35; }
.focus-list button small { color: #8791a4; font-size: 0.74rem; line-height: 1.45; }
.focus-list button:hover strong { color: var(--cyan); }

.today-lanes { display: grid; gap: 10px; margin-top: 30px; }
.today-lanes > section { padding: 22px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.today-lanes header { display: grid; grid-template-columns: 34px 1fr; align-items: center; }
.today-lanes header span { margin: 0; }
.today-lanes h3 { margin: 0; font-size: 1.1rem; }
.today-lanes ul { display: grid; gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.today-lanes li { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.today-lanes li strong { font-size: 0.86rem; line-height: 1.4; }
.today-lanes li span { color: #8893a7; font-size: 0.74rem; line-height: 1.5; }

.supporting-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin-top: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.supporting-numbers > div { display: grid; min-height: 120px; align-content: end; padding: 16px; background: #080c18; }
.supporting-numbers span { color: #7f8aa0; font-size: 0.64rem; }
.supporting-numbers strong { margin-top: 12px; font-size: 1.8rem; letter-spacing: -0.05em; }
.supporting-numbers small { margin-top: 4px; color: #7b879c; font-size: 0.65rem; }

.today-depth { margin-top: 18px; padding: 0 18px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.018); }
.today-depth summary { display: grid; gap: 4px; padding: 18px 0; cursor: pointer; list-style: none; }
.today-depth summary::-webkit-details-marker { display: none; }
.today-depth summary strong { font-size: 0.78rem; }
.today-depth summary span { color: #727d91; font-size: 0.62rem; }
.today-depth[open] summary { border-bottom: 1px solid var(--line); }
.today-depth .today-lanes { margin-top: 18px; }

.guided-next {
  display: grid;
  gap: 22px;
  margin-top: 22px;
  padding: 26px 20px;
  border: 1px solid rgba(139, 77, 255, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139, 77, 255, 0.11), rgba(18, 217, 239, 0.035)), var(--surface);
}
.guided-next h3 { max-width: 700px; margin: 12px 0 0; font-size: clamp(1.45rem, 7vw, 2.6rem); letter-spacing: -0.045em; line-height: 1.05; }

.view-lead { display: grid; gap: 22px; margin-bottom: 28px; }
.view-lead h2 { margin: 0; font-size: clamp(2.15rem, 10vw, 4.6rem); letter-spacing: -0.06em; line-height: 0.96; }
.view-lead p { max-width: 700px; margin: 14px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.6; }
.view-lead > button { border: 0; background: var(--gradient); }

.winnie-layout { display: grid; gap: 12px; }
.owner-attention {
  display: grid;
  gap: 22px;
  margin-bottom: 16px;
  padding: 26px 20px;
  border: 1px solid rgba(18, 217, 239, 0.24);
  border-radius: var(--radius);
  background: radial-gradient(circle at 85% 0%, rgba(18, 217, 239, 0.1), transparent 32rem), #080c18;
}
.owner-attention__intro h1 { max-width: 820px; margin: 12px 0 0; font-size: clamp(2rem, 9vw, 4.6rem); letter-spacing: -0.06em; line-height: 0.96; }
.owner-attention__intro p { max-width: 660px; margin: 16px 0 0; color: #929daf; font-size: 0.79rem; line-height: 1.6; }
.owner-attention__list { display: grid; gap: 8px; }
.owner-attention__list article { display: grid; gap: 7px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.022); }
.owner-attention__list article > span { color: #8fa4df; font-size: 0.59rem; font-weight: 830; letter-spacing: 0.08em; text-transform: uppercase; }
.owner-attention__list strong { font-size: 1rem; line-height: 1.3; }
.owner-attention__list small { color: #7e899c; font-size: 0.68rem; line-height: 1.4; }
.winnie-assistant { scroll-margin-top: calc(var(--banner-height) + var(--header-height) + var(--journey-height) + 20px); }

@media (max-width: 719px) {
  .owner-attention { gap: 16px; padding: 22px 20px; }
  .owner-attention__intro h1 { font-size: clamp(2rem, 10.5vw, 2.8rem); }
  .owner-attention__intro p { margin-top: 12px; }
  .owner-attention__list { gap: 6px; }
  .owner-attention__list article { gap: 5px; padding: 13px 16px; }
}
.winnie-assistant,
.action-center,
.winnie-context { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.winnie-assistant { overflow: hidden; }
.winnie-assistant > header,
.action-center > header { padding: 22px 18px; border-bottom: 1px solid var(--line); }
.winnie-assistant header h2,
.action-center header h3 { margin: 0; font-size: 1.6rem; letter-spacing: -0.04em; }
.winnie-assistant header p,
.action-center header p { margin: 8px 0 0; color: #8994a7; font-size: 0.72rem; line-height: 1.5; }
.prompt-suggestions { display: flex; gap: 7px; overflow-x: auto; padding: 14px 18px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.prompt-suggestions button { min-width: 210px; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.025); color: #c4cad6; font-size: 0.68rem; text-align: left; }
.prompt-suggestions button:hover { border-color: rgba(18, 217, 239, 0.5); color: white; }
.winnie-conversation { display: grid; gap: 12px; min-height: 310px; max-height: 520px; overflow-y: auto; padding: 20px 18px; }
.winnie-message { max-width: 92%; padding: 16px; border: 1px solid var(--line); border-radius: 4px 16px 16px; background: #0d1222; }
.winnie-message--user { justify-self: end; border-radius: 16px 4px 16px 16px; background: rgba(52, 120, 255, 0.12); }
.winnie-message > span { color: #8fa4df; font-size: 0.61rem; font-weight: 830; text-transform: uppercase; }
.winnie-message p { margin: 8px 0 0; color: #d9dde6; font-size: 0.82rem; line-height: 1.6; white-space: pre-line; }
.winnie-message small { display: block; margin-top: 10px; color: #7f8aa0; font-size: 0.61rem; }
.winnie-form { padding: 18px; border-top: 1px solid var(--line); }
.winnie-form label { display: block; margin-bottom: 9px; color: #8b96aa; font-size: 0.64rem; }
.winnie-form > div { display: grid; gap: 8px; }
.winnie-form textarea { min-height: 88px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #060914; color: white; line-height: 1.5; }
.winnie-form button { min-height: 48px; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--gradient); color: white; font-size: 0.75rem; font-weight: 820; }

.action-center > article { padding: 20px 18px; border-bottom: 1px solid var(--line); }
.action-center > article:last-child { border-bottom: 0; }
.action-center article > span { color: #8fa4df; font-size: 0.59rem; font-weight: 830; text-transform: uppercase; }
.action-center h4 { margin: 12px 0 8px; font-size: 1rem; line-height: 1.4; }
.action-center article p { margin: 0; color: #8f99ab; font-size: 0.73rem; line-height: 1.55; }
.action-center article > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 16px; }
.action-center button { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.025); color: white; font-size: 0.68rem; font-weight: 780; }
.action-center button:last-child { border: 0; background: var(--gradient); }
.action-center article > small { display: block; margin-top: 12px; color: #79849a; font-size: 0.62rem; }
.action-center article.is-approved { background: rgba(94, 230, 168, 0.05); }
.action-center article.is-approved > small { color: var(--green); }
.action-center button:disabled { cursor: not-allowed; filter: saturate(0.2); opacity: 0.38; }
.winnie-context { display: grid; gap: 22px; margin-top: 12px; padding: 22px 18px; }
.winnie-context h3 { margin: 0; font-size: 1.3rem; }
.winnie-context ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.winnie-context li { padding: 9px 11px; border: 1px solid var(--line); border-radius: 999px; color: #b6becd; font-size: 0.68rem; }

.appointment-layout,
.member-layout,
.team-layout,
.communication-layout { display: grid; gap: 12px; }
.appointment-board,
.capacity-panel,
.member-list,
.member-profile,
.team-roster,
.operations-checklist,
.communication-categories,
.conversation-workspace,
.team-attention,
.insight-hero,
.insight-list,
.attribution-journey,
.attribution-note,
.management-support { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.status-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 14px; border-bottom: 1px solid var(--line); }
.status-tabs button { min-height: 42px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: #9da7b8; font-size: 0.67rem; white-space: nowrap; }
.status-tabs button.is-active { border-color: var(--cyan); color: white; }
.appointment-list { display: grid; padding: 0 14px 14px; }
.appointment-list > button { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: inherit; text-align: left; }
.appointment-list > button:last-child { border-bottom: 0; }
.appointment-list time { color: #e7eaf0; font-size: 0.86rem; font-weight: 800; }
.appointment-list button > span { display: grid; gap: 5px; }
.appointment-list button strong { font-size: 0.85rem; }
.appointment-list button small { color: #8490a4; font-size: 0.69rem; }
.appointment-list em { grid-column: 2; width: fit-content; padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; color: #8fa4df; font-size: 0.6rem; font-style: normal; }
.appointment-list button[hidden] { display: none; }
.capacity-panel { padding: 22px 18px; }
.capacity-panel > span { color: #8490a5; font-size: 0.65rem; text-transform: uppercase; }
.capacity-panel > strong { display: block; margin-top: 14px; font-size: 3.5rem; letter-spacing: -0.06em; }
.capacity-panel > div { height: 7px; overflow: hidden; margin-top: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.capacity-panel i { display: block; width: var(--capacity); height: 100%; background: var(--gradient); }
.capacity-panel p { margin: 22px 0; color: #929caf; font-size: 0.76rem; line-height: 1.6; }
.capacity-panel dl { display: grid; gap: 12px; margin: 0; }
.capacity-panel dl div { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.capacity-panel dt { color: #7f8a9f; font-size: 0.67rem; }
.capacity-panel dd { margin: 0; font-size: 0.78rem; font-weight: 800; }

.reminder-flow { display: grid; margin: 0 0 12px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); list-style: none; }
.reminder-flow li { display: grid; grid-template-columns: 34px 1fr; align-items: center; min-height: 58px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.reminder-flow li:last-child { border-bottom: 0; }
.reminder-flow span { color: #75819a; font-size: 0.6rem; }
.reminder-flow strong { font-size: 0.75rem; }
.reminder-columns { display: grid; gap: 10px; }
.reminder-columns > section { padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.reminder-columns header { display: flex; justify-content: space-between; gap: 16px; }
.reminder-columns header span { color: #8d98ab; font-size: 0.68rem; font-weight: 750; }
.reminder-columns header strong { font-size: 1.35rem; }
.reminder-columns ul { display: grid; gap: 15px; margin: 22px 0 0; padding: 0; list-style: none; }
.reminder-columns li { display: grid; gap: 5px; padding-top: 13px; border-top: 1px solid var(--line); }
.reminder-columns li strong { font-size: 0.77rem; }
.reminder-columns li span,
.reminder-escalation p { color: #8792a6; font-size: 0.69rem; line-height: 1.5; }
.reminder-escalation p { margin: 22px 0 0; }
.reminder-escalation button { min-height: 44px; margin-top: 18px; padding: 10px 0; border: 0; background: transparent; color: var(--cyan); font-size: 0.72rem; font-weight: 780; }

.member-list { display: flex; gap: 7px; overflow-x: auto; padding: 12px; }
.member-list button { display: grid; grid-template-columns: 38px 130px; grid-template-rows: auto auto; min-width: 190px; min-height: 64px; align-items: center; padding: 10px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: inherit; text-align: left; }
.member-list button > span { grid-row: 1 / 3; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(139, 77, 255, 0.16); color: #d7dcef; font-size: 0.65rem; font-weight: 820; }
.member-list button strong { font-size: 0.74rem; }
.member-list button small { color: #7f8a9d; font-size: 0.61rem; }
.member-list button.is-active { border-color: rgba(18, 217, 239, 0.45); background: rgba(18, 217, 239, 0.045); }
.member-profile { padding: 20px 18px; }
.member-profile > header { display: grid; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.member-profile > header > div { display: flex; align-items: center; gap: 12px; }
.member-profile > header > div > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--gradient); font-size: 0.72rem; font-weight: 850; }
.member-profile h3 { margin: 0; font-size: 1.25rem; }
.member-profile header p { margin: 4px 0 0; color: #7f8a9d; font-size: 0.65rem; }
.member-profile header em { width: fit-content; padding: 7px 9px; border: 1px solid rgba(94, 230, 168, 0.3); border-radius: 999px; color: var(--green); font-size: 0.62rem; font-style: normal; }
.member-profile dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin: 18px 0; background: var(--line); }
.member-profile dl div { min-height: 90px; padding: 14px; background: #090d1a; }
.member-profile dt { color: #7d899d; font-size: 0.61rem; }
.member-profile dd { margin: 10px 0 0; font-size: 0.75rem; font-weight: 750; line-height: 1.4; }
.member-profile > section { padding: 16px; border: 1px solid rgba(139, 77, 255, 0.3); border-radius: 14px; background: rgba(139, 77, 255, 0.07); }
.member-profile > section span { color: #9aa9da; font-size: 0.61rem; font-weight: 820; text-transform: uppercase; }
.member-profile > section p { margin: 9px 0 0; color: #b9c0ce; font-size: 0.74rem; line-height: 1.6; }

.team-attention { margin-bottom: 12px; padding: 24px 18px; border-color: rgba(255, 191, 105, 0.3); background: linear-gradient(135deg, rgba(255, 138, 34, 0.08), transparent), var(--surface); }
.team-attention > span { color: var(--amber); font-size: 0.61rem; font-weight: 830; text-transform: uppercase; }
.team-attention h3 { max-width: 820px; margin: 16px 0 8px; font-size: clamp(1.5rem, 7vw, 2.8rem); letter-spacing: -0.045em; line-height: 1.05; }
.team-attention p { max-width: 720px; margin: 0 0 18px; color: #9aa4b5; font-size: 0.75rem; line-height: 1.6; }
.team-roster > header,
.operations-checklist > header,
.insight-list > header,
.management-support > header { display: flex; justify-content: space-between; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); }
.team-roster header span,
.operations-checklist header span,
.insight-list header span,
.management-support header span { color: #8e99ac; font-size: 0.67rem; }
.team-roster header strong,
.operations-checklist header strong,
.insight-list header strong,
.management-support header strong { font-size: 0.7rem; }
.team-roster > div { display: grid; padding: 0 16px 12px; }
.team-roster article { display: grid; grid-template-columns: 38px 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 4px 10px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.team-roster article:last-child { border-bottom: 0; }
.team-roster article > span { grid-row: 1 / 3; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(52, 120, 255, 0.14); font-size: 0.62rem; font-weight: 820; }
.team-roster h3 { margin: 0; font-size: 0.77rem; }
.team-roster p { margin: 0; color: #7f8a9d; font-size: 0.63rem; }
.team-roster em { grid-row: 1 / 3; grid-column: 3; color: #8fa4df; font-size: 0.59rem; font-style: normal; }
.operations-checklist { padding-bottom: 12px; }
.operations-checklist label { display: flex; min-height: 50px; align-items: center; gap: 10px; margin-inline: 16px; border-bottom: 1px solid var(--line); color: #b5bdca; font-size: 0.69rem; }
.operations-checklist input { accent-color: var(--cyan); }

.communication-categories { display: flex; gap: 6px; overflow-x: auto; padding: 11px; }
.communication-categories button { display: flex; min-width: 124px; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #959fb1; font-size: 0.66rem; text-align: left; }
.communication-categories button strong { color: #68748c; font-size: 0.61rem; }
.communication-categories button.is-active { border-color: rgba(18, 217, 239, 0.38); background: rgba(18, 217, 239, 0.055); color: white; }
.conversation-workspace { overflow: hidden; }
.conversation-workspace > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 18px; border-bottom: 1px solid var(--line); }
.conversation-workspace header span { color: #8fa4df; font-size: 0.6rem; font-weight: 830; text-transform: uppercase; }
.conversation-workspace h3 { margin: 10px 0 4px; font-size: 1.2rem; }
.conversation-workspace header p { margin: 0; color: #7c879b; font-size: 0.65rem; }
.conversation-workspace header em { color: var(--amber); font-size: 0.62rem; font-style: normal; }
.conversation-summary { padding: 18px; border-bottom: 1px solid var(--line); background: rgba(139, 77, 255, 0.055); }
.conversation-summary span,
.draft-workspace label { color: #9aa9da; font-size: 0.61rem; font-weight: 830; text-transform: uppercase; }
.conversation-summary p { margin: 9px 0 0; color: #c0c6d2; font-size: 0.75rem; line-height: 1.6; }
.conversation-context { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.conversation-context > div { display: grid; gap: 7px; min-height: 76px; padding: 13px; background: #090d1a; }
.conversation-context span { color: #7c879b; font-size: 0.59rem; }
.conversation-context strong { font-size: 0.68rem; line-height: 1.4; }
.draft-workspace { padding: 18px; }
.draft-workspace textarea { width: 100%; min-height: 130px; margin-top: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #060914; color: #e5e8ef; font-size: 0.75rem; line-height: 1.55; }
.draft-workspace > div { display: grid; gap: 7px; margin-top: 10px; }
.draft-workspace button { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: white; font-size: 0.67rem; font-weight: 760; }
.draft-workspace button:last-child { border: 0; background: var(--gradient); }
.draft-workspace p { margin: 12px 0 0; color: #7b879c; font-size: 0.62rem; }

.campaign-list { display: grid; gap: 12px; }
.campaign-list > article { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.campaign-list article > header { display: flex; justify-content: space-between; gap: 18px; padding: 20px 18px; border-bottom: 1px solid var(--line); }
.campaign-list h3 { margin: 10px 0 0; font-size: 1.2rem; }
.campaign-list header em { color: var(--green); font-size: 0.61rem; font-style: normal; text-align: right; }
.campaign-list dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); }
.campaign-list dl div { min-height: 88px; padding: 14px; background: #090d1a; }
.campaign-list dt { color: #7c879b; font-size: 0.59rem; }
.campaign-list dd { margin: 11px 0 0; font-size: 0.85rem; font-weight: 800; }
.campaign-list article > section { padding: 18px; background: rgba(139, 77, 255, 0.045); }
.campaign-list section p { margin: 8px 0 0; color: #a7b0c0; font-size: 0.72rem; line-height: 1.6; }

.insight-hero { padding: 24px 18px; border-color: rgba(52, 120, 255, 0.28); background: radial-gradient(circle at 90% 0, rgba(52, 120, 255, 0.15), transparent 38%), var(--surface); }
.insight-hero h3 { max-width: 900px; margin: 16px 0 10px; font-size: clamp(1.55rem, 7vw, 3.1rem); letter-spacing: -0.045em; line-height: 1.05; }
.insight-hero p { max-width: 720px; margin: 0; color: #8f99aa; font-size: 0.73rem; line-height: 1.6; }
.segment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.segment-grid article { display: grid; min-height: 130px; align-content: end; padding: 16px; background: #080c18; }
.segment-grid span { color: #7c879b; font-size: 0.62rem; }
.segment-grid strong { margin-top: 14px; font-size: 1.8rem; }
.segment-grid p { margin: 6px 0 0; color: #7c879b; font-size: 0.63rem; line-height: 1.4; }
.insight-list { margin-top: 12px; overflow: hidden; }
.insight-list ul { margin: 0; padding: 0 16px; list-style: none; }
.insight-list li { display: grid; gap: 10px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.insight-list li:last-child { border-bottom: 0; }
.insight-list li div { display: grid; gap: 5px; }
.insight-list li strong { font-size: 0.76rem; }
.insight-list li span { color: #7d899d; font-size: 0.64rem; }
.insight-list li em { width: fit-content; color: #8fa4df; font-size: 0.61rem; font-style: normal; }

.source-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.source-strip div { display: grid; min-height: 92px; align-content: end; padding: 14px; background: #080c18; }
.source-strip span { color: #7c879b; font-size: 0.62rem; }
.source-strip strong { margin-top: 10px; font-size: 1.25rem; }
.attribution-journey { margin-top: 12px; padding: 20px 18px; }
.attribution-journey header span { color: #8fa4df; font-size: 0.61rem; font-weight: 830; text-transform: uppercase; }
.attribution-journey h3 { margin: 12px 0 0; font-size: 1.4rem; }
.attribution-journey ol { display: grid; gap: 7px; margin: 22px 0 0; padding: 0; list-style: none; }
.attribution-journey li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; min-height: 56px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; }
.attribution-journey li span { color: #7180a0; font-size: 0.58rem; }
.attribution-journey li strong { font-size: 0.74rem; }
.attribution-journey li small { color: #7f8b9f; font-size: 0.6rem; }
.attribution-note { display: grid; gap: 8px; margin-top: 12px; padding: 18px; }
.attribution-note p { margin: 0; color: #9aa4b6; font-size: 0.73rem; line-height: 1.6; }

.management-questions { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.management-questions article { min-height: 170px; padding: 20px 18px; background: #080c18; }
.management-questions span { color: #7180a0; font-size: 0.6rem; font-weight: 830; }
.management-questions h3 { margin: 30px 0 9px; font-size: 1.05rem; }
.management-questions p { margin: 0; color: #8792a5; font-size: 0.71rem; line-height: 1.55; }
.management-support { margin-top: 12px; overflow: hidden; }
.management-support > div { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.management-support article { display: grid; min-height: 110px; align-content: end; padding: 14px; background: #090d1a; }
.management-support article span { color: #7c879b; font-size: 0.59rem; }
.management-support article strong { margin-top: 10px; font-size: 1.35rem; }
.management-support article small { margin-top: 3px; color: #7180a0; font-size: 0.58rem; }

.appointment-dialog {
  width: min(calc(100% - 24px), 720px);
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 24px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #080c18;
  color: white;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}
.appointment-dialog::backdrop { background: rgba(1, 3, 9, 0.82); backdrop-filter: blur(8px); }
.appointment-dialog > form { display: flex; justify-content: flex-end; }
.appointment-dialog > form button { min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: white; font-size: 0.66rem; }
.appointment-dialog > span { color: #8fa4df; font-size: 0.61rem; font-weight: 830; text-transform: uppercase; }
.appointment-dialog h2 { margin: 16px 0 6px; font-size: 2rem; }
.appointment-dialog > p { margin: 0; color: #7f8a9d; font-size: 0.68rem; }
.appointment-dialog dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin: 24px 0; background: var(--line); }
.appointment-dialog dl div { min-height: 90px; padding: 13px; background: #0b1020; }
.appointment-dialog dt { color: #7e899d; font-size: 0.6rem; }
.appointment-dialog dd { margin: 9px 0 0; font-size: 0.7rem; line-height: 1.45; }
.appointment-dialog ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.appointment-dialog li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; min-height: 54px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; }
.appointment-dialog li span { color: #7180a0; font-size: 0.58rem; }
.appointment-dialog li strong { font-size: 0.7rem; }
.appointment-dialog li small { color: #7c879b; font-size: 0.58rem; }
.appointment-dialog > button { width: 100%; min-height: 48px; margin-top: 18px; border: 0; border-radius: 12px; background: var(--gradient); color: white; font-size: 0.72rem; font-weight: 820; }

.demo-toast {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 14px;
  z-index: 300;
  padding: 14px 16px;
  border: 1px solid rgba(94, 230, 168, 0.35);
  border-radius: 13px;
  background: rgba(7, 15, 17, 0.95);
  color: #dff9ed;
  font-size: 0.73rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.demo-toast.is-visible { opacity: 1; transform: none; }

@media (min-width: 720px) {
  :root { --gutter: clamp(24px, 4vw, 54px); --radius: 24px; }
  .environment-banner { justify-content: flex-start; padding-inline: var(--gutter); }
  .os-header { grid-template-columns: 180px 1fr auto; }
  .os-logo { width: 174px; }
  .os-product { display: grid; gap: 3px; }
  .os-product strong { font-size: 0.78rem; }
  .os-product span { color: #7c879b; font-size: 0.61rem; }
  .os-header__actions > a { display: inline-flex; min-height: 42px; align-items: center; padding: 9px 12px; color: #b8c0ce; font-size: 0.68rem; font-weight: 760; }
  .workspace-header { grid-template-columns: 1fr auto; align-items: end; }
  .workspace-date { min-width: 220px; }
  .morning-brief { grid-template-columns: 1fr auto; align-items: end; padding: 34px; }
  .today-story { padding: 34px; }
  .today-story__numbers { grid-template-columns: repeat(4, 1fr); }
  .focus-list { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
  .focus-list button { padding: 22px; border-right: 1px solid var(--line); }
  .focus-list button:nth-child(odd) { border-left: 1px solid var(--line); }
  .owner-attention { padding: 34px; }
  .owner-attention__list { grid-template-columns: repeat(3, 1fr); }
  .guided-next { grid-template-columns: 1fr auto; align-items: end; padding: 30px; }
  .today-lanes { grid-template-columns: repeat(3, 1fr); }
  .supporting-numbers { grid-template-columns: repeat(4, 1fr); }
  .view-lead { grid-template-columns: 1fr auto; align-items: end; }
  .winnie-form > div { grid-template-columns: 1fr auto; align-items: stretch; }
  .winnie-form button { min-width: 140px; }
  .winnie-context { grid-template-columns: 0.6fr 1.4fr; align-items: center; }
  .appointment-layout { grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); }
  .appointment-list > button { grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; }
  .appointment-list em { grid-column: 3; grid-row: 1; }
  .reminder-flow { grid-template-columns: repeat(5, 1fr); }
  .reminder-flow li { min-height: 90px; align-content: center; border-right: 1px solid var(--line); border-bottom: 0; }
  .reminder-flow li:last-child { border-right: 0; }
  .reminder-columns { grid-template-columns: 1fr 1fr; }
  .member-layout { grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr); }
  .member-list { display: grid; align-content: start; overflow: visible; }
  .member-list button { min-width: 0; grid-template-columns: 38px minmax(0, 1fr); }
  .member-profile > header { grid-template-columns: 1fr auto; align-items: center; }
  .member-profile dl { grid-template-columns: repeat(3, 1fr); }
  .team-layout { grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); }
  .communication-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .communication-categories { display: grid; align-content: start; overflow: visible; }
  .communication-categories button { min-width: 0; }
  .conversation-context { grid-template-columns: repeat(3, 1fr); }
  .draft-workspace > div { grid-template-columns: repeat(3, 1fr); }
  .campaign-list { grid-template-columns: 1fr 1fr; }
  .campaign-list > article:first-child { grid-column: 1 / -1; }
  .campaign-list dl { grid-template-columns: repeat(4, 1fr); }
  .segment-grid { grid-template-columns: repeat(4, 1fr); }
  .insight-list li { grid-template-columns: 1fr auto; align-items: center; }
  .source-strip { grid-template-columns: repeat(4, 1fr); }
  .attribution-journey ol { grid-template-columns: repeat(6, 1fr); }
  .attribution-journey li { display: flex; min-height: 120px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .management-questions { grid-template-columns: 1fr 1fr; }
  .management-questions article:last-child { grid-column: 1 / -1; }
  .management-support > div { grid-template-columns: repeat(4, 1fr); }
  .demo-toast { right: 22px; bottom: 22px; left: auto; width: min(420px, calc(100% - 44px)); }
}

@media (min-width: 980px) {
  :root { --nav-width: 250px; }
  .os-menu-toggle { display: none; }
  .os-header { left: var(--nav-width); }
  .experience-journey { left: var(--nav-width); padding-inline: var(--gutter); }
  .experience-journey a { grid-template-columns: auto auto; justify-content: start; gap: 8px; padding-inline: 14px; }
  .os-nav {
    top: var(--banner-height);
    right: auto;
    width: var(--nav-width);
    padding: 22px 14px;
    border-right: 1px solid var(--line);
    background: #050713;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .os-nav__intro { padding: 0 10px; }
  .workspace { margin-left: var(--nav-width); padding-top: calc(var(--banner-height) + var(--header-height) + var(--journey-height) + 42px); }
  .winnie-layout { grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr); align-items: start; }
  .action-center { position: sticky; top: calc(var(--banner-height) + var(--header-height) + 22px); }
  .campaign-list { grid-template-columns: repeat(3, 1fr); }
  .campaign-list > article:first-child { grid-column: auto; }
  .management-questions { grid-template-columns: repeat(5, 1fr); }
  .management-questions article:last-child { grid-column: auto; }
}

@media (min-width: 1320px) {
  :root { --nav-width: 278px; }
  .workspace { padding-inline: clamp(44px, 5vw, 86px); }
  .workspace > section,
  .workspace-header { width: min(100%, 1420px); margin-inline: auto; }
  .workspace-header { margin-bottom: 38px; }
  .os-nav { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
