/* Public-site typography and components. Sources: site-refinements.css,
   app.css article-content-card / cases-filter-field, home-main service titles. */
body.flows-docs {
    --text: var(--site-text);
    --muted: var(--site-text-muted);
    --soft: var(--site-bg-soft);
    --line: var(--site-border);
    --strong-line: var(--site-border-strong);
    --accent: #f58232;
    --link: #c6530d;
    --rail: 280px;
    --page-width: 1180px;
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
.flows-docs .main { padding: 64px 48px 80px; }
.flows-docs .article-layout { max-width: 900px; margin: 0; }
.flows-docs .directory { max-width: 1180px; }
.flows-docs :is(.article h1, .directory h1) {
    font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--site-text);
    margin: 0 0 24px;
}
.flows-docs .home-heading h1 {
    font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    font-size: 90px;
    font-weight: 900;
    line-height: .96;
    color: #0f0f0f;
    margin-bottom: 28px;
}
.flows-docs :is(.article .intro, .directory .intro, .home-heading p) {
    color: #5b6268;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 720px;
    margin-bottom: 40px;
}
.flows-docs .home-heading { align-items: center; margin-bottom: 48px; }
.flows-docs .home-heading p { margin-bottom: 0; }
.flows-docs :is(.home-reference h2, .section-caption h2, .node-directory>section>h2) {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--site-text);
    margin: 0 0 24px;
}
.flows-docs .node-directory>section { margin-top: 56px; }
.flows-docs .prose {
    font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.72;
    color: var(--site-text-soft);
}
.flows-docs .prose h2 {
    margin: 48px 0 20px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.05;
    font-weight: 800;
    color: var(--site-text);
}
.flows-docs .prose h3 {
    margin: 34px 0 16px;
    font-size: 24px;
    line-height: 1.12;
    font-weight: 700;
    color: var(--site-text);
}
.flows-docs .prose :is(p,li,.step-body p) { font-size: 17px; line-height: 1.72; }
.flows-docs .prose p { margin: 16px 0; }
.flows-docs .prose li+li { margin-top: 10px; }
.flows-docs .ui-path { font-size: 14px; color: var(--site-text-muted); margin-bottom: 32px; }
.flows-docs .rail { background: var(--site-bg-soft); }
.flows-docs .rail-product { padding: 30px 12px 24px; margin: 0 24px; }
.flows-docs .product-symbol, .flows-docs .rail-scroll>a>svg { display: none; }
.flows-docs .rail-product strong { font: 800 24px/1.2 'Manrope', sans-serif; color: var(--site-text); }
.flows-docs .rail-scroll { padding: 20px 24px 32px; }
.flows-docs :is(.nav-item,.rail-home,.nav-group summary,.docs-search,.rail-bottom,.docs-mobile-tools) {
    font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}
