
:root{--flr-ink:#17324d;--flr-muted:#66788a;--flr-line:#dce4ea;--flr-bg:#f4f7f9;--flr-card:#fff;--flr-accent:#1f6f8b}
body{background:var(--flr-bg);color:var(--flr-ink)}
header.wp-block-template-part{background:#fff;border-bottom:1px solid var(--flr-line)}
header.wp-block-template-part .wp-block-group{max-width:1180px;margin:auto}
header.wp-block-template-part .wp-block-navigation{font-size:.95rem}
header.wp-block-template-part .wp-block-navigation a{text-decoration:none}
main.wp-block-group,.wp-site-blocks>main{max-width:1180px;margin-left:auto;margin-right:auto}
.flr-brand-logo{display:inline-flex;align-items:center;text-decoration:none}
.flr-brand-logo img{display:block;width:min(390px,42vw);height:auto;max-height:72px;object-fit:contain;object-position:left center}
.flr-footer-copy{margin:0;text-align:center;width:100%;font-size:.82rem!important;color:var(--flr-muted)!important}
.flr-review-wrap,.flr-retention-review,.flr-eligibility-card,.flr-verification-details,.flr-compliance-form,.flr-registration-form{background:#fff;border:1px solid var(--flr-line);border-radius:14px;padding:clamp(20px,3vw,38px);box-shadow:0 8px 24px rgba(23,50,77,.06);margin-bottom:24px}
.flr-card{background:#fff;border:1px solid var(--flr-line);border-radius:10px;padding:16px 20px;margin:12px 0 22px}
.flr-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--flr-line);border-radius:10px;overflow:hidden;margin:14px 0 22px}
.flr-table th,.flr-table td{padding:13px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--flr-line)}
.flr-table thead th{background:#eef3f6;color:var(--flr-ink);font-weight:700}
.flr-table tbody tr:last-child th,.flr-table tbody tr:last-child td{border-bottom:0}
.flr-button,button{display:inline-block;border:1px solid var(--flr-accent);border-radius:8px;padding:.55rem .85rem;background:#fff;color:var(--flr-accent);font-weight:600;text-decoration:none;line-height:1.2;cursor:pointer}
.flr-button:hover,button:hover{background:#eef7fa}
.flr-button-primary{background:var(--flr-accent);color:#fff}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=date],select,textarea{max-width:100%;border:1px solid #b9c6cf;border-radius:7px;padding:.55rem .65rem;background:#fff}
textarea{width:100%;max-width:100%}
.flr-success,.flr-error,.flr-notice{padding:12px 14px;margin:12px 0 20px;background:#f7fbfc;border-left:4px solid var(--flr-accent)}
.flr-success{border-left-color:#2f855a}
.flr-error{border-left-color:#c53030}
.flr-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
footer.wp-block-template-part{margin-top:48px;border-top:1px solid var(--flr-line);background:#fff}
@media(max-width:800px){.flr-table{display:block;overflow-x:auto;white-space:nowrap}.flr-table th,.flr-table td{padding:10px 11px}}
@media(max-width:782px){.flr-brand-logo img{width:min(285px,68vw);max-height:58px}}

.flr-inline-form{margin:0;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.flr-delete-confirm{display:block;max-width:360px;font-size:.9rem;line-height:1.35}
.flr-button-danger{border-color:#b42318;color:#b42318}
.flr-button-danger:hover{background:#fff1f0}


.flr-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.flr-audit-log{background:#fff;border:1px solid var(--flr-line);border-radius:14px;padding:clamp(20px,3vw,38px);box-shadow:0 8px 24px rgba(23,50,77,.06);margin-bottom:24px}
.flr-audit-filters{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr)) auto auto;gap:12px;align-items:end;margin:18px 0 22px}
.flr-audit-filters label{font-weight:600}
.flr-audit-filters select,.flr-audit-filters input{width:100%;margin-top:5px}
.flr-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:16px}
.flr-page-link,.flr-page-current{display:inline-block;min-width:36px;padding:7px 10px;text-align:center;border:1px solid var(--flr-line);border-radius:7px;text-decoration:none}
.flr-page-current{background:var(--flr-ink);color:#fff;border-color:var(--flr-ink)}
@media(max-width:900px){.flr-audit-filters{grid-template-columns:1fr 1fr}.flr-audit-log .flr-table{font-size:.92rem}}
@media(max-width:600px){.flr-audit-filters{grid-template-columns:1fr}}


.flr-card small{color:var(--flr-muted)}
.flr-card textarea{min-height:110px}


.flr-profile-card{display:flex;gap:24px;align-items:flex-start;flex-wrap:wrap}
.flr-profile-photo-wrap{flex:0 0 150px}
.flr-profile-photo{width:150px;height:180px;object-fit:cover;border-radius:10px;border:1px solid #d9dee5;background:#f4f6f8}
.flr-profile-photo-placeholder{width:150px;height:180px;display:flex;align-items:center;justify-content:center;border-radius:10px;border:1px dashed #b8c0ca;background:#f4f6f8;color:#68717d;text-align:center}
.flr-profile-details{flex:1;min-width:260px}
.flr-review-photo-card{display:inline-block}

.flr-verification-url{display:block;max-width:100%;overflow-wrap:anywhere;white-space:normal}

.flr-onboarding-card fieldset{border:1px solid #dbe3e9;border-radius:10px;padding:16px;margin:18px 0}
.flr-onboarding-card legend{font-weight:700;padding:0 6px}
.flr-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.flr-grid-2 p{margin:0}
.flr-onboarding-card input,.flr-onboarding-card select{width:100%;max-width:100%}
@media(max-width:700px){.flr-grid-2{grid-template-columns:1fr}}

.flr-section-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;position:sticky;top:0;z-index:5;background:#f4f7f9;padding:10px 0}
.flr-section-nav a{display:inline-block;padding:9px 12px;border:1px solid #0e708b;border-radius:8px;text-decoration:none;font-weight:700;font-size:13px;background:#fff}
.flr-compliance-section{scroll-margin-top:80px;margin:0 0 32px}
.flr-compliance-section>h2{font-size:28px;margin-bottom:12px}
.flr-training-table-wrap{overflow-x:auto}
.flr-training-table{min-width:1080px}
.flr-training-table input[type="text"],.flr-training-table input[type="date"],.flr-training-table select,.flr-training-table textarea{width:100%;min-width:120px}
.flr-status{display:inline-block;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.flr-status-verified{background:#edf8f0;color:#1d5b2a}
.flr-status-expiring_60{background:#fff8df;color:#6f5a00}
.flr-status-expiring_30{background:#fff0d7;color:#7a4700}
.flr-status-expired,.flr-status-action_required{background:#fff0ed;color:#7b2f21}
.flr-status-review_required{background:#eef4fb;color:#245a85}
.flr-status-not_submitted,.flr-status-not_applicable{background:#f1f3f5;color:#59636d}

.flr-role-profile-note{font-size:13px;color:#59636d}
.flr-training-table td:nth-child(2){min-width:220px}


/* ---------- FLR portal layout refinements ---------- */

/* Desktop: centred 80% working area. Tablet/mobile widen progressively for usability. */
body .wp-site-blocks > main,
body main.wp-block-group,
body main.wp-block-post-content,
body .wp-block-post-content,
body .entry-content {
    max-width: none;
}

body .wp-site-blocks > main > *,
body main .wp-block-post-content,
body .wp-block-post-content > .alignwide,
body .wp-block-post-content > .alignfull,
body .entry-content > * {
    width: 80%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.flr-card,
.flr-compliance-section,
.flr-section-nav,
.flr-eligibility-card,
.flr-verification-details {
    width: 100%;
    max-width: none;
}

.flr-grid-2 {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.flr-training-table-wrap,
.flr-table {
    width: 100%;
}

.flr-training-table {
    min-width: 1180px;
}

/* LOG OUT should read as another menu item, not as a button. */
.flr-header-logout {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0 var(--wp--preset--spacing--20, .75rem);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: inherit;
    white-space: nowrap;
}
.flr-header-logout:hover,
.flr-header-logout:focus {
    text-decoration: underline;
}

/* Remove the theme's footer navigation/menu while keeping footer text/branding. */
footer.wp-block-template-part .wp-block-navigation,
footer .wp-block-navigation {
    display: none !important;
}

/* iPad / tablet */
@media (max-width: 1100px) {
    body .wp-site-blocks > main > *,
    body main .wp-block-post-content,
    body .wp-block-post-content > .alignwide,
    body .wp-block-post-content > .alignfull,
    body .entry-content > * {
        width: 90%;
        max-width: 90%;
    }

    .flr-grid-2 {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

/* Mobile */
@media (max-width: 700px) {
    body .wp-site-blocks > main > *,
    body main .wp-block-post-content,
    body .wp-block-post-content > .alignwide,
    body .wp-block-post-content > .alignfull,
    body .entry-content > * {
        width: 94%;
        max-width: 94%;
    }

    .flr-grid-2 {
        grid-template-columns: 1fr;
    }

    .flr-section-nav {
        position: static;
    }

    .flr-header-logout {
        margin-left: 0;
    }
}


/* ---------- FLR dashboards v0.4.0 ---------- */

.flr-dashboard{width:100%;max-width:1180px;margin:0 auto;padding:8px 0 36px}
.flr-dashboard *{box-sizing:border-box}
.flr-dashboard-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:0 0 24px}
.flr-dashboard-hero h1{margin:.15rem 0 .4rem;font-size:clamp(28px,3vw,42px)}
.flr-dashboard-hero p{margin:.2rem 0;color:#5e6d79}
.flr-dashboard-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;color:#0e708b}
.flr-overall-status{min-width:230px;border-radius:14px;padding:16px 20px;text-align:center;border:1px solid #d6e0e6}
.flr-overall-status span{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;margin-bottom:4px}
.flr-overall-status strong{font-size:20px}
.flr-overall-green{background:#eef9f0;border-color:#acd7b4}.flr-overall-green strong{color:#185c28}
.flr-overall-amber{background:#fff8e2;border-color:#ead38d}.flr-overall-amber strong{color:#725800}
.flr-overall-red{background:#fff0ed;border-color:#e3b5ab}.flr-overall-red strong{color:#8a2c1b}
.flr-overall-grey{background:#f2f4f6;border-color:#d7dde1}.flr-overall-grey strong{color:#5a6570}

.flr-dashboard-card{background:#fff;border:1px solid #dbe3e9;border-radius:14px;padding:24px;margin:0 0 20px;box-shadow:0 2px 10px rgba(22,48,66,.04)}
.flr-dashboard-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}
.flr-dashboard-card-heading h2,.flr-dashboard-card-heading h3{margin:0 0 2px;color:#16364e}
.flr-dashboard-card-heading span{color:#6a7883;font-size:13px}
.flr-dashboard-profile{display:grid;grid-template-columns:96px minmax(0,1fr);gap:22px}
.flr-dashboard-photo img,.flr-dashboard-photo-placeholder{width:96px;height:112px;max-width:96px;max-height:112px;border-radius:12px;object-fit:cover;border:1px solid #d6e0e6}
.flr-dashboard-photo-placeholder{display:flex;align-items:center;justify-content:center;background:#f4f6f8;color:#6a7883;font-size:13px}
.flr-dashboard-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px}
.flr-dashboard-details-grid small{display:block;text-transform:uppercase;letter-spacing:.05em;font-size:10px;color:#71808b;margin-bottom:4px}
.flr-dashboard-details-grid strong{display:block;font-size:15px;color:#17384f;overflow-wrap:anywhere}
.flr-dashboard-actions{display:flex;justify-content:flex-end;margin-top:18px}
.flr-dashboard-actions a,.flr-dashboard-review-link,.flr-dashboard-primary-action{display:inline-flex;padding:8px 12px;border:1px solid #0e708b;border-radius:8px;color:#0e708b;font-size:12px;font-weight:800;text-decoration:none}
.flr-dashboard-actions a:hover,.flr-dashboard-review-link:hover,.flr-dashboard-primary-action:hover{background:#0e708b;color:#fff}

.flr-dashboard-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.flr-dashboard-dot{width:9px;height:9px;border-radius:50%;background:currentColor}
.flr-dashboard-badge-green{background:#dff3e4;color:#17632b;border:1px solid #a9d7b3}
.flr-dashboard-badge-amber{background:#fff0bf;color:#705300;border:1px solid #e2c968}
.flr-dashboard-badge-red{background:#f9d9d3;color:#8b2d1b;border:1px solid #dfaaa0}
.flr-dashboard-badge-grey{background:#e9edf0;color:#59656f;border:1px solid #cfd7dc}

.flr-dashboard-training-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:4px 0 18px}
.flr-dashboard-training-summary>div{background:#f5f8fa;border-radius:10px;padding:16px;text-align:center}
.flr-dashboard-training-summary strong{display:block;font-size:28px;color:#17384f}
.flr-dashboard-training-summary span{font-size:12px;color:#687783}
.flr-dashboard-attention-list>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid #edf0f2}
.flr-dashboard-attention-list>div>span{display:flex;align-items:center;font-size:12px;color:#677682}
.flr-dashboard-ok{padding:12px 14px;background:#eef9f0;border-radius:8px;color:#1c6b31}
.flr-dashboard-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.flr-dashboard-mini{margin:0}
.flr-dashboard-mini>a{font-size:12px;font-weight:800;color:#0e708b}

.flr-reviewer-top-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;margin-bottom:20px}
.flr-dashboard-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.flr-dashboard-stat{display:flex;flex-direction:column;justify-content:center;min-height:104px;background:#fff;border:1px solid #dbe3e9;border-radius:12px;padding:16px;text-decoration:none;color:#17384f}
.flr-dashboard-stat strong{font-size:28px}.flr-dashboard-stat span{font-size:12px;margin-top:3px;color:#687783}
.flr-stat-green{border-left:5px solid #2c8b43}.flr-stat-amber{border-left:5px solid #d8a600}.flr-stat-red{border-left:5px solid #b6432f}.flr-stat-grey{border-left:5px solid #86919a}
.flr-reviewer-alerts{margin:0}
.flr-reviewer-alerts>a{display:block;padding:9px 0;border-top:1px solid #edf0f2;text-decoration:none}
.flr-reviewer-alerts>a strong,.flr-reviewer-alerts>a span{display:block}
.flr-reviewer-alerts>a span{font-size:12px;color:#6a7883}
.flr-dashboard-task-list>a{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0;border-top:1px solid #edf0f2;text-decoration:none;color:#17384f}
.flr-dashboard-task-list>a div span{display:block;font-size:12px;color:#697883;margin-top:2px}
.flr-dashboard-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 16px}
.flr-dashboard-filter select,.flr-dashboard-filter input{min-height:38px;padding:6px 9px}
.flr-dashboard-filter button,.flr-dashboard-filter>a{padding:8px 11px;border:1px solid #0e708b;border-radius:7px;background:#fff;color:#0e708b;font-weight:800;text-decoration:none}
.flr-dashboard-register-wrap{overflow-x:auto}
.flr-dashboard-register{width:100%;border-collapse:collapse;min-width:920px}
.flr-dashboard-register th,.flr-dashboard-register td{padding:11px 9px;border-bottom:1px solid #edf0f2;text-align:left;vertical-align:middle}
.flr-dashboard-register th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#6a7883}
.flr-dashboard-primary-action{background:#0e708b;color:#fff}

@media(max-width:900px){
 .flr-dashboard{max-width:none}
 .flr-dashboard-hero{align-items:flex-start}
 .flr-dashboard-profile{grid-template-columns:100px 1fr}
 .flr-dashboard-photo img,.flr-dashboard-photo-placeholder{width:92px;height:112px}
 .flr-dashboard-details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .flr-reviewer-top-grid{grid-template-columns:1fr}
 .flr-dashboard-stat-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:650px){
 .flr-dashboard{padding-left:4px;padding-right:4px}
 .flr-dashboard-hero{display:block}
 .flr-overall-status{width:100%;margin-top:16px}
 .flr-dashboard-profile{display:block}
 .flr-dashboard-photo{margin-bottom:16px}
 .flr-dashboard-details-grid{grid-template-columns:1fr}
 .flr-dashboard-training-summary{grid-template-columns:1fr}
 .flr-dashboard-mini-grid{grid-template-columns:1fr}
 .flr-dashboard-stat-grid{grid-template-columns:repeat(2,1fr)}
 .flr-dashboard-card-heading{align-items:flex-start}
 .flr-dashboard-attention-list>div,.flr-dashboard-task-list>a{align-items:flex-start;flex-direction:column}
}


/* ---------- Uniform portal appearance v0.4.1 ---------- */

/* Common portal content width; no viewport breakout or negative margins. */
body.page .wp-site-blocks main {
    --flr-portal-max: 1180px;
}
body.page .wp-site-blocks main > .wp-block-group,
body.page .wp-site-blocks main > .wp-block-post-content,
body.page .entry-content {
    max-width: var(--flr-portal-max, 1180px);
    margin-left: auto;
    margin-right: auto;
}

/* Header navigation is one horizontal system on desktop. */
header .wp-block-navigation__container {
    gap: 20px !important;
    align-items: center !important;
}
header .wp-block-navigation-item__content,
header .flr-header-logout {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
header .wp-block-navigation-item__content:hover {
    text-decoration: underline !important;
}

/* Strong traffic-light presentation. */
.flr-traffic-light {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin: 7px auto;
    border: 3px solid rgba(255,255,255,.8);
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.flr-traffic-green { background:#2d9b4f; }
.flr-traffic-amber { background:#e3ad16; }
.flr-traffic-red { background:#c84b35; }
.flr-traffic-grey { background:#8c969e; }

.flr-overall-status {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.flr-overall-status strong { margin-top:2px; }

/* Eligibility page card follows dashboard status language. */
.flr-eligibility-card {
    max-width:none !important;
    border-radius:14px !important;
    border:1px solid #dbe3e9 !important;
    box-shadow:0 2px 10px rgba(22,48,66,.04);
    padding:24px !important;
}

/* WP Customer Area account screens: soften old table UI and keep it within the same page width. */
.customer-area,
.cuar-css-wrapper,
.cuar-page-content,
.cuar-content-container {
    max-width:1180px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
.cuar-css-wrapper .panel,
.cuar-css-wrapper .cuar-panel,
.cuar-css-wrapper .panel-default {
    border-radius:12px !important;
    overflow:hidden;
    border-color:#dbe3e9 !important;
    box-shadow:none !important;
}
.cuar-css-wrapper table,
.cuar-css-wrapper .table {
    border-color:#e3e8ec !important;
}
.cuar-css-wrapper .nav,
.cuar-css-wrapper .navbar {
    font-size:13px;
}

/* The dashboard profile image must always remain thumbnail-sized. */
.flr-dashboard .flr-dashboard-photo img {
    width:96px !important;
    height:112px !important;
    max-width:96px !important;
    max-height:112px !important;
    object-fit:cover !important;
}

/* Footer: suppress TT5 theme title / menu clutter, retain FLR footer line. */
footer .wp-block-navigation,
footer .wp-block-site-title,
footer .wp-block-site-tagline {
    display:none !important;
}

/* Tablet */
@media(max-width:900px){
    header .wp-block-navigation__container{gap:13px!important}
    .flr-dashboard{width:92%;max-width:92%}
}
/* Mobile */
@media(max-width:650px){
    .flr-dashboard{width:94%;max-width:94%}
    header .wp-block-navigation__container{gap:8px!important}
}


/* ---------- Queue expansion v0.4.8 ---------- */
.flr-dashboard-expand{margin-top:10px;border-top:1px solid #edf0f2;padding-top:10px}
.flr-dashboard-expand summary{cursor:pointer;font-weight:800;color:#0e708b;font-size:13px;list-style:none}
.flr-dashboard-expand summary::-webkit-details-marker{display:none}
.flr-dashboard-expand summary::after{content:" +";font-weight:800}
.flr-dashboard-expand[open] summary::after{content:" −"}
.flr-dashboard-expand-list>a{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0;border-top:1px solid #edf0f2;text-decoration:none;color:#17384f}
.flr-dashboard-expand-list>a div span{display:block;font-size:12px;color:#697883;margin-top:2px}


/* ---------- Management reports v0.6.0 ---------- */
.flr-report-stat-grid{margin-bottom:20px}
.flr-report-actions{display:flex;flex-wrap:wrap;gap:10px}
.flr-report-actions .flr-dashboard-primary-action{margin:0}

/* DBS automatic system v0.6.1 */
.flr-card hr{border:0;border-top:1px solid #dbe3e9;margin:20px 0}


/* ---------- Production polish v0.6.7 ---------- */
.flr-review-wrap,
.flr-dashboard,
.flr-compliance-wrap{max-width:1180px;margin-left:auto;margin-right:auto}

.flr-card,
.flr-dashboard-card{
    border:1px solid #d9e1e7;
    border-radius:12px;
    box-shadow:0 1px 2px rgba(15,23,42,.04);
}

.flr-card h2:first-child,
.flr-card h3:first-child,
.flr-dashboard-card h2:first-child{margin-top:0}

.flr-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.flr-toolbar .flr-button{margin:0}

.flr-table,
.flr-dashboard-register{width:100%;border-collapse:collapse}
.flr-table th,
.flr-table td,
.flr-dashboard-register th,
.flr-dashboard-register td{vertical-align:top}

.flr-readiness-list{margin:0;padding-left:1.25rem}
.flr-readiness-list li{margin:.45rem 0}

@media (max-width:760px){
    .flr-grid-2{grid-template-columns:1fr!important}
    .flr-toolbar{align-items:stretch}
    .flr-toolbar .flr-button{width:100%;text-align:center}
    .flr-dashboard-register-wrap,
    .flr-training-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
}


/* ---------- Public verifier governance v0.6.9 ---------- */
.flr-governance-checks{display:grid;gap:10px}
.flr-governance-item{
    display:flex;
    gap:10px;
    align-items:flex-start;
    padding:12px 14px;
    border:1px solid #d9e1e7;
    border-radius:10px;
    background:#fff;
}
.flr-governance-item input{margin-top:4px;flex:0 0 auto}

/* ============================================================
 * FLR Portal unified page shell
 * ============================================================ */

body.page-id-7 .cuar-wrapper,
body.page-id-7 .customer-area,
body.page-id-7 .cuar-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide the legacy Customer Area dashboard navigation/profile shell */
body.page-id-7 .cuar-wrapper > .navbar,
body.page-id-7 .cuar-wrapper > .cuar-menu-container,
body.page-id-7 .cuar-wrapper > .cuar-user-profile,
body.page-id-7 .cuar-wrapper > .panel-heading {
    display: none !important;
}

body.page-id-7 .entry-content,
body.page-id-7 .wp-block-post-content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.page-id-7 .flr-dashboard {
    width: min(1280px, 92vw) !important;
    max-width: 1280px !important;
    margin: 36px auto 60px !important;
}

/* Reviewer dashboard */
.flr-reviewer-dashboard .flr-dashboard-hero,
.flr-dashboard .flr-dashboard-hero {
    background: #fff;
    border: 1px solid var(--flr-line);
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 4px 16px rgba(23,50,77,.05);
}

.flr-reviewer-top-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr);
}

.flr-dashboard-stat-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
}

.flr-dashboard-stat {
    min-width: 0;
}

.flr-dashboard-card {
    overflow: hidden;
}

@media(max-width:1000px) {
    .flr-reviewer-top-grid {
        grid-template-columns: 1fr;
    }

    .flr-dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media(max-width:600px) {
    body.page-id-7 .flr-dashboard {
        width: 94vw !important;
        margin-top: 20px !important;
    }

    .flr-dashboard-stat-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
 * FLR Reviewer Dashboard - definitive responsive layout
 * Page 533
 * ============================================================ */

/*
 * Override the theme/global 80% content rule at the OUTER level.
 * This is the actual reviewer workspace.
 */
body.page-id-533 .wp-site-blocks > main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 0 48px !important;
}

body.page-id-533 .wp-site-blocks > main > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Remove nested theme width constraints. */
body.page-id-533 main .wp-block-post-content,
body.page-id-533 .wp-block-post-content,
body.page-id-533 .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-533 .wp-block-post-content > *,
body.page-id-533 .entry-content > * {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* The WordPress page title is redundant for reviewer users. */
body.page-id-533 .wp-block-post-title,
body.page-id-533 .entry-title {
    display: none !important;
}

/* Main dashboard wrapper. */
body.page-id-533 .flr-dashboard {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Hero / Workforce Compliance. */
body.page-id-533 .flr-dashboard-hero {
    width: 100% !important;
    margin: 0 0 20px !important;
}

/* Summary row. */
body.page-id-533 .flr-reviewer-top-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
    gap: 20px !important;
    align-items: stretch !important;
    margin-bottom: 20px !important;
}

body.page-id-533 .flr-dashboard-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(100px, 1fr)) !important;
    gap: 12px !important;
}

body.page-id-533 .flr-dashboard-stat {
    min-width: 0 !important;
    width: auto !important;
}

/* Critical Alerts. */
body.page-id-533 .flr-reviewer-alerts {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
}

body.page-id-533 .flr-reviewer-alerts .flr-dashboard-card-heading {
    display: block !important;
    margin-bottom: 12px !important;
}

body.page-id-533 .flr-reviewer-alerts .flr-dashboard-card-heading h2 {
    margin: 0 0 4px !important;
    font-size: 28px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
}

body.page-id-533 .flr-reviewer-alerts .flr-dashboard-card-heading span {
    display: block !important;
    max-width: none !important;
    line-height: 1.3 !important;
}

body.page-id-533 .flr-reviewer-alerts .flr-dashboard-ok {
    margin: 8px 0 0 !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

/* All dashboard cards. */
body.page-id-533 .flr-dashboard-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Staff Register table. */
body.page-id-533 .flr-dashboard-register-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
}

body.page-id-533 .flr-dashboard-register {
    width: 100% !important;
    min-width: 1040px !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
}

body.page-id-533 .flr-dashboard-register th,
body.page-id-533 .flr-dashboard-register td {
    width: auto !important;
    min-width: 0 !important;
    padding: 11px 10px !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

body.page-id-533 .flr-dashboard-register th {
    font-size: 11px !important;
}

body.page-id-533 .flr-dashboard-register td {
    font-size: 13px !important;
}

/* Identity columns. */
body.page-id-533 .flr-dashboard-register th:nth-child(1),
body.page-id-533 .flr-dashboard-register td:nth-child(1) {
    min-width: 135px !important;
}

body.page-id-533 .flr-dashboard-register th:nth-child(2),
body.page-id-533 .flr-dashboard-register td:nth-child(2) {
    min-width: 85px !important;
}

body.page-id-533 .flr-dashboard-register th:nth-child(3),
body.page-id-533 .flr-dashboard-register td:nth-child(3) {
    min-width: 105px !important;
}

/* Status columns. */
body.page-id-533 .flr-dashboard-register th:nth-child(n+4):nth-child(-n+8),
body.page-id-533 .flr-dashboard-register td:nth-child(n+4):nth-child(-n+8) {
    min-width: 125px !important;
}

/* Review action. */
body.page-id-533 .flr-dashboard-register th:nth-child(9),
body.page-id-533 .flr-dashboard-register td:nth-child(9) {
    min-width: 85px !important;
}

/* Status badges must never squash into each other. */
body.page-id-533 .flr-dashboard-register .flr-dashboard-badge {
    display: inline-flex !important;
    width: max-content !important;
    max-width: none !important;
    white-space: nowrap !important;
    padding: 5px 8px !important;
    font-size: 11px !important;
}

/* Medium desktop / laptop. */
@media (max-width: 1400px) {
    body.page-id-533 .wp-site-blocks > main > * {
    }

    body.page-id-533 .flr-reviewer-top-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-id-533 .flr-dashboard-stat-grid {
        grid-template-columns: repeat(7, minmax(90px, 1fr)) !important;
    }
}

/* Tablet. */
@media (max-width: 1000px) {
    body.page-id-533 .wp-site-blocks > main > * {
    }

    body.page-id-533 .flr-dashboard-stat-grid {
        grid-template-columns: repeat(4, minmax(110px, 1fr)) !important;
    }
}

/* Mobile. */
@media (max-width: 650px) {
    body.page-id-533 .wp-site-blocks > main {
        padding-top: 16px !important;
    }

    body.page-id-533 .wp-site-blocks > main > * {
    }

    body.page-id-533 .flr-dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(110px, 1fr)) !important;
    }
}


/* ============================================================
 * FLR portal header - definitive workspace alignment
 * Matches reviewer dashboard workspace exactly
 * ============================================================ */

/* Allow the theme header wrappers to span the viewport. */
body.page-id-533 header.wp-block-template-part,
body.page-id-533 header.wp-block-template-part > .wp-block-group,
body.page-id-533 header.wp-block-template-part > .wp-block-group > .wp-block-group {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Actual logo + navigation row. */
body.page-id-533 header.wp-block-template-part .flr-portal-header-inner {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;

    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Left edge. */
body.page-id-533 header.wp-block-template-part .flr-portal-header-inner .flr-brand-logo {
    margin-left: 0 !important;
    margin-right: auto !important;
    flex: 0 0 auto !important;
}

/* Right edge. */
body.page-id-533 header.wp-block-template-part .flr-portal-header-inner > .wp-block-group {
    margin-left: auto !important;
    margin-right: 0 !important;
}

body.page-id-533 header.wp-block-template-part .flr-portal-header-inner .wp-block-navigation,
body.page-id-533 header.wp-block-template-part .flr-portal-header-inner .wp-block-navigation__container {
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Match reviewer workspace breakpoints. */
@media (max-width: 1400px) {
    body.page-id-533 header.wp-block-template-part .flr-portal-header-inner {
    }
}

@media (max-width: 700px) {
    body.page-id-533 header.wp-block-template-part .flr-portal-header-inner {
    }
}

/* Match header-to-dashboard spacing with dashboard card spacing */
body.page-id-533 .wp-site-blocks {
    gap: 0 !important;
}

body.page-id-533 .wp-site-blocks > main {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
    padding-top: 20px !important;
}

/* Remove TT5 outer content padding so dashboard starts 20px below header */
body.page-id-533 .wp-site-blocks > main > .wp-block-group.alignfull {
    padding-top: 0 !important;
}

/* ============================================================
 * Compliance Review workspace
 * Match reviewer dashboard shell
 * Page 114
 * ============================================================ */

/* Full viewport main, same as reviewer dashboard. */
body.page-id-114 .wp-site-blocks > main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 0 48px !important;
}

/* Reviewer workspace width. */
body.page-id-114 .wp-site-blocks > main > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Remove TT5 nested content restrictions. */
body.page-id-114 main .wp-block-post-content,
body.page-id-114 .wp-block-post-content,
body.page-id-114 .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-114 .wp-block-post-content > *,
body.page-id-114 .entry-content > * {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Remove TT5's large top padding wrapper. */
body.page-id-114 .wp-site-blocks > main > .wp-block-group.alignfull {
    padding-top: 0 !important;
}

/* Hide redundant WordPress page title. */
body.page-id-114 .wp-block-post-title,
body.page-id-114 .entry-title {
    display: none !important;
}

/* Shortcode workspace occupies the full reviewer shell. */
body.page-id-114 .flr-review-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Header uses exactly the same horizontal edges. */
body.page-id-114 header.wp-block-template-part,
body.page-id-114 header.wp-block-template-part > .wp-block-group,
body.page-id-114 header.wp-block-template-part > .wp-block-group > .wp-block-group {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.page-id-114 header.wp-block-template-part .flr-portal-header-inner {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Keep wide tables inside the workspace rather than overflowing the card/page. */
body.page-id-114 .flr-table {
    width: 100% !important;
    max-width: 100% !important;
}

body.page-id-114 .flr-review-wrap {
    overflow-wrap: break-word;
}

@media (max-width: 1400px) {
    body.page-id-114 .wp-site-blocks > main > *,
    body.page-id-114 header.wp-block-template-part .flr-portal-header-inner {
    }
}

@media (max-width: 700px) {
    body.page-id-114 .wp-site-blocks > main > *,
    body.page-id-114 header.wp-block-template-part .flr-portal-header-inner {
    }
}

/* ============================================================
 * Compliance Review - dashboard visual system
 * ============================================================ */

body.page-id-114 {
    background: #f3f6f8;
}

body.page-id-114 .flr-review-wrap {
    color: #17384f;
}

/* Hero matches Workforce Compliance dashboard hero */
body.page-id-114 .flr-review-hero {
    background: #fff;
    border: 1px solid #dbe3e9;
    border-radius: 14px;
    padding: 28px 30px !important;
    margin: 0 0 20px !important;
    box-shadow: 0 2px 10px rgba(22,48,66,.04);
}

body.page-id-114 .flr-dashboard-kicker {
    margin: 0 0 4px;
    color: #62788a;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .05em;
}

body.page-id-114 .flr-review-hero h1 {
    margin: 0 0 5px !important;
    color: #16364e;
    font-size: 36px !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
}

body.page-id-114 .flr-review-hero p {
    margin: 0 !important;
    color: #687d8d;
    font-size: 15px;
}

/* Compact reviewer-tool card */
body.page-id-114 .flr-review-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1px solid #dbe3e9;
    border-radius: 14px;
    padding: 16px 20px;
    margin: 0 0 20px;
    box-shadow: 0 2px 10px rgba(22,48,66,.04);
}

body.page-id-114 .flr-review-tools-label {
    flex: 0 0 auto;
    color: #62788a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
}

body.page-id-114 .flr-review-tools-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

/* Match dashboard buttons */
body.page-id-114 .flr-review-tools .flr-button,
body.page-id-114 .flr-review-register-card .flr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 7px !important;
    background: #0e708b !important;
    color: #fff !important;
    padding: 9px 13px !important;
    text-decoration: none !important;
    font-size: 12px !important;
    line-height: 1.2;
    font-weight: 700 !important;
    white-space: nowrap;
}

/* Staff register matches dashboard cards */
body.page-id-114 .flr-review-register-card {
    width: 100% !important;
    background: #fff;
    border: 1px solid #dbe3e9;
    border-radius: 14px;
    padding: 20px;
    margin: 0 0 20px;
    box-shadow: 0 2px 10px rgba(22,48,66,.04);
}

body.page-id-114 .flr-review-register-card .flr-dashboard-card-heading {
    margin-bottom: 8px;
}

body.page-id-114 .flr-review-register-card h2 {
    margin: 0 0 2px !important;
    color: #16364e;
    font-size: 27px !important;
    line-height: 1.15;
    font-weight: 500 !important;
}

body.page-id-114 .flr-review-register-card .flr-dashboard-card-heading span,
body.page-id-114 .flr-review-register-note {
    color: #687d8d;
    font-size: 13px;
}

body.page-id-114 .flr-review-register-note {
    margin: 0 0 18px;
}

/* Table remains inside its card */
body.page-id-114 .flr-review-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e1e7eb;
    border-radius: 10px;
}

body.page-id-114 .flr-review-table-wrap .flr-table {
    width: 100% !important;
    min-width: 1100px;
    margin: 0 !important;
    border-collapse: collapse;
    background: #fff;
}

body.page-id-114 .flr-review-table-wrap .flr-table th {
    background: #f4f7f9;
    color: #334f62;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid #dbe3e9;
}

body.page-id-114 .flr-review-table-wrap .flr-table td {
    color: #445b6a;
    font-size: 13px;
    padding: 13px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #e7ecef;
}

body.page-id-114 .flr-review-table-wrap .flr-table tbody tr:last-child td {
    border-bottom: 0;
}

@media (max-width: 900px) {
    body.page-id-114 .flr-review-tools {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-id-114 .flr-review-tools-links {
        justify-content: flex-start;
    }

    body.page-id-114 .flr-review-hero h1 {
        font-size: 30px !important;
    }
}

/* Compliance Review register: keep all staff rows inside the card */
body.page-id-114 .flr-review-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.page-id-114 .flr-review-table-wrap .flr-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
}

body.page-id-114 .flr-review-table-wrap .flr-table th,
body.page-id-114 .flr-review-table-wrap .flr-table td {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

/* Give the name column enough room; compress lower-priority columns slightly */
body.page-id-114 .flr-review-table-wrap .flr-table th:nth-child(1),
body.page-id-114 .flr-review-table-wrap .flr-table td:nth-child(1) {
    width: 24%;
}

body.page-id-114 .flr-review-table-wrap .flr-table th:nth-child(2),
body.page-id-114 .flr-review-table-wrap .flr-table td:nth-child(2) {
    width: 9%;
}

body.page-id-114 .flr-review-table-wrap .flr-table th:nth-child(3),
body.page-id-114 .flr-review-table-wrap .flr-table td:nth-child(3) {
    width: 10%;
}

body.page-id-114 .flr-review-table-wrap .flr-table th:nth-child(4),
body.page-id-114 .flr-review-table-wrap .flr-table td:nth-child(4) {
    width: 14%;
}

body.page-id-114 .flr-review-table-wrap .flr-table th:nth-child(5),
body.page-id-114 .flr-review-table-wrap .flr-table td:nth-child(5) {
    width: 10%;
}

body.page-id-114 .flr-review-table-wrap .flr-table th:nth-child(6),
body.page-id-114 .flr-review-table-wrap .flr-table td:nth-child(6) {
    width: 12%;
}

body.page-id-114 .flr-review-table-wrap .flr-table th:nth-child(7),
body.page-id-114 .flr-review-table-wrap .flr-table td:nth-child(7) {
    width: 12%;
}

body.page-id-114 .flr-review-table-wrap .flr-table th:nth-child(8),
body.page-id-114 .flr-review-table-wrap .flr-table td:nth-child(8) {
    width: 9%;
}

/* ============================================================
 * Compliance Review - definitive workspace correction
 * Align all reviewer cards with portal header
 * ============================================================ */

/* Remove Twenty Twenty-Five padding from the page workspace. */
body.page-id-114 .wp-site-blocks > main > * {
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/*
 * flr-review-wrap used to be the visual card itself.
 * It is now only a structural wrapper because the page has
 * dedicated hero/tools/register cards.
 */
body.page-id-114 .flr-review-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    box-sizing: border-box !important;
    overflow: visible !important;
}

/* All principal Compliance Review cards use the full workspace. */
body.page-id-114 .flr-review-hero,
body.page-id-114 .flr-review-tools,
body.page-id-114 .flr-review-register-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Ensure card padding is included within its stated width. */
body.page-id-114 .flr-review-register-card {
    padding: 20px !important;
    overflow: hidden !important;
}

/* Table wrapper must stay inside the card content box. */
body.page-id-114 .flr-review-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
}

/* Table itself must never exceed its wrapper. */
body.page-id-114 .flr-review-table-wrap .flr-table {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Final header navigation alignment */
header.wp-block-template-part .flr-portal-header-inner > .wp-block-group {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

header.wp-block-template-part .flr-portal-header-inner .wp-block-navigation {
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
}

header.wp-block-template-part .flr-portal-header-inner .wp-block-navigation__container {
    justify-content: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* ============================================================
 * Individual Compliance Review
 * ============================================================ */

body.page-id-114 .flr-review-staff-hero {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: #fff;
    border: 1px solid #dbe3e9;
    border-radius: 14px;
    padding: 24px 28px;
    margin: 0 0 20px;
    box-shadow: 0 2px 10px rgba(22,48,66,.04);
}

body.page-id-114 .flr-review-staff-hero-main {
    min-width: 0;
}

body.page-id-114 .flr-review-back {
    display: inline-block;
    margin-bottom: 18px;
    color: #0e708b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

body.page-id-114 .flr-review-staff-hero h2 {
    margin: 2px 0 5px !important;
    color: #16364e;
    font-size: 32px !important;
    line-height: 1.1;
    font-weight: 500 !important;
}

body.page-id-114 .flr-review-staff-hero p {
    margin: 0;
    color: #687d8d;
    font-size: 14px;
}

body.page-id-114 .flr-review-staff-statuses {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

body.page-id-114 .flr-review-status-box {
    min-width: 155px;
    background: #f7f9fa;
    border: 1px solid #dde5ea;
    border-radius: 10px;
    padding: 12px 14px;
}

body.page-id-114 .flr-review-status-box span {
    display: block;
    margin-bottom: 3px;
    color: #6b7d8a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body.page-id-114 .flr-review-status-box strong {
    display: block;
    color: #16364e;
    font-size: 14px;
}

/* Summary card */
body.page-id-114 .flr-review-summary-card {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 20px;
}

body.page-id-114 .flr-review-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1px;
    background: #e3e9ed;
    border: 1px solid #e3e9ed;
    border-radius: 10px;
    overflow: hidden;
}

body.page-id-114 .flr-review-summary-item {
    min-width: 0;
    background: #fff;
    padding: 14px 16px;
}

body.page-id-114 .flr-review-summary-item span {
    display: block;
    margin-bottom: 4px;
    color: #687d8d;
    font-size: 11px;
    font-weight: 700;
}

body.page-id-114 .flr-review-summary-item strong {
    display: block;
    color: #17384f;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Every subsequent review section uses the same hierarchy */
body.page-id-114 .flr-review-staff-hero ~ h2 {
    margin: 26px 0 10px !important;
    color: #16364e;
    font-size: 23px !important;
    line-height: 1.2;
    font-weight: 500 !important;
}

body.page-id-114 .flr-review-staff-hero ~ .flr-card {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dbe3e9;
    border-radius: 14px;
    background: #fff;
    padding: 20px 22px;
    margin: 0 0 20px;
    box-shadow: 0 2px 10px rgba(22,48,66,.04);
}

/* Forms */
body.page-id-114 .flr-card input[type=text],
body.page-id-114 .flr-card input[type=date],
body.page-id-114 .flr-card select,
body.page-id-114 .flr-card textarea {
    width: 100%;
    max-width: 720px;
    box-sizing: border-box;
}

/* Wide review tables remain inside their cards */
body.page-id-114 .flr-training-table-wrap,
body.page-id-114 .flr-dashboard-register-wrap {
    max-width: 100%;
    overflow-x: auto;
}

/* Mobile */
@media (max-width: 900px) {
    body.page-id-114 .flr-review-staff-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    body.page-id-114 .flr-review-staff-statuses {
        width: 100%;
        flex-wrap: wrap;
    }

    body.page-id-114 .flr-review-status-box {
        flex: 1 1 180px;
    }

    body.page-id-114 .flr-review-summary-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 600px) {
    body.page-id-114 .flr-review-summary-grid {
        grid-template-columns: 1fr;
    }

    body.page-id-114 .flr-review-staff-hero h2 {
        font-size: 27px !important;
    }
}

/* Individual reviewer sections */
body.page-id-114 .flr-review-section-card {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 20px !important;
    padding: 22px !important;
}

body.page-id-114 .flr-review-section-card .flr-dashboard-card-heading {
    margin-bottom: 18px !important;
}

body.page-id-114 .flr-review-section-card .flr-dashboard-card-heading h2 {
    margin: 0 0 3px !important;
    color: #16364e !important;
    font-size: 23px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
}

body.page-id-114 .flr-review-section-card .flr-dashboard-card-heading span {
    color: #687d8d !important;
    font-size: 13px !important;
}

body.page-id-114 .flr-review-detail-table {
    margin: 0 !important;
    border: 1px solid #e2e8ec !important;
    border-radius: 10px !important;
}

body.page-id-114 .flr-review-detail-table th {
    width: 32%;
    background: #f6f8f9 !important;
    color: #536a7a !important;
    font-weight: 700 !important;
}

body.page-id-114 .flr-review-section-card form {
    margin-bottom: 0 !important;
}

body.page-id-114 .flr-review-section-card p:last-child,
body.page-id-114 .flr-review-section-card form > p:last-child {
    margin-bottom: 0 !important;
}

/* ============================================================
 * Individual staff review - definitive typography and cards
 * ============================================================ */

/* Base typography */
body.page-id-114 .flr-review-wrap {
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: #405868 !important;
}

body.page-id-114 .flr-review-wrap p,
body.page-id-114 .flr-review-wrap label,
body.page-id-114 .flr-review-wrap td,
body.page-id-114 .flr-review-wrap select,
body.page-id-114 .flr-review-wrap input,
body.page-id-114 .flr-review-wrap textarea {
    font-size: 14px !important;
    line-height: 1.45 !important;
}

/* Main individual-record hero */
body.page-id-114 .flr-review-staff-hero h2 {
    font-size: 32px !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
    color: #16364e !important;
}

/* All card section headings */
body.page-id-114 .flr-review-summary-card h2,
body.page-id-114 .flr-review-section-card h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: #16364e !important;
}

/* Remaining legacy section headings */
body.page-id-114 .flr-review-summary-card ~ h2,
body.page-id-114 .flr-review-section-card ~ h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: #16364e !important;
    margin: 24px 0 10px !important;
}

/* Card subtitles */
body.page-id-114 .flr-dashboard-card-heading span {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #687d8d !important;
}

/* All remaining legacy flr-card sections */
body.page-id-114 .flr-review-staff-hero ~ .flr-card,
body.page-id-114 .flr-review-summary-card ~ .flr-card,
body.page-id-114 .flr-review-section-card ~ .flr-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #dbe3e9 !important;
    border-radius: 14px !important;
    padding: 22px !important;
    margin: 0 0 20px !important;
    box-shadow: 0 2px 10px rgba(22,48,66,.04) !important;
}

/* Final compliance form also becomes a card */
body.page-id-114 h2 + form {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #dbe3e9 !important;
    border-radius: 14px !important;
    padding: 22px !important;
    margin: 0 0 20px !important;
    box-shadow: 0 2px 10px rgba(22,48,66,.04) !important;
}

/* Secondary headings inside cards */
body.page-id-114 .flr-review-wrap h3 {
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    color: #16364e !important;
    margin: 22px 0 10px !important;
}

/* Tables */
body.page-id-114 .flr-review-wrap .flr-table th {
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #334f62 !important;
}

body.page-id-114 .flr-review-wrap .flr-table td {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #445b6a !important;
}

/* Forms */
body.page-id-114 .flr-review-wrap input[type=text],
body.page-id-114 .flr-review-wrap input[type=date],
body.page-id-114 .flr-review-wrap select,
body.page-id-114 .flr-review-wrap textarea {
    padding: 9px 11px !important;
    border: 1px solid #bcc9d1 !important;
    border-radius: 7px !important;
    background: #fff !important;
}

/* Standard buttons */
body.page-id-114 .flr-review-wrap .flr-button,
body.page-id-114 .flr-review-wrap button {
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

/* Consistent vertical rhythm */
body.page-id-114 .flr-review-summary-card,
body.page-id-114 .flr-review-section-card {
    margin-bottom: 20px !important;
}

/* Training table remains usable */
body.page-id-114 .flr-training-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

body.page-id-114 .flr-training-table {
    min-width: 1180px !important;
}

/* Reviewer notes full usable width */
body.page-id-114 textarea[name="review_notes"],
body.page-id-114 textarea[name="account_approval_note"],
body.page-id-114 textarea[name="registration_check_notes"],
body.page-id-114 textarea[name="suspension_reason"],
body.page-id-114 textarea[name="lifecycle_reason"] {
    width: 100% !important;
    max-width: 900px !important;
}

/* Mandatory Training reviewer card */
body.page-id-114 .flr-review-training-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 22px !important;
    margin: 0 0 20px !important;
}

body.page-id-114 .flr-review-training-card .flr-dashboard-card-heading h2 {
    margin: 0 0 3px !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: #16364e !important;
}

body.page-id-114 .flr-review-training-card .flr-dashboard-card-heading span {
    font-size: 13px !important;
    color: #687d8d !important;
}

body.page-id-114 .flr-review-training-card > p {
    font-size: 14px !important;
}

/* ============================================================
 * Individual review - post-training governance sections
 * ============================================================ */

body.page-id-114 .flr-review-registration-card,
body.page-id-114 .flr-review-dbs-card,
body.page-id-114 .flr-review-suspension-card,
body.page-id-114 .flr-review-operational-card,
body.page-id-114 .flr-review-compliance-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 22px !important;
    margin: 0 0 20px !important;
}

/* Match all section titles */
body.page-id-114 .flr-review-section-card .flr-dashboard-card-heading h2 {
    margin: 0 0 3px !important;
    color: #16364e !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

/* Match Dashboard subtitle treatment */
body.page-id-114 .flr-review-section-card .flr-dashboard-card-heading span {
    color: #687d8d !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Consistent body size */
body.page-id-114 .flr-review-section-card p,
body.page-id-114 .flr-review-section-card label {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Form fields */
body.page-id-114 .flr-review-section-card input[type="text"],
body.page-id-114 .flr-review-section-card input[type="date"],
body.page-id-114 .flr-review-section-card select,
body.page-id-114 .flr-review-section-card textarea {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 760px !important;
    font-size: 14px !important;
}

/* Do not stretch checkboxes */
body.page-id-114 .flr-review-section-card input[type="checkbox"] {
    width: auto !important;
}

/* Compliance tables */
body.page-id-114 .flr-review-compliance-card .flr-table,
body.page-id-114 .flr-review-registration-card .flr-table,
body.page-id-114 .flr-review-dbs-card .flr-table {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

body.page-id-114 .flr-review-compliance-card .flr-table th,
body.page-id-114 .flr-review-compliance-card .flr-table td {
    padding: 12px 14px !important;
}

/* Internal history headings */
body.page-id-114 .flr-review-section-card h3 {
    margin: 22px 0 10px !important;
    color: #16364e !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

/* Long DBS prerequisite warning stays contained */
body.page-id-114 .flr-review-dbs-card {
    overflow-wrap: anywhere;
}

/* Final reviewer notes */
body.page-id-114 .flr-review-compliance-card textarea[name="review_notes"] {
    width: 100% !important;
    max-width: 900px !important;
}

/* ============================================================
 * Registration + DBS combined verification card
 * ============================================================ */

body.page-id-114 .flr-review-verification-pair {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    overflow: hidden !important;
}

body.page-id-114 .flr-review-verification-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    width: 100% !important;
    gap: 0 !important;
    align-items: stretch !important;
}

body.page-id-114 .flr-review-verification-panel {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    padding: 22px 24px;
    background: #fff;
}

/* Vertical divider */
body.page-id-114 .flr-review-verification-panel + .flr-review-verification-panel {
    border-left: 1px solid #dbe3e9 !important;
    border-top: 0 !important;
}

/* Section headings */
body.page-id-114 .flr-review-verification-panel .flr-dashboard-card-heading {
    margin-bottom: 18px !important;
}

body.page-id-114 .flr-review-verification-panel .flr-dashboard-card-heading h2 {
    margin: 0 0 3px !important;
    color: #16364e !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

body.page-id-114 .flr-review-verification-panel .flr-dashboard-card-heading span {
    color: #687d8d !important;
    font-size: 13px !important;
}

/* Keep forms usable within half-width panels */
body.page-id-114 .flr-review-verification-panel input[type="text"],
body.page-id-114 .flr-review-verification-panel input[type="date"],
body.page-id-114 .flr-review-verification-panel select,
body.page-id-114 .flr-review-verification-panel textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Tables/history remain contained */
body.page-id-114 .flr-review-verification-panel .flr-table,
body.page-id-114 .flr-review-verification-panel .flr-dashboard-register-wrap {
    max-width: 100% !important;
}

/* Stack on smaller screens */
@media (max-width: 700px) {
    body.page-id-114 .flr-review-verification-grid {
        grid-template-columns: 1fr !important;
    }

    body.page-id-114 .flr-review-verification-panel + .flr-review-verification-panel {
        border-left: 0 !important;
        border-top: 1px solid #dbe3e9 !important;
    }
}

/* ============================================================
 * Compliance Review - canonical governance split card
 * Manual Suspension + Operational Status
 * ============================================================ */

body.page-id-114 .flr-review-governance-pair{width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:0!important;margin:0 0 20px!important;overflow:hidden!important;}
body.page-id-114 .flr-review-governance-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%!important;gap:0!important;align-items:stretch!important;}
body.page-id-114 .flr-review-governance-panel{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;padding:22px 24px!important;background:#fff!important;display:flex!important;flex-direction:column!important;}
body.page-id-114 .flr-review-governance-panel + .flr-review-governance-panel{border-left:1px solid #dbe3e9!important;border-top:0!important;}
body.page-id-114 .flr-review-governance-panel .flr-dashboard-card-heading{margin-bottom:18px!important;}
body.page-id-114 .flr-review-governance-panel .flr-dashboard-card-heading h2{margin:0 0 3px!important;color:#16364e!important;font-size:24px!important;line-height:1.2!important;font-weight:500!important;}
body.page-id-114 .flr-review-governance-panel .flr-dashboard-card-heading span{color:#687d8d!important;font-size:13px!important;line-height:1.4!important;}
body.page-id-114 .flr-review-governance-panel p,body.page-id-114 .flr-review-governance-panel label{font-size:14px!important;line-height:1.5!important;}
body.page-id-114 .flr-review-governance-panel textarea,body.page-id-114 .flr-review-governance-panel select,body.page-id-114 .flr-review-governance-panel input[type="text"]{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
body.page-id-114 .flr-review-governance-panel input[type="checkbox"]{width:auto!important;}
body.page-id-114 .flr-review-governance-panel > form{margin-top:auto!important;}
body.page-id-114 .flr-review-governance-panel textarea{height:110px!important;min-height:110px!important;resize:vertical!important;}
body.page-id-114 .flr-review-governance-panel form > p{margin-top:0!important;margin-bottom:14px!important;}
body.page-id-114 .flr-review-governance-panel form > p:last-of-type{margin-top:auto!important;margin-bottom:0!important;min-height:40px!important;display:flex!important;align-items:center!important;gap:8px!important;}
body.page-id-114 .flr-review-governance-panel .flr-button{min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;}
@media (max-width:700px){body.page-id-114 .flr-review-governance-grid{grid-template-columns:1fr!important;}body.page-id-114 .flr-review-governance-panel + .flr-review-governance-panel{border-left:0!important;border-top:1px solid #dbe3e9!important;}}

/* ============================================================
 * Operational Status - immediate deployability cue
 * ============================================================ */

body.page-id-114 .flr-review-status-box.flr-review-status-green {
    background: #e8f6ec !important;
    border: 2px solid #39a75a !important;
}

body.page-id-114 .flr-review-status-box.flr-review-status-green span {
    color: #28733d !important;
}

body.page-id-114 .flr-review-status-box.flr-review-status-green strong {
    color: #17632b !important;
}

body.page-id-114 .flr-review-status-box.flr-review-status-red {
    background: #fff0ed !important;
    border: 2px solid #d34a37 !important;
}

body.page-id-114 .flr-review-status-box.flr-review-status-red span {
    color: #9d3a2b !important;
}

body.page-id-114 .flr-review-status-box.flr-review-status-red strong {
    color: #8b2d1b !important;
}

/* Make the state visually prominent */
body.page-id-114 .flr-review-status-box {
    min-width: 175px !important;
}

body.page-id-114 .flr-review-status-box strong {
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* ============================================================
 * Driving governance
 * ============================================================ */

body.page-id-114 .flr-review-driving-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 22px !important;
    margin: 0 0 20px !important;
}

body.page-id-114 .flr-review-driving-card .flr-dashboard-card-heading {
    margin-bottom: 18px !important;
}

body.page-id-114 .flr-review-driving-card .flr-dashboard-card-heading h2 {
    margin: 0 0 3px !important;
    color: #16364e !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

body.page-id-114 .flr-review-driving-card .flr-dashboard-card-heading span {
    color: #687d8d !important;
    font-size: 13px !important;
}

body.page-id-114 .flr-review-driving-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1px;
    background: #e3e9ed;
    border: 1px solid #e3e9ed;
    border-radius: 10px;
    overflow: hidden;
}

body.page-id-114 .flr-review-driving-item {
    background: #fff;
    padding: 16px 18px;
}

body.page-id-114 .flr-review-driving-item span {
    display: block;
    margin-bottom: 4px;
    color: #687d8d;
    font-size: 12px;
    font-weight: 700;
}

body.page-id-114 .flr-review-driving-item strong {
    display: block;
    color: #17384f;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 700px) {
    body.page-id-114 .flr-review-driving-summary {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
 * Inline FLR Role editor - Identity & Registration
 * ============================================================ */

body.page-id-114 .flr-inline-role-row {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 7px;
}

body.page-id-114 .flr-inline-role-current {
    display: inline !important;
    margin: 0 !important;
    color: #687d8d !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
}

body.page-id-114 .flr-inline-role-current b {
    color: #405868;
    font-weight: 700;
}

body.page-id-114 .flr-inline-role-editor {
    display: inline-block;
    position: relative;
}

body.page-id-114 .flr-inline-role-editor > summary {
    display: inline-block;
    list-style: none;
    cursor: pointer;
    padding: 3px 8px;
    border: 1px solid #afbec8;
    border-radius: 5px;
    background: #f7f9fa;
    color: #244b65;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .04em;
}

body.page-id-114 .flr-inline-role-editor > summary::-webkit-details-marker {
    display: none;
}

body.page-id-114 .flr-inline-role-editor > summary:hover {
    background: #edf3f6;
    border-color: #8da3b1;
}

body.page-id-114 .flr-inline-role-editor-panel {
    position: absolute;
    z-index: 20;
    top: calc(100% + 7px);
    left: 0;
    width: 290px;
    box-sizing: border-box;
    padding: 14px;
    background: #fff;
    border: 1px solid #d6e0e6;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(22,48,66,.14);
}

body.page-id-114 .flr-inline-role-editor-panel form {
    margin: 0 !important;
}

body.page-id-114 .flr-inline-role-editor-panel label > span {
    display: block !important;
    margin: 0 0 5px !important;
    color: #536a7a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body.page-id-114 .flr-inline-role-editor-panel select {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
}

body.page-id-114 .flr-inline-role-editor-panel button {
    margin: 0 !important;
}

/* ============================================================
 * Profession inline role editor refinements
 * ============================================================ */

body.page-id-114 .flr-review-summary-card,
body.page-id-114 .flr-review-summary-grid,
body.page-id-114 .flr-review-summary-item {
    overflow: visible !important;
}

body.page-id-114 .flr-profession-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.page-id-114 .flr-profession-inline > strong {
    margin: 0 !important;
}

body.page-id-114 .flr-inline-role-editor {
    position: relative;
    z-index: 50;
}

body.page-id-114 .flr-inline-role-editor > summary {
    vertical-align: middle;
}

/* Keep editor fully visible */
body.page-id-114 .flr-inline-role-editor-panel {
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: 300px !important;
    min-height: 132px !important;
    overflow: visible !important;
    z-index: 999 !important;
}

/* Ensure save button is visible */
body.page-id-114 .flr-inline-role-editor-panel button {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    margin-top: 4px !important;
}

/* Remove obsolete extra role-line styling */
body.page-id-114 .flr-inline-role-row,
body.page-id-114 .flr-inline-role-current {
    display: none !important;
}

/* ============================================================
 * Identity & Registration - unified edit workflow
 * ============================================================ */

body.page-id-114 .flr-review-summary-card {
    position: relative;
}

body.page-id-114 .flr-identity-edit {
    margin-top: 18px;
    text-align: right;
}

body.page-id-114 .flr-identity-edit > summary {
    list-style: none;
}

body.page-id-114 .flr-identity-edit > summary::-webkit-details-marker {
    display: none;
}

body.page-id-114 .flr-identity-edit-button {
    display: inline-block !important;
    width: auto !important;
    cursor: pointer;
    padding: 7px 14px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .04em;
}

body.page-id-114 .flr-identity-edit[open] > .flr-identity-edit-button {
    display: none !important;
}

body.page-id-114 .flr-identity-edit-panel {
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid #dbe3e9;
    text-align: left;
}

body.page-id-114 .flr-identity-edit-heading {
    margin-bottom: 18px;
}

body.page-id-114 .flr-identity-edit-heading h3 {
    margin: 0 0 4px !important;
    font-size: 18px !important;
    color: #16364e !important;
}

body.page-id-114 .flr-identity-edit-heading p {
    margin: 0 !important;
    color: #687d8d !important;
    font-size: 13px !important;
}

body.page-id-114 .flr-identity-edit-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px 18px;
}

body.page-id-114 .flr-identity-edit-grid label {
    display: block;
    margin: 0 !important;
}

body.page-id-114 .flr-identity-edit-grid label > span {
    display: block;
    margin: 0 0 6px;
    color: #536a7a;
    font-size: 12px;
    font-weight: 700;
}

body.page-id-114 .flr-identity-edit-grid input,
body.page-id-114 .flr-identity-edit-grid select {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

body.page-id-114 .flr-identity-edit-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

body.page-id-114 .flr-identity-edit-actions button {
    width: auto !important;
    margin: 0 !important;
}

@media (max-width: 1050px) {
    body.page-id-114 .flr-identity-edit-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 650px) {
    body.page-id-114 .flr-identity-edit-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
 * Compliance Review - canonical staff hero + identity record
 * ============================================================ */
body.page-id-114 .flr-review-staff-statuses {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(155px,1fr)) !important;
    gap: 10px !important;
    min-width: 360px !important;
}
body.page-id-114 .flr-identity-layout {
    display: grid;
    grid-template-columns: 150px minmax(0,1fr);
    gap: 24px;
    align-items: start !important;
}
body.page-id-114 .flr-identity-photo {
    width: 150px !important;
    height: 116px !important;
    min-height: 116px !important;
    max-height: 116px !important;
    align-self: start !important;
}
body.page-id-114 .flr-identity-photo img,
body.page-id-114 .flr-identity-photo-placeholder {
    width: 150px !important;
    height: 116px !important;
    min-height: 116px !important;
    max-height: 116px !important;
    box-sizing: border-box !important;
    border: 1px solid #dbe3e9;
    border-radius: 10px;
    object-fit: cover !important;
    object-position: center center !important;
}
body.page-id-114 .flr-identity-photo img {
    display: block;
}
body.page-id-114 .flr-identity-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #f5f7f8;
    color: #718692;
    text-align: center;
    font-size: 12px;
}
body.page-id-114 .flr-identity-details {
    display: block !important;
    height: 116px !important;
    min-height: 116px !important;
    max-height: 116px !important;
    box-sizing: border-box !important;
    border: 1px solid #dfe6ea;
    border-radius: 10px;
    overflow: hidden;
}
body.page-id-114 .flr-identity-line {
    display: grid;
    flex: none !important;
    border-bottom: 1px solid #dfe6ea;
}
body.page-id-114 .flr-identity-line:last-child {
    border-bottom: 0;
}
body.page-id-114 .flr-identity-line-primary,
body.page-id-114 .flr-identity-line-secondary {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    box-sizing: border-box !important;
}
body.page-id-114 .flr-identity-line-primary {
    background: #f6f9fa !important;
}
body.page-id-114 .flr-identity-line-secondary {
    background: #fff !important;
}
body.page-id-114 .flr-identity-line > div {
    height: 58px !important;
    min-height: 58px !important;
    box-sizing: border-box !important;
    padding: 8px 16px !important;
    border-right: 1px solid #dfe6ea;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
body.page-id-114 .flr-identity-line > div:last-child {
    border-right: 0;
}
body.page-id-114 .flr-identity-line span {
    display: block;
    margin: 0 0 3px !important;
    color: #687d8d;
    font-size: 10px !important;
    line-height: 1.1 !important;
    font-weight: 700;
}
body.page-id-114 .flr-identity-line strong {
    display: block;
    margin: 0 !important;
    color: #17384f;
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 600;
    overflow-wrap: anywhere;
}
body.page-id-114 .flr-identity-edit {
    margin-top: 16px !important;
}
@media (max-width:950px) {
    body.page-id-114 .flr-review-staff-hero {
        flex-direction: column;
    }
    body.page-id-114 .flr-review-staff-statuses {
        width: 100%;
        min-width: 0 !important;
    }
}
@media (max-width:700px) {
    body.page-id-114 .flr-identity-layout {
        grid-template-columns: 1fr;
    }
    body.page-id-114 .flr-identity-details {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    body.page-id-114 .flr-identity-line-primary,
    body.page-id-114 .flr-identity-line-secondary {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    body.page-id-114 .flr-identity-line > div {
        height: auto !important;
        min-height: 54px !important;
        border-right: 0;
        border-bottom: 1px solid #dfe6ea;
    }
    body.page-id-114 .flr-identity-line > div:last-child {
        border-bottom: 0;
    }
    body.page-id-114 .flr-identity-photo,
    body.page-id-114 .flr-identity-photo img,
    body.page-id-114 .flr-identity-photo-placeholder {
        width: 125px !important;
        height: 125px !important;
        min-height: 125px !important;
        max-height: 125px !important;
    }
}

/* ============================================================
 * Staff ID + Verification split card
 * ============================================================ */

body.page-id-114 .flr-review-id-verification-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 22px !important;
    margin: 0 0 20px !important;
}

body.page-id-114 .flr-review-id-verification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    border: 1px solid #dbe3e9;
    border-radius: 10px;
    overflow: hidden;
}

body.page-id-114 .flr-review-id-verification-panel {
    box-sizing: border-box;
    padding: 22px;
    background: #fff;
    min-width: 0;
}

body.page-id-114 .flr-review-id-verification-panel + .flr-review-id-verification-panel {
    border-left: 1px solid #dbe3e9;
}

body.page-id-114 .flr-review-id-verification-panel h3 {
    margin: 0 0 16px !important;
    color: #16364e !important;
    font-size: 19px !important;
    font-weight: 600 !important;
}

/* Verification table */
body.page-id-114 .flr-review-verification-table {
    margin: 0 0 18px !important;
}

body.page-id-114 .flr-review-verification-table th {
    width: 42%;
    background: #f6f8f9 !important;
}

body.page-id-114 .flr-review-verification-table th,
body.page-id-114 .flr-review-verification-table td {
    padding: 10px 12px !important;
}

/* Token action */
body.page-id-114 .flr-verification-token-form {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 18px !important;
}

body.page-id-114 .flr-verification-token-form label {
    flex: 1 1 230px;
    margin: 0 !important;
}

body.page-id-114 .flr-verification-token-form label > span {
    display: block;
    margin-bottom: 5px;
    color: #536a7a;
    font-size: 11px;
    font-weight: 700;
}

body.page-id-114 .flr-verification-token-form select {
    width: 100% !important;
    max-width: none !important;
}

body.page-id-114 .flr-verification-token-form button {
    margin: 0 !important;
    white-space: nowrap;
}

/* QR URL */
body.page-id-114 .flr-review-verification-url {
    padding: 12px 14px;
    border-radius: 8px;
    background: #f6f8f9;
}

body.page-id-114 .flr-review-verification-url span {
    display: block;
    margin-bottom: 5px;
    color: #687d8d;
    font-size: 11px;
    font-weight: 700;
}

body.page-id-114 .flr-review-verification-url code {
    display: block;
    overflow-wrap: anywhere;
    font-size: 11px;
}

/* ID card preview */
body.page-id-114 .flr-review-id-card-panel {
    text-align: center;
}

body.page-id-114 .flr-review-id-card-preview {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 14px;
}

body.page-id-114 .flr-review-id-card-preview iframe {
    width: 330px;
    height: 470px;
    max-width: 100%;
    border: 1px solid #dbe3e9;
    border-radius: 10px;
    background: #eef3f6;
}

body.page-id-114 .flr-review-id-card-actions {
    margin: 0 !important;
}

body.page-id-114 .flr-review-id-card-unavailable {
    padding: 38px 24px;
    border: 1px dashed #cbd6dd;
    border-radius: 10px;
    background: #f7f9fa;
    color: #607786;
}

body.page-id-114 .flr-review-id-card-unavailable strong {
    display: block;
    margin-bottom: 6px;
    color: #16364e;
}

/* Responsive */
@media (max-width: 1000px) {
    body.page-id-114 .flr-review-id-verification-grid {
        grid-template-columns: 1fr;
    }

    body.page-id-114 .flr-review-id-verification-panel + .flr-review-id-verification-panel {
        border-left: 0;
        border-top: 1px solid #dbe3e9;
    }
}

/* Staff ID print controls */
body.page-id-114 .flr-review-id-print-control {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #dbe3e9;
}

body.page-id-114 .flr-review-id-print-control p {
    margin: 0 0 12px !important;
    color: #687d8d !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

body.page-id-114 .flr-review-id-print-control p strong {
    color: #405868;
}

/* Right side becomes preview only */
body.page-id-114 .flr-review-id-card-preview {
    margin: 0 !important;
}

body.page-id-114 .flr-review-id-card-preview iframe {
    height: 410px !important;
}

/* ID card preview - card only */
body.page-id-114 .flr-review-id-card-preview {
    background: #fff !important;
    margin: 0 !important;
}

body.page-id-114 .flr-review-id-card-preview iframe {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    height: 390px !important;
}

/* ============================================================
 * Account Status - inline governance editor
 * ============================================================ */

body.page-id-114 .flr-account-status-box {
    position: relative;
    overflow: visible !important;
}

body.page-id-114 .flr-status-inline-edit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

body.page-id-114 .flr-account-status-editor {
    position: relative;
    z-index: 100;
}

body.page-id-114 .flr-account-status-editor > summary {
    display: inline-block;
    list-style: none;
    cursor: pointer;

    padding: 3px 7px;

    border: 1px solid #aebdc7;
    border-radius: 5px;

    background: #fff;
    color: #244b65;

    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .04em;
}

body.page-id-114 .flr-account-status-editor > summary::-webkit-details-marker {
    display: none;
}

body.page-id-114 .flr-account-status-editor > summary:hover {
    background: #edf3f6;
}

body.page-id-114 .flr-account-status-editor-panel {
    position: absolute;
    z-index: 999;

    top: calc(100% + 8px);
    right: 0;

    width: 320px;
    box-sizing: border-box;

    padding: 16px;

    background: #fff;
    border: 1px solid #d5e0e6;
    border-radius: 9px;
    box-shadow: 0 10px 28px rgba(22,48,66,.16);

    text-align: left;
}

body.page-id-114 .flr-account-status-editor-panel form {
    margin: 0 !important;
}

body.page-id-114 .flr-account-status-editor-panel label {
    display: block;
    margin: 0 0 12px !important;
}

body.page-id-114 .flr-account-status-editor-panel label > span {
    display: block;
    margin: 0 0 5px;

    color: #536a7a;
    font-size: 11px;
    font-weight: 700;
}

body.page-id-114 .flr-account-status-editor-panel select,
body.page-id-114 .flr-account-status-editor-panel textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

body.page-id-114 .flr-account-status-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

body.page-id-114 .flr-account-status-editor-actions button {
    width: auto !important;
    margin: 0 !important;
}

/* ============================================================
 * Mandatory Training - canonical reviewer table
 * ============================================================ */
body.page-id-114 .flr-review-training-card .flr-training-table{
    width:100%!important;
    table-layout:fixed!important;
}
body.page-id-114 .flr-review-training-card .flr-training-table th,
body.page-id-114 .flr-review-training-card .flr-training-table td{
    padding-left:8px!important;
    padding-right:8px!important;
    box-sizing:border-box!important;
    vertical-align:middle!important;
}
body.page-id-114 .flr-review-training-card .flr-training-table th:nth-child(1),
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(1){width:24%!important;}
body.page-id-114 .flr-review-training-card .flr-training-table th:nth-child(2),
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(2){width:10%!important;}
body.page-id-114 .flr-review-training-card .flr-training-table th:nth-child(3),
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(3){width:10%!important;white-space:nowrap!important;}
body.page-id-114 .flr-review-training-card .flr-training-table th:nth-child(4),
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(4){width:10%!important;white-space:nowrap!important;}
body.page-id-114 .flr-review-training-card .flr-training-table th:nth-child(5),
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(5){width:9%!important;}
body.page-id-114 .flr-review-training-card .flr-training-table th:nth-child(6),
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(6){width:16%!important;}
body.page-id-114 .flr-review-training-card .flr-training-table th:nth-child(7),
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(7){width:19%!important;padding-right:18px!important;}
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(5) .flr-button,
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(5) .flr-button-small{
    height:42px!important;min-height:42px!important;padding:0 18px!important;
    line-height:1!important;display:inline-flex!important;align-items:center!important;
    justify-content:center!important;white-space:nowrap!important;box-sizing:border-box!important;
}
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(6) select{
    width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;
    line-height:1.1!important;padding-top:0!important;padding-bottom:0!important;box-sizing:border-box!important;
}
body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(7) textarea{
    display:block!important;width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;
    min-width:0!important;height:42px!important;min-height:42px!important;margin:0 28px 0 0!important;
    padding:8px 10px!important;line-height:1.2!important;border:1px solid #b8c9d4!important;
    border-radius:8px!important;box-sizing:border-box!important;resize:vertical!important;overflow:auto!important;
}
body.page-id-114 .flr-review-training-card .flr-training-table-wrap{
    padding-right:12px!important;box-sizing:border-box!important;overflow-x:hidden!important;
}
body.page-id-114 .flr-training-actions{
    display:flex!important;align-items:center!important;gap:10px!important;
    width:100%!important;margin-top:18px!important;
}
body.page-id-114 .flr-training-actions .flr-button{
    min-height:42px!important;height:42px!important;display:inline-flex!important;
    align-items:center!important;justify-content:center!important;padding:0 18px!important;box-sizing:border-box!important;
}
body.page-id-114 .flr-review-training-card .flr-training-actions>button:nth-child(1){order:1!important;}
body.page-id-114 .flr-review-training-card .flr-training-actions>button:nth-child(3){order:2!important;}
body.page-id-114 .flr-review-training-card .flr-training-actions>.flr-training-requirements-open{
    order:3!important;margin-left:auto!important;
}
@media(max-width:700px){
    body.page-id-114 .flr-training-actions{flex-direction:column!important;align-items:stretch!important;}
    body.page-id-114 .flr-review-training-card .flr-training-actions>.flr-training-requirements-open{margin-left:0!important;}
}


/* Identity & Registration EDIT control */
body.page-id-114 .flr-identity-edit {
    margin-top: 16px !important;
    text-align: right !important;
}

body.page-id-114 .flr-identity-edit > summary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    list-style: none !important;
    cursor: pointer !important;

    min-height: 38px !important;
    padding: 0 18px !important;

    border: 1px solid #12657e !important;
    border-radius: 8px !important;

    background: #12657e !important;
    color: #fff !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    text-decoration: none !important;
}

body.page-id-114 .flr-identity-edit > summary::-webkit-details-marker {
    display: none !important;
}

body.page-id-114 .flr-identity-edit > summary:hover {
    opacity: .9;
}

/* Match Staff ID & Verification card title to other reviewer cards */
body.page-id-114 .flr-review-id-verification-card > .flr-dashboard-card-heading h2 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    margin: 0 0 3px !important;
}

body.page-id-114 .flr-review-id-verification-card > .flr-dashboard-card-heading span {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* ============================================================
 * Final Compliance Review - align evidence buttons/dropdowns
 * ============================================================ */

body.page-id-114 .flr-review-compliance-card .flr-button,
body.page-id-114 .flr-review-compliance-card select {
    height: 42px !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
}

/* Evidence button */
body.page-id-114 .flr-review-compliance-card .flr-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Review dropdown */
body.page-id-114 .flr-review-compliance-card select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 40px !important;
}

/* Vertically centre controls within table cells */
body.page-id-114 .flr-review-compliance-card td {
    vertical-align: middle !important;
}

/* Final Compliance Review - full-width reviewer notes */
body.page-id-114 .flr-review-compliance-card textarea[name="review_notes"] {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* ============================================================
 * MANAGEMENT REPORTS
 * Match Compliance Review visual system
 * ============================================================ */

/* Main workspace */
/* ------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------ */

.flr-reports > .flr-dashboard-hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px !important;
    padding: 24px 28px !important;
    box-sizing: border-box !important;

    background: #fff !important;
    border: 1px solid #dbe3e9 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(20, 48, 66, .04) !important;
}

.flr-reports > .flr-dashboard-hero .flr-dashboard-kicker {
    margin: 0 0 5px !important;
    color: #657b8a !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
}

.flr-reports > .flr-dashboard-hero h1 {
    margin: 0 0 7px !important;
    color: #16364e !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}

.flr-reports > .flr-dashboard-hero p:last-child {
    margin: 0 !important;
    color: #687d8d !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* ------------------------------------------------------------
 * Workforce status summary
 * ------------------------------------------------------------ */

.flr-reports > .flr-report-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 20px !important;
}

.flr-reports .flr-dashboard-stat {
    min-width: 0 !important;
    min-height: 86px !important;
    box-sizing: border-box !important;

    padding: 16px 18px !important;

    background: #fff !important;
    border: 1px solid #dbe3e9 !important;
    border-radius: 9px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.flr-reports .flr-dashboard-stat strong {
    display: block !important;
    margin: 0 0 4px !important;

    color: #16364e !important;
    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

.flr-reports .flr-dashboard-stat span {
    color: #667c8b !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

/* Status emphasis */
.flr-reports .flr-stat-green {
    border-left: 4px solid #3f8d64 !important;
}

.flr-reports .flr-stat-amber {
    border-left: 4px solid #c58a28 !important;
}

.flr-reports .flr-stat-red {
    border-left: 4px solid #b94d45 !important;
}

.flr-reports .flr-stat-grey {
    border-left: 4px solid #87949d !important;
}

/* ------------------------------------------------------------
 * Main report cards
 * ------------------------------------------------------------ */

.flr-reports > .flr-dashboard-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;

    margin: 0 0 20px !important;
    padding: 22px 24px !important;

    background: #fff !important;
    border: 1px solid #dbe3e9 !important;
    border-radius: 12px !important;

    box-shadow: 0 2px 8px rgba(20,48,66,.035) !important;
}

.flr-reports .flr-dashboard-card-heading {
    margin: 0 0 18px !important;
}

.flr-reports .flr-dashboard-card-heading h2 {
    margin: 0 0 3px !important;

    color: #16364e !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

.flr-reports .flr-dashboard-card-heading span {
    color: #687d8d !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Expiry overview - four equal status cards */
.flr-reports .flr-dashboard-card > .flr-dashboard-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin: 0 0 20px !important;
}

/* ------------------------------------------------------------
 * Tables
 * ------------------------------------------------------------ */

.flr-reports .flr-dashboard-register-wrap {
    width: 100% !important;
    max-width: none !important;
    overflow-x: auto !important;

    border: 1px solid #dbe3e9 !important;
    border-radius: 9px !important;
}

.flr-reports .flr-dashboard-register {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;

    background: #fff !important;
}

.flr-reports .flr-dashboard-register th {
    padding: 11px 13px !important;

    background: #f4f7f9 !important;
    color: #526b7b !important;

    border-bottom: 1px solid #dbe3e9 !important;

    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    text-align: left !important;
    text-transform: none !important;
}

.flr-reports .flr-dashboard-register td {
    padding: 11px 13px !important;

    color: #253f51 !important;
    border-bottom: 1px solid #e7edf1 !important;

    font-size: 13px !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
}

.flr-reports .flr-dashboard-register tbody tr:last-child td {
    border-bottom: 0 !important;
}

.flr-reports .flr-dashboard-register tbody tr:hover td {
    background: #fafcfd !important;
}

/* Dates / IDs / counts shouldn't wrap unnecessarily */
.flr-reports .flr-dashboard-register td:nth-child(2),
.flr-reports .flr-dashboard-register td:nth-child(4),
.flr-reports .flr-dashboard-register td:nth-child(5) {
    white-space: nowrap !important;
}

/* ------------------------------------------------------------
 * Buttons / exports
 * ------------------------------------------------------------ */

.flr-reports .flr-button {
    min-height: 40px !important;
    padding: 0 16px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;
    border-radius: 8px !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

/* ------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------ */

@media (max-width: 1100px) {

    .flr-reports > .flr-report-stat-grid {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }

    .flr-reports .flr-dashboard-card > .flr-dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
}

@media (max-width: 700px) {

    .flr-reports {
        width: calc(100% - 24px) !important;
    }

    .flr-reports > .flr-report-stat-grid,
    .flr-reports .flr-dashboard-card > .flr-dashboard-stat-grid {
        grid-template-columns: 1fr !important;
    }

    .flr-reports > .flr-dashboard-hero,
    .flr-reports > .flr-dashboard-card {
        padding: 18px !important;
    }

    .flr-reports > .flr-dashboard-hero h1 {
        font-size: 27px !important;
    }
}

/* ============================================================
 * Management Reports - full working width
 * Match header/logo/menu alignment
 * ============================================================ */

/* Remove narrower inner constraints */
.flr-reports > .flr-dashboard-hero,
.flr-reports > .flr-dashboard-card,
.flr-reports > .flr-report-stat-grid {
    width: 100% !important;
    max-width: none !important;
}

/* Keep sensible spacing on smaller screens */
@media (max-width: 900px) {
    .flr-reports {
        width: calc(100% - 24px) !important;
    }
}


/* ============================================================
 * Management Reports page shell
 * Page ID 363
 * ============================================================ */

/* Hide duplicate WordPress page title */
body.page-id-363 .wp-block-post-title,
body.page-id-363 .entry-title {
    display: none !important;
}

/* Remove theme width constraints */
body.page-id-363 .wp-site-blocks > main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px 0 48px !important;
}

/* Remove any nested content-width cap */
body.page-id-363 .wp-block-post-content,
body.page-id-363 .entry-content {
    width: 100% !important;
    max-width: none !important;
}

/* Management report shortcode fills available workspace */
body.page-id-363 .flr-reports {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Internal sections fill the report workspace */
body.page-id-363 .flr-reports > .flr-dashboard-hero,
body.page-id-363 .flr-reports > .flr-dashboard-card,
body.page-id-363 .flr-reports > .flr-report-stat-grid {
    width: 100% !important;
    max-width: none !important;
}

body.page-id-533,body.page-id-114,body.page-id-363{--flr-portal-max:1180px}body.page-id-533 header.wp-block-template-part .flr-portal-header-inner,body.page-id-114 header.wp-block-template-part .flr-portal-header-inner,body.page-id-363 header.wp-block-template-part .flr-portal-header-inner,body.page-id-533 .wp-site-blocks>main>*,body.page-id-114 .wp-site-blocks>main>*,body.page-id-363 .wp-site-blocks>main>*{width:calc(100% - 40px)!important;max-width:var(--flr-portal-max)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}body.page-id-533 .flr-dashboard,body.page-id-114 .flr-review-wrap,body.page-id-363 .flr-reports{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}body.page-id-533 .wp-site-blocks>main,body.page-id-114 .wp-site-blocks>main,body.page-id-363 .wp-site-blocks>main{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;overflow-x:hidden!important}
body.page-id-363 .flr-reports{position:relative!important;left:50%!important;transform:translateX(-50%)!important;width:calc(100vw - 40px)!important;max-width:1180px!important;margin:0!important;padding:0!important;box-sizing:border-box!important}body.page-id-363 .flr-reports>.flr-dashboard-hero,body.page-id-363 .flr-reports>.flr-dashboard-card,body.page-id-363 .flr-reports>.flr-report-stat-grid{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
body.page-id-363 .wp-site-blocks>main{padding-top:20px!important;margin-top:0!important}body.page-id-363 .wp-site-blocks>main>.wp-block-group.alignfull{padding-top:0!important;margin-top:0!important}body.page-id-363 .flr-reports{margin-top:0!important}body.page-id-363 .flr-reports>.flr-dashboard-hero{margin-top:0!important;margin-bottom:20px!important}body.page-id-363 .flr-reports>.flr-report-stat-grid,body.page-id-363 .flr-reports>.flr-dashboard-card{margin-bottom:20px!important}
/* Mandatory Training actions + requirements modal */
body.page-id-114 .flr-training-actions{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    margin-top:18px!important;
}

body.page-id-114 .flr-training-actions .flr-button{
    min-height:42px!important;
    height:42px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 18px!important;
    box-sizing:border-box!important;
}

body.page-id-114 .flr-training-requirements-modal{
    width:min(760px,calc(100vw - 40px))!important;
    max-width:760px!important;
    border:0!important;
    border-radius:12px!important;
    padding:0!important;
    box-shadow:0 18px 50px rgba(15,39,64,.22)!important;
}

body.page-id-114 .flr-training-requirements-modal::backdrop{
    background:rgba(15,39,64,.38)!important;
}

body.page-id-114 .flr-training-requirements-modal-inner{
    background:#fff!important;
    border-radius:12px!important;
    overflow:hidden!important;
}

body.page-id-114 .flr-training-requirements-modal-heading{
    display:flex!important;
    justify-content:space-between!important;
    align-items:flex-start!important;
    gap:20px!important;
    padding:22px 24px!important;
    border-bottom:1px solid #dbe3e9!important;
}

body.page-id-114 .flr-training-requirements-modal-heading h3{
    margin:0 0 4px!important;
    font-size:22px!important;
}

body.page-id-114 .flr-training-requirements-modal-heading p{
    margin:0!important;
    font-size:14px!important;
    color:#5f7385!important;
}

body.page-id-114 .flr-training-requirements-close{
    border:0!important;
    background:transparent!important;
    font-size:28px!important;
    line-height:1!important;
    cursor:pointer!important;
    color:#425b70!important;
    padding:0!important;
}

body.page-id-114 .flr-training-requirements-list{
    max-height:60vh!important;
    overflow:auto!important;
    padding:0 24px!important;
}

body.page-id-114 .flr-training-requirement-row{
    display:grid!important;
    grid-template-columns:minmax(220px,1fr) minmax(260px,1.5fr)!important;
    gap:24px!important;
    padding:14px 0!important;
    border-bottom:1px solid #e3e9ee!important;
}

body.page-id-114 .flr-training-requirement-row:last-child{
    border-bottom:0!important;
}

body.page-id-114 .flr-training-requirement-row strong{
    color:#173a56!important;
}

body.page-id-114 .flr-training-requirement-row span{
    color:#536a7d!important;
}

body.page-id-114 .flr-training-requirements-footer{
    display:flex!important;
    justify-content:flex-end!important;
    padding:18px 24px!important;
    border-top:1px solid #dbe3e9!important;
}

@media (max-width:700px){
    body.page-id-114 .flr-training-actions{
        flex-direction:column!important;
        align-items:stretch!important;
    }

    body.page-id-114 .flr-training-requirement-row{
        grid-template-columns:1fr!important;
        gap:5px!important;
    }
}
body.page-id-114 .flr-review-uniform-equipment-card .flr-dashboard-card-heading h2{font-size:24px!important;line-height:1.2!important;font-weight:500!important;margin:0 0 3px!important;color:#16364e!important}
/* Staff Dashboard - standard card headings and filter controls */
body.page-id-533 .flr-dashboard-card .flr-dashboard-card-heading h2{margin:0 0 3px!important;color:#16364e!important;font-size:24px!important;line-height:1.2!important;font-weight:500!important;white-space:normal!important}
body.page-id-533 .flr-dashboard-card .flr-dashboard-card-heading span{font-size:13px!important;line-height:1.4!important;color:#687d8d!important}
body.page-id-533 .flr-dashboard-filter{align-items:flex-end!important}
body.page-id-533 .flr-dashboard-filter select,body.page-id-533 .flr-dashboard-filter input,body.page-id-533 .flr-dashboard-filter button,body.page-id-533 .flr-dashboard-filter>a{height:40px!important;min-height:40px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;line-height:1.2!important;margin:0!important}
body.page-id-533 .flr-dashboard-filter select,body.page-id-533 .flr-dashboard-filter input{padding:0 10px!important}
body.page-id-533 .flr-dashboard-filter button,body.page-id-533 .flr-dashboard-filter>a{padding:0 14px!important;justify-content:center!important}
body.page-id-533 .flr-dashboard-filter>a{font-size:12px!important;font-weight:800!important;font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important}

/* ============================================================
 * Universal FLR Portal Workspace
 * Header and content use one authoritative 1180px wrapper
 * ============================================================ */

body.flr-portal-page {
    --flr-portal-max: 1180px;
}

/* Full-width outer main */
body.flr-portal-page .wp-site-blocks > main {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    padding-top: 20px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

/* Header and primary page content share identical edges */
body.flr-portal-page header.wp-block-template-part .flr-portal-header-inner,
body.flr-portal-page .wp-site-blocks > main > * {
    width: calc(100% - 40px) !important;
    max-width: var(--flr-portal-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Remove Twenty Twenty-Five nested content constraints */
body.flr-portal-page .wp-site-blocks > main .wp-block-post-content,
body.flr-portal-page .wp-site-blocks > main .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* FLR shortcode output fills the standard workspace */
body.flr-portal-page .wp-block-post-content > *,
body.flr-portal-page .entry-content > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Standard FLR application wrappers */
body.flr-portal-page .flr-dashboard,
body.flr-portal-page .flr-review-wrap,
body.flr-portal-page .flr-reports {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Supersede old Reports viewport-breakout workaround */
body.flr-portal-page .flr-reports {
    position: static !important;
    left: auto !important;
    transform: none !important;
}

/* Consistent header-to-content spacing */
body.flr-portal-page .wp-site-blocks {
    gap: 0 !important;
}

body.flr-portal-page .wp-site-blocks > main > .wp-block-group.alignfull {
    padding-top: 0 !important;
}

/* Small screens retain a safe 20px side gutter */
@media (max-width: 650px) {
    body.flr-portal-page header.wp-block-template-part .flr-portal-header-inner,
    body.flr-portal-page .wp-site-blocks > main > * {
        width: calc(100% - 24px) !important;
    }
}
/* Universal FLR header wrapper correction */
body.flr-portal-page header.wp-block-template-part,body.flr-portal-page header.wp-block-template-part>.wp-block-group,body.flr-portal-page header.wp-block-template-part>.wp-block-group>.wp-block-group{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
body.flr-portal-page header.wp-block-template-part .flr-portal-header-inner{width:calc(100% - 40px)!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}

/* ============================================================
 * Universal FLR Portal Typography
 * ============================================================ */

/* Main portal / hero titles */
body.flr-portal-page .flr-dashboard-hero h1,
body.flr-portal-page .flr-review-staff-hero h2,
body.flr-portal-page .flr-review-wrap > h1,
body.flr-portal-page .flr-reports .flr-dashboard-hero h1 {
    margin: 0 0 6px !important;
    color: #16364e !important;
    font-size: 32px !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
}

/* Standard card titles */
body.flr-portal-page .flr-dashboard-card-heading h2,
body.flr-portal-page .flr-dashboard-card-heading h3,
body.flr-portal-page .flr-card > h2:first-child {
    margin: 0 0 3px !important;
    color: #16364e !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

/* Card subtitles */
body.flr-portal-page .flr-dashboard-card-heading span {
    color: #687d8d !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

/* Internal subsection headings */
body.flr-portal-page .flr-dashboard-card h3:not(.flr-dashboard-card-heading h3),
body.flr-portal-page .flr-card h3,
body.flr-portal-page form h3 {
    color: #16364e !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

/* General portal text */
body.flr-portal-page .flr-dashboard-card p,
body.flr-portal-page .flr-card p,
body.flr-portal-page .flr-review-wrap p,
body.flr-portal-page .flr-reports p,
body.flr-portal-page label {
    font-size: 14px;
    line-height: 1.5;
}

/* Form controls */
body.flr-portal-page input,
body.flr-portal-page select,
body.flr-portal-page textarea {
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Portal buttons and action links */
body.flr-portal-page .flr-button,
body.flr-portal-page button,
body.flr-portal-page .flr-dashboard-primary-action,
body.flr-portal-page .flr-dashboard-review-link,
body.flr-portal-page .flr-dashboard-actions a {
    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

/* Table headings */
body.flr-portal-page .flr-table th,
body.flr-portal-page .flr-dashboard-register th {
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}

/* Table body text */
body.flr-portal-page .flr-table td,
body.flr-portal-page .flr-dashboard-register td {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Mobile scaling */
@media (max-width: 650px) {
    body.flr-portal-page .flr-dashboard-hero h1,
    body.flr-portal-page .flr-review-staff-hero h2,
    body.flr-portal-page .flr-review-wrap > h1,
    body.flr-portal-page .flr-reports .flr-dashboard-hero h1 {
        font-size: 27px !important;
    }

    body.flr-portal-page .flr-dashboard-card-heading h2,
    body.flr-portal-page .flr-dashboard-card-heading h3,
    body.flr-portal-page .flr-card > h2:first-child {
        font-size: 22px !important;
    }
}
body.flr-portal-page .wp-block-post-title,body.flr-portal-page .entry-title{display:none!important}
body.flr-portal-page .flr-dashboard-card>h2,body.flr-portal-page .flr-dashboard-card>h3{margin:0 0 3px!important;color:#16364e!important;font-size:24px!important;line-height:1.2!important;font-weight:500!important}
body.flr-portal-page .flr-production-final-governance-card .flr-dashboard-card-heading h2{margin:0 0 3px!important;color:#16364e!important;font-size:24px!important;line-height:1.2!important;font-weight:500!important}
body.flr-portal-page .flr-production-final-governance-card .flr-dashboard-card-heading span{font-size:13px!important;line-height:1.4!important;color:#687d8d!important;font-weight:400!important}
body.flr-portal-page .flr-readiness-list{font-size:14px!important;line-height:1.5!important;color:#253f51!important}
body.flr-portal-page .flr-readiness-list li{font-size:14px!important;line-height:1.5!important;margin:.45rem 0!important}
body.flr-portal-page footer.wp-block-template-part .wp-block-site-logo,body.flr-portal-page footer.wp-block-template-part .wp-block-site-title,body.flr-portal-page footer.wp-block-template-part .wp-block-site-tagline{display:none!important}
body.flr-portal-page footer.wp-block-template-part p:has(a[href*="wordpress.org"]),body.flr-portal-page footer.wp-block-template-part p:has(a[href*="twentytwentyfive"]){display:none!important}
body.flr-portal-page footer.wp-block-template-part .wp-block-site-logo,body.flr-portal-page footer.wp-block-template-part .wp-block-site-title,body.flr-portal-page footer.wp-block-template-part .wp-block-site-tagline{display:none!important}
body.flr-portal-page footer.wp-block-template-part p:has(a[href*="wordpress.org"]),body.flr-portal-page footer.wp-block-template-part p:has(a[href*="twentytwentyfive"]){display:none!important}

/* ============================================================
 * FLR Portal Footer
 * ============================================================ */

body.flr-portal-page .flr-portal-footer {
    width: 100% !important;
    margin: 28px 0 0 !important;
    padding: 0 !important;
    border-top: 1px solid #dbe3e9;
    background: #f8fafb;
}

body.flr-portal-page .flr-portal-footer-inner {
    width: calc(100% - 40px) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 26px 0 28px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    color: #526b7b;
}

body.flr-portal-page .flr-portal-footer p {
    margin: 4px 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

body.flr-portal-page .flr-portal-footer-company {
    color: #16364e !important;
    font-weight: 700 !important;
}

body.flr-portal-page .flr-portal-footer a {
    color: #0e708b !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-weight: 600 !important;
}

body.flr-portal-page .flr-portal-footer a:hover {
    text-decoration: underline !important;
}

body.flr-portal-page .flr-portal-footer-note {
    margin-top: 9px !important;
    color: #7a8994 !important;
    font-size: 12px !important;
}

@media (max-width: 650px) {
    body.flr-portal-page .flr-portal-footer-inner {
        width: calc(100% - 24px) !important;
    }
}
#flr-reviewer-training-edit-modal .flr-training-requirements-modal-inner{padding:0!important;overflow:hidden!important}
#flr-reviewer-training-edit-modal form{padding:20px 24px 24px!important}
#flr-reviewer-training-edit-modal form p{margin:0 0 18px!important}
#flr-reviewer-training-edit-modal label{display:block!important;font-size:13px!important;font-weight:600!important;line-height:1.35!important;color:#253f51!important}
#flr-reviewer-training-edit-modal input[type="text"],#flr-reviewer-training-edit-modal input[type="date"],#flr-reviewer-training-edit-modal select,#flr-reviewer-training-edit-modal textarea{width:100%!important;box-sizing:border-box!important;margin-top:7px!important}
#flr-reviewer-training-edit-modal input[type="text"],#flr-reviewer-training-edit-modal input[type="date"],#flr-reviewer-training-edit-modal select{height:42px!important;min-height:42px!important;padding:0 11px!important}
#flr-reviewer-training-edit-modal textarea{min-height:88px!important;padding:10px 11px!important;resize:vertical!important}
#flr-reviewer-training-edit-modal .flr-grid-2{display:grid!important;grid-template-columns:1fr 1fr!important;gap:18px!important;align-items:start!important}
#flr-reviewer-training-edit-modal .flr-grid-2 p{margin-bottom:18px!important}
#flr-reviewer-training-edit-modal input[type="file"]{display:block!important;width:100%!important;margin-top:8px!important;padding:9px 10px!important;border:1px solid #cbd7df!important;border-radius:7px!important;background:#fff!important;box-sizing:border-box!important}
#flr-reviewer-training-edit-modal small{display:block!important;margin-top:6px!important;color:#687d8d!important;font-size:12px!important;line-height:1.4!important}
#flr-reviewer-training-edit-modal .flr-training-actions{display:flex!important;gap:10px!important;align-items:center!important;margin-top:22px!important;padding-top:2px!important}
#flr-reviewer-training-edit-modal .flr-training-requirements-modal-heading{padding:20px 24px!important}
#flr-reviewer-training-edit-modal .flr-training-requirements-modal-heading h3{margin:0 0 4px!important}
#flr-reviewer-training-edit-modal .flr-training-requirements-modal-heading p{margin:0!important}
@media(max-width:650px){#flr-reviewer-training-edit-modal .flr-grid-2{grid-template-columns:1fr!important;gap:0!important}}

/* Professional Registration Verification */

.flr-review-registration-card .flr-registration-summary{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    align-items:stretch;
    margin:18px 0 20px;
}

.flr-review-registration-card .flr-registration-summary-item{
    border:1px solid #dbe3e9;
    border-radius:8px;
    padding:14px 16px;
    background:#f8fafb;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:78px;
    box-sizing:border-box;
}

.flr-registration-summary-label{
    display:block;
    margin-bottom:5px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:#687d8d;
}

.flr-registration-summary-item strong{
    color:#16364e;
    font-size:14px;
    font-weight:600;
}

.flr-registration-summary-item small{
    display:block;
    margin-top:3px;
    color:#687d8d;
    font-size:12px;
}

.flr-registration-status{
    display:inline-flex;
    align-items:center;
    width:fit-content;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    line-height:1.25;
}

.flr-registration-status-green{
    background:#e7f5ed;
    color:#247445;
}

.flr-registration-status-amber{
    background:#fff3d6;
    color:#886313;
}

.flr-registration-status-red{
    background:#fde7e7;
    color:#a23030;
}

.flr-registration-status-neutral{
    background:#edf2f5;
    color:#526b7b;
}

.flr-registration-next-review{
    min-width:175px;
    border-radius:10px;
    padding:13px 18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    box-sizing:border-box;
}

.flr-registration-next-review span{
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.flr-registration-next-review strong{
    display:block;
    margin-top:3px;
    font-size:17px;
    line-height:1.2;
}

.flr-registration-next-review small{
    display:block;
    margin-top:3px;
    font-size:11px;
}

.flr-registration-next-review-green{
    background:#e7f5ed;
    color:#247445;
}

.flr-registration-next-review-amber{
    background:#fff3d6;
    color:#886313;
}

.flr-registration-next-review-red{
    background:#fde7e7;
    color:#a23030;
}

.flr-review-registration-card .flr-registration-register-link{
    margin:0 0 20px!important;
}

.flr-review-registration-card .flr-registration-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:20px;
    row-gap:0;
}

.flr-review-registration-card .flr-registration-form-grid p{
    margin:0 0 16px!important;
}

.flr-review-registration-card .flr-registration-form input,
.flr-review-registration-card .flr-registration-form select,
.flr-review-registration-card .flr-registration-form textarea{
    width:100%!important;
    box-sizing:border-box!important;
    margin-top:6px!important;
}

.flr-review-registration-card .flr-registration-review-note{
    margin-top:-3px!important;
    color:#687d8d!important;
}

@media(max-width:760px){
    .flr-review-registration-card .flr-registration-summary{
        grid-template-columns:1fr;
    }

    .flr-review-registration-card .flr-registration-next-review{
        width:100%;
    }

    .flr-review-registration-card .flr-registration-form-grid{
        grid-template-columns:1fr;
    }
}
.flr-review-registration-card .flr-registration-form{border:0!important;background:transparent!important;border-radius:0!important;padding:0!important;margin-top:18px!important;box-shadow:none!important}
.flr-review-registration-card .flr-registration-actions{display:flex!important;align-items:center!important;gap:10px!important;margin-top:18px!important}
.flr-review-registration-card .flr-registration-actions .flr-button{margin:0!important}

/* DBS Update Service */

.flr-review-dbs-card .flr-dbs-summary{
    display:grid;
    grid-template-columns:1fr 1fr 1.25fr;
    gap:16px;
    margin:18px 0 22px;
}

.flr-review-dbs-card .flr-dbs-summary-item{
    min-height:78px;
    padding:14px 16px;
    border:1px solid #dbe3e9;
    border-radius:8px;
    background:#f8fafb;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.flr-dbs-summary-label{
    margin-bottom:5px;
    color:#687d8d;
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.flr-dbs-summary-item strong{
    color:#16364e;
    font-size:14px;
}

.flr-dbs-summary-item small{
    margin-top:4px;
    color:#687d8d;
    font-size:12px;
}

.flr-dbs-result{
    display:inline-flex;
    width:fit-content;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    line-height:1.25;
}

.flr-dbs-result-green{
    background:#e7f5ed;
    color:#247445;
}

.flr-dbs-result-amber{
    background:#fff3d6;
    color:#886313;
}

.flr-dbs-result-red{
    background:#fde7e7;
    color:#a23030;
}

.flr-dbs-result-neutral{
    background:#edf2f5;
    color:#526b7b;
}

.flr-review-dbs-card .flr-dbs-prereq-form{
    border:0!important;
    background:transparent!important;
    padding:0!important;
    box-shadow:none!important;
}

.flr-review-dbs-card .flr-dbs-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    column-gap:20px;
}

.flr-review-dbs-card .flr-dbs-form-grid p{
    margin:0 0 16px!important;
}

.flr-review-dbs-card .flr-dbs-form-grid input,
.flr-review-dbs-card .flr-dbs-form-grid select{
    width:100%!important;
    box-sizing:border-box!important;
    margin-top:6px!important;
}

.flr-review-dbs-card .flr-dbs-governance{
    margin:8px 0 20px;
    padding-top:18px;
    border-top:1px solid #dbe3e9;
}

.flr-review-dbs-card .flr-dbs-governance h3{
    margin:0 0 12px!important;
}

.flr-review-dbs-card .flr-dbs-check{
    display:flex!important;
    align-items:flex-start!important;
    gap:10px!important;
    margin:0 0 10px!important;
    font-weight:400!important;
}

.flr-review-dbs-card .flr-dbs-check input{
    flex:0 0 auto;
    width:auto!important;
    margin:3px 0 0!important;
}

.flr-dbs-prereq-warning{
    margin:14px 0 18px;
    padding:11px 13px;
    border-radius:7px;
    background:#fff3d6;
    color:#725511;
    font-size:13px;
}

.flr-review-dbs-card .flr-dbs-actions{
    display:flex!important;
    gap:10px!important;
    align-items:center!important;
    margin-top:18px!important;
}

.flr-review-dbs-card .flr-dbs-run-check-form{
    margin-top:-40px!important;
    display:flex!important;
    justify-content:flex-end!important;
}

@media(max-width:760px){
    .flr-review-dbs-card .flr-dbs-summary,
    .flr-review-dbs-card .flr-dbs-form-grid{
        grid-template-columns:1fr;
    }

    .flr-review-dbs-card .flr-dbs-run-check-form{
        margin-top:12px!important;
        justify-content:flex-start!important;
    }
}
.flr-review-dbs-card .flr-dbs-evidence-green{background:#e7f5ed!important;border-color:#c9e7d5!important}
.flr-review-dbs-card .flr-dbs-evidence-green .flr-dbs-summary-label,.flr-review-dbs-card .flr-dbs-evidence-green strong,.flr-review-dbs-card .flr-dbs-evidence-green small{color:#247445!important}
.flr-review-dbs-card .flr-dbs-evidence-neutral{background:#f8fafb!important}
.flr-review-dbs-card .flr-dbs-summary{grid-template-columns:1fr 1.35fr .72fr!important}
.flr-review-dbs-card .flr-dbs-actions{margin-bottom:0!important}
.flr-review-dbs-card .flr-dbs-run-check-form{margin-top:0!important;display:flex!important;justify-content:flex-end!important}
.flr-review-dbs-card .flr-dbs-history-heading{margin-top:24px!important}
.flr-review-dbs-card .flr-dbs-history-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:24px 0 10px!important}
.flr-review-dbs-card .flr-dbs-history-heading h3{margin:0!important}
#flr-dbs-history-modal .flr-dashboard-register-wrap{padding:0 24px 20px!important}
.flr-review-dbs-card .flr-dbs-actions{display:inline-flex!important;gap:10px!important;align-items:center!important;margin-top:18px!important}
.flr-review-dbs-card .flr-dbs-inline-check-form{display:inline-flex!important;margin:18px 0 0 10px!important;vertical-align:top!important}
.flr-review-dbs-card .flr-dbs-history-actions{display:flex!important;justify-content:flex-end!important;margin-top:12px!important}

/* DBS governance checklist */
.flr-review-dbs-card .flr-dbs-governance{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px 14px!important;
}

.flr-review-dbs-card .flr-dbs-governance h3{
    grid-column:1 / -1!important;
    margin:0 0 4px!important;
}

.flr-review-dbs-card .flr-dbs-check{
    display:flex!important;
    align-items:flex-start!important;
    gap:10px!important;
    min-height:54px!important;
    margin:0!important;
    padding:11px 13px!important;
    border:1px solid #dbe3e9!important;
    border-radius:7px!important;
    background:#f8fafb!important;
    box-sizing:border-box!important;
}

.flr-review-dbs-card .flr-dbs-check:last-child{
    grid-column:1 / -1!important;
}

.flr-review-dbs-card .flr-dbs-check input{
    flex:0 0 auto!important;
    margin:3px 0 0!important;
}

.flr-review-dbs-card .flr-dbs-check span{
    line-height:1.4!important;
}

/* Single DBS action row */
.flr-review-dbs-card .flr-dbs-actions{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    margin:18px 0 24px!important;
}

.flr-review-dbs-card .flr-dbs-inline-check-form{
    display:inline-flex!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
}

.flr-review-dbs-card .flr-dbs-actions .flr-button{
    margin:0!important;
}

@media(max-width:760px){
    .flr-review-dbs-card .flr-dbs-governance{
        grid-template-columns:1fr!important;
    }

    .flr-review-dbs-card .flr-dbs-check:last-child{
        grid-column:auto!important;
    }

    .flr-review-dbs-card .flr-dbs-actions{
        flex-wrap:wrap!important;
    }
}

/* Uniform & Equipment reviewer card */

.flr-review-uniform-equipment-card .flr-uniform-summary{
    display:flex;
    align-items:center;
    gap:12px;
    margin:16px 0 18px;
    padding:11px 14px;
    border:1px solid #dbe3e9;
    border-radius:7px;
    background:#f8fafb;
}

.flr-review-uniform-equipment-card .flr-uniform-summary span{
    color:#687d8d;
    font-size:12px;
    font-weight:600;
}

.flr-review-uniform-equipment-card .flr-uniform-summary strong{
    color:#16364e;
}

.flr-review-uniform-equipment-card .flr-equipment-table{
    width:100%;
}

.flr-review-uniform-equipment-card .flr-equipment-other{
    margin-top:18px;
    padding:12px 14px;
    border:1px solid #dbe3e9;
    border-radius:7px;
    background:#f8fafb;
}

.flr-review-uniform-equipment-card .flr-equipment-other p{
    margin:5px 0 0!important;
}

.flr-review-uniform-equipment-card .flr-uniform-equipment-actions{
    display:flex;
    margin-top:18px;
}

#flr-uniform-equipment-edit-modal .flr-uniform-equipment-edit-form{
    padding:20px 24px 24px;
}

#flr-uniform-equipment-edit-modal .flr-equipment-edit-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin:18px 0;
}

#flr-uniform-equipment-edit-modal .flr-equipment-edit-item{
    padding:14px;
    border:1px solid #dbe3e9;
    border-radius:8px;
    background:#f8fafb;
}

#flr-uniform-equipment-edit-modal .flr-equipment-edit-item h4{
    margin:0 0 10px;
    color:#16364e;
    font-size:15px;
}

#flr-uniform-equipment-edit-modal input,
#flr-uniform-equipment-edit-modal select,
#flr-uniform-equipment-edit-modal textarea{
    width:100%!important;
    box-sizing:border-box!important;
    margin-top:6px!important;
}

#flr-uniform-equipment-edit-modal .flr-grid-2{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:12px!important;
}

@media(max-width:760px){
    #flr-uniform-equipment-edit-modal .flr-equipment-edit-grid,
    #flr-uniform-equipment-edit-modal .flr-grid-2{
        grid-template-columns:1fr!important;
    }
}

/* ============================================================
 * Audit Log + Retention Review typography alignment
 * ============================================================ */

/* Main page content */
body.flr-portal-page .flr-audit-log,
body.flr-portal-page .flr-retention-review{
    font-size:14px!important;
    line-height:1.5!important;
    color:#253f51!important;
}

/* Main section headings */
body.flr-portal-page .flr-audit-log h2,
body.flr-portal-page .flr-retention-review h2{
    margin:0 0 6px!important;
    color:#16364e!important;
    font-size:24px!important;
    line-height:1.2!important;
    font-weight:500!important;
}

/* Internal subsection headings */
body.flr-portal-page .flr-audit-log h3,
body.flr-portal-page .flr-retention-review h3{
    margin:18px 0 8px!important;
    color:#16364e!important;
    font-size:18px!important;
    line-height:1.25!important;
    font-weight:600!important;
}

/* General copy */
body.flr-portal-page .flr-audit-log p,
body.flr-portal-page .flr-retention-review p,
body.flr-portal-page .flr-audit-log label,
body.flr-portal-page .flr-retention-review label{
    font-size:14px!important;
    line-height:1.5!important;
}

/* Filter / form controls */
body.flr-portal-page .flr-audit-log input,
body.flr-portal-page .flr-audit-log select,
body.flr-portal-page .flr-audit-log textarea,
body.flr-portal-page .flr-retention-review input,
body.flr-portal-page .flr-retention-review select,
body.flr-portal-page .flr-retention-review textarea{
    font-family:inherit!important;
    font-size:14px!important;
    line-height:1.4!important;
}

/* Table headings */
body.flr-portal-page .flr-audit-log .flr-table th,
body.flr-portal-page .flr-retention-review .flr-table th{
    font-size:11px!important;
    line-height:1.3!important;
    font-weight:700!important;
}

/* Table content */
body.flr-portal-page .flr-audit-log .flr-table td,
body.flr-portal-page .flr-retention-review .flr-table td{
    font-size:13px!important;
    line-height:1.4!important;
}

/* Secondary text */
body.flr-portal-page .flr-audit-log small,
body.flr-portal-page .flr-retention-review small{
    font-size:12px!important;
    line-height:1.4!important;
    color:#687d8d!important;
}

/* Toolbar, filters and pagination */
body.flr-portal-page .flr-audit-filters label{
    font-size:13px!important;
    font-weight:600!important;
}

body.flr-portal-page .flr-page-link,
body.flr-portal-page .flr-page-current{
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:700!important;
}

/* Buttons */
body.flr-portal-page .flr-audit-log .flr-button,
body.flr-portal-page .flr-retention-review .flr-button,
body.flr-portal-page .flr-audit-log button,
body.flr-portal-page .flr-retention-review button{
    font-family:inherit!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:800!important;
}
body.flr-portal-page .flr-review-wrap>.flr-card{border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:18px 0 0!important}

/* Staff Dashboard - standard table treatment */
body.page-id-533 .flr-dashboard table {
    width:100%!important;
    border-collapse:collapse!important;
    background:#fff!important;
}

body.page-id-533 .flr-dashboard table thead th {
    background:#f4f7f9!important;
    color:#526b7b!important;
    font-size:11px!important;
    line-height:1.3!important;
    font-weight:700!important;
    text-align:left!important;
    padding:11px 13px!important;
    border-bottom:1px solid #dbe3e9!important;
}

body.page-id-533 .flr-dashboard table tbody td {
    background:#fff!important;
    color:#253f51!important;
    font-size:13px!important;
    line-height:1.4!important;
    padding:12px 13px!important;
    border-bottom:1px solid #e7edf1!important;
}

body.page-id-533 .flr-dashboard table tbody tr:nth-child(even) td {
    background:#f8fafb!important;
}

body.page-id-533 .flr-dashboard table tbody tr:hover td {
    background:#f1f6f8!important;
}

body.page-id-533 .flr-dashboard table tbody tr:last-child td {
    border-bottom:0!important;
}

/* Staff Dashboard - Mandatory Training attention list */
body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list{
    margin-top:18px!important;
    border:1px solid #e1e8ed!important;
    border-radius:9px!important;
    overflow:hidden!important;
    background:#fff!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list > div{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:16px!important;
    padding:12px 14px!important;
    margin:0!important;
    border-bottom:1px solid #e7edf1!important;
    background:#fff!important;
    box-sizing:border-box!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list > div:nth-child(even){
    background:#f8fafb!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list > div:last-child{
    border-bottom:0!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list > div:hover{
    background:#f1f6f8!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list > div > strong{
    color:#16364e!important;
    font-size:14px!important;
    line-height:1.4!important;
    font-weight:500!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list > div > span{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    flex:0 0 auto!important;
}

@media(max-width:650px){
    body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list > div{
        align-items:flex-start!important;
        flex-direction:column!important;
    }

    body.page-id-533 .flr-staff-dashboard .flr-dashboard-attention-list > div > span{
        justify-content:flex-start!important;
    }
}

/* Staff Dashboard - structured shaded detail grids */
body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:1px!important;
    margin-top:16px!important;
    background:#dfe7ec!important;
    border:1px solid #dfe7ec!important;
    border-radius:9px!important;
    overflow:hidden!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid > div{
    min-width:0!important;
    padding:13px 15px!important;
    background:#fff!important;
    box-sizing:border-box!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid > div:nth-child(-n+3){
    background:#f6f9fa!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid small{
    display:block!important;
    margin-bottom:4px!important;
    color:#718491!important;
    font-size:10px!important;
    line-height:1.25!important;
    font-weight:700!important;
    text-transform:uppercase!important;
    letter-spacing:.02em!important;
}

body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid strong{
    display:block!important;
    color:#16364e!important;
    font-size:14px!important;
    line-height:1.4!important;
    font-weight:500!important;
    overflow-wrap:anywhere!important;
}

@media(max-width:800px){
    body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid > div:nth-child(-n+3){
        background:#fff!important;
    }

    body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid > div:nth-child(odd){
        background:#f6f9fa!important;
    }
}

@media(max-width:520px){
    body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid{
        grid-template-columns:1fr!important;
    }

    body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid > div{
        background:#fff!important;
    }

    body.page-id-533 .flr-staff-dashboard .flr-dashboard-details-grid > div:nth-child(odd){
        background:#f6f9fa!important;
    }
}

/* Staff Dashboard - Mandatory Training table */
body.page-id-533 .flr-staff-dashboard .flr-staff-training-table-wrap{
    margin-top:18px!important;
    border:1px solid #dfe7ec!important;
    border-radius:9px!important;
    overflow:hidden!important;
}

body.page-id-533 .flr-staff-dashboard .flr-staff-training-table{
    margin:0!important;
    border:0!important;
    border-radius:0!important;
}

body.page-id-533 .flr-staff-dashboard .flr-staff-training-table th{
    background:#f4f7f9!important;
    color:#526b7b!important;
    padding:11px 13px!important;
    font-size:11px!important;
    font-weight:700!important;
}

body.page-id-533 .flr-staff-dashboard .flr-staff-training-table td{
    padding:12px 13px!important;
    font-size:13px!important;
    vertical-align:middle!important;
    border-bottom:1px solid #e7edf1!important;
}

body.page-id-533 .flr-staff-dashboard .flr-staff-training-table tbody tr:nth-child(even) td{
    background:#f8fafb!important;
}

body.page-id-533 .flr-staff-dashboard .flr-staff-training-table tbody tr:last-child td{
    border-bottom:0!important;
}

body.page-id-533 .flr-staff-dashboard .flr-staff-training-table td:nth-child(2){
    width:190px!important;
}

body.page-id-533 .flr-staff-dashboard .flr-staff-training-table td:nth-child(3){
    width:150px!important;
    white-space:nowrap!important;
}

/* ============================================================
 * My Compliance - modern portal styling
 * ============================================================ */

/* Main compliance sections become the cards */
.flr-compliance-section{
    width:100%!important;
    box-sizing:border-box!important;
    margin:0 0 20px!important;
    padding:22px 24px!important;
    background:#fff!important;
    border:1px solid #dbe3e9!important;
    border-radius:12px!important;
    box-shadow:0 2px 8px rgba(20,48,66,.04)!important;
}

/* Section titles */
.flr-compliance-section > h2{
    margin:0 0 18px!important;
    color:#16364e!important;
    font-size:24px!important;
    line-height:1.2!important;
    font-weight:500!important;
    letter-spacing:0!important;
    text-transform:none!important;
}

/* Remove old nested card appearance */
.flr-compliance-section > .flr-card{
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

/* Internal subsection headings */
.flr-compliance-section h3{
    margin:22px 0 12px!important;
    color:#16364e!important;
    font-size:18px!important;
    line-height:1.25!important;
    font-weight:600!important;
}

/* General form text */
.flr-compliance-section p,
.flr-compliance-section label{
    font-size:14px!important;
    line-height:1.5!important;
    color:#415d70!important;
}

/* Form controls */
.flr-compliance-section input[type=text],
.flr-compliance-section input[type=email],
.flr-compliance-section input[type=tel],
.flr-compliance-section input[type=date],
.flr-compliance-section select,
.flr-compliance-section textarea{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    border:1px solid #bcc9d1!important;
    border-radius:7px!important;
    background:#fff!important;
    font-family:inherit!important;
    font-size:14px!important;
}

.flr-compliance-section input[type=text],
.flr-compliance-section input[type=email],
.flr-compliance-section input[type=tel],
.flr-compliance-section input[type=date],
.flr-compliance-section select{
    min-height:42px!important;
    padding:0 11px!important;
}

.flr-compliance-section textarea{
    padding:10px 11px!important;
    resize:vertical!important;
}

/* Two-column groups */
.flr-compliance-section .flr-grid-2{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px 18px!important;
    align-items:start!important;
}

.flr-compliance-section .flr-grid-2 p{
    margin:0!important;
}

/* File upload controls */
.flr-compliance-section input[type=file]{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin-top:6px!important;
    padding:9px 10px!important;
    border:1px solid #cbd7df!important;
    border-radius:7px!important;
    background:#f8fafb!important;
    font-size:13px!important;
}

/* Tables */
.flr-compliance-section .flr-table{
    width:100%!important;
    margin:16px 0 20px!important;
    border-collapse:collapse!important;
    border:1px solid #dfe7ec!important;
    border-radius:9px!important;
    overflow:hidden!important;
}

.flr-compliance-section .flr-table th{
    background:#f4f7f9!important;
    color:#526b7b!important;
    padding:11px 13px!important;
    font-size:11px!important;
    line-height:1.3!important;
    font-weight:700!important;
    text-align:left!important;
}

.flr-compliance-section .flr-table td{
    padding:12px 13px!important;
    color:#253f51!important;
    font-size:13px!important;
    line-height:1.4!important;
    border-bottom:1px solid #e7edf1!important;
    vertical-align:middle!important;
}

.flr-compliance-section .flr-table tbody tr:nth-child(even) td{
    background:#f8fafb!important;
}

.flr-compliance-section .flr-table tbody tr:last-child td{
    border-bottom:0!important;
}

/* Action buttons */
.flr-compliance-section .flr-button,
.flr-compliance-section button{
    font-family:inherit!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:800!important;
}

/* More breathing room before save actions */
.flr-compliance-section form > p:last-child{
    margin-top:20px!important;
    margin-bottom:0!important;
}

/* Mobile */
@media(max-width:700px){
    .flr-compliance-section{
        padding:18px!important;
    }

    .flr-compliance-section .flr-grid-2{
        grid-template-columns:1fr!important;
    }

    .flr-compliance-section > h2{
        font-size:22px!important;
    }
}

/* My Compliance - Mandatory Training final column sizing/alignment */
.flr-compliance-section#flr-training .flr-training-table{
    table-layout:fixed!important;
}

/* Subject */
.flr-compliance-section#flr-training .flr-training-table th:nth-child(1),
.flr-compliance-section#flr-training .flr-training-table td:nth-child(1){
    width:30%!important;
}

/* Level - only requires a short numeric value */
.flr-compliance-section#flr-training .flr-training-table th:nth-child(2),
.flr-compliance-section#flr-training .flr-training-table td:nth-child(2){
    width:8%!important;
}

/* Completed */
.flr-compliance-section#flr-training .flr-training-table th:nth-child(3),
.flr-compliance-section#flr-training .flr-training-table td:nth-child(3){
    width:14%!important;
}

/* Expiry / review */
.flr-compliance-section#flr-training .flr-training-table th:nth-child(4),
.flr-compliance-section#flr-training .flr-training-table td:nth-child(4){
    width:14%!important;
}

/* Certificate */
.flr-compliance-section#flr-training .flr-training-table th:nth-child(5),
.flr-compliance-section#flr-training .flr-training-table td:nth-child(5){
    width:20%!important;
}

/* Status */
.flr-compliance-section#flr-training .flr-training-table th:nth-child(6),
.flr-compliance-section#flr-training .flr-training-table td:nth-child(6){
    width:14%!important;
}

/* Consistent table-cell spacing */
.flr-compliance-section#flr-training .flr-training-table th,
.flr-compliance-section#flr-training .flr-training-table td{
    padding:10px 11px!important;
    vertical-align:middle!important;
    box-sizing:border-box!important;
}

/* Consistent form-control sizing */
.flr-compliance-section#flr-training .flr-training-table input[type="text"],
.flr-compliance-section#flr-training .flr-training-table input[type="date"],
.flr-compliance-section#flr-training .flr-training-table select{
    width:100%!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 10px!important;
    line-height:1.2!important;
    box-sizing:border-box!important;
}

/* Keep Level compact */
.flr-compliance-section#flr-training .flr-training-table td:nth-child(2) input[type="text"]{
    text-align:center!important;
    padding-left:5px!important;
    padding-right:5px!important;
}

/* File control aligns with other fields */
.flr-compliance-section#flr-training .flr-training-table input[type="file"]{
    width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:7px 8px!important;
    line-height:1.2!important;
    box-sizing:border-box!important;
}

/* Dates remain on one line */
.flr-compliance-section#flr-training .flr-training-table td:nth-child(3),
.flr-compliance-section#flr-training .flr-training-table td:nth-child(4){
    white-space:nowrap!important;
}

/* ============================================================
 * My Compliance - Mandatory Training compact matrix
 * ============================================================ */

#flr-training .flr-training-table{
    table-layout:fixed!important;
}

/* Column widths */
#flr-training .flr-training-table th:nth-child(1),
#flr-training .flr-training-table td:nth-child(1){
    width:31%!important;
}

#flr-training .flr-training-table th:nth-child(2),
#flr-training .flr-training-table td:nth-child(2){
    width:9%!important;
}

#flr-training .flr-training-table th:nth-child(3),
#flr-training .flr-training-table td:nth-child(3){
    width:15%!important;
}

#flr-training .flr-training-table th:nth-child(4),
#flr-training .flr-training-table td:nth-child(4){
    width:15%!important;
}

#flr-training .flr-training-table th:nth-child(5),
#flr-training .flr-training-table td:nth-child(5){
    width:19%!important;
}

#flr-training .flr-training-table th:nth-child(6),
#flr-training .flr-training-table td:nth-child(6){
    width:11%!important;
}

/* Header */
#flr-training .flr-training-table th{
    padding:10px 10px!important;
    font-size:11px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
}

/* Rows */
#flr-training .flr-training-table td{
    padding:10px!important;
    vertical-align:middle!important;
    line-height:1.3!important;
}

/* Subject */
#flr-training .flr-training-table td:first-child strong{
    display:block!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1.3!important;
    font-weight:500!important;
}

#flr-training .flr-training-table td:first-child small{
    display:block!important;
    margin-top:2px!important;
    font-size:10px!important;
    line-height:1.2!important;
    color:#8798a4!important;
}

/* All standard controls same height */
#flr-training .flr-training-table input[type="text"],
#flr-training .flr-training-table input[type="date"],
#flr-training .flr-training-table select{
    display:block!important;
    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    margin:0!important;
    padding:0 8px!important;
    box-sizing:border-box!important;
    font-size:13px!important;
    line-height:1.2!important;
}

/* Compact level/type */
#flr-training .flr-training-table td:nth-child(2) input{
    text-align:center!important;
    padding-left:4px!important;
    padding-right:4px!important;
}

/* Date controls */
#flr-training .flr-training-table td:nth-child(3) input,
#flr-training .flr-training-table td:nth-child(4) input{
    padding-left:7px!important;
    padding-right:7px!important;
}

/* File control */
#flr-training .flr-training-table input[type="file"]{
    display:block!important;
    width:100%!important;
    min-height:38px!important;
    height:38px!important;
    margin:0!important;
    padding:5px 7px!important;
    box-sizing:border-box!important;
    font-size:11px!important;
    background:#fff!important;
}

/* Existing evidence note */
#flr-training .flr-training-table td:nth-child(5) small{
    display:block!important;
    margin-top:4px!important;
    font-size:10px!important;
    line-height:1.2!important;
    color:#8798a4!important;
}

/* Status */
#flr-training .flr-training-table td:nth-child(6){
    text-align:center!important;
}

#flr-training .flr-training-table td:nth-child(6) .flr-status,
#flr-training .flr-training-table td:nth-child(6) .flr-dashboard-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    max-width:100%!important;
    min-height:30px!important;
    padding:4px 9px!important;
    font-size:11px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
}

/* Slightly softer alternating rows */
#flr-training .flr-training-table tbody tr:nth-child(even) td{
    background:#f8fafb!important;
}

#flr-training .flr-training-table tbody tr:nth-child(odd) td{
    background:#fff!important;
}

/* Mandatory Training - final width correction */
#flr-training .flr-training-table th:nth-child(1),
#flr-training .flr-training-table td:nth-child(1){
    width:30%!important;
}

#flr-training .flr-training-table th:nth-child(2),
#flr-training .flr-training-table td:nth-child(2){
    width:11%!important;
}

#flr-training .flr-training-table th:nth-child(3),
#flr-training .flr-training-table td:nth-child(3){
    width:14%!important;
}

#flr-training .flr-training-table th:nth-child(4),
#flr-training .flr-training-table td:nth-child(4){
    width:14%!important;
}

#flr-training .flr-training-table th:nth-child(5),
#flr-training .flr-training-table td:nth-child(5){
    width:19%!important;
}

#flr-training .flr-training-table th:nth-child(6),
#flr-training .flr-training-table td:nth-child(6){
    width:12%!important;
    padding-left:8px!important;
    padding-right:8px!important;
}

/* Prevent status clipping */
#flr-training .flr-training-table td:nth-child(6) .flr-status,
#flr-training .flr-training-table td:nth-child(6) .flr-dashboard-badge{
    max-width:100%!important;
    white-space:normal!important;
    text-align:center!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
}

/* Keep level field useful but compact */
#flr-training .flr-training-table td:nth-child(2) input[type="text"]{
    text-align:left!important;
    padding:0 7px!important;
}

/* Keep table contained inside card */
#flr-training .flr-training-table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    box-sizing:border-box!important;
}

#flr-training .flr-training-table{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}

/* ============================================================
 * Staff My Compliance - Mandatory Training final layout
 * ============================================================ */

#flr-training .flr-training-table{
    width:100%!important;
    table-layout:auto!important;
    border-collapse:collapse!important;
}

/* Subject gets the flexible space */
#flr-training .flr-training-table th:nth-child(1),
#flr-training .flr-training-table td:nth-child(1){
    width:auto!important;
    min-width:260px!important;
}

/* Level / type */
#flr-training .flr-training-table th:nth-child(2),
#flr-training .flr-training-table td:nth-child(2){
    width:95px!important;
    min-width:95px!important;
    max-width:95px!important;
}

/* Completed */
#flr-training .flr-training-table th:nth-child(3),
#flr-training .flr-training-table td:nth-child(3){
    width:150px!important;
    min-width:150px!important;
}

/* Expiry */
#flr-training .flr-training-table th:nth-child(4),
#flr-training .flr-training-table td:nth-child(4){
    width:150px!important;
    min-width:150px!important;
}

/* Certificate */
#flr-training .flr-training-table th:nth-child(5),
#flr-training .flr-training-table td:nth-child(5){
    width:205px!important;
    min-width:205px!important;
}

/* Status */
#flr-training .flr-training-table th:nth-child(6),
#flr-training .flr-training-table td:nth-child(6){
    width:125px!important;
    min-width:125px!important;
    padding-right:14px!important;
}

/* Standard cell spacing */
#flr-training .flr-training-table th,
#flr-training .flr-training-table td{
    padding:10px 10px!important;
    vertical-align:middle!important;
    box-sizing:border-box!important;
}

/* Level box */
#flr-training .flr-training-table td:nth-child(2) input[type="text"]{
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    height:40px!important;
    padding:0 7px!important;
    margin:0!important;
    text-align:center!important;
    box-sizing:border-box!important;
}

/* Dates */
#flr-training .flr-training-table td:nth-child(3) input[type="date"],
#flr-training .flr-training-table td:nth-child(4) input[type="date"]{
    width:138px!important;
    min-width:138px!important;
    max-width:138px!important;
    height:40px!important;
    padding:0 7px!important;
    margin:0!important;
    box-sizing:border-box!important;
}

/* Certificate upload */
#flr-training .flr-training-table td:nth-child(5) input[type="file"]{
    width:195px!important;
    min-width:195px!important;
    max-width:195px!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:6px 7px!important;
    box-sizing:border-box!important;
    font-size:11px!important;
}

/* Status stays contained */
#flr-training .flr-training-table td:nth-child(6){
    text-align:center!important;
}

#flr-training .flr-training-table td:nth-child(6) .flr-status,
#flr-training .flr-training-table td:nth-child(6) .flr-dashboard-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    max-width:110px!important;
    min-height:30px!important;
    padding:5px 9px!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.15!important;
    font-size:11px!important;
    box-sizing:border-box!important;
}

/* Helper text */
#flr-training .flr-training-table td:first-child small{
    display:block!important;
    margin-top:3px!important;
    font-size:10px!important;
    line-height:1.25!important;
}

/* Allow horizontal scroll only if genuinely required on smaller screens */
#flr-training .flr-training-table-wrap{
    overflow-x:auto!important;
    width:100%!important;
}
#flr-training .flr-training-table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}#flr-training .flr-training-table th:nth-child(1),#flr-training .flr-training-table td:nth-child(1){width:29%!important}#flr-training .flr-training-table th:nth-child(2),#flr-training .flr-training-table td:nth-child(2){width:8%!important}#flr-training .flr-training-table th:nth-child(3),#flr-training .flr-training-table td:nth-child(3){width:15%!important}#flr-training .flr-training-table th:nth-child(4),#flr-training .flr-training-table td:nth-child(4){width:15%!important}#flr-training .flr-training-table th:nth-child(5),#flr-training .flr-training-table td:nth-child(5){width:21%!important}#flr-training .flr-training-table th:nth-child(6),#flr-training .flr-training-table td:nth-child(6){width:12%!important}#flr-training .flr-training-table th,#flr-training .flr-training-table td{padding:12px 8px!important;vertical-align:middle!important;box-sizing:border-box!important}#flr-training .flr-training-table td:nth-child(2) input[type=text]{display:block!important;width:68px!important;max-width:68px!important;height:40px!important;margin:0 auto!important;padding:0 7px!important;text-align:center!important;box-sizing:border-box!important}#flr-training .flr-training-table td:nth-child(3) input,#flr-training .flr-training-table td:nth-child(4) input{display:block!important;width:100%!important;max-width:100%!important;height:40px!important;margin:0!important;padding:0 9px!important;box-sizing:border-box!important}#flr-training .flr-training-table td:nth-child(5) input[type=file]{display:block!important;width:100%!important;max-width:100%!important;height:40px!important;margin:0!important;padding:6px 8px!important;box-sizing:border-box!important;font-size:11px!important}#flr-training .flr-training-table td:nth-child(5) small{display:none!important}#flr-training .flr-training-table td:first-child small{display:block!important;margin-top:4px!important;font-size:10px!important;line-height:1.3!important;color:#82929d!important}#flr-training .flr-training-table td:nth-child(6){text-align:center!important;white-space:nowrap!important}
#flr-training .flr-status-review_required,#flr-training .flr-status-awaiting_review{background:#fff3d6!important;color:#886313!important;border-color:#efd27a!important}

/* My Compliance - final mandatory training column balance */
#flr-training .flr-training-table{
    width:100% !important;
    table-layout:fixed !important;
}

#flr-training .flr-training-table th:nth-child(1),
#flr-training .flr-training-table td:nth-child(1){
    width:31% !important;
}

#flr-training .flr-training-table th:nth-child(2),
#flr-training .flr-training-table td:nth-child(2){
    width:8% !important;
}

#flr-training .flr-training-table th:nth-child(3),
#flr-training .flr-training-table td:nth-child(3){
    width:12% !important;
}

#flr-training .flr-training-table th:nth-child(4),
#flr-training .flr-training-table td:nth-child(4){
    width:12% !important;
}

#flr-training .flr-training-table th:nth-child(5),
#flr-training .flr-training-table td:nth-child(5){
    width:21% !important;
}

#flr-training .flr-training-table th:nth-child(6),
#flr-training .flr-training-table td:nth-child(6){
    width:16% !important;
}

/* Compact level field */
#flr-training .flr-training-table td:nth-child(2) input{
    width:72px !important;
    max-width:72px !important;
}

/* Compact DD/MM/YY date fields */
#flr-training .flr-training-table .flr-training-date{
    width:108px !important;
    max-width:108px !important;
    min-width:108px !important;
}

/* Give status room and prevent clipping */
#flr-training .flr-training-table td:nth-child(6){
    padding-left:12px !important;
    padding-right:14px !important;
    white-space:nowrap !important;
}

#flr-training .flr-training-table td:nth-child(6) .flr-status{
    display:inline-flex !important;
    white-space:nowrap !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}

.flr-compliance-section#flr-training .flr-training-table{width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}.flr-compliance-section#flr-training .flr-training-table th:nth-child(1),.flr-compliance-section#flr-training .flr-training-table td:nth-child(1){width:31%!important}.flr-compliance-section#flr-training .flr-training-table th:nth-child(2),.flr-compliance-section#flr-training .flr-training-table td:nth-child(2){width:7%!important}.flr-compliance-section#flr-training .flr-training-table th:nth-child(3),.flr-compliance-section#flr-training .flr-training-table td:nth-child(3){width:10%!important}.flr-compliance-section#flr-training .flr-training-table th:nth-child(4),.flr-compliance-section#flr-training .flr-training-table td:nth-child(4){width:10%!important}.flr-compliance-section#flr-training .flr-training-table th:nth-child(5),.flr-compliance-section#flr-training .flr-training-table td:nth-child(5){width:22%!important}.flr-compliance-section#flr-training .flr-training-table th:nth-child(6),.flr-compliance-section#flr-training .flr-training-table td:nth-child(6){width:20%!important}.flr-compliance-section#flr-training .flr-training-table th,.flr-compliance-section#flr-training .flr-training-table td{padding:10px 8px!important;vertical-align:middle!important;box-sizing:border-box!important}.flr-compliance-section#flr-training .flr-training-table td:nth-child(2) input[type=text]{display:block!important;width:60px!important;min-width:60px!important;max-width:60px!important;height:40px!important;margin:0!important;padding:0 6px!important;text-align:center!important;box-sizing:border-box!important}.flr-compliance-section#flr-training .flr-training-table .flr-training-date{display:block!important;width:88px!important;min-width:88px!important;max-width:88px!important;height:40px!important;margin:0!important;padding:0 7px!important;box-sizing:border-box!important}.flr-compliance-section#flr-training .flr-training-table td:nth-child(5) input[type=file]{display:block!important;width:100%!important;max-width:100%!important;height:40px!important;min-height:40px!important;margin:0!important;padding:6px 8px!important;box-sizing:border-box!important;font-size:11px!important}.flr-compliance-section#flr-training .flr-training-table td:nth-child(5) small{display:none!important}.flr-compliance-section#flr-training .flr-training-table td:nth-child(2) input::placeholder{color:transparent!important;opacity:0!important}.flr-compliance-section#flr-training .flr-training-table td:nth-child(6){text-align:center!important;padding-left:8px!important;padding-right:8px!important;white-space:normal!important}.flr-compliance-section#flr-training .flr-training-table td:nth-child(6) .flr-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;max-width:100%!important;min-height:30px!important;padding:5px 9px!important;white-space:nowrap!important;box-sizing:border-box!important}.flr-compliance-section#flr-training .flr-status-review_required,.flr-compliance-section#flr-training .flr-status-awaiting_review{background:#fff3d6!important;color:#886313!important;border-color:#efd27a!important}.flr-compliance-section#flr-training .flr-training-table-wrap{width:100%!important;max-width:100%!important;overflow-x:hidden!important;box-sizing:border-box!important}
#flr-driving .flr-driving-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important;align-items:start!important}
#flr-driving .flr-driving-form-grid p{margin:0!important}
#flr-driving .flr-driving-form-grid input[type=text],#flr-driving .flr-driving-form-grid input[type=date],#flr-driving .flr-driving-form-grid input[type=file],#flr-driving .flr-driving-form-grid select{display:block!important;width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin-top:6px!important;box-sizing:border-box!important}
#flr-driving .flr-driving-form-grid input[type=file]{padding:7px 9px!important}
#flr-driving .flr-driving-form-grid small{display:block!important;margin-top:5px!important;color:#687d8d!important;font-size:11px!important;line-height:1.35!important}
@media(max-width:700px){#flr-driving .flr-driving-form-grid{grid-template-columns:1fr!important}}
#flr-driving .flr-driving-form-grid input[type=date]{width:180px!important;max-width:180px!important;min-width:180px!important}
#flr-driving .flr-driving-form-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px 18px!important;align-items:start!important}
#flr-driving .flr-driving-form-grid>p{margin:0!important}
#flr-driving .flr-driving-form-grid input[type=text],#flr-driving .flr-driving-form-grid input[type=file]{width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important}
#flr-driving .flr-driving-form-grid input[type=date]{width:180px!important;min-width:180px!important;max-width:180px!important;height:42px!important;box-sizing:border-box!important}
#flr-driving .flr-driving-form-grid input[type=file]{padding:7px 9px!important}
#flr-driving .flr-driving-form-grid small{display:block!important;margin-top:5px!important;font-size:11px!important;line-height:1.35!important;color:#7f919e!important}
#flr-driving h3{margin:22px 0 14px!important}
@media(max-width:700px){#flr-driving .flr-driving-form-grid{grid-template-columns:1fr!important}#flr-driving .flr-driving-form-grid input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}}
#flr-driving .flr-driving-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:16px 18px!important;align-items:start!important}
#flr-driving .flr-driving-field{min-width:0!important}
#flr-driving .flr-driving-field label{display:block!important;margin-bottom:6px!important}
#flr-driving .flr-driving-field input[type=text],#flr-driving .flr-driving-field input[type=date],#flr-driving .flr-driving-field input[type=file]{display:block!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important}
#flr-driving .flr-driving-field input[type=text],#flr-driving .flr-driving-field input[type=file]{width:100%!important;max-width:100%!important}
#flr-driving .flr-driving-date-field input[type=date]{width:180px!important;min-width:180px!important;max-width:180px!important}
#flr-driving .flr-driving-field input[type=file]{padding:7px 9px!important}
#flr-driving .flr-driving-field small{display:block!important;margin-top:5px!important;font-size:11px!important;line-height:1.35!important;color:#7f919e!important}
#flr-driving .flr-driving-full{grid-column:1 / -1!important}
#flr-driving .flr-driving-full input[type=file]{width:100%!important;max-width:100%!important}
#flr-driving h3{margin:22px 0 14px!important}
#flr-driving .flr-driving-actions{margin-top:18px!important}
@media(max-width:700px){#flr-driving .flr-driving-grid{grid-template-columns:1fr!important}#flr-driving .flr-driving-date-field input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}#flr-driving .flr-driving-full{grid-column:auto!important}}
.flr-review-driving-card .flr-driving-review-summary{display:grid!important;grid-template-columns:1fr 1.35fr .8fr!important;gap:14px!important;margin-bottom:22px!important}
.flr-review-driving-card .flr-driving-review-summary-item{padding:14px 16px!important;border:1px solid #dce5ea!important;border-radius:10px!important;background:#f8fafb!important}
.flr-review-driving-card .flr-driving-review-summary-item>span:first-child{display:block!important;margin-bottom:6px!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.05em!important;color:#728795!important}
.flr-review-driving-card .flr-driving-result{display:inline-flex!important;padding:6px 10px!important;border-radius:999px!important;border:1px solid #dce5ea!important;font-size:12px!important;font-weight:600!important}
.flr-review-driving-card .flr-driving-result-green,.flr-review-driving-card .flr-driving-next-green{background:#edf8f0!important;border-color:#a8d8b3!important;color:#26733b!important}
.flr-review-driving-card .flr-driving-result-amber,.flr-review-driving-card .flr-driving-next-amber{background:#fff6df!important;border-color:#e8cf82!important;color:#876515!important}
.flr-review-driving-card .flr-driving-result-red,.flr-review-driving-card .flr-driving-next-red{background:#fff0f0!important;border-color:#e2a2a2!important;color:#a33131!important}
.flr-review-driving-card .flr-driving-review-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important}
.flr-review-driving-card .flr-driving-review-grid p{margin:0!important}
.flr-review-driving-card input[type=text],.flr-review-driving-card select{width:100%!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important}
.flr-review-driving-card textarea{width:100%!important;box-sizing:border-box!important}
.flr-review-driving-card .flr-driving-review-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;margin-top:18px!important}
.flr-review-driving-card .flr-driving-history-actions{display:flex!important;justify-content:flex-end!important;margin-top:12px!important}
.flr-review-driving-card .flr-driving-history-heading{margin-top:24px!important}
@media(max-width:700px){.flr-review-driving-card .flr-driving-review-summary,.flr-review-driving-card .flr-driving-review-grid{grid-template-columns:1fr!important}}
#flr-dbs .flr-verification-details{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important}
#flr-dbs .flr-verification-details>h3{margin-top:0!important}
#flr-dbs .flr-verification-details form>p{margin:0 0 14px!important}
#flr-dbs .flr-verification-details input[type=text],#flr-dbs .flr-verification-details input[type=date],#flr-dbs .flr-verification-details input[type=file]{height:42px!important;min-height:42px!important;box-sizing:border-box!important;border-radius:8px!important}
#flr-dbs .flr-verification-details input[type=text]{width:100%!important;max-width:100%!important;padding:0 12px!important}
#flr-dbs .flr-verification-details input[type=date]{width:180px!important;min-width:180px!important;max-width:180px!important;padding:0 10px!important}
#flr-dbs .flr-verification-details input[type=file]{width:100%!important;max-width:100%!important;padding:7px 10px!important}
#flr-dbs .flr-verification-details label{line-height:1.35!important}
#flr-dbs .flr-verification-details label>br+input{margin-top:6px!important}
#flr-dbs .flr-verification-details button{min-height:40px!important}
@media(max-width:700px){#flr-dbs .flr-verification-details input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}}
#flr-dbs .flr-verification-details form{display:grid!important;grid-template-columns:180px minmax(320px,1fr) 180px!important;gap:14px 18px!important;align-items:end!important}
#flr-dbs .flr-verification-details form>p:nth-of-type(1){grid-column:1!important;margin:0!important}
#flr-dbs .flr-verification-details form>p:nth-of-type(2){grid-column:2!important;margin:0!important}
#flr-dbs .flr-verification-details form>p:nth-of-type(3){grid-column:3!important;margin:0!important}
#flr-dbs .flr-verification-details form>p:nth-of-type(n+4){grid-column:1 / -1!important}
#flr-dbs .flr-verification-details input[type=date]{width:180px!important;min-width:180px!important;max-width:180px!important;height:42px!important;box-sizing:border-box!important}
#flr-dbs .flr-verification-details input[type=text]{width:100%!important;max-width:100%!important;height:42px!important;box-sizing:border-box!important}
#flr-dbs .flr-verification-details input[type=file]{width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;padding:7px 10px!important;box-sizing:border-box!important}
@media(max-width:900px){#flr-dbs .flr-verification-details form{grid-template-columns:1fr!important}#flr-dbs .flr-verification-details form>p:nth-of-type(1),#flr-dbs .flr-verification-details form>p:nth-of-type(2),#flr-dbs .flr-verification-details form>p:nth-of-type(3),#flr-dbs .flr-verification-details form>p:nth-of-type(n+4){grid-column:1!important}#flr-dbs .flr-verification-details input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}}
#flr-clinical-role .flr-card>p:first-of-type{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin:0 0 18px!important;line-height:1.35!important}
#flr-clinical-role .flr-card>p:first-of-type strong{display:block!important;margin-bottom:4px!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:#718592!important}
#flr-clinical-role form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 18px!important}
#flr-clinical-role form>p{margin:0!important}
#flr-clinical-role form>p:nth-of-type(3){grid-column:1 / -1!important;margin-top:2px!important}
#flr-clinical-role input[type=file]{display:block!important;width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin-top:6px!important;padding:7px 9px!important;box-sizing:border-box!important}
@media(max-width:700px){#flr-clinical-role .flr-card>p:first-of-type,#flr-clinical-role form{grid-template-columns:1fr!important}#flr-clinical-role form>p:nth-of-type(3){grid-column:auto!important}}
#flr-clinical-role .flr-clinical-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-bottom:18px!important}
#flr-clinical-role .flr-clinical-summary-item{background:#f6f9fb!important;border:1px solid #e1e8ec!important;border-radius:10px!important;padding:14px 16px!important}
#flr-clinical-role .flr-clinical-summary-item span{display:block!important;margin-bottom:5px!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:#718592!important}
#flr-clinical-role .flr-clinical-summary-item strong{display:block!important;font-size:14px!important;color:#18384f!important}
@media(max-width:700px){#flr-clinical-role .flr-clinical-summary{grid-template-columns:1fr!important}}
#flr-clinical-role .flr-clinical-edit-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-bottom:18px!important}
#flr-clinical-role .flr-clinical-edit-item{background:#f6f9fb!important;border:1px solid #e1e8ec!important;border-radius:10px!important;padding:14px 16px!important;box-sizing:border-box!important}
#flr-clinical-role .flr-clinical-edit-item label{display:block!important;margin-bottom:6px!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.04em!important;color:#718592!important}
#flr-clinical-role .flr-clinical-edit-item input,#flr-clinical-role .flr-clinical-edit-item select{display:block!important;width:100%!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important;margin:0!important}
@media(max-width:700px){#flr-clinical-role .flr-clinical-edit-grid{grid-template-columns:1fr!important}}
#flr-clinical-role form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 18px!important;align-items:start!important}
#flr-clinical-role .flr-clinical-edit-grid{grid-column:1 / -1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:0!important}
#flr-clinical-role form>p:nth-of-type(1){grid-column:1!important;margin:0!important}
#flr-clinical-role form>p:nth-of-type(2){grid-column:2!important;margin:0!important}
#flr-clinical-role form>p:nth-of-type(3){grid-column:1 / -1!important;margin:2px 0 0!important}
#flr-clinical-role form>p:nth-of-type(1) input[type=file],#flr-clinical-role form>p:nth-of-type(2) input[type=file]{width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;box-sizing:border-box!important}
@media(max-width:700px){#flr-clinical-role form,#flr-clinical-role .flr-clinical-edit-grid{grid-template-columns:1fr!important}#flr-clinical-role .flr-clinical-edit-grid,#flr-clinical-role form>p:nth-of-type(1),#flr-clinical-role form>p:nth-of-type(2),#flr-clinical-role form>p:nth-of-type(3){grid-column:1!important}}
#flr-personal .flr-card>form>h3{margin:24px 0 14px!important;padding-top:20px!important;border-top:1px solid #e5ecef!important;font-size:18px!important}
#flr-personal .flr-card>form>h3:first-of-type{margin-top:0!important;padding-top:0!important;border-top:0!important}
#flr-personal .flr-grid-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important;align-items:start!important}
#flr-personal .flr-grid-2>p{margin:0!important}
#flr-personal input[type=text],#flr-personal input[type=tel],#flr-personal input[type=date],#flr-personal input[type=file],#flr-personal select{height:42px!important;min-height:42px!important;box-sizing:border-box!important}
#flr-personal input[type=text],#flr-personal input[type=tel],#flr-personal select{width:100%!important;max-width:100%!important}
#flr-personal input[type=file]{display:block!important;width:100%!important;max-width:100%!important;padding:7px 9px!important}
#flr-personal input[type=date]{width:180px!important;min-width:180px!important;max-width:180px!important}
#flr-personal .flr-grid-2:nth-of-type(1)>p:last-child input{width:180px!important;max-width:180px!important}
#flr-personal .flr-grid-2:nth-of-type(2){grid-template-columns:repeat(3,minmax(0,1fr))!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p select{width:320px!important;max-width:100%!important}
#flr-personal .flr-card>form>h3:nth-of-type(4)+p,#flr-personal .flr-card>form>h3:nth-of-type(4)+p+p{display:inline-block!important;width:calc(50% - 11px)!important;vertical-align:top!important;margin:0 18px 14px 0!important}
#flr-personal .flr-card>form>h3:nth-of-type(4)+p+p{margin-right:0!important}
#flr-personal .flr-card>form>h3:nth-of-type(4)+p+p+p{margin:0!important;width:100%!important}
#flr-personal .flr-card>form>h3:nth-of-type(5)+p,#flr-personal .flr-card>form>h3:nth-of-type(5)+p+p{display:inline-block!important;width:calc(50% - 11px)!important;vertical-align:top!important;margin:0 18px 14px 0!important}
#flr-personal .flr-card>form>h3:nth-of-type(5)+p+p{margin-right:0!important}
#flr-personal .flr-card>form>h3:nth-of-type(5)+p+p+div{margin-bottom:14px!important}
#flr-personal textarea{width:100%!important;box-sizing:border-box!important}
@media(max-width:700px){#flr-personal .flr-grid-2,#flr-personal .flr-grid-2:nth-of-type(2){grid-template-columns:1fr!important}#flr-personal .flr-card>form>h3:nth-of-type(4)+p,#flr-personal .flr-card>form>h3:nth-of-type(4)+p+p,#flr-personal .flr-card>form>h3:nth-of-type(5)+p,#flr-personal .flr-card>form>h3:nth-of-type(5)+p+p{display:block!important;width:100%!important;margin:0 0 14px!important}#flr-personal input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}}
#flr-personal .flr-personal-insurance-grid{display:grid!important;grid-template-columns:minmax(220px,.9fr) 190px minmax(320px,1.4fr)!important;gap:14px 18px!important;align-items:end!important}
#flr-personal .flr-personal-insurance-grid>p{margin:0!important}
#flr-personal .flr-personal-insurance-grid input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}
#flr-personal .flr-personal-insurance-grid input[type=file]{width:100%!important;max-width:100%!important}
#flr-personal .flr-rtw-top-grid{display:grid!important;grid-template-columns:minmax(220px,.9fr) minmax(260px,1.2fr) 190px!important;gap:14px 18px!important;align-items:end!important}
#flr-personal .flr-rtw-top-grid>p{margin:0!important}
#flr-personal .flr-rtw-top-grid input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}
#flr-personal .flr-rtw-document-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important;margin-top:14px!important}
#flr-personal .flr-rtw-document-grid>p{margin:0!important}
#flr-personal .flr-rtw-evidence{margin:14px 0 0!important}
#flr-personal .flr-rtw-evidence input[type=file]{width:100%!important;max-width:100%!important}
@media(max-width:850px){#flr-personal .flr-personal-insurance-grid,#flr-personal .flr-rtw-top-grid,#flr-personal .flr-rtw-document-grid{grid-template-columns:1fr!important}}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p{display:grid!important;grid-template-columns:1fr!important;margin:0!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p+div.flr-grid-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p,#flr-personal .flr-card>form>h3:nth-of-type(3)+p+div.flr-grid-2{grid-column:auto!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p{width:100%!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p select{width:100%!important;max-width:100%!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p,#flr-personal .flr-card>form>h3:nth-of-type(3)+p+div.flr-grid-2{margin-bottom:0!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p{display:block!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p,#flr-personal .flr-card>form>h3:nth-of-type(3)+p+div.flr-grid-2{vertical-align:top!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p{float:left!important;width:32%!important;margin-right:2%!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p+div.flr-grid-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:66%!important;float:left!important}
#flr-personal .flr-card>form>h3:nth-of-type(4){clear:both!important;padding-top:20px!important}
#flr-personal .flr-personal-insurance-grid{display:grid!important;grid-template-columns:minmax(0,.9fr) 180px minmax(0,1.4fr)!important;gap:14px 18px!important;align-items:end!important}
#flr-personal .flr-personal-insurance-grid>p{min-width:0!important;margin:0!important}
#flr-personal .flr-personal-insurance-grid select,#flr-personal .flr-personal-insurance-grid input[type=date],#flr-personal .flr-personal-insurance-grid input[type=file]{width:100%!important;min-width:0!important;max-width:100%!important}
#flr-personal .flr-rtw-top-grid{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr) 180px!important;gap:14px 18px!important;align-items:end!important}
#flr-personal .flr-rtw-top-grid>p{min-width:0!important;margin:0!important}
#flr-personal .flr-rtw-top-grid select,#flr-personal .flr-rtw-top-grid input[type=text],#flr-personal .flr-rtw-top-grid input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}
#flr-personal .flr-rtw-document-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important}
@media(max-width:900px){#flr-personal .flr-card>form>h3:nth-of-type(3)+p,#flr-personal .flr-card>form>h3:nth-of-type(3)+p+div.flr-grid-2{float:none!important;width:100%!important;margin-right:0!important}#flr-personal .flr-personal-insurance-grid,#flr-personal .flr-rtw-top-grid,#flr-personal .flr-rtw-document-grid{grid-template-columns:1fr!important}}
#flr-personal .flr-personal-insurance-grid{grid-template-columns:minmax(260px,.95fr) 185px minmax(360px,1.35fr)!important;gap:14px 18px!important}
#flr-personal .flr-rtw-top-grid{grid-template-columns:minmax(260px,.95fr) minmax(320px,1.25fr) 185px!important;gap:14px 18px!important}
#flr-personal .flr-personal-insurance-grid>p,#flr-personal .flr-rtw-top-grid>p{display:flex!important;flex-direction:column!important;justify-content:flex-end!important}
#flr-personal .flr-personal-insurance-grid label,#flr-personal .flr-rtw-top-grid label{display:block!important;width:100%!important}
#flr-personal .flr-personal-insurance-grid input,#flr-personal .flr-personal-insurance-grid select,#flr-personal .flr-rtw-top-grid input,#flr-personal .flr-rtw-top-grid select{height:42px!important;min-height:42px!important;margin-top:6px!important;box-sizing:border-box!important}
#flr-personal .flr-rtw-document-grid{margin-top:14px!important}
#flr-personal .flr-rtw-evidence{margin-top:14px!important}
@media(max-width:900px){#flr-personal .flr-personal-insurance-grid,#flr-personal .flr-rtw-top-grid{grid-template-columns:1fr!important}}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p{float:left!important;width:370px!important;margin:0 18px 0 0!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p select{width:370px!important;min-width:370px!important;max-width:370px!important}
#flr-personal .flr-card>form>h3:nth-of-type(3)+p+div.flr-grid-2{float:none!important;width:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important;min-width:0!important}
#flr-personal .flr-personal-insurance-grid{display:grid!important;grid-template-columns:370px 180px minmax(0,1fr)!important;gap:14px 18px!important;align-items:end!important;width:100%!important}
#flr-personal .flr-personal-insurance-grid>p{min-width:0!important;margin:0!important}
#flr-personal .flr-personal-insurance-grid select{width:370px!important;min-width:370px!important;max-width:370px!important}
#flr-personal .flr-personal-insurance-grid input[type=date]{width:180px!important;min-width:180px!important;max-width:180px!important}
#flr-personal .flr-personal-insurance-grid input[type=file]{width:100%!important;min-width:0!important;max-width:100%!important}
/* Personal - authoritative Right to Work top row */
#flr-personal .flr-rtw-top-grid{display:grid!important;grid-template-columns:370px 260px minmax(0,1fr)!important;gap:14px 18px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;align-items:end!important}
#flr-personal .flr-rtw-top-grid>p{margin:0!important;min-width:0!important;max-width:100%!important}
#flr-personal .flr-rtw-top-grid select{display:block!important;width:370px!important;min-width:0!important;max-width:100%!important;height:42px!important;box-sizing:border-box!important}
#flr-personal .flr-rtw-top-grid input[type=text]{display:block!important;width:260px!important;min-width:0!important;max-width:100%!important;height:42px!important;box-sizing:border-box!important}
#flr-personal .flr-rtw-top-grid input[type=date]{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;box-sizing:border-box!important}
@media(max-width:900px){#flr-personal .flr-rtw-top-grid{grid-template-columns:1fr!important}#flr-personal .flr-rtw-top-grid select,#flr-personal .flr-rtw-top-grid input[type=text],#flr-personal .flr-rtw-top-grid input[type=date]{width:100%!important;max-width:100%!important}}
#flr-personal .flr-rtw-top-grid{grid-template-columns:370px 190px minmax(0,1fr)!important;gap:14px 18px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
#flr-personal .flr-rtw-top-grid>p{min-width:0!important}
#flr-personal .flr-rtw-top-grid select{width:370px!important;max-width:370px!important}
#flr-personal .flr-rtw-top-grid input[type=text]{width:190px!important;max-width:190px!important}
#flr-personal .flr-rtw-top-grid input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}
#flr-personal .flr-rtw-top-grid{grid-template-columns:370px 140px minmax(0,1fr)!important;gap:14px 18px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
#flr-personal .flr-rtw-top-grid input[type=text]{width:140px!important;min-width:140px!important;max-width:140px!important}
#flr-personal .flr-rtw-top-grid input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}
#flr-personal .flr-rtw-top-grid{grid-template-columns:370px 170px minmax(0,1fr)!important}
#flr-personal .flr-rtw-top-grid input[type=text]{width:170px!important;min-width:170px!important;max-width:170px!important}
#flr-personal .flr-rtw-top-grid>p:nth-child(2) label{white-space:nowrap!important}
#flr-personal .flr-rtw-top-grid{grid-template-columns:370px 170px minmax(0,1fr)!important;width:calc(100% - 22px)!important;max-width:calc(100% - 22px)!important;box-sizing:border-box!important}
#flr-personal .flr-rtw-top-grid>p:nth-child(3){min-width:0!important;overflow:hidden!important}
#flr-personal .flr-rtw-top-grid>p:nth-child(3) input[type=date]{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#flr-personal .flr-rtw-top-grid>p:nth-child(3){overflow:visible!important}
#flr-personal .flr-rtw-top-grid>p:nth-child(3) input[type=date]{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
/* My Compliance - Profile card */
#flr-profile .flr-profile-card{display:grid!important;grid-template-columns:160px minmax(0,1fr)!important;gap:24px!important;align-items:start!important}
#flr-profile .flr-profile-photo-wrap{width:160px!important}
#flr-profile .flr-profile-photo,#flr-profile .flr-profile-photo-placeholder{display:block!important;width:150px!important;height:150px!important;object-fit:cover!important;border-radius:10px!important}
#flr-profile .flr-profile-details{min-width:0!important}
#flr-profile .flr-profile-details>h3{margin:0 0 14px!important;font-size:20px!important}
#flr-profile .flr-profile-details>p:nth-of-type(1),#flr-profile .flr-profile-details>p:nth-of-type(2){display:inline-block!important;vertical-align:top!important;margin:0 10px 14px 0!important;padding:12px 16px!important;background:#f5f8fa!important;border:1px solid #dbe5eb!important;border-radius:8px!important;line-height:1.55!important}
#flr-profile .flr-profile-details>p:nth-of-type(1){min-width:180px!important}
#flr-profile .flr-profile-details>p:nth-of-type(2){min-width:260px!important}
#flr-profile .flr-profile-details form{margin-top:4px!important;padding-top:16px!important;border-top:1px solid #e3eaee!important}
#flr-profile .flr-profile-details form p{margin:0 0 10px!important}
#flr-profile .flr-profile-details input[type=file]{display:block!important;width:100%!important;max-width:100%!important;height:42px!important;min-height:42px!important;padding:7px 9px!important;box-sizing:border-box!important}
#flr-profile .flr-profile-details small{font-size:11px!important;color:#7f919e!important}
@media(max-width:700px){#flr-profile .flr-profile-card{grid-template-columns:1fr!important}#flr-profile .flr-profile-photo-wrap{width:auto!important}#flr-profile .flr-profile-details>p:nth-of-type(1),#flr-profile .flr-profile-details>p:nth-of-type(2){display:block!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}}
#flr-profile .flr-profile-details>p:nth-of-type(2){display:none!important}
#flr-profile .flr-profile-details{grid-template-columns:minmax(220px,320px) minmax(0,1fr)!important}
#flr-profile .flr-profile-details>p:nth-of-type(1){grid-column:1!important}
#flr-profile .flr-profile-details form{grid-column:1/-1!important;max-width:760px!important}
#flr-profile .flr-profile-card{align-items:stretch!important}
#flr-profile .flr-profile-photo-wrap{display:flex!important;align-items:stretch!important}
#flr-profile .flr-profile-photo{width:190px!important;height:100%!important;min-height:230px!important;max-height:280px!important;object-fit:cover!important;border-radius:10px!important}
#flr-profile .flr-profile-photo-placeholder{width:190px!important;min-height:230px!important;display:flex!important;align-items:center!important;justify-content:center!important}
#flr-profile .flr-profile-card{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:28px!important;align-items:start!important}
#flr-profile .flr-profile-photo-wrap{width:190px!important;min-width:190px!important}
#flr-profile .flr-profile-details{min-width:0!important;width:100%!important;margin:0!important;padding:0!important}
#flr-profile .flr-profile-details h3{margin-top:0!important}
#flr-profile .flr-profile-details form{width:100%!important;max-width:100%!important}
#flr-profile .flr-profile-details input[type=file]{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
@media(max-width:700px){#flr-profile .flr-profile-card{grid-template-columns:1fr!important}#flr-profile .flr-profile-photo-wrap{width:auto!important;min-width:0!important}}
/* Reviewer registration + DBS - consistent control heights */
.flr-review-registration-card select,.flr-review-dbs-card select{height:44px!important;min-height:44px!important;line-height:1.2!important;padding:0 12px!important;box-sizing:border-box!important;}
/* Staff Register - equal width status pills */
.flr-dashboard-register .flr-dashboard-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:170px!important;box-sizing:border-box!important;white-space:nowrap!important;}
/* Staff Register - equal compact status pill width */
.flr-dashboard-register .flr-dashboard-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:118px!important;min-width:118px!important;max-width:118px!important;box-sizing:border-box!important;white-space:nowrap!important;}
/* Staff Register - tighter column spacing */
.flr-dashboard-register th,.flr-dashboard-register td{padding-left:10px!important;padding-right:10px!important;}
/* Staff Register - compact horizontal column spacing */
body.page-id-533 .flr-dashboard-register th,body.page-id-533 .flr-dashboard-register td{padding-left:6px!important;padding-right:6px!important;}
/* Staff Register - status columns match badge width */
body.page-id-533 .flr-dashboard-register th:nth-child(n+4):nth-child(-n+8),body.page-id-533 .flr-dashboard-register td:nth-child(n+4):nth-child(-n+8){min-width:118px!important;width:118px!important;padding-left:4px!important;padding-right:4px!important;}
/* ============================================================ */
/* FLR Staff Registration - portal themed */
/* ============================================================ */
body.page-id-31 .wp-block-post-content{max-width:1180px!important;margin:0 auto!important;padding:26px 24px 48px!important;box-sizing:border-box!important;}
body.page-id-31 .wp-block-post-content>.wp-block-heading{margin:0!important;padding:0!important;color:#17324d!important;font-size:32px!important;line-height:1.15!important;font-weight:700!important;}
body.page-id-31 .wp-block-post-content>.wp-block-heading+p{margin:10px 0 24px!important;max-width:800px!important;color:#63798a!important;font-size:14px!important;line-height:1.55!important;}
body.page-id-31 .flr-registration-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 20px!important;width:100%!important;margin:0!important;padding:28px!important;background:#fff!important;border:1px solid #d9e2e8!important;border-radius:14px!important;box-shadow:0 5px 18px rgba(23,50,77,.06)!important;box-sizing:border-box!important;}
body.page-id-31 .flr-registration-form h2{grid-column:1/-1!important;margin:10px 0 2px!important;padding:0 0 10px!important;border-bottom:1px solid #e1e8ed!important;color:#17324d!important;font-size:20px!important;line-height:1.25!important;font-weight:700!important;}
body.page-id-31 .flr-registration-form h2:first-of-type{margin-top:0!important;}
body.page-id-31 .flr-registration-form p{margin:0!important;min-width:0!important;}
body.page-id-31 .flr-registration-form label{display:block!important;color:#526b7d!important;font-size:13px!important;font-weight:600!important;line-height:1.4!important;}
body.page-id-31 .flr-registration-form input[type=text],body.page-id-31 .flr-registration-form input[type=email],body.page-id-31 .flr-registration-form input[type=tel],body.page-id-31 .flr-registration-form select{display:block!important;width:100%!important;max-width:100%!important;height:44px!important;min-height:44px!important;margin-top:6px!important;padding:0 12px!important;border:1px solid #bccbd5!important;border-radius:8px!important;background:#fff!important;color:#17324d!important;box-shadow:none!important;font-size:14px!important;box-sizing:border-box!important;}
body.page-id-31 .flr-registration-form input:focus,body.page-id-31 .flr-registration-form select:focus{border-color:#1d7894!important;box-shadow:0 0 0 1px #1d7894!important;outline:none!important;}
body.page-id-31 .flr-registration-form p:nth-of-type(5){max-width:240px!important;}
body.page-id-31 .flr-registration-form p:nth-of-type(8){grid-column:1/-1!important;max-width:520px!important;}
body.page-id-31 .flr-registration-form p:nth-of-type(9){grid-column:1/-1!important;margin-top:2px!important;padding:16px!important;background:#f5f8fa!important;border:1px solid #dce5ea!important;border-radius:9px!important;}
body.page-id-31 .flr-registration-form p:nth-of-type(9) label{display:flex!important;align-items:flex-start!important;gap:10px!important;font-weight:400!important;}
body.page-id-31 .flr-registration-form p:nth-of-type(9) input[type=checkbox]{flex:0 0 auto!important;width:18px!important;height:18px!important;margin:1px 0 0!important;}
body.page-id-31 .flr-registration-form p:nth-of-type(9) a{color:#1d7894!important;font-weight:600!important;}
body.page-id-31 .flr-registration-form p:nth-of-type(10){grid-column:1/-1!important;margin-top:4px!important;}
body.page-id-31 .flr-registration-form button[type=submit]{min-height:44px!important;padding:0 20px!important;border:1px solid #1d7894!important;border-radius:8px!important;background:#1d7894!important;color:#fff!important;font-family:inherit!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.02em!important;box-shadow:none!important;cursor:pointer!important;}
body.page-id-31 .flr-registration-form button[type=submit]:hover{background:#17677f!important;border-color:#17677f!important;}
body.page-id-31 .flr-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
body.page-id-31 .flr-error,body.page-id-31 .flr-success{max-width:1180px!important;margin:0 auto 18px!important;padding:14px 16px!important;border-radius:9px!important;box-sizing:border-box!important;}
body.page-id-31 .flr-error{background:#fff2ef!important;border:1px solid #e8c3ba!important;color:#7d3427!important;}
body.page-id-31 .flr-success{background:#edf8f0!important;border:1px solid #c7e5d0!important;color:#25663a!important;}
@media(max-width:700px){body.page-id-31 .wp-block-post-content{padding:20px 16px 36px!important}body.page-id-31 .flr-registration-form{grid-template-columns:1fr!important;padding:20px!important}body.page-id-31 .flr-registration-form h2,body.page-id-31 .flr-registration-form p:nth-of-type(8),body.page-id-31 .flr-registration-form p:nth-of-type(9),body.page-id-31 .flr-registration-form p:nth-of-type(10){grid-column:1!important}body.page-id-31 .flr-registration-form p:nth-of-type(5),body.page-id-31 .flr-registration-form p:nth-of-type(8){max-width:none!important}}
/* Staff Registration - hide portal navigation */
body.page-id-31 .wp-block-navigation{display:none!important;}
/* Staff Registration - align header/logo with portal wrapper */
body.page-id-31 .flr-portal-header-inner{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box!important;}
body.page-id-31 .flr-brand-logo{margin-left:0!important;}
/* Staff Registration - match portal wrapper exactly */
body.page-id-31 header.wp-block-template-part>.wp-block-group> .wp-block-group.has-global-padding{width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important;}
body.page-id-31 .flr-portal-header-inner{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important;box-sizing:border-box!important;}
/* Staff Registration - final shared wrapper */
body.page-id-31 header.wp-block-template-part .flr-portal-header-inner,body.page-id-31 .wp-block-post-content{width:calc(100% - 40px)!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;}
body.page-id-31 header.wp-block-template-part .flr-portal-header-inner{padding-left:0!important;padding-right:0!important;}
body.page-id-31 .wp-block-post-content{padding:26px 0 48px!important;}
body.page-id-31 .wp-block-post-content>.wp-block-heading+p{width:100%!important;max-width:none!important;}
@media(max-width:650px){body.page-id-31 header.wp-block-template-part .flr-portal-header-inner,body.page-id-31 .wp-block-post-content{width:calc(100% - 24px)!important}body.page-id-31 .wp-block-post-content{padding:20px 0 36px!important}}
/* Staff Registration - final logo alignment */
body.page-id-31 header.wp-block-template-part .flr-brand-logo{margin-left:24px!important;}
/* Staff Registration - stack regulator fields in right column */
body.page-id-31 .flr-registration-form p:has(input[name="registration_number"]){grid-column:2!important;width:100%!important;max-width:none!important;justify-self:stretch!important;}
@media(max-width:700px){body.page-id-31 .flr-registration-form p:has(input[name="registration_number"]){grid-column:1!important;}}
/* Staff Registration - Other role field */
body.page-id-31 .flr-registration-form .flr-other-role-field{grid-column:2!important;width:100%!important;max-width:none!important;}
@media(max-width:700px){body.page-id-31 .flr-registration-form .flr-other-role-field{grid-column:1!important;}}
/* Registration professional fields - semantic layout */
body.page-id-31 .flr-registration-form .flr-other-role-field{grid-column:2!important;width:100%!important;max-width:none!important;}
body.page-id-31 .flr-registration-form p:has(select[name="regulator"]){grid-column:2!important;width:100%!important;max-width:none!important;}
body.page-id-31 .flr-registration-form p:has(input[name="registration_number"]){grid-column:2!important;width:100%!important;max-width:none!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;}
body.page-id-31 .flr-registration-form p:has(input[name="privacy_ack"]){grid-column:1/-1!important;margin-top:2px!important;padding:16px!important;background:#f5f8fa!important;border:1px solid #dce5ea!important;border-radius:9px!important;}
body.page-id-31 .flr-registration-form p:has(input[name="privacy_ack"]) label{display:flex!important;align-items:flex-start!important;gap:10px!important;font-weight:400!important;}
body.page-id-31 .flr-registration-form p:has(button[type="submit"]){grid-column:1/-1!important;margin-top:4px!important;}
@media(max-width:700px){body.page-id-31 .flr-registration-form .flr-other-role-field,body.page-id-31 .flr-registration-form p:has(select[name="regulator"]),body.page-id-31 .flr-registration-form p:has(input[name="registration_number"]){grid-column:1!important;}}
/* Registration - repair regulated role registration-number layout */
body.page-id-31 .flr-registration-form p:has(input[name="registration_number"]){padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;}
body.page-id-31 .flr-registration-form p:has(input[name="registration_number"]) label{display:block!important;width:100%!important;font-weight:600!important;}
body.page-id-31 .flr-registration-form p:has(input[name="registration_number"]) input{display:block!important;width:100%!important;max-width:100%!important;margin-top:6px!important;}
/* Security & Sign-in page */
body.page-id-631 .wp-block-post-content{width:calc(100% - 40px)!important;max-width:1180px!important;margin:0 auto!important;padding:26px 0 48px!important;box-sizing:border-box!important;}
body.page-id-631 .wp-block-post-content>.wp-block-heading{font-size:32px!important;line-height:1.2!important;margin:0 0 22px!important;color:#17395b!important;}
body.page-id-631 .wp-2fa-configuration-form{background:#fff!important;border:1px solid #d9e2e8!important;border-radius:14px!important;padding:28px!important;box-shadow:0 8px 24px rgba(0,0,0,.04)!important;max-width:none!important;width:100%!important;}
body.page-id-631 .wp-2fa-configuration-form h2,body.page-id-631 .wp-2fa-configuration-form h3,body.page-id-631 .wp-2fa-configuration-form h4{color:#17395b!important;}
body.page-id-631 .wp-2fa-configuration-form .button,body.page-id-631 .wp-2fa-configuration-form button{background:#1d7894!important;border-color:#1d7894!important;color:#fff!important;border-radius:8px!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important;}
body.page-id-631 .wp-2fa-configuration-form .button:hover,body.page-id-631 .wp-2fa-configuration-form button:hover{background:#165f76!important;border-color:#165f76!important;color:#fff!important;}
body.page-id-631 .wp-2fa-configuration-form .method-wrapper{border-bottom:1px solid #e5ebef!important;padding-bottom:20px!important;margin-bottom:22px!important;}
body.page-id-631 .wp-2fa-configuration-form .wp2fa-profile__card,body.page-id-631 .wp-2fa-configuration-form .option-pill{border:1px solid #d9e2e8!important;border-radius:10px!important;background:#f8fafb!important;}
body.page-id-631 .wp-2fa-configuration-form .wp-2fa-passkey-list-table{width:100%!important;}
@media(max-width:650px){body.page-id-631 .wp-block-post-content{width:calc(100% - 24px)!important;padding:20px 0 36px!important;}body.page-id-631 .wp-2fa-configuration-form{padding:20px!important;}}
body.page-id-631 .wp-2fa-settings-wrapper{max-width:none!important;width:100%!important;}
body.page-id-631 #wp2fa-profile-section{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;}
body.page-id-631 .wp-block-post-content{width:calc(100% - 40px)!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;}
body.page-id-631 #wp2fa-profile-section{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;}
body.page-id-631 .wp-block-post-content>.wp-2fa-shortcode-wrapper{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;}
body.page-id-631 .wp-2fa-shortcode-wrapper #wp2fa-profile-section{width:100%!important;max-width:100%!important;}
body.page-id-631 #wp2fa-profile-section{border:1px solid #d9e2e8!important;border-radius:14px!important;padding:28px!important;box-shadow:0 8px 24px rgba(23,50,77,.05)!important;background:#fff!important;}
body.page-id-631 .wp2fa-profile__title{font-size:24px!important;line-height:1.2!important;color:#17395b!important;margin-bottom:6px!important;}
body.page-id-631 .wp2fa-profile__desc{font-size:14px!important;color:#647583!important;margin-bottom:18px!important;}
body.page-id-631 .wp2fa-profile__section-title{font-size:18px!important;color:#17395b!important;margin-bottom:14px!important;}
body.page-id-631 .wp2fa-profile__summary{background:#f7f9fb!important;border:1px solid #e2e8ec!important;border-radius:10px!important;padding:14px 16px!important;margin-bottom:20px!important;}
body.page-id-631 .wp2fa-profile__card{background:#f8fafb!important;border:1px solid #d9e2e8!important;border-radius:10px!important;padding:20px!important;}
body.page-id-631 .wp2fa-profile__card-title{color:#17395b!important;font-size:15px!important;}
body.page-id-631 .wp2fa-profile__btn,body.page-id-631 #wp2fa-profile-section button,body.page-id-631 #wp2fa-profile-section .button{background:#1d7894!important;border-color:#1d7894!important;color:#fff!important;border-radius:8px!important;box-shadow:none!important;font-weight:600!important;text-decoration:none!important;}
body.page-id-631 .wp2fa-profile__btn:hover,body.page-id-631 #wp2fa-profile-section button:hover,body.page-id-631 #wp2fa-profile-section .button:hover{background:#165f76!important;border-color:#165f76!important;color:#fff!important;}
body.page-id-631 #wp2fa-profile-section h2,body.page-id-631 #wp2fa-profile-section h3,body.page-id-631 #wp2fa-profile-section h4{color:#17395b!important;}
@media(max-width:700px){body.page-id-631 #wp2fa-profile-section{padding:20px!important;}body.page-id-631 .wp2fa-profile__cards{grid-template-columns:1fr!important;}}
/* Security page - FLR portal alignment and typography */
body.page-id-631 main.wp-block-group{margin-top:0!important;}
body.page-id-631 main.wp-block-group>.wp-block-group{padding-top:38px!important;padding-bottom:48px!important;}
body.page-id-631 .wp-block-post-title{display:block!important;width:calc(100% - 40px)!important;max-width:1180px!important;margin:0 auto 22px!important;font-size:32px!important;line-height:1.2!important;font-weight:600!important;color:#17395b!important;}
body.page-id-631 .wp-block-post-content{width:calc(100% - 40px)!important;max-width:1180px!important;margin:0 auto!important;padding:0!important;}
body.page-id-631 .wp-block-post-content>.wp-2fa-shortcode-wrapper{width:100%!important;max-width:1180px!important;margin:0!important;}
body.page-id-631 #wp2fa-profile-section{width:100%!important;max-width:none!important;margin:0!important;padding:24px!important;border-radius:14px!important;}
body.page-id-631 .wp2fa-profile__title{font-size:24px!important;line-height:1.2!important;font-weight:600!important;margin:0 0 6px!important;}
body.page-id-631 .wp2fa-profile__desc{font-size:14px!important;line-height:1.5!important;}
body.page-id-631 .wp2fa-profile__section-title{font-size:18px!important;line-height:1.3!important;font-weight:600!important;}
body.page-id-631 .wp2fa-profile__card-title{font-size:15px!important;line-height:1.3!important;font-weight:600!important;}
body.page-id-631 .wp2fa-profile__summary-label,body.page-id-631 .wp2fa-profile__summary-value,body.page-id-631 #wp2fa-profile-section p{font-size:14px!important;line-height:1.5!important;}
body.page-id-631 .wp2fa-profile__btn,body.page-id-631 #wp2fa-profile-section button,body.page-id-631 #wp2fa-profile-section .button{font-size:12px!important;line-height:1.2!important;padding:10px 14px!important;}
@media(max-width:700px){body.page-id-631 .wp-block-post-title,body.page-id-631 .wp-block-post-content{width:calc(100% - 24px)!important;}body.page-id-631 .wp-block-post-title{font-size:28px!important;}body.page-id-631 #wp2fa-profile-section{padding:20px!important;}}
/* Security page - use standard FLR portal hero */
body.page-id-631 .wp-block-post-title,body.page-id-631 .entry-title{display:none!important;}
body.page-id-631 .flr-security-page{width:100%!important;max-width:100%!important;margin:0!important;padding:0 0 36px!important;}
body.page-id-631 .flr-security-page .flr-dashboard-hero{width:100%!important;margin:0 0 24px!important;}
body.page-id-631 .flr-security-page .flr-dashboard-hero h1{margin:.15rem 0 .4rem!important;font-size:clamp(28px,3vw,42px)!important;line-height:1.15!important;color:#17384f!important;}
body.page-id-631 .flr-security-page .flr-dashboard-hero p{margin:.2rem 0!important;font-size:14px!important;color:#5e6d79!important;}
body.page-id-631 .flr-security-page .flr-dashboard-kicker{font-size:12px!important;font-weight:800!important;letter-spacing:.08em!important;color:#0e708b!important;}
/* Security page - tidy Passkeys table */
body.page-id-631 .wp-2fa-passkey-list-table{width:100%!important;max-width:100%!important;table-layout:auto!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid #d9e2e8!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important;margin:18px 0 0!important;}
body.page-id-631 .wp-2fa-passkey-list-table thead th{background:#f5f8fa!important;color:#17395b!important;font-size:13px!important;font-weight:700!important;padding:16px 18px!important;border-bottom:1px solid #d9e2e8!important;text-align:left!important;}
body.page-id-631 .wp-2fa-passkey-list-table tbody td{padding:18px!important;font-size:14px!important;color:#253f51!important;border-bottom:1px solid #e6edf2!important;vertical-align:middle!important;}
body.page-id-631 .wp-2fa-passkey-list-table tbody tr:last-child td{border-bottom:0!important;}
body.page-id-631 .wp-2fa-passkey-list-table tfoot{display:none!important;}
body.page-id-631 .wp-2fa-passkey-list-table .button,body.page-id-631 .wp-2fa-passkey-list-table button{min-width:auto!important;padding:10px 16px!important;border-radius:8px!important;font-size:13px!important;line-height:1.2!important;margin-right:8px!important;}
body.page-id-631 .wp-2fa-passkey-list-table td:last-child{white-space:nowrap!important;}
body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(1){width:25%!important;}
body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(2){width:15%!important;}
body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(3){width:22%!important;}
body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(4){width:20%!important;}
body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(5){width:18%!important;}
body.page-id-631 .wp-2fa-configuration-form{overflow:hidden!important;}
@media(max-width:900px){body.page-id-631 .wp-2fa-configuration-form{overflow-x:auto!important;}body.page-id-631 .wp-2fa-passkey-list-table{min-width:760px!important;}}
/* Security page - refine Passkeys table columns */
body.page-id-631 .wp-2fa-passkey-list-table{table-layout:fixed!important;}
body.page-id-631 .wp-2fa-passkey-list-table th{font-size:11px!important;line-height:1.2!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;padding:12px 14px!important;}
body.page-id-631 .wp-2fa-passkey-list-table td{font-size:13px!important;line-height:1.35!important;padding:14px!important;}
body.page-id-631 .wp-2fa-passkey-list-table th:nth-child(1),body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(1){width:22%!important;}
body.page-id-631 .wp-2fa-passkey-list-table th:nth-child(2),body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(2){width:14%!important;}
body.page-id-631 .wp-2fa-passkey-list-table th:nth-child(3),body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(3){width:25%!important;white-space:nowrap!important;}
body.page-id-631 .wp-2fa-passkey-list-table th:nth-child(4),body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(4){width:21%!important;white-space:nowrap!important;}
body.page-id-631 .wp-2fa-passkey-list-table th:nth-child(5),body.page-id-631 .wp-2fa-passkey-list-table td:nth-child(5){width:18%!important;white-space:nowrap!important;}
body.page-id-631 .wp-2fa-passkey-list-table td:last-child{white-space:nowrap!important;}
/* Passkey table - final FLR sizing */
body.page-id-631 #wp-2fa-passkey-table{table-layout:fixed!important;width:100%!important;}
body.page-id-631 #wp-2fa-passkey-table th{font-size:11px!important;line-height:1.2!important;font-weight:700!important;padding:10px 12px!important;}
body.page-id-631 #wp-2fa-passkey-table th.sortable a,body.page-id-631 #wp-2fa-passkey-table th.sorted a{padding:0!important;font-size:11px!important;line-height:1.2!important;}
body.page-id-631 #wp-2fa-passkey-table td{font-size:13px!important;line-height:1.3!important;padding:12px!important;}
body.page-id-631 #wp-2fa-passkey-table .column-name{width:24%!important;}
body.page-id-631 #wp-2fa-passkey-table .column-status{width:13%!important;}
body.page-id-631 #wp-2fa-passkey-table .column-created-date{width:25%!important;}
body.page-id-631 #wp-2fa-passkey-table .column-last-used-date{width:20%!important;}
body.page-id-631 #wp-2fa-passkey-table .column-action{width:18%!important;}
body.page-id-631 #wp-2fa-passkey-table tbody td:nth-child(3),body.page-id-631 #wp-2fa-passkey-table tbody td:nth-child(4){white-space:nowrap!important;}
body.page-id-631 #wp-2fa-passkey-table tfoot{display:none!important;}
/* Security page - final typography alignment */
body.page-id-631 .flr-dashboard-hero h1{font-size:32px!important;line-height:1.2!important;font-weight:600!important;}
body.page-id-631 .flr-dashboard-hero p{font-size:14px!important;line-height:1.5!important;}
body.page-id-631 .wp2fa-profile__title{font-size:24px!important;line-height:1.2!important;font-weight:600!important;}
body.page-id-631 .wp2fa-profile__desc{font-size:14px!important;line-height:1.5!important;}
body.page-id-631 .wp2fa-profile__section-title{font-size:18px!important;line-height:1.3!important;font-weight:600!important;}
body.page-id-631 .wp2fa-profile__card-title{font-size:15px!important;line-height:1.3!important;font-weight:600!important;}
body.page-id-631 .wp2fa-profile__summary-label,body.page-id-631 .wp2fa-profile__summary-value{font-size:14px!important;line-height:1.4!important;}
body.page-id-631 .wp-2fa-admin--heading{font-size:18px!important;line-height:1.3!important;font-weight:600!important;color:#17384f!important;}
body.page-id-631 .wp-2fa-admin .description{font-size:14px!important;line-height:1.5!important;}
body.page-id-631 #wp-2fa-passkey-table th{font-size:11px!important;line-height:1.2!important;font-weight:700!important;}
body.page-id-631 #wp-2fa-passkey-table td{font-size:13px!important;line-height:1.35!important;}
body.page-id-631 .wp2fa-profile__btn,body.page-id-631 #wp2fa-profile-section button,body.page-id-631 #wp2fa-profile-section .button{font-size:12px!important;line-height:1.2!important;font-weight:700!important;}
/* Security hero - match portal heading scale */
body.page-id-631 .flr-security-page .flr-dashboard-hero h1{font-size:28px!important;line-height:1.2!important;font-weight:600!important;margin:.15rem 0 .35rem!important;}
body.page-id-631 .flr-security-page .flr-dashboard-kicker{font-size:11px!important;}
body.page-id-631 .flr-security-page .flr-dashboard-hero p{font-size:13px!important;}
/* Compliance Review - Token Action control alignment */
body.page-id-114 .flr-verification-token-form{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:wrap!important;}
body.page-id-114 .flr-verification-token-form label{margin:0!important;flex:1 1 360px!important;}
body.page-id-114 .flr-verification-token-form label span{display:block!important;margin-bottom:6px!important;}
body.page-id-114 .flr-verification-token-form select{height:40px!important;min-height:40px!important;padding:0 12px!important;line-height:40px!important;box-sizing:border-box!important;}
body.page-id-114 .flr-verification-token-form .flr-button{height:40px!important;min-height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 14px!important;box-sizing:border-box!important;}

/* Compliance Review - Identity edit form canonical control sizing */
body.page-id-114 .flr-identity-edit-panel .flr-grid-2,
body.page-id-114 .flr-identity-edit-panel .flr-grid-3{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px 24px!important;
    margin:0 0 14px!important;
    align-items:end!important;
}
body.page-id-114 .flr-identity-edit-panel .flr-grid-3{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.page-id-114 .flr-identity-edit-panel p{
    margin:0!important;
}
body.page-id-114 .flr-identity-edit-panel label{
    display:block!important;
    width:100%!important;
    margin:0!important;
    color:#4f6475!important;
    font-size:13px!important;
    line-height:1.25!important;
}
body.page-id-114 .flr-identity-edit-panel label strong{
    display:block!important;
    margin:0 0 5px!important;
    font-weight:500!important;
}
body.page-id-114 .flr-identity-edit-panel input[type="text"],
body.page-id-114 .flr-identity-edit-panel input[type="email"],
body.page-id-114 .flr-identity-edit-panel input[type="tel"],
body.page-id-114 .flr-identity-edit-panel select{
    width:100%!important;
    max-width:none!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 12px!important;
    box-sizing:border-box!important;
    border-radius:8px!important;
    line-height:normal!important;
    vertical-align:middle!important;
}
body.page-id-114 .flr-identity-edit-actions{
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:10px!important;
    margin-top:18px!important;
}
body.page-id-114 .flr-identity-edit-actions .flr-button{
    min-height:42px!important;
    height:42px!important;
    padding:0 16px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    line-height:1!important;
}
@media (max-width:900px){
    body.page-id-114 .flr-identity-edit-panel .flr-grid-3{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media (max-width:650px){
    body.page-id-114 .flr-identity-edit-panel .flr-grid-2,
    body.page-id-114 .flr-identity-edit-panel .flr-grid-3{
        grid-template-columns:1fr!important;
        gap:12px!important;
    }
    body.page-id-114 .flr-identity-edit-actions{
        width:100%!important;
    }
}
/* ============================================================
 * FLR My Account
 * ============================================================ */
body.page-id-646 .flr-my-account-page{width:100%!important;max-width:100%!important}
body.page-id-646 .flr-account-grid{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:20px!important;margin:0 0 20px!important}
body.page-id-646 .flr-account-grid>.flr-dashboard-card{margin:0!important}
body.page-id-646 .flr-account-profile{display:flex!important;align-items:center!important;gap:16px!important;margin:4px 0 18px!important}
body.page-id-646 .flr-account-photo{width:78px!important;height:78px!important;flex:0 0 78px!important;border-radius:12px!important;overflow:hidden!important;background:#eef3f6!important;border:1px solid #dbe3e9!important;display:flex!important;align-items:center!important;justify-content:center!important}
body.page-id-646 .flr-account-photo img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body.page-id-646 .flr-account-photo span{font-size:28px!important;font-weight:700!important;color:#476477!important}
body.page-id-646 .flr-account-profile>div:last-child{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
body.page-id-646 .flr-account-profile>div:last-child>strong{font-size:18px!important;line-height:1.25!important;color:#16364e!important}
body.page-id-646 .flr-account-profile small{font-size:13px!important;line-height:1.35!important;color:#687d8d!important}
body.page-id-646 .flr-account-status-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:12px 14px!important;background:#f6f9fa!important;border-radius:8px!important}
body.page-id-646 .flr-account-status-row span{font-size:12px!important;font-weight:700!important;color:#5e7484!important}
body.page-id-646 .flr-account-status-row strong{font-size:13px!important;color:#16364e!important}
body.page-id-646 .flr-account-details{margin:0!important;padding:0!important}
body.page-id-646 .flr-account-details>div{display:grid!important;grid-template-columns:130px minmax(0,1fr)!important;gap:18px!important;padding:12px 0!important;border-bottom:1px solid #e5ebef!important}
body.page-id-646 .flr-account-details>div:first-child{padding-top:2px!important}
body.page-id-646 .flr-account-details>div:last-child{border-bottom:0!important;padding-bottom:2px!important}
body.page-id-646 .flr-account-details dt{font-size:12px!important;font-weight:700!important;color:#5e7484!important}
body.page-id-646 .flr-account-details dd{margin:0!important;font-size:13px!important;color:#253f51!important;overflow-wrap:anywhere!important}
body.page-id-646 .flr-account-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important}
body.page-id-646 .flr-account-actions .flr-button{min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 16px!important;box-sizing:border-box!important}
@media(max-width:900px){body.page-id-646 .flr-account-grid{grid-template-columns:1fr!important}}
@media(max-width:650px){body.page-id-646 .flr-account-details>div{grid-template-columns:1fr!important;gap:4px!important}body.page-id-646 .flr-account-actions{flex-direction:column!important}body.page-id-646 .flr-account-actions .flr-button{width:100%!important}body.page-id-646 .flr-account-profile{align-items:flex-start!important}}

/* Audit Log - iPad/tablet filter containment */
body.flr-portal-page .flr-audit-filters{
    min-width:0!important;
}
body.flr-portal-page .flr-audit-filters label{
    min-width:0!important;
}
body.flr-portal-page .flr-audit-filters select,
body.flr-portal-page .flr-audit-filters input{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
body.flr-portal-page .flr-audit-filters .flr-button,
body.flr-portal-page .flr-audit-filters button{
    box-sizing:border-box!important;
    white-space:nowrap!important;
    margin:0!important;
}

/* Audit Log - align filter controls */
body.flr-portal-page .flr-audit-filters select,
body.flr-portal-page .flr-audit-filters input,
body.flr-portal-page .flr-audit-filters .flr-button,
body.flr-portal-page .flr-audit-filters button{
    height:42px!important;
    min-height:42px!important;
    box-sizing:border-box!important;
}
body.flr-portal-page .flr-audit-filters select,
body.flr-portal-page .flr-audit-filters input{
    padding:0 12px!important;
    line-height:42px!important;
}
body.flr-portal-page .flr-audit-filters .flr-button,
body.flr-portal-page .flr-audit-filters button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 16px!important;
    line-height:1!important;
}

/* Staff Dashboard - mobile Staff Register cards */
@media (max-width:650px){
body.page-id-533 .flr-dashboard-register-wrap{overflow-x:visible!important;}
body.page-id-533 .flr-dashboard-register{min-width:0!important;width:100%!important;border-collapse:separate!important;}
body.page-id-533 .flr-dashboard-register thead{display:none!important;}
body.page-id-533 .flr-dashboard-register tbody,
body.page-id-533 .flr-dashboard-register tr{display:block!important;width:100%!important;}
body.page-id-533 .flr-dashboard-register tr{margin:0 0 14px!important;padding:14px 16px!important;border:1px solid #dbe3e9!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;}
body.page-id-533 .flr-dashboard-register td{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;min-width:0!important;padding:7px 0!important;border:0!important;box-sizing:border-box!important;}
body.page-id-533 .flr-dashboard-register td+td{border-top:1px solid #edf1f4!important;}
body.page-id-533 .flr-dashboard-register td::before{font-size:11px!important;line-height:1.2!important;font-weight:700!important;color:#687d8d!important;text-transform:uppercase!important;letter-spacing:.03em!important;}
body.page-id-533 .flr-dashboard-register td:nth-child(1)::before{content:"Name";}
body.page-id-533 .flr-dashboard-register td:nth-child(2)::before{content:"FLR ID";}
body.page-id-533 .flr-dashboard-register td:nth-child(3)::before{content:"Role";}
body.page-id-533 .flr-dashboard-register td:nth-child(4)::before{content:"Operational";}
body.page-id-533 .flr-dashboard-register td:nth-child(5)::before{content:"Compliance";}
body.page-id-533 .flr-dashboard-register td:nth-child(6)::before{content:"Registration";}
body.page-id-533 .flr-dashboard-register td:nth-child(7)::before{content:"DBS";}
body.page-id-533 .flr-dashboard-register td:nth-child(8)::before{content:"Training";}
body.page-id-533 .flr-dashboard-register td:nth-child(9)::before{content:"Action";}
body.page-id-533 .flr-dashboard-register .flr-dashboard-badge{width:auto!important;min-width:0!important;max-width:100%!important;justify-self:start!important;white-space:normal!important;text-align:center!important;}
body.page-id-533 .flr-dashboard-register .flr-dashboard-review-link{justify-self:start!important;}
}
/* Staff Dashboard - mobile register status badge sizing */
@media (max-width:650px){
body.page-id-533 .flr-dashboard-register .flr-dashboard-badge{
    width:auto!important;
    min-width:150px!important;
    max-width:100%!important;
    padding-left:14px!important;
    padding-right:14px!important;
    white-space:nowrap!important;
    justify-self:start!important;
    text-align:center!important;
}
}

/* Staff Dashboard - mobile filter two-row equal grid */
@media (max-width:650px){
body.page-id-533 .flr-dashboard-filter{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;}
body.page-id-533 .flr-dashboard-filter select,body.page-id-533 .flr-dashboard-filter button,body.page-id-533 .flr-dashboard-filter>a{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;}
body.page-id-533 .flr-dashboard-filter button,body.page-id-533 .flr-dashboard-filter>a{justify-content:center!important;}
}

/* Compliance Review - mobile Staff Register cards */
@media (max-width:650px){
body.page-id-114 .flr-review-register-card .flr-review-table-wrap{overflow-x:visible!important;border:0!important;border-radius:0!important;}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table{min-width:0!important;width:100%!important;border-collapse:separate!important;}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table thead{display:none!important;}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table tbody,
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table tr{display:block!important;width:100%!important;}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table tr{margin:0 0 14px!important;padding:14px 16px!important;border:1px solid #dbe3e9!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;min-width:0!important;padding:8px 0!important;border:0!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td+td{border-top:1px solid #edf1f4!important;}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td::before{font-size:11px!important;line-height:1.2!important;font-weight:700!important;color:#687d8d!important;text-transform:uppercase!important;letter-spacing:.03em!important;}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td:nth-child(1)::before{content:"Staff member";}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td:nth-child(2)::before{content:"Staff ID";}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td:nth-child(3)::before{content:"Profession";}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td:nth-child(4)::before{content:"Registration";}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td:nth-child(5)::before{content:"Account";}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td:nth-child(6)::before{content:"Submitted";}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td:nth-child(7)::before{content:"Compliance";}
body.page-id-114 .flr-review-register-card .flr-review-table-wrap .flr-table td:nth-child(8)::before{content:"Action";}
body.page-id-114 .flr-review-register-card .flr-review-name-cell br{display:none!important;}
body.page-id-114 .flr-review-register-card .flr-review-name-cell small{display:block!important;margin-top:3px!important;}
body.page-id-114 .flr-review-register-card .flr-button{justify-self:start!important;}
}

/* Compliance Review - mobile email span + equal reviewer tools grid */
@media (max-width:650px){
body.page-id-114 .flr-review-register-card .flr-review-name-cell small{
    grid-column:1 / -1!important;
    width:100%!important;
    min-width:0!important;
    margin:6px 0 0!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
}
body.page-id-114 .flr-review-tools-links{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    gap:10px!important;
}
body.page-id-114 .flr-review-tools-links .flr-button{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 10px!important;
    box-sizing:border-box!important;
    justify-content:center!important;
    text-align:center!important;
}
}

/* Management Reports - compact System Health table on phones */
@media (max-width:650px){
body.page-id-363 .flr-system-health-card .flr-dashboard-register{min-width:0!important;width:100%!important;table-layout:fixed!important;}
body.page-id-363 .flr-system-health-card .flr-dashboard-register th:first-child,
body.page-id-363 .flr-system-health-card .flr-dashboard-register td:first-child{width:72%!important;}
body.page-id-363 .flr-system-health-card .flr-dashboard-register th:last-child,
body.page-id-363 .flr-system-health-card .flr-dashboard-register td:last-child{width:28%!important;text-align:right!important;}
body.page-id-363 .flr-system-health-card .flr-dashboard-register td{font-size:13px!important;line-height:1.35!important;overflow-wrap:normal!important;word-break:normal!important;}
body.page-id-363 .flr-system-health-card .flr-dashboard-register th{font-size:11px!important;line-height:1.25!important;}
body.page-id-363 .flr-system-health-card .flr-dashboard-register .flr-dashboard-badge{width:auto!important;min-width:72px!important;max-width:100%!important;white-space:nowrap!important;}
}

/* Management Reports - compact mobile stat grid */
@media (max-width:560px){
body.page-id-363 .flr-reports>.flr-report-stat-grid,
body.page-id-363 .flr-reports .flr-dashboard-card>.flr-dashboard-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
}
body.page-id-363 .flr-reports .flr-dashboard-stat{
    min-height:94px!important;
    padding:13px 14px!important;
}
}
@media (min-width:561px) and (max-width:700px){
body.page-id-363 .flr-reports>.flr-report-stat-grid,
body.page-id-363 .flr-reports .flr-dashboard-card>.flr-dashboard-stat-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
}
}

/* Production Readiness - mobile readable readiness cards */
@media (max-width:650px){
body.page-id-438 .flr-production-readiness .flr-dashboard-register-wrap{overflow-x:visible!important;border:0!important;border-radius:0!important;}
body.page-id-438 .flr-production-readiness .flr-dashboard-register{width:100%!important;min-width:0!important;border-collapse:separate!important;}
body.page-id-438 .flr-production-readiness .flr-dashboard-register thead{display:none!important;}
body.page-id-438 .flr-production-readiness .flr-dashboard-register tbody,
body.page-id-438 .flr-production-readiness .flr-dashboard-register tr{display:block!important;width:100%!important;}
body.page-id-438 .flr-production-readiness .flr-dashboard-register tr{margin:0 0 12px!important;padding:14px 16px!important;border:1px solid #dbe3e9!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;}
body.page-id-438 .flr-production-readiness .flr-dashboard-register td{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;width:100%!important;min-width:0!important;padding:8px 0!important;border:0!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;}
body.page-id-438 .flr-production-readiness .flr-dashboard-register td+td{border-top:1px solid #edf1f4!important;}
body.page-id-438 .flr-production-readiness .flr-dashboard-register td::before{font-size:11px!important;line-height:1.2!important;font-weight:700!important;color:#687d8d!important;text-transform:uppercase!important;letter-spacing:.03em!important;}
body.page-id-438 .flr-production-readiness .flr-dashboard-register td:nth-child(1)::before{content:"Control";}
body.page-id-438 .flr-production-readiness .flr-dashboard-register td:nth-child(2)::before{content:"Status";}
body.page-id-438 .flr-production-readiness .flr-dashboard-register td:nth-child(3)::before{content:"Detail";}
body.page-id-438 .flr-production-readiness .flr-dashboard-register .flr-dashboard-badge{width:auto!important;min-width:118px!important;max-width:100%!important;justify-self:start!important;white-space:nowrap!important;}
}

/* Production Readiness - use standard mobile portal width */
@media (max-width:650px){
body.page-id-438 .flr-production-readiness{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 24px)!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
}
body.page-id-438 .flr-production-readiness>.flr-dashboard-hero,
body.page-id-438 .flr-production-readiness>.flr-dashboard-card{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
}
/* Reviewer information architecture: dedicated Staff Register + Reviewer Tools */
body.page-id-650 .flr-staff-register-page,
body.page-id-651 .flr-reviewer-tools-page{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
body.page-id-650 .flr-review-register-card{width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:20px!important;overflow:hidden!important;}
body.page-id-650 .flr-review-table-wrap{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:auto!important;border:1px solid #e1e7eb!important;border-radius:10px!important;}
body.page-id-650 .flr-review-table-wrap .flr-table{width:100%!important;min-width:1100px!important;margin:0!important;border-collapse:collapse!important;background:#fff!important;}
body.page-id-650 .flr-review-table-wrap .flr-table th{padding:11px 14px!important;background:#f4f7f9!important;color:#526b7b!important;font-size:11px!important;line-height:1.25!important;font-weight:700!important;text-align:left!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td{padding:13px 14px!important;color:#445b6a!important;font-size:13px!important;line-height:1.4!important;vertical-align:middle!important;border-bottom:1px solid #e7ecef!important;}
body.page-id-651 .flr-review-tools-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
body.page-id-651 .flr-review-tools-links .flr-button{width:100%!important;min-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;}
@media(max-width:650px){
body.page-id-650 .flr-review-table-wrap{overflow-x:visible!important;border:0!important;border-radius:0!important;}
body.page-id-650 .flr-review-table-wrap .flr-table{min-width:0!important;width:100%!important;border-collapse:separate!important;}
body.page-id-650 .flr-review-table-wrap .flr-table thead{display:none!important;}
body.page-id-650 .flr-review-table-wrap .flr-table tbody,body.page-id-650 .flr-review-table-wrap .flr-table tr{display:block!important;width:100%!important;}
body.page-id-650 .flr-review-table-wrap .flr-table tr{margin:0 0 14px!important;padding:14px 16px!important;border:1px solid #dbe3e9!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;width:100%!important;min-width:0!important;padding:8px 0!important;border:0!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td+td{border-top:1px solid #edf1f4!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td::before{font-size:11px!important;line-height:1.2!important;font-weight:700!important;color:#687d8d!important;text-transform:uppercase!important;letter-spacing:.03em!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(1)::before{content:"Staff member";}body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(2)::before{content:"Staff ID";}body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(3)::before{content:"Profession";}body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(4)::before{content:"Registration";}body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(5)::before{content:"Account";}body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(6)::before{content:"Submitted";}body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(7)::before{content:"Compliance";}body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(8)::before{content:"Action";}
body.page-id-650 .flr-review-name-cell br{display:none!important;}body.page-id-650 .flr-review-name-cell small{display:block!important;grid-column:1/-1!important;margin-top:4px!important;overflow-wrap:anywhere!important;}
body.page-id-651 .flr-review-tools-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* Reviewer Tools - flat action grid */
body.page-id-651 .flr-reviewer-tools-links{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 20px!important;}
body.page-id-651 .flr-reviewer-tools-links .flr-button{width:100%!important;min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important;}
@media(max-width:900px){body.page-id-651 .flr-reviewer-tools-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:420px){body.page-id-651 .flr-reviewer-tools-links{gap:10px!important;}}

/* Staff Register - flatten dedicated page content */
body.page-id-650 .flr-staff-register-intro{
    margin:0 0 16px!important;
    color:#687d8d!important;
    font-size:13px!important;
    line-height:1.5!important;
}
body.page-id-650 .flr-staff-register-page>.flr-review-table-wrap{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}

/* Staff Register - iPhone width optimisation */
@media (max-width:650px){
body.page-id-650 .flr-staff-register-page{width:calc(100vw - 24px)!important;max-width:none!important;margin-left:calc(50% - 50vw + 12px)!important;margin-right:0!important;box-sizing:border-box!important;}
body.page-id-650 .flr-staff-register-page>.flr-dashboard-hero,
body.page-id-650 .flr-staff-register-page>.flr-review-register-note,
body.page-id-650 .flr-staff-register-page>.flr-review-table-wrap{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
body.page-id-650 .flr-review-table-wrap .flr-table tr{width:100%!important;max-width:100%!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td{grid-template-columns:105px minmax(0,1fr)!important;}
body.page-id-650 .flr-review-table-wrap .flr-button{width:100%!important;justify-content:center!important;}
}
/* Staff Register - corrected iPhone width and compact actions */
@media (max-width:650px){
body.page-id-650 .flr-staff-register-page{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 24px)!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(4){white-space:nowrap!important;}
body.page-id-650 .flr-registration-display{display:inline!important;white-space:nowrap!important;}
body.page-id-650 .flr-registration-display a{display:inline!important;white-space:nowrap!important;}
body.page-id-650 .flr-review-table-wrap .flr-button{
    width:auto!important;
    min-width:140px!important;
    max-width:180px!important;
    justify-self:start!important;
    justify-content:center!important;
}
}

/* Staff Register - final iPhone card shell cleanup */
@media (max-width:650px){
body.page-id-650 .flr-review-table-wrap,
body.page-id-650 .flr-review-table-wrap .flr-table,
body.page-id-650 .flr-review-table-wrap .flr-table tbody{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    border-radius:0!important;
}
body.page-id-650 .flr-review-table-wrap{
    padding:0!important;
    margin:0!important;
}
body.page-id-650 .flr-review-table-wrap .flr-table tr{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(8){
    display:block!important;
    padding-top:12px!important;
}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(8)::before{
    display:block!important;
    margin-bottom:8px!important;
}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(8) .flr-button{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    justify-content:center!important;
    box-sizing:border-box!important;
}
}

/* Compliance Review - mobile status grid containment */
@media (max-width:650px){
body.page-id-114 .flr-review-staff-statuses{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    box-sizing:border-box!important;
}
body.page-id-114 .flr-review-status-box{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:12px 14px!important;
    box-sizing:border-box!important;
}
body.page-id-114 .flr-review-status-box span,
body.page-id-114 .flr-review-status-box strong{
    min-width:0!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
}
}

/* Staff Dashboard - full-width card actions on iPhone */
@media (max-width:650px){
body.page-id-533 .flr-dashboard-card .flr-dashboard-actions{
    width:100%!important;
    display:block!important;
    margin-top:16px!important;
}
body.page-id-533 .flr-dashboard-card .flr-dashboard-actions a{
    width:100%!important;
    min-height:44px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    box-sizing:border-box!important;
}
}

/* Staff Dashboard - mobile profile header with full-width details below */
@media (max-width:650px){
body.page-id-533 .flr-dashboard-profile{
    display:grid!important;
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:16px!important;
    align-items:start!important;
}
body.page-id-533 .flr-dashboard-profile .flr-dashboard-photo{
    grid-column:1!important;
    grid-row:1!important;
    margin:0!important;
}
body.page-id-533 .flr-dashboard-profile .flr-dashboard-profile-main{
    display:contents!important;
}
body.page-id-533 .flr-dashboard-profile .flr-dashboard-card-heading{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    margin:0!important;
}
body.page-id-533 .flr-dashboard-profile .flr-dashboard-details-grid,
body.page-id-533 .flr-dashboard-profile .flr-dashboard-actions{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
}
body.page-id-533 .flr-dashboard-profile .flr-dashboard-details-grid{
    margin-top:0!important;
}
}

/* My Compliance - iPhone full-width containment */
@media (max-width:650px){
body.page-id-33 .wp-site-blocks>main>*{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
}
body.page-id-33 .flr-compliance-wrap,
body.page-id-33 .flr-compliance-form,
body.page-id-33 .flr-compliance-section{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
}
body.page-id-33 .flr-compliance-section{padding:18px!important;overflow:hidden!important;}
body.page-id-33 .flr-compliance-section form,
body.page-id-33 .flr-compliance-section p,
body.page-id-33 .flr-compliance-section label,
body.page-id-33 .flr-compliance-section .flr-grid-2,
body.page-id-33 .flr-compliance-section .flr-grid-2>*{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
body.page-id-33 .flr-compliance-section input,
body.page-id-33 .flr-compliance-section select,
body.page-id-33 .flr-compliance-section textarea{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
}

/* My Compliance - iPhone refinement */
@media (max-width:700px){
body.page-id-33 .flr-section-nav{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:10px!important;width:100%!important;margin:0 0 18px!important;
}
body.page-id-33 .flr-section-nav a{
 width:100%!important;min-width:0!important;min-height:44px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:8px 10px!important;text-align:center!important;box-sizing:border-box!important;
}
body.page-id-33 .flr-compliance-section,
body.page-id-33 .flr-compliance-section form,
body.page-id-33 .flr-compliance-section p,
body.page-id-33 .flr-compliance-section label{
 min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
body.page-id-33 .flr-compliance-section input,
body.page-id-33 .flr-compliance-section select,
body.page-id-33 .flr-compliance-section textarea{
 width:100%!important;max-width:100%!important;min-width:0!important;
 box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;
}
body.page-id-33 .flr-personal-insurance-grid,
body.page-id-33 .flr-rtw-top-grid,
body.page-id-33 .flr-rtw-document-grid,
body.page-id-33 .flr-clinical-edit-grid,
body.page-id-33 .flr-driving-form-grid{
 display:grid!important;grid-template-columns:1fr!important;width:100%!important;
 max-width:100%!important;min-width:0!important;gap:14px!important;
}
body.page-id-33 .flr-compliance-section form>p:last-child button,
body.page-id-33 .flr-compliance-section .flr-button{
 width:100%!important;max-width:100%!important;min-height:44px!important;
 justify-content:center!important;text-align:center!important;box-sizing:border-box!important;
}
body.page-id-33 #flr-training .flr-training-table-wrap{overflow:visible!important;}
body.page-id-33 #flr-training .flr-training-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important;border:0!important;}
body.page-id-33 #flr-training .flr-training-table thead{display:none!important;}
body.page-id-33 #flr-training .flr-training-table tbody,
body.page-id-33 #flr-training .flr-training-table tr{display:block!important;width:100%!important;}
body.page-id-33 #flr-training .flr-training-table tr{
 margin:0 0 14px!important;padding:14px!important;border:1px solid #dbe3e9!important;
 border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;
}
body.page-id-33 #flr-training .flr-training-table td{
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
 padding:8px 0!important;border:0!important;background:transparent!important;box-sizing:border-box!important;text-align:left!important;
}
body.page-id-33 #flr-training .flr-training-table td+td{border-top:1px solid #edf1f4!important;}
body.page-id-33 #flr-training .flr-training-table td::before{
 display:block!important;margin:0 0 6px!important;color:#687d8d!important;
 font-size:10px!important;line-height:1.2!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.03em!important;
}
body.page-id-33 #flr-training .flr-training-table td:nth-child(1)::before{content:"Subject";}
body.page-id-33 #flr-training .flr-training-table td:nth-child(2)::before{content:"Level / type";}
body.page-id-33 #flr-training .flr-training-table td:nth-child(3)::before{content:"Completed";}
body.page-id-33 #flr-training .flr-training-table td:nth-child(4)::before{content:"Expiry / review";}
body.page-id-33 #flr-training .flr-training-table td:nth-child(5)::before{content:"Certificate";}
body.page-id-33 #flr-training .flr-training-table td:nth-child(6)::before{content:"Status";}
body.page-id-33 #flr-training .flr-training-table td:nth-child(2) input[type=text],
body.page-id-33 #flr-training .flr-training-table .flr-training-date,
body.page-id-33 #flr-training .flr-training-table td:nth-child(5) input[type=file]{
 width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;
}
body.page-id-33 #flr-training .flr-training-table td:nth-child(6){white-space:normal!important;}
body.page-id-33 #flr-training .flr-training-table td:nth-child(6) .flr-status{
 max-width:100%!important;white-space:normal!important;justify-content:flex-start!important;text-align:left!important;
}
}

/* My Compliance route page - iPhone containment and mobile training cards */
@media (max-width:700px){
body.page-id-7 .flr-section-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;margin:0 0 18px!important;}
body.page-id-7 .flr-section-nav a{width:100%!important;min-width:0!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 10px!important;text-align:center!important;box-sizing:border-box!important;}
body.page-id-7 .flr-compliance-section{width:100%!important;max-width:100%!important;min-width:0!important;padding:18px!important;overflow:hidden!important;box-sizing:border-box!important;}
body.page-id-7 .flr-compliance-section form,body.page-id-7 .flr-compliance-section p,body.page-id-7 .flr-compliance-section label,body.page-id-7 .flr-compliance-section [class*="grid"]{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
body.page-id-7 .flr-compliance-section input,body.page-id-7 .flr-compliance-section select,body.page-id-7 .flr-compliance-section textarea{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;}
body.page-id-7 .flr-personal-insurance-grid,body.page-id-7 .flr-rtw-top-grid,body.page-id-7 .flr-rtw-document-grid,body.page-id-7 .flr-clinical-edit-grid,body.page-id-7 .flr-driving-form-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important;width:100%!important;max-width:100%!important;min-width:0!important;}
body.page-id-7 .flr-compliance-section form>p:last-child button,body.page-id-7 .flr-compliance-section .flr-button{width:100%!important;max-width:100%!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important;}
body.page-id-7 #flr-training .flr-training-table-wrap{width:100%!important;max-width:100%!important;overflow:visible!important;}
body.page-id-7 #flr-training .flr-training-table{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important;border:0!important;}
body.page-id-7 #flr-training .flr-training-table thead{display:none!important;}
body.page-id-7 #flr-training .flr-training-table tbody,body.page-id-7 #flr-training .flr-training-table tr{display:block!important;width:100%!important;}
body.page-id-7 #flr-training .flr-training-table tr{margin:0 0 14px!important;padding:14px!important;border:1px solid #dbe3e9!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;}
body.page-id-7 #flr-training .flr-training-table td{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:8px 0!important;border:0!important;background:transparent!important;box-sizing:border-box!important;text-align:left!important;}
body.page-id-7 #flr-training .flr-training-table td+td{border-top:1px solid #edf1f4!important;}
body.page-id-7 #flr-training .flr-training-table td::before{display:block!important;margin:0 0 6px!important;color:#687d8d!important;font-size:10px!important;line-height:1.2!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.03em!important;}
body.page-id-7 #flr-training .flr-training-table td:nth-child(1)::before{content:"Subject";}body.page-id-7 #flr-training .flr-training-table td:nth-child(2)::before{content:"Level / type";}body.page-id-7 #flr-training .flr-training-table td:nth-child(3)::before{content:"Completed";}body.page-id-7 #flr-training .flr-training-table td:nth-child(4)::before{content:"Expiry / review";}body.page-id-7 #flr-training .flr-training-table td:nth-child(5)::before{content:"Certificate";}body.page-id-7 #flr-training .flr-training-table td:nth-child(6)::before{content:"Status";}
body.page-id-7 #flr-training .flr-training-table td:nth-child(2) input[type=text],body.page-id-7 #flr-training .flr-training-table .flr-training-date,body.page-id-7 #flr-training .flr-training-table td:nth-child(5) input[type=file]{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;margin:0!important;box-sizing:border-box!important;}
body.page-id-7 #flr-training .flr-training-table td:nth-child(6){white-space:normal!important;}body.page-id-7 #flr-training .flr-training-table td:nth-child(6) .flr-status{width:auto!important;max-width:100%!important;white-space:normal!important;justify-content:flex-start!important;text-align:left!important;}
}

/* My Compliance - definitive mobile containment (route-independent) */
@media (max-width:700px){
.flr-section-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;max-width:100%!important;}
.flr-section-nav a{width:100%!important;min-width:0!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important;padding:8px 10px!important;}
.flr-compliance-section,.flr-compliance-section form,.flr-compliance-section p,.flr-compliance-section label{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
.flr-compliance-section input:not([type=checkbox]):not([type=radio]),.flr-compliance-section select,.flr-compliance-section textarea{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;}
#flr-personal .flr-personal-insurance-grid,#flr-personal .flr-rtw-top-grid,#flr-personal .flr-rtw-document-grid,#flr-clinical-role .flr-clinical-edit-grid,#flr-driving .flr-driving-form-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:14px!important;}
#flr-personal .flr-personal-insurance-grid>p,#flr-personal .flr-rtw-top-grid>p,#flr-personal .flr-rtw-document-grid>p{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;}
#flr-personal .flr-personal-insurance-grid select,#flr-personal .flr-personal-insurance-grid input,#flr-personal .flr-rtw-top-grid select,#flr-personal .flr-rtw-top-grid input,#flr-personal .flr-rtw-document-grid select,#flr-personal .flr-rtw-document-grid input{width:100%!important;min-width:0!important;max-width:100%!important;}
.flr-compliance-section form>p:last-child button,.flr-compliance-section .flr-button{width:100%!important;max-width:100%!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;box-sizing:border-box!important;}
.flr-compliance-section#flr-training .flr-training-table-wrap{overflow:visible!important;width:100%!important;max-width:100%!important;}
.flr-compliance-section#flr-training .flr-training-table{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;table-layout:auto!important;border:0!important;}
.flr-compliance-section#flr-training .flr-training-table thead{display:none!important;}
.flr-compliance-section#flr-training .flr-training-table tbody,.flr-compliance-section#flr-training .flr-training-table tr{display:block!important;width:100%!important;max-width:100%!important;}
.flr-compliance-section#flr-training .flr-training-table tr{margin:0 0 14px!important;padding:14px!important;border:1px solid #dbe3e9!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;}
.flr-compliance-section#flr-training .flr-training-table td{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:8px 0!important;border:0!important;background:transparent!important;box-sizing:border-box!important;text-align:left!important;white-space:normal!important;}
.flr-compliance-section#flr-training .flr-training-table td+td{border-top:1px solid #edf1f4!important;}
.flr-compliance-section#flr-training .flr-training-table td::before{display:block!important;margin:0 0 6px!important;color:#687d8d!important;font-size:10px!important;line-height:1.2!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.03em!important;}
.flr-compliance-section#flr-training .flr-training-table td:nth-child(1)::before{content:"Subject";}.flr-compliance-section#flr-training .flr-training-table td:nth-child(2)::before{content:"Level / type";}.flr-compliance-section#flr-training .flr-training-table td:nth-child(3)::before{content:"Completed";}.flr-compliance-section#flr-training .flr-training-table td:nth-child(4)::before{content:"Expiry / review";}.flr-compliance-section#flr-training .flr-training-table td:nth-child(5)::before{content:"Certificate";}.flr-compliance-section#flr-training .flr-training-table td:nth-child(6)::before{content:"Status";}
.flr-compliance-section#flr-training .flr-training-table td:nth-child(2) input[type=text],.flr-compliance-section#flr-training .flr-training-table .flr-training-date,.flr-compliance-section#flr-training .flr-training-table td:nth-child(5) input[type=file]{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;margin:0!important;box-sizing:border-box!important;}
.flr-compliance-section#flr-training .flr-training-table td:nth-child(6) .flr-status{display:inline-flex!important;width:auto!important;max-width:100%!important;min-height:32px!important;white-space:normal!important;text-align:left!important;justify-content:flex-start!important;}
}

/* My Compliance - definitive iPhone layout */
@media (max-width:700px){
body:has(#flr-training) .wp-site-blocks>main,
body:has(#flr-training) .wp-site-blocks>main>*{
    width:100%!important;max-width:none!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
    box-sizing:border-box!important;
}
body:has(#flr-training) .cuar-css-wrapper,
body:has(#flr-training) .cuar-wrapper,
body:has(#flr-training) .customer-area,
body:has(#flr-training) .cuar-content{
    width:100%!important;max-width:none!important;
    margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
}
body:has(#flr-training) .flr-compliance-wrap{
    width:calc(100% - 16px)!important;max-width:none!important;
    margin:0 auto!important;padding:0!important;box-sizing:border-box!important;
}
body:has(#flr-training) .flr-compliance-section{
    width:100%!important;max-width:100%!important;
    padding:16px!important;overflow:hidden!important;box-sizing:border-box!important;
}

/* Kill desktop fixed widths inside Personal / RTW / Insurance */
body:has(#flr-training) #flr-personal .flr-personal-insurance-grid,
body:has(#flr-training) #flr-personal .flr-rtw-top-grid,
body:has(#flr-training) #flr-personal .flr-rtw-document-grid,
body:has(#flr-training) #flr-personal .flr-grid-2,
body:has(#flr-training) #flr-clinical-role .flr-clinical-edit-grid,
body:has(#flr-training) #flr-driving .flr-driving-form-grid{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    gap:14px!important;box-sizing:border-box!important;
}
body:has(#flr-training) #flr-personal .flr-personal-insurance-grid>p,
body:has(#flr-training) #flr-personal .flr-rtw-top-grid>p,
body:has(#flr-training) #flr-personal .flr-rtw-document-grid>p{
    width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;
}
body:has(#flr-training) #flr-personal .flr-personal-insurance-grid select,
body:has(#flr-training) #flr-personal .flr-personal-insurance-grid input,
body:has(#flr-training) #flr-personal .flr-rtw-top-grid select,
body:has(#flr-training) #flr-personal .flr-rtw-top-grid input,
body:has(#flr-training) #flr-personal .flr-rtw-document-grid select,
body:has(#flr-training) #flr-personal .flr-rtw-document-grid input,
body:has(#flr-training) #flr-clinical-role input,
body:has(#flr-training) #flr-clinical-role select,
body:has(#flr-training) #flr-driving input,
body:has(#flr-training) #flr-driving select,
body:has(#flr-training) #flr-dbs .flr-verification-details input{
    display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;
}
body:has(#flr-training) #flr-dbs .flr-verification-details form{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;
    max-width:100%!important;min-width:0!important;gap:14px!important;
}
body:has(#flr-training) #flr-dbs .flr-verification-details form>p{
    grid-column:1!important;width:100%!important;min-width:0!important;max-width:100%!important;
}

/* Mandatory training: mobile cards with genuinely full-width editable controls */
body:has(#flr-training) #flr-training .flr-training-table,
body:has(#flr-training) #flr-training .flr-training-table tbody,
body:has(#flr-training) #flr-training .flr-training-table tr{
    display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
}
body:has(#flr-training) #flr-training .flr-training-table thead{display:none!important;}
body:has(#flr-training) #flr-training .flr-training-table tr{
    margin:0 0 14px!important;padding:14px!important;border:1px solid #dbe3e9!important;
    border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;
}
body:has(#flr-training) #flr-training .flr-training-table td,
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(1),
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(2),
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(3),
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(4),
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(5),
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(6){
    display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
    padding:9px 0!important;border:0!important;box-sizing:border-box!important;
    background:transparent!important;text-align:left!important;white-space:normal!important;
}
body:has(#flr-training) #flr-training .flr-training-table td+td{border-top:1px solid #edf1f4!important;}
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(2) input[type=text],
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(3) input[type=text],
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(4) input[type=text],
body:has(#flr-training) #flr-training .flr-training-table .flr-training-date,
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(5) input[type=file]{
    display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
    height:44px!important;min-height:44px!important;margin:0!important;padding:0 11px!important;
    box-sizing:border-box!important;text-align:left!important;
}
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(5) input[type=file]{padding:7px 9px!important;}
body:has(#flr-training) #flr-training .flr-training-table td:nth-child(6) .flr-status{
    display:inline-flex!important;width:auto!important;max-width:100%!important;min-width:0!important;
    white-space:normal!important;text-align:left!important;justify-content:flex-start!important;
}

/* Mobile actions and section navigation */
body:has(#flr-training) .flr-compliance-section form>p:last-child button,
body:has(#flr-training) .flr-compliance-section .flr-button{
    width:100%!important;max-width:100%!important;min-height:44px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    box-sizing:border-box!important;text-align:center!important;
}
body:has(#flr-training) .flr-section-nav{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;width:100%!important;margin:0 0 18px!important;padding:0!important;
    position:static!important;background:transparent!important;
}
body:has(#flr-training) .flr-section-nav a{
    width:100%!important;min-width:0!important;min-height:42px!important;padding:8px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    text-align:center!important;box-sizing:border-box!important;font-size:12px!important;
}
}

/* My Compliance - final iPhone width and field normalisation */
@media (max-width:700px){
body:has(#flr-training) .flr-compliance-wrap{
    width:calc(100% - 24px)!important;
    max-width:760px!important;
    margin:18px auto 40px!important;
    padding:0!important;
    box-sizing:border-box!important;
}
body:has(#flr-training) .flr-compliance-section{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    padding:16px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
}
body:has(#flr-training) .flr-compliance-section input:not([type=checkbox]):not([type=radio]),
body:has(#flr-training) .flr-compliance-section select,
body:has(#flr-training) .flr-compliance-section textarea{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
body:has(#flr-training) #flr-personal .flr-grid-2,
body:has(#flr-training) #flr-personal .flr-personal-insurance-grid,
body:has(#flr-training) #flr-personal .flr-rtw-top-grid,
body:has(#flr-training) #flr-personal .flr-rtw-document-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    gap:14px!important;
}
body:has(#flr-training) #flr-personal .flr-grid-2>p,
body:has(#flr-training) #flr-personal .flr-personal-insurance-grid>p,
body:has(#flr-training) #flr-personal .flr-rtw-top-grid>p,
body:has(#flr-training) #flr-personal .flr-rtw-document-grid>p{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
}
body:has(#flr-training) #flr-personal .flr-grid-2:nth-of-type(1)>p:last-child input,
body:has(#flr-training) #flr-personal input[type=date],
body:has(#flr-training) #flr-dbs input[type=date],
body:has(#flr-training) #flr-driving input[type=date]{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
}
}

/* Mobile fix: individual Personal Details table must wrap inside its card */
@media (max-width: 800px) {
    body.page-id-114 .flr-review-detail-table {
        display: table !important;
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    body.page-id-114 .flr-review-detail-table th,
    body.page-id-114 .flr-review-detail-table td {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        box-sizing: border-box !important;
    }

    body.page-id-114 .flr-review-detail-table th {
        width: 36% !important;
    }

    body.page-id-114 .flr-review-detail-table td {
        width: 64% !important;
    }

    body.page-id-114 .flr-review-section-card {
        min-width: 0 !important;
        overflow: hidden !important;
    }
}

/* Mobile fix: reviewer Mandatory Training table becomes stacked records */
@media (max-width: 800px) {
    body.page-id-114 .flr-review-training-card { min-width: 0 !important; overflow: hidden !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table-wrap { width: 100% !important; max-width: 100% !important; overflow: visible !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table { display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; border: 0 !important; background: transparent !important; white-space: normal !important; overflow: visible !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table thead { display: none !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table tbody,
    body.page-id-114 .flr-review-training-card .flr-training-table tr,
    body.page-id-114 .flr-review-training-card .flr-training-table td { display: block !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; white-space: normal !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table tr { margin: 0 0 16px !important; border: 1px solid #d9e3e8 !important; border-radius: 10px !important; background: #fff !important; overflow: hidden !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table td { position: relative !important; padding: 10px 12px 10px 43% !important; min-height: 44px !important; border: 0 !important; border-bottom: 1px solid #e2e8ec !important; overflow-wrap: anywhere !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table td:last-child { border-bottom: 0 !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table td::before { position: absolute !important; left: 12px !important; top: 10px !important; width: 36% !important; color: #536a7a !important; font-weight: 700 !important; line-height: 1.35 !important; }
    body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(1)::before { content: "Subject"; }
    body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(2)::before { content: "Level / type"; }
    body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(3)::before { content: "Completed"; }
    body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(4)::before { content: "Expiry"; }
    body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(5)::before { content: "Evidence"; }
    body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(6)::before { content: "Review"; }
    body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(7)::before { content: "Note"; }
    body.page-id-114 .flr-review-training-card .flr-training-table select,
    body.page-id-114 .flr-review-training-card .flr-training-table textarea { width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
    body.page-id-114 .flr-review-training-card .flr-training-actions { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
    body.page-id-114 .flr-review-training-card .flr-training-actions .flr-button,
    body.page-id-114 .flr-review-training-card .flr-training-actions button { width: 100% !important; box-sizing: border-box !important; text-align: center !important; }
}

/* Reviewer mandatory training - corrected mobile card layout */
@media (max-width: 800px) {
  body.page-id-114 .flr-review-training-card .flr-training-table,
  body.page-id-114 .flr-review-training-card .flr-training-table tbody,
  body.page-id-114 .flr-review-training-card .flr-training-table tr {
    display:block !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    table-layout:auto !important;
    box-sizing:border-box !important;
  }
  body.page-id-114 .flr-review-training-card .flr-training-table td,
  body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(n) {
    display:grid !important;
    grid-template-columns:38% minmax(0,1fr) !important;
    column-gap:14px !important;
    align-items:start !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    padding:11px 12px !important;
    box-sizing:border-box !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }
  body.page-id-114 .flr-review-training-card .flr-training-table td::before {
    position:static !important;
    display:block !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    grid-column:1 !important;
  }
  body.page-id-114 .flr-review-training-card .flr-training-table td > * {
    min-width:0 !important;
    max-width:100% !important;
    grid-column:2 !important;
  }
  body.page-id-114 .flr-review-training-card .flr-training-table td > strong {
    display:block !important;
    width:auto !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }
}

/* Reviewer mandatory training - match Note control to Review dropdown */
@media (max-width: 800px) {
  body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(7) textarea {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:48px !important;
    min-height:48px !important;
    max-height:48px !important;
    margin:0 !important;
    padding:10px 12px !important;
    box-sizing:border-box !important;
    resize:none !important;
  }
  body.page-id-114 .flr-review-training-card .flr-training-table td:nth-child(6) select {
    height:48px !important;
    min-height:48px !important;
    box-sizing:border-box !important;
  }
}

/* Reviewer DBS card - definitive iPhone cosmetic layout */
@media (max-width: 760px) {
  body.page-id-114 .flr-review-dbs-card {
    padding:20px 18px !important;
    overflow:hidden !important;
  }
  body.page-id-114 .flr-review-dbs-card .flr-dbs-summary {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:10px !important;
    margin:16px 0 20px !important;
    width:100% !important;
  }
  body.page-id-114 .flr-review-dbs-card .flr-dbs-summary-item {
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    padding:14px 15px !important;
    box-sizing:border-box !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }
  body.page-id-114 .flr-review-dbs-card .flr-dbs-summary-label,
  body.page-id-114 .flr-review-dbs-card .flr-dbs-summary-item strong,
  body.page-id-114 .flr-review-dbs-card .flr-dbs-summary-item small,
  body.page-id-114 .flr-review-dbs-card .flr-dbs-result {
    white-space:normal !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    max-width:100% !important;
  }
  body.page-id-114 .flr-review-dbs-card .flr-dbs-result {
    display:block !important;
    width:100% !important;
    border-radius:8px !important;
    box-sizing:border-box !important;
  }
  body.page-id-114 .flr-review-dbs-card .flr-dbs-governance {
    grid-template-columns:1fr !important;
    gap:10px !important;
    padding-top:16px !important;
  }
  body.page-id-114 .flr-review-dbs-card .flr-dbs-check {
    min-height:0 !important;
    padding:12px !important;
    align-items:flex-start !important;
  }
  body.page-id-114 .flr-review-dbs-card .flr-dbs-check input {
    margin-top:2px !important;
  }
}

/* Final Compliance Review - iPhone stacked records */
@media (max-width: 800px) {
  body.page-id-114 .flr-review-compliance-card { overflow:hidden !important; }
  body.page-id-114 .flr-review-compliance-card .flr-table,
  body.page-id-114 .flr-review-compliance-card .flr-table tbody,
  body.page-id-114 .flr-review-compliance-card .flr-table tr {
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  body.page-id-114 .flr-review-compliance-card .flr-table { border:0 !important; background:transparent !important; overflow:visible !important; white-space:normal !important; }
  body.page-id-114 .flr-review-compliance-card .flr-table thead { display:none !important; }
  body.page-id-114 .flr-review-compliance-card .flr-table tr {
    margin:0 0 14px !important;
    border:1px solid #d9e3e8 !important;
    border-radius:10px !important;
    background:#fff !important;
    overflow:hidden !important;
  }
  body.page-id-114 .flr-review-compliance-card .flr-table td,
  body.page-id-114 .flr-review-compliance-card .flr-table td:nth-child(n) {
    display:grid !important;
    grid-template-columns:38% minmax(0,1fr) !important;
    column-gap:14px !important;
    align-items:center !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    padding:11px 12px !important;
    border:0 !important;
    border-bottom:1px solid #e2e8ec !important;
    box-sizing:border-box !important;
    white-space:normal !important;
  }
  body.page-id-114 .flr-review-compliance-card .flr-table td:last-child { border-bottom:0 !important; }
  body.page-id-114 .flr-review-compliance-card .flr-table td::before {
    display:block !important;
    color:#536a7a !important;
    font-weight:700 !important;
    line-height:1.3 !important;
  }
  body.page-id-114 .flr-review-compliance-card .flr-table td:nth-child(1)::before { content:'Requirement'; }
  body.page-id-114 .flr-review-compliance-card .flr-table td:nth-child(2)::before { content:'Evidence'; }
  body.page-id-114 .flr-review-compliance-card .flr-table td:nth-child(3)::before { content:'Review decision'; }
  body.page-id-114 .flr-review-compliance-card .flr-table td > * { min-width:0 !important; max-width:100% !important; }
  body.page-id-114 .flr-review-compliance-card .flr-table .flr-button,
  body.page-id-114 .flr-review-compliance-card .flr-table select { width:100% !important; max-width:100% !important; }
  body.page-id-114 .flr-review-compliance-card textarea[name='review_notes'] { width:100% !important; max-width:100% !important; }
}

/* Staff My Compliance - consistent iPhone card spacing and controls */
@media (max-width:700px){
  body:has(#flr-training) .flr-compliance-wrap{
    width:calc(100% - 32px)!important;
    max-width:760px!important;
    margin:18px auto 40px!important;
    padding:0!important;
  }
  body:has(#flr-training) .flr-section-nav{
    width:100%!important;
    max-width:100%!important;
    gap:10px!important;
    margin:0 0 18px!important;
  }
  body:has(#flr-training) .flr-section-nav a{
    min-height:42px!important;
    width:auto!important;
    max-width:100%!important;
    padding:8px 10px!important;
    border-radius:9px!important;
    box-sizing:border-box!important;
  }
  body:has(#flr-training) .flr-compliance-section{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    padding:20px!important;
    background:#fff!important;
    border:1px solid #dbe3e9!important;
    border-radius:14px!important;
    box-shadow:0 2px 8px rgba(20,48,66,.04)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body:has(#flr-training) .flr-compliance-section .flr-card{
    width:100%!important;
    max-width:100%!important;
    margin:12px 0 0!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
    box-sizing:border-box!important;
  }
  body:has(#flr-training) .flr-compliance-section input:not([type=checkbox]):not([type=radio]),
  body:has(#flr-training) .flr-compliance-section select,
  body:has(#flr-training) .flr-compliance-section textarea{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    margin:6px 0 0!important;
    padding:10px 12px!important;
    border:1px solid #b9c9d3!important;
    border-radius:9px!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  body:has(#flr-training) .flr-compliance-section input[type=file]{
    padding:8px 10px!important;
    background:#f9fbfc!important;
  }
  body:has(#flr-training) .flr-compliance-section label{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body:has(#flr-training) .flr-compliance-section p{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
}

/* Staff My Compliance - iPhone final spacing, typography and date controls */
@media (max-width:700px){
  body:has(#flr-training) .entry-content > p.wp-block-paragraph:first-child{
    width:calc(100% - 32px)!important;
    max-width:760px!important;
    margin:0 auto 18px!important;
    padding:0!important;
    box-sizing:border-box!important;
    font-size:15px!important;
    line-height:1.5!important;
  }
  body:has(#flr-training) .flr-section-nav{
    width:calc(100% - 32px)!important;
    max-width:760px!important;
    margin:0 auto 18px!important;
    padding:0!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    box-sizing:border-box!important;
  }
  body:has(#flr-training) .flr-section-nav a{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    margin:0!important;
    padding:8px 10px!important;
    box-sizing:border-box!important;
  }
  body:has(#flr-training) #flr-personal select[name="engagement_type"]{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body:has(#flr-training) .flr-compliance-section input[type="date"]{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    padding:10px 12px!important;
    line-height:1.2!important;
    box-sizing:border-box!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
  body:has(#flr-training) #flr-personal .flr-personal-insurance-grid,
  body:has(#flr-training) #flr-personal .flr-rtw-top-grid{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body:has(#flr-training) #flr-personal .flr-personal-insurance-grid > p,
  body:has(#flr-training) #flr-personal .flr-rtw-top-grid > p{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
}

/* Staff My Compliance - force Engagement select to match company fields on iPhone */
@media (max-width:700px){
  body:has(#flr-training) #flr-personal > .flr-card form > p:has(select[name="engagement_type"]),
  body:has(#flr-training) #flr-personal > .flr-card form > p:has(select[name="engagement_type"]) label{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body:has(#flr-training) #flr-personal select[name="engagement_type"]{
    display:block!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    align-self:stretch!important;
  }
}

/* Staff My Compliance - Engagement to Company spacing */
@media (max-width:700px){
  body:has(#flr-training) #flr-personal .flr-card > form > h3:nth-of-type(3) + p{
    margin-bottom:14px!important;
  }
}

/* Reviewer dashboard summary redesign: 60/40 with 8 metrics */
@media (min-width:651px){
  body.page-id-533 .flr-reviewer-top-grid{
    display:grid!important;
    grid-template-columns:minmax(0,3fr) minmax(0,2fr)!important;
    gap:20px!important;
    align-items:stretch!important;
  }
  body.page-id-533 .flr-reviewer-top-grid>.flr-dashboard-stat-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-template-rows:repeat(2,minmax(0,1fr));
    gap:12px!important;
    align-content:stretch!important;
  }
  body.page-id-533 .flr-reviewer-top-grid>.flr-dashboard-stat-grid .flr-dashboard-stat{
    min-width:0!important;
    min-height:104px!important;
    height:100%!important;
    box-sizing:border-box!important;
  }
  body.page-id-533 .flr-reviewer-top-grid>.flr-reviewer-alerts{
    width:100%!important;
    min-width:0!important;
    height:100%!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:650px){
  body.page-id-533 .flr-reviewer-top-grid{grid-template-columns:1fr!important;}
  body.page-id-533 .flr-reviewer-top-grid>.flr-dashboard-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}

/* Reviewer Tools - consistent iPhone page gutters */
@media (max-width:650px){
  body.page-id-651 .flr-reviewer-tools-page{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    margin:18px auto 40px!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  body.page-id-651 .flr-reviewer-tools-page>.flr-dashboard-hero,
  body.page-id-651 .flr-reviewer-tools-page>.flr-reviewer-tools-links{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

/* Reviewer Tools - standard iPhone viewport gutters */
@media (max-width:650px){
body.page-id-651 .flr-reviewer-tools-page{position:relative!important;left:50%!important;transform:translateX(-50%)!important;width:calc(100vw - 24px)!important;max-width:none!important;margin:18px 0 40px!important;padding:20px!important;box-sizing:border-box!important;}
body.page-id-651 .flr-reviewer-tools-page>.flr-dashboard-hero{width:100%!important;max-width:100%!important;margin:0 0 16px!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;}
body.page-id-651 .flr-reviewer-tools-links{width:100%!important;max-width:100%!important;margin:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
}

/* Retention Review - standard iPhone gutters and non-scrolling record cards */
@media (max-width:650px){
body .flr-retention-review{position:relative!important;left:50%!important;transform:translateX(-50%)!important;width:calc(100vw - 24px)!important;max-width:none!important;margin:18px 0 40px!important;padding:20px!important;box-sizing:border-box!important;overflow:visible!important;}
body .flr-retention-review .flr-table{display:block!important;width:100%!important;min-width:0!important;margin:14px 0 22px!important;border:0!important;background:transparent!important;overflow:visible!important;}
body .flr-retention-review .flr-table thead{display:none!important;}
body .flr-retention-review .flr-table tbody{display:block!important;width:100%!important;}
body .flr-retention-review .flr-table tr{display:block!important;width:100%!important;margin:0 0 12px!important;padding:14px 16px!important;border:1px solid #dbe3e9!important;border-radius:10px!important;background:#fff!important;box-sizing:border-box!important;}
body .flr-retention-review .flr-table td{display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;width:100%!important;min-width:0!important;padding:8px 0!important;border:0!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;}
body .flr-retention-review .flr-table td+td{border-top:1px solid #edf1f4!important;}
body .flr-retention-review .flr-table td::before{font-size:11px!important;line-height:1.25!important;font-weight:700!important;color:#687d8d!important;text-transform:uppercase!important;letter-spacing:.02em!important;}
body .flr-retention-review .flr-table td:nth-child(1)::before{content:"Staff member";} body .flr-retention-review .flr-table td:nth-child(2)::before{content:"Record";} body .flr-retention-review .flr-table td:nth-child(3)::before{content:"Reference date";} body .flr-retention-review .flr-table td:nth-child(4)::before{content:"Review target";} body .flr-retention-review .flr-table td:nth-child(5)::before{content:"Status";} body .flr-retention-review .flr-table td:nth-child(6)::before{content:"Action";}
body .flr-retention-review .flr-inline-form,body .flr-retention-review .flr-inline-form button{width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
body .flr-retention-review .flr-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
body .flr-retention-review .flr-toolbar .flr-button{width:100%!important;text-align:center!important;box-sizing:border-box!important;}
}

/* Retention Review - align iPhone outer gutters with standard portal cards */
@media (max-width:650px){
body .flr-retention-review{width:calc(100vw - 32px)!important;padding:20px!important;}
}

/* Retention Review iPhone: match Reviewer Tools card width/gutters exactly */
@media (max-width:650px){
html body .flr-retention-review{
  position:relative!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:calc(100vw - 24px)!important;
  max-width:calc(100vw - 24px)!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:20px!important;
  box-sizing:border-box!important;
}
}

/* Retention Review: remove Twenty Twenty-Five constrained-content inset on iPhone */
@media (max-width:650px){
body.page-id-119 main.wp-block-group.has-global-padding,
body.page-id-119 main.wp-block-group.has-global-padding > .wp-block-group.has-global-padding,
body.page-id-119 .entry-content.wp-block-post-content.has-global-padding{
  padding-left:0!important;
  padding-right:0!important;
}
body.page-id-119 .entry-content.wp-block-post-content{
  max-width:none!important;
  width:100%!important;
}
body.page-id-119 .entry-content.wp-block-post-content > .flr-retention-review{
  position:static!important;
  left:auto!important;
  transform:none!important;
  width:calc(100% - 24px)!important;
  max-width:none!important;
  margin-left:12px!important;
  margin-right:12px!important;
  box-sizing:border-box!important;
}
body.page-id-119 .wp-block-post-title{display:none!important;}
}

/* ============================================================
 * Governance documents - DPIA / Appropriate Policy Document
 * Keep private governance pages visually consistent with portal.
 * ============================================================ */
body.flr-governance-document-page .wp-block-post-title{
    display:none!important;
}
body.flr-governance-document-page .wp-block-post-content{
    box-sizing:border-box;
    background:#fff;
    border:1px solid #dbe3e9;
    border-radius:14px;
    padding:clamp(22px,3vw,38px)!important;
    box-shadow:0 2px 10px rgba(22,48,66,.04);
    margin-top:8px!important;
    margin-bottom:36px!important;
    color:#17324d;
}
body.flr-governance-document-page .wp-block-post-content>h1:first-child{
    margin:0 0 10px;
    font-size:clamp(28px,3vw,42px);
    line-height:1.12;
    color:#16364e;
}
body.flr-governance-document-page .wp-block-post-content h2{
    margin:30px 0 12px;
    padding-top:20px;
    border-top:1px solid #e2e8ec;
    font-size:clamp(20px,2vw,26px);
    line-height:1.2;
    color:#16364e;
}
body.flr-governance-document-page .wp-block-post-content p,
body.flr-governance-document-page .wp-block-post-content li{
    font-size:15px;
    line-height:1.62;
}
body.flr-governance-document-page .wp-block-post-content ul,
body.flr-governance-document-page .wp-block-post-content ol{
    padding-left:24px;
}
body.flr-governance-document-page .wp-block-post-content table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    margin:16px 0 24px;
    border:1px solid #dbe3e9;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    font-size:14px;
}
body.flr-governance-document-page .wp-block-post-content th,
body.flr-governance-document-page .wp-block-post-content td{
    padding:12px 14px;
    text-align:left;
    vertical-align:top;
    border-bottom:1px solid #e2e8ec;
}
body.flr-governance-document-page .wp-block-post-content th{
    background:#eef3f6;
    color:#17324d;
    font-weight:700;
}
body.flr-governance-document-page .wp-block-post-content tr:last-child td{
    border-bottom:0;
}
@media(max-width:700px){
    body.flr-governance-document-page .wp-block-post-content{
        width:calc(100% - 24px)!important;
        max-width:none!important;
        padding:20px!important;
    }
    body.flr-governance-document-page .wp-block-post-content table{
        display:block;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }
}

/* Governance document pages - portal shell */
body.flr-governance-document-page .wp-block-post-title{display:none!important;}
body.flr-governance-document-page .wp-block-post-content{width:100%!important;max-width:none!important;margin:0!important;}
body.flr-governance-document-page .flr-governance-document{width:80%;max-width:1180px;margin:0 auto;padding:8px 0 36px;}
body.flr-governance-document-page .flr-governance-document-card>h1:first-child{display:none!important;}
body.flr-governance-document-page .flr-governance-document-card h2{margin:28px 0 10px;color:#16364e;font-size:clamp(20px,2vw,26px);}
body.flr-governance-document-page .flr-governance-document-card h3{color:#16364e;}
body.flr-governance-document-page .flr-governance-document-card p,
body.flr-governance-document-page .flr-governance-document-card li{line-height:1.65;color:#344b5e;}
body.flr-governance-document-page .flr-governance-document-card ul,
body.flr-governance-document-page .flr-governance-document-card ol{padding-left:1.35rem;}
body.flr-governance-document-page .flr-governance-document-card table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dbe3e9;border-radius:10px;overflow:hidden;margin:16px 0 24px;background:#fff;}
body.flr-governance-document-page .flr-governance-document-card th,
body.flr-governance-document-page .flr-governance-document-card td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid #dbe3e9;}
body.flr-governance-document-page .flr-governance-document-card th{background:#eef3f6;color:#17324d;font-weight:700;}
body.flr-governance-document-page .flr-governance-document-card tr:last-child td{border-bottom:0;}
@media(max-width:1100px){body.flr-governance-document-page .flr-governance-document{width:90%;}}
@media(max-width:700px){
 body.flr-governance-document-page .flr-governance-document{width:94%;}
 body.flr-governance-document-page .flr-governance-document-card{padding:18px;overflow:hidden;}
 body.flr-governance-document-page .flr-governance-document-card table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
}

/* Governance + privacy documents: match standard FLR portal workspace */
body.flr-governance-document-page .wp-block-post-content,
body.flr-privacy-document-page .wp-block-post-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  color:var(--flr-ink)!important;
}
body.flr-governance-document-page .wp-block-post-title,
body.flr-privacy-document-page .wp-block-post-title{display:none!important;}
body.flr-governance-document-page .flr-governance-document,
body.flr-privacy-document-page .flr-privacy-document{
  width:80%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:8px 0 36px!important;
  box-sizing:border-box!important;
}
body.flr-governance-document-page .flr-governance-document-card>h1:first-child,
body.flr-privacy-document-page .flr-privacy-document-card>h1:first-child{display:none!important;}
body.flr-governance-document-page .flr-governance-document-card h2,
body.flr-privacy-document-page .flr-privacy-document-card h2{
  margin:28px 0 10px!important;
  padding-top:20px!important;
  border-top:1px solid #e2e8ec!important;
  color:#16364e!important;
  font-size:clamp(20px,2vw,26px)!important;
}
body.flr-governance-document-page .flr-governance-document-card h2:first-of-type,
body.flr-privacy-document-page .flr-privacy-document-card h2:first-of-type{margin-top:8px!important;}
body.flr-governance-document-page .flr-governance-document-card p,
body.flr-governance-document-page .flr-governance-document-card li,
body.flr-privacy-document-page .flr-privacy-document-card p,
body.flr-privacy-document-page .flr-privacy-document-card li{line-height:1.62!important;color:#344b5e!important;}
body.flr-governance-document-page .flr-governance-document-card table,
body.flr-privacy-document-page .flr-privacy-document-card table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid #dbe3e9!important;border-radius:10px!important;overflow:hidden!important;margin:16px 0 24px!important;background:#fff!important;}
body.flr-governance-document-page .flr-governance-document-card th,
body.flr-governance-document-page .flr-governance-document-card td,
body.flr-privacy-document-page .flr-privacy-document-card th,
body.flr-privacy-document-page .flr-privacy-document-card td{padding:12px 14px!important;text-align:left!important;vertical-align:top!important;border-bottom:1px solid #dbe3e9!important;}
body.flr-governance-document-page .flr-governance-document-card th,
body.flr-privacy-document-page .flr-privacy-document-card th{background:#eef3f6!important;color:#17324d!important;font-weight:700!important;}
@media(max-width:1100px){
  body.flr-governance-document-page .flr-governance-document,
  body.flr-privacy-document-page .flr-privacy-document{width:90%!important;}
}
@media(max-width:700px){
  body.flr-governance-document-page .flr-governance-document,
  body.flr-privacy-document-page .flr-privacy-document{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 24px)!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.flr-governance-document-page .flr-governance-document-card,
  body.flr-privacy-document-page .flr-privacy-document-card{padding:18px!important;overflow:hidden!important;}
  body.flr-governance-document-page .flr-governance-document-card table,
  body.flr-privacy-document-page .flr-privacy-document-card table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;}
}

/* Staff Privacy Notice - typography aligned with FLR portal */
body.flr-privacy-document-page .flr-privacy-document-card{
  font-size:15px!important;
  line-height:1.62!important;
}
body.flr-privacy-document-page .flr-privacy-document-card p,
body.flr-privacy-document-page .flr-privacy-document-card li{
  font-size:15px!important;
  line-height:1.62!important;
  font-weight:400!important;
  letter-spacing:normal!important;
}
body.flr-privacy-document-page .flr-privacy-document-card h2{
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:600!important;
  letter-spacing:normal!important;
}
body.flr-privacy-document-page .flr-privacy-document-card th,
body.flr-privacy-document-page .flr-privacy-document-card td{
  font-size:14px!important;
  line-height:1.45!important;
}
body.flr-privacy-document-page .flr-privacy-document-card strong{font-weight:600!important;}
@media(max-width:700px){
  body.flr-privacy-document-page .flr-privacy-document-card{font-size:15px!important;}
  body.flr-privacy-document-page .flr-privacy-document-card p,
  body.flr-privacy-document-page .flr-privacy-document-card li{font-size:15px!important;line-height:1.58!important;}
  body.flr-privacy-document-page .flr-privacy-document-card h2{font-size:22px!important;line-height:1.22!important;}
  body.flr-privacy-document-page .flr-privacy-document-card th,
  body.flr-privacy-document-page .flr-privacy-document-card td{font-size:13.5px!important;line-height:1.4!important;}
}

/* My Compliance - saved evidence visibility and consistent date controls */
body.page-id-33 .flr-date-field,
body.page-id-33 .flr-rtw-top-grid input,
body.page-id-33 .flr-personal-insurance-grid input,
body.page-id-33 .flr-driving-date-field input,
body.page-id-33 .flr-verification-details .flr-date-field{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.page-id-33 .flr-uploaded-evidence{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-top:8px!important;
  padding:9px 11px!important;
  border:1px solid #cfe2d5!important;
  border-radius:8px!important;
  background:#f2faf4!important;
  color:#28583a!important;
  font-size:13px!important;
  line-height:1.35!important;
}
body.page-id-33 .flr-uploaded-evidence a{font-weight:700!important;white-space:nowrap!important;}
body.page-id-33 .flr-uploaded-evidence small{color:#617267!important;}
@media(max-width:650px){body.page-id-33 .flr-uploaded-evidence{align-items:flex-start!important;flex-direction:column!important;}}


/* My Compliance - intro typography + uploaded evidence alignment */
body.page-id-33 .wp-block-post-content > p:first-child{
  font-size:16px!important;
  line-height:1.5!important;
  color:#344b5e!important;
  margin:0 0 16px!important;
}
body.page-id-33 .flr-uploaded-evidence{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Personal/company insurance: 3 controls on one row, saved evidence below */
body.page-id-33 #flr-personal .flr-personal-insurance-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(180px,.55fr) minmax(0,1.45fr)!important;
  gap:14px 18px!important;
  align-items:end!important;
}
@media(max-width:900px){
  body.page-id-33 #flr-personal .flr-personal-insurance-grid{grid-template-columns:1fr!important;}
}
/* Staff Dashboard - final active staff polish */
@media (min-width:651px){
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile{
    display:grid!important;
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:16px 22px!important;
    align-items:start!important;
}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile .flr-dashboard-profile-main{display:contents!important;}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile .flr-dashboard-card-heading{grid-column:1 / -1!important;grid-row:1!important;margin:0!important;}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile .flr-dashboard-photo{grid-column:1!important;grid-row:2!important;margin:0!important;align-self:start!important;}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile .flr-dashboard-details-grid{grid-column:2!important;grid-row:2!important;margin-top:0!important;}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile .flr-dashboard-actions{grid-column:1 / -1!important;grid-row:3!important;margin-top:0!important;}
}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-mini>a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:34px!important;
    margin-top:12px!important;
    padding:7px 11px!important;
    border:1px solid #0e708b!important;
    border-radius:8px!important;
    color:#0e708b!important;
    text-decoration:none!important;
    line-height:1.1!important;
}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-mini>a:hover{
    background:#0e708b!important;
    color:#fff!important;
}/* Staff Dashboard - staff ID access and exact photo/table alignment */
body.page-id-533 .flr-dashboard-profile-actions{gap:10px!important;}
@media (min-width:651px){
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile{
  grid-template-columns:130px minmax(0,1fr)!important;
  align-items:stretch!important;
}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile .flr-dashboard-photo{
  align-self:stretch!important;
  height:auto!important;
  min-height:0!important;
}
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile .flr-dashboard-photo img,
body.page-id-533 .flr-staff-dashboard .flr-dashboard-profile .flr-dashboard-photo-placeholder{
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  min-height:100%!important;
  max-height:none!important;
  object-fit:cover!important;
  box-sizing:border-box!important;
}
}
@media (max-width:650px){
body.page-id-533 .flr-dashboard-profile-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
}
/* Reviewer dashboard: quick staff search replaces duplicate embedded register */
body.page-id-533 .flr-dashboard-staff-search-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  gap:10px!important;
  align-items:center!important;
  margin-top:14px!important;
}
body.page-id-533 .flr-dashboard-staff-search-form input[type="search"]{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  box-sizing:border-box!important;
}
body.page-id-533 .flr-dashboard-staff-search-form button,
body.page-id-533 .flr-dashboard-staff-search-form a{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
}
body.page-id-533 .flr-dashboard-staff-search-results{margin-top:14px!important;}
body.page-id-533 .flr-dashboard-staff-search-row{
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) auto auto!important;
  gap:14px!important;
  align-items:center!important;
  padding:12px 0!important;
  border-top:1px solid #e7edf1!important;
}
body.page-id-533 .flr-dashboard-staff-search-identity strong,
body.page-id-533 .flr-dashboard-staff-search-identity span{display:block!important;}
body.page-id-533 .flr-dashboard-staff-search-identity span{font-size:12px!important;color:#687d8d!important;margin-top:3px!important;}
body.page-id-533 .flr-dashboard-staff-search-badges{display:flex!important;gap:8px!important;flex-wrap:wrap!important;justify-content:flex-end!important;}
body.page-id-533 .flr-dashboard-search-hint,
body.page-id-533 .flr-dashboard-search-more{font-size:13px!important;color:#687d8d!important;margin:12px 0 0!important;}
body.page-id-650 .flr-staff-register-filter{
  display:grid!important;
  grid-template-columns:minmax(260px,1.5fr) minmax(150px,.7fr) minmax(150px,.7fr) auto auto!important;
  gap:10px!important;
  align-items:center!important;
  margin:0 0 12px!important;
}
body.page-id-650 .flr-staff-register-filter input,
body.page-id-650 .flr-staff-register-filter select,
body.page-id-650 .flr-staff-register-filter .flr-button{height:42px!important;min-height:42px!important;box-sizing:border-box!important;}
body.page-id-650 .flr-staff-register-count{font-size:13px!important;color:#687d8d!important;margin:0 0 12px!important;}
@media(max-width:800px){
  body.page-id-533 .flr-dashboard-staff-search-form{grid-template-columns:1fr 1fr!important;}
  body.page-id-533 .flr-dashboard-staff-search-form input[type="search"]{grid-column:1 / -1!important;}
  body.page-id-533 .flr-dashboard-staff-search-row{grid-template-columns:1fr!important;align-items:start!important;}
  body.page-id-533 .flr-dashboard-staff-search-badges{justify-content:flex-start!important;}
  body.page-id-650 .flr-staff-register-filter{grid-template-columns:1fr 1fr!important;}
  body.page-id-650 .flr-staff-register-filter input[type="search"]{grid-column:1 / -1!important;}
}
/* Staff Register - canonical visual compliance register */
body.page-id-650 .flr-review-table-wrap .flr-table{min-width:1240px!important;}
body.page-id-650 .flr-review-table-wrap .flr-dashboard-badge{white-space:nowrap!important;}
body.page-id-650 .flr-staff-register-filter{grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto auto!important;gap:10px!important;align-items:stretch!important;margin:0 0 12px!important;}
body.page-id-650 .flr-staff-register-filter input,
body.page-id-650 .flr-staff-register-filter select,
body.page-id-650 .flr-staff-register-filter .flr-button{width:100%!important;min-width:0!important;box-sizing:border-box!important;}
@media(max-width:900px){
body.page-id-650 .flr-staff-register-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.page-id-650 .flr-staff-register-filter input[type="search"]{grid-column:1/-1!important;}
}
@media(max-width:650px){
body.page-id-650 .flr-review-table-wrap .flr-table{min-width:0!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(1)::before{content:"Staff member"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(2)::before{content:"FLR ID"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(3)::before{content:"Role"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(4)::before{content:"Operational"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(5)::before{content:"Compliance"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(6)::before{content:"Registration"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(7)::before{content:"DBS"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(8)::before{content:"Training"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(9)::before{content:"Action"!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(8){display:grid!important;padding-top:8px!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(9){display:block!important;padding-top:12px!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(9)::before{display:block!important;margin-bottom:8px!important;}
body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(9) .flr-button{display:flex!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;justify-content:center!important;box-sizing:border-box!important;}
}

/* Final portal wrapper correction: constrained theme pages use the same header/content edges */
body.flr-portal-page .wp-site-blocks>main>.wp-block-group.alignfull{
  width:calc(100% - 40px)!important;
  max-width:var(--flr-portal-max,1180px)!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;
  box-sizing:border-box!important;
}
body.flr-portal-page .wp-site-blocks>main>.wp-block-group.alignfull>.wp-block-post-content,
body.flr-portal-page .wp-site-blocks>main>.wp-block-group.alignfull>.entry-content{
  width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;
  padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;
}
body.flr-portal-page .wp-site-blocks>main>.wp-block-group.alignfull>.wp-block-post-title{display:none!important;}
@media(max-width:650px){
  body.flr-portal-page .wp-site-blocks>main>.wp-block-group.alignfull{width:calc(100% - 24px)!important;}
}

/* Staff Register desktop: keep the full register inside the page without horizontal scrolling */
@media(min-width:901px){
  body.page-id-650 .flr-review-table-wrap{overflow-x:hidden!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table{width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th,
  body.page-id-650 .flr-review-table-wrap .flr-table td{padding:10px 7px!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(1),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(1){width:19%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(2),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(2){width:9%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(3),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(3){width:10%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(4),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(4){width:12%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(5),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(5){width:11%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(6),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(6){width:11%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(7),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(7){width:9%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(8),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(8){width:10%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(9),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(9){width:9%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-dashboard-badge{white-space:normal!important;min-width:0!important;width:100%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-button{min-width:0!important;max-width:100%!important;width:100%!important;padding-left:8px!important;padding-right:8px!important;}
}

/* FINAL: governance/privacy wrappers use the same portal workspace as header */
body.flr-governance-document-page .flr-governance-document,
body.flr-privacy-document-page .flr-privacy-document{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:8px 0 36px!important;
  left:auto!important;
  transform:none!important;
  box-sizing:border-box!important;
}
body.flr-governance-document-page .flr-dashboard-hero,
body.flr-governance-document-page .flr-governance-document-card,
body.flr-privacy-document-page .flr-dashboard-hero,
body.flr-privacy-document-page .flr-privacy-document-card{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* FINAL: Staff Register desktop column fit - pills cannot overlap */
@media(min-width:901px){
  body.page-id-650 .flr-review-table-wrap .flr-table{table-layout:fixed!important;width:100%!important;min-width:0!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th,
  body.page-id-650 .flr-review-table-wrap .flr-table td{box-sizing:border-box!important;min-width:0!important;padding-left:5px!important;padding-right:5px!important;overflow:hidden!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(1),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(1){width:20%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(2),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(2){width:8%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(3),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(3){width:9%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(4),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(4){width:12%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(5),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(5){width:11%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(6),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(6){width:11%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(7),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(7){width:9%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(8),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(8){width:11%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-table th:nth-child(9),body.page-id-650 .flr-review-table-wrap .flr-table td:nth-child(9){width:9%!important;}
  body.page-id-650 .flr-review-table-wrap .flr-dashboard-badge{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding:6px 4px!important;
    margin:0!important;
    box-sizing:border-box!important;
    justify-content:center!important;
    white-space:normal!important;
    text-align:center!important;
    font-size:10px!important;
    line-height:1.12!important;
    overflow:hidden!important;
  }
  body.page-id-650 .flr-review-table-wrap td:nth-child(9) .flr-button{
    display:flex!important;width:100%!important;min-width:0!important;max-width:100%!important;
    padding:7px 5px!important;justify-content:center!important;box-sizing:border-box!important;
  }
}


/* Role-specific clinical qualification verification */
.flr-review-qualification-card .flr-registration-summary{grid-template-columns:repeat(4,minmax(0,1fr));}
.flr-review-qualification-card .flr-registration-summary-item,.flr-review-qualification-card .flr-registration-next-review{min-width:0;}
@media(max-width:900px){.flr-review-registration-card .flr-registration-summary,.flr-review-qualification-card .flr-registration-summary{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.flr-review-registration-card .flr-registration-summary,.flr-review-qualification-card .flr-registration-summary{grid-template-columns:1fr;}}
