/* Claims in the client portal (feos:portal-claims; docs/modules/claims.md 8). The page takes the Guides' look
   (feos-guides.css: .feos-g-*, the free will's .feos-fw-* steps and fields); here only what a claim adds. */
.feos-cl .feos-g-btn.is-line:hover { color: var(--g); }
.feos-cl-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feos-cl-kind { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 15px; border-radius: 12px; font: inherit;
    border: 1px solid var(--g-line); background: #fff; color: var(--g-ink); cursor: pointer; }
.feos-cl-kind:hover, .feos-cl-kind:focus-visible { border-color: var(--g); background: var(--g-soft); }
.feos-cl-kind > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feos-cl-kind strong { font-size: 15.5px; }
.feos-cl-kind small { font-size: 13.5px; line-height: 1.45; color: var(--g-muted); }
.feos-cl-kind em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--g); }
.feos-cl-kind-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--g-soft); color: var(--g);
    display: flex; align-items: center; justify-content: center; font-size: 17px; }

.feos-cl-claim { border: 1px solid var(--g-line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.feos-cl-claim.is-open { border-left: 4px solid var(--g); }
.feos-cl-claim p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #33485c; }
.feos-cl-claim-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; align-items: baseline; }
.feos-cl-update { padding: 9px 12px; border-radius: 10px; background: var(--g-soft); }

.feos-cl-item { border: 1px solid #dce5ee; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.feos-cl-item.is-done { border-left: 4px solid var(--g); }
.feos-cl-item.is-missing { border-color: #c0392b; border-left: 4px solid #c0392b; background: #fff8f7; }
.feos-cl-need { margin: 0; color: #c0392b; font-weight: 600; font-size: 14px; }
.feos-cl-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px !important; }
.feos-cl-links .feos-g-btn { font-size: 14px; padding: 6px 12px; }
.feos-cl-label { margin: 0; font-size: 15px; font-weight: 800; }
.feos-cl-help { font-size: 13.5px; line-height: 1.45; color: var(--g-muted); }
.feos-cl-item input[type="text"], .feos-cl-item input[type="date"], .feos-cl-item textarea {
    font: inherit; font-weight: 400; padding: 9px 11px; border: 1px solid #b9cadb; border-radius: 8px; max-width: 100%; }
.feos-cl-item input[type="date"] { max-width: 220px; }
.feos-cl-item input:disabled, .feos-cl-item textarea:disabled { background: #f2f5f8; color: #8193a5; }
.feos-cl-cantrow { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.feos-cl-cantrow .feos-fw-tick { font-size: 13.5px; color: #4a5d70; }
.feos-cl-files { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.feos-cl-files li { display: flex; align-items: center; gap: 8px; }
.feos-cl-pick { align-self: flex-start; cursor: pointer; margin: 0; }
.feos-cl-doc { font-size: 14px; line-height: 1.5; background: #f6f9fc; border-radius: 10px; padding: 8px 12px; }
.feos-cl-doc summary { font-weight: 700; color: var(--g); cursor: pointer; }
.feos-cl-doc ol { margin: 6px 0; padding-left: 20px; }
.feos-cl-doc p { margin: 4px 0 0; color: #33485c; }

@media (max-width: 900px) {
    .feos-cl-kinds { grid-template-columns: minmax(0, 1fr); }
}

/* 0.5 (claims.md 10): the camera next to the file picker; what the claims team asked for */
.feos-cl-picks { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.feos-cl-camera { display: none; }
@media (pointer: coarse) { .feos-cl-camera { display: inline-flex; } }
.feos-cl-asked { margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid #f0b429; background: #fff8e6; }
.feos-cl-asked strong .fas { color: #c07a00; margin-right: 4px; }
.feos-cl-asked ul { margin: 6px 0 10px 18px; padding: 0; }

/* the claims team's panel "Documents, requests and checks" (feos:views/claim/work-panel) */
.feos-cw-card { border: 1px solid #e1e7ee; border-radius: 8px; margin-bottom: 10px; background: #fff; }
.feos-cw-card > summary { cursor: pointer; padding: 10px 14px; list-style: none; }
.feos-cw-card > summary::-webkit-details-marker { display: none; }
.feos-cw-card > summary::before { content: '\25B8'; display: inline-block; width: 16px; color: #5b6875; }
.feos-cw-card[open] > summary::before { content: '\25BE'; }
.feos-cw-body { padding: 0 14px 12px; }
.feos-cw-body h5 { margin: 16px 0 6px; font-weight: 600; }
.feos-cw-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.feos-cw-row .form-control { width: auto; min-width: 160px; flex: 1 1 160px; }
.feos-cw-files { margin: 4px 0 0 0; padding-left: 18px; }
.feos-cw-files a.btn { margin: 0 4px 4px 0; }
p.feos-cw-files a.btn { margin: 0 6px 6px 0; }
.feos-cw-item { padding: 8px 0; border-bottom: 1px solid #f0f3f6; }
.feos-cw-summary { padding: 10px 12px; border-radius: 8px; background: #f3f7fb; }
.feos-cw-warn { padding: 4px 0; }
.feos-cw-warn.is-red { color: #8a1c1c; }
.feos-cw-rel td { background: #fff8e6; }
.feos-cw-ticks { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0; }
.feos-cw-ticks label { font-weight: normal; }
.feos-cw-hit { padding: 6px 0; border-bottom: 1px dashed #e1e7ee; }
.feos-cw-hit mark { background: #ffe58a; padding: 0 1px; }

/* Service → Claims Hub (#FeosClaimsHub; feos:views/claims-hub — Peter, 25 Oct 2026) */
.fch { --fch-navy: #0f1e33; --fch-text: #16202e; --fch-muted: #5b6676; --fch-line: #e3e8ef;
    color: var(--fch-text); max-width: 1440px; margin: 0 auto; padding: 4px 0 40px; }
.fch-pad { padding: 24px 4px; color: var(--fch-muted); }
.fch-muted { color: var(--fch-muted); }
.fch-head { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; margin: 6px 0 16px; }
.fch-head h1 { margin: 0 0 4px; font-size: 26px; font-weight: 700; color: var(--fch-navy); }
.fch-head p { margin: 0; color: var(--fch-muted); font-size: 13.5px; max-width: 720px; }
.fch-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.fch-tile { text-align: left; background: #fff; border: 1px solid var(--fch-line); border-top: 4px solid #c8d0db;
    border-radius: 14px; padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; min-height: 88px; }
.fch-tile:hover { box-shadow: 0 4px 14px rgba(15, 30, 51, .08); }
.fch-tile.is-on { box-shadow: 0 0 0 2px var(--fch-navy); }
.fch-tile-n { font-size: 30px; font-weight: 700; line-height: 1.1; }
.fch-tile-l { font-size: 13px; font-weight: 600; color: var(--fch-muted); }
.fch-tile.is-new { border-top-color: #1d4f91; } .fch-tile.is-new .fch-tile-n { color: #1d4f91; }
.fch-tile.is-client { border-top-color: #e0a100; } .fch-tile.is-client .fch-tile-n { color: #7a4a00; }
.fch-tile.is-chase { border-top-color: #b42318; } .fch-tile.is-chase .fch-tile-n { color: #9b1c12; }
.fch-tile.is-nd { border-top-color: #7a1f9b; } .fch-tile.is-nd .fch-tile-n { color: #6a1b86; }
.fch-tile.is-insurer { border-top-color: #0b6b3a; } .fch-tile.is-insurer .fch-tile-n { color: #0b6b3a; }
.fch-tile.is-started { border-top-color: #4a5565; }
.fch-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
.fch-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.fch-chip { border: 1px solid #d5dce6; background: #fff; color: var(--fch-text); border-radius: 99px; padding: 6px 14px;
    font-size: 13px; font-weight: 600; cursor: pointer; }
.fch-chip span { color: var(--fch-muted); font-weight: 400; }
.fch-chip.is-on { background: var(--fch-navy); border-color: var(--fch-navy); color: #fff; }
.fch-chip.is-on span { color: #cfd8e6; }
.fch-sep { width: 1px; height: 22px; background: var(--fch-line); margin: 0 4px; }
.fch-search { max-width: 320px; }
.fch-list { transition: opacity .15s; }
.fch-list.is-loading { opacity: .5; }
.fch-empty { background: #fff; border: 1px dashed #d5dce6; border-radius: 14px; padding: 28px; text-align: center; color: var(--fch-muted); }
.fch-table-wrap { background: #fff; border: 1px solid var(--fch-line); border-radius: 14px; overflow-x: auto; }
.fch-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.fch-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--fch-muted);
    padding: 10px 12px; border-bottom: 1px solid var(--fch-line); white-space: nowrap; }
.fch-table td { padding: 9px 12px; border-bottom: 1px solid #f0f2f6; vertical-align: top; }
.fch-table tbody tr { cursor: pointer; }
.fch-table tbody tr:hover { background: #f7f9fc; }
.fch-table tr.is-closed td { color: var(--fch-muted); }
.fch-no { font-weight: 700; white-space: nowrap; }
.fch-src { display: block; font-size: 11px; color: var(--fch-muted); }
.fch-src.is-portal { color: #1d4f91; }
.fch-sub { display: block; font-size: 12px; color: var(--fch-muted); }
.fch-state { white-space: nowrap; }
.fch-date { white-space: nowrap; }
.fch-date.is-late { color: #b42318; font-weight: 700; }
.fch-date.is-today { color: #b45309; font-weight: 700; }
.fch-flags { white-space: nowrap; }
.fch-flag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: #eef0f3;
    color: #4a5565; margin: 0 4px 2px 0; }
.fch-flag.is-new { background: #e6effb; color: #1d4f91; }
.fch-flag.is-client { background: #fff2d9; color: #7a4a00; }
.fch-flag.is-nd { background: #f4e3fa; color: #6a1b86; }
.fch-flag.is-done { background: #e2f5ea; color: #0b6b3a; }
.fch-flag.is-read { background: #eef6ff; color: #1d4f91; }
.fch-foot { display: flex; gap: 12px; align-items: center; justify-content: flex-end; padding: 10px 4px; color: var(--fch-muted); font-size: 12.5px; }
/* quick filters over the columns and sorting by the titles (Peter, 26 Oct 2026) */
.fch-sort { border: 0; background: none; padding: 0; font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit;
    cursor: pointer; white-space: nowrap; }
.fch-sort:hover, .fch-table th.is-sorted .fch-sort { color: var(--fch-navy); }
.fch-arrow { font-size: 10px; }
.fch-table tr.fch-filters th { padding: 6px 8px 8px; background: #f7f9fc; text-transform: none; letter-spacing: 0; font-weight: 400; }
.fch-filters .form-control { min-width: 96px; height: 28px; padding: 3px 6px; font-size: 12.5px; border-radius: 6px; }
.fch-filters .form-control + .form-control { margin-top: 4px; }
.fch-filters .form-control.is-set { border-color: var(--fch-navy); box-shadow: 0 0 0 1px var(--fch-navy); }
.fch-table tr.fch-none td { text-align: center; color: var(--fch-muted); padding: 24px; cursor: default; }
.fch-foot .btn-link { margin-right: auto; padding-left: 0; }
/* a claim's History and notes, newest first */
.feos-claim-history { display: flex; flex-direction: column; gap: 8px; max-height: 640px; overflow-y: auto; }
.feos-ch-entry { border-left: 3px solid #d5dce6; padding: 2px 0 2px 10px; }
.feos-ch-entry:first-child { border-left-color: #0f1e33; }
.feos-ch-head { font-weight: 700; font-size: 12.5px; color: #0f1e33; }
.feos-ch-text { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 1100px) { .fch-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fch-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fch-head { flex-wrap: wrap; } }
