:root {
  --hub-bg: #f3f1ec;
  --hub-surface: #fff;
  --hub-ink: #11131a;
  --hub-muted: #6d7078;
  --hub-line: rgba(17, 19, 26, .12);
  --hub-soft: #eceae4;
  --hub-volt: #c9ff45;
  --hub-cobalt: #5141e5;
  --hub-radius-sm: 12px;
  --hub-radius: 20px;
  --hub-radius-lg: 28px;
  --hub-shadow: 0 18px 48px -38px rgba(12, 14, 20, .42);
  --space-xs: .5rem;
  --space-sm: .75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
}

html { background: var(--hub-bg); }
.onsite-help-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--hub-line);
  border-left: 4px solid var(--hub-volt);
  border-radius: var(--hub-radius-sm);
  background: var(--hub-surface);
}
.onsite-help-card > div { min-width: 0; flex: 1; }
.onsite-help-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; letter-spacing: -.02em; }
.onsite-help-card p { max-width: 54ch; margin: .5rem 0 1rem; color: var(--hub-ink); font-size: .9rem; line-height: 1.6; }
.onsite-help-card .secondary-button { min-height: 44px; white-space: normal; text-align: left; }
.onsite-help-card .onsite-help-dismiss { flex: 0 0 44px; width: 44px; min-height: 44px; padding: 0; font-size: 1.5rem; line-height: 1; }
.onsite-help-card button:focus-visible { outline: 2px solid var(--hub-ink); outline-offset: 3px; }
@media (max-width: 430px) {
  .onsite-help-card { gap: .25rem; padding: 1rem .5rem 1rem 1rem; }
}
body.platform-body {
  color: var(--hub-ink);
  background: var(--hub-bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-kerning: normal;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
body.platform-body [hidden] { display: none !important; }
body.platform-body h1[tabindex="-1"]:focus,
body.platform-body .conversation-thread h2[tabindex="-1"]:focus { outline: none; }
.skip-link { min-height: 44px; display: inline-flex; align-items: center; }

.app-shell { grid-template-columns: 236px minmax(0, 1fr); }
.app-sidebar { padding: 1.75rem 1rem 1rem; background: #0b0d12; }
.app-sidebar > .platform-logo { min-height: 44px; align-items: center; gap: .55rem; margin: 0 .75rem 2rem; }
.platform-logo small { color: var(--workspace-muted, #8f95a2); font-size: .66rem; font-weight: 700; letter-spacing: .04em; }
.app-sidebar nav { gap: .25rem; }
.app-sidebar nav button {
  min-height: 44px;
  gap: .75rem;
  padding: .65rem .75rem;
  border-radius: var(--hub-radius-sm);
  color: var(--workspace-muted, #aeb3bf);
  font-size: .88rem;
  font-weight: 680;
}
.app-sidebar nav button .nav-icon { width: 1.35rem; color: var(--workspace-muted, #7f8591); font-size: .92rem; text-align: center; }
.app-sidebar nav button .nav-label { width: auto; flex: 1; text-align: left; }
.app-sidebar nav button.active { background: rgba(255, 255, 255, .095); color: var(--workspace-text, #fff); }
.app-sidebar nav button.active .nav-icon { color: var(--hub-volt); }
.app-sidebar nav button:hover { background: rgba(255, 255, 255, .07); }
.nav-badge {
  display: inline-grid;
  width: auto !important;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  padding: 0 .32rem;
  border-radius: 999px;
  background: var(--hub-volt);
  color: var(--workspace-text, #11131a);
  font-size: .67rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}
.nav-badge[hidden] { display: none; }
.sidebar-user { padding-inline: .75rem; }
.sidebar-user button { min-height: 44px; display: inline-flex; align-items: center; }
.mobile-nav-toggle { width: 44px; height: 44px; }

.app-topbar {
  min-height: 76px;
  padding: .75rem clamp(1rem, 3vw, 2.75rem);
  border-color: var(--hub-line);
  background: rgba(243, 241, 236, .92);
}
.app-topbar strong { font-size: .92rem; letter-spacing: -.01em; }
.app-topbar > .topbar-actions { display: flex; align-items: center; gap: .5rem; margin-right: 0; }
.assistant-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .95rem;
  border: 1px solid #22252d;
  border-radius: var(--hub-radius-sm);
  background: #11131a;
  color: var(--workspace-text, #fff);
  font-weight: 760;
}
.assistant-button span { color: var(--hub-volt); }
.assistant-button:hover { background: #262932; }
.app-main { width: 100%; max-width: 1440px; padding: clamp(1.5rem, 4vw, 3.5rem); }

.primary-button,
.secondary-button,
.quiet-button,
.danger-button { min-height: 44px; border-radius: var(--hub-radius-sm); }
a.primary-button,
a.secondary-button,
a.quiet-button,
a.danger-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.primary-button { background: #171920; }
.primary-button:hover { background: #30333c; }
.secondary-button:hover,
.quiet-button:hover { border-color: rgba(17, 19, 26, .28); background: var(--workspace-surface, #f8f7f3); }
.kicker { color: var(--hub-cobalt); font-size: .7rem; letter-spacing: .13em; }
.screen-heading { max-width: 54rem; margin-bottom: var(--space-2xl); }
.screen-heading.compact-heading h1 { max-width: 16ch; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.screen-heading p:not(.kicker) { max-width: 64ch; color: var(--hub-muted); font-size: 1rem; line-height: 1.65; }

.hub-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .9fr);
  gap: var(--space-xl);
  align-items: end;
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: var(--hub-radius-lg);
  background: #0f1117;
  color: var(--workspace-text, #fff);
  box-shadow: 0 32px 80px -50px rgba(0, 0, 0, .8);
}
.hub-welcome h1 { max-width: 13ch; margin: 0; font-size: clamp(2.35rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -.055em; }
.hub-welcome p:not(.kicker) { margin: .8rem 0 0; color: var(--workspace-muted, #aeb3bf); line-height: 1.55; }
.hub-welcome .kicker { color: var(--hub-volt); }
.assistant-entry {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  background: var(--workspace-surface, #fff);
  color: var(--workspace-text, #11131a);
  text-align: left;
  font-size: 1rem;
  font-weight: 760;
}
.assistant-entry i { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--hub-volt); font-style: normal; }
.assistant-entry:hover { background: var(--workspace-surface, #f5f4ef); }
.hub-quick-actions { grid-column: 1 / -1; display: flex; gap: .5rem; flex-wrap: wrap; padding-top: .2rem; }
.hub-quick-actions button { min-height: 44px; padding: .55rem .8rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; background: transparent; color: var(--workspace-text, #d7dae1); font-size: .78rem; font-weight: 680; }
.hub-quick-actions button:hover { border-color: rgba(255, 255, 255, .35); color: var(--workspace-text, #fff); }

.hub-section { margin-top: var(--space-3xl); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.section-title h2 { margin: 0; font-size: 1.65rem; line-height: 1.15; letter-spacing: -.035em; }
.all-clear { display: inline-flex; align-items: center; gap: .5rem; color: var(--workspace-success, #3b6451); font-size: .84rem; font-weight: 720; }
.all-clear i { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--workspace-success-bg, #dff4e8); font-style: normal; }
.action-list { border-block: 1px solid var(--hub-line); }
.action-row { display: grid; grid-template-columns: .55rem minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; padding: 1.15rem .25rem; border-bottom: 1px solid var(--hub-line); }
.action-row:last-child { border-bottom: 0; }
.action-signal { width: .5rem; height: .5rem; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 5px rgba(245, 158, 11, .1); }
.action-row h3 { margin: 0; font-size: 1rem; letter-spacing: -.015em; }
.action-row p { margin: .25rem 0 0; color: var(--hub-muted); font-size: .86rem; }
.quiet-state { padding: 2rem; border: 1px dashed rgba(17, 19, 26, .18); border-radius: var(--hub-radius); color: var(--hub-muted); text-align: center; }
.quiet-state p { margin: 0; line-height: 1.6; }

.website-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.website-card { min-height: 0; padding: 1.5rem; border-color: var(--hub-line); border-radius: var(--hub-radius); box-shadow: var(--hub-shadow); }
.website-card .site-icon { width: 2.8rem; height: 2.8rem; background: var(--workspace-selected, #ebe9ff); }
.website-card-copy { margin-top: var(--space-lg); }
.website-card h3 { margin: 0 0 .25rem; font-size: 1.45rem; letter-spacing: -.035em; }
.site-facts { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 1.25rem; }
.site-facts div { grid-template-columns: 1fr; gap: .25rem; padding: .75rem 0; }
.site-facts div:nth-child(odd) { padding-right: 1rem; }
.site-facts dt { font-size: .72rem; }
.site-facts dd { font-size: .83rem; line-height: 1.4; }
.website-card footer { margin-top: 1rem; border-top: 1px solid var(--hub-line); }
.website-card footer .primary-button,
.website-card footer .secondary-button { min-height: 44px; }
.website-card footer .quiet-button { border-color: transparent; background: transparent; }

.request-type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.request-type {
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  gap: .75rem;
  padding: 1.25rem;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  background: var(--hub-surface);
  color: var(--hub-ink);
  text-align: left;
  box-shadow: var(--hub-shadow);
}
.request-type > span { font-size: 1rem; font-weight: 780; letter-spacing: -.02em; }
.request-type > i { font-style: normal; }
.request-type > small { grid-column: 1 / -1; align-self: end; color: var(--hub-muted); line-height: 1.45; }
.request-type:hover { border-color: rgba(81, 65, 229, .45); transform: translateY(-2px); }
.plan-choice {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.35rem;
  border: 1px solid var(--hub-line);
  border-radius: var(--hub-radius);
  background: var(--hub-surface);
  box-shadow: var(--hub-shadow);
}
.plan-choice.recommended { border-color: var(--hub-cobalt); box-shadow: 0 0 0 3px rgba(81,65,229,.1), var(--hub-shadow); }
.plan-choice.selected-commercial-option,.commercial-option.selected-commercial-option{border-color:var(--hub-cobalt);box-shadow:0 0 0 3px rgba(81,65,229,.12),var(--hub-shadow)}
.plan-choice h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.04em; }
.plan-choice > strong { display: grid; margin-top: auto; font-size: 1.65rem; letter-spacing: -.045em; }
.plan-choice > strong small { color: var(--hub-muted); font-size: .7rem; font-weight: 650; letter-spacing: 0; }
.plan-choice > p:not(.kicker) { margin: 0; color: var(--hub-muted); font-size: .8rem; line-height: 1.5; }
.growth-plans-panel{position:relative;overflow:hidden;background:linear-gradient(145deg,#111424 0%,#181b31 58%,#25204b 100%)!important;color:#f7f5ff;border-color:rgba(190,181,255,.22)!important;box-shadow:0 28px 72px rgba(12,14,30,.24)!important}
.growth-plans-panel:before{content:"";position:absolute;inset:-35% auto auto 45%;width:55%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(127,103,255,.2),transparent 68%);pointer-events:none}
.growth-plans-panel>.panel-head,.growth-plans-panel>.billing-subscription-grid,.growth-plans-panel>.growth-plan-grid,.growth-plans-panel>.quiet-note{position:relative}
.growth-plans-panel :is(h2,h3,strong,.kicker){color:#fff}.growth-plans-panel>.panel-head p,.growth-plans-panel>.quiet-note{color:#b8b7c9}
.growth-plan-choice{background:rgba(255,255,255,.065);border-color:rgba(255,255,255,.13);box-shadow:0 16px 38px rgba(3,5,15,.2);backdrop-filter:blur(10px)}
.growth-plan-choice:hover{border-color:rgba(157,139,255,.55);transform:translateY(-2px)}
.growth-plan-choice>p:not(.kicker),.growth-plan-choice li{color:#c7c6d5}.growth-plan-choice ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.growth-plan-choice li{position:relative;padding-left:18px;font-size:.78rem;line-height:1.45}.growth-plan-choice li:before{content:"";position:absolute;left:0;top:.48em;width:7px;height:7px;border-radius:50%;background:#9482ff;box-shadow:0 0 0 4px rgba(148,130,255,.12)}
.growth-plan-choice :is(label,.check-row){color:#e2e0ee}.growth-plan-choice select{background:#111424;color:#fff;border-color:rgba(255,255,255,.18)}
.growth-os-subscription{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.14)!important;box-shadow:none!important}.growth-os-subscription>p{color:#cbc9d8!important}
@media(max-width:720px){.growth-plans-panel{padding:20px!important}.growth-plans-panel>.panel-head{align-items:flex-start}.growth-plan-choice{padding:18px}.growth-plan-choice button{width:100%}}
.commercial-option {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  align-content: start;
  min-height: 100%;
  margin: 0;
  transition: transform .18s, border-color .18s;
}
.commercial-option > b { font-size: 1.35rem; letter-spacing: -.04em; }
.commercial-option > small { grid-column: auto; align-self: auto; min-height: 5.4em; }
.commercial-option > label { display: grid; gap: .4rem; color: var(--hub-muted); font-size: .74rem; font-weight: 720; }
.commercial-option select { width: 100%; min-height: 44px; padding: .65rem .7rem; border: 1px solid var(--hub-line); border-radius: .65rem; background: var(--workspace-surface, #fff); color: var(--hub-ink); }
.commercial-option .check-row { align-items: flex-start; color: var(--hub-ink); line-height: 1.45; }
.commercial-option .check-row input { flex: 0 0 auto; margin-top: .15rem; }
.commercial-option > button { width: 100%; margin-top: auto; }
.request-form { position: relative; max-width: 48rem; margin: 1.5rem 0 0; box-shadow: var(--hub-shadow); }
.request-form-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.request-form-head h2 { margin: 0; }
.inline-close { position: static; flex: 0 0 auto; }
.request-history { margin-top: var(--space-3xl); }
.service-order { border-color: var(--hub-line); border-radius: var(--hub-radius); box-shadow: var(--hub-shadow); }
.service-order details summary { min-height: 44px; display: flex; align-items: center; color: var(--hub-cobalt); font-weight: 720; cursor: pointer; }

.messages-layout { min-height: 38rem; display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.55fr); border: 1px solid var(--hub-line); border-radius: var(--hub-radius-lg); background: var(--hub-surface); overflow: hidden; box-shadow: var(--hub-shadow); }
.conversation-list { min-width: 0; padding: .65rem; border-right: 1px solid var(--hub-line); background: var(--workspace-surface, #f7f6f2); overflow: auto; }
.conversation-row { width: 100%; min-height: 72px; display: flex; align-items: center; gap: .75rem; padding: .7rem; border: 0; border-radius: var(--hub-radius-sm); background: transparent; color: var(--hub-ink); text-align: left; }
.conversation-row:hover, .conversation-row.active { background: var(--workspace-surface, #fff); box-shadow: 0 8px 24px -22px rgba(0, 0, 0, .55); }
.conversation-avatar { width: 2.4rem; height: 2.4rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #171920; color: var(--workspace-text, #fff); font-size: .78rem; font-weight: 820; }
.conversation-copy { min-width: 0; flex: 1; }
.conversation-copy b, .conversation-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-copy b { font-size: .88rem; }
.conversation-copy small { margin-top: .3rem; color: var(--hub-muted); font-size: .7rem; }
.message-count { min-width: 1.45rem; height: 1.45rem; display: grid; place-items: center; padding: 0 .35rem; border-radius: 999px; background: var(--hub-cobalt); color: var(--workspace-text, #fff); font-size: .67rem; font-weight: 800; }
.conversation-state { max-width: 6rem; color: var(--hub-muted); font-size: .65rem; text-align: right; }
.conversation-thread { min-width: 0; display: flex; flex-direction: column; }
.conversation-thread > header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--hub-line); }
.conversation-thread > header h2 { max-width: 32ch; margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.conversation-thread > header p:not(.kicker) { margin: .25rem 0 0; color: var(--hub-muted); font-size: .76rem; }
.thread-back { display: none; min-height: 44px; border: 0; background: transparent; color: var(--hub-cobalt); font-weight: 720; }
.message-stream { flex: 1; display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; background: var(--workspace-surface, #fbfaf7); overflow: auto; }
.message-bubble { width: min(78%, 38rem); padding: .9rem 1rem; border: 1px solid var(--hub-line); border-radius: 16px 16px 16px 4px; background: var(--workspace-surface, #fff); }
.message-bubble.customer { align-self: flex-end; border-color: #20232b; border-radius: 16px 16px 4px 16px; background: #171920; color: var(--workspace-text, #fff); }
.message-bubble > div { display: flex; justify-content: space-between; gap: 1rem; }
.message-bubble b, .message-bubble time, .message-bubble small { font-size: .68rem; }
.message-bubble time { color: var(--hub-muted); }
.message-bubble.customer time, .message-bubble.customer small { color: var(--workspace-muted, #aeb3bf); }
.message-bubble p { margin: .55rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.message-bubble small { display: block; margin-top: .65rem; }
.message-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; align-items: end; padding: 1rem 1.5rem max(1rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--hub-line); }
.message-composer label { grid-column: 1 / -1; font-size: .76rem; font-weight: 740; }
.message-composer textarea { width: 100%; min-height: 54px; resize: vertical; padding: .75rem; border: 1px solid var(--hub-line); border-radius: var(--hub-radius-sm); color: var(--hub-ink); }
.conversation-placeholder { display: grid; place-content: center; padding: 2rem; color: var(--hub-muted); text-align: center; }
.conversation-placeholder span { font-size: 2rem; }
.conversation-placeholder h2 { margin: .75rem 0 .35rem; color: var(--hub-ink); }
.conversation-placeholder p { max-width: 32ch; margin: 0; line-height: 1.55; }
.conversation-assets { display: flex; gap: .5rem; flex-wrap: wrap; padding: .75rem 1.5rem; border-top: 1px solid var(--hub-line); }
.conversation-assets b { width: 100%; font-size: .75rem; }
.conversation-assets a { color: var(--hub-cobalt); font-size: .78rem; }
.conversation-closed { padding: 1rem 1.5rem; border-top: 1px solid var(--hub-line); color: var(--hub-muted); font-size: .82rem; }

.approval-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.approval-card { padding: 1.5rem; border: 1px solid var(--hub-line); border-radius: var(--hub-radius); background: var(--hub-surface); box-shadow: var(--hub-shadow); }
.approval-card > header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.approval-card h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.035em; }
.approval-card > p { color: var(--hub-muted); line-height: 1.6; }
.approval-card form { display: grid; gap: .75rem; margin-top: 1rem; }
.approval-card textarea { width: 100%; padding: .75rem; border: 1px solid var(--hub-line); border-radius: var(--hub-radius-sm); }
.approval-actions { display: grid; gap: .75rem; }
.approval-confirm { display: flex; gap: .65rem; align-items: start; color: var(--hub-muted); font-size: .82rem; line-height: 1.5; }
.approval-confirm input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; }
.all-approved { grid-column: 1 / -1; padding: 3rem; }
.all-approved > span { width: 3rem; height: 3rem; display: grid; place-items: center; margin: 0 auto 1rem; border-radius: 50%; background: var(--workspace-success-bg, #dff4e8); color: var(--workspace-success, #246246); font-weight: 900; }
.all-approved h2 { margin: 0; color: var(--hub-ink); }
.approval-history { margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--hub-line); }
.approval-history li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--hub-line); }
.approval-history li:last-child { border-bottom: 0; }
.approval-history small { display: block; margin-top: .25rem; color: var(--hub-muted); }

.timeline-list { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline-list::before { content: ""; position: absolute; top: 1.4rem; bottom: 1.4rem; left: .34rem; width: 1px; background: var(--hub-line); }
.timeline-list li { position: relative; display: grid; grid-template-columns: .75rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; min-height: 4.5rem; padding: .75rem 0; }
.timeline-dot { z-index: 1; width: .7rem; height: .7rem; border: 2px solid var(--hub-bg); border-radius: 50%; background: #171920; box-shadow: 0 0 0 1px #171920; }
.timeline-list b { font-size: .9rem; }
.timeline-list p { margin: .25rem 0 0; color: var(--hub-muted); font-size: .78rem; }
.timeline-list time { color: var(--hub-muted); font-size: .72rem; font-variant-numeric: tabular-nums; text-align: right; }

.account-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; }
.account-identity { display: flex; align-items: center; gap: 1rem; }
.account-avatar { width: 3.5rem; height: 3.5rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #171920; color: var(--workspace-text, #fff); font-size: 1.2rem; font-weight: 850; }
.account-identity h2, .account-identity p { margin: 0; }
.account-identity p { margin-top: .35rem; }
.retention-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; margin-top: 2rem; padding: 1.5rem; border: 1px solid var(--workspace-line, #d8d3ff); border-radius: var(--hub-radius); background: linear-gradient(135deg, var(--workspace-surface, #f8f7ff), var(--workspace-surface, #fff)); }
.retention-panel h2 { margin: .25rem 0 .5rem; letter-spacing: -.035em; }
.retention-panel p { max-width: 48rem; margin: 0; color: var(--hub-muted); line-height: 1.6; }
.retention-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
.domain-technical { margin-top: 1rem; }
.domain-technical summary { min-height: 44px; display: flex; align-items: center; color: var(--hub-cobalt); font-size: .78rem; font-weight: 720; cursor: pointer; }

@media (hover: hover) {
  .request-type, .assistant-entry, .action-row button, .conversation-row { transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease; }
}

@media (max-width: 1080px) {
  .request-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-welcome { grid-template-columns: 1fr; }
  .assistant-entry { max-width: 42rem; }
}

@media (max-width: 780px) {
  .app-shell { min-height: 100dvh; }
  .app-shell.menu-open::after { content: ""; position: fixed; z-index: 40; inset: 0; background: rgba(6, 7, 10, .52); backdrop-filter: blur(2px); }
  .app-sidebar { width: min(20rem, 88vw); height: 100dvh; padding-top: max(1.5rem, env(safe-area-inset-top)); padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
  .app-topbar { min-height: 64px; padding-top: max(.55rem, env(safe-area-inset-top)); }
  .app-main { padding: 1.25rem .9rem max(2rem, env(safe-area-inset-bottom)); }
  .topbar-actions .quiet-button { display: none; }
  .assistant-button { min-width: 44px; padding-inline: .75rem; }
  .assistant-button span { display: inline; }
  .hub-welcome { gap: 1.5rem; padding: 1.5rem; border-radius: 22px; }
  .hub-welcome h1 { font-size: 2.5rem; }
  .hub-quick-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hub-quick-actions button { width: 100%; border-radius: var(--hub-radius-sm); text-align: left; }
  .hub-quick-actions button:last-child { grid-column: 1 / -1; }
  .hub-section { margin-top: 3rem; }
  .section-title { align-items: start; }
  .action-row { grid-template-columns: .55rem minmax(0, 1fr); }
  .action-row button { grid-column: 2; width: max-content; }
  .website-grid, .approval-grid, .account-layout { grid-template-columns: 1fr; }
  .retention-panel { grid-template-columns: 1fr; }
  .retention-actions { justify-content: flex-start; }
  .messages-layout { min-height: 32rem; grid-template-columns: 1fr; }
  .conversation-list { border-right: 0; }
  .messages-layout.has-thread .conversation-list { display: none; }
  .messages-layout:not(.has-thread) .conversation-placeholder { display: none; }
  .thread-back { display: block; grid-column: 1 / -1; width: max-content; padding: 0; }
  .conversation-thread > header { display: grid; align-items: start; padding: 1rem; }
  .message-stream { padding: 1rem; }
  .message-bubble { width: 88%; }
  .message-composer { grid-template-columns: 1fr; padding: 1rem; }
  .message-composer button { width: 100%; }
  .timeline-list li { grid-template-columns: .75rem minmax(0, 1fr); }
  .timeline-list time { grid-column: 2; text-align: left; }
}

@media (max-width: 560px) {
  .screen-heading.compact-heading h1 { font-size: 2.6rem; }
  .request-type-grid { grid-template-columns: 1fr; }
  .request-type { min-height: 118px; }
  .site-facts { grid-template-columns: 1fr; }
  .site-facts div:nth-child(odd) { padding-right: 0; }
  .website-card footer { display: grid; grid-template-columns: 1fr; }
  .website-card footer .primary-button { grid-column: auto; }
  .retention-actions { display: grid; grid-template-columns: 1fr; }
  .retention-actions > * { width: 100%; }
  .section-title { display: grid; }
  .action-row button { width: 100%; }
  .approval-card > header { display: grid; }
  .approval-card .screen-actions { display: grid; }
  .approval-card .screen-actions button { width: 100%; }
  .assistant-button { font-size: .78rem; }
}

/* The native Growth route is a signed projection, not a second dashboard.
   Full analytics, source management and implementation history stay available
   under one deliberate disclosure. */
.platform-body .growth-native-brief { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, .42fr); gap: var(--product-space-6, 1.5rem); align-items: end; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--vurm-line); border-radius: var(--vurm-radius-surface); background: var(--vurm-surface); }
.platform-body .growth-native-brief h2 { max-width: 28ch; margin: .4rem 0 0; color: var(--vurm-ink); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.03em; text-wrap: balance; }
.platform-body .growth-native-brief p:not(.kicker) { max-width: 64ch; margin: .7rem 0 0; color: var(--vurm-muted); line-height: 1.6; }
.platform-body .growth-native-brief small { display: block; margin-top: .8rem; color: var(--workspace-link); font-size: .75rem; }
.platform-body .growth-native-actions { display: grid; gap: .65rem; align-content: end; }
.platform-body .growth-native-actions .primary-button { min-height: 48px; justify-content: center; }
.platform-body .growth-native-actions span { color: var(--vurm-muted); font-size: .75rem; line-height: 1.45; }
.platform-body .growth-native-detail { margin-top: 1rem; border-block: 1px solid var(--vurm-line); }
.platform-body .growth-native-detail > summary { display: flex; align-items: center; min-height: 64px; cursor: pointer; list-style: none; }
.platform-body .growth-native-detail > summary::-webkit-details-marker { display: none; }
.platform-body .growth-native-detail > summary span { display: grid; gap: .25rem; }
.platform-body .growth-native-detail > summary b { color: var(--vurm-ink); font-size: .9375rem; }
.platform-body .growth-native-detail > summary small { color: var(--vurm-muted); font-size: .75rem; }
.platform-body .growth-native-detail > summary::after { content: "+"; margin-left: auto; color: var(--workspace-link); font-size: 1.3rem; }
.platform-body .growth-native-detail[open] > summary::after { content: "−"; }
.platform-body .growth-native-detail-content { padding-bottom: var(--product-space-8, 2rem); }
.platform-body .growth-native-analysis-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 1rem; border: 1px solid var(--vurm-line); border-radius: var(--vurm-radius-control); background: var(--vurm-raised); }
.platform-body .growth-native-analysis-controls label { display: grid; gap: .4rem; min-width: 0; color: var(--vurm-muted); font-size: .75rem; }
.platform-body .growth-native-analysis-controls select { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid var(--vurm-line); border-radius: 8px; background: var(--vurm-surface); color: var(--vurm-ink); font: inherit; }
@media (max-width: 680px) {
  .platform-body .growth-native-brief { grid-template-columns: 1fr; }
  .platform-body .growth-native-actions .primary-button { width: 100%; }
  .platform-body .growth-native-analysis-controls { grid-template-columns: 1fr; }
}

@media (pointer: coarse) {
  button, a.secondary-button, a.quiet-button { min-height: 44px; }
}

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

/* Home is a calm work surface: one next action, then the customer's actual
   website, received performance and current VURM work. */
.platform-body .home-composition { display: grid; gap: var(--product-space-8, 2rem); padding-bottom: var(--product-space-8, 2rem); }
.platform-body .home-composition .command-hero { gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--vurm-line); border-radius: var(--vurm-radius-surface); background: var(--vurm-surface); }
.platform-body .home-composition .command-hero-copy { max-width: 46rem; }
.platform-body .home-composition .command-hero h1 { max-width: 18ch; font-size: 2.25rem; line-height: 1.15; }
.platform-body .home-composition .command-hero-copy > p:not(.kicker) { max-width: 62ch; margin-block: .8rem 1.35rem; font-size: 1rem; }
.platform-body .home-composition .command-primary { min-height: 52px; padding-inline: 1.15rem; }
.platform-body .home-current-state { display: grid; gap: .65rem; min-width: min(100%, 18rem); padding: 1rem; border: 1px solid var(--vurm-line); border-radius: var(--vurm-radius-control); background: var(--vurm-raised); }
.platform-body .home-current-state > div { display: grid; gap: .45rem; }
.platform-body .home-current-state button { width: 100%; background: transparent; }
.platform-body .home-composition .home-main-grid { gap: clamp(2rem, 4vw, 4rem); margin: 0; padding-block: var(--product-space-4, 1rem); }
.platform-body .home-composition .hub-section { margin-top: 0; }
.platform-body .home-composition .hub-projects { display: grid; align-content: start; gap: .25rem; }
.platform-body .home-composition .home-growth-host { margin: 0; }
.platform-body .home-composition .home-secondary { gap: clamp(2rem, 4vw, 4rem); padding-top: var(--product-space-8, 2rem); }
.platform-body .home-composition .ask-vurm-strip { margin-top: 0; }

@media (max-width: 780px) {
  .platform-body .home-composition { gap: 1.5rem; }
  .platform-body .home-composition .command-hero { padding: 1.25rem; }
  .platform-body .home-composition .command-hero h1 { font-size: 1.875rem; }
  .platform-body .home-current-state { min-width: 0; }
}

@media (max-width: 560px) {
  .platform-body .home-composition .command-hero { padding: 1rem; }
  .platform-body .home-composition .command-primary { width: 100%; justify-content: space-between; }
  .platform-body .home-composition .home-current-state { padding: .85rem; }
}
