/*
 * FF Coach Hub v1.0.44.0
 * Gutenberg-inspired coach-facing presentation layer.
 */
.ffch-wrap {
    --ffch-ui-canvas: #f6f7f7;
    --ffch-ui-surface: #ffffff;
    --ffch-ui-border: #dcdcde;
    --ffch-ui-border-strong: #a7aaad;
    --ffch-ui-text: #1e1e1e;
    --ffch-ui-text-muted: #646970;
    --ffch-ui-primary: #3858e9;
    --ffch-ui-primary-hover: #2145e6;
    --ffch-ui-primary-soft: #eef1ff;
    --ffch-ui-focus: rgba(56, 88, 233, .25);
    --ffch-ui-success-soft: #edfaef;
    --ffch-ui-warning-soft: #fff8e5;
    --ffch-ui-danger-soft: #fff0f0;
    --ffch-ui-radius-sm: 4px;
    --ffch-ui-radius: 8px;
    --ffch-ui-radius-lg: 12px;
    --ffch-ui-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .045);
    max-width: 1180px;
    color: var(--ffch-ui-text);
    font-size: 16px;
    line-height: 1.55;
}
.ffch-wrap h1,
.ffch-wrap h2,
.ffch-wrap h3,
.ffch-wrap h4 {
    color: var(--ffch-ui-text);
    line-height: 1.25;
    letter-spacing: -.015em;
}
.ffch-wrap h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
}
.ffch-wrap h2 {
    font-size: clamp(21px, 2.7vw, 27px);
    font-weight: 600;
}
.ffch-wrap h3 {
    font-size: 18px;
    font-weight: 600;
}
.ffch-muted,
.ffch-wrap small {
    color: var(--ffch-ui-text-muted);
}

/* Navigation */
.ffch-coach-nav {
    border: 1px solid var(--ffch-ui-border);
    border-radius: var(--ffch-ui-radius-lg);
    background: #fff;
    box-shadow: var(--ffch-ui-shadow);
}
.ffch-coach-nav-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    color: var(--ffch-ui-text);
    font-size: 18px;
    font-weight: 600;
}
.ffch-coach-nav-logout {
    margin-left: auto;
    border-color: var(--ffch-ui-border-strong);
    border-radius: var(--ffch-ui-radius-sm);
    background: #fff;
    color: var(--ffch-ui-primary);
}
.ffch-coach-nav-link {
    min-height: 46px;
    border: 1px solid var(--ffch-ui-border);
    border-radius: var(--ffch-ui-radius-sm);
    background: #fff;
    color: var(--ffch-ui-text);
    font-weight: 600;
    transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}
.ffch-coach-nav-link:hover,
.ffch-coach-nav-link.is-active {
    border-color: var(--ffch-ui-primary);
    background: var(--ffch-ui-primary);
    color: #fff;
}
.ffch-coach-nav-link:focus-visible,
.ffch-coach-nav-logout:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px var(--ffch-ui-focus);
}

/* Cards and page sections */
.ffch-card,
.ffch-hero,
.ffch-policy-document,
.ffch-agreement-box,
.ffch-shadow-another-card {
    border: 1px solid var(--ffch-ui-border);
    border-radius: var(--ffch-ui-radius-lg);
    background: var(--ffch-ui-surface);
    box-shadow: var(--ffch-ui-shadow);
}
.ffch-card,
.ffch-hero {
    padding: clamp(18px, 3vw, 28px);
}
.ffch-card > h2:first-child,
.ffch-card > h3:first-child {
    margin-top: 0;
}
.ffch-link-card {
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.ffch-link-card:hover {
    border-color: var(--ffch-ui-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .06), 0 12px 28px rgba(0, 0, 0, .065);
    transform: translateY(-1px);
}
.ffch-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f3f5ff 100%);
}

/* Buttons */
.ffch-button,
.ffch-inline-form .button {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--ffch-ui-primary);
    border-radius: var(--ffch-ui-radius-sm);
    background: var(--ffch-ui-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: none;
    text-align: center;
    transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.ffch-button:hover,
.ffch-button:focus {
    border-color: var(--ffch-ui-primary-hover);
    background: var(--ffch-ui-primary-hover);
    color: #fff;
    filter: none;
}
.ffch-button-secondary,
.ffch-inline-form .button {
    border-color: var(--ffch-ui-border-strong);
    background: #fff;
    color: var(--ffch-ui-primary);
}
.ffch-button-secondary:hover,
.ffch-inline-form .button:hover {
    border-color: var(--ffch-ui-primary);
    background: var(--ffch-ui-primary-soft);
    color: var(--ffch-ui-primary-hover);
}
.ffch-button:focus-visible,
.ffch-inline-form .button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px var(--ffch-ui-focus);
}

/* Forms */
.ffch-form label {
    color: var(--ffch-ui-text);
    font-weight: 600;
}
.ffch-form input,
.ffch-form select,
.ffch-form textarea,
.ffch-shadow-public-form input,
.ffch-shadow-public-form select,
.ffch-shadow-public-form textarea {
    min-height: 44px;
    border: 1px solid var(--ffch-ui-border-strong);
    border-radius: var(--ffch-ui-radius-sm);
    background: #fff;
    color: var(--ffch-ui-text);
    box-shadow: none;
}
.ffch-form textarea,
.ffch-shadow-public-form textarea {
    min-height: 120px;
    padding: 10px 12px;
}
.ffch-form input:hover,
.ffch-form select:hover,
.ffch-form textarea:hover,
.ffch-shadow-public-form input:hover,
.ffch-shadow-public-form select:hover,
.ffch-shadow-public-form textarea:hover {
    border-color: #757575;
}
.ffch-form input:focus,
.ffch-form select:focus,
.ffch-form textarea:focus,
.ffch-shadow-public-form input:focus,
.ffch-shadow-public-form select:focus,
.ffch-shadow-public-form textarea:focus {
    border-color: var(--ffch-ui-primary);
    outline: 0;
    box-shadow: 0 0 0 3px var(--ffch-ui-focus);
}
.ffch-form label.ffch-check,
.ffch-security-check {
    border-radius: var(--ffch-ui-radius);
}
.ffch-form label.ffch-check input[type="checkbox"],
.ffch-security-check input[type="checkbox"] {
    accent-color: var(--ffch-ui-primary);
}

