:root {
  color-scheme: light;
  --page: #f7f9fb;
  --paper: #fff;
  --ink: #182735;
  --muted: #586876;
  --line: #e1e7ed;
  --accent: #297dcc;
  --accent-dark: #1767b3;
  --pale: #e9f4ff;
  --rail: #162635;
  --rail-size: 227px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 1rem; line-height: 1.5; }
body.has-tray { padding-bottom: 106px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: var(--accent-dark); }
:focus-visible { outline: 3px solid #5aa0e4; outline-offset: 3px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 10; top: 12px; left: 12px; background: var(--paper); padding: 12px; border-radius: 8px; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.025em; }
h2 { font-size: 1.38rem; }
h3 { font-size: 1.15rem; }
.muted { color: var(--muted); }
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail-size); display: flex; flex-direction: column; background: var(--rail); color: #e8f0f8; padding: 32px 16px 20px; z-index: 3; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; color: #fff; text-decoration: none; font-size: 1.13rem; font-weight: 750; letter-spacing: -.028em; line-height: 1.15; white-space: nowrap; }
.brand small { display: block; margin-top: 5px; color: #b8cde1; letter-spacing: .085em; font-size: .65rem; font-weight: 700; }
.brand-symbol { background: #abd6ff; width: 38px; height: 38px; border-radius: 10px; display: grid; grid-template-columns: repeat(2,6px); place-content: center; gap: 3px; rotate: -5deg; flex: 0 0 auto; }
.brand-symbol i { width: 6px; height: 6px; background: #1a4167; border-radius: 1px; }
.brand-symbol i:last-child { background: #3f7cba; }
.rail nav { margin-top: 48px; display: grid; gap: 8px; }
.rail nav a { min-height: 45px; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #cbd7e3; font-size: .9rem; font-weight: 620; text-decoration: none; }
.rail nav a:hover { background: #233446; }
.rail nav a[aria-current] { color: #fff; background: #2a445f; box-shadow: inset 3px 0 #a9d3ff; }
.nav-icon { width: 19px; text-align: center; font-size: 1.1rem; line-height: 1; color: #a9d3fc; }
.nav-count { margin-left: auto; min-width: 20px; height: 20px; text-align: center; border-radius: 20px; background: #c6dff8; color: #163453; font-size: .75rem; font-weight: 750; }
main { margin-left: var(--rail-size); padding: 34px clamp(23px,4vw,58px) 0; min-height: 100vh; display: flex; flex-direction: column; }
#view, .main-footer { width: 100%; max-width: 1480px; margin-inline: auto; }
.main-footer { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; margin-top: 42px; padding: 18px 0 23px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.main-footer span:first-child { font-weight: 680; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 260px; display: flex; align-items: center; background: linear-gradient(109deg,#1b2b3a 16%,#20354c 60%,#2e5175 100%); color: #fff; border-radius: 18px; }
.hero-content { z-index: 1; position: relative; padding: 29px 37px 30px; max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #cae4ff; font-weight: 750; font-size: .73rem; letter-spacing: .12em; }
.eyebrow span { border: 1px solid #b7daff; width: 7px; height: 7px; rotate: 45deg; }
.hero h1 { font-size: clamp(2.45rem,4.18vw,4.25rem); font-weight: 770; letter-spacing: -.065em; }
.hero-copy { max-width: 455px; margin-top: 11px; font-size: 1.04rem; color: #dde7f2; }
.hero-stats { display: flex; gap: 19px; margin-top: 23px; }
.hero-stats div { display: flex; align-items: baseline; gap: 7px; }
.hero-stats div + div { border-left: 1px solid #5b7591; padding-left: 19px; }
.hero-stats strong { font-size: 1.24rem; line-height: 1; color: #e5f2ff; }
.hero-stats span { color: #d7e2ef; font-size: .86rem; white-space: nowrap; }
.hero-art { pointer-events: none; position: absolute; right: -11px; top: 50%; width: 342px; height: 330px; transform: translateY(-50%) rotate(-17deg); opacity: .88; background-image: radial-gradient(#87a4c673 .6px,transparent 1px); background-size: 13px 13px; mask-image: radial-gradient(ellipse at center,black 48%,transparent 78%); }
.atlas-ring, .atlas-path { position: absolute; border: 1px solid #98b3d180; inset: 22px; border-radius: 50%; }
.ring-two { inset: 48px; }
.ring-three { inset: 77px; }
.atlas-path { border-radius: 36%; scale: 1 .46; rotate: 38deg; border-color: #b0d2f7bd; }
.path-two { rotate: -38deg; scale: 1 .43; border-radius: 45%; border-color: #b0dbce8f; }
.atlas-pin { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #d5e9ff; box-shadow: 0 0 0 6px #b4d8ff2c, 0 0 18px #bfddff; }
.pin-one { top: 68px; right: 104px; }.pin-two { top: 150px; left: 74px; }.pin-three { top: 206px; right: 83px; background: #bae5d6; }.pin-four { bottom: 46px; left: 125px; background: #aacdf2; }
.category-section, .directory, .shortlists, .method { margin-top: 30px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 13px; }
.section-heading p:not(:empty) { margin-top: 5px; }
.section-heading p:empty { display: none; }
.category-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.category { min-height: 54px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); text-align: left; line-height: 1.2; font-size: .87rem; font-weight: 680; }
.category:hover { border-color: #8db0d2; }
.category[aria-pressed="true"] { border-color: #428cd8; color: #145da4; background: #e9f4ff; box-shadow: inset 0 0 0 1px #428cd8; }
.category small { margin-left: auto; color: var(--muted); font-size: .76rem; font-weight: 650; }
.category-icon { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; font-size: .68rem; font-weight: 800; }
.lilac { background: #e4f1fd; color: #2061a4; }
.pink { background: #f8e5ef; color: #843864; }
.blue { background: #e7f5ff; color: #327baf; }
.mint { background: #e2f3ec; color: #25634f; }
.sand { background: #f9eedf; color: #78501f; }
.neutral { background: #f0f3f6; color: #435261; }
.directory { scroll-margin-top: 20px; }
.filters { display: grid; grid-template-columns: minmax(200px, 1.65fr) repeat(3,minmax(125px,1fr)); gap: 8px; }
.search, .filter, .sort { position: relative; display: flex; min-width: 0; }
.search input, .filter select, .sort select { width: 100%; height: 45px; min-width: 0; border: 1px solid #d8e1e9; border-radius: 8px; color: var(--ink); font-size: .9rem; background: var(--paper); }
.search input { padding: 8px 10px 8px 38px; }
.search input::placeholder { color: #606f7d; }
.magnify { position: absolute; pointer-events: none; left: 13px; top: 14px; width: 13px; height: 13px; border: 2px solid #5f768e; border-radius: 50%; }
.magnify::after { position: absolute; content: ""; width: 6px; height: 2px; background: #5f768e; transform: rotate(45deg); top: 10px; left: 8px; }
.filter::after, .sort::after { content: ""; position: absolute; right: 14px; top: 17px; width: 6px; height: 6px; border-right: 2px solid #5f768d; border-bottom: 2px solid #5f768d; rotate: 45deg; pointer-events: none; }
.filter select, .sort select { appearance: none; padding: 6px 28px 6px 10px; text-overflow: ellipsis; cursor: pointer; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 13px 0 11px; font-size: .88rem; color: var(--muted); }
.sort select { width: auto; color: var(--muted); height: 34px; background: transparent; border-color: transparent; }
.sort::after { top: 12px; }
.vendor-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.vendor-card { min-width: 0; display: flex; flex-direction: column; gap: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 16px; box-shadow: 0 2px 4px #19304607; }
.card-top, .card-actions, .inline-actions { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.card-top { justify-content: flex-start; gap: 11px; }
.monogram { display: inline-grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; font-weight: 800; flex: 0 0 auto; font-size: 1rem; letter-spacing: -.04em; }
.vendor-layer { color: var(--muted); font-size: .79rem; font-weight: 630; line-height: 1.25; }
.vendor-name { padding: 0; color: var(--ink); background: transparent; border: 0; text-align: left; font-weight: 750; line-height: 1.25; }
.vendor-name:hover { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.vendor-summary { margin-top: 5px; color: var(--muted); font-size: .94rem; }
.pills { display: flex; gap: 5px; flex-wrap: wrap; }
.pill { border-radius: 5px; font-size: .75rem; font-weight: 670; padding: 3px 7px; line-height: 1.35; }
.card-actions { border-top: 1px solid #ebeff3; margin-top: auto; padding-top: 10px; }
.button, .text-button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; font-size: .87rem; font-weight: 690; line-height: 1.15; text-decoration: none; }
.button { border: 1px solid #cfe1f2; padding: 7px 11px; background: #f6fbff; color: var(--accent-dark); }
.button:hover { border-color: #679acd; background: #e4f1fe; }
.button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); }
.button.is-added, .button[aria-pressed="true"] { border-color: #a2c5e7; background: #e6f3ff; color: #125395; }
.text-button { padding: 4px 2px; border: 0; background: transparent; color: var(--accent-dark); }
.text-button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.text-button:disabled { color: var(--muted); }
.blank-state { grid-column: 1 / -1; border: 1px dashed #cfdae6; border-radius: 12px; padding: 28px 18px; text-align: center; color: var(--muted); background: var(--paper); }
.blank-state h3 { color: var(--ink); margin-bottom: 7px; }
.blank-state button { margin-top: 12px; }
.page-heading { padding: 10px 0 24px; }
.page-heading h1 { font-size: clamp(2.3rem,4vw,3.7rem); font-weight: 770; letter-spacing: -.055em; }
.page-heading p { color: var(--muted); margin-top: 9px; max-width: 650px; }
.comparison-panel, .flow-panel, .method { padding: 21px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.compare-hint { font-size: .87rem; margin-bottom: 10px; }
.table-scroll { width: 100%; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
table { border-collapse: separate; border-spacing: 0; width: 100%; text-align: left; }
table th, table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
table tbody tr:last-child > * { border-bottom: 0; }
thead th { background: #e7eff8; }
tbody th { background: #f3f6fa; }
tbody td + td, thead th + th { border-left: 1px solid var(--line); }
tbody tr:nth-child(even) td { background: #fbfdfe; }
.compare-table { table-layout: fixed; min-width: calc(141px + var(--vendor-count) * 185px); }
.compare-table th:first-child { width: 141px; position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--line); }
.compare-table thead .vendor-name { display: block; margin-top: 6px; font-size: .98rem; }
.compact-label { display: none; }
.compare-table .remove { min-height: 36px; }
.compare-table td, .compare-table tbody th, .flow-table { font-size: .91rem; }
.sources { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 5px 12px; }
.sources a { position: relative; font-size: .85rem; font-weight: 630; text-underline-offset: 3px; }
.guide-grid, .signal-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.guide-card { min-width: 0; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 17px; background: var(--paper); }
.guide-card button { align-self: flex-start; margin-top: auto; }
.shortlist-names { color: var(--accent-dark); font-size: .88rem; font-weight: 700; }
.signal { gap: 12px; }
.signal h2 { font-size: 1.23rem; }
.implication { background: #f0f6fd; border-radius: 7px; padding: 10px 12px; }
.implication strong { display: block; margin-bottom: 2px; }
.signal .sources { margin-top: auto; }
.flow-switch { display: flex; flex-wrap: wrap; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 17px; }
.flow-content > .muted { margin-top: 5px; }
.flow-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; list-style: none; padding: 0; margin: 17px 0; }
.flow-stages li { position: relative; display: grid; align-content: start; gap: 3px; padding: 12px; border: 1px solid #d8e4f0; border-radius: 8px; background: #f0f6fd; font-size: .87rem; }
.flow-stages li + li::before { content: ""; position: absolute; width: 13px; left: -16px; top: 50%; height: 1px; background: #7999ba; }
.flow-stages li span { color: var(--muted); }
.flow-table { min-width: 535px; }
.flow-table th:first-child { width: 24%; }
.flow-content .flow-footnote { margin-top: 12px; font-size: .87rem; }
.method { max-width: 880px; }
.method h2 { margin-bottom: 12px; }
.method p + p { margin-top: 10px; }
.method dl > div { display: grid; grid-template-columns: minmax(120px,1fr) 4fr; gap: 8px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.method dl > div:last-child { border: 0; }
.method dt, .profile-details dt { font-weight: 720; }
.method dd, .profile-details dd { color: var(--muted); }
.tray { position: fixed; z-index: 4; left: max(calc(var(--rail-size) + 23px),calc((100% + var(--rail-size) - 1480px)/2)); right: max(23px,calc((100% - var(--rail-size) - 1480px)/2)); bottom: 13px; display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 1px solid #c8daeb; border-radius: 12px; padding: 10px 13px; box-shadow: 0 8px 38px #10263c26; }
.tray-text { min-width: 0; display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; font-size: .86rem; }
.tray-names { display: flex; gap: 5px; flex-wrap: wrap; }
.tray-names button { border: 0; border-radius: 5px; padding: 4px 7px; color: #20568d; background: #e9f2fb; text-align: left; font-size: .78rem; }
.tray-names span { padding-left: 3px; }
.tray > a { flex: 0 0 auto; }
.notice { position: fixed; z-index: 5; bottom: 16px; right: 24px; max-width: calc(100vw - 48px); padding: 10px 14px; border-radius: 8px; background: #1b3047; color: #fff; font-size: .88rem; pointer-events: none; opacity: 0; }
.notice.visible { opacity: 1; }
.has-tray .notice { bottom: 90px; }
dialog { width: min(670px,calc(100vw - 24px)); max-height: 88dvh; padding: 0; border: 1px solid #d7e2ee; border-radius: 15px; color: var(--ink); box-shadow: 0 18px 80px #0e22374d; }
dialog::backdrop { background: #122131b8; }
.profile-inner { padding: 23px; }
.profile-header { display: flex; align-items: center; gap: 11px; }
.profile-header p { font-size: .87rem; }
.profile-header h2 { margin-top: 3px; overflow-wrap: anywhere; font-size: 1.54rem; }
.close { align-self: flex-start; margin-left: auto; width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid var(--line); color: var(--ink); background: #f5f8fb; border-radius: 7px; font-size: 1.46rem; line-height: 1; }
.profile-pills { margin-top: 13px; }
.profile-details { margin: 13px 0; }
.profile-details > div { padding: 10px 0; border-top: 1px solid var(--line); }
.profile-details dd { margin-top: 3px; }
.profile-details .profile-demo { background: #ebf4fd; padding: 11px; border-radius: 8px; border: 0; }
.profile-sources .sources { margin-top: 6px; }
.profile-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; padding: 8px 0; background: var(--paper); }
@media (max-width: 1240px) {
  .category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1070px) {
  :root { --rail-size: 186px; }
  .rail { padding-inline: 10px; }
  .brand { font-size: 1.01rem; gap: 8px; padding-inline: 5px; }
  .brand-symbol { width: 33px; height: 33px; }
  .brand small { font-size: .59rem; letter-spacing: .055em; }
  .rail nav a { gap: 7px; font-size: .85rem; }
  main { padding-inline: 23px; }
  .hero-art { right: -95px; opacity: .58; }
  .vendor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .search { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --rail-size: 0px; }
  .rail { position: sticky; inset: 0 0 auto; width: 100%; padding: 10px 12px 0; display: block; }
  .brand { width: fit-content; }
  .brand-symbol { width: 29px; height: 29px; border-radius: 7px; }
  .brand small, .nav-icon { display: none; }
  .rail nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2px; margin-top: 5px; }
  .rail nav a { min-height: 40px; justify-content: center; text-align: center; padding: 4px 2px; line-height: 1.15; border-radius: 6px 6px 0 0; font-size: .83rem; }
  .rail nav a[aria-current] { box-shadow: inset 0 -2px #a9d3ff; }
  .nav-count { display: none; }
  main { margin-left: 0; padding: 15px 15px 0; }
  .hero { min-height: 0; }
  .hero-content { padding: 24px 20px; }
  .hero h1 { font-size: clamp(2.16rem,8vw,3.2rem); }
  .hero-art { right: -152px; opacity: .41; }
  .hero-copy { margin-top: 8px; font-size: .98rem; }
  .hero-stats { gap: 11px; margin-top: 17px; }
  .hero-stats div { gap: 3px 5px; }
  .hero-stats div + div { padding-left: 10px; }
  .hero-stats span { font-size: .75rem; }
  .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .directory { scroll-margin-top: 99px; }
  .tray { left: 10px; right: 10px; bottom: 9px; }
  .notice { right: 12px; }
  .has-tray .notice { bottom: 117px; }
  .page-heading { padding: 7px 0 17px; }
  .comparison-panel, .flow-panel, .method { padding: 13px; }
  .compare-table { min-width: calc(84px + var(--vendor-count) * 113px); }
  .compare-table th:first-child { width: 84px; }
  .full-label { display: none; }
  .compact-label { display: inline; }
  .compare-table td, .compare-table th { padding: 9px 7px; font-size: .84rem; }
  .compare-table thead .vendor-name { font-size: .88rem; }
  .compare-table .pill { font-size: .72rem; }
  .flow-stages { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 13px; }
  .flow-stages li + li::before { display: none; }
}
@media (max-width: 500px) {
  .hero-stats div { display: grid; }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .category { min-height: 47px; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter:last-child { grid-column: 1 / -1; }
  .vendor-grid, .guide-grid, .signal-grid { grid-template-columns: 1fr; }
  .category-section, .directory, .shortlists, .method { margin-top: 22px; }
  .section-heading h2 { font-size: 1.2rem; }
  .comparison-panel > .section-heading { flex-wrap: wrap; }
  .comparison-panel .inline-actions { flex-wrap: wrap; }
  .vendor-card { padding: 13px; gap: 10px; }
  .profile-inner { padding: 14px; }
  .method dl > div { grid-template-columns: 1fr; gap: 3px; }
  .tray-text { display: block; }
  .tray-names { margin-top: 4px; }
}
@media (min-width: 761px) {
  .hero { min-height: 237px; }
  .category-section, .directory { margin-top: 25px; }
}

:root {
  --rail: #10243d;
  --accent: #245286;
  --accent-dark: #153e68;
  --ink: #14243a;
  --muted: #455971;
  --line: #dae3ed;
  --page: #f4f7fb;
  --pale: #e9f1fb;
}
.rail { overflow-y: auto; }
.rail nav { margin-top: 30px; gap: 4px; }
.rail nav a { min-height: 39px; }
.hero { background: linear-gradient(112deg,#102540 15%,#183859 60%,#335b85 100%); }
.directory-actions { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.mobile-actions { display: none; }
.work-filters { display: grid; grid-template-columns: minmax(0,2fr) minmax(145px,1fr) minmax(130px,1fr); gap: 9px; align-items: center; }
.work-filters > :last-child { align-self: stretch; }
.global-search { max-width: 760px; }
.list-count { margin: 12px 0; font-weight: 650; font-size: .87rem; }
.feed-card { gap: 10px; }
.feed-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: .83rem; }
.label-tag { display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid #d3e3f2; color: #133e62; background: #ecf4fc; border-radius: 5px; font-weight: 700; }
.credit { color: var(--muted); font-weight: 650; font-size: .87rem; margin-top: 4px; }
.feed-card .sources { margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-button { border: 1px solid #d8e5f3; padding: 4px 8px; color: var(--accent-dark); border-radius: 7px; background: #f6f9fd; font-weight: 650; font-size: .83rem; text-align: left; }
.tag-button:hover { background: #e5effa; }
.search-section { margin: 18px 0; }
.search-section h2 { margin-bottom: 8px; }
.search-section h2 .muted { font-size: .85rem; }
.advisor-form { margin-top: 0; }
.advisor-form > label:first-child, .plain-field { font-weight: 680; }
.advisor-form textarea { width: 100%; margin: 6px 0 9px; border: 1px solid #cbd9e8; border-radius: 8px; padding: 10px; resize: vertical; font: inherit; }
.advisor-form .filter { max-width: 460px; }
.advisor-form .muted { margin-top: 7px; font-size: .86rem; }
.advice-stack { display: grid; margin-top: 15px; gap: 10px; max-width: 880px; }
.action-start { justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.clean-list { margin: 6px 0 4px; padding-left: 22px; }
.clean-list li + li { margin-top: 4px; }
.tool-section { max-width: 1040px; margin-top: 15px; }
.pack-fields { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin: 13px 0; }
.pack-fields .filter { min-width: 225px; flex: 0 1 38%; }
.pack-fields > .plain-field { flex: 1 1 235px; }
.plain-field input { display: block; width: 100%; height: 45px; border: 1px solid #cbd9e8; border-radius: 8px; padding: 6px 8px; font-weight: 500; }
.question-group { border-top: 1px solid var(--line); padding: 10px 0; }
.question-group summary { cursor: pointer; font-weight: 700; color: var(--accent-dark); }
.pricing-guide .table-scroll { margin: 9px 0; }
dialog { width: min(825px,calc(100vw - 24px)); }
.profile-tabs { display: flex; align-items: stretch; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.profile-body { padding: 13px 0 0; }
.profile-lead { background: #edf4fc; border: 1px solid #d9e7f5; padding: 13px; border-radius: 10px; }
.profile-lead h3, .profile-block h3 { margin-bottom: 6px; }
.profile-tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.profile-tiles > div { border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.profile-tiles small { color: var(--muted); }
.profile-block + .profile-block { margin-top: 15px; }
.profile-block .sources { margin-top: 5px; }
.profile-evidence { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.profile-evidence .compact { padding: 11px; }
.resource-links { gap: 8px; }
.resource-links a { padding: 6px 9px; border: 1px solid var(--line); border-radius: 6px; background: #f7fafc; }
.profile-actions { z-index: 1; box-shadow: 0 -4px 8px #ffffffd0; flex-wrap: wrap; }
.profile-actions .follow { margin-right: auto; }
@media (max-width: 760px) {
  .rail { overflow: visible; padding: 9px 12px; }
  .brand { min-height: 34px; }
  .mobile-actions { position: absolute; right: 12px; top: 8px; display: flex; gap: 7px; align-items: center; }
  .mobile-actions a, .mobile-actions button { min-height: 34px; display: inline-flex; align-items: center; padding: 5px 9px; color: #f2f6ff; background: #244565; border: 1px solid #4c6a8a; border-radius: 6px; text-decoration: none; font-weight: 650; font-size: .9rem; }
  .rail nav { display: none; margin-top: 7px; }
  .rail.menu-expanded nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; }
  .directory { scroll-margin-top: 69px; }
  .profile-evidence { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .work-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-filters .search { grid-column: 1 / -1; }
  .profile-tiles { grid-template-columns: 1fr; }
  .profile-tabs { gap: 4px; }
  .profile-tabs .button { padding: 5px 7px; font-size: .8rem; }
  .profile-actions { justify-content: start; }
  .profile-actions .follow { margin-right: 0; }
}

.brand-symbol { display: block; rotate: none; object-fit: cover; background: #0c2039; }
.rail nav { margin-top: 24px; }
.trail-hero .hero-content { max-width: 740px; padding-block: clamp(36px,6vw,78px); }
.trail-hero .inline-actions { margin-top: 25px; }
.trail-hero .button:not(.primary) { background: #fff; color: #173754; border-color: #d5e4f1; }
.trail-home { margin-block: 24px; }
.trail-home .guide-card h2 a { text-decoration: none; color: var(--accent-dark); }
.trail-home .guide-card h2 a:hover { text-decoration: underline; }
.trail-home h2 { margin-block: 0 10px; }
.follow-help { margin: 14px 0 0; font-size: .85rem; }
.story { max-width: 860px; }
.story .story-section + .story-section { margin-top: 24px; }
.story .story-section h2 { margin-bottom: 4px; }
.story .story-section p { margin-block: 0; }
.advisor-context { margin: 10px 0; }
.feed-meta + .inline-actions { margin-top: 8px; }
@media (max-width: 760px) {
  .trail-hero .hero-content { padding: 32px 21px; }
  .rail nav { margin-top: 7px; }
  .rail.menu-expanded nav { max-height: 65dvh; overflow-y: auto; }
}

.facet { position: relative; min-width: 0; align-self: start; }
.facet summary { display: flex; min-height: 45px; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #d8e1e9; border-radius: 8px; background: var(--paper); font-size: .9rem; cursor: pointer; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: ""; width: 6px; height: 6px; flex: 0 0 auto; margin-left: auto; border-right: 2px solid #5f768d; border-bottom: 2px solid #5f768d; transform: translateY(-2px) rotate(45deg); }
.facet[open] summary::after { transform: translateY(2px) rotate(225deg); }
.facet-count { min-width: 21px; padding: 0 4px; border-radius: 10px; background: var(--pale); color: var(--accent-dark); text-align: center; font-size: .76rem; font-weight: 700; }
.facet fieldset { position: absolute; z-index: 2; inset: calc(100% + 5px) 0 auto; min-width: 0; max-height: min(340px, 55vh); margin: 0; padding: 5px; overflow-y: auto; border: 1px solid #cedbe8; border-radius: 9px; background: var(--paper); box-shadow: 0 10px 24px #10243d23; }
.facet fieldset label { display: flex; align-items: flex-start; gap: 9px; min-height: 36px; padding: 7px; border-radius: 5px; cursor: pointer; font-size: .89rem; overflow-wrap: anywhere; }
.facet fieldset label:hover { background: var(--pale); }
.facet input { margin: 3px 0 0; accent-color: var(--accent-dark); }
.resource-facets, .news-facets { margin-top: 8px; }
.news-facets { grid-template-columns: repeat(3,minmax(0,1fr)); }
.role-label { color: var(--accent-dark); font-weight: 700; }
@media (max-width: 520px) {
  .facet fieldset { position: static; margin-top: 5px; }
}
.vendor-facets { display: contents; }
.main-footer a { color: var(--accent-dark); }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.vendor-context { margin-block: 12px 22px; }
.vendor-context .vendor-flows { margin-top: 10px; }
.plan-compare { margin-top: 8px; }

.portfolio-matches:not(:empty) {
  margin: 1rem 0;
}
.portfolio-card {
  align-items: start;
  border-color: #b3c7db;
}
.portfolio-card .button {
  justify-self: start;
}
.portfolio-card .vendor-name {
  text-decoration: none;
}
.portfolio-card .vendor-name:hover {
  text-decoration: underline;
}
.portfolio-group {
  margin: 1rem 0 1.5rem;
}
.portfolio-products {
  display: grid;
  padding: 0;
  margin: .65rem 0 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: .85rem;
  background: var(--paper);
}
.portfolio-product {
  display: grid;
  grid-template-columns: minmax(10rem, 1.1fr) minmax(14rem, 2fr) auto;
  gap: .75rem 1rem;
  align-items: start;
  padding: 1rem;
}
.portfolio-product + .portfolio-product {
  border-top: 1px solid var(--line);
}
.portfolio-product h4, .portfolio-product p, .portfolio-card p {
  margin: 0;
}
.portfolio-product .credit {
  display: block;
  margin-top: .35rem;
}
.portfolio-product .button {
  justify-self: start;
}
.capability-sources .sources {
  margin: .15rem 0 .4rem;
}
.compare-detail {
  margin: .65rem 0 0;
}
@media (max-width: 900px) {
  .portfolio-product {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .portfolio-product p {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}
@media (max-width: 370px) {
  .portfolio-product {
    grid-template-columns: minmax(0, 1fr);
  }
  .portfolio-product p {
    grid-column: auto;
  }
}

.scenario-grid {
  margin: .8rem 0 0;
}
.scenario-card {
  border-top: 3px solid #b48261;
}
.scenario-card h3 a {
  color: var(--ink);
  text-underline-offset: .15em;
}
.scenario-edit {
  margin-top: 1rem;
}
.scenario-edit > summary {
  width: fit-content;
  padding: .45rem 0;
  cursor: pointer;
  color: #163a62;
  font-weight: 700;
}
.scenario-paths .profile-details {
  margin-bottom: 0;
}
.scenario-evidence {
  margin-top: .5rem;
}
.scenario-evidence > h3, #advisor-news:not(:empty) {
  margin: 1rem 0 .5rem;
}
.linked-updates .credit {
  display: block;
}
.evidence-points {
  display: grid;
  gap: .9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.evidence-points li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}
.evidence-points p { margin: 0; }
.evidence-status {
  display: inline-block;
  max-width: 100%;
  padding: .16rem .4rem;
  border-radius: .25rem;
  background: #e8eff6;
  color: #26425f;
  font-weight: 650;
  font-size: .85rem;
}
.evidence-status[data-status="Available"] { background: #e3f1e8; color: #235438; }
.evidence-status[data-status="Preview"] { background: #fff0d9; color: #704611; }
.evidence-status[data-status^="Requires"] { background: #eee7f5; color: #54376d; }

.create-page { --create-navy: #16304d; --create-border: #cfdae6; --create-linen: #f3f7fb; }
.create-picker { background: var(--create-linen); border: 1px solid var(--create-border); border-radius: 16px; padding: clamp(16px,2.4vw,28px); }
.create-picker h2 { margin-bottom: 14px; }
.create-goals { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,195px),1fr)); gap: 9px; }
.create-goal { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 86px; padding: 12px; text-align: left; border: 1px solid var(--create-border); border-radius: 9px; background: var(--paper); color: var(--create-navy); }
.create-goal strong { line-height: 1.2; }
.create-goal span { font-size: .875rem; color: var(--muted); line-height: 1.4; }
.create-goal:hover, .create-goal[aria-pressed="true"] { border-color: #5683b0; background: #e8f2fe; }
.create-goal[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #5683b0; }
.create-all { margin-top: 9px; }
.create-all button[aria-pressed="true"] { font-weight: 750; text-decoration: underline; text-underline-offset: .19em; }
.create-section { margin-top: 30px; }
.create-section h2 { margin-bottom: 12px; }
.create-workflows { display: grid; gap: 8px; }
.create-flow { background: var(--paper); border: 1px solid var(--create-border); border-radius: 10px; }
.create-flow > summary { cursor: pointer; padding: 13px 16px; color: var(--create-navy); }
.create-flow > summary > span { display: inline; }
.create-flow > summary .muted { margin-left: 9px; font-weight: 400; }
.create-flow-body { padding: 16px; border-top: 1px solid var(--line); }
.create-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding-left: 24px; gap: 18px 26px; margin: 18px 0; }
.create-steps li::marker { color: var(--create-navy); font-weight: 700; }
.create-steps li p { margin-top: 4px; }
.create-steps .tags, .create-links { margin-top: 8px; }
.create-checks { margin: 8px 0; }
.create-filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,169px),1fr)); gap: 8px; }
.create-filters > .search { grid-column: 1 / -1; }
.create-library #create-filter-context:not(:empty) { margin-bottom: 9px; }
.create-count { display: flex; flex-wrap: wrap; min-height: 30px; align-items: center; gap: 7px 13px; margin: 9px 0 2px; }
.create-pricing-note { font-size: .875rem; margin-bottom: 13px; }
.create-tool { gap: 9px; }
.create-tool-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.create-tool-title .pill, .create-roles { font-size: .875rem; }
.create-roles { color: var(--muted); }
.create-pricing { padding: 9px 11px; background: #f3f7fb; border-radius: 8px; }
.create-pricing dt { font-weight: 700; }
.create-tool-examples > summary { cursor: pointer; color: var(--accent-dark); font-weight: 650; }
.create-tool-actions { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin-top: auto; }
.create-tool-actions .sources { margin-block: 0; }

@media(max-width: 650px) {
  .create-goals, .create-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .create-steps { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .create-flow > summary .muted { display: block; margin: 3px 0 0 16px; }
}
