.fcb-browser {
  --fcb-panel: #fff;
  --fcb-text: #17212b;
  --fcb-button: #1769aa;
  --fcb-button-text: #fff;
  --fcb-border: #cbd5e1;
  --fcb-accent: #0b4f82;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(16px, 3vw, 30px);
  color: var(--fcb-text);
  background: var(--fcb-panel);
  border: 1px solid var(--fcb-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
  isolation: isolate;
}
.fcb-browser *, .fcb-browser *::before, .fcb-browser *::after { box-sizing: border-box; }
.fcb-browser h2, .fcb-browser h3, .fcb-browser p { color: var(--fcb-text); }
.fcb-heading-row h2 { margin: 0 0 20px; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.25; }
.fcb-section-title { margin: 4px 0 15px; font-size: 1.05rem; }
.fcb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fcb-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fcb-card, .fcb-action, .fcb-secondary, .fcb-search-button {
  appearance: none;
  font: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.fcb-card, .fcb-action {
  min-height: 92px;
  padding: 17px;
  text-align: left;
  color: var(--fcb-button-text);
  background: var(--fcb-button);
  border: 2px solid transparent;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .13);
}
.fcb-card span, .fcb-action span { display: block; color: inherit; font-size: 1.03rem; font-weight: 700; line-height: 1.3; }
.fcb-card small, .fcb-action small { display: block; margin-top: 7px; color: inherit; opacity: .88; font-size: .83rem; }
.fcb-card:hover, .fcb-action:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.fcb-card:focus-visible, .fcb-action:focus-visible, .fcb-secondary:focus-visible, .fcb-search-button:focus-visible, .fcb-post:focus-visible, .fcb-post-tools input:focus-visible, .fcb-global-search input:focus-visible { outline: 3px solid var(--fcb-accent); outline-offset: 3px; }
.fcb-subcategory { margin-left: min(calc(var(--fcb-depth, 0) * 10px), 24px); }
.fcb-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.fcb-secondary {
  min-height: 42px;
  padding: 9px 15px;
  color: var(--fcb-accent);
  background: var(--fcb-panel);
  border: 2px solid var(--fcb-accent);
  border-radius: 9px;
  font-weight: 700;
}
.fcb-secondary:hover { color: var(--fcb-button-text); background: var(--fcb-accent); }
.fcb-global-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin: 0 0 22px; }
.fcb-global-search label { min-width: 0; }
.fcb-global-search input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  color: var(--fcb-text);
  background: var(--fcb-panel);
  border: 2px solid var(--fcb-border);
  border-radius: 9px;
  font: inherit;
}
.fcb-global-search input::placeholder { color: var(--fcb-text); opacity: .68; }
.fcb-search-button {
  min-height: 50px;
  padding: 10px 20px;
  color: var(--fcb-button-text);
  background: var(--fcb-button);
  border: 2px solid var(--fcb-button);
  border-radius: 9px;
  font-weight: 700;
}
.fcb-search-button:hover { filter: brightness(1.08); }
.fcb-search-post-heading { margin-top: 24px !important; }
.fcb-search-group-title { margin: 4px 0 16px; color: var(--fcb-text); font-size: 1.08rem; }
.fcb-search-divider { display: flex; align-items: center; gap: 12px; margin: 30px 0 22px; color: var(--fcb-accent); font-weight: 700; }
.fcb-search-divider::before, .fcb-search-divider::after { content: ""; flex: 1; border-top: 2px dashed var(--fcb-border); }
.fcb-search-divider span { flex: 0 0 auto; }
.fcb-post-tools { margin-bottom: 14px; }
.fcb-post-tools input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--fcb-text);
  background: var(--fcb-panel);
  border: 2px solid var(--fcb-border);
  border-radius: 9px;
  font: inherit;
}
.fcb-post-tools input::placeholder { color: var(--fcb-text); opacity: .68; }
.fcb-post-list { display: grid; gap: 10px; }
.fcb-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 14px;
  align-items: center;
  padding: 14px 15px;
  color: var(--fcb-text) !important;
  background: var(--fcb-panel);
  border: 1px solid var(--fcb-border);
  border-left: 5px solid var(--fcb-accent);
  border-radius: 9px;
  text-decoration: none !important;
}
.fcb-post span { min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.fcb-post small { color: var(--fcb-text); opacity: .72; }
.fcb-post .fcb-category-path { color: var(--fcb-accent); opacity: 1; font-weight: 600; }
.fcb-post b { grid-column: 2; grid-row: 1 / span 2; color: var(--fcb-accent); font-size: 1.2rem; }
.fcb-post:hover { background: #f3f7fa; background: color-mix(in srgb, var(--fcb-panel) 92%, var(--fcb-accent)); border-color: var(--fcb-accent); }
.fcb-load-row { display: flex; justify-content: center; margin-top: 18px; }
.fcb-empty, .fcb-no-search, .fcb-error { margin: 10px 0 0; padding: 14px; background: var(--fcb-panel); border: 1px solid var(--fcb-border); border-radius: 9px; }
.fcb-error { border-left: 5px solid #b42318; }
.fcb-loading { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--fcb-text); background: rgba(255, 255, 255, .92); background: color-mix(in srgb, var(--fcb-panel) 88%, transparent); border-radius: inherit; font-weight: 700; }
.fcb-loading[hidden] { display: none; }
.fcb-spinner { width: 24px; height: 24px; border: 3px solid var(--fcb-border); border-top-color: var(--fcb-accent); border-radius: 50%; animation: fcb-spin .7s linear infinite; }
.fcb-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fcb-browser .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes fcb-spin { to { transform: rotate(360deg); } }
@media (max-width: 800px) { .fcb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) {
  .fcb-browser { padding: 14px; border-radius: 12px; }
  .fcb-grid { grid-template-columns: 1fr; }
  .fcb-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fcb-options-grid .fcb-card, .fcb-options-grid .fcb-action { min-width: 0; padding: 13px 10px; }
  .fcb-options-grid span, .fcb-options-grid small { overflow-wrap: anywhere; }
  .fcb-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fcb-choice-grid .fcb-action { min-width: 0; padding: 13px 10px; }
  .fcb-choice-grid .fcb-action span, .fcb-choice-grid .fcb-action small { overflow-wrap: anywhere; }
  .fcb-card, .fcb-action { min-height: 78px; }
  .fcb-nav { justify-content: flex-start; }
  .fcb-secondary { flex: 1 1 auto; }
  .fcb-global-search { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
  .fcb-global-search input { min-width: 0; }
  .fcb-search-button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) { .fcb-browser * { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; } }