/* Tables */
.ffch-table-scroll {
    border: 1px solid var(--ffch-ui-border);
    border-radius: var(--ffch-ui-radius);
    background: #fff;
}
.ffch-table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}
.ffch-table th {
    padding: 12px 11px;
    border-bottom: 1px solid var(--ffch-ui-border-strong);
    background: #fff;
    color: var(--ffch-ui-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ffch-table td {
    padding: 12px 11px;
    border-bottom: 1px solid #ededed;
    background: #fff;
}
.ffch-table tbody tr:last-child td {
    border-bottom: 0;
}
.ffch-table tbody tr:hover td {
    background: #f7f8ff;
}

/* Statuses, warnings and progress */
.ffch-badge {
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 600;
}
.ffch-badge-green {
    background: var(--ffch-ui-success-soft);
    color: #006b19;
}
.ffch-badge-amber,
.ffch-badge-amber-light {
    background: var(--ffch-ui-warning-soft);
    color: #7a5200;
}
.ffch-badge-red {
    background: var(--ffch-ui-danger-soft);
    color: #9f1111;
}
.ffch-badge-grey {
    background: #f0f0f1;
    color: var(--ffch-ui-text-muted);
}
.ffch-alert,
.ffch-warning-card {
    border: 1px solid transparent;
    border-left-width: 4px;
    border-radius: var(--ffch-ui-radius);
}
.ffch-alert-success {
    border-color: #65b875;
    background: var(--ffch-ui-success-soft);
}
.ffch-alert-error {
    border-color: #df7777;
    background: var(--ffch-ui-danger-soft);
}
.ffch-warning-card {
    border-color: #dba617;
    background: var(--ffch-ui-warning-soft);
}
.ffch-progress {
    height: 10px;
    background: #e0e0e0;
}
.ffch-progress span {
    background: var(--ffch-ui-primary);
}

/* Security and secure review */
.ffch-security-meta span,
.ffch-shadow-review-detail,
.ffch-security-check {
    border: 1px solid var(--ffch-ui-border);
    border-radius: var(--ffch-ui-radius);
    background: #fafafa;
}
.ffch-security-progress {
    border-color: #b9c4ff;
    border-radius: var(--ffch-ui-radius);
    background: #f3f5ff;
    box-shadow: var(--ffch-ui-shadow);
}
.ffch-security-overall {
    border-color: var(--ffch-ui-primary);
    border-radius: var(--ffch-ui-radius);
    background: #f5f7ff;
}
.ffch-security-submit {
    border-color: var(--ffch-ui-border);
    border-radius: var(--ffch-ui-radius);
    box-shadow: 0 -3px 18px rgba(0, 0, 0, .08);
}
.ffch-policy-document,
.ffch-agreement-box {
    box-shadow: none;
}
.ffch-shadow-another-card {
    border-color: #e5c15d;
    background: #fffaf0;
    box-shadow: none;
}

/* Messages */
.ffch-message {
    border-radius: var(--ffch-ui-radius-lg);
    box-shadow: none;
}
.ffch-message-admin {
    border-color: #b9c4ff;
    background: #f4f6ff;
}
.ffch-message-coach {
    border-color: var(--ffch-ui-border);
    background: #fafafa;
}

@media (max-width: 820px) {
    .ffch-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }
    .ffch-coach-nav {
        border-radius: 0 0 var(--ffch-ui-radius-lg) var(--ffch-ui-radius-lg);
    }
    .ffch-coach-nav-link {
        border-radius: var(--ffch-ui-radius-sm);
    }
    .ffch-card,
    .ffch-hero {
        padding: 18px;
        border-radius: var(--ffch-ui-radius);
    }
    .ffch-form input,
    .ffch-form select,
    .ffch-form textarea {
        font-size: 16px;
    }
    .ffch-button {
        min-height: 46px;
        padding: 12px 16px;
    }
}
@media (max-width: 420px) {
    .ffch-coach-nav-link {
        justify-content: flex-start;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ffch-link-card,
    .ffch-button,
    .ffch-coach-nav-link {
        transition: none;
    }
}

/* v1.0.44.5.49 — DBS Smart Prefill */
.ffch-dbs-smart-help { margin-top: 8px; }
.ffch-dbs-smart-status {
    margin: 10px 0;
    padding: 12px 14px;
    border: 1px solid var(--ffch-ui-border);
    border-radius: var(--ffch-ui-radius-sm);
    background: #fff;
    color: var(--ffch-ui-text);
    line-height: 1.45;
}
.ffch-dbs-smart-status.is-working { border-color: #b9c4ff; background: #f4f6ff; }
.ffch-dbs-smart-status.is-success { border-color: #b7e4c7; background: #f0fff4; }
.ffch-dbs-smart-status.is-warning { border-color: #f0d58b; background: #fff8e5; }
.ffch-dbs-smart-status-fields { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 7px; }
.ffch-dbs-smart-status-fields span { font-size: 13px; }
.ffch-dbs-smart-status small { display: block; margin-top: 7px; color: var(--ffch-ui-text-muted); }

/* v1.0.44.5.58 — shared Smart Certificate Scan helper */
.ffch-upload-form .ffch-dbs-smart-help { margin-top: 8px; }

/* v1.0.44.5.60 - profile photo document guard */
.ffch-profile-photo-field{padding:14px 16px;border:1px solid #d8dee9;border-radius:12px;background:#fff;margin:12px 0}
.ffch-profile-photo-field label{display:block}
.ffch-profile-photo-instruction{display:block;margin:5px 0 10px;line-height:1.45}
.ffch-profile-photo-preview{margin:10px 0 4px}
.ffch-profile-photo-preview img{display:block;max-width:160px;max-height:160px;object-fit:cover;border:1px solid #d8dee9;border-radius:14px;background:#f6f7f7}
.ffch-profile-photo-status{margin-top:9px;padding:0;font-size:13px;line-height:1.45}
.ffch-profile-photo-status.is-checking{color:#3858e9}
.ffch-profile-photo-status.is-ok{color:#087a2e}
.ffch-profile-photo-status.is-warning{color:#8a5a00}
.ffch-profile-photo-status.is-blocked{padding:10px 12px;border:1px solid #e65054;border-radius:10px;background:#fff2f2;color:#8a2424}
.ffch-profile-photo-status.is-blocked a{font-weight:700}

/* v1.0.44.5.71 - configurable Coach Community / Dashboard Links */
.ffch-community-card{overflow:hidden}
.ffch-community-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
.ffch-community-head h3{margin:0 0 4px}
.ffch-community-head p{margin:0}
.ffch-community-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ffch-community-link{display:flex;align-items:center;gap:11px;min-height:66px;padding:12px 14px;border:1px solid #d8e4ef;border-radius:15px;background:#fff;text-decoration:none!important;box-shadow:0 1px 2px rgba(15,42,68,.04);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.ffch-community-link:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(15,42,68,.09);border-color:#a9c9e4}
.ffch-community-link.is-featured{grid-column:span 2;background:linear-gradient(135deg,#f1f9ff,#e6f4ff);border-color:#8fc6ee}
.ffch-community-mark{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#eaf4fb;color:#0d4f7a;font-size:11px;font-weight:800;letter-spacing:.02em}
.ffch-community-link--whatsapp .ffch-community-mark{background:#e8f7ef;color:#17683c}
.ffch-community-link--instagram .ffch-community-mark{background:#f7edf7;color:#7a2c73}
.ffch-community-link--facebook .ffch-community-mark{background:#edf3fb;color:#275b9b}
.ffch-community-copy{min-width:0;display:flex;flex-direction:column;gap:2px;color:#17324d}.ffch-community-copy strong{font-size:14px}.ffch-community-copy small{font-size:11px;color:#6b7f91;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ffch-community-arrow{margin-left:auto;color:#6b8aa3;font-size:17px}
@media(max-width:800px){.ffch-community-links{grid-template-columns:1fr 1fr}.ffch-community-link.is-featured{grid-column:span 2}}
@media(max-width:520px){.ffch-community-links{grid-template-columns:1fr}.ffch-community-link.is-featured{grid-column:auto}}

/* v1.0.44.5.72 — keep configurable coach links at the top of the dashboard */
.ffch-coach-community-strip{display:flex;align-items:center;gap:14px;margin-top:12px;padding-top:12px;border-top:1px solid #e5ebf2}
.ffch-coach-community-strip-copy{display:flex;flex-direction:column;gap:1px;min-width:150px;max-width:280px;color:#17324d}
.ffch-coach-community-strip-copy strong{font-size:13px;line-height:1.2}
.ffch-coach-community-strip-copy small{font-size:10px;line-height:1.3;color:#6b7f91}
.ffch-coach-community-strip-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto}
.ffch-coach-community-strip-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid #d6e0ea;border-radius:10px;background:#fff;color:#17324d;text-decoration:none!important;font-size:12px;font-weight:750;line-height:1;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.ffch-coach-community-strip-link:hover{border-color:#93bad8;box-shadow:0 3px 10px rgba(15,42,68,.08);transform:translateY(-1px)}
.ffch-coach-community-strip-link.is-featured{background:#3857ee;border-color:#3857ee;color:#fff}
/* v1.0.44.5.155 - use WhatsApp brand green for the featured Coaches WhatsApp Group button */
.ffch-coach-community-strip-link--whatsapp.is-featured{background:#25D366;border-color:#25D366;color:#fff}
.ffch-coach-community-strip-link--whatsapp.is-featured:hover{background:#20bd5a;border-color:#20bd5a;color:#fff}
.ffch-coach-community-strip-mark{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#eaf4fb;color:#0d4f7a;font-size:8px;font-weight:900;letter-spacing:.02em}
.ffch-coach-community-strip-link.is-featured .ffch-coach-community-strip-mark{background:rgba(255,255,255,.18);color:#fff}
.ffch-coach-community-strip-link--whatsapp:not(.is-featured) .ffch-coach-community-strip-mark{background:#e8f7ef;color:#17683c}
.ffch-coach-community-strip-link--instagram:not(.is-featured) .ffch-coach-community-strip-mark{background:#f7edf7;color:#7a2c73}
.ffch-coach-community-strip-link--facebook:not(.is-featured) .ffch-coach-community-strip-mark{background:#edf3fb;color:#275b9b}
.ffch-coach-community-strip-arrow{font-size:12px;opacity:.72}
@media(max-width:760px){.ffch-coach-community-strip{align-items:flex-start;flex-direction:column;gap:8px}.ffch-coach-community-strip-copy{max-width:none;min-width:0}.ffch-coach-community-strip-links{width:100%;margin-left:0;justify-content:flex-start}.ffch-coach-community-strip-link{flex:1 1 calc(50% - 8px)}}
@media(max-width:430px){.ffch-coach-community-strip-link{flex-basis:100%}}


/* v1.0.44.5.73 - clearer coach document upload controls */
@media (min-width: 821px) {
  .ffch-upload-form .ffch-grid-4 {
    grid-template-columns: minmax(260px, 1.25fr) minmax(180px, .9fr) minmax(180px, .9fr) minmax(260px, 1.25fr);
    align-items: end;
  }
}
.ffch-upload-form .ffch-document-type {
  min-height: 56px;
  padding: 0 44px 0 16px;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
  border-radius: 12px;
  background-color: #fff;
}
.ffch-upload-form .ffch-grid-4 > label {
  min-width: 0;
}


/* v1.0.44.5.74 - balanced coach My Documents upload workspace */
.ffch-upload-form {
  margin: 18px 0 30px;
  padding: 18px;
  border: 1px solid #dfe6ee;
  border-radius: 16px;
  background: #fbfcfe;
}
.ffch-upload-form .ffch-grid-4 {
  gap: 14px 18px;
}
@media (min-width: 821px) {
  .ffch-upload-form .ffch-grid-4 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
  }
  .ffch-upload-form .ffch-grid-4 > label:nth-child(1) { grid-column: 1; grid-row: 1; }
  .ffch-upload-form .ffch-grid-4 > label:nth-child(4) { grid-column: 2; grid-row: 1; }
  .ffch-upload-form .ffch-grid-4 > label:nth-child(2) { grid-column: 1; grid-row: 2; }
  .ffch-upload-form .ffch-grid-4 > label:nth-child(3) { grid-column: 2; grid-row: 2; }
}
.ffch-upload-form .ffch-grid-4 > label {
  margin: 0;
  min-width: 0;
  color: #243244;
  font-size: 14px;
  font-weight: 750;
}
.ffch-upload-form .ffch-document-type,
.ffch-upload-form input[type="date"],
.ffch-upload-form input[type="file"] {
  min-height: 52px;
  margin-top: 7px;
  border-radius: 11px;
  border-color: #cfd8e3;
  background: #fff;
  font-size: 15px;
}
.ffch-upload-form .ffch-document-type {
  height: 52px;
  padding: 0 42px 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.ffch-upload-form input[type="file"] {
  padding: 6px 8px;
  line-height: 1.2;
}
.ffch-upload-form input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 10px;
  padding: 8px 13px;
  border: 1px solid #c8d2de;
  border-radius: 9px;
  background: #f5f7fa;
  color: #17324d;
  font-weight: 700;
  cursor: pointer;
}
.ffch-upload-form input[type="file"]::file-selector-button:hover {
  background: #eef3f8;
}
.ffch-upload-form .ffch-dbs-no-expiry-help {
  display: block;
  margin-top: 7px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f1f6fb;
  color: #53697c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.ffch-upload-form .ffch-dbs-no-expiry-help[hidden] {
  display: none !important;
}
.ffch-upload-form .ffch-document-date-help,
.ffch-upload-form .ffch-dbs-smart-help {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #e1e8ef;
  border-radius: 11px;
  background: #fff;
  color: #607184;
  font-size: 13px;
  line-height: 1.45;
}
.ffch-upload-form .ffch-dbs-smart-help {
  margin-top: 8px;
  background: #f6f8ff;
  border-color: #dfe4ff;
}
.ffch-upload-form > .ffch-button {
  display: block;
  min-width: 190px;
  margin: 14px 0 0 auto;
  border-radius: 11px;
}
.ffch-card > .ffch-upload-form + h3 {
  margin-top: 0;
  padding-top: 0;
}
@media (max-width: 820px) {
  .ffch-upload-form {
    padding: 14px;
    margin-bottom: 24px;
  }
  .ffch-upload-form .ffch-grid-4 {
    gap: 12px;
  }
  .ffch-upload-form > .ffch-button {
    width: 100%;
    margin-left: 0;
  }
}

/* v1.0.44.5.75 - document-type-aware My Documents upload form */
.ffch-upload-form [hidden] {
  display: none !important;
}
.ffch-upload-primary-grid,
.ffch-upload-date-grid {
  display: grid;
  gap: 14px 18px;
}
.ffch-upload-primary-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}
.ffch-upload-date-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}
.ffch-upload-form.ffch-upload-one-date .ffch-upload-date-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: calc(50% - 9px);
}
.ffch-upload-form.ffch-upload-no-dates .ffch-upload-date-grid {
  display: none;
}
.ffch-upload-primary-grid > label,
.ffch-upload-date-grid > label {
  margin: 0;
  min-width: 0;
  color: #243244;
  font-size: 14px;
  font-weight: 750;
}
.ffch-upload-form .ffch-document-date-help[hidden],
.ffch-upload-form .ffch-dbs-smart-help[hidden],
.ffch-upload-form .ffch-dbs-smart-front-status[hidden] {
  display: none !important;
}
.ffch-upload-form.ffch-upload-no-dates .ffch-document-date-help {
  display: none !important;
}
.ffch-upload-form .ffch-document-date-help {
  margin-top: 14px;
}
.ffch-upload-form .ffch-dbs-smart-help {
  margin-top: 8px;
}
@media (max-width: 820px) {
  .ffch-upload-primary-grid,
  .ffch-upload-date-grid,
  .ffch-upload-form.ffch-upload-one-date .ffch-upload-date-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* v1.0.44.5.79 - clearer coach-facing My Profile sections */
.ffch-profile-edit-section {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid var(--ffch-ui-border);
    border-radius: var(--ffch-ui-radius-lg);
    background: #fbfcff;
}
.ffch-profile-edit-section:first-of-type {
    margin-top: 14px;
}
.ffch-profile-edit-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 11px;
    margin-bottom: 5px;
    border-bottom: 1px solid #e8eaf0;
}
.ffch-profile-edit-heading h3 {
    margin: 0;
    color: var(--ffch-ui-text);
}
.ffch-profile-edit-heading p {
    margin: 0;
    color: var(--ffch-ui-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-align: right;
}
.ffch-profile-address {
    margin-top: 12px !important;
}
.ffch-profile-address textarea {
    min-height: 96px;
}
.ffch-emergency-contact-grid,
.ffch-profile-notes-grid {
    align-items: start;
}
.ffch-profile-helper {
    margin: 12px 0 6px;
    padding: 10px 12px;
    border-radius: var(--ffch-ui-radius);
    background: #f3f5ff;
    line-height: 1.45;
}
.ffch-profile-update-service {
    margin: 15px 0 2px !important;
    padding: 12px 14px;
    border: 1px solid var(--ffch-ui-border);
    background: #fff;
}
.ffch-profile-notes-grid textarea {
    min-height: 110px;
}
@media (max-width: 820px) {
    .ffch-profile-edit-section {
        padding: 15px;
    }
    .ffch-profile-edit-heading {
        display: block;
    }
    .ffch-profile-edit-heading p {
        margin-top: 4px;
        text-align: left;
    }
}


/* v1.0.44.5.80 - clearer DBS Update Service wording */
.ffch-update-service-choice {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #d8dee9;
  border-radius: 12px;
  background: #fff;
}
.ffch-update-service-choice > strong {
  display: block;
  margin-bottom: 8px;
}
.ffch-update-service-choice .ffch-check {
  margin: 0;
}
.ffch-update-service-choice .ffch-muted {
  margin: 6px 0 0;
  font-size: .92em;
}

/* v1.0.44.5.81 - centre the DBS Update Service checkbox with its wording */
.ffch-update-service-choice .ffch-check {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  line-height: 1.35 !important;
}
.ffch-update-service-choice .ffch-check input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  flex: 0 0 22px !important;
  margin: 0 !important;
  align-self: center !important;
}

/* v1.0.44.5.85 - coach-facing DBS is evidence-led and read-only */
.ffch-dbs-readonly-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid #d8dee9;
  border-left: 4px solid #9aa4b2;
  border-radius: 12px;
  background: #fff;
}
.ffch-dbs-readonly-card.is-approved { border-left-color: #2e9d50; background: #f6fff8; }
.ffch-dbs-readonly-card.is-pending { border-left-color: #d7a20c; background: #fffaf0; }
.ffch-dbs-readonly-card.is-action { border-left-color: #d63638; background: #fff7f7; }
.ffch-dbs-readonly-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ffch-dbs-readonly-copy strong { font-size: 16px; color: var(--ffch-ui-text); }
.ffch-dbs-readonly-copy span { color: var(--ffch-ui-text-muted); line-height: 1.45; }
.ffch-dbs-readonly-action { flex: 0 0 auto; white-space: nowrap; }
.ffch-dbs-readonly-note { margin: 9px 2px 0 !important; font-size: .92em; }
@media (max-width: 720px) {
  .ffch-dbs-readonly-card { align-items: stretch; flex-direction: column; }
  .ffch-dbs-readonly-action { width: 100%; text-align: center; }
}


/* v1.0.44.5.87 - optional second DBS page upload */
.ffch-document-page2-wrap {
  display: block;
  margin: 14px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--ffch-ui-border);
  border-radius: var(--ffch-ui-radius-md);
  background: #f8fbff;
  color: #243244;
  font-size: 14px;
  font-weight: 750;
}
.ffch-document-page2-wrap > span {
  display: block;
  margin-bottom: 8px;
}
.ffch-document-page2-wrap > span small {
  color: #667085;
  font-weight: 600;
}
.ffch-document-page2-wrap input[type="file"] {
  width: 100%;
}
.ffch-document-page2-help {
  display: block;
  margin-top: 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.ffch-coach-nav-account { display:inline-flex; align-items:center; justify-content:flex-end; gap:10px; margin-left:auto; }
.ffch-coach-nav-user { color:var(--ffch-ui-text-muted); font-size:14px; font-weight:600; white-space:nowrap; }
@media (max-width:520px) { .ffch-coach-nav-user { font-size:12px; max-width:150px; overflow:hidden; text-overflow:ellipsis; } }

/* v1.0.44.5.107 - global coach agreements and policies */
.ffch-coach-agreement-library{margin:18px 0 24px}.ffch-coach-agreement-library>h3{margin-bottom:4px}.ffch-agreement-document-card{display:flex;align-items:flex-start;gap:14px;margin:10px 0;padding:18px}.ffch-agreement-document-card>.dashicons{width:42px;height:42px;flex:0 0 42px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eaf4fb;color:#164e78;font-size:23px}.ffch-agreement-document-card h4{margin:0 0 4px}.ffch-agreement-document-card p{margin:5px 0}.ffch-agreement-document-card .ffch-button{margin:4px 5px 0 0;padding:9px 14px;font-size:13px}.ffch-button-secondary{background:#eef3f8;color:#17324d;border:1px solid #d4dfe9}.ffch-button-secondary:hover{color:#17324d;background:#e3ebf3}@media(max-width:820px){.ffch-agreement-document-card{padding:15px}.ffch-agreement-document-card .ffch-button{display:block;text-align:center;margin-right:0}}

/* Availability: keep dropdowns visually aligned with text/date fields. */
.ffch-availability-form .ffch-grid-4 input:not([type="checkbox"]),
.ffch-availability-form .ffch-grid-4 select {
    width: 100%;
    height: 48px !important;
    min-height: 48px !important;
    box-sizing: border-box;
    padding: 0 12px !important;
    line-height: 1.25;
}
.ffch-availability-form .ffch-grid-4 select {
    appearance: auto;
    -webkit-appearance: menulist;
}


/* Registers v2 risk assessment history */
.ffch-risk-profile-panel,.ffch-risk-page-head{position:relative}.ffch-risk-profile-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.ffch-risk-profile-head h2,.ffch-risk-page-head h2{margin:.15rem 0 .35rem}.ffch-risk-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#0874df}.ffch-risk-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800;white-space:nowrap}.ffch-risk-pill.is-clear{background:#e7f7ec;color:#176c33}.ffch-risk-pill.is-monitor{background:#fff3d8;color:#875500}.ffch-risk-pill.is-serious{background:#fde5e5;color:#9e2222}.ffch-risk-metrics{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.ffch-risk-metrics span{padding:9px 11px;border:1px solid #dce6f1;border-radius:11px;background:#f8fbff}.ffch-risk-metrics strong{font-size:18px;margin-right:4px}.ffch-risk-mini-list,.ffch-risk-full-list,.ffch-risk-audit-list{display:grid;gap:9px}.ffch-risk-mini-row,.ffch-risk-full-row,.ffch-risk-audit-list>div{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:12px;border:1px solid #dce6f1;border-radius:12px;background:#fff}.ffch-risk-mini-row>div,.ffch-risk-full-main{min-width:0}.ffch-risk-mini-row small,.ffch-risk-audit-list span,.ffch-risk-audit-list small{display:block;color:#61758c;margin-top:3px}.ffch-risk-mini-row p{margin:6px 0 0}.ffch-risk-full-row h4{margin:.2rem 0}.ffch-risk-school-flag{color:#8b2a22}.ffch-risk-audit{margin-top:14px}.ffch-risk-audit summary{cursor:pointer;font-weight:800;color:#0b3f78;margin-bottom:9px}@media(max-width:640px){.ffch-risk-profile-head,.ffch-risk-mini-row,.ffch-risk-full-row,.ffch-risk-audit-list>div{flex-direction:column}.ffch-risk-pill{white-space:normal;text-align:center}}

/* Registers v2 risk photo evidence */
.ffch-risk-evidence{margin-top:10px}.ffch-risk-evidence>span{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#61758c;margin-bottom:6px}.ffch-risk-evidence>div{display:grid;grid-template-columns:repeat(3,minmax(0,120px));gap:7px}.ffch-risk-evidence a{display:block;overflow:hidden;border:1px solid #dce6f1;border-radius:9px;background:#f8fbff;aspect-ratio:4/3}.ffch-risk-evidence img{display:block;width:100%;height:100%;object-fit:cover}.ffch-risk-evidence.is-compact>div{grid-template-columns:repeat(3,64px)}@media(max-width:640px){.ffch-risk-evidence>div{grid-template-columns:repeat(2,minmax(0,1fr))}.ffch-risk-evidence.is-compact>div{grid-template-columns:repeat(3,58px)}}

/* v1.0.44.5.151 - verified St Pauls emergency-services entry */
.ffch-emergency-services-card{border:1px solid #cfe2f3;background:linear-gradient(180deg,#fff 0%,#f8fcff 100%)}
.ffch-emergency-services-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
.ffch-emergency-services-head h2{margin:.15rem 0 .35rem;color:var(--ffch-ui-text)}
.ffch-emergency-services-head p{margin:0;max-width:760px;color:var(--ffch-ui-text-muted);line-height:1.5}
.ffch-emergency-services-kicker{display:block;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#0874df}
.ffch-emergency-verified{flex:0 0 auto;padding:6px 10px;border:1px solid #cfe2f3;border-radius:999px;background:#eef8ff;color:#275572;font-size:11px;font-weight:800;white-space:nowrap}
.ffch-emergency-actions{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:10px;margin:14px 0}
.ffch-emergency-action{display:flex;flex-direction:column;gap:3px;padding:14px 15px;border:1px solid #d8e3ed;border-radius:13px;background:#fff;color:#18364b;text-decoration:none!important;box-shadow:0 5px 16px rgba(17,54,78,.04)}
.ffch-emergency-action:hover{transform:translateY(-1px)}
.ffch-emergency-action strong{font-size:20px;line-height:1.1}
.ffch-emergency-action span{font-size:12px;line-height:1.35;color:#5f7385;font-weight:650}
.ffch-emergency-action.is-999{border-color:#edc0c0;background:#fff6f6;color:#a32020}
.ffch-emergency-action.is-111{border-color:#bddcf5;background:#f4faff;color:#0a5fa8}
.ffch-emergency-action.is-101{background:#f8fafc}
.ffch-emergency-safety-note{display:flex;flex-direction:column;gap:3px;margin:0 0 14px;padding:12px 14px;border-left:4px solid #d63638;border-radius:9px;background:#fff6f6;color:#512626}
.ffch-emergency-safety-note strong{font-size:14px}
.ffch-emergency-safety-note span{font-size:12px;line-height:1.45;color:#6f4444}
.ffch-emergency-school-list{display:grid;gap:8px}
.ffch-emergency-school{overflow:hidden;border:1px solid #dce6f1;border-radius:12px;background:#fff}
.ffch-emergency-school summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;cursor:pointer;list-style:none}
.ffch-emergency-school summary::-webkit-details-marker{display:none}
.ffch-emergency-school-summary-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.ffch-emergency-school-summary-main strong{color:#17364a;font-size:15px}
.ffch-emergency-school-summary-main small{color:#63788c;font-size:12px;line-height:1.35}
.ffch-emergency-school-chevron{flex:0 0 auto;color:#0874df;font-size:20px;font-weight:800;transition:transform .18s ease}
.ffch-emergency-school[open] .ffch-emergency-school-chevron{transform:rotate(180deg)}
.ffch-emergency-school[open] summary{border-bottom:1px solid #e4ebf2;background:#f8fbff}
.ffch-emergency-school-body{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr);gap:14px;padding:14px}
.ffch-emergency-address-block,.ffch-emergency-hospital-block{padding:13px;border:1px solid #e3eaf1;border-radius:11px;background:#fff}
.ffch-emergency-address-block>span,.ffch-emergency-hospital-title span{display:block;margin-bottom:3px;color:#6b7f91;font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.ffch-emergency-address-block strong,.ffch-emergency-hospital-title strong{display:block;color:#16364a;font-size:15px}
.ffch-emergency-address-block p,.ffch-emergency-hospital-block p{margin:6px 0 0;color:#546b7c;line-height:1.45}
.ffch-emergency-hospital-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ffch-emergency-hospital-title b{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#eaf6ff;color:#0865ad;font-size:11px}
.ffch-emergency-service-line{font-size:12px}
.ffch-emergency-hospital-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px}
.ffch-emergency-hospital-actions .ffch-button{padding:8px 12px;font-size:12px}
.ffch-emergency-info-link{font-size:12px;font-weight:750;color:#0874df;text-decoration:none}
.ffch-emergency-school.is-unverified{border-color:#e8cf93;background:#fffdf7}
.ffch-emergency-school.is-unverified summary{background:#fffaf0}
.ffch-emergency-school.is-unverified .ffch-emergency-school-summary-main small{color:#8a640d;font-weight:700}
.ffch-emergency-unverified{grid-column:1/-1;padding:13px 14px;border:1px solid #ecd6a4;border-radius:10px;background:#fffaf0;color:#6c5217}
.ffch-emergency-unverified p{margin:5px 0 0;line-height:1.45}
.ffch-emergency-distance-note{margin:12px 2px 0!important;color:#66798a;font-size:11px;line-height:1.45}
@media(max-width:760px){
  .ffch-emergency-services-head{flex-direction:column;gap:9px}
  .ffch-emergency-actions{grid-template-columns:1fr}
  .ffch-emergency-action{padding:13px 14px}
  .ffch-emergency-school-body{grid-template-columns:1fr}
  .ffch-emergency-hospital-actions{align-items:stretch;flex-direction:column}
  .ffch-emergency-hospital-actions .ffch-button,.ffch-emergency-info-link{display:block;width:100%;box-sizing:border-box;text-align:center}
  .ffch-emergency-info-link{padding:8px 10px}
}

/* v1.0.44.5.153 - lead coach Emergency Services navigation card */
.ffch-coach-nav-link.is-emergency:not(.is-active){border-color:#eccaca;background:#fffafa;color:#8f2424}
.ffch-coach-nav-link.is-emergency:not(.is-active) .ffch-coach-nav-icon{color:#c52d2f}
.ffch-coach-nav-link.is-emergency:hover,.ffch-coach-nav-link.is-emergency.is-active{border-color:#c92d2f;background:#c92d2f;color:#fff}
.ffch-coach-nav-link.is-emergency:hover .ffch-coach-nav-icon,.ffch-coach-nav-link.is-emergency.is-active .ffch-coach-nav-icon{color:#fff}

/* v1.0.44.5.154 - confirmation before emergency-service phone calls */
.ffch-call-confirm[hidden]{display:none!important}
.ffch-call-confirm{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}
.ffch-call-confirm-backdrop{position:absolute;inset:0;background:rgba(13,31,48,.58);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.ffch-call-confirm-dialog{position:relative;z-index:1;width:min(430px,100%);padding:24px;border:1px solid #d9e2ea;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(10,35,55,.28);text-align:center;outline:none}
.ffch-call-confirm-kicker{display:block;margin-bottom:6px;color:#687b8d;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.ffch-call-confirm-dialog h3{margin:0 0 8px;color:#17364a;font-size:24px;line-height:1.2}
.ffch-call-confirm-dialog p{margin:0;color:#5f7284;line-height:1.5}
.ffch-call-confirm-number{display:block;margin:15px 0 18px;color:#17364a;font-size:26px;line-height:1.15}
.ffch-call-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ffch-call-confirm-actions button{min-height:46px;border-radius:10px;font:inherit;font-weight:800;cursor:pointer}
.ffch-call-confirm-no{border:1px solid #cfd7df;background:#f4f6f8;color:#33475a}
.ffch-call-confirm-yes{border:1px solid #3157e8;background:#3f5eea;color:#fff}
.ffch-call-confirm-actions button:focus{outline:2px solid #17364a;outline-offset:2px}
.ffch-call-confirm-dialog:focus{outline:none}
html.ffch-call-confirm-open,body.ffch-call-confirm-open{overflow:hidden}
@media(max-width:480px){.ffch-call-confirm{padding:14px}.ffch-call-confirm-dialog{padding:21px 18px}.ffch-call-confirm-dialog h3{font-size:22px}.ffch-call-confirm-number{font-size:24px}}

/* v1.0.44.5.157 - Emergency Services mobile tidy-up */
.ffch-emergency-school-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:20px 0 10px}
.ffch-emergency-school-section-head h3{margin:2px 0 2px;color:#17364a;font-size:18px;line-height:1.2}
.ffch-emergency-school-section-head p{margin:0;color:#63788c;font-size:12px;line-height:1.4}
.ffch-emergency-school-count{flex:0 0 auto;padding:5px 9px;border:1px solid #d8e6f2;border-radius:999px;background:#f5faff;color:#49677e;font-size:11px;font-weight:800;white-space:nowrap}
.ffch-emergency-school-summary-main{text-align:left}
.ffch-emergency-school-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.ffch-emergency-school-topline strong{min-width:0}
.ffch-emergency-distance-pill{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#eaf6ff;color:#0865ad;font-size:10px;font-style:normal;font-weight:850;line-height:1.2;white-space:nowrap}
.ffch-emergency-school-summary-main small{display:flex;gap:5px;align-items:baseline;min-width:0}
.ffch-emergency-school-summary-main small span{flex:0 0 auto;color:#8293a2;font-size:9px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}

@media(max-width:760px){
  .ffch-emergency-services-card{padding:16px 12px!important;border-radius:16px;background:#f8fbfe}
  .ffch-emergency-services-head{gap:7px;margin-bottom:12px;padding:0 2px}
  .ffch-emergency-services-head h2{font-size:25px!important;line-height:1.12!important;margin:3px 0 6px!important}
  .ffch-emergency-services-head p{font-size:13px!important;line-height:1.45}
  .ffch-emergency-verified{align-self:flex-start;padding:5px 8px;font-size:10px}

  .ffch-emergency-actions{grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
  .ffch-emergency-action{min-width:0;min-height:74px;justify-content:center;padding:11px 12px;border-radius:12px;box-shadow:none;text-align:left}
  .ffch-emergency-action.is-999{grid-column:1/-1;min-height:70px}
  .ffch-emergency-action strong{font-size:19px}
  .ffch-emergency-action span{font-size:11px;line-height:1.3}
  .ffch-emergency-action.is-999 strong{font-size:22px}

  .ffch-emergency-safety-note{margin:0 0 16px;padding:11px 12px;border-left-width:3px;border-radius:9px}
  .ffch-emergency-safety-note strong{font-size:13px;line-height:1.35}
  .ffch-emergency-safety-note span{font-size:11px;line-height:1.4}

  .ffch-emergency-school-section-head{align-items:flex-start;margin:17px 2px 8px}
  .ffch-emergency-school-section-head h3{font-size:17px}
  .ffch-emergency-school-section-head p{font-size:11px;max-width:235px}
  .ffch-emergency-school-count{margin-top:2px;font-size:10px}

  .ffch-emergency-school-list{display:block;overflow:hidden;border:1px solid #d8e4ee;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(20,55,80,.035)}
  .ffch-emergency-school{border:0;border-bottom:1px solid #e5ecf2;border-radius:0;background:#fff}
  .ffch-emergency-school:last-child{border-bottom:0}
  .ffch-emergency-school summary{min-height:68px;padding:12px 13px;gap:10px;text-align:left}
  .ffch-emergency-school-summary-main{gap:4px;flex:1 1 auto;min-width:0;text-align:left!important}
  .ffch-emergency-school-topline{gap:8px}
  .ffch-emergency-school-summary-main strong{font-size:15px;line-height:1.25;text-align:left!important}
  .ffch-emergency-school-summary-main small{display:block;color:#63788c;font-size:11.5px;line-height:1.35;text-align:left!important;white-space:normal}
  .ffch-emergency-school-summary-main small span{display:block;margin-bottom:1px;font-size:8px}
  .ffch-emergency-distance-pill{padding:3px 6px;font-size:9.5px}
  .ffch-emergency-school-chevron{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#f0f7fd;color:#0874df;font-size:18px;line-height:1}
  .ffch-emergency-school[open] summary{border-bottom:1px solid #dfe9f2;background:#f5faff}
  .ffch-emergency-school[open] .ffch-emergency-school-chevron{background:#0874df;color:#fff}

  .ffch-emergency-school-body{grid-template-columns:1fr;gap:8px;padding:10px;background:#fbfdff}
  .ffch-emergency-address-block,.ffch-emergency-hospital-block{padding:11px 12px;border-radius:10px;box-shadow:none;text-align:left}
  .ffch-emergency-address-block{border-color:#e5ebf1;background:#f8fafc}
  .ffch-emergency-hospital-block{border-color:#cfe1f1;background:#fff}
  .ffch-emergency-address-block>span,.ffch-emergency-hospital-title span{font-size:9px}
  .ffch-emergency-address-block strong,.ffch-emergency-hospital-title strong{font-size:14px;line-height:1.3}
  .ffch-emergency-address-block p,.ffch-emergency-hospital-block p{margin-top:5px;font-size:12px;line-height:1.4;text-align:left}
  .ffch-emergency-hospital-title{gap:8px}
  .ffch-emergency-hospital-title b{padding:4px 7px;font-size:10px}
  .ffch-emergency-service-line{font-size:11px!important}
  .ffch-emergency-hospital-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
  .ffch-emergency-hospital-actions .ffch-button{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:42px;padding:8px 9px;font-size:11.5px;box-sizing:border-box;text-align:center}
  .ffch-emergency-info-link{grid-column:1/-1;display:block;width:100%;padding:7px 8px;box-sizing:border-box;text-align:center;font-size:11px}
  .ffch-emergency-distance-note{margin:10px 2px 0!important;font-size:10px;line-height:1.4;text-align:left}
}

@media(max-width:390px){
  .ffch-emergency-services-card{padding:14px 10px!important}
  .ffch-emergency-actions{gap:7px}
  .ffch-emergency-action{padding:10px}
  .ffch-emergency-school-section-head{gap:8px}
  .ffch-emergency-school-section-head p{max-width:205px}
  .ffch-emergency-school summary{padding:11px 12px}
  .ffch-emergency-school-topline{align-items:flex-start}
  .ffch-emergency-distance-pill{margin-top:1px}
}

/* v1.0.44.5.158 - clearer tap-to-call affordance on emergency number cards */
.ffch-emergency-tap-to-call{margin-top:4px!important;color:currentColor!important;font-size:10px!important;font-weight:850!important;letter-spacing:.04em;line-height:1.2!important;text-transform:uppercase;opacity:.78}
.ffch-emergency-action.is-999 .ffch-emergency-tap-to-call{color:#a32020!important}
.ffch-emergency-action.is-111 .ffch-emergency-tap-to-call{color:#0a5fa8!important}
.ffch-emergency-action.is-101 .ffch-emergency-tap-to-call{color:#314f63!important}
@media(max-width:760px){
  .ffch-emergency-tap-to-call{margin-top:3px!important;font-size:9px!important}
}

/* v1.0.44.5.159 - mobile My Registers cards */
.ffch-register-mobile-list{display:none}
@media(max-width:760px){
  .ffch-registers-desktop{display:none!important}
  .ffch-register-mobile-list{display:grid;gap:9px;margin-top:12px}
  .ffch-register-mobile-card{display:flex;flex-direction:column;gap:5px;position:relative;min-height:96px;box-sizing:border-box;padding:14px 48px 14px 14px;border:1px solid #d7e3ed;border-radius:13px;background:#fff;color:#17364a!important;text-decoration:none!important;box-shadow:0 3px 12px rgba(20,55,80,.035);-webkit-tap-highlight-color:rgba(8,116,223,.10);touch-action:manipulation}
  .ffch-register-mobile-card:active{background:#f3f9fe;border-color:#9cc9e9;transform:scale(.995)}
  .ffch-register-mobile-card:after{content:'›';display:flex;align-items:center;justify-content:center;position:absolute;right:13px;top:50%;width:30px;height:30px;transform:translateY(-50%);border-radius:999px;background:#eef7fd;color:#0874df;font-size:26px;font-weight:500;line-height:1}
  .ffch-register-mobile-card.is-unavailable{opacity:.62;background:#fafafa}
  .ffch-register-mobile-card.is-unavailable:after{display:none}
  .ffch-register-mobile-date{display:flex;align-items:center;gap:6px;color:#61778a;font-size:11.5px;font-weight:750;line-height:1.25}
  .ffch-register-mobile-date .dashicons{width:15px;height:15px;font-size:15px;color:#0874df}
  .ffch-register-mobile-title{display:block;color:#17364a;font-size:16px;font-weight:800;line-height:1.3}
  .ffch-register-mobile-access{color:#61778a;font-size:11.5px;font-weight:650;line-height:1.3}
  .ffch-register-mobile-open{margin-top:3px;color:#0874df;font-size:11.5px;font-weight:850;line-height:1.25}
}

/* v1.0.44.5.160 - mobile Coach Hub header tidy and Emergency Services nav alignment */
@media(max-width:520px){
  .ffch-coach-nav-title{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"hub logout" "user logout";
    align-items:center;
    gap:2px 10px;
    margin:-2px 0 11px!important;
    padding:2px 2px 9px!important;
    border-bottom:1px solid #e8edf3;
  }
  .ffch-coach-nav-title>span:first-child{
    grid-area:hub;
    min-width:0;
    color:#14213d;
    font-size:20px;
    font-weight:900;
    line-height:1.15;
    white-space:nowrap;
  }
  .ffch-coach-nav-account{display:contents!important}
  .ffch-coach-nav-user{
    grid-area:user;
    display:block;
    max-width:none!important;
    min-width:0;
    overflow:visible!important;
    color:#64748b;
    font-size:12px!important;
    font-weight:700;
    line-height:1.3;
    text-overflow:clip!important;
    white-space:normal!important;
  }
  .ffch-coach-nav-logout{
    grid-area:logout;
    align-self:center;
    margin:0!important;
    min-height:34px;
    padding:6px 10px!important;
    border-radius:9px!important;
    font-size:12px!important;
    line-height:1.2;
    white-space:nowrap;
  }
  .ffch-coach-nav-link.is-emergency{justify-content:flex-start!important;text-align:left!important}
  .ffch-coach-nav-link.is-emergency .ffch-coach-nav-text{min-width:0;text-align:left!important}
}


/* v1.0.44.5.161 - mobile Coach Hub identity/header alignment */
@media(max-width:520px){
  .ffch-coach-nav-title{
    text-align:left!important;
  }
  .ffch-coach-nav-title>span:first-child{
    justify-self:start!important;
    text-align:left!important;
  }
  .ffch-coach-nav-user{
    justify-self:start!important;
    width:100%;
    text-align:left!important;
  }
  .ffch-coach-nav-logout{
    justify-self:end!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:92px;
    min-height:40px;
    box-sizing:border-box;
    padding:7px 14px!important;
    border:1px solid #3858e9!important;
    border-radius:9px!important;
    background:#3858e9!important;
    color:#fff!important;
    text-align:center!important;
    font-weight:800!important;
    line-height:1!important;
  }
  .ffch-coach-nav-logout:hover,
  .ffch-coach-nav-logout:active{
    border-color:#2145e6!important;
    background:#2145e6!important;
    color:#fff!important;
  }
}


/* v1.0.44.5.162 - vertically centre mobile Log out across the Coach Hub identity block */
@media(max-width:520px){
  .ffch-coach-nav-logout{
    align-self:center!important;
  }
}

/* v1.0.44.5.163 - mobile Coach Dashboard card polish */
@media(max-width:760px){
  .ffch-dashboard-status-grid,.ffch-dashboard-link-grid,.ffch-dashboard-upcoming-grid{gap:10px!important}
  .ffch-dashboard-hero,.ffch-dashboard-status-card,.ffch-dashboard-link-card,.ffch-dashboard-upcoming-card{text-align:left!important}
  .ffch-dashboard-hero{margin:12px 0!important;padding:16px!important;border-radius:14px!important}
  .ffch-dashboard-hero h2{margin:0 0 7px!important;font-size:23px!important;line-height:1.18!important;text-align:left!important}
  .ffch-dashboard-hero p{margin:0!important;font-size:13px!important;line-height:1.5!important;text-align:left!important}
  .ffch-dashboard-status-card,.ffch-dashboard-upcoming-card{margin:0!important;padding:15px 16px!important;border-radius:14px!important}
  .ffch-dashboard-status-card>h3,.ffch-dashboard-upcoming-card>h3{margin:0 0 11px!important;font-size:20px!important;line-height:1.2!important;text-align:left!important}
  .ffch-dashboard-status-card p,.ffch-dashboard-status-card ul,.ffch-dashboard-upcoming-card p,.ffch-dashboard-upcoming-card ul{text-align:left!important}
  .ffch-dashboard-status-card .ffch-list,.ffch-dashboard-upcoming-card .ffch-list{margin:0!important;padding:0!important;list-style:none!important}
  .ffch-dashboard-status-card .ffch-list li,.ffch-dashboard-upcoming-card .ffch-list li{margin:0!important;padding:10px 0!important;border-bottom:1px solid #e9eef3;font-size:13px;line-height:1.45;text-align:left!important}
  .ffch-dashboard-status-card .ffch-list li:last-child,.ffch-dashboard-upcoming-card .ffch-list li:last-child{border-bottom:0}
  .ffch-dashboard-empty{margin:0!important;padding:10px 12px!important;border:1px solid #e6ecf2;border-radius:10px;background:#f8fafc;color:#627487!important;font-size:13px!important;line-height:1.4!important;text-align:left!important}
  .ffch-dashboard-empty.is-success{border-color:#cfe8d8;background:#f3fbf5;color:#2b6d43!important}
  .ffch-dashboard-more{margin:11px 0 0!important;font-size:13px!important;font-weight:800!important;text-align:left!important}
  .ffch-dashboard-link-grid{grid-template-columns:1fr!important}
  .ffch-dashboard-link-card{position:relative;min-height:0!important;margin:0!important;padding:14px 46px 14px 16px!important;border-radius:13px!important}
  .ffch-dashboard-link-card:after{content:'›';position:absolute;right:17px;top:50%;transform:translateY(-50%);color:#0874df;font-size:27px;font-weight:500;line-height:1}
  .ffch-dashboard-link-card h3{margin:0 0 3px!important;font-size:17px!important;line-height:1.25!important;text-align:left!important}
  .ffch-dashboard-link-card p{margin:0!important;color:#64748b!important;font-size:12.5px!important;line-height:1.35!important;text-align:left!important}
  .ffch-dashboard-register-card .ffch-register-quick-list{margin-top:0!important}
  .ffch-dashboard-register-card .ffch-register-quick-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;min-height:58px;padding:10px 0!important;text-align:left!important}
  .ffch-dashboard-register-card .ffch-register-quick-copy{align-items:flex-start!important;text-align:left!important}
  .ffch-dashboard-register-card .ffch-register-quick-copy strong{display:block!important;width:100%;font-size:15px!important;line-height:1.3!important;text-align:left!important}
  .ffch-dashboard-register-card .ffch-register-quick-copy small{display:block!important;width:100%;margin-top:2px;color:#687b8c!important;font-size:11.5px!important;line-height:1.25!important;text-align:left!important}
  .ffch-dashboard-register-card .ffch-register-quick-open{display:inline-flex!important;align-items:center!important;justify-content:center!important;justify-self:end!important;min-width:58px;min-height:34px;box-sizing:border-box;padding:6px 10px!important;border:1px solid #cce3f4;border-radius:9px;background:#eef8ff;color:#079ce1!important;font-size:12px!important;font-weight:850!important;line-height:1!important;text-align:center!important;text-decoration:none!important;white-space:nowrap}
  .ffch-dashboard-register-card .ffch-register-quick-open:active{background:#dff1fd;border-color:#9ccce9}
  .ffch-dashboard-register-card .ffch-register-quick-more{margin:12px 0 0!important;text-align:left!important}
  .ffch-dashboard-register-card .ffch-register-quick-more a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid #cfe1ee;border-radius:10px;background:#f6fbff;color:#079ce1!important;font-size:12.5px;font-weight:800;text-decoration:none!important}
}
