/* Farhetna Checklists — Quiet Luxury UI revision 2026.10.03.2 — restrained, readable, and independent of the theme. */
.fhcl-shell { max-width: 980px; margin: 0 auto; padding: 36px 20px 60px; font-family: Almarai,Tahoma,Arial,sans-serif; color: #2D2C2C; }
.fhcl-page { background: #fff; }
.fhcl-page-head { margin-bottom: 24px; }
.fhcl-page-head h1 { color: #003070; font-size: clamp(30px,4vw,46px); line-height: 1.45; margin: 14px 0; }
.fhcl-page-head p { font-size: 17px; line-height: 1.8; max-width: 760px; }
.fhcl-back { color: #003070; font-weight: 700; text-decoration: none; }
.fhcl-card { box-sizing: border-box; background: #fff; border: 1px solid #E4DED4; border-top: 3px solid #DDAA5B; border-radius: 20px; padding: 28px; box-shadow: 0 8px 28px rgba(0,48,112,.045); margin: 28px 0; font-family: Almarai,Tahoma,Arial,sans-serif; }
.fhcl-card header h2 { color: #003070; font-size: clamp(22px,2.6vw,28px); line-height: 1.55; margin: 0 0 10px; }
.fhcl-card header p { color: #2D2C2C; line-height: 1.8; margin: 0 0 18px; }
.fhcl-badge { font-size: 12px; font-weight: 700; color: #596574; }
.fhcl-items { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 0; }
.fhcl-items li { border: 0; border-bottom: 1px solid #ECE6DC; border-radius: 0; background: #fff; }
.fhcl-items li:last-child { border-bottom: 0; }
.fhcl-items label { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; min-height: 48px; box-sizing: border-box; cursor: pointer; line-height: 1.8; }
.fhcl-items input { width: 21px; height: 21px; margin: 3px 0 0; accent-color: #003070; flex: 0 0 auto; }
.fhcl-card[data-fhcl-config] .fhcl-items label, .fhcl-card[data-fhcl-config] .fhcl-items label span { color: #2D2C2C; }
.fhcl-card[data-fhcl-config] .fhcl-items input:checked + span { text-decoration: line-through; opacity: 1; color: #595959; }
.fhcl-card footer { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fhcl-card .fhcl-save-form { margin: 0; }
.fhcl-btn { appearance: none; box-sizing: border-box; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid #C5CFDB; border-radius: 999px; background: #fff; color: #003070; font: 700 14px/1.4 Almarai,Tahoma,Arial,sans-serif; text-decoration: none; cursor: pointer; box-shadow: none; }
/* Explicit states retain the production contrast fixes, including WebKit. */
.fhcl-card[data-fhcl-config] .fhcl-btn { --fhcl-ink: #003070; --fhcl-bg: #fff; color: var(--fhcl-ink) !important; -webkit-text-fill-color: var(--fhcl-ink) !important; background: var(--fhcl-bg) !important; border-color: #C5CFDB !important; opacity: 1; box-shadow: none; }
.fhcl-card[data-fhcl-config] .fhcl-primary { --fhcl-ink: #fff; --fhcl-bg: #003070; border-color: #003070 !important; }
.fhcl-card[data-fhcl-config] .fhcl-btn:hover, .fhcl-card[data-fhcl-config] .fhcl-btn:focus-visible, .fhcl-card[data-fhcl-config] .fhcl-btn:active { --fhcl-ink: #003070; --fhcl-bg: #DDAA5B; border-color: #DDAA5B !important; }
.fhcl-card[data-fhcl-config] .fhcl-btn span { color: inherit !important; -webkit-text-fill-color: inherit !important; }
.fhcl-card[data-fhcl-config] .fhcl-btn:disabled { opacity: .65; cursor: wait; }
.fhcl-btn:focus-visible, .fhcl-more:focus-visible, .fhcl-back:focus-visible, .fhcl-items input:focus-visible, .fhcl-note-text textarea:focus-visible { outline: 3px solid #003070; outline-offset: 3px; }
.fhcl-more { color: #003070; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.fhcl-card .fhcl-more { min-height: 48px; display: inline-flex; align-items: center; }
.fhcl-status { width: 100%; min-height: 1.4em; margin: 4px 0 0; color: #2D2C2C; }
.fhcl-compact { padding: 22px; border-radius: 18px; }
.fhcl-compact .fhcl-items { max-height: 260px; overflow: auto; }
.fhcl-listing-section, .fhcl-favorites { margin-block: 28px; }
.fhcl-listing-section > h2, .fhcl-favorites > h2 { color: #003070; }
.fhcl-saved .fhcl-remove-form { margin: -12px 0 32px; }
.fhcl-saved > nav { display: flex; gap: 8px; flex-wrap: wrap; }
.fhcl-card .fhcl-note-text { display: grid; width: 100%; gap: 12px; color: #2D2C2C !important; }
.fhcl-note-text textarea { width: 100%; box-sizing: border-box; min-height: 220px; font: 16px/1.8 Almarai,Tahoma,Arial,sans-serif; border: 1px solid #C5CFDB; border-radius: 10px; padding: 14px; resize: vertical; color: #2D2C2C; background: #fff; }
@media (max-width: 600px) {
  .fhcl-card { padding: 22px 18px; border-radius: 18px; }
  .fhcl-card footer { align-items: stretch; }
  .fhcl-btn { width: 100%; text-align: center; }
  .fhcl-more { padding: 8px 0; }
  .fhcl-shell { padding: 28px 14px 48px; }
}
