/* Public help workspace. Scoped so research, account and other pages are unchanged. */
html[data-theme] body[data-fe-design-system] .fe-help-workspace.fe-info-page { max-width:1160px; }
.fe-help-workspace { --help-sticky-top:calc(var(--fe-topbar-height,64px) + 20px); }
.fe-help-workspace [id], #help-page-top { scroll-margin-top:110px; }
.fe-help-navigation { padding:16px; margin-bottom:32px; background:var(--fe-surface); border:1px solid var(--fe-line); border-radius:14px; }
.fe-help-navigation-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 8px 12px; }
.fe-help-navigation-heading > span { font-size:11px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--fe-muted); }
.fe-help-navigation-heading > div { display:flex; gap:18px; }
.fe-help-navigation-heading a { display:inline-flex; align-items:center; min-height:32px; font-size:12px; text-decoration:none; }
.fe-help-menu { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px; }
html[data-theme] body[data-fe-design-system] .fe-help-workspace .fe-help-menu a { display:flex; justify-content:center; align-items:center; min-height:46px; padding:10px; border:1px solid transparent; border-radius:8px; color:var(--fe-secondary); text-decoration:none; font-size:14px; font-weight:600; }
html[data-theme] body[data-fe-design-system] .fe-help-workspace .fe-help-menu a[aria-current=page] { background:rgba(var(--accent-teal-rgb),.10); border-color:rgba(var(--accent-teal-rgb),.36); color:var(--fe-interaction); box-shadow:inset 0 -2px var(--fe-interaction); }
.fe-help-menu a:hover { background:var(--fe-sunken); }
.fe-reading-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:28px; align-items:start; }
.fe-reading-body { min-width:0; }
.fe-help-workspace .fe-help-contents { position:sticky; top:var(--help-sticky-top); max-height:calc(100dvh - 120px); overflow:auto; scrollbar-width:thin; scrollbar-color:var(--fe-control-line) transparent; }
.fe-help-workspace .fe-help-contents > summary { font-size:14px; padding:16px; }
.fe-help-contents > summary span { display:block; margin:5px 0 0 17px; font-size:12px; }
html[data-theme] body[data-fe-design-system] .fe-help-workspace .fe-help-contents[open] summary > span { transform:none; }
.fe-help-workspace .fe-help-contents ol { display:block; padding:0 8px 10px; }
html[data-theme] body[data-fe-design-system] .fe-help-workspace .fe-help-contents a { min-height:44px; padding:10px; border-radius:7px; text-decoration:none; font-size:13px; color:var(--fe-secondary); line-height:1.5; }
.fe-help-contents a:hover { background:var(--fe-sunken); }
html[data-theme] body[data-fe-design-system] .fe-help-workspace .fe-help-contents a[aria-current=location] { color:var(--fe-interaction); background:rgba(var(--accent-teal-rgb),.08); box-shadow:inset 2px 0 var(--fe-interaction); }
html[data-theme] body[data-fe-design-system] .fe-help-workspace .fe-help-heading { margin:0 0 18px; font-size:20px; line-height:1.4; color:var(--fe-ink); font-weight:700; letter-spacing:-.3px; }
.fe-about-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.fe-about-grid--three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.fe-about-grid > * { min-width:0; }
html[data-theme] body[data-fe-design-system] .fe-help-workspace.fe-public-page--about .card { padding:26px; }
.fe-help-workspace .fe-public-prose { overflow-wrap:break-word; }
.fe-help-count { margin-left:auto; color:var(--fe-muted); padding-left:12px; font-variant-numeric:tabular-nums; }
.fe-faq-search { border:1px solid var(--fe-line); background:var(--fe-surface); border-radius:14px; padding:24px; margin:0 0 28px; }
.fe-faq-search label { display:block; margin:0 0 12px; color:var(--fe-ink); font-size:18px; font-weight:700; }
.fe-faq-search-row { display:flex; gap:10px; }
.fe-faq-search-row input { width:100%; min-width:0; padding:12px 14px; border:1px solid var(--fe-control-line); border-radius:8px; }
.fe-faq-search-row button { flex-shrink:0; }
.fe-faq-search p { font-size:13px; color:var(--fe-muted); margin:12px 0 0; min-height:1.5em; }
.fe-faq-category { margin-bottom:32px; }
html[data-theme] body[data-fe-design-system] .fe-help-workspace [data-faq-answer] { padding:0 !important; overflow:hidden; }
html[data-theme] body[data-fe-design-system] .fe-help-workspace [data-faq-answer] summary { padding:17px 20px; font-size:15px !important; min-height:56px; line-height:1.5; }
.fe-help-workspace [data-faq-answer] summary::-webkit-details-marker { display:none; }
html[data-theme] body[data-fe-design-system] .fe-help-workspace [data-faq-answer] > div { margin:0 !important; padding:0 20px 20px; font-size:15px !important; line-height:1.8 !important; }
.fe-help-workspace [data-faq-answer][open] { border-color:var(--fe-control-line) !important; }
.fe-faq-empty { padding:24px; border:1px dashed var(--fe-line); border-radius:14px; color:var(--fe-secondary); }
.fe-faq-empty h2 { color:var(--fe-ink); font-size:20px; margin-bottom:12px; }
.fe-support-modes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 24px; }
.fe-support-modes a { display:flex; flex-direction:column; gap:7px; padding:18px 20px; border:1px solid var(--fe-line); border-radius:12px; background:var(--fe-surface); text-decoration:none; }
.fe-support-modes a[aria-current=page] { border-color:var(--fe-interaction); box-shadow:inset 3px 0 var(--fe-interaction); }
.fe-support-modes strong { font-size:15px; }
.fe-support-modes span { font-size:13px; color:var(--fe-muted); line-height:1.5; }
.fe-help-workspace .support-grid { grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr); }
.fe-help-workspace .support-grid > * { min-width:0; }
.fe-help-workspace .support-field label { margin-bottom:8px; }
.fe-help-workspace .support-field { margin-bottom:20px; }
.fe-help-workspace .support-grid .card-title { text-transform:none; font-size:18px; letter-spacing:0; }
.fe-update-topics { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 28px; }
.fe-update-topics a { display:flex; align-items:center; min-height:44px; padding:10px 16px; border:1px solid var(--fe-line); border-radius:8px; background:var(--fe-surface); font-size:13px; font-weight:600; text-decoration:none; }
.fe-help-workspace .fe-product-update { border:1px solid var(--fe-line); border-radius:14px; background:var(--fe-surface); padding:28px; margin-bottom:18px; grid-template-columns:150px minmax(0,1fr); }
.fe-help-workspace .fe-product-updates { border-top:0; }
.fe-help-workspace .fe-product-update__category { color:var(--fe-interaction); font-weight:600; }
.fe-help-return { max-width:1160px; margin:24px auto 0; display:flex; justify-content:flex-end; }
.fe-help-return a { min-height:44px; display:inline-flex; align-items:center; color:var(--fe-interaction); font-size:14px; }
.fe-help-workspace [hidden] { display:none !important; }
.fe-help-workspace :is(a,button,input,select,textarea,summary):focus-visible { outline:2px solid var(--fe-focus,var(--fe-interaction)); outline-offset:3px; }
@media(max-width:1100px) {
    .fe-reading-layout { grid-template-columns:200px minmax(0,1fr); gap:20px; }
    .fe-about-grid--three { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:900px) {
    .fe-reading-layout { display:block; }
    .fe-help-workspace .fe-help-contents { position:static; max-height:none; overflow:visible; }
    .fe-help-workspace .fe-help-contents ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .fe-help-contents > summary span { display:inline; margin:0 0 0 10px; }
    .fe-help-workspace .support-grid { grid-template-columns:1fr; }
    .fe-help-workspace .support-grid > div:last-child { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
}
@media(max-width:600px) {
    .fe-help-navigation { padding:10px; margin-bottom:24px; }
    .fe-help-navigation-heading { flex-wrap:wrap; gap:4px 16px; padding:4px 4px 10px; }
    .fe-help-navigation-heading a { min-height:44px; }
    .fe-help-menu { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; }
    html[data-theme] body[data-fe-design-system] .fe-help-workspace .fe-help-menu a { padding:9px 5px; font-size:13px; }
    .fe-help-workspace .fe-help-contents ol { grid-template-columns:1fr; }
    .fe-about-grid,.fe-about-grid--three { grid-template-columns:1fr; }
    html[data-theme] body[data-fe-design-system] .fe-help-workspace.fe-public-page--about .card { padding:20px; }
    .fe-faq-search { padding:18px; }
    .fe-faq-search-row { flex-wrap:wrap; }
    .fe-faq-search-row button { width:100%; }
    .fe-support-modes { grid-template-columns:1fr; }
    .fe-support-modes a { padding:14px 16px; }
    .fe-help-workspace .support-grid > div:last-child { display:block; }
    .fe-help-workspace .fe-product-update { display:block; padding:22px; }
    .fe-update-topics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .fe-update-topics a { padding:10px 12px; }
}
@media print {
    .fe-help-navigation,.fe-help-contents,.fe-faq-search,.fe-update-topics,.fe-help-return { display:none !important; }
    .fe-reading-layout { display:block; }
    .fe-help-workspace [data-faq-category][hidden],.fe-help-workspace [data-faq-answer][hidden] { display:block !important; }
    .fe-help-workspace [data-faq-empty] { display:none !important; }
}
/* This stylesheet is loaded only by these help pages. The legacy mobile rule
   targeted a text logo, while the current shared header uses an SVG. */
@media(max-width:430px) {
    .fe-marketing-brand { min-width:0; }
    html[data-theme] body[data-fe-design-system] .fe-marketing-brand .fe-logo { max-width:100%; height:auto; }
}
