:root {
  --black: #050707;
  --ink: #101516;
  --ink-2: #182022;
  --teal: #5f8f93;
  --teal-dark: #29474a;
  --teal-mid: #8db0b3;
  --teal-pale: #dce8e9;
  --cool-gray: #e6e6e6;
  --paper: #f5f6f3;
  --white: #ffffff;
  --muted: #697476;
  --line: #d9dfde;
  --danger: #a9463d;
  --shadow: 0 22px 55px rgba(10, 20, 20, 0.08);
  --font: "Gotham", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --display: "Prompt", "Gotham", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 30px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.eyebrow {
  display: inline-block;
  color: var(--teal-dark);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2.1px;
  line-height: 1.4;
}
.eyebrow.light { color: var(--teal-mid); }

.qdt-logo { display: inline-block; flex: 0 0 auto; width: 83px; height: 29px; color: inherit; background: currentColor; -webkit-mask: url("/app/qdt-mark.svg") center / contain no-repeat; mask: url("/app/qdt-mark.svg") center / contain no-repeat; }
.product-mark { display: flex; margin-bottom: 74px; font-size: 31px; font-weight: 680; letter-spacing: -1.8px; }
.product-mark .mark-q { color: var(--teal); }
.field-label { display: flex; justify-content: space-between; margin: 27px 0 9px; color: #374143; font-size: 11px; font-weight: 750; letter-spacing: .8px; text-transform: uppercase; }
.field-label span { color: #899294; font-size: 9px; }
input, textarea, select {
  width: 100%;
  border: 1px solid #cfd7d6;
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--ink);
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease;
}
input { height: 52px; padding: 0 15px; }
textarea { resize: vertical; min-height: 94px; padding: 13px 15px; line-height: 1.5; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(95,143,147,.12); }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.icon-button:hover { background: rgba(95,143,147,.1); }
.icon-button svg { width: 18px; height: 18px; }
.primary-button, .secondary-button, .danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--black);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .55px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.primary-button { color: var(--white); background: var(--black); }
.primary-button:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.secondary-button { color: var(--ink); background: transparent; border-color: #cdd4d3; }
.secondary-button:hover { border-color: var(--teal); background: var(--white); }
.danger-button { color: var(--white); background: var(--danger); border-color: var(--danger); }
.danger-button:hover { background: #85372f; border-color: #85372f; transform: translateY(-1px); }
.primary-button:disabled, .secondary-button:disabled, .danger-button:disabled, .send-button:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.primary-button.compact, .secondary-button.compact { min-height: 36px; gap: 12px; padding: 0 13px; font-size: 9px; text-decoration: none; }
.primary-button.full { width: 100%; margin-top: 9px; justify-content: space-between; padding-inline: 19px; }
.arrow { color: var(--teal-mid); font-size: 17px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(95,143,147,.13); }
.form-error { min-height: 22px; margin: 8px 0 0; color: var(--danger) !important; font-size: 11px; }

.app-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; background: var(--paper); }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 252px;
  padding: 31px 18px 19px;
  color: var(--white);
  background: var(--black);
  border-right: 1px solid rgba(255,255,255,.04);
}
.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .11;
  background-image: radial-gradient(circle, var(--teal-mid) 0 1px, transparent 1.4px);
  background-size: 20px 20px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, transparent 47%);
}
.sidebar-top, .sidebar-bottom { position: relative; z-index: 1; }
.sidebar-top { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; }
.sidebar-bottom { flex: 0 0 auto; }
.product-lockup { display: block; width: 100%; padding: 0 11px; border: 0; text-align: left; color: inherit; background: transparent; cursor: pointer; }
.product-mark.small { margin: 0; color: var(--white); font-size: 23px; letter-spacing: -1.15px; }
.product-caption { display: block; margin-top: 3px; color: #758183; font-size: 8px; font-weight: 650; letter-spacing: 1.55px; text-transform: uppercase; }
.nav-list { display: grid; gap: 5px; margin-top: 44px; }
.nav-item {
  display: grid;
  grid-template-columns: 21px 1fr auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  height: 43px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  color: #98a4a5;
  background: transparent;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}
.nav-item svg { width: 17px; height: 17px; }
.nav-item:hover { color: var(--white); background: rgba(255,255,255,.05); }
.nav-item.active { color: var(--white); background: rgba(95,143,147,.18); }
.nav-item.active svg { color: var(--teal-mid); }
.nav-item b { min-width: 21px; padding: 2px 6px; border-radius: 10px; color: #cbd4d4; background: rgba(255,255,255,.07); font-size: 9px; text-align: center; }
.nav-item em { color: var(--teal-mid); font-size: 8px; font-style: normal; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.sidebar-section { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; margin-top: 40px; }
.sidebar-label { display: flex; align-items: center; justify-content: space-between; padding: 0 11px 12px; color: #5f6b6c; font-size: 8px; font-weight: 750; letter-spacing: 1.65px; }
.sidebar-label button { width: 24px; height: 24px; border: 0; color: #778384; background: transparent; cursor: pointer; font-size: 17px; }
.sidebar-label button:hover { color: var(--white); }
.recent-list { display: grid; flex: 1 1 auto; gap: 4px; min-height: 0; max-height: calc(100vh - 490px); overflow: auto; scrollbar-width: none; }
.recent-list::-webkit-scrollbar { display: none; }
.recent-item { width: 100%; padding: 10px 11px; border: 0; border-left: 2px solid transparent; color: #849091; background: transparent; text-align: left; cursor: pointer; }
.recent-item:hover, .recent-item.active { color: #e8eeee; background: rgba(255,255,255,.035); border-left-color: var(--teal); }
.recent-item strong { display: block; overflow: hidden; font-size: 10px; font-weight: 600; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.recent-item small { display: block; margin-top: 4px; color: #566163; font-size: 8px; }
.sidebar-bottom { display: grid; gap: 11px; }
.system-status { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-md); background: rgba(255,255,255,.025); }
.system-status strong, .system-status small { display: block; }
.system-status strong { color: #dce3e3; font-size: 10px; }
.system-status small { margin-top: 3px; color: #667273; font-size: 8px; }
.signal-orbit { position: relative; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(95,143,147,.4); border-radius: 50%; }
.signal-orbit::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(95,143,147,.45); border-radius: 50%; }
.signal-orbit i { width: 4px; height: 4px; border-radius: 50%; background: var(--teal-mid); box-shadow: 0 0 8px var(--teal); }
.profile-row { display: flex; align-items: center; width: 100%; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.profile-row { gap: 10px; padding: 7px 10px; }
.avatar { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--white); background: var(--teal-dark); font-size: 9px; font-weight: 750; letter-spacing: .4px; }
.profile-row strong, .profile-row small { display: block; }
.profile-row strong { color: #e2e7e7; font-size: 10px; }
.profile-row small { margin-top: 2px; color: #657172; font-size: 8px; }
.proprietary-mark { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 10px; color: #667273; font-size: 6.5px; font-weight: 720; letter-spacing: .75px; line-height: 1.35; text-transform: uppercase; }
.proprietary-mark strong { color: var(--teal-mid); font-size: 6.5px; font-weight: 780; white-space: nowrap; }
.app-version { display: flex; justify-content: space-between; margin: 0 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06); color: #566163; font-size: 8px; font-weight: 650; letter-spacing: 1.15px; text-transform: uppercase; }
.app-version strong { color: #7f8b8c; font: inherit; }

.main-stage { grid-column: 2; min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(245,246,243,.91); backdrop-filter: blur(14px); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #8c9697; font-size: 10px; letter-spacing: .45px; }
.breadcrumb i { color: #c1c7c6; font-style: normal; }
.breadcrumb strong { color: var(--ink); font-weight: 650; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.qdt-endorsement { display: inline-flex; align-items: center; gap: 9px; min-height: 35px; padding-right: 13px; border-right: 1px solid var(--line); color: var(--ink); }
.qdt-endorsement .qdt-logo { width: 47px; height: 18px; }
.qdt-product-claim { display: grid; gap: 2px; }
.qdt-product-claim strong { font-size: 7px; font-weight: 780; letter-spacing: .45px; line-height: 1.1; text-transform: uppercase; }
.qdt-product-claim small { color: var(--teal-dark); font-size: 6.5px; font-weight: 760; letter-spacing: .8px; line-height: 1.1; text-transform: uppercase; }
.theme-switch { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 5px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: rgba(255,255,255,.68); cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.theme-switch:hover { border-color: var(--teal); background: var(--white); transform: translateY(-1px); }
.theme-palette { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: var(--paper); }
.theme-palette i { display: block; width: 7px; height: 14px; background: var(--black); }
.theme-palette i:first-child { border-radius: 7px 0 0 7px; background: var(--teal); }
.theme-palette i:last-child { border-radius: 0 7px 7px 0; background: var(--teal-mid); }
.theme-switch-copy { display: grid; gap: 1px; text-align: left; }
.theme-switch-copy strong { font-size: 8.5px; font-weight: 760; line-height: 1.1; }
.theme-switch-copy small { color: #7a8586; font-size: 6.5px; font-weight: 700; letter-spacing: .65px; text-transform: uppercase; }
.mobile-header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-theme-switch { width: 36px; min-height: 32px; padding: 5px; border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.06); }
.mobile-theme-switch .theme-palette { background: rgba(255,255,255,.08); }
.privacy-pill { display: inline-flex; align-items: center; gap: 7px; color: #778183; font-size: 9px; }
.privacy-pill svg { width: 13px; height: 13px; color: var(--teal); }
.mobile-header { display: none; }
.mobile-product-lockup { display: grid; justify-items: center; gap: 1px; }
.mobile-product-lockup small { color: #718082; font-size: 6px; font-weight: 760; letter-spacing: .7px; text-transform: uppercase; }
.view { min-height: calc(100vh - 76px); animation: reveal .28s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.home-view { padding-bottom: 64px; }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  padding: 58px max(5vw, 48px) 48px;
  color: var(--white);
  margin: 22px 22px 0;
  border-radius: var(--radius-lg);
  background: var(--black);
}
.hero::before { content: ""; position: absolute; right: -80px; top: -110px; width: 510px; height: 510px; border: 1px solid rgba(95,143,147,.15); border-radius: 50%; box-shadow: 0 0 0 75px rgba(95,143,147,.025), 0 0 0 150px rgba(95,143,147,.018); }
.hero::after { content: ""; position: absolute; inset: 0 0 0 59%; opacity: .5; background-image: radial-gradient(circle, rgba(127,166,169,.72) 0 1.4px, transparent 1.8px); background-size: 22px 22px; mask-image: linear-gradient(110deg, transparent, black 34%, transparent 89%); }
.hero-copy { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { margin: 15px 0 13px; font-family: var(--display); font-size: clamp(39px, 4.6vw, 65px); font-weight: 500; letter-spacing: -3.1px; line-height: 1; }
.hero h1 span { color: var(--teal-mid); }
.hero-sub { max-width: 650px; margin: 0; color: #aeb9ba; font-size: 14px; line-height: 1.6; }
.prompt-box { position: relative; z-index: 3; max-width: 930px; margin-top: 37px; padding: 11px 12px 10px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-md); background: rgba(255,255,255,.075); box-shadow: 0 18px 50px rgba(0,0,0,.26); backdrop-filter: blur(10px); }
.prompt-box textarea { min-height: 68px; padding: 7px 2px; border: 0; color: var(--white); background: transparent; box-shadow: none; font-size: 15px; line-height: 1.45; }
.prompt-box textarea::placeholder { color: #798586; }
.prompt-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.08); }
.prompt-options { display: flex; align-items: center; gap: 7px; min-width: 0; }
.select-wrap { position: relative; }
.select-wrap select { width: auto; max-width: 220px; height: 31px; padding: 0 28px 0 10px; border-color: rgba(255,255,255,.09); color: #b8c2c2; background: rgba(255,255,255,.04); font-size: 9px; appearance: none; }
.select-wrap::after { content: "⌄"; position: absolute; right: 9px; top: 5px; color: #7e898a; pointer-events: none; font-size: 12px; }
.select-wrap select option { color: var(--ink); background: white; }
.prompt-capability { display: inline-flex; align-items: center; gap: 6px; height: 31px; padding: 0 10px; border: 1px solid rgba(95,143,147,.25); border-radius: 2px; color: var(--teal-mid); background: rgba(95,143,147,.08); font-size: 9px; white-space: nowrap; }
.prompt-capability svg { flex: 0 0 auto; width: 13px; height: 13px; }
.send-button { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 2px; color: var(--black); background: var(--teal-mid); cursor: pointer; transition: background .18s ease, transform .18s ease; }
.send-button:hover { background: var(--white); transform: translateY(-1px); }
.send-button svg { width: 17px; height: 17px; }
.hero-foot { position: absolute; z-index: 2; right: max(5vw, 48px); bottom: 42px; display: flex; align-items: center; gap: 8px; color: #667273; font-size: 8px; letter-spacing: .8px; text-transform: uppercase; }
.hero-foot i { width: 27px; height: 1px; background: var(--teal); }

.content-wrap { max-width: 1440px; margin: 0 auto; padding: 42px max(4vw, 38px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.section-head h2 { margin: 6px 0 0; font-size: 24px; font-weight: 630; letter-spacing: -1px; }
.section-head p { max-width: 580px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.text-button { border: 0; color: var(--teal-dark); background: transparent; font-size: 10px; font-weight: 750; cursor: pointer; }
.channel-intro { margin-bottom: 48px; }
.channel-head { align-items: center; }
.channel-rail, .channel-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.channel-card {
  position: relative;
  min-height: 255px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.channel-card::after { content: ""; position: absolute; right: -31px; top: -34px; width: 112px; height: 112px; opacity: .15; background-image: radial-gradient(circle, var(--teal) 0 1.25px, transparent 1.65px); background-size: 13px 13px; mask-image: linear-gradient(135deg, black, transparent 75%); }
.channel-card.next { background: transparent; border-style: dashed; }
.channel-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.channel-icon { display: grid; place-items: center; width: 37px; height: 37px; color: var(--teal-dark); background: var(--teal-pale); }
.channel-icon svg { width: 18px; height: 18px; }
.channel-state { display: inline-flex; align-items: center; gap: 6px; color: #7a8586; font-size: 7.5px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.channel-state i { width: 6px; height: 6px; border-radius: 50%; background: #9da6a6; }
.channel-state.active { color: var(--teal-dark); }
.channel-state.active i { background: var(--teal); box-shadow: 0 0 0 4px rgba(95,143,147,.13); }
.channel-eyebrow { display: block; margin-top: 18px; color: #7c8889; font-size: 7.5px; font-weight: 800; letter-spacing: 1.15px; }
.channel-card h3 { margin: 8px 0 5px; font-size: 17px; font-weight: 670; letter-spacing: -.45px; }
.channel-address { display: block; color: var(--teal-dark); font-size: 9px; font-weight: 750; letter-spacing: .3px; }
.channel-card p { margin: 13px 0 44px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.channel-action { position: absolute; z-index: 2; left: 22px; bottom: 19px; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--teal-dark); background: transparent; font-size: 9px; font-weight: 780; text-decoration: none; cursor: pointer; }
.channel-action span { color: var(--teal); font-size: 15px; }
.channel-action.disabled { color: #8d9798; cursor: default; }
.channel-card.setup { border-style: dashed; background: transparent; }
.channel-state.available { color: #758082; }
.channel-state.available i { background: transparent; border: 1px solid var(--teal); }
.channel-state.planned { color: #877047; }
.channel-state.planned i { background: transparent; border: 1px solid #a98a4f; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-card { position: relative; min-height: 220px; padding: 23px 24px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.capability-card:hover { z-index: 1; background: var(--white); box-shadow: var(--shadow); transform: translateY(-2px); }
.capability-top { display: flex; align-items: center; justify-content: space-between; }
.capability-number { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1.3px; }
.capability-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--teal-dark); background: var(--teal-pale); }
.capability-icon svg { width: 16px; height: 16px; }
.capability-card h3 { margin: 22px 0 8px; font-size: 15px; font-weight: 680; letter-spacing: -.3px; }
.capability-card p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.capability-output { position: absolute; left: 24px; bottom: 19px; color: #839091; font-size: 8px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }
.capability-arrow { position: absolute; right: 23px; bottom: 16px; color: var(--teal); font-size: 16px; }
.continue-section { margin-top: 45px; }
.continue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.continue-card { position: relative; min-width: 0; min-height: 143px; padding: 21px; border: 1px solid var(--line); background: rgba(255,255,255,.42); cursor: pointer; text-align: left; transition: border-color .18s ease, background .18s ease; }
.continue-card:hover { border-color: var(--teal); background: var(--white); }
.card-status { display: flex; align-items: center; gap: 7px; color: #8a9495; font-size: 8px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.card-status i { width: 6px; height: 6px; border-radius: 50%; background: #929d9e; }
.card-status i.complete { background: var(--teal); }
.card-status i.running, .card-status i.queued { background: #bd9859; box-shadow: 0 0 0 3px rgba(189,152,89,.14); }
.card-status i.cancelled { background: #8c9697; }
.continue-card h3 { margin: 21px 0 7px; overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.continue-card p { margin: 0; color: #768082; font-size: 9px; }
.empty-inline { grid-column: 1 / -1; padding: 28px; border: 1px dashed #ccd4d3; color: var(--muted); text-align: center; font-size: 11px; }

.channels-view { max-width: none; padding-top: 0; }
.channels-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr); min-height: 390px; margin: 0 calc(-1 * max(4vw, 38px)) 40px; padding: 54px max(5vw, 50px); color: var(--white); background: var(--black); }
.channels-hero h1 { margin: 18px 0; font-size: clamp(42px, 5vw, 68px); font-weight: 610; letter-spacing: -3.4px; line-height: .98; }
.channels-hero h1 span { color: var(--teal-mid); }
.channels-hero p { max-width: 650px; margin: 0; color: #aab5b5; font-size: 13px; line-height: 1.65; }
.channel-mobile-break { display: none; }
.channel-sequence { display: flex; align-items: center; align-self: center; justify-content: flex-end; gap: 8px; }
.channel-sequence > i { flex: 1; min-width: 22px; height: 1px; background: rgba(127,166,169,.3); }
.sequence-node { display: grid; place-items: center; width: 92px; min-width: 92px; height: 92px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; text-align: center; }
.sequence-node.live { border-color: rgba(127,166,169,.6); box-shadow: inset 0 0 0 6px rgba(95,143,147,.05); }
.sequence-node b { color: var(--teal-mid); font-size: 8px; letter-spacing: 1px; }
.sequence-node span { font-size: 9px; font-weight: 720; }
.sequence-node small { color: #778384; font-size: 7px; font-weight: 750; letter-spacing: .7px; text-transform: uppercase; }
.channel-detail-grid .channel-card { min-height: 285px; }
.channel-workflow { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.messenger-section { margin-top: 48px; }
.messenger-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.messenger-card { position: relative; min-height: 285px; padding: 22px 22px 48px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.42); }
.messenger-card.active { background: var(--white); }
.messenger-card.setup { background: rgba(95,143,147,.055); }
.messenger-card.planned { background: rgba(173,145,87,.045); }
.messenger-top { display: flex; align-items: center; justify-content: space-between; }
.messenger-monogram { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--white); background: var(--black); font-size: 9px; font-weight: 800; letter-spacing: .5px; }
.messenger-card.active .messenger-monogram { background: var(--teal-dark); }
.messenger-card h3 { margin: 8px 0 4px; font-size: 18px; letter-spacing: -.45px; }
.messenger-card > strong { color: var(--teal-dark); font-size: 9px; }
.messenger-card p { margin: 15px 0 18px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.messenger-card > small { display: block; padding-top: 13px; border-top: 1px solid var(--line); color: #849091; font-size: 8px; line-height: 1.45; }
.messenger-action { position: absolute; left: 22px; bottom: 19px; color: var(--teal-dark); font-size: 9px; font-weight: 760; text-decoration: none; }
.messenger-action.muted { color: #929b9c; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.workflow-step { min-height: 180px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workflow-step > span { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.workflow-step h3 { margin: 27px 0 8px; font-size: 16px; }
.workflow-step p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.guide-view { max-width: 1540px; }
.guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  min-height: 510px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 12% 110%, rgba(95,143,147,.24), transparent 38%),
    linear-gradient(135deg, #050707 0%, #091011 72%, #101b1d 100%);
}
.guide-hero::before {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -270px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(141,176,179,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(141,176,179,.018), 0 0 0 180px rgba(141,176,179,.012);
}
.guide-hero-copy { position: relative; z-index: 2; align-self: center; padding: 62px 20px 62px 58px; }
.guide-hero h1 { margin: 20px 0 20px; max-width: 760px; font-family: var(--display); font-size: clamp(47px, 5.1vw, 72px); font-weight: 600; letter-spacing: -4px; line-height: .97; }
.guide-hero h1 span { color: var(--teal-mid); }
.guide-hero-copy > p { max-width: 680px; margin: 0; color: #afbbbb; font-size: 14px; line-height: 1.7; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.guide-primary { color: var(--black); border-color: var(--teal-mid); background: var(--teal-mid); }
.guide-primary:hover { color: var(--black); border-color: var(--white); background: var(--white); }
.guide-primary .arrow { color: var(--teal-dark); }
.guide-secondary { color: #dbe3e3; border-color: rgba(255,255,255,.25); }
.guide-secondary:hover { color: var(--white); border-color: var(--teal-mid); background: rgba(95,143,147,.13); }
.guide-system-map {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 52px 42px;
  border-left: 1px solid rgba(255,255,255,.07);
  background-image: radial-gradient(circle, rgba(141,176,179,.45) 0 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 0, black 22%, black 100%);
}
.guide-map-node { width: min(310px, 88%); padding: 17px 20px; border: 1px solid rgba(255,255,255,.14); background: rgba(5,7,7,.84); box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.guide-map-node span, .guide-map-node strong, .guide-map-node small { display: block; }
.guide-map-node span { color: var(--teal-mid); font-size: 7px; font-weight: 800; letter-spacing: 1.35px; }
.guide-map-node strong { margin-top: 8px; font-size: 13px; font-weight: 650; }
.guide-map-node small { margin-top: 5px; color: #7e8a8b; font-size: 8px; }
.guide-map-line { position: relative; width: 1px; height: 45px; background: rgba(141,176,179,.35); }
.guide-map-line i { position: absolute; left: -3px; top: calc(50% - 3px); width: 7px; height: 7px; border-radius: 50%; background: var(--teal-mid); box-shadow: 0 0 0 5px rgba(95,143,147,.12); }
.guide-map-core { display: grid; place-items: center; align-content: center; width: 130px; height: 130px; border: 1px solid rgba(141,176,179,.55); border-radius: 50%; background: rgba(5,7,7,.92); box-shadow: 0 0 0 18px rgba(95,143,147,.035), 0 0 46px rgba(95,143,147,.12); }
.guide-map-core .product-mark { font-size: 24px; }
.guide-map-core small { margin-top: 5px; color: #788586; font-size: 7px; letter-spacing: 1px; text-transform: uppercase; }

.guide-stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 0; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.guide-stat-strip div { padding: 20px 22px; background: var(--white); }
.guide-stat-strip strong, .guide-stat-strip span { display: block; }
.guide-stat-strip strong { color: var(--teal-dark); font-size: 24px; font-weight: 650; }
.guide-stat-strip span { margin-top: 5px; color: #7f8a8b; font-size: 8px; font-weight: 750; letter-spacing: .85px; text-transform: uppercase; }

.guide-section { margin-top: 70px; }
.guide-section-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 27px; }
.guide-section-head h2 { margin: 8px 0 0; font-size: 34px; font-weight: 620; letter-spacing: -1.7px; }
.guide-section-head > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.guide-capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.guide-capability-card { position: relative; min-height: 250px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.35); }
.guide-capability-card > div { display: flex; align-items: center; justify-content: space-between; }
.guide-index { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.guide-card-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--teal-dark); background: var(--teal-pale); }
.guide-card-icon svg { width: 18px; height: 18px; }
.guide-capability-card h3 { margin: 32px 0 10px; font-size: 18px; font-weight: 650; letter-spacing: -.55px; }
.guide-capability-card p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.65; }
.guide-capability-card > strong { position: absolute; left: 26px; bottom: 23px; color: var(--teal-dark); font-size: 8px; letter-spacing: .85px; text-transform: uppercase; }

.guide-workflow-section { position: relative; overflow: hidden; margin-inline: calc(-1 * max(4vw, 38px)); padding: 58px max(4vw, 38px) 62px; color: var(--white); background: var(--black); }
.guide-workflow-section::after { content: ""; position: absolute; right: -60px; top: -70px; width: 300px; height: 300px; opacity: .2; background-image: radial-gradient(circle, var(--teal-mid) 0 1.3px, transparent 1.7px); background-size: 18px 18px; mask-image: linear-gradient(135deg, black, transparent 72%); }
.guide-workflow-section .guide-section-head { position: relative; z-index: 1; }
.guide-workflow-section .guide-section-head > p { color: #94a1a2; }
.guide-workflow { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); list-style: none; }
.guide-workflow li { min-height: 272px; padding: 25px 22px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.guide-workflow li > span { color: var(--teal-mid); font-size: 10px; font-weight: 800; }
.guide-workflow li strong { display: block; margin-top: 50px; color: var(--white); font-size: 15px; line-height: 1.35; }
.guide-workflow li p { margin: 10px 0 0; color: #909c9d; font-size: 9.5px; line-height: 1.65; }

.guide-reasoning-section { position: relative; }
.reasoning-order { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 16px; padding: 15px 20px; color: #536263; border: 1px solid var(--line); background: var(--white); }
.reasoning-order span { font-size: 8px; font-weight: 800; letter-spacing: .75px; text-transform: uppercase; }
.reasoning-order i { color: var(--teal); font-size: 13px; font-style: normal; }
.reasoning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.reasoning-card { position: relative; min-height: 322px; padding: 27px 27px 103px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.48); }
.reasoning-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reasoning-card-top > span { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.reasoning-card-top > small { color: #778486; font-size: 7px; font-weight: 800; letter-spacing: .85px; text-align: right; }
.reasoning-card h3 { margin: 29px 0 12px; max-width: 270px; font-size: 17px; font-weight: 650; letter-spacing: -.5px; line-height: 1.28; }
.reasoning-card > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.68; }
.reasoning-guardrail { position: absolute; right: 27px; bottom: 24px; left: 27px; padding-top: 13px; border-top: 1px solid var(--line); }
.reasoning-guardrail strong { display: block; margin-bottom: 6px; color: var(--teal-dark); font-size: 7px; letter-spacing: 1px; }
.reasoning-guardrail p { margin: 0; color: #758183; font-size: 8.5px; line-height: 1.5; }
.reasoning-rule { margin: 16px 0 0; padding: 18px 21px; color: #c5d2d3; background: var(--black); font-size: 9.5px; line-height: 1.65; }
.reasoning-rule strong { color: var(--white); }

.guide-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.guide-feature-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; min-height: 190px; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.guide-feature-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--teal-dark); background: var(--teal-pale); }
.guide-feature-icon svg { width: 21px; height: 21px; }
.guide-feature-card small { color: var(--teal-dark); font-size: 7.5px; font-weight: 800; letter-spacing: 1px; }
.guide-feature-card h3 { margin: 10px 0 8px; font-size: 17px; font-weight: 650; letter-spacing: -.45px; }
.guide-feature-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }

.guide-channel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.guide-channel-card { position: relative; min-height: 310px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.38); }
.guide-channel-card.active { background: var(--white); }
.guide-channel-top { display: flex; align-items: center; justify-content: space-between; }
.guide-channel-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-top: 31px; color: var(--teal-dark); background: var(--teal-pale); }
.guide-channel-icon svg { width: 19px; height: 19px; }
.guide-channel-card h3 { margin: 19px 0 6px; font-size: 17px; font-weight: 650; }
.guide-channel-card > strong { color: var(--teal-dark); font-size: 8.5px; line-height: 1.45; }
.guide-channel-card > p { margin: 13px 0 0; color: var(--muted); font-size: 9.5px; line-height: 1.6; }
.guide-channel-link { display: block; margin: 17px 0 0 auto; }

.guide-trust { display: grid; grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr); margin-top: 72px; overflow: hidden; color: var(--white); background: var(--teal-dark); }
.guide-trust-intro { position: relative; overflow: hidden; padding: 50px 44px; background: var(--black); }
.guide-trust-intro::after { content: ""; position: absolute; right: -55px; bottom: -55px; width: 190px; height: 190px; opacity: .25; background-image: radial-gradient(circle, var(--teal-mid) 0 1.3px, transparent 1.7px); background-size: 17px 17px; mask-image: radial-gradient(circle, black, transparent 73%); }
.guide-trust-intro h2 { position: relative; z-index: 1; margin: 19px 0 17px; font-size: 31px; font-weight: 600; letter-spacing: -1.65px; line-height: 1.12; }
.guide-trust-intro p { position: relative; z-index: 1; margin: 0; color: #98a5a6; font-size: 10.5px; line-height: 1.7; }
.guide-trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.guide-trust-grid article { display: grid; grid-template-columns: 28px 1fr; gap: 14px; min-height: 185px; padding: 31px 27px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.guide-trust-grid article > span { color: var(--teal-mid); font-size: 8px; font-weight: 800; }
.guide-trust-grid h3 { margin: 0 0 10px; font-size: 15px; }
.guide-trust-grid p { margin: 0; color: #bfd0d1; font-size: 9.5px; line-height: 1.65; }

.guide-close { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 18px; padding: 38px 42px; border: 1px solid var(--line); background: var(--white); }
.guide-close h2 { max-width: 800px; margin: 9px 0 0; font-size: 25px; font-weight: 620; letter-spacing: -1px; }
.guide-close .primary-button { flex: 0 0 auto; }

.page-view { max-width: 1440px; margin: 0 auto; padding: 44px max(4vw, 38px) 70px; }
.page-view, .page-title-row > *, .source-hub > *, .meeting-desk > *, .meeting-card, .messenger-card { min-width: 0; }
.page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 34px; }
.page-title-row h1 { margin: 8px 0 7px; font-size: 40px; font-weight: 620; letter-spacing: -2px; }
.page-title-row p { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.project-title-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 14px; }
.project-delete-button { min-height: 36px; padding: 0 13px; color: var(--danger); border-color: rgba(169,70,61,.35); font-size: 9px; }
.project-delete-button:hover { color: #85372f; border-color: var(--danger); background: #fff8f7; }
.project-delete-button svg { width: 14px; height: 14px; }
.stat-strip { display: flex; gap: 1px; margin-bottom: 27px; background: var(--line); border: 1px solid var(--line); }
.stat-cell { flex: 1; padding: 17px 20px; background: var(--white); }
.stat-cell strong { display: block; font-size: 20px; font-weight: 650; }
.stat-cell span { display: block; margin-top: 4px; color: #879192; font-size: 8px; letter-spacing: 1px; text-transform: uppercase; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.project-card { position: relative; min-height: 236px; overflow: hidden; padding: 24px; border: 1px solid var(--line); background: var(--white); cursor: pointer; text-align: left; transition: transform .2s ease, box-shadow .2s ease; }
.project-card::after { content: ""; position: absolute; right: -19px; top: -28px; width: 105px; height: 105px; opacity: .18; background-image: radial-gradient(circle, var(--teal) 0 1.3px, transparent 1.7px); background-size: 13px 13px; mask-image: linear-gradient(135deg, black, transparent); }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-card .brand-chip { display: inline-flex; height: 24px; align-items: center; padding: 0 8px; color: var(--teal-dark); background: var(--teal-pale); font-size: 8px; font-weight: 750; letter-spacing: .8px; text-transform: uppercase; }
.project-card h3 { margin: 22px 0 9px; max-width: 85%; font-size: 19px; font-weight: 650; letter-spacing: -.65px; }
.project-card > p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.project-meta { position: absolute; right: 24px; bottom: 22px; left: 24px; display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid #eaeeed; color: #8a9495; font-size: 8px; }
.project-meta b { color: var(--ink); }
.add-project-card { display: grid; place-items: center; border-style: dashed; background: transparent; }
.add-project-card div { text-align: center; }
.add-project-card b { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 13px; border: 1px solid #bdc7c6; border-radius: 50%; color: var(--teal-dark); font-size: 22px; font-weight: 400; }
.add-project-card span { font-size: 11px; font-weight: 650; }

.documents-title-row { margin-bottom: 27px; }
.document-stat-strip { margin-bottom: 18px; }
.document-workspace { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); min-height: 430px; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.document-project-picker { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 34px 32px 30px; overflow: hidden; color: var(--white); background: var(--black); }
.document-project-picker::after { content: ""; position: absolute; right: -80px; bottom: -95px; width: 260px; height: 260px; border: 1px solid rgba(141,176,179,.19); border-radius: 50%; box-shadow: 0 0 0 45px rgba(95,143,147,.025), 0 0 0 90px rgba(95,143,147,.015); }
.document-select-label { position: relative; z-index: 1; display: block; margin-top: 27px; color: #879394; font-size: 7.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.document-project-select-wrap { position: relative; z-index: 2; margin-top: 8px; }
.document-project-select-wrap::after { content: "⌄"; position: absolute; top: 10px; right: 13px; color: var(--teal-mid); pointer-events: none; }
.document-project-select-wrap select { height: 42px; padding: 0 35px 0 12px; border-color: rgba(255,255,255,.14); color: var(--white); background: rgba(255,255,255,.07); appearance: none; font-size: 10px; }
.document-project-select-wrap select option { color: var(--ink); background: var(--white); }
.document-project-summary { position: relative; z-index: 1; margin-top: 42px; }
.document-project-summary > span { display: inline-flex; min-height: 24px; align-items: center; padding: 0 8px; color: var(--black); background: var(--teal-mid); font-size: 7.5px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.document-project-summary h2 { margin: 17px 0 10px; font-size: 27px; font-weight: 620; letter-spacing: -1.2px; line-height: 1.08; }
.document-project-summary p { margin: 0; color: #9eaaab; font-size: 10px; line-height: 1.65; }
.document-project-link { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding: 18px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.1); color: #d6dede; background: transparent; font-size: 9px; font-weight: 750; cursor: pointer; }
.document-project-link span { color: var(--teal-mid); font-size: 15px; }
.document-upload-panel { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(310px, 1.28fr); gap: 28px; align-items: stretch; padding: 34px; background: var(--white); }
.document-upload-copy { align-self: center; }
.document-upload-copy h2 { margin: 12px 0 11px; font-size: 29px; font-weight: 620; letter-spacing: -1.35px; line-height: 1.1; }
.document-upload-copy p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.65; }
.document-dropzone { position: relative; display: grid; min-width: 0; min-height: 330px; place-items: center; align-content: center; gap: 8px; overflow: hidden; padding: 32px 24px; border: 1.5px dashed rgba(95,143,147,.52); border-radius: var(--radius-md); color: var(--ink); background: linear-gradient(145deg, rgba(220,232,233,.62), rgba(245,246,243,.52)); text-align: center; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.document-dropzone::after { content: ""; position: absolute; right: -36px; top: -38px; width: 145px; height: 145px; opacity: .23; background-image: radial-gradient(circle, var(--teal) 0 1.25px, transparent 1.65px); background-size: 14px 14px; mask-image: linear-gradient(135deg, black, transparent 74%); }
.document-dropzone:hover, .document-dropzone.dragging { border-color: var(--teal-dark); background: var(--teal-pale); box-shadow: 0 17px 38px rgba(24,45,47,.1); transform: translateY(-2px); }
.document-dropzone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.document-dropzone strong { margin-top: 10px; font-size: 14px; }
.document-dropzone small { color: #748082; font-size: 9px; }
.document-format-list { margin-top: 15px; color: var(--teal-dark); font-size: 6.8px; font-weight: 800; letter-spacing: .8px; line-height: 1.55; }
.document-stack { position: relative; display: block; width: 67px; height: 62px; }
.document-stack i { position: absolute; display: block; width: 43px; height: 52px; border: 1px solid var(--teal); border-radius: 3px; background: var(--white); box-shadow: 0 8px 16px rgba(16,21,22,.08); }
.document-stack i::after { content: ""; position: absolute; top: 11px; right: 8px; left: 8px; height: 18px; border-top: 2px solid var(--teal-mid); border-bottom: 2px solid var(--teal-mid); opacity: .7; }
.document-stack i:nth-child(1) { left: 0; top: 8px; transform: rotate(-9deg); }
.document-stack i:nth-child(2) { right: 0; top: 8px; transform: rotate(9deg); }
.document-stack i:nth-child(3) { left: 12px; top: 0; border-color: var(--teal-dark); }
.document-upload-status { margin: 9px 0 0; }
.document-register { margin-top: 41px; }
.documents-empty { display: grid; min-height: 430px; place-items: center; align-content: center; padding: 45px; border: 1px dashed var(--line); background: rgba(255,255,255,.42); text-align: center; }
.documents-empty h2 { margin: 18px 0 8px; font-size: 25px; }
.documents-empty p { max-width: 520px; margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.source-hub { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); min-height: 236px; margin: 34px 0 28px; overflow: hidden; color: var(--white); background: var(--black); }
.source-hub-copy { position: relative; padding: 34px 38px; overflow: hidden; }
.source-hub-copy::after { content: ""; position: absolute; top: -40px; right: -15px; width: 190px; height: 190px; opacity: .3; background-image: radial-gradient(circle, var(--teal-mid) 0 1.2px, transparent 1.6px); background-size: 17px 17px; mask-image: linear-gradient(135deg, black, transparent 74%); }
.source-hub h2 { position: relative; z-index: 1; margin: 11px 0 9px; font-size: 28px; font-weight: 620; letter-spacing: -1.25px; }
.source-hub p { position: relative; z-index: 1; max-width: 660px; margin: 0; color: #aab5b5; font-size: 11px; line-height: 1.65; }
.source-formats { position: relative; z-index: 1; display: block; margin-top: 23px; color: var(--teal-mid); font-size: 7.5px; font-weight: 750; letter-spacing: 1.05px; text-transform: uppercase; }
.source-upload { display: grid; place-items: center; align-content: center; gap: 7px; min-height: 236px; padding: 25px; border-left: 1px solid rgba(255,255,255,.11); color: var(--white); background: rgba(95,143,147,.08); text-align: center; cursor: pointer; transition: background .18s ease; }
.source-upload:hover, .source-upload.dragging { background: rgba(95,143,147,.18); }
.source-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.upload-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 7px; border: 1px solid rgba(141,176,179,.55); border-radius: 50%; color: var(--teal-mid); font-size: 27px; font-weight: 300; }
.source-upload strong { font-size: 11px; }
.source-upload small { color: #7f8c8d; font-size: 8px; }
.source-upload-status { min-height: 18px; margin-top: -16px; color: var(--teal-dark); font-size: 9px; }
.source-register { margin-bottom: 42px; }
.source-list { border-top: 1px solid var(--line); }
.source-row { display: grid; grid-template-columns: 48px minmax(220px, 1.2fr) minmax(180px, .8fr) 38px; align-items: center; gap: 15px; min-height: 74px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.source-row:hover { background: rgba(255,255,255,.55); }
.source-name strong, .source-name small { display: block; }
.source-name strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.source-name small { margin-top: 5px; color: #8a9495; font-size: 8px; }
.source-readiness { justify-self: start; padding: 6px 8px; border: 1px solid #cfd7d6; color: #7b8687; font-size: 7.5px; line-height: 1.35; }
.source-readiness.ready { color: var(--teal-dark); border-color: rgba(95,143,147,.42); background: var(--teal-pale); }
.project-meeting-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.artifact-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pill { height: 31px; padding: 0 12px; border: 1px solid var(--line); border-radius: 18px; color: #727e7f; background: transparent; font-size: 8px; font-weight: 750; letter-spacing: .65px; text-transform: uppercase; cursor: pointer; }
.filter-pill.active, .filter-pill:hover { color: var(--white); border-color: var(--teal-dark); background: var(--teal-dark); }
.artifact-list { border-top: 1px solid var(--line); }
.artifact-row { display: grid; grid-template-columns: 48px minmax(220px, 1.5fr) minmax(160px, .8fr) 110px 85px 42px; align-items: center; gap: 15px; min-height: 77px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.artifact-row:hover { background: rgba(255,255,255,.6); }
.file-icon { display: grid; place-items: center; width: 38px; height: 42px; color: var(--teal-dark); background: var(--teal-pale); font-size: 8px; font-weight: 800; letter-spacing: .6px; }
.artifact-name strong, .artifact-name small { display: block; }
.artifact-name strong { overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.artifact-name small { margin-top: 5px; color: #8a9495; font-size: 8px; }
.artifact-cell { color: #6f7a7b; font-size: 9px; }
.download-button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #ccd4d3; border-radius: 50%; color: var(--teal-dark); background: transparent; text-decoration: none; }
.download-button:hover { color: var(--white); border-color: var(--teal-dark); background: var(--teal-dark); }
.download-button svg { width: 14px; height: 14px; }

.meeting-hero { display: grid; grid-template-columns: 1.07fr .93fr; min-height: 420px; overflow: hidden; border-radius: var(--radius-lg); color: var(--white); background: var(--black); }
.meeting-copy { padding: 54px; }
.meeting-copy h1 { margin: 18px 0 18px; max-width: 620px; font-size: 52px; font-weight: 620; letter-spacing: -2.9px; line-height: 1.02; }
.meeting-copy > p { max-width: 590px; color: #aab5b5; font-size: 13px; line-height: 1.65; }
.coming-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 25px; padding: 9px 12px; border: 1px solid rgba(95,143,147,.35); color: var(--teal-mid); font-size: 8px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; }
.coming-pill.live { background: rgba(95,143,147,.09); }
.meeting-visual { position: relative; display: grid; place-items: center; overflow: hidden; border-left: 1px solid rgba(255,255,255,.08); }
.meeting-visual::before { content: ""; position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(circle, rgba(127,166,169,.75) 0 1.3px, transparent 1.7px); background-size: 23px 23px; mask-image: radial-gradient(circle at center, black 0, transparent 68%); }
.calendar-profile { position: relative; z-index: 1; display: grid; justify-items: center; width: min(330px, calc(100% - 58px)); padding: 35px 30px 29px; border: 1px solid rgba(127,166,169,.38); background: rgba(9,12,13,.86); box-shadow: 0 24px 70px rgba(0,0,0,.38); text-align: center; }
.calendar-profile-mark { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 20px; border: 1px solid rgba(127,166,169,.5); border-radius: 50%; color: var(--white); background: var(--teal-dark); font-size: 20px; font-weight: 750; letter-spacing: -1px; box-shadow: 0 0 0 9px rgba(95,143,147,.08); }
.calendar-profile h2 { margin: 10px 0 7px; color: var(--white); font-size: 29px; font-weight: 620; letter-spacing: -1.25px; }
.calendar-profile > strong { color: var(--teal-mid); font-size: 11px; font-weight: 580; letter-spacing: .25px; }
.calendar-copy-button { min-height: 36px; margin-top: 20px; padding: 0 15px; border: 1px solid rgba(127,166,169,.45); color: var(--white); background: rgba(95,143,147,.14); font-size: 8px; font-weight: 750; letter-spacing: .75px; text-transform: uppercase; cursor: pointer; }
.calendar-copy-button:hover { border-color: var(--teal-mid); background: var(--teal-dark); }
.calendar-profile-state { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: #8f9b9c; font-size: 7.5px; font-weight: 750; letter-spacing: .75px; text-transform: uppercase; }
.calendar-profile-state i { width: 6px; height: 6px; border-radius: 50%; background: #bd9859; }
.calendar-profile-state.connected { color: #afc8ca; }
.calendar-profile-state.connected i { background: var(--teal-mid); box-shadow: 0 0 0 4px rgba(127,166,169,.11); }
.meeting-orbit { position: relative; display: grid; place-items: center; width: 250px; height: 250px; border: 1px solid rgba(95,143,147,.32); border-radius: 50%; box-shadow: 0 0 0 42px rgba(95,143,147,.035), 0 0 0 83px rgba(95,143,147,.02); }
.meeting-orbit::before, .meeting-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.meeting-orbit::before { inset: 42px; border: 1px dashed rgba(127,166,169,.42); }
.meeting-orbit::after { width: 13px; height: 13px; background: var(--teal-mid); box-shadow: 0 0 28px var(--teal); }
.meeting-orbit span { position: absolute; color: #8f9c9d; font-size: 8px; font-weight: 750; letter-spacing: 1.1px; text-transform: uppercase; }
.meeting-orbit span:nth-child(1) { top: 19px; }
.meeting-orbit span:nth-child(2) { right: -13px; bottom: 58px; }
.meeting-orbit span:nth-child(3) { left: -18px; bottom: 58px; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 25px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mode-card { min-height: 190px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mode-card .mode-index { color: var(--teal); font-size: 9px; font-weight: 800; }
.mode-card h3 { margin: 28px 0 9px; font-size: 17px; }
.mode-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.meeting-desk { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr); margin-top: 46px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.meeting-stage-panel { padding: 31px 35px 35px; }
.meeting-guardrails { padding: 35px 31px; color: var(--white); background: var(--teal-dark); }
.meeting-guardrails h3 { margin: 13px 0 21px; font-size: 25px; font-weight: 610; letter-spacing: -1px; }
.meeting-guardrails ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.meeting-guardrails li { position: relative; padding-left: 18px; color: #c3d1d2; font-size: 9.5px; line-height: 1.5; }
.meeting-guardrails li::before { content: ""; position: absolute; top: 6px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-mid); }
.meeting-form .field-label { margin-top: 18px; font-size: 9px; }
.meeting-form input, .meeting-form select { height: 43px; padding: 0 12px; font-size: 10px; }
.field-help { display: block; margin-top: 6px; color: #8b9596; font-size: 8px; }
.consent-check { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; margin-top: 23px; padding: 14px; border: 1px solid var(--line); background: #fafbf9; cursor: pointer; }
.consent-check input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--teal-dark); }
.consent-check span { color: #556163; font-size: 9px; line-height: 1.5; }
.meeting-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.meeting-form-foot .form-error { flex: 1; margin: 0; }
.setup-note { margin: 14px 0 0; color: #8a9495; font-size: 8.5px; }
.meeting-register { margin-top: 48px; }
.meeting-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.meeting-card { position: relative; min-height: 250px; padding: 23px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.meeting-card::after { content: ""; position: absolute; right: -35px; top: -38px; width: 130px; height: 130px; opacity: .14; background-image: radial-gradient(circle, var(--teal) 0 1.2px, transparent 1.6px); background-size: 14px 14px; mask-image: linear-gradient(135deg, black, transparent 76%); }
.meeting-card-head { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meeting-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.meeting-platform { color: var(--teal-dark); font-size: 8px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.calendar-origin { padding: 4px 7px; color: #536a6c; background: var(--teal-pale); font-size: 6.8px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.meeting-state { display: inline-flex; align-items: center; gap: 6px; color: #7b8687; font-size: 7px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.meeting-state i { width: 6px; height: 6px; border-radius: 50%; background: #9da6a6; }
.meeting-state.in_meeting i, .meeting-state.completed i, .meeting-state.covered i { background: var(--teal); box-shadow: 0 0 0 4px rgba(95,143,147,.12); }
.meeting-state.failed i, .meeting-state.attention i { background: var(--danger); }
.meeting-state.joining i, .meeting-state.inviting i { background: #bd9859; }
.meeting-card h3 { position: relative; z-index: 1; margin: 23px 0 7px; max-width: 86%; font-size: 19px; font-weight: 650; letter-spacing: -.55px; }
.meeting-card > p { margin: 0; color: var(--muted); font-size: 9px; }
.meeting-mode-label { display: inline-flex; margin-top: 14px; padding: 5px 8px; color: #617071; background: var(--teal-pale); font-size: 7.5px; font-weight: 700; letter-spacing: .55px; text-transform: uppercase; }
.meeting-card-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 23px; }
.meeting-card-actions .text-button { padding: 8px 4px; text-decoration: none; }
.meeting-invite-state { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 10px; border: 1px solid rgba(95,143,147,.28); border-radius: var(--radius-sm); color: var(--teal-dark); background: rgba(95,143,147,.07); font-size: 8px; font-weight: 760; letter-spacing: .45px; text-transform: uppercase; }
.meeting-invite-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(95,143,147,.11); }
.text-button.danger { color: var(--danger); }
.meeting-chat-form { display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 7px; margin-top: 17px; }
.meeting-chat-form input { height: 38px; padding: 0 11px; font-size: 9px; }
.meeting-chat-form .send-button { width: 38px; height: 38px; color: var(--white); background: var(--black); }
.meeting-live-instruction { display: grid; gap: 5px; margin-top: 17px; padding: 13px 14px; border: 1px solid rgba(95,143,147,.22); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--teal-pale); }
.meeting-live-instruction strong { color: var(--teal-dark); font-size: 9px; letter-spacing: .25px; }
.meeting-live-instruction span { color: #657173; font-size: 8px; line-height: 1.5; }
.meeting-live-instruction.attention { border-color: rgba(169,70,61,.2); border-left-color: var(--danger); background: #f7ece9; }
.meeting-live-instruction.attention strong { color: #843d36; }
.meeting-live-instruction.paused, .meeting-live-instruction.waiting { border-left-color: #bd9859; background: #f6f1e7; }
.meeting-sync { display: block; margin-top: 14px; color: #8b9596; font-size: 7.5px; }

.conversation-view { display: grid; grid-template-columns: minmax(430px, 1fr) minmax(350px, 43%); min-height: calc(100vh - 76px); }
.conversation-main { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); background: #f9faf7; }
.conversation-head { padding: 28px 36px 20px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); }
.conversation-head-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.conversation-context { color: var(--teal-dark); font-size: 8px; font-weight: 750; letter-spacing: 1px; text-transform: uppercase; }
.conversation-head h1 { margin: 8px 0 5px; font-size: 24px; font-weight: 630; letter-spacing: -1px; }
.conversation-head p { margin: 0; color: var(--muted); font-size: 9px; }
.conversation-thread { flex: 1; overflow-y: auto; padding: 30px 36px 140px; }
.message { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; max-width: 760px; margin-bottom: 27px; }
.message.user { margin-left: auto; grid-template-columns: minmax(0, 1fr) 30px; }
.message-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--white); background: var(--black); font-size: 8px; font-weight: 800; }
.message.user .message-avatar { grid-column: 2; background: var(--teal-dark); }
.message.user .message-content { grid-column: 1; grid-row: 1; padding: 13px 15px; border: 1px solid var(--line); background: var(--white); }
.message-content { min-width: 0; }
.message-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: #8a9596; font-size: 8px; }
.message-meta strong { color: var(--ink); font-size: 9px; }
.message-body { color: #384345; font-size: 11.5px; line-height: 1.72; white-space: pre-wrap; }
.message-artifacts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.message-artifact { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 11px; border: 1px solid var(--line); color: var(--teal-dark); background: white; font-size: 8px; font-weight: 700; text-decoration: none; }
.message-artifact:hover { border-color: var(--teal); }
.message-creative-summary { display: grid; gap: 4px; margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--teal); background: var(--teal-pale); }
.message-creative-summary span { color: var(--teal-dark); font-size: 6.5px; font-weight: 800; letter-spacing: 1px; }
.message-creative-summary strong { color: var(--ink); font-size: 10px; }
.message-creative-summary small { color: #647172; font-size: 7.5px; }
.thinking-message { align-items: center; }
.thinking-dots { display: flex; gap: 4px; padding: 7px 0; }
.thinking-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); animation: pulse 1.2s infinite; }
.thinking-dots i:nth-child(2) { animation-delay: .16s; }
.thinking-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes pulse { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
.analysis-control { margin-top: 13px; padding: 7px 9px; border: 1px solid rgba(95,143,147,.34); color: var(--teal-dark); background: rgba(95,143,147,.06); cursor: pointer; font-size: 8px; font-weight: 780; letter-spacing: .65px; text-transform: uppercase; }
.analysis-control:hover { border-color: var(--teal); background: var(--teal-pale); }
.analysis-control.danger { border-color: rgba(169,70,61,.3); color: var(--danger); background: rgba(169,70,61,.035); }
.analysis-control.danger:hover { border-color: var(--danger); background: #f7ece9; }
.analysis-control:disabled { opacity: .5; cursor: wait; }
.cancelled-message .message-content { padding: 14px 15px; border-left: 3px solid #8c9697; background: rgba(230,230,230,.38); }
.cancelled-message .message-avatar { background: #687476; }
.thread-composer-wrap { position: sticky; bottom: 0; z-index: 8; margin-top: -112px; padding: 24px 35px 25px; background: linear-gradient(transparent, #f9faf7 24%); }
.thread-composer { padding: 9px 10px 8px 14px; border: 1px solid #cdd5d4; background: var(--white); box-shadow: 0 12px 34px rgba(12,28,29,.08); }
.thread-composer textarea { min-height: 47px; padding: 6px 1px; border: 0; box-shadow: none; font-size: 11.5px; }
.thread-composer .prompt-meta { border-color: #eef1f0; }
.thread-composer .select-wrap select { color: #667273; border-color: #e0e5e4; background: #fafbf9; }
.thread-composer .send-button { color: white; background: var(--black); }
.thread-composer .send-button:hover { background: var(--teal-dark); }
.project-composer { max-width: none; margin: 0; border-color: #cdd5d4; background: var(--white); box-shadow: 0 12px 34px rgba(12,28,29,.06); }
.project-composer textarea { color: var(--ink); }
.project-composer textarea::placeholder { color: #8a9596; }
.project-composer .prompt-meta { border-color: #edf0ef; }
.project-composer .select-wrap select { color: #667273; border-color: #dfe5e4; background: #fafbf9; }
.project-composer .send-button { color: var(--white); background: var(--black); }
.analysis-panel { min-width: 0; background: var(--white); }
.analysis-head { padding: 29px 32px 0; border-bottom: 1px solid var(--line); }
.analysis-head-row { display: flex; align-items: center; justify-content: space-between; }
.analysis-head h2 { margin: 7px 0 19px; font-size: 20px; font-weight: 630; letter-spacing: -.65px; }
.analysis-status { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dark); font-size: 8px; font-weight: 750; letter-spacing: .8px; text-transform: uppercase; }
.analysis-tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.analysis-tabs::-webkit-scrollbar { display: none; }
.analysis-tab { flex: 0 0 auto; padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; color: #8b9596; background: transparent; font-size: 8px; font-weight: 750; letter-spacing: .65px; text-transform: uppercase; cursor: pointer; }
.analysis-tab.active { color: var(--ink); border-bottom-color: var(--teal); }
.analysis-body { height: calc(100vh - 197px); overflow-y: auto; padding: 27px 32px 45px; }
.analysis-empty { display: grid; place-items: center; min-height: 390px; color: #7a8586; text-align: center; }
.analysis-empty .empty-symbol { position: relative; display: grid; place-items: center; width: 90px; height: 90px; margin: 0 auto 25px; border: 1px solid var(--line); border-radius: 50%; }
.analysis-empty .empty-symbol::after { content: ""; position: absolute; inset: 13px; border: 1px dashed var(--teal-mid); border-radius: 50%; }
.analysis-empty .empty-symbol i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.analysis-empty h3 { margin: 0 0 9px; color: var(--ink); font-size: 15px; }
.analysis-empty p { max-width: 300px; margin: 0; font-size: 10px; line-height: 1.6; }
.thesis-block { padding: 24px; color: var(--white); background: var(--black); }
.thesis-block span { color: var(--teal-mid); font-size: 8px; font-weight: 750; letter-spacing: 1.4px; text-transform: uppercase; }
.thesis-block h3 { margin: 15px 0 13px; font-size: 21px; font-weight: 570; letter-spacing: -.75px; line-height: 1.3; }
.thesis-block p { margin: 0; color: #aeb9ba; font-size: 10.5px; line-height: 1.65; }
.analysis-card { margin-top: 12px; padding: 18px 19px; border: 1px solid var(--line); }
.analysis-card-label { color: var(--teal-dark); font-size: 8px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.analysis-card h4 { margin: 8px 0 7px; font-size: 13px; font-weight: 650; }
.analysis-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.creative-deliverables { margin-top: 25px; }
.creative-deliverables-head { margin: 0 0 12px; }
.creative-deliverables-head h3 { margin: 7px 0 4px; font-size: 15px; letter-spacing: -.35px; }
.creative-deliverables-head p { margin: 0; color: #7b8788; font-size: 8px; }
.creative-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.creative-preview-card { min-width: 0; padding: 15px; border: 1px solid var(--line); background: #fafbf9; }
.creative-preview-card:nth-child(4n+1) { color: var(--white); border-color: var(--black); background: var(--black); }
.creative-preview-meta { display: flex; align-items: center; justify-content: space-between; gap: 7px; color: var(--teal-dark); font-size: 6.5px; font-weight: 800; letter-spacing: .65px; text-transform: uppercase; }
.creative-preview-card:nth-child(4n+1) .creative-preview-meta { color: var(--teal-mid); }
.creative-preview-meta b { font-size: 12px; }
.creative-preview-card h4 { margin: 12px 0 8px; font-size: 12px; line-height: 1.28; overflow-wrap: anywhere; }
.creative-preview-card p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.creative-preview-card:nth-child(4n+1) p { color: var(--cool-gray); }
.creative-cta { display: block; margin-top: 12px; color: var(--teal-dark); font-size: 7px; letter-spacing: .4px; text-transform: uppercase; }
.creative-preview-card:nth-child(4n+1) .creative-cta { color: var(--teal-mid); }
.creative-preview-card small { display: block; margin-top: 11px; padding-top: 9px; border-top: 1px solid rgba(95,143,147,.25); color: #7b8788; font-size: 6.5px; line-height: 1.45; }
.creative-preview-card:nth-child(4n+1) small { color: #aeb9ba; }
.campaign-calendar-preview { margin-top: 27px; }
.calendar-week { display: grid; grid-template-columns: 52px minmax(0, 1fr); border-top: 1px solid var(--line); }
.calendar-week:last-child { border-bottom: 1px solid var(--line); }
.calendar-week-label { padding: 14px 10px; color: var(--white); background: var(--teal-dark); text-align: center; }
.calendar-week-label span, .calendar-week-label strong { display: block; }
.calendar-week-label span { color: var(--teal-mid); font-size: 5.5px; font-weight: 800; letter-spacing: .8px; }
.calendar-week-label strong { margin-top: 5px; font-size: 18px; }
.calendar-week article { padding: 12px 14px; border-bottom: 1px solid #e4e8e7; }
.calendar-week article:last-child { border-bottom: 0; }
.calendar-week time, .calendar-week article > span { margin-right: 7px; color: #7c898a; font-size: 6px; font-weight: 750; letter-spacing: .5px; text-transform: uppercase; }
.calendar-week article h4 { margin: 7px 0 4px; font-size: 10px; }
.calendar-week article p { margin: 0; color: var(--muted); font-size: 7px; line-height: 1.45; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 13px; }
.metric-card { padding: 15px; border: 1px solid var(--line); background: #fafbf9; }
.metric-card strong { display: block; font-size: 19px; font-weight: 650; }
.metric-card span { display: block; margin-top: 5px; color: #838e8f; font-size: 7.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.evidence-card { position: relative; padding-left: 24px; }
.evidence-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); }
.evidence-card[data-status="bounded"]::before { background: var(--teal-dark); }
.evidence-card[data-status="missing"]::before { background: var(--black); }
.evidence-ledger-head { margin: 27px 0 13px; padding-top: 7px; }
.evidence-ledger-head h3 { margin: 7px 0 0; font-size: 15px; letter-spacing: -.3px; }
.evidence-ledger-card { position: relative; padding-left: 21px; background: #fafbf9; }
.evidence-ledger-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal-dark); }
.evidence-ledger-card[data-status="provided"]::before { background: var(--teal); }
.evidence-ledger-card[data-status="missing"]::before { background: var(--black); }
.evidence-ledger-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.evidence-source { color: #8b9596; font-size: 7px; line-height: 1.35; text-align: right; }
.evidence-visual { margin: 27px 0; }
.evidence-visual-head { margin-bottom: 13px; }
.evidence-visual-head h3 { margin: 7px 0 5px; font-size: 15px; letter-spacing: -.35px; line-height: 1.3; }
.evidence-visual-head p { margin: 0; color: #7b8788; font-size: 8px; line-height: 1.45; }
.brand-tree { padding: 16px; border: 1px solid var(--line); background: #fafbf9; }
.brand-tree-root { position: relative; width: min(230px, 100%); margin: 0 auto; padding: 12px 15px; color: var(--white); background: var(--black); text-align: center; }
.brand-tree-root span { display: block; margin-bottom: 4px; color: var(--teal-mid); font-size: 6.5px; font-weight: 800; letter-spacing: 1px; }
.brand-tree-root strong { display: block; font-size: 11px; line-height: 1.25; }
.brand-tree-trunk { width: 1px; height: 18px; margin: 0 auto; background: var(--teal); }
.brand-tree-branches { position: relative; display: grid; gap: 7px; padding-left: 16px; }
.brand-tree-branches::before { content: ""; position: absolute; top: 0; bottom: 18px; left: 3px; width: 1px; background: #b8c9c8; }
.brand-tree-branch { position: relative; min-width: 0; padding: 11px 12px; border: 1px solid #dce3e2; background: var(--white); }
.brand-tree-branch::before { content: ""; position: absolute; top: 17px; left: -13px; width: 12px; height: 1px; background: #b8c9c8; }
.brand-tree-branch.target-branch { border-color: var(--teal); background: var(--teal-pale); }
.brand-tree-branch-head { display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 8px; align-items: start; }
.brand-tree-branch-head i { width: 6px; height: 6px; margin-top: 3px; border: 1px solid var(--teal-dark); border-radius: 50%; background: var(--white); }
.target-branch .brand-tree-branch-head i { border-color: var(--teal); background: var(--teal); }
.brand-tree-branch-head strong { display: block; overflow-wrap: anywhere; font-size: 9px; line-height: 1.3; }
.brand-tree-branch-head span { display: block; margin-top: 3px; color: #849091; font-size: 6.5px; line-height: 1.35; }
.brand-tree-branch-head b { padding: 3px 5px; color: var(--white); background: var(--teal-dark); font-size: 5.5px; letter-spacing: .55px; text-transform: uppercase; white-space: nowrap; }
.brand-tree-brands { display: flex; flex-wrap: wrap; gap: 4px; margin: 9px 0 0 15px; }
.brand-tree-chip { max-width: 100%; padding: 4px 6px; border: 1px solid #e0e5e4; color: #596566; background: #f7f9f8; font-size: 6.5px; line-height: 1.2; overflow-wrap: anywhere; }
.brand-tree-chip.target { border-color: var(--teal-dark); color: var(--white); background: var(--teal-dark); font-weight: 750; }
.brand-tree-chip.more { color: var(--teal-dark); border-style: dashed; background: transparent; }
.brand-tree-resolution { margin: 9px 1px 0; color: #758081; font-size: 7.5px; line-height: 1.5; }
.competitor-chart-section { padding-top: 2px; }
.benchmark-legend { display: flex; flex-wrap: wrap; gap: 13px; margin: 0 0 10px; color: #718081; font-size: 7px; }
.benchmark-legend span { display: inline-flex; align-items: center; gap: 5px; }
.benchmark-legend i { width: 13px; height: 4px; }
.benchmark-legend i.target { background: var(--teal); }
.benchmark-legend i.competitor { background: var(--black); }
.competitor-comparison-chart { width: 100%; border: 1px solid var(--line); border-collapse: collapse; table-layout: fixed; background: #fafbf9; }
.competitor-comparison-chart .comparison-brand-column { width: 34%; }
.competitor-comparison-chart th, .competitor-comparison-chart td { min-width: 0; border-bottom: 1px solid #e1e6e5; }
.competitor-comparison-chart thead th { padding: 10px 8px; color: #7d898a; background: #f2f5f4; font-size: 6.2px; font-weight: 800; letter-spacing: .65px; text-align: left; text-transform: uppercase; }
.competitor-comparison-chart thead th + th { border-left: 1px solid #e1e6e5; }
.competitor-comparison-chart thead strong, .competitor-comparison-chart thead small { display: block; }
.competitor-comparison-chart thead strong { color: var(--teal-dark); font-size: 7.5px; }
.competitor-comparison-chart thead small { margin-top: 3px; color: #8b9697; font-size: 5.4px; font-weight: 650; letter-spacing: 0; line-height: 1.25; text-transform: none; }
.competitor-comparison-chart tbody tr:last-child th, .competitor-comparison-chart tbody tr:last-child td { border-bottom: 0; }
.competitor-comparison-chart tbody tr.target { background: var(--teal-pale); }
.competitor-comparison-chart tbody th { padding: 10px 8px; text-align: left; }
.competitor-comparison-chart tbody td { padding: 10px 8px; border-left: 1px solid #e1e6e5; }
.comparison-brand-cell { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 6px; align-items: center; }
.comparison-rank { color: #8a9596; font-size: 6.5px; font-weight: 800; }
.competitor-comparison-chart tbody tr.target .comparison-rank { display: grid; place-items: center; width: 16px; height: 16px; color: var(--white); background: var(--teal-dark); }
.competitor-comparison-chart tbody th strong, .competitor-comparison-chart tbody th small { display: block; overflow-wrap: anywhere; }
.competitor-comparison-chart tbody th strong { color: #263031; font-size: 8px; line-height: 1.25; }
.competitor-comparison-chart tbody th small { margin-top: 3px; color: #8b9697; font-size: 5.5px; font-weight: 600; line-height: 1.3; }
.competitor-comparison-chart tbody tr.target th strong { color: var(--teal-dark); }
.comparison-metric-cell { min-width: 0; }
.comparison-bar-track { height: 8px; overflow: hidden; background: #e2e7e6; }
.comparison-bar-track i { display: block; height: 100%; background: var(--black); }
.competitor-comparison-chart tbody tr.target .comparison-bar-track i { background: var(--teal); }
.comparison-readout { display: flex; align-items: baseline; justify-content: space-between; gap: 4px; margin-top: 5px; }
.comparison-readout strong { color: #263031; font-size: 7.5px; }
.competitor-comparison-chart tbody tr.target .comparison-readout strong { color: var(--teal-dark); }
.comparison-delta, .comparison-baseline { color: #788485; font-size: 5.4px; font-weight: 750; line-height: 1.2; text-align: right; }
.comparison-delta[data-direction="above"] { color: var(--black); }
.comparison-baseline { color: var(--teal-dark); text-transform: uppercase; }
.benchmark-note { margin: 10px 1px 0; color: #7b8687; font-size: 7px; line-height: 1.5; }
.benchmark-note strong { color: var(--ink); }
.market-share-section { padding-top: 2px; }
.market-share-governance { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; margin-bottom: 10px; padding: 9px 10px; border: 1px solid var(--line); background: #fafbf9; }
.market-share-governance > span { padding: 5px 7px; color: #6f4d00; background: #fff4ce; font-size: 5.8px; font-weight: 850; letter-spacing: .65px; line-height: 1.25; text-transform: uppercase; }
.market-share-section[data-status="estimate"] .market-share-governance > span { color: var(--teal-dark); background: var(--teal-pale); }
.market-share-governance p { margin: 0; color: #687576; font-size: 7px; line-height: 1.45; }
.market-share-chart { border: 1px solid var(--line); background: #fafbf9; }
.market-share-row { display: grid; grid-template-columns: minmax(105px, 31%) minmax(0, 1fr); gap: 11px; align-items: center; padding: 11px 10px; border-bottom: 1px solid #e1e6e5; }
.market-share-row:last-child { border-bottom: 0; }
.market-share-row.target { background: var(--teal-pale); }
.market-share-brand { display: grid; grid-template-columns: 17px minmax(0, 1fr); gap: 6px; align-items: center; min-width: 0; }
.market-share-brand > span { color: #8a9596; font-size: 6.5px; font-weight: 850; }
.market-share-row.target .market-share-brand > span { display: grid; place-items: center; width: 16px; height: 16px; color: var(--white); background: var(--teal-dark); }
.market-share-brand strong, .market-share-brand small { display: block; overflow-wrap: anywhere; }
.market-share-brand strong { color: #263031; font-size: 8px; line-height: 1.25; }
.market-share-row.target .market-share-brand strong { color: var(--teal-dark); }
.market-share-brand small { margin-top: 3px; color: #8b9697; font-size: 5.5px; font-weight: 600; line-height: 1.25; }
.market-share-plot { min-width: 0; }
.market-share-track { position: relative; height: 12px; background: #e2e7e6; }
.market-share-track i { position: absolute; top: 2px; height: 8px; min-width: 1px; background: rgba(38,48,49,.25); }
.market-share-track b { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--black); }
.market-share-row.target .market-share-track i { background: color-mix(in srgb, var(--teal) 32%, transparent); }
.market-share-row.target .market-share-track b { background: var(--teal-dark); }
.market-share-readout { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 5px; }
.market-share-readout strong { color: #263031; font-size: 7.5px; }
.market-share-row.target .market-share-readout strong { color: var(--teal-dark); }
.market-share-readout span { color: #788485; font-size: 5.4px; font-weight: 700; line-height: 1.25; text-align: right; }
.numbered-card { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.numbered-card .number { color: var(--teal); font-size: 10px; font-weight: 800; }
.action-plan-card { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 0; overflow: hidden; }
.action-plan-card > .number { padding: 19px 0 0 19px; color: var(--teal); font-size: 10px; font-weight: 800; }
.action-plan-content { min-width: 0; padding: 18px 19px 18px 0; }
.action-plan-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.action-signal { padding: 4px 6px; color: var(--white); background: var(--black); font-size: 6.5px; font-weight: 800; letter-spacing: .65px; text-transform: uppercase; }
.action-measurement { margin-top: 15px; padding: 14px 15px; border-left: 3px solid var(--teal); background: var(--teal-pale); }
.action-measurement > strong, .action-measurement > small { display: block; }
.action-measurement > strong { margin-top: 7px; color: var(--ink); font-size: 11px; line-height: 1.35; }
.action-measurement > small { margin-top: 4px; color: #647172; font-size: 8px; line-height: 1.45; }
.action-measurement p { margin-top: 9px; color: #455253; font-size: 8.5px; line-height: 1.5; }
.action-section-head { margin: 28px 0 12px; }
.action-section-head h3 { margin: 7px 0 5px; font-size: 15px; letter-spacing: -.3px; }
.action-section-head p { margin: 0; color: #7b8788; font-size: 8px; line-height: 1.5; }
.measurement-plan { padding-top: 4px; padding-bottom: 4px; }
.measurement-instrument { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.measurement-instrument:last-child { border-bottom: 0; }
.measurement-instrument > span { color: var(--teal-dark); font-size: 8px; font-weight: 800; }
.measurement-instrument h4 { margin: 0 0 6px; font-size: 11px; }
.measurement-instrument p { margin-top: 5px; font-size: 8.5px; line-height: 1.5; }
.measurement-instrument strong { display: inline-block; margin-top: 8px; padding: 4px 6px; color: var(--teal-dark); background: var(--teal-pale); font-size: 7px; line-height: 1.35; }
.decision-row { display: grid; grid-template-columns: 65px 1fr; gap: 13px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.decision-row:last-child { border-bottom: 0; }
.decision-signal { padding: 5px; color: var(--white); background: var(--black); font-size: 7px; font-weight: 800; letter-spacing: .7px; text-align: center; text-transform: uppercase; }
.decision-row h4 { margin: 0 0 6px; font-size: 11px; }
.decision-row p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.analysis-note { margin-top: 14px; padding: 13px 15px; color: #546061; background: var(--teal-pale); font-size: 9px; line-height: 1.55; }

.modal { width: min(620px, calc(100vw - 30px)); padding: 0; border: 0; border-radius: 3px; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.modal::backdrop { background: rgba(3,8,9,.67); backdrop-filter: blur(5px); }
.modal-card { padding: 31px; background: #fafbf9; }
.modal-head { display: flex; align-items: start; justify-content: space-between; }
.modal-head h2 { margin: 8px 0 0; font-size: 26px; letter-spacing: -1px; }
.modal-head .close-modal { font-size: 24px; font-weight: 300; }
.modal-intro { margin: 20px 0 3px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.danger-modal { width: min(570px, calc(100vw - 30px)); }
.danger-eyebrow { color: var(--danger); }
.deletion-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 0; border: 1px solid #ead8d5; background: #fff9f8; }
.deletion-summary div { min-width: 0; padding: 17px 15px; border-right: 1px solid #ead8d5; }
.deletion-summary div:last-child { border-right: 0; }
.deletion-summary strong { display: block; color: var(--danger); font-size: 21px; font-weight: 650; }
.deletion-summary span { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .55px; line-height: 1.4; text-transform: uppercase; }
.deletion-audit-note { margin: 10px 0 0; color: #7b6260; font-size: 9px; line-height: 1.5; }
.deletion-active-work { margin-top: 17px; padding: 15px; border: 1px solid #d69e97; background: #fff4f2; }
.deletion-active-work > div strong { display: block; color: #7e3029; font-size: 11px; }
.deletion-active-work > div p { margin: 5px 0 0; color: #806865; font-size: 9.5px; line-height: 1.5; }
.deletion-active-work label { display: grid; grid-template-columns: 17px minmax(0, 1fr); align-items: start; gap: 9px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #ead0cc; color: #603d39; cursor: pointer; font-size: 9.5px; font-weight: 670; line-height: 1.45; }
.deletion-active-work input { width: 16px; height: 16px; margin: 0; accent-color: var(--danger); }
#delete-project-name { max-width: 330px; overflow-wrap: anywhere; color: var(--danger); font-size: 9px; text-align: right; text-transform: none; }
.toast { position: fixed; z-index: 110; right: 24px; bottom: 24px; max-width: 390px; padding: 13px 16px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); font-size: 10px; line-height: 1.45; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease; }
.toast.visible { opacity: 1; transform: none; }

html[data-color-mode="vibrant"] {
  --black: #202124;
  --ink: #202124;
  --ink-2: #3c4043;
  --teal: #4285f4;
  --teal-dark: #1967d2;
  --teal-mid: #34a853;
  --teal-pale: #e8f0fe;
  --cool-gray: #f1f3f4;
  --paper: #f8f9fa;
  --muted: #5f6368;
  --line: #dadce0;
  --danger: #d93025;
  --shadow: 0 18px 42px rgba(60,64,67,.16);
  --vibrant-blue: #4285f4;
  --vibrant-red: #ea4335;
  --vibrant-yellow: #fbbc05;
  --vibrant-green: #34a853;
}

html[data-color-mode="vibrant"] .theme-switch { border-color: rgba(66,133,244,.32); background: #e8f0fe; }
html[data-color-mode="vibrant"] .theme-palette i:first-child { background: var(--vibrant-blue); }
html[data-color-mode="vibrant"] .theme-palette i:nth-child(2) { background: var(--vibrant-red); }
html[data-color-mode="vibrant"] .theme-palette i:nth-child(3) { background: var(--vibrant-yellow); }
html[data-color-mode="vibrant"] .theme-palette i:last-child { background: var(--vibrant-green); }
html[data-color-mode="vibrant"] .mobile-theme-switch { border-color: rgba(66,133,244,.35); background: rgba(255,255,255,.08); }
html[data-color-mode="vibrant"] .topbar { background: rgba(248,249,250,.93); }
html[data-color-mode="vibrant"] .sidebar {
  background:
    radial-gradient(circle at 18% 0%, rgba(66,133,244,.25), transparent 30%),
    radial-gradient(circle at 100% 86%, rgba(52,168,83,.14), transparent 33%),
    linear-gradient(180deg, #202124 0%, #303134 100%);
}
html[data-color-mode="vibrant"] .nav-item.active { background: rgba(66,133,244,.24); }
html[data-color-mode="vibrant"] .nav-item.active svg, html[data-color-mode="vibrant"] .nav-item em { color: #8ab4f8; }
html[data-color-mode="vibrant"] .avatar { background: linear-gradient(135deg, var(--vibrant-blue), var(--vibrant-green)); }
html[data-color-mode="vibrant"] input:focus, html[data-color-mode="vibrant"] textarea:focus, html[data-color-mode="vibrant"] select:focus { box-shadow: 0 0 0 3px rgba(66,133,244,.16); }
html[data-color-mode="vibrant"] .primary-button { border-color: #1a73e8; background: #1a73e8; }
html[data-color-mode="vibrant"] .primary-button:hover { border-color: #185abc; background: #185abc; }
html[data-color-mode="vibrant"] .danger-button { border-color: var(--vibrant-red); background: var(--vibrant-red); }
html[data-color-mode="vibrant"] .project-delete-button { color: #c5221f; border-color: rgba(234,67,53,.38); background: transparent; }
html[data-color-mode="vibrant"] .deletion-summary { border-color: #f4c7c3; background: #fce8e6; }
html[data-color-mode="vibrant"] .deletion-summary div { border-color: #f4c7c3; }
html[data-color-mode="vibrant"] .deletion-active-work { border-color: #f28b82; background: #fce8e6; }
html[data-color-mode="vibrant"] .arrow { color: var(--vibrant-blue); }
html[data-color-mode="vibrant"] .hero,
html[data-color-mode="vibrant"] .channels-hero {
  background:
    radial-gradient(circle at 88% 9%, rgba(66,133,244,.38), transparent 29%),
    radial-gradient(circle at 72% 112%, rgba(52,168,83,.24), transparent 36%),
    radial-gradient(circle at 11% 105%, rgba(251,188,5,.15), transparent 34%),
    linear-gradient(135deg, #202124 0%, #303134 100%);
}
html[data-color-mode="vibrant"] .hero h1 span,
html[data-color-mode="vibrant"] .channels-hero h1 span,
html[data-color-mode="vibrant"] .guide-hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #8ab4f8 0 32%, #81c995 48%, #fdd663 70%, #f28b82 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-color-mode="vibrant"] .hero::after { opacity: .72; background-image: radial-gradient(circle, rgba(138,180,248,.9) 0 1.4px, transparent 1.8px); }
html[data-color-mode="vibrant"] .prompt-box { border-color: rgba(138,180,248,.3); background: rgba(255,255,255,.095); }
html[data-color-mode="vibrant"] .send-button { color: var(--white); background: #1a73e8; }
html[data-color-mode="vibrant"] .capability-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: var(--vibrant-blue); }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 2)::before { background: var(--vibrant-red); }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 3)::before { background: var(--vibrant-yellow); }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 4)::before { background: var(--vibrant-green); }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 1) .capability-icon { color: #1967d2; background: #e8f0fe; }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 2) .capability-icon { color: #c5221f; background: #fce8e6; }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 3) .capability-icon { color: #7a4f01; background: #fef7e0; }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 4) .capability-icon { color: #137333; background: #e6f4ea; }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 1) .capability-number, html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 1) .capability-arrow { color: #1967d2; }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 2) .capability-number, html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 2) .capability-arrow { color: #c5221f; }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 3) .capability-number, html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 3) .capability-arrow { color: #7a4f01; }
html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 4) .capability-number, html[data-color-mode="vibrant"] .capability-card:nth-child(4n + 4) .capability-arrow { color: #137333; }
html[data-color-mode="vibrant"] .capability-card:hover { box-shadow: var(--shadow); }
html[data-color-mode="vibrant"] .project-card .brand-chip { color: #1967d2; background: #e8f0fe; }
html[data-color-mode="vibrant"] .project-card:nth-child(3n + 2) .brand-chip { color: #c5221f; background: #fce8e6; }
html[data-color-mode="vibrant"] .project-card:nth-child(3n + 3) .brand-chip { color: #137333; background: #e6f4ea; }
html[data-color-mode="vibrant"] .guide-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(66,133,244,.3), transparent 31%),
    radial-gradient(circle at 10% 110%, rgba(234,67,53,.2), transparent 38%),
    linear-gradient(135deg, #202124 0%, #303134 100%);
}
html[data-color-mode="vibrant"] .guide-workflow-section,
html[data-color-mode="vibrant"] .reasoning-rule { background: linear-gradient(135deg, #202124, #303134); }
html[data-color-mode="vibrant"] .source-hub,
html[data-color-mode="vibrant"] .document-project-picker {
  background:
    radial-gradient(circle at 88% 5%, rgba(66,133,244,.24), transparent 31%),
    radial-gradient(circle at 12% 110%, rgba(52,168,83,.18), transparent 37%),
    linear-gradient(145deg, #202124 0%, #303134 100%);
}
html[data-color-mode="vibrant"] .document-project-summary > span { color: var(--white); background: var(--vibrant-blue); }
html[data-color-mode="vibrant"] .document-dropzone { border-color: rgba(66,133,244,.52); background: linear-gradient(145deg, #e8f0fe, #e6f4ea); }
html[data-color-mode="vibrant"] .document-dropzone:hover, html[data-color-mode="vibrant"] .document-dropzone.dragging { border-color: var(--vibrant-blue); background: linear-gradient(145deg, #dbe7fd, #d9f0df); box-shadow: 0 17px 38px rgba(60,64,67,.16); }
html[data-color-mode="vibrant"] .document-stack i:nth-child(1) { border-color: var(--vibrant-red); background: #fce8e6; }
html[data-color-mode="vibrant"] .document-stack i:nth-child(2) { border-color: var(--vibrant-yellow); background: #fef7e0; }
html[data-color-mode="vibrant"] .document-stack i:nth-child(3) { border-color: var(--vibrant-blue); background: var(--white); }
html[data-color-mode="vibrant"] .file-icon { color: #1967d2; background: #e8f0fe; }
html[data-color-mode="vibrant"] .action-signal, html[data-color-mode="vibrant"] .decision-signal { background: linear-gradient(135deg, var(--vibrant-blue), var(--vibrant-green)); }
html[data-color-mode="vibrant"] .conversation-main { background: #f8f9fa; }
html[data-color-mode="vibrant"] .market-share-governance > span { color: #7a4f01; background: #fef7e0; }
html[data-color-mode="vibrant"] .market-share-section[data-status="estimate"] .market-share-governance > span { color: #137333; background: #e6f4ea; }
html[data-color-mode="vibrant"] .market-share-row.target .market-share-track i { background: rgba(66,133,244,.3); }
html[data-color-mode="vibrant"] .toast { background: #202124; }

.auth-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(480px, 1.22fr);
  min-height: 100vh;
  color: var(--white);
  background: var(--black);
}
.auth-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(100deg, transparent 0, black 38%, transparent 86%); }
.auth-brand { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 48px 52px 35px; overflow: hidden; border-right: 1px solid rgba(255,255,255,.1); background: #080a0a; }
.auth-brand::before { content: ""; position: absolute; top: -128px; right: -132px; width: 295px; height: 295px; border: 1px solid rgba(185,198,198,.4); }
.auth-brand-header { position: relative; z-index: 2; display: flex; align-items: center; gap: 15px; }
.auth-brand-header .qdt-logo { width: 65px; height: 23px; color: var(--white); }
.auth-brand-header > span:last-child { color: #b9c6c6; font-size: 8px; font-weight: 720; letter-spacing: 2.35px; text-transform: uppercase; }
.auth-brand-thesis { position: relative; z-index: 2; max-width: 560px; padding: 45px 0; }
.auth-brand-kicker { display: block; color: var(--teal-mid); font-size: 9px; font-weight: 780; letter-spacing: 2.1px; line-height: 1.45; }
.auth-brand .auth-product { margin: 22px 0 0; font-size: 35px; }
.auth-brand-thesis h1 { margin: 35px 0 17px; font-family: var(--display); font-size: clamp(42px, 4.7vw, 67px); font-weight: 650; letter-spacing: -3.2px; line-height: .98; }
.auth-brand-thesis > p { max-width: 500px; margin: 0; color: #aab7b8; font-size: 12px; line-height: 1.7; }
.auth-ip-stamp { display: inline-flex; align-items: center; gap: 12px; margin-top: 27px; border: 1px solid rgba(141,176,179,.35); background: rgba(95,143,147,.075); }
.auth-ip-stamp strong, .auth-ip-stamp span { padding: 8px 10px; font-size: 7px; font-weight: 780; letter-spacing: 1.05px; text-transform: uppercase; }
.auth-ip-stamp strong { color: #c5d1d2; }
.auth-ip-stamp span { border-left: 1px solid rgba(141,176,179,.35); color: var(--teal-mid); }
.auth-brand-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.auth-brand-footer strong { color: var(--white); font-size: 13px; letter-spacing: -.2px; }
.auth-brand-footer span { color: #667273; font-size: 7px; font-weight: 720; letter-spacing: 1.1px; text-align: right; text-transform: uppercase; }
.auth-dot-field { position: absolute; z-index: 1; right: -25px; bottom: 64px; width: 320px; height: 180px; opacity: .72; background-image: radial-gradient(circle, rgba(141,176,179,.82) 0 2px, transparent 2.35px); background-size: 20px 20px; mask-image: radial-gradient(ellipse at 66% 55%, black 0 16%, rgba(0,0,0,.8) 30%, transparent 70%); }
.auth-dot-field::after { content: ""; position: absolute; right: 69px; top: 74px; width: 7px; height: 7px; border-radius: 50%; background: var(--white); box-shadow: -40px 20px 0 var(--white), 20px 20px 0 var(--white), -20px 40px 0 var(--white); }
.auth-stage { position: relative; z-index: 1; display: grid; min-width: 0; place-items: center; padding: 48px; overflow: hidden; background: radial-gradient(circle at 78% 12%, rgba(95,143,147,.18), transparent 31%); }
.auth-stage::before { content: ""; position: absolute; top: -95px; right: -85px; width: 250px; height: 250px; border: 1px solid rgba(185,198,198,.24); }
.auth-card { position: relative; width: 100%; max-width: 510px; min-width: 0; padding: 44px; border: 1px solid rgba(255,255,255,.13); border-radius: 3px; background: rgba(19,25,26,.94); box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.auth-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 86px; height: 2px; background: var(--teal); }
.auth-card .eyebrow { color: var(--teal-mid); }
.auth-card h1 { margin: 12px 0 10px; font-family: var(--display); font-size: 38px; font-weight: 620; letter-spacing: -1.8px; }
.auth-card > p { margin: 0 0 26px; color: #9aa7a8; font-size: 12px; line-height: 1.65; }
.auth-card .field-label { color: #b8c2c2; }
.auth-card input { color: var(--white); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.055); }
.auth-card input::placeholder { color: #677375; }
.auth-card input:focus { border-color: var(--teal-mid); box-shadow: 0 0 0 3px rgba(141,176,179,.13); }
.auth-card .primary-button { color: var(--black); border-color: var(--teal-mid); background: var(--teal-mid); }
.auth-card .primary-button:hover { color: var(--white); background: var(--teal-dark); }
.auth-card .form-error { margin-top: 12px; color: #f0a59d !important; }
.auth-switch { display: flex; justify-content: center; margin-top: 20px; color: #839091; font-size: 11px; }
.auth-switch button { padding: 0 4px; border: 0; color: var(--teal-mid); background: transparent; cursor: pointer; }
.auth-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin: 22px 0 4px; }
.auth-code input { grid-column: 1 / -1; text-align: center; font-size: 25px; font-weight: 750; letter-spacing: 11px; }
.auth-security-note { display: flex; gap: 9px; margin-top: 21px; color: #788687; font-size: 10px; line-height: 1.5; }
.auth-security-note::before { content: "✓"; color: var(--teal-mid); }
.auth-legal-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: #778586; font-size: 7px; font-weight: 760; letter-spacing: .9px; line-height: 1.35; text-transform: uppercase; }
.auth-legal-line span:last-child { color: var(--teal-mid); white-space: nowrap; }

.account-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 18px; }
.account-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: 0 9px 28px rgba(10,20,20,.035); }
.account-card h2 { margin: 7px 0 8px; font-size: 23px; font-weight: 650; letter-spacing: -1px; }
.account-card > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.account-identity { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.account-identity strong, .account-identity span { display: block; }
.account-identity strong { font-size: 14px; }
.account-identity span { margin-top: 5px; color: var(--muted); font-size: 11px; }
.approved-email-list { display: grid; gap: 9px; margin-top: 24px; }
.approved-email-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fafbf9; }
.approved-email-row > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--teal-dark); background: var(--teal-pale); font-size: 13px; font-style: normal; }
.approved-email-row strong, .approved-email-row small { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.approved-email-row strong { font-size: 11px; }
.approved-email-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.approved-email-row button { border: 0; color: var(--danger); background: transparent; font-size: 10px; cursor: pointer; }
.approved-email-primary { padding: 5px 8px; border-radius: 999px; color: var(--teal-dark); background: var(--teal-pale); font-size: 8px; letter-spacing: .8px; text-transform: uppercase; }
.approved-email-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-top: 20px; }
.approved-email-form .primary-button { min-height: 52px; }
.account-code-form { margin-top: 17px; padding: 17px; border: 1px solid var(--teal-pale); border-radius: 13px; background: #f4f9f9; }
.account-code-form p { margin: 0 0 12px; color: var(--teal-dark); font-size: 10px; }
.account-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }
.account-code-row input { text-align: center; font-weight: 750; letter-spacing: 6px; }
.account-signout { margin-top: 22px; }
.account-channel-note { margin: 14px 0 0 !important; color: var(--muted); font-size: 9px !important; line-height: 1.55 !important; }

html[data-color-mode="vibrant"] .auth-card .primary-button { color: var(--white); border-color: var(--vibrant-blue); background: var(--vibrant-blue); }
html[data-color-mode="vibrant"] .approved-email-row > i { color: #1967d2; background: #e8f0fe; }

@media (max-width: 1280px) {
  .document-workspace { grid-template-columns: minmax(245px, .62fr) minmax(0, 1.38fr); }
  .document-upload-panel { grid-template-columns: 1fr; }
  .document-dropzone { min-height: 250px; }
  .document-format-list { max-width: 100%; overflow-wrap: anywhere; }
  .theme-switch-copy small { display: none; }
  .qdt-product-claim { display: none; }
}

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 218px minmax(0, 1fr); }
  .sidebar { width: 218px; }
  .capability-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-hero { grid-template-columns: 1fr; }
  .guide-system-map { flex-direction: row; min-height: 270px; border-top: 1px solid rgba(255,255,255,.07); border-left: 0; mask-image: linear-gradient(0deg, transparent 0, black 28%, black 100%); }
  .guide-map-line { width: 45px; height: 1px; }
  .guide-map-line i { top: -3px; left: calc(50% - 3px); }
  .guide-capability-grid { grid-template-columns: repeat(2, 1fr); }
  .reasoning-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-workflow { grid-template-columns: repeat(3, 1fr); }
  .guide-channel-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-trust { grid-template-columns: 1fr; }
  .channel-rail, .channel-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .messenger-grid { grid-template-columns: repeat(2, 1fr); }
  .channels-hero { grid-template-columns: 1fr; gap: 45px; }
  .channel-sequence { justify-content: flex-start; max-width: 620px; }
  .continue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conversation-view { grid-template-columns: minmax(410px, 1fr) 380px; }
  .artifact-row { grid-template-columns: 48px minmax(180px, 1.4fr) 130px 80px 42px; }
  .artifact-row .artifact-size { display: none; }
  .meeting-desk { grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); }
}

@media (max-width: 820px) {
  .auth-shell { display: block; }
  .auth-brand { display: grid; min-height: 190px; padding: 23px 28px 21px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .auth-brand::before { top: -115px; right: -100px; width: 225px; height: 225px; }
  .auth-brand-header .qdt-logo { width: 54px; height: 19px; }
  .auth-brand-header > span:last-child { font-size: 7px; letter-spacing: 1.65px; }
  .auth-brand-thesis { align-self: end; padding: 25px 0 0; }
  .auth-brand-thesis .auth-product, .auth-brand-thesis h1, .auth-brand-thesis > p { display: none; }
  .auth-brand-kicker { font-size: 7.5px; letter-spacing: 1.45px; }
  .auth-ip-stamp { margin-top: 13px; }
  .auth-ip-stamp strong, .auth-ip-stamp span { padding: 7px 8px; font-size: 6.5px; }
  .auth-brand-footer { display: none; }
  .auth-dot-field { right: -45px; bottom: -4px; width: 245px; height: 120px; opacity: .5; }
  .auth-stage { min-height: calc(100vh - 190px); padding: 28px 20px; }
  .account-grid { grid-template-columns: 1fr; }
  .app-shell { display: block; }
  .sidebar { transform: translateX(-100%); width: 260px; transition: transform .22s ease; }
  .sidebar.open { transform: none; box-shadow: 20px 0 50px rgba(0,0,0,.25); }
  .mobile-header { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px; color: white; background: var(--black); }
  .mobile-header .avatar.small { width: 29px; height: 29px; }
  .topbar { display: none; }
  .main-stage { min-height: calc(100vh - 60px); }
  .view { min-height: calc(100vh - 60px); }
  .hero { min-height: 440px; padding: 45px 24px 38px; }
  .hero::after { inset-left: 35%; }
  .hero-foot { display: none; }
  .content-wrap, .page-view { padding-inline: 22px; }
  .guide-hero-copy { padding: 50px 42px; }
  .guide-workflow-section { margin-inline: -22px; padding-inline: 22px; }
  .conversation-view { display: block; }
  .conversation-main { min-height: calc(100vh - 60px); border-right: 0; }
  .analysis-panel { border-top: 1px solid var(--line); }
  .analysis-body { height: auto; min-height: 430px; }
  .meeting-hero { grid-template-columns: 1fr; }
  .channels-hero { margin-inline: -22px; padding: 43px 28px; }
  .meeting-visual { min-height: 340px; border-top: 1px solid rgba(255,255,255,.08); border-left: 0; }
  .document-workspace { grid-template-columns: 1fr; }
  .document-project-picker { min-height: 335px; }
  .document-upload-panel { grid-template-columns: minmax(210px, .75fr) minmax(300px, 1.25fr); }
  .source-hub, .meeting-desk { grid-template-columns: 1fr; }
  .source-upload { min-height: 175px; border-top: 1px solid rgba(255,255,255,.11); border-left: 0; }
  .meeting-list { grid-template-columns: 1fr; }
  .project-meeting-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .auth-card { padding: 30px 23px; border-radius: 3px; }
  .auth-card h1 { font-size: 32px; }
  .auth-brand { min-height: 176px; padding-inline: 21px; }
  .auth-stage { min-height: calc(100vh - 176px); }
  .auth-brand-header > span:last-child { max-width: 175px; line-height: 1.35; }
  .auth-legal-line { align-items: flex-start; flex-direction: column; gap: 4px; }
  .approved-email-form, .account-code-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 35px; letter-spacing: -1.9px; }
  .hero-sub { max-width: 100%; font-size: 12px; }
  .guide-hero-copy { padding: 40px 26px; }
  .guide-hero h1 { font-size: 39px; letter-spacing: -2.25px; }
  .guide-hero-copy > p { font-size: 12px; }
  .guide-actions { align-items: stretch; flex-direction: column; }
  .guide-actions .primary-button, .guide-actions .secondary-button { width: 100%; }
  .guide-system-map { flex-direction: column; min-height: 430px; padding: 38px 20px; }
  .guide-map-line { width: 1px; height: 38px; }
  .guide-map-line i { top: calc(50% - 3px); left: -3px; }
  .guide-stat-strip { grid-template-columns: repeat(2, 1fr); }
  .guide-stat-strip div { padding: 17px; }
  .guide-section { margin-top: 52px; }
  .guide-section-head { align-items: start; flex-direction: column; gap: 14px; }
  .guide-section-head h2 { font-size: 28px; letter-spacing: -1.25px; }
  .guide-capability-grid, .guide-feature-grid, .guide-channel-grid, .guide-workflow, .guide-trust-grid { grid-template-columns: 1fr; }
  .reasoning-order { align-items: stretch; flex-direction: column; }
  .reasoning-order i { display: none; }
  .reasoning-grid { grid-template-columns: 1fr; }
  .reasoning-card { min-height: 300px; }
  .guide-capability-card { min-height: 235px; }
  .guide-workflow-section { padding-top: 46px; padding-bottom: 48px; }
  .guide-workflow li { min-height: 215px; }
  .guide-workflow li strong { margin-top: 34px; }
  .guide-feature-card { grid-template-columns: 1fr; min-height: 0; }
  .guide-channel-card { min-height: 285px; }
  .guide-channel-link { margin-left: 0; text-align: left; }
  .guide-trust { margin-top: 54px; }
  .guide-trust-intro { padding: 39px 27px; }
  .guide-trust-intro h2 { font-size: 27px; }
  .guide-trust-grid article { min-height: 160px; }
  .guide-close { align-items: stretch; flex-direction: column; padding: 30px 27px; }
  .guide-close h2 { font-size: 22px; }
  .guide-close .primary-button { width: 100%; }
  .prompt-box { width: 100%; }
  .prompt-meta { align-items: flex-end; }
  .prompt-options { flex-direction: column; align-items: stretch; }
  .select-wrap select { max-width: 195px; }
  .capability-grid, .continue-grid, .project-grid, .mode-grid, .channel-rail, .channel-detail-grid, .workflow-grid, .messenger-grid, .project-meeting-strip { grid-template-columns: minmax(0, 1fr); }
  .section-head, .page-title-row { align-items: start; flex-direction: column; }
  .project-title-actions { align-items: flex-start; }
  .page-title-row h1 { font-size: 34px; }
  .page-title-row h1, .source-hub h2, .meeting-card h3 { max-width: 100%; overflow-wrap: anywhere; }
  .stat-strip { display: grid; grid-template-columns: 1fr 1fr; }
  .document-stat-strip .stat-cell:last-child { grid-column: 1 / -1; }
  .document-project-picker { min-height: 360px; padding: 29px 24px; }
  .document-project-summary { margin-top: 30px; }
  .document-project-summary h2 { font-size: 24px; }
  .document-upload-panel { grid-template-columns: 1fr; padding: 27px 22px; }
  .document-dropzone { min-height: 275px; padding: 28px 18px; }
  .document-register .section-head h2 { overflow-wrap: anywhere; }
  .artifact-toolbar { align-items: start; flex-direction: column; }
  .artifact-row { grid-template-columns: 42px minmax(0, 1fr) 35px; min-height: 72px; }
  .artifact-row .artifact-project, .artifact-row .artifact-date, .artifact-row .artifact-size { display: none; }
  .meeting-copy { padding: 35px 25px; }
  .meeting-copy h1 { font-size: 40px; letter-spacing: -2px; }
  .meeting-stage-panel, .meeting-guardrails { padding: 27px 22px; }
  .meeting-form-foot { align-items: stretch; flex-direction: column; }
  .meeting-form-foot .primary-button { width: 100%; }
  .meeting-card { padding: 20px; }
  .meeting-card-actions { align-items: stretch; }
  .meeting-card-actions .primary-button, .meeting-card-actions .secondary-button { flex: 1 1 auto; }
  .source-hub-copy { padding: 29px 24px; }
  .source-hub h2 { font-size: 24px; }
  .source-hub p, .source-formats { max-width: 100%; overflow-wrap: anywhere; }
  .source-row { grid-template-columns: 42px minmax(0, 1fr) 35px; }
  .source-row .source-readiness { grid-column: 2; }
  .channels-hero h1 { max-width: 100%; font-size: 34px; letter-spacing: -1.7px; }
  .channels-hero p { max-width: 300px; }
  .channel-mobile-break { display: block; }
  .channel-sequence { display: grid; grid-template-columns: 1fr; justify-items: start; }
  .channel-sequence > i { width: 1px; min-width: 1px; height: 24px; margin-left: 55px; }
  .evidence-ledger-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .evidence-source { text-align: left; }
  .brand-tree { padding: 13px; }
  .brand-tree-branch-head { grid-template-columns: 7px minmax(0, 1fr); }
  .brand-tree-branch-head b { grid-column: 2; justify-self: start; }
  .competitor-comparison-chart .comparison-brand-column { width: 36%; }
  .competitor-comparison-chart thead th, .competitor-comparison-chart tbody th, .competitor-comparison-chart tbody td { padding-left: 6px; padding-right: 6px; }
  .comparison-brand-cell { grid-template-columns: 17px minmax(0, 1fr); gap: 4px; }
  .competitor-comparison-chart tbody th small { display: none; }
  .comparison-readout { align-items: flex-start; flex-direction: column; gap: 2px; }
  .comparison-delta, .comparison-baseline { text-align: left; }
  .market-share-governance { grid-template-columns: 1fr; }
  .market-share-governance > span { justify-self: start; }
  .market-share-row { grid-template-columns: minmax(88px, 31%) minmax(0, 1fr); gap: 8px; padding-left: 7px; padding-right: 7px; }
  .market-share-readout { align-items: flex-start; flex-direction: column; gap: 2px; }
  .market-share-readout span { text-align: left; }
  .conversation-head, .conversation-thread { padding-left: 21px; padding-right: 21px; }
  .thread-composer-wrap { padding-left: 20px; padding-right: 20px; }
  .analysis-head, .analysis-body { padding-left: 22px; padding-right: 22px; }
  .creative-preview-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .modal-card { padding: 24px; }
  .danger-modal .modal-actions { align-items: stretch; flex-direction: column; }
  .danger-modal .modal-actions button { width: 100%; }
  .deletion-summary { grid-template-columns: 1fr; }
  .deletion-summary div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; padding: 11px 14px; border-right: 0; border-bottom: 1px solid #ead8d5; }
  .deletion-summary div:last-child { border-bottom: 0; }
  .deletion-summary strong, .deletion-summary span { margin: 0; }
  .deletion-active-work { padding: 13px; }
  #delete-project-name { max-width: 180px; }
}

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