.flows-docs :is(.nav-item,.rail-home) {
    font-size: 14px;
    line-height: 1.5;
    padding: 9px 12px;
    border-radius: 0;
    color: var(--site-text-soft);
}
.flows-docs :is(.nav-item,.rail-home):hover { background: transparent; color: #c6530d; }
.flows-docs :is(.nav-item,.rail-home).active {
    background: transparent;
    color: var(--site-text);
    font-weight: 700;
    border-left-color: var(--accent);
}
.flows-docs .rail-home { margin-bottom: 14px; }
.flows-docs .nav-group { margin: 22px 0; }
.flows-docs .nav-group summary { font-size: 14px; line-height: 1.5; padding: 10px 12px; }
.flows-docs .rail-bottom { padding: 20px 36px; font-size: 14px; }
.flows-docs .docs-search {
    min-height: 48px;
    margin: 24px 24px 0;
    padding: 0 14px;
    border: 1px solid rgba(15,23,42,.1);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
}
.flows-docs .directory-tabs { gap: 10px; padding-bottom: 24px; }
.flows-docs .directory-tabs button {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--site-border);
    color: var(--site-text);
    font: 600 14px/1.5 'Manrope', sans-serif;
    box-shadow: none;
}
.flows-docs .directory-tabs button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--site-text); }
.flows-docs .directory-tabs button:hover { border-color: var(--accent); }
.flows-docs .catalog-grid { gap: 0 40px; }
.flows-docs .node-directory .catalog-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0;
    min-width: 0;
    border-color: var(--site-border);
}
.flows-docs .node-directory .catalog-copy { min-width: 0; }
.flows-docs .catalog-card strong {
    display: block;
    font: 700 24px/1.3 'Manrope', sans-serif;
    color: var(--site-text);
    margin-bottom: 12px;
}
.flows-docs .catalog-card p { font: 400 16px/1.6 'Inter', sans-serif; color: var(--site-text-soft); margin: 0; }
.flows-docs .catalog-arrow { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 4px; color: var(--site-text); }
.flows-docs .catalog-card:hover :is(strong,.catalog-arrow) { color: #c6530d; }
.flows-docs .node-settings>div { padding: 22px 0; gap: 32px; }
.flows-docs .node-settings dt { font-size: 16px; font-weight: 700; color: var(--site-text); }
.flows-docs .node-settings dd { font-size: 17px; line-height: 1.72; color: var(--site-text-soft); }
.flows-docs :is(.button-primary,.button-secondary) { font: 600 14px/1.5 'Manrope', sans-serif; min-height: 44px; border-radius: 8px; }
.flows-docs .button-primary { background: var(--accent); padding: 14px 22px; color: var(--site-text); }
.flows-docs .button-primary:hover { background: #ff964c; }
.flows-docs :is(.start-item strong,.reference-links a,.help-links a) { font: 600 17px/1.5 'Manrope', sans-serif; }
.flows-docs .home-reference { margin-top: 56px; gap: 48px; }
.flows-docs .start-grid { margin-bottom: 56px; }
.flows-docs .start-item { padding-top: 24px; padding-bottom: 24px; }
.flows-docs .start-item span { font: 600 14px/1.5 'Manrope', sans-serif; color: var(--site-text-muted); }
.flows-docs .screenshot-links { gap: 20px 28px; margin-bottom: 56px; }
.flows-docs .screenshot-links a { font: 600 14px/1.5 'Manrope', sans-serif; }
.flows-docs table { font-size: 16px; line-height: 1.65; }
.flows-docs :is(th,td) { padding: 18px 20px; }
.flows-docs th { font-weight: 700; color: var(--site-text); }
.flows-docs .code { border-radius: 8px; }
.flows-docs .code pre { font-size: 14px; line-height: 1.8; padding: 24px; }
.flows-docs .code-head .copy { font: 600 12px/1.5 'Manrope', sans-serif; padding: 6px 12px; border-radius: 6px; }
.flows-docs .pager strong { font: 600 16px/1.5 'Manrope', sans-serif; }
.flows-docs .search-dialog { border-radius: 8px; font-family: 'Manrope', sans-serif; }
.flows-docs .search-form { min-height: 72px; }
.flows-docs .result { padding: 18px 16px; border-radius: 8px; }
.flows-docs .result strong { font-size: 18px; }
.flows-docs .result p { font-size: 14px; line-height: 1.6; }
.flows-docs .result:hover,.flows-docs .result[aria-selected=true] { background: var(--site-bg-soft); border-color: var(--site-border); }
@media(max-width:1100px) {
    body.flows-docs { --rail: 250px; }
    .flows-docs .main { padding: 48px 32px 64px; }
    .flows-docs :is(.article h1,.directory h1) { font-size: 48px; }
    .flows-docs .home-heading h1 { font-size: 68px; }
    .flows-docs .catalog-grid { column-gap: 28px; }
    .flows-docs .rail-scroll { padding-inline: 16px; }
    .flows-docs .rail-product { margin-inline: 16px; }
    .flows-docs .docs-search { margin-inline: 16px; }
}
@media(max-width:760px) {
    body.flows-docs { --rail: 280px; }
    .flows-docs .main { padding: 40px 22px 56px; }
    .flows-docs :is(.article h1,.directory h1) { font-size: 36px; line-height: 1.1; margin-bottom: 20px; }
    .flows-docs .home-heading h1 { font-size: 54px; }
    .flows-docs :is(.article .intro,.directory .intro,.home-heading p) { font-size: 18px; margin-bottom: 32px; }
    .flows-docs .home-heading { margin-bottom: 32px; }
    .flows-docs :is(.home-reference h2,.section-caption h2,.node-directory>section>h2) { font-size: 30px; margin-bottom: 20px; }
    .flows-docs .prose h2 { font-size: 28px; line-height: 1.15; margin-top: 40px; }
    .flows-docs .prose h3 { font-size: 24px; }
    .flows-docs .directory-tabs { gap: 8px; }
    .flows-docs .directory-tabs button { padding: 9px 12px; font-size: 13px; }
    .flows-docs .catalog-grid { grid-template-columns: 1fr; }
    .flows-docs .catalog-card strong { font-size: 21px; }
    .flows-docs .node-directory .catalog-card { padding: 24px 0; }
    .flows-docs .node-directory>section { margin-top: 40px; }
    .flows-docs .node-settings>div { padding: 20px 0; }
    .flows-docs .node-settings dt { margin-bottom: 8px; }
    .flows-docs :is(.prose,.prose p,.prose li,.node-settings dd) { font-size: 16px; }
    .flows-docs table { font-size: 14px; }
    .flows-docs :is(th,td) { padding: 14px 16px; }
    .flows-docs .code pre { font-size: 12px; padding: 18px; }
    .flows-docs .home-reference { gap: 40px; }
    .flows-docs .docs-menu-button { font-size: 14px; }
}
@media print {
    .flows-docs .main { padding: 0; }
    .flows-docs :is(.article h1,.directory h1) { font-size: 26pt; }
    .flows-docs .prose h2 { font-size: 17pt; }
    .flows-docs .prose,.flows-docs .node-settings dd { font-size: 11pt; }
}
/* The shared Tailwind layer makes the mobile header relative; documentation
   keeps the existing fixed header and its measured navigation offset. */
@layer theme {
    body.flows-docs>.cmdf5-inspired-nav { position: fixed !important; }
}
.flows-docs .variable-reference table code { font-size: 14px; }
