/* Compliance → Compliance Hub (feos:views/compliance-hub; docs/modules/compliance-checks.md 0.3, 0.7) */
.fch { --fch-ink: #0f1b26; --fch-muted: #5b6875; --fch-line: #e1e7ee; --fch-soft: #f3f6f9; --fch-blue: #0a72ba;
    color: var(--fch-ink); max-width: 1440px; margin: 0 auto; padding: 4px 0 40px; font-size: 14px; }
.fch-pad { padding: 20px 4px; color: var(--fch-muted); }
.fch-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.fch-head h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; }
.fch-head p { margin: 0; max-width: 820px; color: var(--fch-muted); font-size: 15px; }
.fch-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fch-actions .btn { min-height: 40px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.fch-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
@media (max-width: 1000px) { .fch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fch-tile { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--fch-line); border-radius: 12px; padding: 14px 16px; }
.fch-tile-label { font-size: 13px; font-weight: 600; color: var(--fch-muted); }
.fch-tile-value { font-size: 28px; font-weight: 800; line-height: 1.1; }
.fch-tile-hint { font-size: 12px; color: var(--fch-muted); }
.fch-ink { color: var(--fch-ink); } .fch-amber { color: #8a4a06; } .fch-red { color: #a3261b; } .fch-green { color: #166534; }
.fch-grey { color: var(--fch-muted); } .fch-zero { color: #9aa8b7; }
.fch-card { background: #fff; border: 1px solid var(--fch-line); border-radius: 12px; margin-bottom: 18px; min-width: 0; }
.fch-card > header { padding: 14px 16px 10px; border-bottom: 1px solid var(--fch-line); }
.fch-card h2 { margin: 0; font-size: 17px; font-weight: 800; }
.fch-card header p { margin: 4px 0 0; font-size: 13px; color: var(--fch-muted); }
.fch-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .fch-two { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.fch-table-box { overflow-x: auto; }
.fch-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fch-table th { background: var(--fch-soft); border-bottom: 2px solid #cfd8e2; padding: 10px; text-align: left; color: var(--fch-ink);
    font-weight: 800; font-size: 12px; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.fch-table td { padding: 10px; border-top: 1px solid #eef2f6; vertical-align: top; }
.fch-table th:first-child, .fch-table td:first-child { padding-left: 16px; }
.fch-table tr[data-fch-row] { cursor: pointer; } .fch-table tr[data-fch-row]:hover { background: #f7fafc; }
.fch-r { text-align: right !important; white-space: nowrap; }
.fch-n { font-weight: 700; }
.fch-strong { font-weight: 700; } .fch-sub { font-size: 12px; color: var(--fch-muted); }
.fch-empty { padding: 16px; color: var(--fch-muted); font-size: 13px; }
.fch-pill { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.fch-pill-red { background: #fde8e6; color: #a3261b; } .fch-pill-amber { background: #fdf0d9; color: #8a4a06; }
.fch-pill-green { background: #e3f4e8; color: #166534; } .fch-pill-grey { background: #eceff3; color: var(--fch-muted); }
.fch-registers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .fch-registers { grid-template-columns: minmax(0, 1fr); } }
.fch-register { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 16px; border-top: 1px solid #eef2f6;
    color: var(--fch-ink); text-decoration: none; }
.fch-register:hover { background: #f7fafc; text-decoration: none; color: var(--fch-ink); }
.fch-register-name { font-weight: 700; } .fch-register-nums { text-align: right; white-space: nowrap; }
.fch-register-hint { grid-column: 1 / -1; font-size: 12px; color: var(--fch-muted); }

/* One check's page (feos:views/check/detail; compliance-checks.md 0.5): what needs putting right, in full width */
.fck { --fck-ink: #0f1b26; --fck-muted: #5b6875; --fck-line: #e1e7ee; --fck-soft: #f3f6f9; color: var(--fck-ink); margin: 0 0 18px; font-size: 14px; }
.fck-top { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: flex-start; background: #fff;
    border: 1px solid var(--fck-line); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.fck-what { min-width: 260px; flex: 1; }
.fck-ref { font-size: 13px; font-weight: 600; color: var(--fck-muted); }
.fck-top h2 { margin: 2px 0 4px; font-size: 22px; font-weight: 800; }
.fck-sub { font-size: 13px; color: var(--fck-muted); }
.fck-side { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.fck-tally, .fck-state { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.fck-pill { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.fck-pill.is-red { background: #fde8e6; color: #a3261b; } .fck-pill.is-amber { background: #fdf0d9; color: #8a4a06; }
.fck-pill.is-green { background: #e3f4e8; color: #166534; } .fck-pill.is-na { background: #eceff3; color: var(--fck-muted); }
.fck-pill.is-unknown { background: #e6e9f5; color: #3b4a8c; }
.fck-short { margin: 0 0 14px; max-width: 900px; }
.fck-card { background: #fff; border: 1px solid var(--fck-line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.fck-card > header { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 12px 18px;
    border-bottom: 1px solid var(--fck-line); }
.fck-card h3 { margin: 0; font-size: 17px; font-weight: 800; }
.fck-row { display: grid; grid-template-columns: 130px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 6px 20px; padding: 13px 18px;
    border-top: 1px solid #eef2f6; align-items: start; }
.fck-row.fck-head { background: var(--fck-soft); border-top: 0; padding-top: 9px; padding-bottom: 9px; font-size: 12px; font-weight: 800;
    letter-spacing: .03em; text-transform: uppercase; }
.fck-row small, .fck-line small { display: block; font-size: 12px; color: var(--fck-muted); margin-top: 3px; }
.fck-q { font-weight: 700; } .fck-q small { font-weight: 400; }
.fck-rule { color: var(--fck-muted); font-size: 13px; }
.fck-empty { padding: 16px 18px; color: var(--fck-muted); }
.fck-fixes { margin: 0; padding: 6px 18px 12px 40px; } .fck-fixes li { padding: 6px 0; } .fck-fixes small { color: var(--fck-muted); margin-left: 8px; }
.fck-fold { background: #fff; border: 1px solid var(--fck-line); border-radius: 12px; margin-bottom: 10px; }
.fck-fold > summary { cursor: pointer; padding: 11px 18px; font-weight: 700; }
.fck-fold > summary b { color: var(--fck-muted); font-weight: 600; margin-left: 4px; }
.fck-line { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr); gap: 4px 20px; padding: 9px 18px; border-top: 1px solid #eef2f6; }
.fck-line small { margin-top: 0; }
.fck-line > span:only-child { grid-column: 1 / -1; }
@media (max-width: 900px) { .fck-row { grid-template-columns: 110px minmax(0, 1fr); } .fck-row.fck-head { display: none; }
    .fck-row > :nth-child(n+3) { grid-column: 2; } .fck-side { align-items: flex-start; } .fck-tally, .fck-state { justify-content: flex-start; }
    .fck-line { grid-template-columns: 50px minmax(0, 1fr); } .fck-line > :nth-child(3) { grid-column: 2; } }
/* tabs: Overview · File checks · Policy documents · Checks register (0.7) */
.fch-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--fch-line); margin-bottom: 18px; }
.fch-tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 10px 16px;
    font-size: 15px; font-weight: 700; color: var(--fch-muted); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.fch-tab:hover, .fch-tab:focus { color: var(--fch-ink); text-decoration: none; }
.fch-tab:focus-visible, .fch-chip:focus-visible { outline: 2px solid var(--fch-blue); outline-offset: 2px; }
.fch-tab-on { color: var(--fch-blue); border-bottom-color: var(--fch-blue); }
.fch-tab-n { background: #fde8e6; color: #a3261b; border-radius: 10px; padding: 1px 8px; font-size: 12px; }
.fch-filters { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 16px; }
.fch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fch-chip { appearance: none; background: #fff; border: 1px solid #cfd8e2; border-radius: 18px; padding: 6px 14px; font-size: 13px; font-weight: 600;
    color: var(--fch-ink); cursor: pointer; min-height: 34px; }
.fch-chip span { color: var(--fch-muted); font-weight: 700; margin-left: 2px; }
.fch-chip-on { background: var(--fch-blue); border-color: var(--fch-blue); color: #fff; } .fch-chip-on span { color: #fff; }
.fch-tiles-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1200px) { .fch-tiles-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .fch-tiles-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fch-card-find { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; }
.fch-card-find input { max-width: 340px; min-height: 38px; }
.fch-pill-blue { background: #e1eefb; color: #0b4f86; } .fch-pill-violet { background: #ece8fb; color: #4a3a94; }
.fch-packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
@media (max-width: 900px) { .fch-packs { grid-template-columns: minmax(0, 1fr); } }
.fch-pack { padding: 14px 16px; border-top: 1px solid #eef2f6; }
.fch-pack h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.fch-pack ul { margin: 0 0 12px; padding-left: 18px; font-size: 13px; }

/* "82% in order" beside the colours on a check's page */
.fck-pill.is-pct { background: #eef2f7; color: #26384d; font-weight: 600; }
