.fhm-wrap .fhm-card,.fhm-portal .fhm-card{background:#fff;padding:24px;margin-top:18px;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 10px 30px rgba(17,24,39,.06)}
.fhm-stats{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:14px;margin:15px 0 25px}.fhm-stats div{background:linear-gradient(135deg,#111827,#374151);color:#fff;border-radius:18px;padding:18px}.fhm-stats strong{font-size:32px;display:block}.fhm-stats span{opacity:.85}.fhm-search{margin:15px 0;display:flex;gap:8px;align-items:center}.fhm-search input{min-width:320px}.fhm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;margin:15px 0 24px}.fhm-form-grid textarea{grid-column:1/-1;min-height:72px}.fhm-form-grid button{width:max-content}.fhm-table textarea{width:100%;min-height:50px}.fhm-status{text-transform:capitalize;font-weight:700}.fhm-help,.fhm-dynamic-help{background:#f8fafc;border-left:4px solid #111827;padding:12px 14px;margin:10px 0 18px;border-radius:10px}.fhm-program-builder select,.fhm-program-builder input{min-height:40px}.fhm-portal{max-width:1180px;margin:30px auto;font-family:Arial,sans-serif;color:#111827}.fhm-front-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.fhm-front-grid section,.fhm-progress,.fhm-receipt-form,.fhm-success{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(17,24,39,.06)}.fhm-portal input,.fhm-portal select,.fhm-portal textarea{width:100%;padding:12px;margin:7px 0;border:1px solid #d1d5db;border-radius:12px;background:#fff;box-sizing:border-box}.fhm-portal button,.fhm-portal .button{background:#111827;color:#fff;border:0;border-radius:12px;padding:12px 18px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}.fhm-portal button:hover,.fhm-portal .button:hover{background:#374151;color:#fff}.fhm-progress-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.fhm-progress strong{font-size:28px}.fhm-success{background:#ecfdf5;border-color:#a7f3d0}.fhm-portal table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;margin-top:10px;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}.fhm-portal th,.fhm-portal td{border-bottom:1px solid #e5e7eb;padding:12px;text-align:left;vertical-align:top}.fhm-portal tr:last-child td{border-bottom:0}.fhm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.fhm-tabs a{display:inline-block;padding:11px 15px;border:1px solid #e5e7eb;border-radius:999px;text-decoration:none;background:#fff;color:#111827;font-weight:700}.fhm-tabs a.active{background:#111827;color:#fff;border-color:#111827}.fhm-mini-status{display:grid;gap:10px;min-width:260px}.fhm-mini-row{padding:12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.fhm-mini-row span,.fhm-mini-row small{display:block;margin-top:4px;color:#4b5563}.fhm-bar{height:12px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:8px 0}.fhm-bar i{display:block;height:100%;background:#111827;border-radius:999px}.fhm-program-filter{margin:12px 0 18px}.fhm-manager-portal .widefat{width:100%;border-collapse:collapse}.fhm-manager-portal .widefat th,.fhm-manager-portal .widefat td{padding:10px;border-bottom:1px solid #eee;text-align:left;vertical-align:top}.fhm-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;background:linear-gradient(135deg,#111827,#1f2937);color:#fff;border-radius:22px;padding:24px;box-shadow:0 18px 40px rgba(17,24,39,.18)}.fhm-hero h2{margin:0 0 6px;color:#fff}.fhm-hero p{margin:0;opacity:.86}.fhm-logout{color:#111827;background:#fff;padding:10px 14px;border-radius:999px;text-decoration:none;font-weight:700;white-space:nowrap}.fhm-section-head{margin-bottom:18px}.fhm-section-head h2{margin-bottom:4px}.fhm-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.fhm-settings-grid section{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff}.fhm-settings-wide{grid-column:1/-1}.fhm-card h2{margin-top:0}.fhm-card .description{color:#6b7280}.fhm-portal .widefat{border-radius:14px;overflow:hidden}.fhm-portal .widefat th{background:#f9fafb;font-weight:800}.fhm-portal .button-primary{background:#111827!important;color:#fff!important}.fhm-portal form{margin-bottom:18px}@media(max-width:860px){.fhm-front-grid,.fhm-form-grid,.fhm-stats,.fhm-settings-grid{grid-template-columns:1fr}.fhm-search{display:block}.fhm-search input{min-width:0;width:100%;margin-bottom:8px}.fhm-hero{display:block}.fhm-logout{display:inline-block;margin-top:12px}.fhm-tabs a{flex:1 1 auto;text-align:center}}
.fhm-builder-shell{display:grid;grid-template-columns:280px 1fr;gap:18px;align-items:start;margin:18px 0 24px}.fhm-builder-intro{background:#111827;color:#fff;border-radius:18px;padding:18px;position:sticky;top:30px}.fhm-builder-intro strong{font-size:18px}.fhm-builder-intro ol{padding-left:18px;margin-bottom:0}.fhm-builder-intro li{margin:8px 0}.fhm-smart-builder{display:grid;gap:14px}.fhm-builder-step{display:grid;grid-template-columns:42px 1fr;gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 8px 22px rgba(17,24,39,.04)}.fhm-builder-step>span{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#111827;color:#fff;font-weight:800}.fhm-builder-step h3{margin:0 0 4px;font-size:18px}.fhm-builder-step p{margin:0 0 12px;color:#6b7280}.fhm-builder-step label{display:block;font-weight:800;margin:12px 0 5px}.fhm-builder-step input,.fhm-builder-step select,.fhm-builder-step textarea{width:100%;max-width:100%;padding:12px;border:1px solid #d1d5db;border-radius:12px;background:#fff;box-sizing:border-box}.fhm-builder-step small{display:block;color:#6b7280;margin-top:5px}.fhm-rule-explain{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin-top:10px;font-weight:700}.fhm-field-row{margin-bottom:12px}.fhm-inline-check{display:flex!important;gap:10px;align-items:center}.fhm-inline-check input{width:auto!important}.fhm-builder-actions{display:flex;gap:10px;align-items:center;margin:8px 0 18px}.fhm-program-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:12px}.fhm-program-card{border:1px solid #e5e7eb;border-radius:18px;padding:18px;background:#fff;box-shadow:0 8px 22px rgba(17,24,39,.04)}.fhm-program-card h4{margin:0 0 8px;font-size:18px}.fhm-program-card p{margin:8px 0;color:#374151}.fhm-program-card.is-inactive{opacity:.6;background:#f9fafb}.fhm-pill{display:inline-block;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;font-weight:800;font-size:12px}.fhm-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.fhm-danger-link{border-color:#fecaca!important;color:#991b1b!important;background:#fff!important}.fhm-danger-link:hover{background:#fef2f2!important;color:#7f1d1d!important}@media(max-width:900px){.fhm-builder-shell{grid-template-columns:1fr}.fhm-builder-intro{position:static}.fhm-builder-step{grid-template-columns:1fr}.fhm-builder-step>span{margin-bottom:4px}}
