:root {
  --vcxm-bg: #f7f6f4;
  --vcxm-surface: #fff;
  --vcxm-surface-muted: #f1efed;
  --vcxm-ink: #4d514e;
  --vcxm-muted: #656963;
  --vcxm-border: rgba(22, 21, 19, 0.12);
  --vcxm-teal: #006b8f;
  --vcxm-teal-dark: #075968;
  --vcxm-red: #c74634;
  --vcxm-amber: #a86800;
  --vcxm-green: #2f6b25;
  --vcxm-risk: #a13b2c;
  --vcxm-topbar: #312d2a;
  --vcxm-focus: #006b8f;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --radius-sm: .25rem;
  --radius-md: .5rem;
  --shadow-1: 0 2px 10px rgb(22 21 19 / 10%);
  --topbar-h: 3.75rem;
  --content-max: 112rem;
  color-scheme: light;
  font-family: "Oracle Sans", "OracleSansFB", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 400;
}

[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { height: 100%; background: transparent; color: var(--vcxm-ink); }
body.oj-web-applayout-body { height: 100%; margin: 0; min-width: 320px; overflow: hidden; background-color: transparent; background-image: url("/images/left-pattern.png"), url("/images/right-pattern.png"); background-position: left top, right bottom; background-size: 60%, 60%; background-repeat: no-repeat, no-repeat; color: var(--vcxm-ink); font-family: inherit; font-weight: 400; }
body:not(.authenticated):not(.error-document) > :not(#login-screen) { display: none; }
.login-screen { position: relative; isolation: isolate; height: 100dvh; padding: 20px 24px; display: grid; align-items: safe center; justify-items: center; overflow: hidden; background: #fff; }
.login-screen::before { content: ""; position: fixed; z-index: -1; inset: 0; background: url("/images/signin-bg.png") center / cover no-repeat; opacity: .8; pointer-events: none; }
.login-layout { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 552px); grid-template-rows: minmax(0, 1fr); gap: 24px; width: min(100%, 1056px); height: min(100%, 800px); min-height: 0; }
.login-card, .login-navigator { min-height: 0; border: 1px solid rgb(34 54 59 / 14%); border-radius: 6px; background: rgb(255 255 255 / 94%); box-shadow: 0 2px 10px rgb(22 21 19 / 8%); }
.login-card { display: flex; flex-direction: column; overflow-y: auto; padding: 24px; }
.login-card-content { width: 100%; }
.login-card-header { display: flex; align-items: center; justify-content: space-between; min-height: 32px; }
.login-oracle { display: block; width: fit-content; color: #f00; font-size: 18px; line-height: 1; }
.login-intro { margin-top: 24px; }
.login-kicker { margin: 0 0 10px; color: #555; font-size: 14px; font-weight: 600; }
.login-intro h1 { margin: 0; color: #1f1d1b; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 36px); font-weight: 400; line-height: 1.12; }
.login-intro p { margin: 16px 0 0; color: #292827; font-size: 16px; line-height: 1.35; }
.login-form { display: grid; gap: 12px; margin-top: 20px; }
.login-form .field > label { color: #717171; font-size: 14px; font-weight: 400; }
.login-form-title { margin: 0; color: #1f1d1b; font-size: 18px; font-weight: 600; }
.login-signup-prompt { margin: 0; color: #62615f; font-size: 14px; }
.login-signup-prompt a { margin-left: 4px; }
.login-screen.registering .login-intro { margin-top: 24px; }
.login-screen.registering .login-intro > p:not(.login-kicker) { display: none; }
.registration-form h2, .registration-form p { margin: 0; }
.registration-form .registration-family { min-width: 0; margin: 0; padding: 0; border: 0; }
.registration-family .registration-family-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.registration-family .registration-family-option { --family-accent: var(--vcxm-teal); position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; }
.registration-family .registration-family-option-saas { --family-accent: var(--vcxm-red); }
.registration-family-option > input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.registration-family-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 136px; padding: 18px 12px; border: 1px solid var(--vcxm-border); border-radius: var(--radius-md); background: var(--vcxm-surface); color: var(--vcxm-ink); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.registration-family-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: color-mix(in srgb, var(--family-accent) 9%, var(--vcxm-surface)); color: var(--family-accent); }
.registration-family-icon svg { width: 44px; height: 44px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.registration-family-label { font-size: 1rem; font-weight: 700; text-align: center; }
.registration-family-card::after { position: absolute; top: 10px; right: 10px; content: ""; width: 8px; height: 14px; border: solid var(--family-accent); border-width: 0 2px 2px 0; opacity: 0; transform: rotate(45deg); }
.registration-family-option:hover .registration-family-card { border-color: var(--family-accent); background: color-mix(in srgb, var(--family-accent) 3%, var(--vcxm-surface)); }
.registration-family-option > input:checked + .registration-family-card { border-color: var(--family-accent); background: color-mix(in srgb, var(--family-accent) 7%, var(--vcxm-surface)); box-shadow: inset 0 0 0 1px var(--family-accent); color: var(--family-accent); }
.registration-family-option > input:checked + .registration-family-card::after { opacity: 1; }
.registration-family-option > input:focus-visible + .registration-family-card { outline: 3px solid var(--vcxm-focus); outline-offset: 3px; }
@media (max-width: 460px) { .registration-family-card { min-height: 120px; padding: 14px 10px; } .registration-family-icon { width: 52px; height: 52px; } }
@media (prefers-reduced-motion: reduce) { .registration-family-card { transition: none; } }
.registration-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.registration-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.registration-actions .button { min-width: 0; white-space: normal; }
.registration-wide { grid-column: 1 / -1; }
.registration-ocid-help { position: relative; display: inline-flex; margin-left: 6px; vertical-align: middle; }
.registration-ocid-help-trigger { display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 1px dotted var(--vcxm-teal); border-radius: 50%; background: var(--vcxm-surface); color: var(--vcxm-teal); cursor: help; font-size: 12px; font-weight: 700; line-height: 1; }
.registration-ocid-help-trigger::before { content: "?"; font-size: 12px; }
.registration-ocid-help-trigger:focus-visible { outline: 2px solid var(--vcxm-focus); outline-offset: 2px; }
.registration-ocid-tooltip { position: absolute; z-index: 2; bottom: calc(100% + 8px); left: 50%; width: min(300px, calc(100vw - 48px)); padding: 10px 12px; border: 1px solid var(--vcxm-border); border-radius: var(--radius-sm); background: var(--vcxm-surface); box-shadow: var(--shadow-1); color: var(--vcxm-ink); font-size: .8125rem; font-weight: 400; line-height: 1.4; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s ease, transform .15s ease; }
.registration-ocid-help:is(:hover, :focus-within) .registration-ocid-tooltip { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.registration-ocid-tooltip a { white-space: nowrap; }
@media (max-width: 460px) { .registration-fields { grid-template-columns: minmax(0, 1fr); } }
.login-feedback { margin: 0; padding: 12px; border: 1px solid #dba89e; border-radius: var(--control-radius); background: #fff0ed; color: #922e20; font-size: 14px; }
#notifications-toggle[data-pending-count] { position: relative; }
#notifications-toggle[data-pending-count]::after { content: attr(data-pending-count); position: absolute; inset: -4px -4px auto auto; display: grid; place-items: center; box-sizing: border-box; min-width: 24px; height: 24px; padding: 0 3px; border: 2px solid var(--vcxm-topbar); border-radius: 50%; background: #c62828; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
[data-access-request], [data-access-decision] { display: grid; gap: 14px; }
[data-access-decision] fieldset { display: grid; gap: 10px; min-width: 0; border: 1px solid #c5c9c8; padding: 12px; }
[data-access-decision] .checkbox-label { display: flex; align-items: baseline; gap: 8px; }
[data-access-status] { padding: 16px 0; border-bottom: 1px solid #d8dbda; }
.login-copyright { margin: auto 0 0; padding-top: 18px; color: #62615f; font-size: 13px; }
.login-navigator { padding: 12px; display: flex; overflow: hidden; }
.login-navigator-content { width: 100%; min-height: 0; overflow-y: auto; padding: 24px; background: #284d5e url("/images/Suceess-Navigator.png") center / cover no-repeat; color: #fff; opacity: 0.8;}
.login-navigator h2 { margin: 0 0 18px; font-size: 26px; line-height: 1.2; color: inherit; }
.login-navigator-lead { margin: 0 0 22px; font-weight: 600; line-height: 1.4; }
.login-benefits { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.login-benefits li { display: flex; gap: 14px; align-items: start; }
.login-benefits li > span { flex: 0 0 24px; font-size: 24px; margin-top: 3px; }
.login-benefits h3 { margin: 0 0 3px; font-size: 16px; color: inherit; }
.login-benefits p { margin: 0; font-size: 14px; line-height: 1.4; }
.login-navigator-closing { margin: 24px 0 0; font-weight: 600; color: #ffdb8b; }
@media (max-width: 850px) { .login-screen { align-items: start; overflow-y: auto; padding: 16px; } .login-layout { grid-template-columns: minmax(0, 560px); grid-template-rows: auto; justify-content: center; height: auto; } .login-card { overflow: visible; } .login-navigator { display: none; } }
@media (max-width: 460px) { .login-screen { padding: 0; } .login-card { min-height: 100dvh; padding: 24px; border: 0; border-radius: 0; } }
button, input, select, textarea { font: inherit; }
a { color: var(--vcxm-teal); text-underline-offset: .16em; }
a:hover { color: var(--vcxm-teal-dark); }
.skip-link { position: fixed; z-index: 1000; left: .75rem; top: -5rem; padding: .65rem 1rem; background: #fff; color: #111; }
.skip-link:focus { top: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topbar { position: sticky; z-index: 50; top: 0; height: var(--topbar-h); display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-4); background: var(--vcxm-topbar); color: #fff; }
.brand { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; font-weight: 600; }
.brand span:last-child { color: #fff; }
.csp-logo, .csp-white-icons { color: #fff !important; }
.csp-logo { font-size: 2.5rem; line-height: 1; }
.topbar-spacer { flex: 1; }
.language-switcher select { min-height: 2rem; padding: .2rem .35rem; border: 1px solid #aaa29d; border-radius: var(--radius-sm); background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.language-switcher option { color: var(--vcxm-ink); background: #fff; }
.icon-button, .topbar-action { display: grid; place-items: center; min-width: 2.85rem; min-height: 2.85rem; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: inherit; cursor: pointer; }
.menu-glyph { font-size: 1.65rem; line-height: 1; }
.topbar-action .csp-white-icons { font-size: 1.45rem; line-height: 1; }
.icon-button:hover, .topbar-action:hover { border-color: #aaa29d; background: rgb(255 255 255 / 8%); }
.topbar button:focus-visible, .notifications-drawer button:focus-visible, .assistance-drawer button:focus-visible { outline: 2px solid #72d7c7; outline-offset: -3px; }
.avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: var(--radius-sm); background: #16708a; font-size: .7rem; }

.app-shell { height: calc(100dvh - var(--topbar-h)); }
.side-nav { position: fixed; z-index: 60; inset: var(--topbar-h) auto 0 0; width: min(20rem, 88vw); transform: translateX(-103%); transition: transform .18s ease; background: #fff; box-shadow: var(--shadow-1); display: flex; flex-direction: column; justify-content: space-between; }
.side-nav.open { transform: translateX(0); }
.side-nav nav { display: grid; gap: var(--space-1); }
.side-nav nav a { display: flex; gap: var(--space-3); align-items: center; min-height: 2.75rem; padding: .55rem .7rem; border-left: 3px solid transparent; color: var(--vcxm-ink); text-decoration: none; }
.side-nav nav a:hover { background: var(--vcxm-surface-muted); }
.side-nav nav a.active { border-left-color: var(--vcxm-muted); background: rgba(22, 21, 19, 0.08); font-weight: 700; }
.nav-note { display: grid; gap: .25rem; padding: var(--space-4); border-top: 1px solid var(--vcxm-border); color: var(--vcxm-muted); font-size: .8rem; }
.nav-scrim, .drawer-backdrop { position: fixed; z-index: 55; inset: var(--topbar-h) 0 0; background: rgb(0 0 0 / 38%); }
main { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; }
#main-content:focus:not(:focus-visible) { outline: none; }
#app-content { flex: 1 0 auto; width: 100%; max-width: var(--content-max); min-height: 0; margin: 0 auto; padding: var(--space-5) clamp(1rem, 3vw, 3.5rem); }
body.home-route #app-content { max-width: none; padding: 0; background: #fff; }
.home-body { display: grid; gap: var(--space-5); max-width: var(--content-max); margin: 0 auto; padding: var(--space-5) clamp(1rem, 3vw, 3.5rem); }

.page-header { margin-bottom: var(--space-5); }
.home-pinned { background: #faf9f8; }
.home-pinned .page-header { max-width: var(--content-max); margin: 0 auto; padding: var(--space-5) clamp(1rem, 3vw, 3.5rem); }
.home-pinned .hero-strip { width: 100%; height: 10px; margin: 0; border-radius: 0; }
.breadcrumbs { display: flex; gap: .4rem; align-items: center; margin-bottom: .6rem; color: var(--vcxm-muted); font-size: 0.859rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs .oj-ux-ico-up-parent { color: var(--vcxm-muted) !important; }
.page-header h1 { margin: 0 0 .35rem; font-size: clamp(1.6rem, 1.42rem + .35vw, 1.74rem); letter-spacing: -.02em; }
.page-header p { margin: 0; color: var(--vcxm-muted); }
.hero-strip { height: .55rem; border: 0; border-radius: var(--radius-md) var(--radius-md) 0 0; background: url("/images/color_stripe-1.jpg") center / cover no-repeat; }
.content-panel { border: 1px solid var(--vcxm-border); border-radius: 8px; background: var(--vcxm-surface); box-shadow: var(--shadow-1); }
.panel-pad { padding: clamp(1rem, 2vw, 2rem); }

.health-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--vcxm-border); border-radius: 8px; background: #fff; }
.health-item { padding: var(--space-4); border-right: 1px solid var(--vcxm-border); }
.health-item:last-child { border: 0; }
.health-item span { display: block; color: var(--vcxm-muted); font-size: .8rem; }
.health-item strong { display: inline-block; margin: .25rem .4rem .15rem 0; font-size: 1.45rem; }
.health-item button { border: 0; background: transparent; color: var(--vcxm-teal); cursor: help; }
.home-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: var(--space-5); }
.home-column { min-width: 0; padding: clamp(1rem, 2vw, 2rem); border: 1px solid var(--vcxm-border); border-radius: 8px; background: #fff; }
.home-lower-section { min-width: 0; padding: clamp(1.25rem, 2vw, 2rem); border: 1px solid var(--vcxm-border); border-radius: 8px; background: #fff; }
.home-lower-section h2 { margin: 0 0 .85rem; font-size: 1.45rem; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); gap: var(--space-5); overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.featured-card { position: relative; isolation: isolate; display: flex; align-items: end; min-height: 9.35rem; overflow: hidden; border-radius: var(--radius-md); background-position: center; background-size: cover; color: #fff; text-decoration: none; box-shadow: var(--shadow-1); }
.featured-card::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(180deg, transparent 25%, rgb(0 0 0 / 82%) 100%); }
.featured-card:hover { color: #fff; box-shadow: 0 4px 14px rgb(22 21 19 / 22%); }
.featured-card:visited { color: #fff; }
.featured-card-copy { display: grid; gap: .25rem; width: 100%; padding: 1.15rem 1.25rem; }
.featured-card-copy strong { font-size: 1rem; }
.featured-card-copy span { font-size: .78rem; line-height: 1.35; }
.featured-adoption { background-image: url("/images/featured-adoption.jpg"); }
.featured-ai { background-image: url("/images/featured-ai.jpg"); }
.featured-finance { background-image: url("/images/featured-finance.jpg"); }
.featured-data { background-image: url("/images/featured-data.jpg"); }
.featured-updates { background-image: url("/images/featured-updates.jpg"); }
.roadmaps-section { padding-bottom: 3.5rem; }
.roadmaps-heading { margin-bottom: 1.15rem; }
.roadmaps-heading h2 { margin-bottom: .2rem; }
.roadmaps-heading p { margin: 0; color: var(--vcxm-muted); }
.roadmaps-table-wrap { overflow-x: auto; background: rgb(255 255 255 / 94%); }
.roadmaps-table { width: 100%; min-width: 44rem; border-collapse: collapse; }
.roadmaps-table th, .roadmaps-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--vcxm-border); text-align: left; }
.roadmaps-table th { font-size: .9rem; }
.roadmaps-table th span { margin-left: .35rem; font-weight: 400; }
.roadmaps-table a { text-decoration: none; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: var(--space-4); }
.section-title h2, .section-title h3 { margin: 0; }
.section-title p { margin: .25rem 0 0; color: var(--vcxm-muted); }
.eyebrow { color: var(--vcxm-red); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.project-summary, .feature-card, .journey-card, .interest-row { border: 1px solid var(--vcxm-border); border-radius: var(--radius-sm); background: #fff; }
.project-summary { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3); padding: var(--space-4); margin-bottom: var(--space-3); }
.project-summary h3, .feature-card h3 { margin: 0 0 .3rem; font-size: 1rem; }
.meta { display: flex; flex-wrap: wrap; gap: .35rem .8rem; color: var(--vcxm-muted); font-size: .8rem; }
.progress-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; }
.progress-row oj-c-progress-bar { min-width: 0; }
.progress-track { height: .45rem; overflow: hidden; border-radius: 999px; background: #e8e5e2; }
.progress-fill { height: 100%; background: var(--vcxm-teal); }
.recommendation { grid-column: 1/-1; padding: .65rem .8rem; border-left: 3px solid var(--vcxm-amber); background: #fff8e6; font-size: .85rem; }
.feature-list { display: grid; gap: var(--space-3); }
.feature-card { padding: var(--space-4); }
.feature-card button, .feature-link { padding: 0; border: 0; background: none; color: var(--vcxm-teal); font-weight: 700; text-align: left; cursor: pointer; }
.reason { margin-top: .65rem; padding: .35rem .5rem; border-left: 3px solid var(--vcxm-teal); background: #eef7f8; color: var(--vcxm-teal-dark); font-size: .78rem; }
.pill { display: inline-flex; align-items: center; gap: .3rem; min-height: 1.45rem; padding: .15rem .5rem; border-radius: 999px; background: #e8e5e2; color: #3d3936; font-size: .72rem; font-weight: 700; }
.pill.good { background: #e3f2df; color: var(--vcxm-green); }
.pill.risk { background: #fae8e4; color: var(--vcxm-risk); }
.pill.info { background: #dff1f5; color: var(--vcxm-teal-dark); }
.pill.warn { background: #fff0c9; color: #765000; }
.pill.neutral { background: #eceae8; color: var(--vcxm-muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: var(--space-5); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.5rem; padding: .45rem .9rem; border: 1px solid var(--vcxm-teal); border-radius: var(--radius-sm); background: #fff; color: var(--vcxm-teal); font-weight: 700; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--vcxm-teal); color: #fff; }
.button.danger { border-color: var(--vcxm-risk); color: var(--vcxm-risk); }

.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; padding: var(--space-4); border: 1px solid var(--vcxm-border); background: #fff; }
.field { display: grid; gap: .3rem; min-width: 10rem; }
.field.grow { flex: 1 1 18rem; }
.field label { font-size: .78rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 2.55rem; padding: .5rem .65rem; border: 1px solid #8b8580; border-radius: var(--radius-sm); background: #fff; color: var(--vcxm-ink); }
.field textarea { min-height: 6rem; resize: vertical; }
.results-count { margin: var(--space-4) 0 .6rem; font-weight: 700; }
.project-list { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.project { border: 1px solid var(--vcxm-border); background: #fff; }
.project > summary { list-style: none; display: grid; grid-template-columns: minmax(14rem, 1.5fr) 1fr .6fr auto; gap: 1rem; align-items: center; min-height: 5rem; padding: var(--space-4); cursor: pointer; }
.project > summary::-webkit-details-marker { display: none; }
.project > summary:hover { background: #faf9f8; }
.project-name { display: grid; gap: .2rem; }
.project-name small { color: var(--vcxm-muted); }
.project-body { padding: 0 var(--space-4) var(--space-4); background: var(--vcxm-surface-muted); border-top: 1px solid var(--vcxm-border); }
.project-context { display: grid; grid-template-columns: .7fr 1fr 1.25fr 1.5fr; gap: .75rem 1.2rem; margin: 1rem 0; padding: .8rem 1rem; border: 1px solid var(--vcxm-border); background: #fff; }
.project-context > div { display: grid; align-content: start; gap: .35rem; min-width: 0; }
.project-context > div > span { color: var(--vcxm-muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.project-context p { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.member-chip { display: inline-flex; align-items: center; padding: .16rem .45rem; border: 1px solid var(--vcxm-border); border-radius: 999px; color: var(--vcxm-ink); font-size: .75rem; }
.service { margin-top: var(--space-3); border: 1px solid var(--vcxm-border); background: #fff; }
.service summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; cursor: pointer; font-weight: 700; }
.activity-table, .features-table { width: 100%; border-collapse: collapse; }
.activity-table th, .activity-table td, .features-table th, .features-table td { padding: .7rem; border-top: 1px solid var(--vcxm-border); text-align: left; vertical-align: top; }
.activity-table th, .features-table th { color: var(--vcxm-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.track-control { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.empty-state, .error-state, .loading-state { display: grid; place-items: center; gap: .5rem; min-height: 15rem; padding: 2rem; text-align: center; }
.empty-state p, .error-state p { max-width: 40rem; color: var(--vcxm-muted); }

.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--vcxm-border); }
.tabs button { padding: .7rem 1rem; border: 0; border-bottom: 3px solid transparent; background: transparent; cursor: pointer; }
.tabs button.active { border-bottom-color: var(--vcxm-red); font-weight: 800; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--vcxm-border); }
.features-table { min-width: 62rem; }
.features-table tbody tr:hover { background: #faf9f8; }
.features-page { border: 0; box-shadow: none; }
.features-overview { max-width: 76rem; padding-bottom: var(--space-5); }
.features-overview h2, .features-catalog-heading h2 { margin: .25rem 0 .45rem; font-size: 1.35rem; }
.features-overview p, .features-catalog-heading p { max-width: 74rem; margin: 0; color: var(--vcxm-muted); line-height: 1.45; }
.feature-tabs { display: inline-flex; gap: .2rem; padding: .2rem; border: 1px solid var(--vcxm-border); border-radius: var(--radius-sm); background: var(--vcxm-surface-muted); }
.feature-tabs button { min-height: 2.6rem; padding: .45rem 1rem; border: 1px solid transparent; border-radius: .18rem; color: var(--vcxm-muted); font-weight: 600; }
.feature-tabs button:hover { background: rgb(255 255 255 / 70%); color: var(--vcxm-ink); }
.feature-tabs button.active { border-color: var(--vcxm-teal); background: #fff; color: var(--vcxm-ink); box-shadow: 0 1px 3px rgb(22 21 19 / 10%); }
.features-catalog-heading { margin-top: clamp(2rem, 4vw, 3.5rem); }
.features-toolbar { margin-top: var(--space-4); padding: var(--space-4) 0; border: 0; border-bottom: 1px solid var(--vcxm-border); background: transparent; }
.features-toolbar .field.grow { flex-basis: 24rem; }
.features-toolbar .button { align-self: end; }
.features-page .results-count { margin-top: var(--space-5); }
.features-table-wrap { border: 0; border-top: 1px solid var(--vcxm-border); }
.features-page .features-table th { padding-top: .85rem; padding-bottom: .85rem; border-top: 0; color: var(--vcxm-ink); font-size: .78rem; text-transform: none; letter-spacing: 0; }
.features-page .features-table td { padding-top: .9rem; padding-bottom: .9rem; }
.features-page .features-table .reason { margin-top: .25rem; padding: 0; border: 0; background: transparent; color: var(--vcxm-muted); font-size: .78rem; }
.sort-button { border: 0; background: transparent; font-weight: inherit; cursor: pointer; }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.interest-panel { min-width: 0; padding: var(--space-5); border: 1px solid var(--vcxm-border); border-radius: 8px; background: #fff; }
.interest-row { border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem; margin-top: .65rem; }
.interest-row p { margin: .2rem 0 0; color: var(--vcxm-muted); font-size: .8rem; }

.journey-stepper { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(10rem, 1fr); overflow-x: auto; border: 1px solid var(--vcxm-border); background: #fff; }
.journey-stepper button { position: relative; min-height: 5.25rem; padding: .8rem; border: 0; border-right: 1px solid var(--vcxm-border); border-bottom: 4px solid transparent; background: #fff; text-align: left; cursor: pointer; }
.journey-stepper button:last-child { border-right: 0; }
.journey-stepper button.active { border-bottom-color: var(--vcxm-red); background: #faf4f2; }
.journey-stepper small { display: block; margin-top: .25rem; color: var(--vcxm-muted); }
.journey-layout { display: grid; grid-template-columns: minmax(13rem, .28fr) minmax(0, 1fr); border: 1px solid var(--vcxm-border); border-top: 0; background: #fff; }
.topic-nav { border-right: 1px solid var(--vcxm-border); }
.topic-nav button { width: 100%; padding: .85rem 1rem; border: 0; border-bottom: 1px solid var(--vcxm-border); background: #fff; text-align: left; cursor: pointer; }
.topic-nav button.active { background: #e7e5e3; font-weight: 700; }
.journey-detail { padding: clamp(1rem, 2.5vw, 2.2rem); }
.journey-detail h2 { margin-top: 0; }
.journey-complete-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: .75rem 0 1.5rem; padding: 1rem; border: 1px solid var(--vcxm-border); border-radius: var(--radius-sm); background: #f5faf7; }
.journey-complete-actions p { flex: 1 1 16rem; min-width: 0; margin: 0; color: var(--vcxm-muted); font-size: .88rem; line-height: 1.45; }
.journey-complete-actions .button { max-width: 100%; white-space: normal; text-align: center; }
.journey-objective { max-width: 52rem; color: var(--vcxm-muted); line-height: 1.45; }
.journey-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.next-action { padding: 1rem; border-left: 4px solid var(--vcxm-red); background: #fbf1ee; }
.journey-activities { margin: 1.7rem 0; border-top: 1px solid var(--vcxm-border); border-bottom: 1px solid var(--vcxm-border); }
.journey-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1rem 0 .75rem; }
.journey-section-heading h3 { margin: .15rem 0 0; }
.journey-section-heading > span { color: var(--vcxm-muted); font-size: .8rem; }
.journey-activities > ol { display: grid; margin: 0; padding: 0; list-style: none; }
.journey-activities > ol > li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: .8rem; align-items: start; padding: 1.1rem 0; border-top: 1px solid var(--vcxm-border); }
.journey-activity-content { min-width: 0; overflow-wrap: anywhere; }
.journey-activity-instructions ol, .journey-activity-instructions ul { margin: .6rem 0; padding-left: 1.35rem; }
.journey-activity-instructions li { margin: .4rem 0; }
.journey-activity-references { margin-top: .85rem; }
.journey-activity-references h4 { margin: 0 0 .35rem; font-size: .88rem; }
.journey-activity-references ul { margin: 0; padding-left: 1.2rem; }
.journey-activity-references li { margin: .35rem 0; }
.journey-planned-activities { margin-top: 1.5rem; }
.journey-planned-activities ol { margin: .8rem 0 1rem; padding-left: 1.35rem; }
.journey-planned-activities li { padding: .4rem 0; }
.journey-planned-activities small { display: block; color: var(--vcxm-muted); }
.journey-planned-activities .button { max-width: 100%; white-space: normal; }
.activity-number { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #e9eef4; color: #405778; font-weight: 800; }
.journey-activities p { margin: .25rem 0 0; color: var(--vcxm-muted); font-size: .86rem; line-height: 1.35; }
.journey-milestones { display: grid; gap: .5rem; padding-left: 0; list-style: none; }
.journey-milestones li { display: flex; gap: .45rem; align-items: baseline; }
.journey-milestones li > span { color: var(--vcxm-teal); font-weight: 800; }

.architecture-intro { padding: clamp(1rem, 2.5vw, 2rem); background: linear-gradient(112deg, #eef7f8, #fff 70%); border: 1px solid var(--vcxm-border); }
.architecture-form { display: grid; gap: .9rem; max-width: 76rem; }
.architecture-form label { display: grid; gap: .25rem; }
.architecture-form label span { color: var(--vcxm-muted); font-size: .9rem; }
.architecture-form textarea { min-height: 6.4rem; padding: .75rem; border: 1px solid #8b8580; border-radius: var(--radius-sm); resize: vertical; }
.architecture-form-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.architecture-examples { display: flex; flex-wrap: wrap; gap: .45rem; }
.architecture-examples button { min-height: 2.25rem; padding: .35rem .65rem; border: 1px solid var(--vcxm-border); border-radius: 999px; background: #fff; color: var(--vcxm-teal); font-size: .8rem; cursor: pointer; }
.architecture-result { margin-top: var(--space-5); padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid var(--vcxm-border); background: #fff; }
.architecture-result-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.architecture-result-heading h2 { margin: .2rem 0 .4rem; }
.architecture-result-heading p { max-width: 48rem; margin: 0; color: var(--vcxm-muted); line-height: 1.45; }
.architecture-diagram { display: flex; align-items: center; gap: .5rem; margin: 1.7rem 0; padding: 1.1rem; overflow-x: auto; background: #f6f8fa; border: 1px solid #dae2e8; }
.architecture-node { display: grid; grid-template-columns: auto 1fr; column-gap: .45rem; row-gap: .1rem; flex: 0 0 11.5rem; min-height: 5.3rem; padding: .8rem; border: 1px solid #a9bac7; border-top: 4px solid var(--vcxm-teal); background: #fff; }
.architecture-node-number { grid-row: span 2; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #dff1f5; color: var(--vcxm-teal-dark); font-size: .72rem; font-weight: 800; }
.architecture-node small { grid-column: 2; color: var(--vcxm-muted); font-size: .74rem; }
.architecture-connector { flex: 0 0 auto; color: var(--vcxm-teal); font-size: 1.55rem; }
.architecture-columns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.architecture-columns h3 { margin-top: 0; }
.architecture-decisions { display: grid; gap: .8rem; padding-left: 1.3rem; }
.architecture-decisions li { padding-left: .2rem; line-height: 1.4; }
.architecture-references { display: grid; gap: .55rem; padding-left: 1.1rem; }
.architecture-note { margin: 1rem 0 0; padding: .75rem; border-left: 3px solid var(--vcxm-amber); background: #fff8e6; color: #55451d; font-size: .85rem; line-height: 1.4; }
.architecture-empty { display: grid; place-items: center; gap: .4rem; min-height: 20rem; margin-top: var(--space-5); padding: 2rem; border: 1px dashed #a9bac7; background: #fff; text-align: center; }
.architecture-empty > span { color: var(--vcxm-teal); font-size: 2.2rem; }
.architecture-empty h2 { margin: .25rem 0; }
.architecture-empty p { max-width: 38rem; margin: 0; color: var(--vcxm-muted); line-height: 1.45; }

.assistant-layout { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
#app-content > #sr-panel { min-width: 0; margin-block: var(--space-5) var(--space-6); scroll-margin-block-start: var(--space-5); }
.chat-sidebar { display: flex; flex-direction: column; gap: 1.15rem; padding: .25rem 0; min-width: 0; }
.chat-new { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; border: 1px solid var(--vcxm-border); background: #fff; }
.chat-sidebar-heading { display: flex; flex-direction: column; gap: .3rem; }
.chat-sidebar h2 { margin: 0; font-size: .87rem; color: var(--vcxm-ink); }
.chat-sidebar-heading > span, .chat-muted, .chat-session-note { color: var(--vcxm-muted); font-size: .78rem; line-height: 1.5; }
.chat-session-note { margin: -.4rem .25rem 0; }
.chat-recents { display: grid; gap: .3rem; max-height: 17rem; overflow-y: auto; margin-top: -.6rem; }
.chat-recent { display: flex; align-items: center; gap: .6rem; width: 100%; border: 0; border-radius: 6px; background: transparent; padding: .7rem; min-height: 44px; color: var(--vcxm-muted); text-align: left; cursor: pointer; }
.chat-recent:hover { background: #eeebe7; }
.chat-recent.is-active { background: #e0eeec; color: #175e57; font-weight: 600; }
.chat-recent-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.chat-recent-pending { margin-left: auto; }
.chat-sidebar-tools { display: grid; gap: .65rem; padding-top: 1.2rem; border-top: 1px solid var(--vcxm-border); }
.chat-sidebar-tools a, .chat-sidebar-tools button { display: flex; align-items: center; gap: .6rem; border: 0; background: transparent; padding: .3rem; color: var(--vcxm-muted); text-align: left; text-decoration: none; font-size: .83rem; cursor: pointer; min-height: 40px; }
.chat-sidebar-tools a:hover, .chat-sidebar-tools button:hover { color: var(--vcxm-teal); }
.chat-about { font-size: .78rem; color: var(--vcxm-muted); line-height: 1.55; }
.chat-about summary { cursor: pointer; padding: .5rem .25rem; }
.chat-about p { margin: .5rem .25rem; }
.chat-panel { min-width: 0; overflow: hidden; border: 1px solid var(--vcxm-border); border-radius: 8px; background: #fff; }
.chat-toolbar { display: flex; align-items: center; gap: .75rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid #eeebe7; }
.chat-toolbar > div { min-width: 0; }
.chat-toolbar h2 { font-size: .94rem; line-height: 1.4; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-toolbar p { font-size: .78rem; color: var(--vcxm-muted); margin: .2rem 0 0; }
.chat-toolbar-icon, .chat-empty-icon { display: grid; place-items: center; background: #eef5f3; color: #226a61; border-radius: 10px; width: 2.3rem; height: 2.3rem; flex: 0 0 auto; }
.chat-history { min-height: 24rem; height: min(55vh, 42rem); overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem; }
.message { width: fit-content; max-width: 94%; margin-bottom: 1.7rem; padding: .25rem 0; color: var(--vcxm-ink); line-height: 1.65; overflow-wrap: anywhere; }
.message.user { margin-left: auto; padding: .9rem 1.1rem; border-radius: 12px 12px 3px 12px; background: #f1f3f2; max-width: 85%; }
.chat-message-label { display: flex; gap: .4rem; align-items: center; margin-bottom: .45rem; color: var(--vcxm-muted); font-size: .72rem; font-weight: 600; }
.chat-message-body > p { margin: 0; white-space: pre-wrap; }
.chat-message-link { display: inline-block; margin-top: .7rem; }
.chat-error { padding: .8rem 1rem; border-left: 3px solid #b05538; background: #fff7f2; }
.chat-markdown { font-size: .94rem; }
.chat-markdown p { margin: 0 0 .85rem; white-space: normal; }
.chat-markdown h1, .chat-markdown h2, .chat-markdown h3, .chat-markdown h4, .chat-markdown h5, .chat-markdown h6 { margin: 1.1rem 0 .5rem; line-height: 1.4; font-weight: 650; }
.chat-markdown h1, .chat-markdown h2 { font-size: 1.15rem; }
.chat-markdown h3, .chat-markdown h4, .chat-markdown h5, .chat-markdown h6 { font-size: 1rem; }
.chat-markdown > :first-child { margin-top: 0; }
.chat-markdown > :last-child { margin-bottom: 0; }
.chat-markdown ul, .chat-markdown ol { margin: .45rem 0 1rem; padding-left: 1.5rem; }
.chat-markdown li { margin: .3rem 0; }
.chat-markdown li > p { margin: .25rem 0; }
.chat-markdown blockquote { border-left: 3px solid #94b8af; margin: .9rem 0; padding: .25rem 1rem; color: var(--vcxm-muted); }
.chat-markdown code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: #f0efec; padding: .15rem .3rem; border-radius: 4px; }
.chat-markdown pre { max-width: 100%; overflow-x: auto; background: #252c2c; color: #eef5f1; padding: 1rem; border-radius: 7px; font-size: .85rem; line-height: 1.6; }
.chat-markdown pre code { background: none; padding: 0; color: inherit; white-space: pre; font-size: inherit; }
.chat-markdown-table { max-width: 100%; overflow-x: auto; margin: 1rem 0; }
.chat-markdown table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.chat-markdown th, .chat-markdown td { padding: .55rem .7rem; border: 1px solid var(--vcxm-border); vertical-align: top; text-align: left; }
.chat-markdown th { background: #f2f5f3; font-weight: 600; }
.chat-markdown a { color: #176878; text-decoration: underline; text-underline-offset: 3px; }
.chat-markdown hr { border: 0; border-top: 1px solid var(--vcxm-border); margin: 1.2rem 0; }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; gap: .6rem .75rem; padding: 1rem 1.5rem .8rem; border-top: 1px solid #eeebe7; background: #fff; }
.chat-form textarea { width: 100%; min-height: 4rem; max-height: 10rem; padding: .8rem; resize: vertical; border: 1px solid #b2b6b3; border-radius: 7px; line-height: 1.45; background: #fcfcfb; }
.chat-form button { min-width: 6rem; min-height: 3rem; margin-bottom: .2rem; }
.chat-keyboard-hint { grid-column: 1 / -1; font-size: .72rem; color: var(--vcxm-muted); margin: 0; }
.chat-empty { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; max-width: 34rem; margin: 0 auto; padding: 1rem 0; }
.chat-empty-icon { width: 3rem; height: 3rem; font-size: 1.5rem; margin-bottom: .7rem; }
.chat-empty h3 { margin: .3rem 0; font-size: 1.35rem; }
.chat-empty > p { margin: .4rem 0 1.3rem; color: var(--vcxm-muted); line-height: 1.6; font-size: .9rem; }
.chat-starters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chat-starter { display: flex; align-items: center; gap: .4rem; background: #fff; color: var(--vcxm-ink); border: 1px solid #dedfda; padding: .65rem .8rem; border-radius: 6px; font-size: .8rem; cursor: pointer; min-height: 44px; }
.chat-starter:hover { background: #f3f7f5; border-color: #9cb8af; }
.chat-thinking { display: flex; align-items: center; gap: .6rem; color: var(--vcxm-muted); font-size: .8rem; margin: .5rem 0; }
.chat-thinking > span { letter-spacing: .2rem; color: var(--vcxm-teal); font-size: .65rem; }
@media (max-width: 900px) {
  .assistant-layout { grid-template-columns: 1fr; gap: 1rem; }
  .chat-sidebar { gap: .6rem; }
  .chat-sidebar-heading { flex-direction: row; justify-content: space-between; }
  .chat-new { width: auto; align-self: start; }
  .chat-recents { display: flex; gap: .5rem; overflow-x: auto; max-height: none; margin: 0; padding: .2rem 0; }
  .chat-recent { min-width: 9rem; width: auto; max-width: 16rem; flex: 0 0 auto; }
  .chat-sidebar-tools { display: flex; align-items: center; flex-wrap: wrap; padding-top: .5rem; gap: .4rem 1rem; }
  .chat-sidebar-tools h2 { display: none; }
  .chat-about { max-width: 42rem; }
  .chat-session-note { margin: 0; }
  .chat-history { height: 50vh; min-height: 20rem; padding: 1rem; }
  .chat-toolbar { padding: 1rem; }
  .chat-form { padding: 1rem; }
}
@media (max-width: 480px) {
  .chat-form { grid-template-columns: minmax(0, 1fr); }
  .chat-form button { justify-self: end; }
  .message, .message.user { max-width: 100%; }
  .chat-starters { flex-direction: column; width: 100%; }
}

.warning-box { margin-top: 1rem; padding: .8rem; border-left: 3px solid var(--vcxm-amber); background: #fff8e6; font-size: .8rem; }

.feature-drawer { position: fixed; z-index: 80; inset: 0 0 0 auto; width: min(50rem, 96vw); overflow-y: auto; transform: translateX(103%); transition: transform .2s ease; background: #fff; box-shadow: -4px 0 20px rgb(0 0 0 / 18%); }
.feature-drawer.open { transform: translateX(0); }
.drawer-backdrop { z-index: 75; inset: 0; }
.drawer-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--vcxm-border); background: #fff; }
.drawer-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.drawer-external-link { display: inline-grid; place-items: center; min-width: 2.4rem; min-height: 2.4rem; border-radius: .2rem; color: var(--vcxm-muted); font-size: 1.35rem; text-decoration: none; }
.drawer-external-link:hover { background: #e6f4f3; }
.drawer-external-link:visited {color: var(--vcxm-muted);}
.drawer-content { padding: clamp(1rem, 3vw, 2.2rem); }
.drawer-content h2 { margin-top: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.drawer-update-type { margin-bottom: 1rem; }
.drawer-content h3 { margin: 1.5rem 0 .5rem; }
.drawer-content li { margin-bottom: .4rem; }
.drawer-figure { margin: 1.5rem 0; overflow: hidden; border: 1px solid var(--vcxm-border); border-radius: .25rem; background: #f7f8f8; }
.drawer-figure img { display: block; width: 100%; height: auto; }
.drawer-figure figcaption { padding: .7rem .85rem; color: var(--vcxm-muted); font-size: .85rem; line-height: 1.35; }
.drawer-close { min-width: 2.4rem; min-height: 2.4rem; border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; }
.notifications-backdrop { position: fixed; z-index: 85; inset: 0; background: rgb(0 0 0 / 42%); }
.notifications-drawer { position: fixed; z-index: 90; inset: 0 0 0 auto; display: grid; grid-template-rows: auto 1fr auto; width: min(30rem, 92vw); min-height: 100%; transform: translateX(103%); transition: transform .2s ease; overflow-y: auto; background: var(--vcxm-topbar); color: #fff; box-shadow: -4px 0 20px rgb(0 0 0 / 28%); }
.notifications-drawer.open { transform: translateX(0); }
.notifications-header { padding: 1.9rem 2.25rem 1rem; background: var(--vcxm-topbar); }
.notifications-title-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.notifications-header h2 { margin: 0; color: #fff; font-size: .82rem; }
.notifications-list { display: flex; align-items: center; flex-direction: column; gap: .45rem; padding: .7rem 2.25rem; border-top: 1px solid rgb(255 255 255 / 18%); }
.notifications-list p { margin: 0; color: #cbc7c4; text-align: center; }
.notifications-list > span { color: #817b77; }
#notifications-empty { width: 100%; }
.content-notifications { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.content-notification { display: grid; gap: .35rem; padding: 1rem; border: 1px solid rgb(255 255 255 / 25%); border-radius: var(--radius-sm); color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.content-notification:hover { background: rgb(255 255 255 / 10%); color: #fff; }
.content-notification:focus-visible { outline: 2px solid #72d7c7; outline-offset: 2px; }
.content-notification-kind { color: #d4d0cd; font-size: .75rem; }
.content-notification-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #e0dcda; font-size: .875rem; }
.contact-alert .content-notification-summary { display: block; overflow: visible; -webkit-line-clamp: unset; }
.contact-alert .button { align-self: start; justify-self: start; white-space: normal; }
.notifications-button:disabled { opacity: .55; cursor: default; }
.notifications-button { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .45rem 1rem; border: 1px solid rgb(255 255 255 / 84%); border-radius: var(--radius-sm); background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.notifications-button:hover { background: rgb(255 255 255 / 12%); }
.notifications-footer { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; padding: .75rem; }
.notifications-close { display: grid; flex-shrink: 0; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #fff; border-radius: var(--radius-sm); background: transparent; color: #fff; font-size: 1.65rem; line-height: 1; cursor: pointer; }
.notifications-close:hover { background: rgb(255 255 255 / 12%); }
.assistance-backdrop { position: fixed; z-index: 85; inset: 0; background: rgb(0 0 0 / 32%); }
.assistance-drawer { position: fixed; z-index: 90; inset: 0 0 0 auto; display: flex; flex-direction: column; width: min(24.5rem, 100vw); visibility: hidden; transform: translateX(103%); transition: transform .2s ease, visibility 0s linear .2s; background: #fff; box-shadow: -4px 0 20px rgb(0 0 0 / 18%); }
.assistance-drawer.open { visibility: visible; transform: translateX(0); transition-delay: 0s; }
.assistance-header { padding: 1.15rem 1.35rem .75rem; background: var(--vcxm-topbar); color: #fff; }
.assistance-title-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 .45rem .85rem; font-size: 1.125rem; }
.assistance-close { width: 2.5rem; height: 2.5rem; border: 0; border-radius: var(--radius-sm); background: transparent; color: #fff; font-size: 1.65rem; cursor: pointer; }
.assistance-close:hover { background: rgb(255 255 255 / 12%); }
.assistance-search { display: flex; align-items: center; gap: .55rem; padding: 0 1rem; border-radius: 999px; background: #161513; color: #fff; }
.assistance-search input { flex: 1; width: 100%; min-width: 0; height: 3rem; border: 0; outline: 0; background: transparent; color: #fff; }
.assistance-search input::placeholder { color: #aaa5a1; }
.assistance-search button { border: 0; background: transparent; color: #fff; font-size: 1.35rem; cursor: pointer; }
.assistance-content { flex: 1; overflow-y: auto; padding: 1rem 1.2rem 1.5rem; }
.assistance-group { padding: .85rem 0; border-top: 1px solid var(--vcxm-border); }
.assistance-group:first-child { border-top: 0; }
.assistance-group > summary { margin-bottom: .8rem; font-weight: 800; cursor: pointer; }
.assistance-checklist-card { overflow: hidden; border: 1px solid var(--vcxm-border); border-radius: var(--radius-sm); }
.assistance-checklist-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .55rem; align-items: center; min-height: 3rem; padding: .55rem .75rem; border-bottom: 1px solid var(--vcxm-border); }
.assistance-checklist-heading > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.assistance-checklist, .assistance-resources { display: grid; margin: 0; padding: 0; list-style: none; }
.assistance-checklist li, .assistance-resources li { display: flex; align-items: center; gap: .65rem; min-height: 4rem; padding: .55rem .75rem; }
.assistance-checklist li + li { border-top: 1px solid var(--vcxm-border); }
.assistance-checklist li > a, .assistance-resources li > a { flex: 1; }
.assistance-checklist a, .assistance-resources a { color: var(--vcxm-ink); text-decoration: none; }
.assistance-checklist a:hover, .assistance-resources a:hover { color: var(--vcxm-teal); text-decoration: underline; }
.checklist-toggle { display: grid; place-items: center; flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; padding: 0; border: 2px solid var(--vcxm-ink); border-radius: 2px; background: #fff; color: transparent; cursor: pointer; }
.assistance-checklist li.complete .checklist-toggle { border-color: var(--vcxm-ink); background: var(--vcxm-ink); color: #fff; }
.assistance-popout { display: block; min-height: 2.75rem; padding: .75rem; border-top: 1px solid var(--vcxm-border); color: var(--vcxm-ink); text-decoration: none; }
.assistance-resources { margin-top: .7rem; }
.assistance-resources li { padding-inline: 1.2rem; }
.assistance-more { color: var(--vcxm-ink); font-size: 1.25rem; font-weight: 800; }
.assistance-empty { padding: 1.25rem .25rem; color: var(--vcxm-muted); text-align: center; }
.toast { position: fixed; z-index: 100; top: 4rem; right: 1rem; max-width: 28rem; padding: .8rem 1rem; border-left: 4px solid var(--vcxm-green); background: #fff; box-shadow: var(--shadow-1); }
.footer { position: sticky; bottom: 0; z-index: 40; flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: .75rem 2rem; width: 100%; padding: 8px 16px; border-top: 1px solid var(--vcxm-border); background: var(--vcxm-bg); color: var(--vcxm-muted); font-size: .78rem; line-height: 1.5; }
.footer-content { min-width: 0; }
.footer-content:last-child { margin-left: auto; text-align: right; }
.footer .privacy-link { color: var(--vcxm-ink); }
.login-screen { grid-template-rows: minmax(0, 1fr) auto; gap: 20px; padding-bottom: 0; }
.login-screen > .footer { width: calc(100% + 48px); margin-inline: -24px; }

@media (min-width: 72rem) {
  .side-nav.pinned { transform: translateX(0); }
  .side-nav.pinned ~ main { margin-left: 20rem; }
  .nav-scrim { display: none; }
}
@media (max-width: 62rem) {
  .home-grid, .interest-grid, .assistant-layout { grid-template-columns: 1fr; }
  .health-strip { grid-template-columns: 1fr 1fr; }
  .health-item:nth-child(2) { border-right: 0; }
  .health-item:nth-child(-n+2) { border-bottom: 1px solid var(--vcxm-border); }
  .project > summary { grid-template-columns: 1fr auto; }
  .project > summary > :nth-child(2), .project > summary > :nth-child(3) { display: none; }
  .project-context { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 45rem) {
  .topbar { gap: .4rem; padding: 0 .6rem; }
  #app-content { padding-inline: .7rem; }
  .health-strip { grid-template-columns: 1fr; }
  .health-item { border-right: 0; border-bottom: 1px solid var(--vcxm-border); }
  .journey-layout, .journey-columns { grid-template-columns: 1fr; }
  .topic-nav { border-right: 0; border-bottom: 1px solid var(--vcxm-border); }
  .architecture-columns { grid-template-columns: 1fr; gap: var(--space-4); }
  .architecture-form-footer, .architecture-result-heading { align-items: stretch; flex-direction: column; }
  .architecture-form-footer .button { width: 100%; }
  .journey-activities > ol > li { grid-template-columns: 2rem minmax(0, 1fr); }
  .journey-activities > ol > li > .pill { grid-column: 2; justify-self: start; }
  .project-context { grid-template-columns: 1fr; }
  .activity-table thead { display: none; }
  .activity-table tr { display: grid; padding: .6rem 0; border-top: 1px solid var(--vcxm-border); }
  .activity-table td { border: 0; padding: .35rem .7rem; }
  .assistance-drawer { width: min(24.5rem, 100vw); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Digital AI CVM: clear context and free exploration. */
.brand-description { display: block; font-size: 10px; line-height: 1.25; font-weight: 400; letter-spacing: .05em; opacity: .85; }
.nav-group { display: block; margin: 20px 18px 8px; color: #53645e; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.home-start { padding: 24px; margin: 16px 0 24px; border: 1px solid #cbdcda; background: #eff6f3; border-radius: 12px; }
.home-start { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.home-start h2 { margin: 6px 0; }
.home-start p { max-width: 650px; margin-bottom: 0; }
.home-start .cta-row { flex-shrink: 0; flex-direction: column; }
.project-summary { position: relative; }
.project-home-link { color: inherit; text-decoration: none; }
.project-home-link::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.project-summary:has(a:hover), .project-summary:has(a:focus-visible) { outline: 2px solid #287b73; outline-offset: 2px; }
.project-form { max-width: 1000px; margin: 24px 0; }
.project-form .field { margin: 20px 0; }
.project-form textarea { width: 100%; min-height: 96px; padding: 12px; }
.project-form fieldset { border: 1px solid #d9dfdc; border-radius: 10px; margin: 24px 0; padding: 18px; }
.project-form legend { padding: 0 8px; font-size: 18px; font-weight: 600; }
.project-tenancy-control { display: flex; align-items: center; gap: 8px; min-width: 0; }
.project-tenancy-control select { min-width: 0; flex: 1; }
.project-tenancy-add { flex: 0 0 44px; min-height: 44px; padding: 0; }
.project-tenancy-add span { font-size: 24px; line-height: 1; }
.project-tenancy-dialog { box-sizing: border-box; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overflow-y: auto; border: 1px solid var(--control-border); border-radius: 12px; background: #fff; color: var(--vcxm-ink); box-shadow: 0 16px 48px #0003; }
.project-tenancy-dialog::backdrop { background: #17211db3; }
.project-tenancy-dialog h2 { margin: 0 0 12px; }
.project-tenancy-dialog .field { min-width: 0; margin: 20px 0; }
.project-tenancy-dialog .cta-row { justify-content: flex-end; }
.project-tenancy-dialog small, #project-tenancy-hint { color: var(--vcxm-muted); }
.selection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.selection-card { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid #d1d9d5; border-radius: 8px; cursor: pointer; background: white; }
.selection-card:has(input:checked) { border-color: #287b73; background: #eef6f2; }
.selection-card small { display: block; margin-top: 5px; color: #59655f; }
.selection-card input, .journey-check input, .assistance-checklist input { width: 20px; height: 20px; accent-color: #287b73; flex-shrink: 0; }
.form-feedback { color: #a33222; }
.chat-history .architecture-result { padding: 12px; }
.chat-history .architecture-diagram { display: grid; grid-template-columns: 1fr; }
.chat-history .architecture-connector { transform: rotate(90deg); text-align: center; }
.chat-history .architecture-columns { grid-template-columns: 1fr; }
@media (max-width: 700px) {
  .home-start { flex-direction: column; align-items: stretch; padding: 18px; }
  .selection-grid { grid-template-columns: 1fr; }
  .project-form { padding: 16px; }
  .brand { font-size: 16px; }
  .brand-description { font-size: 9px; }
}

.side-nav { overflow-y: auto; }

@media (max-width: 480px) {
  .brand { white-space: nowrap; flex-shrink: 0; font-size: 14px; }
  .brand-description { font-size: 8px; }
  .topbar { gap: 4px; }
  .topbar-action, .icon-button { min-width: 36px; }
  #logout-button { padding: .45rem .55rem; font-size: .8rem; flex-shrink: 0; }
  .project-form h2, .home-start h2 { font-size: 26px; }
}

@media (max-width: 400px) {
  .topbar { gap: 3px; padding-inline: 8px; }
  .brand > span:first-child { display: inline-block; }
  .brand > span:last-child { display: none; }
}

/* Project workspace: persistent navigation and focused content. */
.side-nav .nav-icon { display: inline-block; width: 28px; height: 28px; font-size: 25px; line-height: 28px; flex: 0 0 28px; text-align: center; }
.side-nav nav a { min-height: 48px; gap: 14px; padding-left: 20px; }
body.project-route .app-shell { height: calc(100dvh - var(--topbar-h)); }
body.project-route #main-content { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
body.project-route #app-content { width: 100%; max-width: none; min-height: 0; flex: 1; margin: 0; padding: 0; overflow: auto; }
body.project-route .footer { flex: 0 0 auto; padding: 8px 16px; margin: 0; background: #fff; }
.project-workspace { height: 100%; display: grid; grid-template-rows: auto 10px minmax(0, 1fr); }
.project-workspace-header { position: relative; padding: 22px 24px 18px; background: #f2f0ed; }
.project-workspace-header h1 { margin: 12px 0 0; font-size: 30px; line-height: 1.25; overflow-wrap: anywhere; }
.project-back { font-size: 14px; font-weight: 600; text-decoration: none; }
.project-demo-label { position: absolute; right: 24px; top: 26px; color: #66645f; font-size: 12px; }
.project-workspace > .hero-strip { margin: 0; height: 10px; border-radius: 0; }
.project-workspace-layout { position: relative; overflow: hidden; display: grid; grid-template-columns: 64px minmax(0, 1fr); min-height: 0; background: #f2f0ed; }
.project-workspace-layout.menu-expanded { grid-template-columns: 240px minmax(0, 1fr); }
.project-rail { background: #fff; border-right: 1px solid #dedbd6; display: flex; flex-direction: column; min-height: 0; padding: 4px 0; }
.project-rail-links { flex: 1; min-height: 0; overflow-y: auto; }
.project-rail a, .project-rail-toggle { display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 52px; text-decoration: none; color: #5a5a56; border: 0; border-left: 4px solid transparent; white-space: nowrap; }
.project-rail a:hover, .project-rail-toggle:hover { background: #f2f0ed; }
.project-rail a[aria-current] { color: #176b80; background: #e2ecee; border-color: #247f96; }
.project-rail .project-nav-label { display: none; font-size: 14px; line-height: 1.3; }
.menu-expanded .project-nav-label { display: inline; }
.project-rail .project-nav-icon { display: inline-block; width: 26px; height: 26px; flex: 0 0 26px; font-size: 26px; line-height: 26px; text-align: center; }
.project-rail-toggle { flex: 0 0 auto; margin-top: 12px; width: 100%; background: #fff; cursor: pointer; text-align: left; }
.project-workspace-content { grid-column: 2; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; padding-bottom: 64px; }
.project-workspace-content:focus:not(:focus-visible) { outline: none; }
.project-overview, .project-service-section, .project-members, .project-tasks { padding: 26px 32px; }
.project-oci-summary { margin-top: 24px; }
[data-project-connection] { padding: 26px 32px; }
.project-workspace-content h2 { margin: 0 0 20px; font-size: 25px; }
.project-workspace-content h3 { font-size: 18px; }
.project-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin: 26px 0; }
.project-info-grid dt { color: #62625e; font-size: 13px; margin-bottom: 6px; }
.project-info-grid dd { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.project-info-grid .info-wide { grid-column: span 3; max-width: 960px; }
.project-service-section { border-top: 1px solid #dad7d2; background: #fff; }
.project-workspace-content > .project-form { margin: 24px; max-width: 1100px; }
.project-phase-nav { display: flex; background: #f2f0ed; border-bottom: 1px solid #d8d5d1; overflow-x: auto; }
.project-phase-nav a { flex: 1 0 160px; padding: 18px; border-bottom: 3px solid transparent; text-decoration: none; color: #62615e; }
.project-phase-nav a strong { display: block; font-size: 14px; }
.project-phase-nav a small { display: block; margin-top: 10px; font-size: 11px; }
.project-phase-nav a.active { color: #202320; border-bottom-color: #247f96; background: #fff; }
.free-guide-note { padding: 10px 20px; margin: 0; color: #56615e; font-size: 12px; background: #f4f8f7; }
.project-guide-layout { display: grid; grid-template-columns: minmax(210px, 25%) minmax(0, 1fr); min-height: 580px; background: #fff; }
.project-topic-nav { border-right: 1px solid #ddd; background: #fcfbfa; }
.project-topic-nav a { display: block; padding: 17px 20px; border-bottom: 1px solid #dedbd6; color: #343732; text-decoration: none; font-size: 14px; font-weight: 600; }
.project-topic-nav a[aria-current] { background: #e4f1f5; color: #155e72; }
.project-guide-content { padding: 30px; min-width: 0; }
.guide-lead { max-width: 850px; font-size: 16px; line-height: 1.65; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0; }
.guide-card { padding: 22px; border: 1px solid #d3dfda; border-top: 5px solid #89b5ac; border-radius: 6px; text-decoration: none; color: #343732; background: #f5f8f5; }
.guide-card h3 { margin: 0 0 10px; }
.guide-card p { font-size: 14px; line-height: 1.5; }
.guide-card span { font-size: 12px; color: #176b80; font-weight: 600; }
.guide-points { margin: 24px 0; padding-left: 24px; line-height: 2; }
.guide-callout, .success-metric { background: #f2f5ef; border-left: 4px solid #a9bcb0; padding: 18px 22px; margin: 24px 0; }
.guide-callout p, .success-metric p { margin-bottom: 0; }
.guide-resources { border-top: 1px solid #ddd; padding-top: 20px; margin-top: 32px; }
.milestone-question { display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 16px; padding: 22px 0; border-bottom: 1px solid #ddd; align-items: center; cursor: pointer; }
.milestone-question small { display: block; margin-top: 8px; font-size: 13px; color: #666b64; line-height: 1.6; }
.question-number { display: grid; place-items: center; border-radius: 50%; background: #707d98; color: white; width: 34px; height: 34px; }
.milestone-question input, .task-text-row > input { height: 22px; width: 22px; accent-color: #287b73; }
.project-members { max-width: 1280px; }
.project-members-heading h2 { margin-bottom: 8px; }
.project-members-heading p { margin: 0; color: var(--vcxm-muted); line-height: 1.5; }
.project-member-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 220px) auto; align-items: end; gap: 16px; margin-top: 24px; padding: 20px; background: #fff; border: 1px solid var(--vcxm-border); border-radius: 6px; }
.project-member-form .field { min-width: 0; gap: 8px; }
.project-member-form .button { min-height: var(--control-height); }
.project-member-help { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--vcxm-muted); }
.members-feedback:empty { display: none; }
.members-feedback:not(:empty) { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid #ab8d42; background: #fff5d6; overflow-wrap: anywhere; }
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; margin-top: 24px; }
.member-card { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid #ddd; border-radius: 6px; min-width: 0; }
.member-details { flex: 1; min-width: 0; }
.member-card h3 { margin: 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.member-email { margin: 4px 0 0; font-size: 13px; color: var(--vcxm-muted); overflow-wrap: anywhere; }
.member-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; }
.member-actions select { flex: 1; width: 100%; min-width: 0; font-size: 14px; }
.member-role { margin: 0; color: var(--vcxm-muted); font-size: 14px; }
.member-card .member-remove { flex-shrink: 0; padding: 8px 12px; font-size: 13px; min-height: var(--control-height); }
.member-avatar { width: 36px; height: 40px; border-radius: 6px; background: #347f90; color: white; display: grid; place-items: center; flex-shrink: 0; font-size: 14px; font-weight: 600; }
.members-empty { grid-column: 1 / -1; margin: 0; padding: 24px 0; color: var(--vcxm-muted); }
@media (max-width: 1000px) {
  .project-member-form { grid-template-columns: minmax(0, 1fr) minmax(160px, 200px); }
  .project-member-form .button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 650px) {
  .project-member-form { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .project-member-form .button { justify-self: stretch; }
  .member-card { padding: 14px; }
}
.manual-task-form { background: #fff; border: 1px solid #d5d7d1; border-radius: 6px; padding: 16px 20px; margin: 22px 0; }
.manual-task-form summary { cursor: pointer; font-weight: 600; color: #176b80; }
.manual-task-form textarea { width: 100%; min-height: 78px; margin-bottom: 16px; }
.task-text-list { background: #fff; border: 1px solid #ddd; border-radius: 6px; }
.task-text-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) 150px; gap: 20px; align-items: start; padding: 22px; border-bottom: 1px solid #dedbd6; }
.task-text-row:last-child { border-bottom: 0; }
.task-text-row h3 { margin: 8px 0; font-size: 16px; overflow-wrap: anywhere; }
.task-text-row p { color: #636961; font-size: 13px; }
.task-text-row a { font-size: 12px; }
.kanban-board { display: grid; grid-template-columns: repeat(3, minmax(230px, 1fr)); gap: 20px; overflow-x: auto; align-items: start; padding-bottom: 20px; }
.kanban-column { background: #e6e5e0; padding: 16px; border-radius: 7px; min-height: 200px; }
.kanban-column > h3 { margin: 0 0 16px; display: flex; justify-content: space-between; font-size: 15px; }
.kanban-column[data-kanban-column="CONCLUIDO"] { background: #e3ece3; }
.kanban-card { padding: 18px; margin-bottom: 12px; border: 1px solid #d2d6d0; border-radius: 6px; background: white; }
.kanban-card h4 { margin: 12px 0; font-size: 15px; overflow-wrap: anywhere; }
.kanban-card p { font-size: 12px; color: #62675f; line-height: 1.5; }
.kanban-card .eyebrow, .task-text-row .eyebrow { font-size: 10px; }
.kanban-card select { max-width: 100%; width: 100%; }
@media (max-width: 1000px) {
  .guide-cards { grid-template-columns: 1fr; }
  .project-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-info-grid .info-wide { grid-column: span 2; }
}
@media (max-width: 700px) {
  .project-workspace-header { padding: 18px; }
  .project-workspace-header h1 { font-size: 26px; }
  .project-workspace-layout.menu-expanded { grid-template-columns: 64px minmax(0, 1fr); }
  .menu-expanded .project-rail { position: absolute; z-index: 25; inset: 0 auto 0 0; width: 240px; box-shadow: 4px 0 12px rgb(0 0 0 / 12%); }
  .project-guide-layout { display: block; }
  .project-topic-nav { display: flex; overflow-x: auto; }
  .project-topic-nav a { flex-shrink: 0; padding: 14px; font-size: 12px; }
  .project-guide-content, .project-overview, .project-service-section, .project-members, .project-tasks { padding: 20px 16px; }
  [data-project-connection] { padding: 20px 16px; }
  .project-info-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-info-grid .info-wide { grid-column: auto; }
  .member-grid { grid-template-columns: 1fr; }
  .task-text-row { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .task-text-row > select { grid-column: 2; }
  .project-workspace-content > .project-form { margin: 16px; }
  .project-demo-label { right: 18px; top: 22px; }
}

/* Personal journey topics are dedicated routes. */
.journey-stepper a { display: block; padding: 16px; color: inherit; text-decoration: none; border-bottom: 3px solid transparent; }
.journey-stepper a strong, .journey-stepper a small { display: block; }
.journey-stepper a small { margin-top: 8px; font-size: 12px; }
.journey-stepper a.active { background: #fff; border-color: #247f96; }
.topic-nav a { display: block; padding: 17px 20px; border-bottom: 1px solid #ddd; text-decoration: none; color: inherit; }
.topic-nav a.active { background: #e4f1f5; color: #155e72; }
.kanban-card[draggable] { cursor: grab; }
.kanban-card.is-dragging { opacity: .55; outline: 2px solid #247f96; }
.kanban-column.drag-over { outline: 3px dashed #247f96; outline-offset: -3px; background: #dcecef; }
.kanban-drop-target { border: 1px solid #a5b8b9; border-radius: 4px; padding: 8px 12px; background: white; color: #155e72; cursor: pointer; }
.kanban-card { touch-action: none; }
.kanban-drop-target { width: 100%; margin-bottom: 12px; font-weight: 600; }
.kanban-column { height: clamp(300px, calc(100dvh - 390px), 620px); overflow-y: auto; overscroll-behavior: contain; }
.kanban-column > h3 { position: sticky; top: -16px; z-index: 1; background: inherit; padding: 12px 0; }

/* Shared form controls and softer, legible typography. */
:root { --control-border: #a5aaa4; --control-radius: 6px; --control-height: 44px; }
#main-content :is(h1, h2, h3, h4, h5, h6) { color: var(--vcxm-ink); font-weight: 600; }
.field label { color: var(--vcxm-muted); font-size: 14px; font-weight: 600; }
select, .field select, .language-switcher select {
  appearance: none;
  min-height: var(--control-height);
  max-width: 100%;
  min-width: 0;
  padding: 10px 40px 10px 12px;
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background: #fff url("/images/select-chevron.svg") right 12px center / 16px 16px no-repeat;
  color: var(--vcxm-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(49 45 42 / 4%);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
select:hover:not(:disabled) { border-color: #747f76; background-color: #fafbf9; }
select:focus-visible, .field select:focus-visible, .language-switcher select:focus-visible {
  outline: 2px solid var(--vcxm-focus);
  outline-offset: 2px;
  border-color: var(--vcxm-focus);
  box-shadow: 0 0 0 3px rgb(0 107 143 / 10%);
}
select:disabled { background-color: #eeefec; color: #737970; border-color: #cbd0c8; cursor: not-allowed; box-shadow: none; }
select[aria-invalid="true"] { border-color: var(--vcxm-risk); }
select option, select optgroup { color: var(--vcxm-ink); background: #fff; font-size: 16px; }
select option:disabled { color: #737970; }
select[multiple], select[size]:not([size="1"]) { background-image: none; padding-right: 12px; }
.language-switcher select { min-height: 36px; padding: 5px 30px 5px 10px; background-position: right 8px center; background-size: 14px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea { border-color: var(--control-border); border-radius: var(--control-radius); font-size: 16px; min-height: var(--control-height); }
.button, .member-card .text-button, .architecture-examples button, .feature-tabs button,
.kanban-drop-target, .suggestions button { font-size: 16px; font-weight: 600; line-height: 1.4; min-height: var(--control-height); }
.button:not(.primary):not(.danger) { color: var(--vcxm-ink); border-color: var(--control-border); }
.button.text-button { background: transparent; border-color: transparent; padding: 10px 14px; }
.button:hover:not(:disabled):not(.primary):not(.danger) { background-color: #edf2ef; border-color: #9aa79e; }
.button:focus-visible, .kanban-card:focus-visible, .kanban-drop-target:focus-visible { outline: 2px solid var(--vcxm-focus); outline-offset: 2px; }
.button:disabled { cursor: not-allowed; opacity: .65; }
@media (prefers-reduced-motion: reduce) { select { transition: none; } }
@media (forced-colors: active) { select, .field select, .language-switcher select { appearance: auto; background-image: none; } }

/* URL-only Home Ivens experiment. */
body.ivens-route { background: #f6f5f2; }
body.ivens-route #app-content { max-width: 1680px; padding: 30px clamp(20px, 3vw, 48px); }
.ivens-page { display: grid; gap: 28px; padding-bottom: 32px; }
.ivens-page-heading, .ivens-section-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ivens-page h1 { font-size: 32px; margin: 8px 0 0; letter-spacing: -.025em; }
.ivens-preview { padding: 7px 12px; border: 1px solid #d7d9d3; border-radius: 20px; font-size: 12px; white-space: nowrap; }
.ivens-page .eyebrow { color: #72776e; font-weight: 500; font-size: 12px; letter-spacing: .07em; }
.ivens-hero { display: grid; grid-template-columns: 1.8fr 1fr; gap: 32px; border-radius: 16px; overflow: hidden; padding: 40px; background: repeating-linear-gradient(135deg, transparent 0 10px, #ffffff0c 10px 11px), linear-gradient(115deg, #204f53, #256268); color: #e8efeb; position: relative; }
#main-content .ivens-hero h2 { color: #fff; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; margin: 14px 0; max-width: 620px; }
.ivens-kicker { display: block; color: #c6ddd6; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.ivens-hero p { max-width: 610px; line-height: 1.6; }
.ivens-hero .button.primary { margin-top: 12px; background: #eef4e7; color: #284e43; border-color: #eef4e7; gap: 24px; }
.ivens-hero aside { align-self: center; justify-self: end; padding: 24px; border: 1px solid #ffffff30; border-radius: 12px; background: #ffffff0c; max-width: 330px; }
.ivens-hero aside strong, .ivens-hero aside span { display: block; }
.ivens-hero aside p, .ivens-hero aside > span:last-child { font-size: 13px; }
.ivens-hero-mark svg { width: 32px; height: 32px; margin-bottom: 12px; }
.ivens-moments { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 8px; min-width: 0; }
.ivens-moments button { display: flex; align-items: center; gap: 12px; padding: 14px 12px; text-align: left; border: 1px solid #ffffff40; border-radius: 12px; background: #ffffff09; color: #f7faf8; cursor: pointer; min-width: 0; }
.ivens-moments button:hover { background: #ffffff20; }
.ivens-moments strong { display: block; font-size: 13px; line-height: 1.4; margin-bottom: 6px; font-weight: 600; }
.ivens-moments small { display: block; color: #d9e9e4; font-size: 12px; }
.ivens-moment-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; background: #ffffff16; border-radius: 8px; }
.ivens-moment-icon svg { width: 22px; height: 22px; }
.ivens-moments button[aria-pressed="true"] { background: #fff; border-color: #fff; color: #4d5551; }
.ivens-moments button[aria-pressed="true"] small { color: #65716b; }
.ivens-moments button[aria-pressed="true"] .ivens-moment-icon { background: #255e61; color: white; }
.ivens-hero .ivens-moments button:focus-visible { outline-color: #fff; outline-offset: 2px; }
.ivens-overview { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.ivens-panel { background: #fff; border: 1px solid #e1e2dc; border-radius: 14px; padding: 28px; box-shadow: 0 2px 3px #312d2a04; min-width: 0; }
.ivens-panel h2 { font-size: 22px; margin: 8px 0 14px; }
.ivens-panel h3 { font-size: 16px; }
.ivens-section-title > a { flex-shrink: 0; font-size: 14px; }
.ivens-section-title p { font-size: 14px; margin: 0 0 18px; }
.ivens-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 20px 0; margin-bottom: 20px; border-bottom: 1px solid #e7e8e3; }
.ivens-stats div + div { border-left: 1px solid #e7e8e3; padding-left: 24px; }
.ivens-stats strong { display: block; font-size: 38px; font-weight: 500; color: #3e6458; }
.ivens-stats span { display: block; font-size: 13px; }
.ivens-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ivens-chips span { background: #eff3ee; border: 1px solid #dce3d9; border-radius: 20px; padding: 6px 12px; font-size: 12px; }
.ivens-features article { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #e7e8e3; }
.ivens-features article:last-child { border: 0; }
.ivens-features p { font-size: 13px; margin: 6px 0 0; }
.ivens-feature-dot { width: 10px; height: 10px; border-radius: 50%; background: #bb7c53; flex: 0 0 10px; margin-top: 6px; }
.ivens-features .feature-link { font-size: 16px; font-weight: 500; margin-top: 6px; }
.ivens-carousel-actions { display: flex; gap: 8px; }
.ivens-carousel-actions button { width: 42px; height: 42px; border: 1px solid #ddd; border-radius: 10px; background: #fff; color: var(--vcxm-ink); cursor: pointer; }
.ivens-resource-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 18px; overflow-x: auto; padding: 8px 0; scroll-snap-type: x proximity; }
.ivens-resource { position: relative; border: 1px solid #dedfd9; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; scroll-snap-align: start; }
.ivens-resource-art { height: 135px; flex: 0 0 135px; display: grid; place-items: center; color: #f1f4ee; background: linear-gradient(120deg, #376d70, #172d2c); }
.ivens-resource-art svg { width: 42px; height: 42px; }
.ivens-art-ai { background: linear-gradient(120deg, #8b596d, #292023); }
.ivens-art-events { background: linear-gradient(120deg, #c68024, #35281b); }
.ivens-art-architecture { background: linear-gradient(120deg, #b94932, #42231d); }
.ivens-art-learning { background: linear-gradient(120deg, #33958e, #173a37); }
.ivens-resource-copy { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.ivens-resource-copy h3 { font-size: 18px; line-height: 1.4; margin: 12px 0; }
.ivens-resource-copy p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.ivens-reason { color: #53715b; font-size: 12px; margin-bottom: 14px; }
.ivens-resource-actions { margin-top: auto; display: grid; gap: 14px; font-size: 14px; }
.ivens-resource-actions button { padding: 8px 0; text-align: left; border: 0; border-top: 1px solid #eceee8; background: white; color: #657260; cursor: pointer; min-height: 40px; }
.ivens-resource-actions button[aria-pressed="true"] { color: #285f49; font-weight: 600; }
.ivens-levelup { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border: 1px solid #dddcd5; border-radius: 16px; overflow: hidden; background: white; }
.ivens-levelup-form { padding: 36px; background: #312d2a; color: #d1d2c9; }
#main-content .ivens-levelup-form h2 { color: #f7f5ee; font-size: 30px; margin: 20px 0; }
.ivens-levelup-form > p { line-height: 1.65; }
.ivens-levelup-form label { display: block; margin: 24px 0 10px; font-size: 14px; font-weight: 600; }
.ivens-levelup-form textarea { width: 100%; min-height: 140px; border: 1px solid #77766e; border-radius: 10px; padding: 14px; background: #44413d; color: #f7f5ee; resize: vertical; font-size: 16px; }
.ivens-levelup-form textarea::placeholder { color: #bfc2b8; }
.ivens-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.ivens-prompts button { border: 1px solid #77766e; border-radius: 18px; padding: 8px 12px; background: transparent; color: #e2e6da; font-size: 12px; cursor: pointer; }
.ivens-levelup-form .button.primary { background: #edf3e4; color: #354a38; border-color: #edf3e4; }
.ivens-demo-note { font-size: 12px; color: #bfc4b6; margin-top: 24px; }
.ivens-levelup-result { min-width: 0; padding: 32px; }
.ivens-result-idea { font-size: 13px; line-height: 1.5; }
.ivens-levelup-result .architecture-result { padding: 0; border: 0; background: none; }
.ivens-levelup-result .architecture-result-heading { display: block; }
.ivens-levelup-result .architecture-result-heading h2 { font-size: 24px; }
.ivens-levelup-result .architecture-diagram { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ivens-levelup-result .architecture-node { min-width: 0; }
.ivens-levelup-result .architecture-connector { text-align: center; transform: rotate(90deg); height: 24px; }
.ivens-levelup-result .architecture-columns { grid-template-columns: 1fr; gap: 8px; }
.ivens-levelup-result .architecture-note { font-size: 12px; }
.ivens-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ivens-projects > a { display: block; padding: 20px; background: #f8f9f5; border: 1px solid #e2e7dc; border-radius: 10px; color: inherit; text-decoration: none; }
.ivens-projects p { font-size: 14px; line-height: 1.5; }
.ivens-projects strong { color: #216b65; font-size: 14px; }
.ivens-page :is(button, a, textarea):focus-visible { outline: 2px solid #3c9b96; outline-offset: 3px; }
@media (max-width: 1000px) { .ivens-overview { grid-template-columns: 1fr; } .ivens-moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ivens-levelup { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .ivens-moments { grid-template-columns: 1fr; } .ivens-hero { grid-template-columns: 1fr; padding: 24px; } .ivens-hero aside { justify-self: stretch; max-width: none; } .ivens-page-heading { align-items: start; } .ivens-preview { white-space: normal; max-width: 110px; } .ivens-panel, .ivens-levelup-form, .ivens-levelup-result { padding: 20px; } .ivens-projects { grid-template-columns: 1fr; } .ivens-section-title { flex-wrap: wrap; } .ivens-stats div + div { padding-left: 12px; } }

/* Organization management shares Redwood typography and existing accessible controls. */

/* OCI credentials are request-only; the discovery result fits the existing workspace. */
.side-nav [hidden] { display: none !important; }
.oci-page { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); gap: 24px; max-width: 1440px; }
.oci-connection, .oci-setup, .oci-results { min-width: 0; }
.oci-page h2 { margin-top: 0; font-size: 1.2rem; }
.oci-connection { border-radius: 8px; }
.oci-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.oci-fields .field { min-width: 0; align-content: start; }
.oci-fields .oci-key-field { grid-column: 1 / -1; }
.oci-fields small, .oci-secret-use, .oci-scope, .oci-description { font-size: .85rem; color: var(--vcxm-muted); line-height: 1.5; }
.oci-fields input[type="file"] { max-width: 100%; font-size: .8rem; }
.oci-fields input[type="file"]::file-selector-button { max-width: 100%; margin-right: 8px; border: 0; padding: 4px 8px; border-radius: 3px; cursor: pointer; }
.oci-secret-use { margin: 20px 0 16px; }
.oci-form .button { min-height: 44px; white-space: normal; text-align: center; }
.oci-setup { padding: 24px 4px; font-size: .9rem; line-height: 1.6; }
.oci-setup p { margin: 12px 0; }
.oci-policy { margin: 16px 0; padding: 14px; white-space: pre-wrap; overflow-wrap: anywhere; background: #f5f7f5; border: 1px solid var(--vcxm-border); border-radius: 6px; font-size: .8rem; }
[data-tenancy-connection] { min-width: 0; }
.management-main .oci-page { grid-template-columns: minmax(0, 1fr); }
.management-main .oci-setup { padding: 8px 0; }
.oci-preview { border-top: 1px solid var(--vcxm-border); padding-top: 16px; color: var(--vcxm-muted); }
.oci-status { margin-bottom: 0; font-size: .9rem; }
.oci-status:empty { display: none; }
.oci-error { margin: 16px 0 0; padding: 12px; background: #fff1ea; border-left: 3px solid var(--vcxm-risk); color: #773020; }
.oci-results { grid-column: 1 / -1; }
.oci-empty { border-radius: 8px; background: #fafbf8; color: var(--vcxm-muted); }
.oci-empty p { margin-bottom: 0; }
.oci-result-panel { border-radius: 8px; }
.oci-result-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.oci-result-heading h2 { margin: 14px 0 6px; }
.oci-result-heading .pill { white-space: normal; }
.oci-result-heading > div { min-width: 0; }
.oci-result-heading > .meta { flex-shrink: 0; }
.oci-ocid { overflow-wrap: anywhere; font-size: .78rem; margin: 6px 0; }
.oci-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0; padding: 20px 0; gap: 24px; border-block: 1px solid var(--vcxm-border); }
.oci-metrics dt { color: var(--vcxm-muted); font-size: .85rem; }
.oci-metrics dd { margin: 8px 0 0; font-size: 1.8rem; font-weight: 600; }
.oci-metrics dd.oci-region-name { font-size: 1.05rem; overflow-wrap: anywhere; }
.oci-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .9rem; }
.oci-table th, .oci-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--vcxm-border); vertical-align: top; overflow-wrap: anywhere; }
.oci-table th { color: var(--vcxm-muted); font-weight: 600; }
.oci-table th:last-child { width: 18%; }
.oci-table details { margin-top: 8px; }
.oci-table summary { cursor: pointer; color: var(--vcxm-teal); font-size: .8rem; }
.oci-root-label { display: block; margin-top: 4px; font-size: .75rem; color: var(--vcxm-muted); }
.oci-description { margin-bottom: 0; }
.oci-regions-heading { margin-top: 28px; }
.oci-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; padding: 0; gap: 12px; }
.oci-regions li { display: flex; flex-direction: column; align-items: start; gap: 7px; background: #f5f6f2; border-radius: 6px; padding: 14px; overflow-wrap: anywhere; min-width: 0; }
.oci-regions li > span { font-size: .8rem; }
.oci-page :is(input, summary):focus-visible { outline: 2px solid var(--vcxm-focus); outline-offset: 3px; }
@media (max-width: 1050px) { .oci-page { grid-template-columns: minmax(0, 1fr); gap: 16px; } .oci-setup { padding: 8px 0; } }
@media (max-width: 650px) { .oci-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; } .oci-result-heading { flex-direction: column; gap: 8px; } .oci-result-heading > .meta { margin: 0; } .oci-metrics { grid-template-columns: 1fr 1fr; gap: 20px 12px; } .oci-metrics > div:last-child { grid-column: 1 / -1; } .oci-form .button { width: 100%; } .oci-table th, .oci-table td { padding: 12px 6px; } .oci-table th:last-child { width: 22%; } .oci-regions { grid-template-columns: 1fr; } }
.org-layout{display:grid;gap:1.25rem;max-width:1400px;margin:auto}.org-panel{overflow:hidden}.org-panel h2{margin-top:0}.org-form{display:flex;flex-wrap:wrap;gap:.8rem;align-items:end;padding:1rem 0;border-bottom:1px solid #e0e0dc}.org-form h3{width:100%;margin:.25rem 0;font-size:1rem}.org-form .field{min-width:180px;flex:1}.org-form input,.org-form select{width:100%;min-height:42px;padding:.5rem;border:1px solid #aaa;border-radius:4px;background:white;color:#242424}.org-form button{min-height:42px}.org-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.8rem}.org-metrics article{padding:1rem;background:#f3f5f1;border-radius:6px;display:grid;gap:.5rem}.org-metrics strong{font-size:1.5rem}.org-distribution{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.5rem}.org-distribution div{padding:.75rem;border-left:4px solid #56746b;display:flex;justify-content:space-between;gap:1rem;background:#f8f8f6}.org-item,.org-recommendation{padding:1rem 0;border-bottom:1px solid #ddd}.org-feedback:not(:empty){padding:1rem;background:#fff5d6;border:1px solid #ab8d42;overflow-wrap:anywhere;margin:1rem 0}.org-layout table{width:100%;border-collapse:collapse}.org-layout th,.org-layout td{padding:.75rem;text-align:left;border-bottom:1px solid #ddd}.org-layout td{vertical-align:top}.org-layout details{max-width:550px}.org-layout details ul{padding-left:1.2rem;overflow-wrap:anywhere}@media(max-width:600px){.org-form{display:block}.org-form .field{margin-bottom:.75rem}.org-metrics{grid-template-columns:1fr 1fr}}
/* Persisted account context is separate from the identity display. */
.access-context-select { max-width: 220px; min-width: 100px; padding: 6px 36px 6px 10px; border: 1px solid var(--vcxm-border, #ddd); border-radius: 6px; background-color: #fff; color: var(--vcxm-ink); font: inherit; }
/* Pair foreground and background in every interactive state, even on dark headers. */
.access-context-select:hover:not(:disabled), .access-context-select:focus-visible,
.language-switcher select:hover:not(:disabled), .language-switcher select:focus-visible { color: var(--vcxm-ink); background-color: #fafbf9; }
.org-form select { padding-right: 36px; background: #fff url("/images/select-chevron.svg") right 10px center / 16px 16px no-repeat; }
.org-activation { display: grid; gap: .75rem; }
.org-activation input { width: 100%; min-width: 0; }
.org-lifecycle-dialog { box-sizing: border-box; width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overflow-y: auto; border: 1px solid var(--control-border); border-radius: 12px; color: var(--vcxm-ink); background: #fff; box-shadow: 0 16px 48px #0003; }
.org-lifecycle-dialog::backdrop { background: #17211db3; }
.org-lifecycle-dialog h2 { margin-top: 0; }
.org-lifecycle-dialog .field { min-width: 0; margin-top: 20px; }
.org-lifecycle-dialog strong { overflow-wrap: anywhere; }
.org-lifecycle-dialog .cta-row { justify-content: flex-end; }
@media (max-width: 700px) { .access-context-select { max-width: 130px; font-size: 12px; } }

/* User preferences stay together in one accessible header disclosure. */
.user-menu { position: relative; min-width: 0; }
.user-menu .profile { display: grid; place-items: center; width: 2.75rem; min-height: 2.75rem; padding: 0; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: inherit; font: inherit; cursor: pointer; }
.user-menu .profile:hover, .user-menu .profile[aria-expanded="true"] { background: rgb(255 255 255 / 8%); border-color: #aaa29d; }
.user-menu-panel { position: absolute; z-index: 95; right: 0; top: calc(100% + .4rem); width: min(22rem, calc(100vw - 1rem)); max-height: calc(100dvh - var(--topbar-h) - 1rem); overflow-y: auto; padding: .45rem; border: 1px solid var(--vcxm-border); border-radius: var(--radius-sm); background: #fff; color: var(--vcxm-ink); box-shadow: var(--shadow-1); }
.user-menu-option { display: flex; align-items: center; justify-content: space-between; gap: .6rem; width: 100%; min-height: 2.75rem; padding: .65rem .75rem; border: 0; border-radius: var(--radius-sm); background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
/* Menu links share the option theme, including Redwood's link states. */
.user-menu-panel a.user-menu-option { color: inherit; text-decoration: none; }
.user-menu-option span:first-child { min-width: 0; overflow-wrap: anywhere; }
.user-menu-option small { display: block; margin-top: .15rem; color: var(--vcxm-muted); font-size: .78rem; }
.user-menu-option:hover, .user-menu-option:focus-visible, .user-company-default:hover { background: var(--vcxm-surface-alt, #f4f3f1); }
.user-menu-panel button:focus-visible, .user-menu-panel a:focus-visible { outline: 2px solid #12645c; outline-offset: -2px; }
.user-menu-panel button:disabled { opacity: .6; cursor: wait; }
.user-menu-option[aria-pressed="true"] { color: #155e56; background: #edf6f3; }
.submenu-chevron { font-size: 1.35rem; transition: transform .12s; }
.user-menu-disclosure[aria-expanded="true"] .submenu-chevron { transform: rotate(90deg); }
.user-submenu { margin: .1rem .2rem .4rem .65rem; padding-left: .45rem; border-left: 2px solid var(--vcxm-border); }
.user-company-option { display: flex; align-items: center; gap: .2rem; }
.user-company-option .user-menu-option { flex: 1; }
.user-company-default { flex: 0 0 2.75rem; min-height: 2.75rem; padding: .3rem; border: 0; background: transparent; color: #715321; font-size: 1.5rem; cursor: pointer; border-radius: var(--radius-sm); }
.user-menu-note { padding: .4rem .75rem; font-size: .85rem; }
.user-menu-logout { border-top: 1px solid var(--vcxm-border); border-radius: 0; margin-top: .4rem; }

/* Official service changes share the Home's lower-section layout. */
.home-news { min-width: 0; }
.home-news .feature-card { min-width: 0; overflow-wrap: anywhere; }
.news-card-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .6rem; margin-bottom: .5rem; }

.login-language { display: grid; place-items: center; width: 40px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.login-language:hover { background: var(--vcxm-surface-muted); }
.login-language img, .login-language-options img { object-fit: contain; flex-shrink: 0; }
.login-language:focus-visible, .login-language-close:focus-visible, .login-language-options button:focus-visible { outline: 2px solid var(--vcxm-focus); outline-offset: 3px; }
.login-language-dialog { width: min(360px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overflow-y: auto; border: 1px solid var(--vcxm-border); border-radius: 8px; background: var(--vcxm-surface); color: var(--vcxm-ink); box-shadow: 0 16px 48px #0003; }
.login-language-dialog::backdrop { background: #17211d80; }
.login-language-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.login-language-heading h2 { margin: 0; font-size: 20px; }
.login-language-close { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; font-size: 24px; cursor: pointer; }
.login-language-options { display: grid; gap: 8px; }
.login-language-options button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--vcxm-border); border-radius: 8px; background: var(--vcxm-surface); color: inherit; text-align: left; font: inherit; cursor: pointer; }
.login-language-options button:hover { background: var(--vcxm-surface-muted); }
.login-language-options button[aria-pressed="true"] { border-color: var(--vcxm-teal); background: color-mix(in srgb, var(--vcxm-teal) 7%, white); }

/* Managed content retains the existing card and journey design. */
.featured-card.featured-with-image { display: flex; flex-direction: column; align-items: stretch; background: #292623; }
.featured-card.featured-with-image::after { display: none; }
.featured-image { display: block; width: 100%; height: 10rem; object-fit: cover; }
.featured-with-image .featured-card-copy { flex: 1; }
.journey-rich-content { overflow-wrap: anywhere; line-height: 1.65; }
.journey-rich-content img { display: block; max-width: 100%; height: auto; border-radius: var(--radius-md); }
.journey-rich-content h2, .journey-rich-content h3 { margin-top: 1.4rem; }
.journey-rich-content ul, .journey-rich-content ol { padding-left: 1.5rem; }
.journey-rich-content blockquote { margin: 1rem 0; padding: .5rem 1rem; border-left: 3px solid var(--brand-primary, #436b5c); background: #f5f5f2; }
.journey-rich-content table { width: 100%; border-collapse: collapse; }
.journey-rich-content th, .journey-rich-content td { border: 1px solid #d4d4cf; padding: .5rem; text-align: left; }
.journey-rich-content pre { overflow-x: auto; padding: 1rem; background: #f5f5f2; border-radius: .5rem; }

.home-assistant { min-width: 0; background: var(--vcxm-surface); }
.home-assistant-title { font-size: 1.35rem; }
.personal-home-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.assistant-embedded { grid-template-columns: 1fr; }
.assistant-embedded .chat-sidebar { display: none; }
.assistant-embedded .chat-history { min-height: 0; height: clamp(16rem, 35vh, 24rem); padding: .75rem 1rem; }
.assistant-embedded .chat-empty { padding: 0; max-width: 100%; }
.assistant-embedded .chat-starters { max-width: 100%; }
.reduced-scope .nav-note { display: none; }
.reduced-scope .home-news .news-card-heading { flex-wrap: wrap; }
@media (max-width: 62rem) { .personal-home-grid { grid-template-columns: 1fr; } }


.assistant-embedded .chat-empty-icon, .assistant-embedded .chat-empty h3, .assistant-embedded .chat-toolbar p { display: none; }
.assistant-embedded .chat-empty > p { margin: 0 0 .75rem; }
.assistant-embedded .chat-toolbar { padding: .55rem 1rem; flex-wrap: wrap; }
.assistant-embedded .chat-toolbar > div { flex: 1 1 10rem; }
.home-chat-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; }
@media (max-width: 600px) { .assistant-embedded .chat-history { height: 12rem; } .assistant-embedded .chat-starters { display: none; } .assistant-embedded .chat-toolbar-icon { display: none; } .home-chat-actions .button { font-size: .75rem; } }

/* Each Home column is one surface, with edge-to-edge content inside its frame. */
.home-column.home-assistant, .home-column.home-news { --home-panel-inset: clamp(1rem, 2vw, 2rem); padding: 0; overflow: hidden; }
.home-assistant .chat-panel { width: 100%; border: 0; border-radius: 0; background: transparent; }
.home-assistant :is(.chat-toolbar, .chat-history, .chat-form) { padding-inline: var(--home-panel-inset); border: 0; }
.home-assistant-title, .home-news > .section-title { margin: 0; padding: 16px var(--home-panel-inset); border-bottom: 1px solid var(--vcxm-border); }
.home-news .feature-list { gap: 0; }
.home-news .feature-card { padding: 1rem var(--home-panel-inset); border: 0; border-radius: 0; background: transparent; }
.home-news .feature-card + .feature-card { position: relative; }
.home-news .feature-card + .feature-card::before { content: ""; position: absolute; top: 0; inset-inline: var(--home-panel-inset); border-top: 1px solid var(--vcxm-border); pointer-events: none; }
.home-news .reason { padding: 0; border: 0; background: transparent; color: var(--vcxm-muted); }
.home-news > .meta, .home-news .feature-list > p { margin: 0; padding: 1rem var(--home-panel-inset); }
.home-news > .cta-row { margin: 0; padding: var(--home-panel-inset); }


/* The page and footer share the viewport; only the conversation grows internally. */
body.assistant-route #main-content { overflow: hidden; }
body.assistant-route #app-content { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; padding-bottom: var(--space-4); }
body.assistant-route .page-header { flex: 0 0 auto; margin-bottom: var(--space-4); }
body.assistant-route .assistant-layout { flex: 1 1 0; min-height: 0; grid-template-rows: minmax(0, 1fr); align-items: stretch; }
body.assistant-route .chat-sidebar { min-height: 0; overflow-y: auto; padding-right: .5rem; }
body.assistant-route .chat-recents { flex: 0 0 auto; }
body.assistant-route .chat-panel { display: flex; flex-direction: column; min-height: 0; }
body.assistant-route .chat-history { flex: 1 1 0; min-height: 0; height: auto; }
body.assistant-route :is(.chat-toolbar, .chat-form, #chat-more-messages) { flex: 0 0 auto; }
body.assistant-route .chat-toolbar { padding-block: .75rem; }
body.assistant-route .chat-form textarea { max-height: min(10rem, 22dvh); }

/* Clip the table background as well as the surrounding horizontal scroll area. */
:is(.table-wrap, .roadmaps-table-wrap, .chat-markdown-table) { border-radius: 8px; overflow: auto; }
table { border-radius: 8px; clip-path: inset(0 round 8px); }

@media (max-width: 62rem) {
  body.assistant-route .assistant-layout { grid-template-rows: minmax(0, auto) minmax(0, 1fr); }
  body.assistant-route .chat-sidebar { max-height: 18dvh; gap: .5rem; }
  body.assistant-route .chat-sidebar > * { flex-shrink: 0; }
}
@media (max-width: 45rem) {
  .footer { flex-wrap: wrap; gap: .4rem 1rem; }
  body.assistant-route #app-content { padding-top: .75rem; }
  body.assistant-route .page-header { margin-bottom: .5rem; }
  body.assistant-route .chat-toolbar, body.assistant-route .chat-form { padding: .6rem .75rem; }
  body.assistant-route .chat-form { grid-template-columns: minmax(0, 1fr); }
  body.assistant-route .chat-form button { min-width: 0; }
}
@media (max-width: 45rem) and (max-height: 680px) {
  body.assistant-route .chat-toolbar p { display: none; }
  body.assistant-route .chat-form textarea { min-height: 3rem; }
}
@media (max-width: 850px) {
  .login-screen { grid-template-rows: minmax(min-content, 1fr) auto; min-height: 100dvh; height: 100dvh; }
  .login-screen > .footer { width: calc(100% + 32px); margin-inline: -16px; }
}
@media (max-width: 460px) {
  .login-screen { gap: 0; }
  .login-screen > .footer { width: 100%; margin: 0; }
  .login-card { min-height: auto; }
}

.chat-recent-row { display: flex; align-items: center; min-width: 0; }
.chat-recent-row .chat-recent { flex: 1 1 auto; min-width: 0; }
.chat-recent-title small { display: block; font-size: .7rem; font-weight: 400; }
.chat-delete { flex: 0 0 36px; height: 36px; border: 0; border-radius: 6px; background: transparent; color: var(--vcxm-muted); cursor: pointer; }
.chat-delete:hover { background: #fff0ed; color: #8a2f24; }
.chat-delete:disabled { opacity: .5; cursor: default; }
.chat-temporary-note { flex: 0 0 auto; padding: .6rem 1rem; background: #eef5f3; color: #175e57; font-size: .78rem; line-height: 1.45; }
.chat-temporary-note p { margin: .2rem 0 0; }
.chat-temporary-note summary { cursor: pointer; }
.chat-temporary-note summary > span { display: inline-block; margin-left: .75rem; }
.chat-create-actions { display: grid; gap: .6rem; }
.chat-mobile-sr { display: none; }
@media (max-width: 960px) { .chat-recent-row { flex: 0 0 auto; max-width: 18rem; } }
@media (max-width: 600px) {
  body.assistant-route .chat-sidebar { max-height: 18dvh; }
  .chat-temporary-note { max-height: 13dvh; overflow-y: auto; }
  .chat-temporary-note summary > span { display: block; margin: .15rem 0 0 1rem; }
  .chat-create-actions { display: flex; gap: .5rem; }
  .chat-create-actions .chat-new { flex: 1 1 0; min-width: 0; font-size: .75rem; padding: .4rem; }
  .chat-toolbar { flex-wrap: wrap; }
  .chat-toolbar > div { flex: 1 1 calc(100% - 4rem); }
  body.assistant-route .chat-toolbar p { display: none; }
  .chat-mobile-sr { display: inline-flex; gap: .4rem; min-height: 32px; padding: .35rem .6rem; font-size: .75rem; }
}
@media (max-width: 45rem) and (max-height: 680px) {
  body.assistant-route .chat-sidebar { max-height: 3rem; }
  body.assistant-route .assistant-layout { gap: .5rem; }
  body.assistant-route .chat-toolbar { padding-block: .35rem; }
}
