/* Approved topic-first design. Loaded last, only active on the Capture OS.
 * Real data, entitlement gates and earned coin faces retain their own markup.
 * Layout hooks are additive; legacy routes and controls remain available. */
body.fd-design {
  --fd-bg:#f5f3ec; --fd-paper:#fffef9; --fd-soft:#eef1e7;
  --fd-ink:#29372e; --fd-muted:#586653; --fd-line:#d9ded0;
  --fd-green:#526547; --fd-green-dark:#344b2c; --fd-mint:#d9eddd;
  --bg:var(--fd-bg); --surface:var(--fd-paper); --ink:var(--fd-ink);
  --ink-2:var(--fd-muted); --muted:var(--fd-muted); --line:var(--fd-line);
  --line-2:#cbd4bf; --navy:var(--fd-green-dark); --navy-2:#344b2c;
  --navy-3:#344b2c; --gold:#526547; --gold-dim:#e8eddf; --radius:8px;
  --ss-bg:var(--fd-bg); --ss-panel:var(--fd-paper); --ss-soft:var(--fd-soft);
  --ss-ink:var(--fd-ink); --ss-ink-60:var(--fd-muted); --ss-ink-40:var(--fd-muted);
  --ss-mint:var(--fd-mint); --ss-mint-2:#f0f5e9; --ss-teal-d:#33583d;
  --ss-line:var(--fd-line); --ss-navy:var(--fd-green-dark); --ss-teal:var(--fd-green);
  --ss-teal-soft:#e6ecdd; --ss-serif:"Newsreader","Source Serif 4",Georgia,serif;
  --font-serif:"Newsreader","Source Serif 4",Georgia,serif;
  --font-sans:"DM Sans",ui-sans-serif,system-ui,sans-serif;
  color-scheme:light; background:var(--fd-bg); color:var(--fd-ink);
  font:400 14px/1.55 "DM Sans",ui-sans-serif,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.fd-design * { box-sizing:border-box; }
body.fd-design [hidden] { display:none!important; }
body.fd-design :focus-visible { outline:3px solid #526547; outline-offset:3px; }
body.fd-design :is(input,textarea,select):focus-visible { outline-offset:1px; }
body.fd-design ::selection { background:#dce8cd; color:#253323; }
body.fd-design a { color:var(--fd-green-dark); }
/* FIX-4 (r20): the Pro teaser's "See Pro" is a primary action: white on olive like every other one, not
   olive text on the old teal pill (1.98:1). Light and system dark mode alike (the approved shell is light). */
body.fd-design a.jd-btn, body.fd-design a.jd-btn:visited { color:#fff; background:var(--fd-green, #526547); }
body.fd-design a.jd-btn:hover { color:#fff; background:var(--fd-green-dark, #344b2c); }
@media (max-width:760px) { body.fd-design a.jd-btn { min-height:44px; align-items:center; } }
/* FIX-4 (r04): the crisis links on the Veterans page, VA help and the income page are 44px tap targets on a
   phone, as in Veterans Hall. */
body.fd-design .va-crisis a { text-decoration:underline; text-underline-offset:2px; }
@media (max-width:760px) { body.fd-design :is(.va-crisis, .vets-crisis) a { display:inline-flex; align-items:center; min-height:44px; padding:0 2px; vertical-align:middle; } }
body.fd-design :is(button,a,input,select,textarea) { -webkit-tap-highlight-color:#dce8cd; }
body.fd-design :is(button,input,select,textarea) { font-family:inherit; }
body.fd-design :is(input,textarea,select) { max-width:100%; color:var(--fd-ink); background:var(--fd-paper); border-color:#cbd4bf; border-radius:5px; }
body.fd-design input::placeholder,body.fd-design textarea::placeholder { color:#6a7565; opacity:1; }
body.fd-design :is(button,a)[aria-disabled="true"] { cursor:not-allowed; }

/* One header, one section rail. The full width header is shared by every route. */
body.fd-design #shell { display:block; position:relative; padding-top:64px; min-height:100dvh; max-width:1510px; margin:0 auto; }
body.fd-design .fd-header { position:fixed; inset:0 0 auto; z-index:80; height:64px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:0 max(28px,calc((100vw - 1454px)/2)); background:var(--fd-paper); border-bottom:1px solid var(--fd-line); }
body.fd-design .fd-brand,body.fd-design .fd-header-brand { font:700 29px/1 "DM Sans",sans-serif; letter-spacing:-1.6px; text-decoration:none; color:var(--fd-ink); white-space:nowrap; }
body.fd-design .fd-brand { display:inline-flex; align-items:center; gap:9px; flex:none; letter-spacing:-1px; }
body.fd-design .fd-brand-logo { display:block; width:40px; height:40px; object-fit:contain; flex:none; }
body.fd-design .fd-brand-word { display:inline-flex; align-items:baseline; font-weight:700; }
body.fd-design .fd-word-fed { color:#000; }
body.fd-design .fd-word-m8 { color:#3b472c; background:url('/assets/brand-camo.svg') repeat; background-size:44px 33px; }
@supports (background-clip:text) {
  body.fd-design .fd-word-m8 { background-clip:text; -webkit-background-clip:text; color:transparent; -webkit-text-stroke:.2px #303b25; }
}
body.fd-design .fd-header :is(.fd-header-actions,.fd-utilities,.fd-header-utilities) { display:flex; align-items:center; gap:9px; min-width:0; }
body.fd-design .fd-header :is(button,a:not(.fd-brand):not(.fd-header-brand)) { display:inline-flex; justify-content:center; align-items:center; gap:7px; min-height:44px; border-radius:5px; padding:7px 10px; font-size:12px; color:var(--fd-ink); text-decoration:none; }
body.fd-design .fd-header button { border:1px solid var(--fd-line); background:transparent; }
body.fd-design .fd-header :is(button,a):hover { background:#edf1e5; }
body.fd-design .fd-header .fd-brand:hover,body.fd-design .fd-header .fd-header-brand:hover { background:transparent; }
body.fd-design .fd-header svg { width:18px; height:18px; flex:none; }
body.fd-design #sidebar { position:fixed; top:64px; bottom:0; left:max(28px,calc((100vw - 1454px)/2)); width:190px; z-index:60; border:0; background:var(--fd-bg); color:var(--fd-ink); padding:24px 0 18px; overflow:hidden; overscroll-behavior:contain; transform:none; box-shadow:none; }
body.fd-design #sidebar .sb-brand { display:none; } /* Brand is in the shared header. */
body.fd-design #sidebar .sb-nav { padding:0; overflow:visible; }
body.fd-design .fd-nav { display:flex; flex-direction:column; gap:1px; flex:1 1 0; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; }
body.fd-design .fd-nav > * { flex-shrink:0; }
body.fd-design .fd-nav-group { display:flex; flex-direction:column; gap:1px; margin:0; }
body.fd-design .fd-nav-label { display:block; padding:0 10px; margin:22px 0 9px; font-size:10px; font-weight:600; line-height:1.5; text-transform:uppercase; letter-spacing:1px; color:#5d6958; }
body.fd-design #sidebar :is(.fd-nav-link,a.fd-nav-link,button.fd-nav-link) { position:relative; display:flex; align-items:center; gap:10px; width:100%; min-height:44px; padding:10px; margin:1px 0; border:0; border-radius:5px; background:transparent; box-shadow:none; color:var(--fd-muted); font-size:13px; font-weight:400; line-height:1.4; text-align:left; text-decoration:none; }
body.fd-design #sidebar .fd-nav-link svg { width:18px; height:18px; flex:none; opacity:1; stroke:currentColor; }
body.fd-design #sidebar .fd-nav-link:hover { color:var(--fd-green-dark); background:#ebeee3; }
body.fd-design #sidebar .fd-nav-link:is(.on,.active,[aria-current="page"]) { color:var(--fd-green-dark); font-weight:600; background:#e4ead8; }
body.fd-design #sidebar .fd-nav-link:is(.on,.active,[aria-current="page"])::before { content:""; display:block; position:absolute; left:0; top:12px; bottom:12px; width:3px; border-radius:2px; background:#526547; }
body.fd-design .fd-nav-group.fd-personal,body.fd-design .fd-nav-private { margin-top:22px; padding-top:16px; border-top:1px solid var(--fd-line); }
body.fd-design #sidebar .sb-foot { flex:0 0 auto; margin-top:12px; border-top:1px solid var(--fd-line); padding:14px 10px 0; background:transparent; }
body.fd-design #sidebar .sb-foot :is(.email,.credits) { color:var(--fd-muted); font-size:11px; }
body.fd-design #sidebar #sb-email { display:none; }
body.fd-design #sidebar .sb-foot .pill { color:#435a36; background:#e8eddd; border-color:#c9d4ba; font-size:10px; font-weight:600; }
body.fd-design #sidebar .sb-signout { min-height:44px; color:var(--fd-muted); border-color:var(--fd-line); }
body.fd-design #main { display:flex; flex-direction:column; width:auto; min-width:0; margin-left:248px; padding:24px 28px 70px 0; max-width:none; background:transparent; }
body.fd-design #page-head { padding:0; margin:0 0 16px; gap:12px; align-items:center; min-height:42px; border:0; background:transparent; }
body.fd-design #main #page-head { padding:0; }
body.fd-design #page-title { font:500 31px/1.18 var(--font-serif); letter-spacing:-.8px; color:var(--fd-ink); }
body.fd-design #main #page-head #page-title { position:static; width:auto; height:auto; margin:0; overflow:visible; clip:auto; clip-path:none; white-space:normal; visibility:visible; opacity:1; color:var(--fd-ink); }
body.fd-design #crumb-row,body.fd-design #menu-btn { display:none!important; }
body.fd-design #main:has(#crumb-row:not([hidden])) { padding-top:24px; }
body.fd-design .page-title-row { display:flex; align-items:center; gap:9px; }
body.fd-design #page-content { min-width:0; width:100%; padding:0; }
body.fd-design #main #page-content { padding:0; }
body.fd-design #crumb-row { padding:0; margin:0 0 12px; font-size:12px; }
body.fd-design #page-head .sub { color:var(--fd-muted); font-size:13px; max-width:70ch; }
body.fd-design #page-action { display:flex; flex-wrap:wrap; gap:7px; }

/* Public discovery scopes are intentionally separate from private work. */
body.fd-design .fd-public-tabs { display:flex; align-items:center; width:100%; max-width:100%; min-width:0; padding:3px; gap:3px; min-height:48px; margin:0 0 17px; border:1px solid #d2d9c8; border-radius:6px; background:#e8ebdf; overflow:auto; scrollbar-width:none; overscroll-behavior-x:contain; }
body.fd-design .fd-public-tabs::-webkit-scrollbar { display:none; }
body.fd-design .fd-public-tabs button { flex:1 0 auto; display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:8px 16px; border:0; border-radius:4px; font-size:13px; font-weight:400; white-space:nowrap; color:#42543a; background:transparent; cursor:pointer; }
body.fd-design .fd-public-tabs button:hover { background:#dce4d0; }
body.fd-design .fd-public-tabs button:is(.on,.active,[aria-pressed="true"],[aria-selected="true"]) { color:#fffef9; background:#526547; }
body.fd-design .fd-public-tabs :is(.fd-public-label,.fd-public-flag) { display:inline-flex; align-items:center; gap:5px; padding:0 8px; color:#43553a; font-size:10px; letter-spacing:.8px; text-transform:uppercase; white-space:nowrap; }
body.fd-design .fd-public-tabs svg { width:14px; height:14px; flex:none; }
body.fd-design .fd-public-tabs small { font-size:10px; padding:2px 5px; border:1px solid #bdc7b2; border-radius:2px; }
body.fd-design .fd-scope-short { display:none; }
body.fd-design #subnav { display:flex; padding:0; gap:22px; margin:0 0 14px; background:transparent; border-bottom:1px solid var(--fd-line); flex-wrap:wrap; overflow:visible; }
body.fd-design #subnav a { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:8px 0; border:0; border-bottom:2px solid transparent; border-radius:0; font-size:12px; font-weight:400; color:var(--fd-muted); white-space:nowrap; background:none; box-shadow:none; }
body.fd-design #subnav a.on { border-bottom-color:#526547; color:#344b2c; font-weight:600; background:transparent; box-shadow:none; }
body.fd-design #subnav .chip { font-size:10px; font-weight:400; border-radius:3px; padding:1px 4px; background:#eef1e7; color:var(--fd-muted); border-color:var(--fd-line); }
body.fd-design .fd-mobile-dock { display:none; }

/* Help on demand: only help controls and the opened native dialog add copy. */
body.fd-design .fd-help-button { display:inline-flex; align-items:center; justify-content:center; flex:none; width:44px; height:44px; min-width:44px; min-height:44px; padding:0; border:1px solid #cbd3c0; border-radius:50%; background:transparent; color:#53634a; font:500 15px/1 "DM Sans",sans-serif; cursor:pointer; }
body.fd-design .fd-help-button:hover { background:#e9eedf; border-color:#9dae8e; }
body.fd-design .fd-help-dialog { position:fixed; inset:0; margin:auto; width:min(520px,calc(100vw - 32px)); max-height:80dvh; padding:24px; border:1px solid #cbd4bf; border-radius:10px; background:var(--fd-paper); color:var(--fd-ink); box-shadow:0 18px 80px #1f2f2540; overflow:auto; line-height:1.65; }
body.fd-design .fd-help-dialog::backdrop { background:#23302366; backdrop-filter:blur(2px); }
body.fd-design .fd-help-dialog h2 { font:500 26px/1.3 var(--font-serif); margin:0; letter-spacing:-.4px; }
body.fd-design .fd-help-dialog h3 { margin:18px 0 5px; font-size:14px; }
body.fd-design .fd-help-dialog p { margin:10px 0; font-size:13px; color:var(--fd-muted); }
body.fd-design .fd-help-dialog ul { margin:10px 0; padding-left:20px; font-size:13px; }
body.fd-design .fd-help-dialog li { margin:7px 0; }
body.fd-design .fd-help-dialog :is(.fd-help-heading,.fd-help-header) { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
body.fd-design .fd-help-dialog :is(.fd-help-close,[data-help-close]) { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; border:1px solid var(--fd-line); border-radius:5px; color:var(--fd-ink); background:transparent; font-size:23px; float:right; }
body.fd-design .fd-help-dialog :is(.panel,.card) { padding:0; border:0; box-shadow:none; background:transparent; }

/* Existing tools share the approved compact surface and type rules. */
body.fd-design :is(.btn,.fx-btn,.fx-btn-o,.fx-btn-g,.fx-btn-q,.fx-btn-go,.crx-btn,.ssx-btn,.jh-btn) { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:44px; max-width:100%; padding:8px 13px; border-radius:5px; font-size:12px; font-weight:500; line-height:1.4; text-decoration:none; }
body.fd-design :is(.btn,.fx-btn,.fx-btn-go,.crx-btn.primary,.ssx-btn,.jh-btn) { border:1px solid #526547; background:#526547; color:#fffef9; }
body.fd-design :is(.btn.ghost,.fx-btn-o,.fx-btn-g,.fx-btn-q,.crx-btn,.ssx-btn-quiet) { border:1px solid #cbd4bf; background:var(--fd-paper); color:var(--fd-green-dark); }
body.fd-design :is(.btn,.fx-btn,.fx-btn-go,.crx-btn.primary,.ssx-btn,.jh-btn):hover { border-color:#3e5234; background:#3e5234; color:#fffef9; text-decoration:none; }
body.fd-design :is(.btn.ghost,.fx-btn-o,.fx-btn-g,.fx-btn-q,.crx-btn,.ssx-btn-quiet):hover { border-color:#aebf9c; background:#edf1e5; color:var(--fd-green-dark); }
body.fd-design :is(.btn.danger,.fx-danger) { color:#9a302d; background:#fff5f1; border-color:#d9b2a9; }
body.fd-design #page-content :is(.panel,.card,.ssx-card,.jh-row,.jh-pulse-row,.crx-person,.fx-mem,.fx-talk-post) { min-width:0; border:1px solid var(--fd-line); border-radius:8px; background:var(--fd-paper); box-shadow:0 1px 3px #29372e04; }
body.fd-design #page-content .panel { padding:18px 20px; margin-bottom:14px; }
body.fd-design #page-content :is(.panel h2,.panel h3,.ssx-card-title,.jh-title) { font-family:"DM Sans",sans-serif; font-size:15px; font-weight:600; letter-spacing:0; line-height:1.45; color:var(--fd-ink); }
body.fd-design #page-content :is(.panel p,.panel li,.ssx-note,.jh-sub,.jh-empty,.jh-row-meta,.jh-pulse-snip) { font-size:13px; font-weight:400; line-height:1.6; color:var(--fd-muted); }
body.fd-design #page-content :is(.fine,.muted,small) { color:var(--fd-muted); font-weight:400; }
body.fd-design :is(.os-row,.resource-row) { padding:13px 0; border-bottom-color:var(--fd-line); }
body.fd-design :is(.metric,.ssx-card,#jev-home-best,#jev-home-formation,#jev-home-pulse) { border:1px solid var(--fd-line); border-radius:8px; box-shadow:none; background:var(--fd-paper); }
body.fd-design :is(#jev-home-best,#jev-home-formation,#jev-home-pulse) { padding:16px 18px; }
body.fd-design :is(.metric .lbl,.ssx-eyebrow,.jh-eyebrow,.jh-form-tag) { color:var(--fd-muted); font-size:10px; letter-spacing:.7px; font-weight:600; }
body.fd-design .metric .val { font-size:25px; font-weight:500; color:var(--fd-ink); }
body.fd-design :is(.jh-count,.jh-match,.jh-discuss-count,.jh-keynum,.crx-score,.crx-conf) { background:#d9eddd; border:1px solid #c5ddc9; border-radius:999px; color:#31553b; font-weight:600; box-shadow:none; }
body.fd-design :is(.jh-match,.crx-score) { min-height:44px; padding:4px 9px; font-size:13px; }
body.fd-design :is(.jh-row-title,.jh-pulse-title,.jh-cc-title) { color:var(--fd-ink); font-size:14px; font-weight:600; }
body.fd-design :is(.jh-hook,.jh-question,.jh-quest) { padding:12px; border:1px solid #cfd8c2; border-radius:6px; background:#f0f4e8; color:var(--fd-ink); }
body.fd-design :is(.jh-hook-text,.jh-quest-title,.jh-quest-line,.jh-form-line) { color:var(--fd-ink); font-size:13px; font-weight:500; }
body.fd-design .jh-discuss-btn { min-height:44px; border-radius:5px; background:#526547; font-weight:500; }
body.fd-design :is(.jh-chip,.crx-badge,.fx-pill) { padding:3px 7px; border:1px solid var(--fd-line); border-radius:4px; background:#eef1e7; color:#42533a; font-size:11px; font-weight:400; }
body.fd-design :is(.jh-chip.due,.crx-badge.due,.fx-pill.due.soon) { color:#825322; background:#fff2d8; border-color:#eddbb6; }
body.fd-design :is(.jh-progress-fill,.jh-bar-fill,.crx-bar-fill) { background:#526547; }
body.fd-design :is(.jh-link,.ssx-link) { color:#435e36; font-weight:500; }
body.fd-design .ssx-card { padding:16px 18px; }
body.fd-design .ssx-card.ssx-chat { background:var(--fd-paper); border-color:#cbd6bd; }
body.fd-design .ssx-tab { display:inline-flex; min-height:44px; align-items:center; padding:7px 10px; border-radius:5px; font-size:12px; font-weight:400; background:var(--fd-paper); color:var(--fd-muted); }
body.fd-design .ssx-tab-on { color:#fffef9; background:#526547; border-color:#526547; font-weight:500; }
body.fd-design .ssx-rail { gap:14px; top:84px; }
body.fd-design :is(.form-row,.cd-grid,.os-toolbar) :is(input,select) { min-height:44px; }
body.fd-design table.data { font-size:12px; }
body.fd-design table.data th { font-size:10px; font-weight:600; color:var(--fd-muted); }
body.fd-design table.data td { border-color:var(--fd-line); }
body.fd-design table.data tr:hover td { background:#eef2e7; }

/* Contract discovery and attached room. A room stays in the work document. */
body.fd-design :is(.fx,.fx-dialog,.fx-sheet) {
  --fx-ink:var(--fd-ink); --fx-ink2:var(--fd-muted); --fx-muted:var(--fd-muted);
  --fx-line:var(--fd-line); --fx-line2:#cbd4bf; --fx-navy:#526547;
  --fx-navy-d:#344b2c; --fx-pale:#e8eddf; --fx-sel:#f0f4e8;
  --fx-match:#31553b; --fx-green:#526547; --fx-green-bg:#d9eddd;
  --fx-green-fg:#31553b; --fx-grey-bg:#eef1e7; --fx-focus:#526547;
  --fx-teal:#526547; color:var(--fd-ink);
}
body.fd-design :is(.crx,.crx-modal,.crx-drawer,.crx-board,.crx-toast,.crx-view,.crx-overlay,.crx-kwpop) {
  --bg:var(--fd-bg); --panel:var(--fd-paper); --soft:var(--fd-soft);
  --ink:var(--fd-ink); --muted:var(--fd-muted); --line:var(--fd-line);
  --navy:#344b2c; --teal:#526547; --mint:#d9eddd;
  --shadow:0 2px 8px #29372e07; color:var(--fd-ink);
}
body.fd-design .fx { gap:14px; }
body.fd-design .fx-split { grid-template-columns:minmax(260px,34%) minmax(0,1fr); gap:16px; }
body.fd-design .fx-search,body.fd-design .crx-view .fx-search { background:transparent; border:0; padding:0; border-radius:0; }
body.fd-design .fx-q { min-height:44px; background:var(--fd-paper); border-color:var(--fd-line); border-radius:5px; }
body.fd-design .fx-q input { font-size:13px; min-width:0; color:var(--fd-ink); }
body.fd-design .fx-tabs { gap:20px; width:auto; max-width:none; padding:0; border-bottom:1px solid var(--fd-line); border-radius:0; background:transparent; overflow:auto; }
body.fd-design .fx-tab { min-height:44px; flex:0 0 auto; border:0; border-bottom:2px solid transparent; border-radius:0; padding:8px 0; background:transparent; font-size:12px; font-weight:400; color:var(--fd-muted); }
body.fd-design .fx-tab[aria-selected="true"] { color:#344b2c; border-bottom-color:#526547; background:transparent; font-weight:600; }
body.fd-design .crx-view section.fx-list { background:transparent; border:0; border-radius:0; padding:0; }
body.fd-design :is(.fx-card,.crx-view .fx-card) { background:var(--fd-paper); border:1px solid var(--fd-line); border-radius:8px; padding:14px; margin-bottom:0; box-shadow:0 1px 3px #29372e04; }
body.fd-design :is(.fx-card.sel,.crx-view .fx-card.sel) { background:var(--fd-paper); border-color:#b8c5aa; box-shadow:inset 2px 0 #81976b; }
body.fd-design .fx-card-main { padding:0 34px 0 0; gap:7px; }
body.fd-design .crx-view .fx-card-title { font-size:16px; line-height:1.4; font-weight:500; }
body.fd-design .fx-card .fx-star { top:6px; right:5px; }
body.fd-design .crx-cardx-topline { margin-bottom:8px; font-size:11px; }
body.fd-design .crx-cardx-meta { font-size:11px; }
body.fd-design :is(.fx-panel,.crx-view .fx-panel) { border:1px solid var(--fd-line); border-radius:8px; box-shadow:0 1px 3px #29372e04; background:var(--fd-paper); }
body.fd-design .crx .fx-p-head { padding:20px 22px 0; }
body.fd-design .crx .fx-p-title { font:500 27px/1.25 var(--font-serif); letter-spacing:-.5px; margin:0 0 10px; overflow-wrap:anywhere; }
body.fd-design .crx .fx-p-org { font-size:12px; line-height:1.55; color:var(--fd-muted); }
body.fd-design .crx-confrow { margin-bottom:10px; }
body.fd-design .crx-conf { min-height:44px; padding:6px 10px; gap:5px; }
body.fd-design .crx-conf-pct { font-size:17px; }
body.fd-design .crx-conf-label { font-size:10px; letter-spacing:0; font-weight:500; text-transform:none; }
body.fd-design .crx-confcopy { font-size:11px; }
body.fd-design .crx-confcopy strong { font-size:12px; font-weight:500; }
body.fd-design .crx-actsbar { gap:7px; padding:0 22px 12px; margin-top:12px; }
body.fd-design .crx .fx-dtabs { padding:0 22px; gap:22px; background:transparent; overflow-x:auto; }
body.fd-design .crx .fx-dtab { font-size:12px; min-height:44px; font-weight:400; padding:10px 0; border-bottom-width:2px; }
body.fd-design .crx .fx-dtab[aria-selected="true"] { color:#344b2c; font-weight:600; border-bottom-color:#526547; }
body.fd-design .crx .fx-tabpanel { padding:16px 22px 20px; gap:14px; background:var(--fd-paper); }
body.fd-design .crx .fx-kicker { color:#526547; font-size:10px; letter-spacing:.7px; font-weight:600; }
body.fd-design .crx-lede { background:#eef1e7; border-left:2px solid #81976b; padding:11px 13px; border-radius:0 4px 4px 0; gap:12px; }
body.fd-design .crx-lede-p { font:400 13px/1.6 "DM Sans",sans-serif; }
body.fd-design .crx-duecard { border-radius:5px; padding:7px; width:65px; }
body.fd-design .crx-samlink { font-size:12px; font-weight:500; min-height:44px; display:inline-flex; align-items:center; }
body.fd-design .crx .fx-facts { grid-template-columns:repeat(3,minmax(0,1fr)); border-radius:5px; margin-top:0; }
body.fd-design .crx .fx-facts>div { padding:10px; }
body.fd-design .crx .fx-facts dt { font-size:10px; }
body.fd-design .crx .fx-facts dd { font-size:12px; font-weight:500; overflow-wrap:anywhere; }
body.fd-design .crx-fitcall { border-radius:5px; padding:11px; background:#edf3e5; }
body.fd-design .crx-fitcall-t { font-size:13px; font-weight:500; }
body.fd-design .crx-fitcall-p { font-size:12px; color:var(--fd-muted); }
body.fd-design :is(.fd-inline-contract,.fd-contract-layout) .fx-split,
body.fd-design .fx-split.fd-contract-layout { display:flex; flex-direction:column; }
body.fd-design :is(.fd-inline-contract,.fd-contract-layout) .fx-list { width:100%; }
body.fd-design .fd-inline-contract.fx-panel,body.fd-design .fd-contract-layout .fx-panel { position:static; inset:auto; width:100%; max-width:100%; max-height:none; height:auto; overflow:visible; transform:none; visibility:visible; }
body.fd-design .fx-scrim { display:none!important; }
body.fd-design .crx-chat-head .ja-ask-entry { display:none; }
body.fd-design .fd-inline-contract .crx-room-cols { display:block; overflow:visible; }
body.fd-design .fd-inline-contract .crx-room-cols>.fx-tabpanel { overflow:visible; }

/* Public conversation is part of its topic, never a floating public window. */
body.fd-design :is(.fd-topic-chat,.crx-chat) { border:0; border-top:1px solid var(--fd-line); border-radius:0; background:transparent; box-shadow:none; overflow:visible; margin-top:12px; }
body.fd-design :is(.fd-topic-chat-head,.crx-chat-head) { display:flex; align-items:center; gap:8px; min-height:56px; padding:5px 0; }
body.fd-design :is(.fd-topic-chat-head,.crx-chat-head) strong { font-size:14px; font-weight:600; }
body.fd-design :is(.fd-topic-chat-head,.crx-chat-head) :is(svg) { width:15px; height:15px; flex:none; }
body.fd-design :is(.fd-topic-chat-head,.crx-chat-head) :is(.fd-help-button,.crx-chat-refresh) { margin-left:auto; }
body.fd-design :is(.fd-topic-chat-toggle,.fd-chat-toggle,.crx-chat-toggle) { min-width:44px; min-height:44px; border:1px solid #cbd4bf; border-radius:5px; background:#f8faef; color:#485c3c; font-size:23px; line-height:1; }
body.fd-design .crx-chat-refresh { min-width:44px; min-height:44px; border:1px solid var(--fd-line); border-radius:5px; padding:7px; background:transparent; color:var(--fd-green-dark); font-size:12px; }
body.fd-design .fd-topic-help { width:44px; min-width:44px; height:44px; padding:0; border:1px solid #cbd3c0; border-radius:50%; color:#53634a; background:transparent; font-size:14px; }
body.fd-design .fd-topic-chat { margin:0 22px 16px; }
body.fd-design .fd-chat-toggle { width:44px; min-width:44px; height:44px; padding:0; background:#f8faef; font-size:23px; }
body.fd-design .fd-public-policy { margin:8px 0 0; font-size:11px; line-height:1.5; color:var(--fd-muted); }
body.fd-design .crx-composer { border:0; padding:0; margin-top:10px; }
body.fd-design .crx-composer-box { border:0; padding:0; border-radius:0; background:transparent; }
body.fd-design .crx-composer-ta { min-height:68px; padding:11px 12px; border:1px solid #cdd6c1; border-radius:5px; background:#fffefb; font-size:13px; line-height:1.5; }
body.fd-design .crx-composer-row { gap:9px; margin-top:8px; }
body.fd-design .crx-identity { color:var(--fd-muted); font-size:11px; }
body.fd-design .crx-ack { align-items:center; gap:8px; font-size:11px; color:var(--fd-muted); }
body.fd-design .crx-ack input { min-width:20px; min-height:20px; accent-color:#526547; }
body.fd-design .crx-ack label { padding:8px 0; }
body.fd-design .crx-locknote { padding:10px 12px; border-radius:5px; font-size:12px; font-weight:400; }
body.fd-design .crx-chat-tabs { display:flex; width:max-content; max-width:100%; overflow:auto; margin:0 0 10px; padding:3px; border-color:var(--fd-line); border-radius:5px; background:#eef1e7; }
body.fd-design .crx-chat-tab { min-height:44px; padding:7px 11px; border-radius:4px; font-size:12px; font-weight:400; }
body.fd-design .crx-chat-tab.on { background:#e0e9d5; color:#344b2c; font-weight:500; }
body.fd-design :is(.fd-topic-chat-body,.crx-chat-body) { padding:0 0 2px; background:transparent; }
body.fd-design .crx-msg { margin:10px 0; padding:12px; border:1px solid #dce2d1; border-radius:5px; background:#f9faf3; font-size:13px; }
body.fd-design .crx-msg .crx-msg-body { font-size:13px; line-height:1.6; }
body.fd-design .crx .crx-msg-act { min-height:44px; padding:6px 8px; color:var(--fd-green-dark); font-size:12px; }
body.fd-design .crx-note { color:var(--fd-muted); font-size:12px; }
body.fd-design .crx-locknote { color:#7a4e1f; }

/* Readiness tools retain their stages and fields, with the same quieter skin. */
body.fd-design section.cd.cd-lift { --lift-navy:#344b2c; --lift-ink:#29372e; --lift-ink2:#586653; --lift-muted:#586653; --lift-line:#d9ded0; --lift-gold:#81976b; --lift-gold-deep:#526547; margin:0 0 20px; }
body.fd-design section.cd.cd-lift h2 { font:500 25px/1.3 var(--font-serif); color:var(--fd-ink); }
body.fd-design section.cd.cd-lift :is(.lead,.cd-note) { font-size:13px; color:var(--fd-muted); }
body.fd-design section.cd .cd-modes.cd-seg { background:#e8eddf; border-radius:5px; border-color:var(--fd-line); padding:3px; }
body.fd-design section.cd .cd-modes.cd-seg button { min-height:44px; border-radius:4px; font-size:12px; font-weight:500; }
body.fd-design section.cd .cd-modes.cd-seg button.on { background:#526547; color:#fffef9; }
body.fd-design section.cd :is(.cd-panel,.cd-stage,.cd-guide-opt.cd-lift-opt) { border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); box-shadow:none; }
body.fd-design section.cd .cd-stage.cd-lift-stage { padding:16px 18px; border-radius:7px; border-color:var(--fd-line); }
body.fd-design section.cd .cd-stage.cd-lift-stage .cd-stage-head h3 { font-size:15px; font-weight:600; }
body.fd-design section.cd .cd-stage.cd-lift-stage .cd-stage-n { background:#e4ead8; color:#344b2c; border-color:#cbd6bd; }
body.fd-design section.cd button.cd-guide-opt.cd-lift-opt { min-height:64px; padding:13px 15px; }
body.fd-design section.cd button.cd-guide-opt.cd-lift-opt b { font-size:14px; font-weight:600; }
body.fd-design section.cd .cd-lift-dot { color:#526547; border-color:#bdcbaa; }
body.fd-design section.cd .cd-lift-step.active .cd-lift-dot { background:#526547; border-color:#526547; color:#fffef9; }
body.fd-design section.cd .cd-tabs { gap:18px; border-bottom-color:var(--fd-line); }
body.fd-design section.cd .cd-tabs button { min-height:44px; padding:7px 0; border-radius:0; font-size:12px; font-weight:400; }
body.fd-design section.cd .cd-tabs button.on { color:#344b2c; background:transparent; border-color:#526547; font-weight:600; }
body.fd-design section.cd :is(.cd-lift-bar i,.cd-lift-progress i) { background:#526547; }
body.fd-design .section-landing { margin:0 0 20px; max-width:none; }
body.fd-design .section-hero { border-color:var(--fd-line); border-radius:8px; background:var(--fd-paper); }
body.fd-design .section-copy { padding:24px; }
body.fd-design .section-copy h1 { color:var(--fd-ink); font:500 clamp(25px,2.5vw,32px)/1.2 var(--font-serif); letter-spacing:-.5px; margin-bottom:12px; }
body.fd-design .section-intro { color:var(--fd-muted); font-size:14px; margin-bottom:18px; }
body.fd-design .section-image { min-height:230px; max-height:310px; }
body.fd-design .section-paths { margin-top:16px; gap:22px; }
body.fd-design .section-path { padding:14px 0; border-top:1px solid #b7c4a5; }
body.fd-design .section-path h2 { font-size:15px; font-weight:600; }
body.fd-design .section-path p { font-size:13px; color:var(--fd-muted); }

/* Other working surfaces, private messages and truthful activity retain content. */
body.fd-design #talk-immersive :is(.ti-hero,.ti-card,.ti-case) { background:var(--fd-paper); border-color:var(--fd-line); border-radius:8px; box-shadow:none; }
body.fd-design #talk-immersive .ti-title { font-family:var(--font-serif); font-weight:500; color:var(--fd-ink); }
body.fd-design #talk-immersive :is(.ti-card-title,.ti-case-title,.ti-room-title) { color:var(--fd-ink); font-weight:600; }
body.fd-design #talk-immersive :is(.ti-card-sub,.ti-sub,.ti-empty) { color:var(--fd-muted); font-weight:400; font-size:13px; }
body.fd-design #talk-immersive :is(.ti-stage,.ti-case-count) { background:#d9eddd; color:#31553b; font-weight:600; }
body.fd-design .inbox-shell { border-radius:8px; background:var(--fd-paper); }
body.fd-design .inbox-toolbar { border-color:var(--fd-line); }
body.fd-design .inbox-seg a.on { background:#526547; color:#fffef9; }
body.fd-design .inbox-msg { background:var(--fd-paper); border-color:var(--fd-line); }
/* Round 5 (R3a, ux finding 3): the open (aria-selected) Inbox row is marked by a 4px olive bar (#526547, above 3:1 on the
   unread fill and on paper), not by a tint close to the unread rows; while the list has keyboard focus that row also
   carries the focus ring. Outranks site-social-people.css's body[data-ss-route="inbox"] .inbox-msg.on. */
body.fd-design[data-ss-route="inbox"] .inbox-msg.on, body.fd-design .inbox-msg.on { background:#e3ead8; box-shadow:inset 4px 0 0 #526547; }
body.fd-design .inbox-list:focus-visible .inbox-msg.on { outline:2px solid #526547; outline-offset:-2px; }
/* r10 (owner direction 2026-10-16): Replies | Messages | All | Unread, the email choice and what you follow. */
body.fd-design .fd-header-actions a[href="#/inbox"] { position:relative; }
body.fd-design .fd-badge { position:absolute; top:3px; right:1px; min-width:17px; height:17px; padding:0 4px; border-radius:999px; background:#c9a64a; color:#1f2a1c; font:700 10.5px/17px var(--font-sans); text-align:center; pointer-events:none; }
body.fd-design .inbox-seg a { display:inline-flex; align-items:center; gap:6px; min-height:36px; background:var(--fd-paper); color:var(--fd-ink); }
/* Round 4 (R3a finding 10): only an unselected tab lightens on hover; the selected tab keeps its fill and label (a tap on a phone leaves hover on). */
body.fd-design .inbox-seg a:not(.on):hover { background:#f2f4ec; }
body.fd-design .inbox-seg a.on:hover { background:#526547; color:#fffef9; }
body.fd-design .inbox-tab-n { display:inline-block; min-width:20px; padding:0 6px; border-radius:999px; background:#c9a64a; color:#1f2a1c; font:700 11px/18px var(--font-sans); text-align:center; }
body.fd-design .inbox-seg a.on .inbox-tab-n { background:#fffef9; color:#344b2c; }
body.fd-design .inbox-msg.unread .inbox-dot { background:#526547; }
body.fd-design .inbox-msg { grid-template-columns:12px minmax(0,1fr) auto; }
body.fd-design .inbox-msg .ssp-dm-open { grid-column:2 / -1; justify-self:start; font-size:12.5px; white-space:nowrap; }
body.fd-design .inbox-email { margin-top:14px; padding:16px 18px; border:1px solid var(--fd-line); border-radius:8px; background:var(--fd-paper); color:var(--fd-ink); }
body.fd-design .inbox-email[hidden] { display:none; }
body.fd-design .inbox-email h2 { margin:0 0 10px; font-family:var(--font-serif); font-size:18px; font-weight:500; color:var(--fd-ink); }
body.fd-design .inbox-choice { display:inline-flex; flex-wrap:wrap; border:1px solid var(--fd-line); border-radius:8px; overflow:hidden; background:#fff; }
body.fd-design .inbox-choice button { min-height:40px; padding:8px 14px; border:0; border-right:1px solid var(--fd-line); background:var(--fd-paper); color:var(--fd-ink); font:500 13.5px var(--font-sans); cursor:pointer; }
body.fd-design .inbox-choice button:last-child { border-right:0; }
body.fd-design .inbox-choice button.on { background:#eef1e7; color:#344b2c; font-weight:700; box-shadow:inset 0 -3px 0 #526547; }
body.fd-design .inbox-choice button:focus-visible { outline:3px solid #9fb184; outline-offset:-3px; }
body.fd-design .inbox-email-note { margin:10px 0 0; color:var(--fd-muted); font-size:13px; line-height:1.45; }
body.fd-design .inbox-weekly { display:flex; align-items:flex-start; gap:8px; margin:12px 0 0; font-size:13.5px; line-height:1.4; cursor:pointer; }
body.fd-design .inbox-weekly input { width:18px; height:18px; margin:1px 0 0; accent-color:#526547; flex:none; }
body.fd-design .inbox-email-status { margin:8px 0 0; color:#344b2c; font-size:12.5px; }
body.fd-design .inbox-email-status:empty { display:none; }
body.fd-design .inbox-follows { margin-top:14px; border-top:1px solid var(--fd-line); padding-top:10px; }
body.fd-design .inbox-follows > summary { cursor:pointer; min-height:36px; display:flex; align-items:center; font-weight:600; color:#344b2c; }
body.fd-design .inbox-follows ul { list-style:none; margin:6px 0 0; padding:0; display:grid; gap:4px; }
body.fd-design .inbox-follows li { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px solid #eceee5; min-width:0; }
body.fd-design .inbox-follows li a { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--fd-ink); }
@media (max-width: 760px) {
  body.fd-design .inbox-seg { width:100%; }
  body.fd-design .inbox-seg a { flex:1 1 auto; justify-content:center; min-height:44px; padding:6px 8px; }
  body.fd-design .inbox-choice { display:flex; width:100%; }
  body.fd-design .inbox-choice button { flex:1 1 0; min-height:44px; padding:8px 6px; }
  body.fd-design .inbox-follows li .btn { min-height:44px; }
}
body.fd-design .os-chat-msg { background:#eef1e7; color:var(--fd-ink); }
body.fd-design .os-chat-msg.user { background:#526547; color:#fffef9; }
body.fd-design :is(.crx-modal,.jh-modal,.crx-drawer) { color:var(--fd-ink); background:var(--fd-paper); border-radius:10px; }
body.fd-design :is(.crx-modal h2,.jh-modal h2,.crx-drawer h2) { color:var(--fd-ink); font-family:var(--font-serif); font-weight:500; }
body.fd-design :is(.crx-modal-x,.jh-modal-x) { min-width:44px; min-height:44px; }
body.fd-design #auth-card { color:var(--fd-ink); background:var(--fd-paper); border-color:var(--fd-line); }
body.fd-design #auth-close { min-width:44px; min-height:44px; }
body.fd-design .fd-header :is(.fmc-coin,.fmc-mini,.fmc-face),body.fd-design #sidebar :is(.fmc-coin,.fmc-mini,.fmc-face) { flex:none; } /* Keep earned faces untouched. */

@media(min-width:1600px) {
  body.fd-design #sidebar { left:calc((100vw - 1454px)/2); }
}
@media(max-width:1100px) and (min-width:761px) {
  body.fd-design #sidebar { left:20px; width:165px; padding-top:20px; }
  body.fd-design #main { margin-left:207px; padding:20px 20px 60px 0; }
  body.fd-design .fd-header { padding:0 20px; }
  body.fd-design #page-title { font-size:30px; }
  body.fd-design .fd-public-tabs button { padding:8px 10px; font-size:12px; }
  body.fd-design .fx-split { grid-template-columns:minmax(0,1fr); }
  body.fd-design .fx-panel { position:static; max-height:none; }
}
@media(max-width:760px) {
  body.fd-design { font-size:14px; }
  body.fd-design #shell { padding-top:59px; }
  body.fd-design .fd-header { height:59px; padding:0 13px; gap:8px; }
  body.fd-design .fd-brand,body.fd-design .fd-header-brand { font-size:27px; }
  body.fd-design .fd-brand { font-size:22px; gap:6px; letter-spacing:-.8px; }
  body.fd-design .fd-brand-logo { width:28px; height:28px; }
  body.fd-design .fd-header :is(.fd-header-actions,.fd-utilities,.fd-header-utilities) { gap:4px; }
  body.fd-design .fd-header :is(button,a:not(.fd-brand):not(.fd-header-brand)) { min-height:44px; min-width:44px; padding:6px; font-size:11px; max-width:80px; white-space:normal; text-align:center; line-height:1.3; }
  body.fd-design #sidebar { display:none; }
  body.fd-design #menu-btn { display:none!important; }
  body.fd-design #main { display:flex; width:100%; max-width:none; margin:0; padding:17px 13px calc(108px + env(safe-area-inset-bottom)); }
  body.fd-design #page-head,body.fd-design #main #page-head { display:flex; padding:0; margin:0 0 13px; min-height:40px; gap:8px; }
  body.fd-design #page-title { font-size:28px; line-height:1.2; }
  body.fd-design #page-head .sub { font-size:12px; }
  body.fd-design #page-content { min-width:0; }
  body.fd-design .fd-public-tabs { margin-bottom:12px; min-height:46px; flex-wrap:nowrap; padding:3px; gap:3px; }
  body.fd-design .fd-public-tabs button { flex:0 0 auto; min-height:44px; padding:8px 11px; font-size:12px; }
  body.fd-design .fd-public-tabs :is(.fd-public-label,.fd-public-flag) { display:none; }
  body.fd-design #subnav,body.fd-design #main #subnav { flex-wrap:wrap; overflow:visible; gap:0 20px; margin:0 0 12px; padding:0; min-width:0; }
  body.fd-design #subnav a { flex:none; font-size:12px; min-height:44px; }
  body.fd-design #subnav::-webkit-scrollbar { display:none; }
  body.fd-design .fd-mobile-dock { position:fixed; inset:auto 0 0; z-index:90; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:2px; min-height:78px; padding:7px 4px max(7px,env(safe-area-inset-bottom)); background:var(--fd-paper); border-top:1px solid #cdd5bf; box-shadow:0 -2px 12px #29372e06; }
  body.fd-design .fd-mobile-dock a { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:5px; min-width:0; min-height:58px; padding:5px 1px; border-radius:5px; color:var(--fd-muted); font-size:11px; line-height:1.3; text-decoration:none; text-align:center; }
  body.fd-design .fd-mobile-dock svg { width:20px; height:20px; flex:none; }
  body.fd-design .fd-mobile-dock .fd-nav-label { margin:0; padding:0; max-width:72px; font-size:11px; font-weight:inherit; letter-spacing:0; line-height:1.3; text-transform:none; white-space:normal; }
  body.fd-design .fd-mobile-dock a:is(.on,.active,[aria-current="page"]) { color:#344b2c; background:#e5ebd9; font-weight:600; }
  body.fd-design #page-content :is(.panel,.ssx-card) { padding:15px; }
  body.fd-design #page-content :is(.panel h2,.panel h3,.ssx-card-title) { font-size:14px; }
  body.fd-design .metrics { gap:10px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.fd-design .metric { padding:12px; }
  body.fd-design :is(.form-grid,.cd-grid) { grid-template-columns:minmax(0,1fr); }
  body.fd-design :is(input:not([type=checkbox]):not([type=radio]),select,textarea) { font-size:16px; }
  body.fd-design .fx-split { display:flex; flex-direction:column; gap:14px; }
  body.fd-design .fx-list { width:100%; }
  body.fd-design .fx-panel { max-width:100%; min-width:0; }
  body.fd-design .fx-tabs { gap:20px; scrollbar-width:none; }
  body.fd-design .fx-tab { padding:8px 0; min-width:max-content; flex:none; font-size:12px; }
  body.fd-design .fx-tab .fx-tab-l { overflow:visible; }
  body.fd-design .fx-q { min-width:0; flex-basis:170px; }
  body.fd-design .fx-card,body.fd-design .crx-view .fx-card { padding:15px; }
  body.fd-design .crx .fx-p-head { padding:15px 15px 0; }
  body.fd-design .crx .fx-p-title { font-size:24px; line-height:1.25; }
  body.fd-design .crx .fx-p-org { font-size:11px; }
  body.fd-design .crx .fx-tabpanel { padding:14px 15px 16px; }
  body.fd-design .crx .fx-dtabs { padding:0 15px; gap:20px; }
  body.fd-design .crx-actsbar { padding:0 15px 12px; }
  body.fd-design .crx-confrow { gap:8px; }
  body.fd-design .crx-confcopy { min-width:0; flex:1 1 120px; }
  body.fd-design .crx .fx-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.fd-design .crx-lede { padding:10px 11px; }
  body.fd-design .crx-lede-p { font-size:12px; }
  body.fd-design .crx-fitcall { flex-wrap:wrap; }
  body.fd-design .crx-fitcall .crx-btn { margin-left:0; }
  body.fd-design :is(.fd-topic-chat-head,.crx-chat-head) { min-height:53px; gap:7px; }
  body.fd-design :is(.fd-topic-chat-head,.crx-chat-head) strong { font-size:13px; }
  body.fd-design .fd-topic-chat { margin:0 15px 15px; }
  body.fd-design .crx-composer-ta { min-height:70px; font-size:16px; }
  body.fd-design .crx-chat-tabs { width:100%; }
  body.fd-design .crx-chat-tab { flex:1; font-size:11px; }
  body.fd-design .crx-person-ask { gap:5px; }
  body.fd-design .crx-person-ask .crx-btn { padding:7px 4px; min-height:44px; }
  body.fd-design .crx-file-row { align-items:flex-start; flex-wrap:wrap; }
  body.fd-design .crx-file-name { overflow-wrap:anywhere; }
  body.fd-design .fd-help-dialog { max-height:85dvh; padding:20px; }
  body.fd-design .fd-help-dialog h2 { font-size:24px; }
  body.fd-design .section-copy { padding:20px; }
  body.fd-design .section-image { height:180px; min-height:0; }
  body.fd-design .section-paths { grid-template-columns:minmax(0,1fr); gap:0; }
  body.fd-design .inbox-mail { grid-template-columns:minmax(0,1fr); }
  body.fd-design .inbox-list { border-right:0; border-bottom:1px solid var(--fd-line); max-height:38vh; }
  body.fd-design :is(.jh-dock,.fx-minibar,#cr-minibar) { bottom:calc(89px + env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) {
  body.fd-design *,body.fd-design *::before,body.fd-design *::after { scroll-behavior:auto!important; animation-duration:.01ms!important; transition-duration:.01ms!important; }
}

/* Concrete shell / existing Ask and DM renderer alignment. */
body.fd-design .fd-skip { position:fixed; top:-100px; left:13px; z-index:1500; min-height:44px; padding:10px 15px; border:1px solid #526547; border-radius:5px; background:var(--fd-paper); color:var(--fd-green-dark); }
body.fd-design .fd-skip:focus { top:8px; }
body.fd-design .fd-has-guidance { position:relative; }
body.fd-design .fd-has-guidance>.fd-guide-control { position:absolute; top:10px; right:12px; z-index:2; }
body.fd-design .fd-has-guidance>.jh-head,body.fd-design .fd-has-guidance>h3,body.fd-design .fd-has-guidance>h2,body.fd-design .fd-has-guidance>.cd-stage-head { padding-right:48px; }
body.fd-design .os-start.fd-has-guidance>.fd-guide-control,body.fd-design section.cd.fd-has-guidance>.fd-guide-control { top:0; right:0; }
body.fd-design .os-start.fd-has-guidance>.os-start__header { padding-right:48px; }
body.fd-design .fd-checklist { margin:16px 0 0; border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); }
body.fd-design .fd-checklist>summary { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:11px 15px; color:var(--fd-green-dark); font-size:13px; font-weight:500; list-style:none; cursor:pointer; }
body.fd-design .fd-checklist>summary::after { content:"+"; padding-left:10px; font-size:22px; line-height:1; font-weight:400; }
body.fd-design .fd-checklist[open]>summary { border-bottom:1px solid var(--fd-line); }
body.fd-design .fd-checklist[open]>summary::after { content:"−"; }
body.fd-design .fd-checklist-body { min-width:0; padding:15px; }
body.fd-design #page-content .fd-checklist .cert-walk { max-width:none; width:100%; margin:0; padding:0; background:transparent; border:0; box-shadow:none; }
body.fd-design .fd-checklist .walk-ask { font:500 24px/1.3 var(--font-serif); color:var(--fd-ink); }
body.fd-design .fd-radar-tools { margin:0 0 14px; border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); }
body.fd-design .fd-radar-tools>summary { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:11px 15px; color:var(--fd-green-dark); font-size:13px; font-weight:500; list-style:none; cursor:pointer; }
body.fd-design .fd-radar-tools>summary::after { content:"+"; padding-left:10px; font-size:22px; line-height:1; font-weight:400; }
body.fd-design .fd-radar-tools[open]>summary { border-bottom:1px solid var(--fd-line); }
body.fd-design .fd-radar-tools[open]>summary::after { content:"−"; }
body.fd-design .fd-radar-tools .jd-radar { padding:15px; margin:0; border:0; border-radius:0; background:transparent; }
body.fd-design .fd-radar-tools .jd-sec-title { font-size:14px; font-weight:500; color:var(--fd-ink); }
body.fd-design .jd-note { color:var(--fd-muted); font-size:12px; font-weight:400; line-height:1.6; }
body.fd-design .jd-radar-row { background:#f8faf2; border-color:var(--fd-line); border-radius:5px; }
body.fd-design .jd-radar-title { color:var(--fd-ink); font-size:13px; font-weight:500; }
body.fd-design .jd-basis { color:var(--fd-muted); font-size:12px; font-weight:400; }
body.fd-design .fx-qrow>.fd-guide-control { position:static; flex:none; align-self:center; }
body.fd-design .fx-card.fd-selected-notice { padding:0; }
body.fd-design .fd-selected-notice .fd-inline-contract.fx-panel { padding:0; gap:0; border:0; border-radius:8px; box-shadow:none; }
body.fd-design .fd-selected-notice .fx-p-head { padding-right:62px; }
/* FIX-6 (x02): a linked contract pinned above results it is not part of says so ("Linked contract · closed"), on the
   card and when the card opens the notice in place, so the count line above is not read as counting it. */
body.fd-design .fx-card > .fx-linked-tag { margin:0 0 8px; font-size:12px; font-weight:600; line-height:1.4; letter-spacing:.02em; color:var(--fd-green-dark); }
body.fd-design .fx-card.fd-selected-notice > .fx-linked-tag { margin:0; padding:16px 22px 0; }
@media(max-width:760px) { body.fd-design .fx-card.fd-selected-notice > .fx-linked-tag { padding:14px 15px 0; } }
body.fd-design .fd-inline-contract>.cva-brief { margin:14px 22px 0; padding:11px 13px; background:#eef1e7; border-left:2px solid #81976b; border-radius:0 4px 4px 0; color:var(--fd-ink); }
body.fd-design .cva-brief .cva-brief-label { color:#526547; font-size:10px; font-weight:600; letter-spacing:.7px; text-transform:uppercase; margin:0 0 4px; }
body.fd-design .cva-brief .cva-brief-take { margin:0; color:var(--fd-ink); font-size:13px; font-weight:400; line-height:1.6; padding-right:40px; }
body.fd-design .cva-brief>.fd-guide-control { top:8px; right:8px; }
body.fd-design .fd-inline-contract>.cva-proof { margin:0 22px 10px; padding:7px 0; gap:7px 10px; border-radius:0; border-top:1px solid var(--fd-line); background:transparent; color:var(--fd-muted); font-size:11px; }
body.fd-design .cva-proof .cva-vote { min-height:44px; min-width:44px; border-color:#c5d0b8; border-radius:5px; background:var(--fd-paper); color:var(--fd-green-dark); font-size:12px; }
body.fd-design .fd-notice-tools,body.fd-design .fd-notice-requirements { margin:0 22px 12px; min-width:0; border:1px solid var(--fd-line); border-radius:5px; background:var(--fd-paper); }
body.fd-design :is(.fd-notice-tools,.fd-notice-requirements)>summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; padding:9px 12px; color:var(--fd-green-dark); font-size:12px; font-weight:500; cursor:pointer; list-style:none; }
body.fd-design :is(.fd-notice-tools,.fd-notice-requirements)>summary::after { content:"+"; font-size:21px; line-height:1; font-weight:400; }
body.fd-design :is(.fd-notice-tools,.fd-notice-requirements)[open]>summary { border-bottom:1px solid var(--fd-line); }
body.fd-design :is(.fd-notice-tools,.fd-notice-requirements)[open]>summary::after { content:"−"; }
body.fd-design .fd-notice-tools-body { padding:10px 12px; }
body.fd-design .fd-notice-tools-body .crx-roombar { display:flex; align-items:center; flex-wrap:wrap; min-height:0; gap:8px; padding:0; border:0; background:transparent; }
body.fd-design .fd-notice-tools-body :is(.crx-actsbar,.fx-acts) { padding:0; margin:8px 0 0; gap:7px; }
body.fd-design .fd-notice-tools-body .crx-avatarbtn { width:44px; height:44px; min-width:44px; min-height:44px; background:#526547; color:#fffef9; }
body.fd-design .fd-notice-requirements>.fx-dtabs { padding:0 12px; }
body.fd-design .fd-notice-requirements>.fx-tabpanel { padding:14px 12px; }
body.fd-design .fd-match-details { padding:0 12px 12px; }
body.fd-design .fd-match-details h3 { margin:4px 0 10px; font:600 13px/1.5 "DM Sans",sans-serif; color:var(--fd-ink); }
body.fd-design .fd-match-details .cva-dim-top,body.fd-design .fd-match-details .cva-dim-top b,body.fd-design .fd-match-details .cva-signals li { color:var(--fd-muted); font-size:12px; }
body.fd-design .fd-match-details .cva-bar { background:#e1e8d8; }
body.fd-design .fd-match-details .cva-bar i { background:#81976b; }
body.fd-design #main :is(input:not([type=checkbox]):not([type=radio]),textarea,select),body.fd-design .fd-private-dock :is(input:not([type=checkbox]):not([type=radio]),textarea,select),body.fd-design .fx-q { border-color:#81976b; }
body.fd-design .fd-nav>.fd-nav-group,body.fd-design .fd-nav-private>.fd-nav-group { display:block; margin:22px 0 9px; padding:0 10px; font-size:10px; font-weight:600; line-height:1.5; text-transform:uppercase; letter-spacing:1px; color:#5d6958; }
body.fd-design .fd-nav-private>.fd-nav-group:first-child { margin-top:0; }
body.fd-design #sidebar .fd-nav-link>.fd-nav-label { display:inline; margin:0; padding:0; color:inherit; font:inherit; letter-spacing:0; text-transform:none; }
body.fd-design .fd-public-host { min-width:0; width:100%; margin:0 0 16px; }
body.fd-design .fd-naics-picker { display:flex; align-items:flex-end; flex-wrap:wrap; gap:10px; padding:15px; border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); }
body.fd-design .fd-naics-picker label { display:flex; flex-direction:column; gap:5px; color:var(--fd-muted); font-size:12px; font-weight:400; }
body.fd-design .fd-naics-picker input { width:170px; min-height:44px; padding:8px 10px; border:1px solid #cbd4bf; }
body.fd-design .fd-naics-result { margin-top:12px; }
body.fd-design .ja-panel.fd-topic-chat { float:none; width:auto; max-width:100%; margin:0 0 14px; padding:16px 18px; border:1px solid var(--fd-line); border-radius:8px; background:var(--fd-paper); box-shadow:none; }
body.fd-design .pg-lesson>.ja-panel.fd-topic-chat { margin:14px 0 0; padding:0; border:0; border-top:1px solid var(--fd-line); border-radius:0; }
body.fd-design .ja-panel-head { min-height:48px; gap:8px; }
body.fd-design .ja-panel-head .ja-panel-title { font:600 14px/1.5 "DM Sans",sans-serif; color:var(--fd-ink); }
body.fd-design .ja-panel-head .fd-guide-control { margin-left:auto; }
body.fd-design .ja-panel-head .fd-topic-toggle,body.fd-design .fd-topic-toggle { display:inline-flex; align-items:center; justify-content:center; width:44px; min-width:44px; height:44px; min-height:44px; padding:0; border:1px solid #cbd4bf; border-radius:5px; background:#f8faef; color:#485c3c; font-size:23px; line-height:1; cursor:pointer; }
body.fd-design .ja-live-dot { width:7px; height:7px; background:#6a8257; box-shadow:none; }
body.fd-design .fd-topic-body { min-width:0; padding-top:6px; }
body.fd-design .ja-tabs { gap:5px; margin:4px 0 8px; }
body.fd-design .ja-tab { display:inline-flex; align-items:center; min-height:44px; padding:7px 10px; border:1px solid var(--fd-line); border-radius:5px; background:var(--fd-paper); color:var(--fd-muted); font-size:12px; font-weight:400; }
body.fd-design .ja-tab.on { background:#e4ecd8; border-color:#b7c6a4; color:#344b2c; font-weight:500; }
body.fd-design .ja-note { font-size:12px; font-weight:400; line-height:1.6; color:var(--fd-muted); }
body.fd-design .ja-stream { padding:7px 0 10px; gap:10px; }
body.fd-design .ja-msg { padding:12px; border:1px solid #dce2d1; border-radius:5px; background:#f9faf3; }
body.fd-design .ja-msg-body { color:var(--fd-ink); font-size:13px; line-height:1.6; }
body.fd-design :is(.ja-msg-meta,.ja-time) { color:var(--fd-muted); font-size:11px; font-weight:400; }
body.fd-design :is(.ja-name,.ja-msg-title,.ja-helper-name) { color:#344b2c; font-size:13px; font-weight:600; }
body.fd-design .ja-composer-host { padding-top:10px; border-color:var(--fd-line); }
body.fd-design .ja-label { color:var(--fd-ink); font-size:12px; font-weight:400; }
body.fd-design .ja-input { min-height:68px; border-color:#cdd6c1; border-radius:5px; padding:11px 12px; background:#fffefb; color:var(--fd-ink); font-size:13px; }
body.fd-design input.ja-input { min-height:44px; }
body.fd-design .ja-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 13px; border:1px solid #526547; border-radius:5px; background:#526547; color:#fffef9; font-size:12px; font-weight:500; }
body.fd-design .ja-btn.primary { background:#526547; border-color:#526547; }
body.fd-design .ja-check { color:var(--fd-muted); font-size:11px; line-height:1.5; gap:8px; align-items:center; }
body.fd-design .ja-check input { min-width:20px; min-height:20px; accent-color:#526547; }
body.fd-design .ja-gate { padding:10px 12px; border-radius:5px; font-size:12px; font-weight:400; }
body.fd-design .ja-ask-entry { border-color:#cbd6bd; border-radius:6px; background:#eef3e6; padding:9px 12px; gap:8px; }
body.fd-design .ja-ask-btn { min-height:44px; padding:7px 12px; border-color:#c4d1b5; border-radius:5px; background:#e1ebd5; color:#344b2c; font-size:12px; font-weight:500; }
body.fd-design .fd-more-tools { position:relative; flex:none; min-width:0; margin-left:auto; }
body.fd-design .fd-more-tools>summary { display:flex; align-items:center; min-height:44px; padding:8px 0; color:var(--fd-muted); font-size:12px; font-weight:400; cursor:pointer; list-style:none; }
body.fd-design .fd-more-tools>summary::after { content:"⌄"; margin-left:7px; font-size:15px; }
body.fd-design .fd-more-list { position:absolute; top:100%; right:0; z-index:65; min-width:210px; padding:7px 12px; border:1px solid var(--fd-line); border-radius:6px; background:var(--fd-paper); box-shadow:0 8px 25px #29372e16; }
body.fd-design #subnav .fd-more-list a { display:flex; min-height:44px; padding:9px 5px; border:0; border-radius:4px; color:var(--fd-ink); }
body.fd-design #subnav .fd-more-list a:hover { background:#eef2e6; }
body.fd-design .fd-private-dock { position:fixed; z-index:100; right:28px; bottom:18px; width:min(390px,calc(100vw - 32px)); border:1px solid #bac8ac; border-radius:8px; background:var(--fd-paper); box-shadow:0 8px 34px #29372e24; overflow:hidden; }
body.fd-design .fd-private-head { display:flex; align-items:center; gap:7px; min-height:60px; padding:8px 10px 8px 15px; background:#e9efde; border-bottom:1px solid var(--fd-line); }
body.fd-design .fd-private-head>strong { flex:1; color:var(--fd-ink); font-size:14px; font-weight:600; }
body.fd-design .fd-private-close { display:inline-flex; align-items:center; justify-content:center; width:44px; min-width:44px; height:44px; min-height:44px; border:1px solid #cbd4bf; border-radius:5px; background:transparent; color:#485c3c; font-size:23px; line-height:1; }
body.fd-design .fd-private-body { padding:14px; max-height:55dvh; overflow:auto; }
body.fd-design .fd-private-body>p { color:var(--fd-muted); font-size:13px; }
body.fd-design .jdm-row { min-height:60px; border-color:var(--fd-line); border-radius:6px; background:var(--fd-paper); color:var(--fd-ink); }
body.fd-design .jdm-row-name { font-size:13px; font-weight:600; color:var(--fd-ink); }
body.fd-design :is(.jdm-row-when,.jdm-empty,.jdm-row-preview) { font-weight:400; color:var(--fd-muted); }
body.fd-design .jdm-avatar { background:#526547; color:#fffef9; font-weight:500; }
body.fd-design .jdm-unread { background:#526547; color:#fffef9; font-weight:500; }
@media(max-width:760px) {
  body.fd-design .fd-inline-contract>.cva-brief { margin:12px 15px 0; padding:10px 11px; }
  body.fd-design .cva-brief .cva-brief-take { font-size:12px; }
  body.fd-design .fd-inline-contract>.cva-proof { margin:0 15px 10px; }
  body.fd-design .fd-notice-tools,body.fd-design .fd-notice-requirements { margin:0 15px 11px; }
  body.fd-design #main:has(#crumb-row:not([hidden])) { padding-top:17px; }
  body.fd-design .ja-panel.fd-topic-chat { padding:13px 14px; margin-bottom:12px; }
  body.fd-design .pg-lesson>.ja-panel.fd-topic-chat { padding:0; margin:12px 0 0; }
  body.fd-design .ja-panel-head .ja-panel-title { font-size:13px; }
  body.fd-design .ja-input { font-size:16px; }
  body.fd-design .fd-naics-picker { padding:13px; }
  body.fd-design .fd-naics-picker label { flex:1; }
  body.fd-design .fd-naics-picker input { width:100%; min-width:110px; }
  body.fd-design #subnav:has(.fd-more-tools[open]) { overflow:visible; flex-wrap:wrap; }
  body.fd-design .fd-more-tools[open] { width:100%; }
  body.fd-design .fd-more-tools[open] .fd-more-list { position:static; display:flex; flex-wrap:wrap; gap:0 15px; min-width:0; margin:3px 0 10px; box-shadow:none; }
  body.fd-design #subnav .fd-more-list a { white-space:normal; }
  body.fd-design .fd-private-dock { right:10px; left:10px; bottom:calc(89px + env(safe-area-inset-bottom)); width:auto; max-width:none; }
  body.fd-design .fd-private-body { max-height:53dvh; padding:12px; }
}

/* The shipped search toolbar used a single intrinsic-width filter rail.
 * On narrow screens its live controls move into a native disclosure; when
 * opened the controls wrap within the document rather than widening it. */
@media(max-width:899px) {
  body.fd-design .fd-search-filters { width:100%; min-width:0; max-width:100%; border:1px solid var(--fd-line); border-radius:5px; background:var(--fd-paper); }
  body.fd-design .fd-search-filters>summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; padding:9px 12px; color:var(--fd-green-dark); font-size:12px; font-weight:500; list-style:none; cursor:pointer; }
  body.fd-design .fd-search-filters>summary::after { content:"+"; font-size:21px; line-height:1; font-weight:400; }
  body.fd-design .fd-search-filters[open]>summary { border-bottom:1px solid var(--fd-line); }
  body.fd-design .fd-search-filters[open]>summary::after { content:"−"; }
  body.fd-design .fd-filter-body { min-width:0; padding:10px; }
  body.fd-design .fx-frow { display:grid; grid-template-columns:minmax(0,1fr); width:100%; min-width:0; max-width:100%; margin:0; padding:0; gap:8px; overflow:visible; }
  body.fd-design .fx-frow-l,body.fd-design .fx-frow-r { display:flex; flex-wrap:wrap; align-items:center; gap:8px; width:100%; min-width:0; max-width:100%; }
  body.fd-design .fx-frow-l>.fx-fl { flex:1 1 112px; min-width:0; max-width:100%; }
  body.fd-design .fx-frow-r>.fx-fl { flex:1 1 130px; min-width:0; max-width:100%; }
  body.fd-design .fx-frow .fx-sel { width:100%; min-width:0; max-width:100%; min-height:44px; font-size:16px; }
  body.fd-design .fx-frow :is(.fx-morebtn,.fx-dots) { flex:0 0 44px; width:44px; min-width:44px; min-height:44px; padding:8px; }
  body.fd-design .fx-frow .fx-wherewrap { flex-wrap:wrap; }
  body.fd-design .fx-frow .fx-wherebtn { width:100%; min-width:0; max-width:100%; min-height:44px; white-space:normal; overflow-wrap:anywhere; }
  body.fd-design .fx-more { min-width:0; grid-template-columns:minmax(0,1fr); }
  body.fd-design :is(.fd-notice-slot,.fx-p-top,.fx-p-head,.crx-confrow,.crx-confcopy,.fx-card-top,.crx-chat,.fd-topic-content,.crx-composer,.crx-composer-box) { min-width:0; max-width:100%; }
  body.fd-design .fx-p-head>.fx-p-top { flex:1 1 0; }
  body.fd-design .fx-card-top :is(.fx-pill,.fx-type) { min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
  body.fd-design .crx-chat-tabs { width:100%; min-width:0; max-width:100%; }
  body.fd-design .crx-chat-tab { flex:1 1 0; min-width:0; white-space:normal; overflow-wrap:anywhere; }
  body.fd-design :is(.crx-msg-main,.crx-msg-head,.crx-msg-body,.crx-identity) { min-width:0; overflow-wrap:anywhere; }
  body.fd-design .crx .fx-facts>div { min-width:0; display:block; }
  body.fd-design .fd-notice-tools-body .crx-actsbar .crx-btn { min-width:0; flex:1 1 110px; white-space:normal; }
  body.fd-design .fx-menu { min-width:0; width:min(240px,calc(100vw - 76px)); max-width:calc(100vw - 76px); }
}

/* The Base starts with pursuits and industry rooms. Secondary community
 * tools retain their live controls in a disclosure below the work. */
body.fd-design #talk-immersive { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; margin:0; }
body.fd-design #talk-immersive :is(.fd-home-work,.fd-home-discussion,.fd-home-tools-body) { min-width:0; }
body.fd-design #talk-immersive .ti-strip { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; margin:0 0 14px; }
body.fd-design #talk-immersive .ti-card { padding:16px; min-width:0; }
body.fd-design #talk-immersive .ti-card[aria-label="Mission board"] { border-top:2px solid #81976b; }
body.fd-design #talk-immersive .ti-card h3 { margin:0 0 9px; font:600 14px/1.45 "DM Sans",sans-serif; }
body.fd-design #talk-immersive .ti-stage-row { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:14px 0; }
body.fd-design #talk-immersive .ti-stage { display:flex; align-items:baseline; justify-content:space-between; gap:6px; min-width:0; padding:8px 0 10px; border:0; border-bottom:2px solid var(--fd-line); border-radius:0; background:transparent; color:var(--fd-muted); font:400 12px/1.4 var(--font-sans,"DM Sans",sans-serif); }
body.fd-design #talk-immersive .fd-stage-label { min-width:0; }
body.fd-design #talk-immersive .fd-stage-count { color:var(--fd-ink); font:500 24px/1.1 var(--font-serif,Georgia,serif); }
body.fd-design #talk-immersive .ti-floor-body { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
body.fd-design #talk-immersive .ti-floor-body>.ti-empty { grid-column:1 / -1; }
body.fd-design #talk-immersive .ti-floor-body>.ti-room { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 6px; min-width:0; min-height:64px; padding:10px; border:1px solid var(--fd-line); border-radius:4px; background:#eff2e8; }
body.fd-design #talk-immersive .ti-room>.ti-live-dot { display:none; }
body.fd-design #talk-immersive .ti-room>.ti-room-title { grid-column:1 / -1; grid-row:1; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--fd-ink); font-size:12px; }
body.fd-design #talk-immersive .ti-room>.ti-room-code { grid-column:1; grid-row:2; min-width:0; font:400 11px/1.3 var(--font-sans,"DM Sans",sans-serif); color:var(--fd-muted); }
body.fd-design #talk-immersive .ti-room>.ti-room-mine { grid-column:2; grid-row:2; margin:0; color:var(--fd-muted); font-size:9px; font-weight:500; letter-spacing:0; text-transform:none; }
@media(max-width:760px) { body.fd-design #talk-immersive .ti-stage-row,body.fd-design #talk-immersive .ti-floor-body { grid-template-columns:repeat(2,minmax(0,1fr)); } }
body.fd-design #talk-immersive .ti-card-link { display:inline-flex; align-items:center; min-height:44px; margin-top:4px; font-size:12px; color:var(--fd-green-dark); }
body.fd-design .fd-home-tools { min-width:0; margin:14px 0; border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); }
body.fd-design .fd-home-tools>summary { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:10px 15px; list-style:none; cursor:pointer; color:var(--fd-green-dark); font-size:13px; }
body.fd-design .fd-home-tools>summary::after { content:"+"; font-size:22px; line-height:1; }
body.fd-design .fd-home-tools[open]>summary::after { content:"−"; }
body.fd-design .fd-home-tools[open]>summary { border-bottom:1px solid var(--fd-line); }
body.fd-design .fd-home-tools-body { padding:14px; }
body.fd-design .fd-home-tools-body>:last-child { margin-bottom:0; }
body.fd-design .fd-home-tools-body .chat-shell { display:block; }
body.fd-design .fd-home-tools-body .chat-sidebar { width:100%; border:0; border-bottom:1px solid var(--fd-line); }
body.fd-design .fd-home-tools-body .chat-split { display:block; }
body.fd-design .fd-home-tools-body .chat-rail { margin-top:14px; }
body.fd-design .fd-home-discussion>.ja-panel.fd-topic-chat { margin:0; }
body.fd-design .fd-home-work>:is(#jev-home-best,#jev-home-formation,#jev-home-pulse) { margin:0 0 14px; }
body.fd-design .fd-home-activity { min-width:0; margin:0 0 14px; border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); }
body.fd-design .fd-activity-head { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:48px; padding:6px 14px; }
body.fd-design .fd-activity-head>h2 { margin:0; font:600 14px/1.4 var(--font-sans,"DM Sans",sans-serif); color:var(--fd-ink); }
body.fd-design .fd-activity-head>.fd-guide-control { position:static; flex:none; margin:0; }
body.fd-design .fd-activity-body>.fd-activity-section { min-width:0; margin:0; padding:10px 14px; border:0; border-top:1px solid var(--fd-line); border-radius:0; background:transparent; box-shadow:none; }
body.fd-design .fd-activity-section[data-fd-activity-state="empty"] { display:grid; grid-template-columns:minmax(0,130px) minmax(0,1fr); align-items:center; gap:5px 10px; }
body.fd-design .fd-activity-section .jst-title { margin:0; font:500 12px/1.4 var(--font-sans,"DM Sans",sans-serif); color:var(--fd-ink); }
body.fd-design .fd-activity-section .fd-activity-empty { min-width:0; margin:0; color:var(--fd-muted); font-size:12px; line-height:1.45; }
body.fd-design .fd-activity-section .jst-empty:not([hidden]) { min-width:0; margin:0; font-size:12px; line-height:1.45; }
body.fd-design .fd-activity-section[data-fd-activity-state="empty"]>.jst-note { grid-column:2; margin:0; color:var(--fd-muted); font-size:11px; }
body.fd-design .fd-activity-section:is([data-fd-activity-state="empty"],[data-fd-activity-state="error"],[data-fd-activity-state="loading"]) .jst-live-dot { display:none; }
body.fd-design .fd-activity-section .jst-member { background:#f1f4eb; border-color:var(--fd-line); }
body.fd-design .fd-activity-section :is(.jst-member-btn,.jst-win-title,.jst-progress-lesson) { display:inline-flex; align-items:center; min-height:44px; color:var(--fd-green-dark); }
body.fd-design .fd-activity-section .jst-retry { min-height:44px; padding:8px 12px; border:1px solid var(--fd-line); border-radius:5px; background:transparent; color:var(--fd-green-dark); font:500 12px/1.4 var(--font-sans,"DM Sans",sans-serif); }
body.fd-design .fd-activity-section :is(.jst-empty,.jst-note,.jst-win-meta,.jst-win-by,.jst-celeb-line) { color:var(--fd-muted); }
@media(max-width:760px) { body.fd-design .fd-activity-section[data-fd-activity-state="empty"] { grid-template-columns:minmax(0,105px) minmax(0,1fr); } }
body.fd-design .fd-home-discussion .ja-panel-head { margin:-16px -18px 10px; padding:10px 14px; background:#eaf0df; border-bottom:1px solid var(--fd-line); border-radius:7px 7px 0 0; }

/* One shared SAM and certs community beside the actual certification path. */
body.fd-design section.cd.cd-lift { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; }
body.fd-design section.cd.cd-lift>.cd-lift-eyebrow { display:none; }
body.fd-design section.cd.cd-lift>h2 { grid-column:1; margin:0; font-size:20px; align-self:center; }
body.fd-design section.cd.cd-lift>.cd-save-status { grid-column:2; grid-row:1; align-self:center; margin:0; padding-right:54px; font-size:11px; color:var(--fd-muted); }
body.fd-design section.cd.cd-lift>.cd-modes { grid-column:1 / -1; justify-self:start; margin:0 0 4px; }
body.fd-design section.cd.cd-lift>[data-cd-modeview] { grid-column:1 / -1; min-width:0; }
body.fd-design section.cd.cd-lift .cd-stage { margin:0 0 12px; }
body.fd-design .fd-stage-content { min-width:0; }
body.fd-design .fd-stage-content .cd-stage-head { display:flex; align-items:center; gap:10px; margin:0 0 8px; }
body.fd-design .fd-stage-content .cd-stage-head>div { min-width:0; flex:1; }
body.fd-design .fd-stage-content .cd-stage-head>.fd-guide-control { position:static; margin-left:auto; flex:none; }
body.fd-design .fd-stage-content .cd-stage-tools { gap:6px; }
body.fd-design section.cd .fd-stage-content .cd-stage-tools button:not(.cd-tool-card) { min-height:44px; border-radius:4px; background:#eef1e7; border-color:#cbd4bf; color:var(--fd-green-dark); padding:7px 10px; font-size:12px; }
body.fd-design section.cd .cd-stage.cd-lift-stage .cd-stage-tools button.cd-tool-card { border-radius:7px; background:var(--fd-paper); color:var(--fd-ink); padding:17px 35px 17px 16px; }
body.fd-design .ja-certified-community.fd-topic-chat { min-width:0; margin:0 0 12px; }
body.fd-design .ja-certified-community .ja-panel-head { margin:-16px -18px 10px; padding:10px 14px; background:#eaf0df; border-bottom:1px solid var(--fd-line); border-radius:7px 7px 0 0; }
body.fd-design .ssx-cohort .ssx-actions:not(:has(a:not([hidden]),button:not([hidden]))) { display:none; }

@media(min-width:1080px) {
  body.fd-design #talk-immersive { grid-template-columns:minmax(0,57fr) minmax(0,43fr); gap:20px; align-items:start; }
  body.fd-design #talk-immersive .ti-stage-row { grid-template-columns:repeat(4,minmax(0,1fr)); }
  body.fd-design .fd-home-discussion { position:sticky; top:82px; }
  body.fd-design[data-fd-route="certified"] #page-content:has(>.fd-cert-discussion) { display:grid; grid-template-columns:minmax(0,57fr) minmax(0,43fr); gap:0 20px; align-items:start; }
  body.fd-design[data-fd-route="certified"] #page-content:has(>.fd-cert-discussion)>:not(.fd-cert-discussion) { grid-column:1; min-width:0; }
  body.fd-design[data-fd-route="certified"] #page-content>.fd-cert-discussion { grid-column:2; grid-row:1 / span 40; position:sticky; top:82px; margin:0; }
  body.fd-design[data-fd-route="veterans"] #page-content { grid-template-columns:minmax(0,57fr) minmax(0,43fr); column-gap:20px; }
  body.fd-design[data-fd-route="academy"] #page-content:has(>.fd-catalog-chat>.ja-panel:not([hidden])) { display:grid; grid-template-columns:minmax(0,57fr) minmax(0,43fr); gap:0 20px; align-items:start; }
  body.fd-design[data-fd-route="academy"] #page-content:has(>.fd-catalog-chat>.ja-panel:not([hidden]))>:not(.fd-catalog-chat) { grid-column:1; min-width:0; }
  body.fd-design .fd-catalog-chat { grid-column:2; grid-row:1 / span 40; position:sticky; top:82px; min-width:0; }
}
body.fd-design .fd-catalog-chat:has(>.ja-panel[hidden]):not(:has(>.ja-panel:not([hidden]))) { display:none; }
body.fd-design #page-content .panel.fd-resource-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:8px; padding:11px 14px; margin-bottom:10px; }
body.fd-design #page-content .fd-resource-row>h2 { grid-column:1; margin:0; padding:0; font-size:14px; }
body.fd-design .fd-resource-row>.fd-guide-control { position:static; grid-column:2; grid-row:1; width:auto; min-width:56px; padding:7px; border:0; border-radius:4px; background:transparent; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
body.fd-design .fd-resource-row>.form-actions { grid-column:3; grid-row:1; margin:0; }
body.fd-design .fd-resource-row .btn { background:transparent; border:0; color:var(--fd-green-dark); padding:8px 4px; font-size:12px; }
body.fd-design .pg-filters { display:flex; flex-wrap:wrap; gap:6px; }
body.fd-design .pg-filters button { min-height:44px; border-radius:5px; padding:7px 10px; font-size:12px; }
body.fd-design .pg-filters button.on { background:#526547; color:#fffef9; border-color:#526547; }
body.fd-design .fd-learning-featured { display:grid; gap:10px; margin:0 0 14px; min-width:0; }
body.fd-design .fd-lesson-link { display:flex; align-items:center; gap:12px; min-height:68px; padding:13px 16px; border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); color:var(--fd-ink); text-decoration:none; }
body.fd-design .fd-lesson-title { flex:1; min-width:0; font-size:14px; font-weight:500; }
body.fd-design .fd-lesson-tier { flex:none; padding:3px 8px; border-radius:4px; background:#eaf0df; color:var(--fd-green-dark); font-size:11px; }
body.fd-design .fd-lesson-arrow { color:var(--fd-green-dark); }
/* Keep a lesson readable without changing its curriculum or attached thread. */
body.fd-design .pg-body { max-width:78ch; margin-inline:auto; font-size:14px; line-height:1.75; }
body.fd-design .pg-body :is(p,li) { font-size:14px; line-height:1.75; }
body.fd-design .pg-body h4 { margin:24px 0 8px; font-size:12px; letter-spacing:.04em; }
body.fd-design .fd-all-lessons { min-width:0; margin:0 0 14px; scroll-margin-top:80px; }
body.fd-design .fd-all-lessons>summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:10px 14px; border:1px solid var(--fd-line); border-radius:5px; background:var(--fd-paper); color:var(--fd-green-dark); font-size:12px; cursor:pointer; list-style:none; }
body.fd-design .fd-all-lessons>summary::after { content:"+"; font-size:20px; line-height:1; }
body.fd-design .fd-all-lessons[open]>summary::after { content:"−"; }
body.fd-design .fd-all-lessons[open]>.panel { margin-top:12px; }
body.fd-design .fd-lesson-back { display:inline-flex; align-items:center; min-height:44px; margin:0 0 10px; padding:8px 0; border:0; background:transparent; color:var(--fd-green-dark); font:500 12px/1.4 var(--font-sans,"DM Sans",sans-serif); cursor:pointer; }
body.fd-design .fd-all-lessons.fd-lesson-focus>:is(summary,.panel),body.fd-design .fd-lesson-focus .pg-barlbl,body.fd-design .fd-lesson-focus .pg-school>h2,body.fd-design .fd-lesson-focus .pg-school:not(.fd-selected-school),body.fd-design .fd-lesson-focus .pg-lesson:not(.fd-selected-lesson) { display:none; }
body.fd-design .fd-learning-focus>.fd-catalog-chat,body.fd-design .fd-learning-focus>.ssx-learn-extra { display:none; }
body.fd-design .fd-lesson-focus .pg-school.fd-selected-school { margin:0; padding:20px; border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); }
body.fd-design .fd-lesson-focus .pg-lesson.fd-selected-lesson { margin:0; padding:0; border:0; scroll-margin-top:140px; }
body.fd-design .fd-selected-lesson>button { display:flex; align-items:center; justify-content:space-between; gap:15px; width:100%; min-height:60px; margin:0 0 18px; padding:0 0 16px; border:0; border-bottom:1px solid var(--fd-line); background:transparent; color:var(--fd-ink); font:500 25px/1.3 var(--font-serif,Georgia,serif); text-align:left; }
body.fd-design .fd-selected-lesson>button>b { font:inherit; }
body.fd-design .fd-selected-lesson>button>.ph { flex:none; color:var(--fd-green-dark); font:400 12px/1.4 var(--font-sans,"DM Sans",sans-serif); }
body.fd-design .fd-lesson-article { min-width:0; }
@media(min-width:1080px) {
  body.fd-design .fd-selected-lesson>.pg-body { display:grid; width:100%; max-width:none; margin-inline:0; grid-template-columns:minmax(0,57fr) minmax(0,43fr); grid-template-rows:auto auto 1fr; align-items:start; column-gap:20px; row-gap:0; }
  body.fd-design .fd-selected-lesson>.pg-body>.fd-lesson-article { grid-column:1; grid-row:1 / span 3; }
  body.fd-design .fd-selected-lesson>.pg-body>.fd-topic-photo { grid-column:2; grid-row:1; }
  body.fd-design .fd-selected-lesson>.pg-body>.ja-learn-panel { grid-column:2; grid-row:2; min-width:0; margin-top:0; }
  body.fd-design .fd-selected-lesson>.pg-body>.ja-cohort { grid-column:2; grid-row:3; min-width:0; }
}
@media(max-width:760px) { body.fd-design .fd-lesson-focus .pg-school.fd-selected-school { padding:15px; } body.fd-design .fd-selected-lesson>button { font-size:22px; } }
body.fd-design :is(.gr-toolbar,.gr-card,.gd-fact,.gd-links) { background:var(--fd-paper); border-color:var(--fd-line); border-radius:7px; box-shadow:none; }
body.fd-design .gr-seg { border-radius:5px; background:#e8eddf; box-shadow:none; }
body.fd-design .gr-segb { color:var(--fd-green-dark); font-size:12px; font-weight:500; border-radius:4px; }
body.fd-design .gr-segb[aria-pressed="true"],body.fd-design .gr-sbir.on { background:#526547; color:#fffef9; border-color:#526547; }
body.fd-design .gr-toolbar :is(.gr-sel select,.gr-search,.gr-sbir) { background:var(--fd-paper); color:var(--fd-green-dark); border-color:#81976b; border-radius:5px; font-size:12px; font-weight:400; }
body.fd-design .gr-chip.shop { background:#e8eddf; color:var(--fd-green-dark); }
body.fd-design :is(.gr-title,.gr-card b,.gd-title) { color:var(--fd-ink); font-weight:500; }
body.fd-design .gr-watch { color:var(--fd-green-dark); }
body.fd-design section.cd .cd-modes.cd-seg button { box-shadow:none; }
body.fd-design .fd-grants-chat { min-width:0; }
body.fd-design .fd-grant-learning { display:inline-flex; align-items:center; min-height:44px; margin:4px 14px; font-size:12px; color:var(--fd-green-dark); }
@media(min-width:900px) {
  body.fd-design[data-fd-route="grants"] #page-content:has(>.gr):has(>.fd-grants-chat) { display:grid; grid-template-columns:minmax(0,57fr) minmax(0,43fr); gap:20px; align-items:start; }
  body.fd-design[data-fd-route="grants"] #page-content>.gr { grid-column:1; min-width:0; }
  body.fd-design .fd-grants-chat { grid-column:2; grid-row:1; position:sticky; top:82px; }
}
@media(max-width:760px) {
  body.fd-design .fd-home-discussion { order:1; }
  body.fd-design #talk-immersive .ti-card { padding:14px; }
  body.fd-design .fd-home-tools-body { padding:12px; }
  body.fd-design section.cd.cd-lift>h2 { font-size:18px; }
  body.fd-design section.cd.cd-lift>.cd-save-status { max-width:145px; line-height:1.4; }
  body.fd-design section.cd .cd-stage.cd-lift-stage { padding:12px; }
  body.fd-design .fd-stage-content .cd-stage-head { gap:8px; }
  body.fd-design .fd-catalog-chat { margin:0 0 14px; }
  body.fd-design .fx-search>.fx-qrow { display:grid; grid-template-columns:minmax(0,1fr) 44px 44px; gap:6px; }
  body.fd-design .fx-search>.fx-qrow .fx-q { min-width:0; width:auto; }
  body.fd-design .fx-search>.fx-qrow .fx-go { width:44px; min-width:44px; padding:0; font-size:0; }
  body.fd-design .fx-search>.fx-qrow .fx-go::after { content:"→"; font-size:21px; }
}

/* Keep the search itself visible; the full native filter controls open
 * together without recreating their fields or handlers. */
body.fd-design .fx-search { position:relative; display:flex; flex-direction:row; align-items:flex-start; flex-wrap:wrap; gap:8px; overflow:visible; }
body.fd-design .fx-search>.fx-qrow { flex:1 1 300px; min-width:0; margin:0; }
body.fd-design .fd-search-filters { flex:0 0 140px; min-width:0; border:1px solid #81976b; border-radius:5px; background:var(--fd-paper); }
body.fd-design .fd-search-filters>summary { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; padding:9px 12px; color:var(--fd-green-dark); font-size:12px; font-weight:500; list-style:none; cursor:pointer; }
body.fd-design .fd-search-filters>summary::after { content:"+"; font-size:21px; line-height:1; font-weight:400; }
body.fd-design .fd-search-filters[open]>summary::after { content:"−"; }
body.fd-design .fd-filter-body { position:absolute; z-index:35; inset:calc(100% + 6px) 0 auto; padding:14px; border:1px solid #81976b; border-radius:7px; background:var(--fd-paper); box-shadow:0 10px 28px #29372e18; }
body.fd-design .fd-filter-body>.fx-tabs { margin:0 0 12px; }
body.fd-design .fx-head:has(.fx-h1[hidden]):not(:has(.fx-tabs)) { display:none; }
body.fd-design .fx-search>.fx-chips { flex:1 0 100%; margin:0; }
body.fd-design .fd-search-meta { display:flex; flex:1 0 100%; align-items:center; justify-content:space-between; gap:8px; min-width:0; }
body.fd-design .fd-search-meta>.fx-chips { display:flex; flex:1; min-width:0; margin:0; flex-wrap:wrap; }
body.fd-design .fd-filter-body>.fd-guide-control { position:static; margin-top:8px; }
body.fd-design .crx-matchsort { display:none; } /* #fx-sort retains the same Match option. */
body.fd-design :is(.fx-filterbtn,.fx-drawer-x,.fx-drawer-foot,.fx-fscrim) { display:none!important; }
body.fd-design .fx-banner { min-height:0; padding:9px 13px; gap:10px; font-size:12px; }
body.fd-design .fd-header .fd-mobile-utility { display:none!important; }
body.fd-design .fd-header .fd-header-actions>:is(a,button) { width:44px; padding:0; border:1px solid var(--fd-line); }
body.fd-design section.cd .cd-journey { gap:12px; }
body.fd-design section.cd .cd-journey>.cd-stage { margin:0; }
body.fd-design .fd-cert-mode { grid-column:1 / -1; justify-self:start; min-width:160px; margin:0 0 4px; }
body.fd-design .fd-cert-mode>summary { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:44px; padding:8px 11px; border:1px solid var(--fd-line); border-radius:5px; background:var(--fd-paper); font-size:12px; color:var(--fd-green-dark); list-style:none; cursor:pointer; }
body.fd-design .fd-cert-mode>summary::after { content:"⌄"; }
body.fd-design .fd-cert-mode[open]>.cd-modes { margin:8px 0 0; }
@media(max-width:899px) {
  body.fd-design .fd-search-filters { flex:1 0 100%; }
  body.fd-design .fd-filter-body { position:static; border:0; border-radius:0; padding:10px; box-shadow:none; }
}
@media(max-width:760px) {
  body.fd-design .fd-header .fd-mobile-utility { display:inline-flex!important; }
  body.fd-design .fd-public-tabs small { display:none; }
  body.fd-design .fd-public-tabs button { flex:1 1 0; min-width:0; padding:8px 5px; }
  body.fd-design .fd-public-tabs .fd-scope-full { display:none; }
  body.fd-design .fd-public-tabs .fd-scope-short { display:inline; }
  body.fd-design #talk-immersive .fd-home-discussion { order:0; }
  body.fd-design .fd-home-discussion .ja-panel-head { margin:-13px -14px 10px; }
}

/* The native query, filters and selected chips share one compact toolbar.
 * Fields, submit handlers and the factual sample notice remain native. */
@media(max-width:899px) {
  body.fd-design .fx-search { display:grid; grid-template-columns:minmax(0,1fr) 88px; gap:6px; }
  body.fd-design .fx-search>.fx-qrow { grid-column:1; grid-row:1; display:grid; grid-template-columns:minmax(0,1fr) 56px; gap:5px; min-width:0; }
  body.fd-design .fx-search>.fx-qrow .fx-q { min-width:0; width:auto; }
  body.fd-design .fx-search>.fx-qrow .fx-go { position:static!important; width:56px; min-width:56px; height:44px; min-height:44px; padding:0; overflow:visible; clip:auto; border:1px solid #526547; font-size:12px; }
  body.fd-design .fx-search>.fx-qrow .fx-go::after { content:none; }
  body.fd-design .fx-search>.fd-search-filters { grid-column:2; grid-row:1; width:auto; }
  body.fd-design .fd-search-filters>summary { gap:5px; padding:8px; font-size:11px; line-height:1.3; }
  body.fd-design .fx-search>.fd-search-filters[open] { grid-column:1 / -1; grid-row:2; }
  body.fd-design .fx-search:has(>.fd-search-filters[open])>.fx-qrow { grid-column:1 / -1; }
  body.fd-design .fx-search>:not(.fx-qrow):not(.fd-search-filters) { grid-column:1 / -1; }
  body.fd-design .fx-search>.fx-qrow:has(>.fd-guide-control) { grid-template-columns:minmax(0,1fr) 56px 44px; }
  body.fd-design .fd-search-meta { gap:6px; }
  body.fd-design .fd-search-meta>.fd-related-jump { flex:none; min-height:44px; margin:0; padding:6px 0; font-size:11px; }
  body.fd-design .fx-cap { margin:0; padding:0 2px; font-size:11px; line-height:1.4; }
  body.fd-design .fx-banner { display:grid; grid-template-columns:minmax(0,1fr) 104px; align-items:center; gap:8px; padding:6px 9px; border-radius:6px; background:#f2f4eb; border-color:var(--fd-line); font-size:11px; line-height:1.4; }
  body.fd-design .fx-banner>.fx-btn { display:flex; align-items:center; justify-content:center; min-width:0; min-height:44px; padding:6px; font-size:11px; line-height:1.3; white-space:normal; text-align:center; }
}
body.fd-design #jev-home-dock[data-fd-inline-hidden="true"] { display:none!important; }

/* The native path owns the View menu. Original checklist and member nodes
 * stay outside its replaceable mode view in compact footer disclosures. */
body.fd-design section.cd.cd-path-surface.cd-lift { display:block; padding:0; gap:0; }
body.fd-design section.cd.cd-path-surface.cd-lift>.cd-save-status { max-width:none; margin:0; padding:10px 16px; }
body.fd-design section.cd.cd-path-surface [data-cd-modeview] .cd-stage.cd-lift-stage { margin:0; padding:0; }
body.fd-design section.cd .cd-path-header>.fd-guide-control { position:static; flex:none; margin:0; }
body.fd-design .fd-cert-path { min-width:0; overflow:visible; border:1px solid var(--fd-line); border-radius:7px; background:var(--fd-paper); }
body.fd-design .fd-cert-path section.cd.cd-path-surface { margin:0; border:0; border-radius:7px; }
body.fd-design .fd-cert-path-extras:empty { display:none; }
body.fd-design .fd-cert-path-extras:not(:empty) { border-top:1px solid var(--fd-line); }
body.fd-design [data-fd-cert-path-extras]>:is(.fd-checklist,.fd-cert-cohort) { margin:0; min-width:0; border:0; border-radius:0; background:transparent; }
body.fd-design [data-fd-cert-path-extras]>:is(.fd-checklist,.fd-cert-cohort)+:is(.fd-checklist,.fd-cert-cohort) { border-top:1px solid var(--fd-line); }
body.fd-design [data-fd-cert-path-extras]>:is(.fd-checklist,.fd-cert-cohort)>summary { display:flex; align-items:center; justify-content:space-between; min-height:44px; padding:10px 16px; list-style:none; color:var(--fd-green-dark); font-size:12px; font-weight:500; cursor:pointer; }
body.fd-design .fd-cert-cohort>summary::after { content:"+"; padding-left:10px; font-size:22px; line-height:1; font-weight:400; }
body.fd-design .fd-cert-cohort[open]>summary::after { content:"−"; }
body.fd-design .fd-cert-cohort>.ssx-cert-extra { margin:0; padding:0 16px 14px; }
body.fd-design .fd-cert-cohort .ssx-cohort { margin:0; padding:0; border:0; background:transparent; box-shadow:none; }

/* Original topic photography sits in a separate, quiet frame above the room. */
body.fd-design .fd-cert-discussion { min-width:0; }
body.fd-design .fd-contract-discussion { min-width:0; }
body.fd-design .fd-contract-discussion .crx-chat { margin:0; padding:16px 18px; border:1px solid var(--fd-line); border-radius:8px; background:var(--fd-paper); }
body.fd-design .fd-contract-discussion .crx-chat-head { margin:-16px -18px 10px; padding:10px 14px; background:#eaf0df; border-bottom:1px solid var(--fd-line); border-radius:7px 7px 0 0; }
body.fd-design .fd-contract-discussion .crx-chat-head>:is(h2,h3,strong) { flex:1; margin:0; color:var(--fd-ink); font:600 14px/1.4 "DM Sans",sans-serif; }
body.fd-design .fd-contract-naics-picker { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:7px; margin:0 0 12px; }
body.fd-design .fd-contract-naics-picker label { min-width:0; color:var(--fd-muted); font-size:11px; }
body.fd-design .fd-contract-naics-picker label { grid-column:1 / -1; }
body.fd-design .fd-contract-naics-picker input { grid-column:1; grid-row:2; width:100%; min-width:0; min-height:44px; margin:0; font-size:14px; }
body.fd-design .fd-contract-naics-picker button { grid-column:2; grid-row:2; min-height:44px; padding:8px 10px; font-size:12px; }
body.fd-design .fd-inline-contract .crx-chat-tabs:not(:has(.crx-chat-tab + .crx-chat-tab)) { display:none; }
body.fd-design :is(.fd-related-jump,.fd-related-back) { display:none; }
body.fd-design[data-fd-route="opportunities"] .crx-lanes { grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); }
body.fd-design[data-fd-route="opportunities"] :is(.crx-lane,.crx-card) { min-width:0; }
body.fd-design[data-fd-route="opportunities"] .crx-card-foot { flex-wrap:wrap; }
@media(max-width:1079px) {
  body.fd-design :is(.fd-related-jump,.fd-related-back) { display:inline-flex; align-items:center; min-height:44px; margin:4px 0 8px; padding:8px 4px; border:0; background:transparent; color:var(--fd-green-dark); font:500 12px/1.4 "DM Sans",sans-serif; cursor:pointer; }
  body.fd-design :is(.fd-contract-discussion,.fd-inline-contract,.fx-search) { scroll-margin-top:82px; }
}
body.fd-design .fd-contract-discussion :is(.crx-chat-tabs,.crx-chat-body,.crx-composer,.fd-topic-content) { min-width:0; max-width:100%; }
body.fd-design .fd-contract-discussion .crx-chat-tabs { width:100%; }
body.fd-design .fd-contract-discussion .crx-chat-tab { flex:1; }
body.fd-design .fd-contract-discussion .crx-msg { overflow-wrap:anywhere; }
@media(min-width:1080px) {
  body.fd-design[data-fd-route="opportunities"] #page-content:has(>.fd-contract-discussion) { display:grid; grid-template-columns:minmax(0,57fr) minmax(0,43fr); gap:0 20px; align-items:start; }
  body.fd-design[data-fd-route="opportunities"] #page-content:has(>.fd-contract-discussion)>:not(.fd-contract-discussion) { grid-column:1; min-width:0; }
  body.fd-design[data-fd-route="opportunities"] #page-content>.fd-contract-discussion { grid-column:2; grid-row:1 / span 40; position:sticky; top:82px; }
}
body.fd-design figure.fd-topic-photo { display:block; width:100%; min-width:0; max-width:100%; margin:0 0 14px; padding:6px; overflow:hidden; border:1px solid var(--fd-line); border-radius:8px; background:var(--fd-paper); }
body.fd-design .fd-topic-photo>img { display:block; width:100%; height:clamp(170px,17vw,230px); object-fit:cover; object-position:center; border-radius:4px; }
body.fd-design .fd-topic-photo[data-fd-image="partners"]>img { object-position:center 43%; }
body.fd-design .fd-topic-photo[data-fd-image="vets"]>img { object-position:center 42%; }
body.fd-design .fd-topic-photo.fd-page-photo { max-width:640px; }
body.fd-design .fd-topic-photo.fd-chat-photo { margin:0 0 12px; padding:5px; }
body.fd-design .fd-topic-photo.fd-chat-photo>img { height:118px; }
body.fd-design .fd-topic-photo.fd-notice-photo { width:calc(100% - 44px); margin:16px 22px 0; }
body.fd-design .fd-topic-photo.fd-notice-photo>img { height:200px; }
body.fd-design .ja-certified-community.fd-topic-chat { margin-bottom:0; }
@media(max-width:760px) {
  body.fd-design figure.fd-topic-photo { margin-bottom:12px; padding:5px; }
  body.fd-design .fd-topic-photo>img { height:96px; }
  body.fd-design .fd-topic-photo.fd-notice-photo { width:calc(100% - 30px); margin:12px 15px 0; }
  body.fd-design .fd-topic-photo.fd-notice-photo>img { height:96px; }
  body.fd-design .fd-cert-discussion { margin-bottom:14px; }
  body.fd-design .fd-contract-discussion .crx-chat { padding:13px 14px; }
  body.fd-design .fd-contract-discussion .crx-chat-head { margin:-13px -14px 10px; }
}
@media(max-width:360px) {
  body.fd-design .fd-header { padding:0 8px; gap:4px; }
  body.fd-design .fd-header .fd-header-actions { gap:0; }
  body.fd-design .fd-brand { font-size:20px; gap:5px; }
  body.fd-design .fd-brand-logo { width:26px; height:26px; }
}
@media(forced-colors:active) {
  body.fd-design .fd-word-fed,body.fd-design .fd-word-m8 { color:CanvasText; background:none; -webkit-text-stroke:0; }
}
@media print {
  body.fd-design .fd-word-m8 { color:#3b472c; background:none; -webkit-text-stroke:0; }
}

/* The same familiar composer follows the actual conversation destination. */
body.fd-design .fd-chat-composer { min-width:0; }
body.fd-design .fd-chat-input { display:block; width:100%; min-height:60px; max-height:180px; padding:11px 12px; border:1px solid #bcc8af; border-radius:8px; background:#fffefb; font:400 14px/1.5 var(--font-sans,"DM Sans",sans-serif); resize:vertical; }
body.fd-design .fd-chat-actions { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:7px; }
body.fd-design .fd-chat-emoji-actions { display:flex; align-items:center; gap:2px; }
body.fd-design .fd-chat-emoji { display:inline-flex; align-items:center; justify-content:center; width:44px; min-width:44px; height:44px; padding:0; border:0; border-radius:6px; background:transparent; font-size:21px; cursor:pointer; }
body.fd-design .fd-chat-emoji:hover,body.fd-design .fd-chat-emoji[aria-expanded="true"] { background:#e8eedf; }
body.fd-design .fd-chat-emoji-more { font-size:26px; color:var(--fd-green-dark); }
body.fd-design .fd-chat-send { display:inline-flex; align-items:center; justify-content:center; min-width:68px; min-height:44px; margin:0; padding:8px 14px; border:1px solid #526547; border-radius:6px; background:#526547; color:#fffef9; font:500 13px/1.3 var(--font-sans,"DM Sans",sans-serif); }
body.fd-design .fd-chat-send:disabled { opacity:.55; }
body.fd-design .crx-composer-row:has(>.crx-identity[hidden]) { display:none; }
body.fd-design .fd-emoji-picker { position:fixed; z-index:1200; inset:auto; width:232px; max-width:calc(100vw - 16px); margin:0; padding:8px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; border:1px solid #bac8ac; border-radius:10px; background:#fffef9; color:var(--fd-ink); box-shadow:0 8px 30px #24301d30; }
body.fd-design .fd-emoji-choice { display:flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:0; border:0; border-radius:6px; background:transparent; font-size:24px; cursor:pointer; }
body.fd-design .fd-emoji-choice:hover { background:#e8eedf; }
body.fd-design .fd-emoji-status { grid-column:1 / -1; font-size:12px; }
body.fd-design .fd-emoji-status:empty { display:none; }
body.fd-design .cd-lift-bar,body.fd-design .mt-encourage { display:none; }
@media(max-width:760px) { body.fd-design .fd-chat-input { font-size:16px; } }

/* Shared chat states (owner direction 2026-10-16, r11/r20): a plain gate line
   with one next-step link, and a load failure with Try again. */
body.fd-design .chat-gate-action { display:inline-flex; align-items:center; min-height:44px; padding:0 2px; font-weight:600; color:var(--fd-green-dark); text-decoration:underline; text-underline-offset:3px; }
body.fd-design .ja-fail { display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; margin:4px 0 10px; padding:12px 14px; border:1px solid #e3c9a6; border-radius:6px; background:#fbf4e8; }
body.fd-design .ja-fail .ja-note { margin:0; flex:1 1 220px; color:#5b3a12; }
body.fd-design .ja-fail .ja-btn { min-height:44px; padding:8px 16px; border-radius:5px; border:1px solid var(--fd-green); background:var(--fd-green); color:#fff; font-weight:600; }
/* One "Try again" look: the contract chat retry matches the filled olive .ja-fail button (r11). */
body.fd-design .crx-chat-retry { min-height:44px; padding:8px 16px; border-radius:5px; border:1px solid var(--fd-green); background:var(--fd-green); color:#fff; font-weight:600; }
body.fd-design .crx-chat-retry:hover { background:var(--fd-green-dark); border-color:var(--fd-green-dark); color:#fff; }
/* Contract chat Helpful: a real tap target and a visible pressed state (r20). */
body.fd-design .crx-reactions .crx-like { display:inline-flex; align-items:center; gap:6px; min-height:32px; padding:4px 10px; border:1px solid var(--fd-line); border-radius:999px; background:var(--fd-paper); color:var(--fd-muted); font-size:12px; font-weight:600; cursor:pointer; }
body.fd-design .crx-reactions .crx-like:hover { border-color:var(--fd-green); color:var(--fd-green-dark); }
body.fd-design .crx-reactions .crx-like.on,body.fd-design .crx-reactions .crx-like[aria-pressed="true"] { background:#e8eedf; border-color:var(--fd-green); color:var(--fd-green-dark); }
body.fd-design .crx-reactions .crx-like:focus-visible { outline:3px solid #1f6fb5; outline-offset:2px; }
@media(max-width:760px) { body.fd-design .crx-reactions .crx-like { min-height:44px; padding:6px 14px; } }
/* Send feedback never sits on a message box (r11): it steps aside while a member is writing
   anywhere outside it, and the page ends with room to scroll the last composer clear of it. */
body.fd-design #fedm8-feedback-fab { transition:opacity .15s ease, transform .15s ease; }
body.fd-design:has(:is(textarea,input[type="text"],input[type="search"]):focus) #fedm8-feedback-fab:not(:focus-within) { opacity:0; transform:translateY(12px); pointer-events:none; }
body.fd-design #main #page-content { padding-bottom:72px; }
/* The contract toast keeps light text on its dark bar (the shared .crx colour above made it dark on dark). */
body.fd-design .crx-toast { background:var(--fd-ink); color:var(--fd-paper); }
/* A section panel's room tab links to the full room page (owner direction 2026-10-16, r04/r07). */
body.fd-design .ja-panel-head .ja-open-room { display:inline-flex; align-items:center; min-height:44px; margin-left:auto; padding:0 4px; color:var(--fd-green-dark); font:600 12.5px/1.3 "DM Sans",sans-serif; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
body.fd-design .ja-panel-head .ja-open-room[hidden] { display:none; }
body.fd-design .ja-panel-head .ja-open-room + .fd-guide-control,body.fd-design .ja-panel-head .ja-open-room ~ .fd-guide-control { margin-left:0; }
/* WP6 verifier fix: a grant page's Ask entry sits in the conversation header; the header wraps on a phone. */
body.fd-design .gd-discussion-slot .ja-panel-head { flex-wrap:wrap; }
body.fd-design .gd-discussion-slot .ja-panel-head .ja-ask-room { padding:0; background:none; border:0; margin:0; }
body.fd-design .gd-discussion-slot .ja-panel-head .ja-ask-room .ja-ask-btn { min-height:44px; }
@media (max-width: 760px) {
  body.fd-design .gd-discussion-slot .ja-panel-head .ja-panel-title { flex:1 1 100%; }
  body.fd-design .gd-discussion-slot .ja-panel-head .ja-open-room { margin-left:0; }
  body.fd-design .gd-discussion-slot .ja-panel-head .ja-ask-room { order:5; flex:1 1 100%; }
  body.fd-design .gd-discussion-slot .ja-panel-head .ja-ask-room .ja-ask-btn { width:100%; }
}
/* x01 (owner direction 2026-10-16): on a phone, Send feedback moves under My Profile; its note opens as a
   sheet above the dock, so nothing floats over a room's corner or its message box. */
@media (max-width:760px) {
  body.fd-design #fedm8-feedback-fab .ff-btn { display:none; }
  body.fd-design #fedm8-feedback-fab { left:10px; right:10px; bottom:calc(89px + env(safe-area-inset-bottom)); }
  body.fd-design #fedm8-feedback-fab .ff-panel { position:static; width:auto; max-height:min(70vh,calc(100dvh - 105px)); overflow:auto; }
  body.fd-design #fedm8-feedback-fab:not(.ff-open) { pointer-events:none; }
}
/* FIX-2 (2026-10-17, r04): on a phone the section panel head wraps. The "Open the ... room" link takes its
   own line, so the 44px collapse toggle stays on screen and the page never scrolls sideways. */
@media (max-width:760px) {
  body.fd-design .ja-panel-head { flex-wrap:wrap; }
  body.fd-design .ja-panel-head .ja-panel-title { flex:1 1 auto; min-width:0; }
  body.fd-design .ja-panel-head .ja-open-room { order:5; flex:1 1 100%; margin-left:0; white-space:normal; }
}
/* FIX-2 (2026-10-17): on desktop, "Send feedback" sits at the foot of the left column, under Sign out,
   instead of floating over the right rails ("View full contract", grant notes, the cert step rail). The
   column keeps room for it at the bottom, so it never covers a nav item either. */
@media (min-width:761px) {
  body.fd-design #sidebar { padding-bottom:84px; }
  body.fd-design #fedm8-feedback-fab { left:max(28px,calc((100vw - 1454px)/2)); right:auto; bottom:18px; width:190px; z-index:61; }
  body.fd-design #fedm8-feedback-fab .ff-btn { width:100%; min-height:44px; justify-content:center; border:1px solid #cbd4bf; border-radius:6px; background:var(--fd-paper); color:var(--fd-green-dark); box-shadow:none; font-weight:600; }
  body.fd-design #fedm8-feedback-fab .ff-btn:hover { background:#ebeee3; }
  body.fd-design #fedm8-feedback-fab .ff-panel { left:0; right:auto; max-height:calc(100dvh - 90px); overflow-y:auto; }
}
/* Keep navigation scroll separate from the account controls and feedback reserve. */
@media (min-width:761px) and (max-height:560px) {
  body.fd-design #sidebar { padding-top:8px; padding-bottom:72px; }
  body.fd-design #sidebar .sb-foot { margin-top:8px; padding-top:8px; }
}
@media (min-width:1600px) { body.fd-design #fedm8-feedback-fab { left:calc((100vw - 1454px)/2); } }
@media (max-width:1100px) and (min-width:761px) { body.fd-design #fedm8-feedback-fab { left:20px; width:165px; } }
/* FIX-2 (2026-10-17, r04): phone tap targets on Chat and the Inbox are at least 44px tall. Inline links
   get the height from padding with a matching negative margin, so the text lines do not move. */
@media (max-width:760px) {
  body.fd-design .fd-brand { min-height:44px; }
  body.fd-design #talk-root button.ja-name-link, body.fd-design #talk-root .talk-main > a { display:inline-block; padding:12px 0; margin:-12px 0; }
  body.fd-design #talk-root .talk-main > a { padding:11px 0; margin:-11px 0; }
  body.fd-design .inbox-msg .ssp-dm-open { display:inline-flex; align-items:center; min-height:44px; }
  body.fd-design .inbox-follows > summary, body.fd-design #page-content details > summary { display:flex; align-items:center; min-height:44px; }
  body.fd-design .inbox-follows a { display:inline-flex; align-items:center; min-height:44px; }
  body.fd-design .inbox-msg a:not(.ssp-dm-open) { display:inline-flex; align-items:center; min-height:44px; }
  body.fd-design .room-hello .rh-open, body.fd-design #talk-root .room-side a { display:inline-flex; align-items:center; min-height:44px; }
}
@media (max-width:760px) { body.fd-design a.hello-link { display:inline-flex; align-items:center; min-height:44px; } }
/* FIX-2 (2026-10-17, r20): the Team Up wizard and the step bars use the approved olive, not navy and blue.
   A heading that takes focus after a step change (tabindex=-1) shows no heavy box; it is not a control. */
body.fd-design .walk-seg::before { background:#dfe5d4; }
body.fd-design .walk-seg.is-done::before { background:#627a51; }
body.fd-design .walk-seg.is-current::before { background:var(--fd-green-dark,#344b2c); }
body.fd-design .walk-seg:focus-visible { outline:2px solid var(--fd-green,#526547); outline-offset:2px; }
body.fd-design .walk-count { color:var(--fd-green-dark,#344b2c); }
body.fd-design .walk-seg-label { color:var(--fd-muted); }
body.fd-design .walk-seg.is-current .walk-seg-label { color:var(--fd-green-dark,#344b2c); }
body.fd-design .walk-seg.is-done .walk-seg-label { color:#4f6243; }
body.fd-design .fx-tile[aria-checked="true"], body.fd-design .fx-tile[aria-pressed="true"] { border-color:var(--fd-green,#526547); background:#eef1e7; }
body.fd-design .fx-tile[aria-checked="true"] .fx-dot { border-color:var(--fd-green,#526547); }
body.fd-design .fx-tile[aria-checked="true"] .fx-dot::after { background:var(--fd-green,#526547); }
body.fd-design .fx-tile:focus-visible { outline:2px solid var(--fd-green,#526547); outline-offset:2px; }
body.fd-design #page-content :is(h1,h2,h3)[tabindex="-1"]:focus { outline:none; box-shadow:none; }
/* One checkbox size on My Profile's cards (Public previews, Greet newcomers, Suggest me). */
body.fd-design .fr-hidden input[type="checkbox"], body.fd-design .hello-greeter input[type="checkbox"] { width:18px; height:18px; flex:none; margin:0 6px 0 0; accent-color:var(--fd-green,#526547); vertical-align:-3px; }
@media (max-width:760px) { body.fd-design #page-content p.empty a { display:inline-block; padding:14px 0; margin:-14px 0; } }
@media (max-width:760px) { body.fd-design button.jm-chip { min-height:44px; } }
