.isfcc { --isfcc-ink: #0A2540; --isfcc-muted: #475569; --isfcc-line: #e2e8f0; font-family: inherit; font-size: 15px; line-height: 1.5; color: var(--isfcc-ink) }
.isfcc[hidden], .isfcc-reopen[hidden] { display: none !important }

.isfcc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99990; max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--isfcc-line); border-radius: 14px; box-shadow: 0 16px 48px rgba(10,37,64,.18); padding: 18px 20px; display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap }
.isfcc-banner__text { flex: 1 1 360px; margin: 0; color: var(--isfcc-muted) }
.isfcc-banner__text a, .isfcc-dialog a { color: var(--isfcc-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--isfcc-accent) }
.isfcc-banner__btns, .isfcc-dialog__btns { display: flex; gap: 8px; flex-wrap: wrap }

.isfcc-btn { font: inherit; font-size: 14px; font-weight: 700; border-radius: 9px; padding: 10px 16px; cursor: pointer; border: 1px solid transparent; line-height: 1.2 }
.isfcc-btn--solid { background: var(--isfcc-accent, #F2711C); color: #fff }
.isfcc-btn--solid:hover { filter: brightness(.93) }
.isfcc-btn--ghost { background: #fff; color: var(--isfcc-ink, #0A2540); border-color: var(--isfcc-line, #e2e8f0) }
.isfcc-btn--ghost:hover { border-color: var(--isfcc-ink, #0A2540) }
.isfcc-btn:focus-visible, .isfcc-reopen:focus-visible, .isfcc-cat input:focus-visible + .isfcc-switch { outline: 3px solid var(--isfcc-accent, #F2711C); outline-offset: 2px }
.isfcc-inline { margin: 4px 0 }

.isfcc-dialog { position: fixed; inset: 0; z-index: 99995; background: rgba(10,37,64,.45); display: flex; align-items: center; justify-content: center; padding: 16px }
.isfcc-dialog__box { background: #fff; border-radius: 16px; max-width: 560px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 24px; box-shadow: 0 24px 64px rgba(10,37,64,.3) }
.isfcc-dialog h2 { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: var(--isfcc-ink) }
.isfcc-dialog__box > p { margin: 0 0 16px; color: var(--isfcc-muted) }
.isfcc-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--isfcc-line); cursor: pointer }
.isfcc-cat > div { display: flex; flex-direction: column; gap: 2px }
.isfcc-cat strong { font-size: 15px }
.isfcc-cat span { font-size: 13.5px; color: var(--isfcc-muted) }
.isfcc-always { font-size: 12px !important; font-weight: 700; color: #15803d !important; white-space: nowrap }
.isfcc-cat input { position: absolute; opacity: 0; width: 1px; height: 1px }
.isfcc-switch { flex: none; width: 44px; height: 24px; border-radius: 12px; background: #cbd5e1; position: relative; transition: background .15s }
.isfcc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s }
.isfcc-cat input:checked + .isfcc-switch { background: var(--isfcc-accent) }
.isfcc-cat input:checked + .isfcc-switch::after { transform: translateX(20px) }
.isfcc-dialog__btns { margin-top: 18px; justify-content: flex-end }

.isfcc-reopen { position: fixed; left: 16px; bottom: 16px; z-index: 99980; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; color: #0A2540; box-shadow: 0 6px 20px rgba(10,37,64,.15); cursor: pointer; display: inline-flex; align-items: center; justify-content: center }
.isfcc-reopen:hover { color: var(--isfcc-accent) }

.isfcc-table-wrap { overflow-x: auto; margin: 8px 0 24px }
.isfcc-table { width: 100%; border-collapse: collapse; font-size: 14.5px }
.isfcc-table th, .isfcc-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e2e8f0 }
.isfcc-table th { font-weight: 700; background: #f8fafc }
.isfcc-table code { font-size: 13px; background: #f1f5f9; padding: 1px 5px; border-radius: 4px; word-break: break-word }

@media (max-width: 600px) {
  .isfcc-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px }
  .isfcc-banner__btns { width: 100% }
  .isfcc-banner__btns .isfcc-btn { flex: 1 1 auto }
}
@media (prefers-reduced-motion: reduce) { .isfcc-switch, .isfcc-switch::after { transition: none } }
