.fd-forum-page{max-width:1080px;margin:0 auto;padding:34px 20px 72px}
.fd-forum-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;font-size:.9rem;color:#506073}
.fd-forum-breadcrumb a{color:inherit;text-decoration:none}
.fd-forum-breadcrumb a:hover{text-decoration:underline}

.fd-forum-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:30px 32px;border:1px solid rgba(148,163,184,.28);border-radius:24px;background:linear-gradient(135deg,rgba(15,23,42,.045),rgba(99,102,241,.07));margin-bottom:24px;box-shadow:0 12px 32px rgba(15,23,42,.05)}
.fd-forum-hero--compact{padding:26px 28px}
.fd-forum-hero>span,.fd-new-topic header>span{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:800;opacity:.6}
.fd-forum-hero h1,.fd-new-topic h1{margin:.25em 0 .35em;font-size:clamp(2rem,4vw,3.1rem);line-height:1.05;color:#132238}
.fd-forum-hero p,.fd-new-topic header p,.fd-section-head p{margin:0;color:#607084;line-height:1.6}
.fd-forum-hero-copy{display:grid;gap:8px;max-width:760px}
.fd-forum-hero-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.fd-forum-description{margin-top:4px;opacity:.92;font-size:.96rem;line-height:1.65;color:#546277}
.fd-forum-status{display:inline-flex;align-items:center;padding:9px 12px;border-radius:999px;background:#fff3e6;color:#a55a00;font-weight:800}

.fd-section-head{display:grid;gap:4px;margin-bottom:16px}
.fd-section-head h2{margin:0;font-size:1.16rem;color:#16263d}
.fd-topic-section{padding:22px;border:1px solid rgba(148,163,184,.24);border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.04)}
.fd-topic-section--overview{padding:24px}

.fd-forum-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:0;border-radius:14px;background:#0f172a;color:#fff!important;text-decoration:none;font-weight:800;cursor:pointer;box-shadow:0 10px 22px rgba(15,23,42,.14)}
.fd-forum-button:hover{transform:translateY(-1px)}

.fd-forum-overview{display:grid;gap:12px}
.fd-forum-node{border:1px solid rgba(148,163,184,.26);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 6px 22px rgba(15,23,42,.035)}
.fd-forum-node--category{background:rgba(248,250,252,.82)}
.fd-forum-node--category .fd-forum-node-main{background:rgba(248,250,252,.92)}
.fd-forum-node-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px}
.fd-forum-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:rgba(15,23,42,.06);font-size:1.05rem}
.fd-forum-copy{min-width:0}
.fd-forum-title,.fd-forum-category-toggle{font-weight:800;font-size:1.05rem;color:#17263a;text-decoration:none}
.fd-forum-category-toggle{background:none;border:0;padding:0;cursor:pointer}
.fd-forum-title:hover{text-decoration:underline}
.fd-forum-metrics{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:14px;min-width:290px}
.fd-forum-metrics span{display:grid;gap:2px;padding:9px 10px;border-radius:12px;background:rgba(248,250,252,.95);text-align:center}
.fd-forum-metrics strong{font-size:1rem;color:#132238}
.fd-forum-metrics small{font-size:.77rem;color:#66768a}
.fd-forum-children{padding:0 14px 14px 28px;display:grid;gap:10px}
.fd-forum-children.is-collapsed{display:none}

.fd-topic-list,.fd-post-list{display:grid;gap:12px}
.fd-topic-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px;border:1px solid rgba(148,163,184,.24);border-radius:18px;text-decoration:none;color:inherit;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.03)}
.fd-topic-row:hover{border-color:rgba(71,85,105,.35);box-shadow:0 10px 26px rgba(15,23,42,.06)}
.fd-topic-row-main{display:grid;gap:6px;min-width:0}
.fd-topic-row-main strong{font-size:1.03rem;color:#142338}
.fd-topic-row-main small{opacity:.72;color:#5c6a7d}
.fd-topic-row-meta{display:grid;gap:10px;align-items:center;justify-items:end;text-align:right}
.fd-topic-row-meta span{display:grid;gap:2px;padding:9px 12px;border-radius:12px;background:#f8fafc;min-width:92px}
.fd-topic-row-meta span strong{font-size:1rem;color:#132238}
.fd-topic-row-meta span small{font-size:.76rem;color:#64748b}
.fd-topic-row time{font-size:.84rem;opacity:.72;white-space:nowrap;color:#5c6a7d}

.fd-post{border:1px solid rgba(148,163,184,.26);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.03)}
.fd-post.is-best{outline:2px solid rgba(16,185,129,.42);box-shadow:0 0 0 4px rgba(16,185,129,.08)}
.fd-post header{display:flex;justify-content:space-between;gap:16px;padding:14px 18px;background:rgba(248,250,252,.85);border-bottom:1px solid rgba(148,163,184,.2)}
.fd-post header strong,.fd-post header small{display:block}
.fd-post header strong{color:#142338}
.fd-post header small{opacity:.68;margin-top:3px;color:#617185}
.fd-post-body{padding:20px;line-height:1.72;overflow-wrap:anywhere;color:#233247}
.fd-best-badge{align-self:center;padding:6px 10px;border-radius:999px;background:rgba(16,185,129,.12);font-size:.78rem;font-weight:800;color:#12704f}

.fd-reply-box,.fd-new-topic,.fd-topic-form-data{margin-top:20px;padding:28px;border:1px solid rgba(148,163,184,.24);border-radius:24px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.05)}
.fd-new-topic{display:grid;gap:22px;background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)}
.fd-new-topic label,.fd-reply-box label,.fd-dynamic-topic-form label{display:grid;gap:8px}
.fd-reply-box textarea,.fd-new-topic input,.fd-new-topic textarea,.fd-new-topic select{width:100%;box-sizing:border-box}
.fd-new-topic label>span,.fd-reply-box h2{display:block;font-weight:800;color:#18273d}
.fd-new-topic label>small,.fd-dynamic-topic-form label>small{display:block;color:#68788c;line-height:1.5}
.fd-dynamic-topic-form{display:grid;gap:16px;padding:18px;border-radius:18px;background:rgba(248,250,252,.86);border:1px solid rgba(148,163,184,.22)}
.fd-choice-grid{display:grid;gap:8px}
.fd-choice-card,.fd-check--card,.fd-check--boxed{display:flex!important;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid rgba(148,163,184,.24);border-radius:14px;background:#fff}
.fd-choice-card span{line-height:1.45;color:#1f2f45}
.fd-check{display:flex!important;gap:10px;align-items:center}
.fd-check input{margin-top:2px}
.fd-check span{margin:0!important}
.fd-check--card span{display:grid;gap:4px}
.fd-check--card strong{color:#15253a}
.fd-check--card small{color:#64748b;line-height:1.45}
.fd-new-topic-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:16px;align-items:start}
.fd-topic-submit-bar{display:flex;justify-content:flex-end;padding-top:2px}

.fd-forum-callout,.fd-forum-empty{padding:18px;border:1px dashed rgba(148,163,184,.5);border-radius:14px;background:rgba(248,250,252,.7);color:#46576b}
.fd-topic-form-data dl{display:grid;gap:8px}
.fd-topic-form-data dl>div{display:grid;grid-template-columns:minmax(160px,.35fr) 1fr;gap:15px;padding:10px 0;border-bottom:1px solid rgba(148,163,184,.2)}
.fd-topic-form-data dt{font-weight:800;color:#16263d}
.fd-topic-form-data dd{margin:0;color:#415267}
.fd-forum-link-button{border:0;background:none;padding:0 20px 16px;color:#132238;text-decoration:underline;cursor:pointer;font-weight:700}

.fd-forum-latest{border:1px solid rgba(148,163,184,.3);border-radius:18px;overflow:hidden;background:#fff}
.fd-forum-latest-head,.fd-forum-latest-row{display:flex;justify-content:space-between;gap:15px;padding:13px 16px}
.fd-forum-latest-head{background:rgba(248,250,252,.85)}
.fd-forum-latest-row{border-top:1px solid rgba(148,163,184,.18);text-decoration:none;color:inherit}
.fd-forum-latest-row span,.fd-forum-latest-row small{display:block}
.fd-forum-latest-row small{opacity:.6;margin-top:3px}
.fd-forum-latest-row time{font-size:.8rem;opacity:.6;white-space:nowrap}

.fd-forum-wysiwyg{border:1px solid rgba(148,163,184,.35);border-radius:14px;overflow:hidden;background:#fff}
.fd-forum-wysiwyg-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:8px;border-bottom:1px solid rgba(148,163,184,.25);background:rgba(248,250,252,.9)}
.fd-forum-wysiwyg-toolbar button{border:1px solid rgba(148,163,184,.35);background:#fff;border-radius:8px;padding:6px 9px;cursor:pointer}
.fd-forum-wysiwyg-editor{min-height:180px;padding:14px;outline:none;line-height:1.6}
.fd-forum-powered{margin-top:24px;text-align:center;font-size:.78rem;opacity:.55}
.fd-forum-powered a{color:inherit}

@media(max-width:900px){
  .fd-forum-hero{align-items:flex-start;flex-direction:column}
  .fd-new-topic-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .fd-forum-page{padding-inline:14px}
  .fd-topic-section,.fd-reply-box,.fd-new-topic,.fd-topic-form-data,.fd-forum-hero{padding:18px}
  .fd-forum-node-main{grid-template-columns:auto 1fr}
  .fd-forum-metrics{grid-column:1/-1;min-width:0;grid-template-columns:repeat(3,1fr)}
  .fd-topic-row{grid-template-columns:1fr}
  .fd-topic-row-meta{justify-items:start;text-align:left}
  .fd-topic-row time{white-space:normal}
  .fd-topic-form-data dl>div{grid-template-columns:1fr}
  .fd-forum-children{padding-left:14px}
}

.fd-new-topic header{display:grid;gap:10px;padding-bottom:8px;border-bottom:1px solid rgba(148,163,184,.18)}
.fd-new-topic input,.fd-new-topic textarea,.fd-new-topic select,.fd-reply-box textarea{min-height:48px;padding:12px 14px;border:1px solid rgba(148,163,184,.42);border-radius:14px;background:#fff;color:#1f2f45;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.fd-new-topic textarea,.fd-reply-box textarea{min-height:180px;resize:vertical}
.fd-new-topic input:focus,.fd-new-topic textarea:focus,.fd-new-topic select:focus,.fd-reply-box textarea:focus{border-color:rgba(37,99,235,.45);box-shadow:0 0 0 4px rgba(37,99,235,.08);outline:none}
.fd-new-topic > label,.fd-new-topic > .fd-dynamic-topic-form,.fd-new-topic > .fd-new-topic-grid,.fd-new-topic > .fd-topic-submit-bar{margin-top:2px}
.fd-dynamic-topic-form{box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}
.fd-dynamic-topic-form .fd-section-head{margin-bottom:2px}
.fd-dynamic-topic-form .fd-section-head h2{font-size:1.05rem}
.fd-check--card,.fd-check--boxed,.fd-choice-card{border-radius:16px}
.fd-new-topic-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.9fr);gap:18px;align-items:stretch}
.fd-new-topic-grid > label:first-child{padding:18px;border:1px solid rgba(148,163,184,.22);border-radius:18px;background:rgba(248,250,252,.64)}
.fd-check--card{height:100%;display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:14px;padding:18px;border:1px solid rgba(148,163,184,.22);background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 8px 22px rgba(15,23,42,.03)}
.fd-check--card input{width:18px;height:18px;margin:0}
.fd-check--card span{display:grid;gap:6px}
.fd-check--card strong{font-size:1.02rem;line-height:1.35}
.fd-check--card small{font-size:.94rem;line-height:1.5}
.fd-topic-submit-bar{display:flex;justify-content:flex-end;align-items:center;padding-top:2px}
.fd-topic-submit-bar .fd-forum-button{min-width:190px;padding-inline:22px}
.fd-forum-wysiwyg{border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.fd-forum-wysiwyg-toolbar{padding:10px;border-bottom:1px solid rgba(148,163,184,.22);background:linear-gradient(180deg,#fbfcfe 0%,#f5f7fb 100%)}
.fd-forum-wysiwyg-toolbar button{min-height:38px;padding:7px 12px;border-radius:10px;font-weight:700;color:#1f2f45}
.fd-forum-wysiwyg-editor{min-height:230px;padding:16px}
@media(max-width:900px){.fd-new-topic-grid{grid-template-columns:1fr}.fd-check--card{min-height:auto}}
@media(max-width:760px){.fd-reply-box,.fd-new-topic,.fd-topic-form-data,.fd-forum-hero{padding:18px}.fd-new-topic-grid>label:first-child{padding:14px}.fd-topic-submit-bar{justify-content:stretch}.fd-topic-submit-bar .fd-forum-button{width:100%;min-width:0}}
