/* KFF Business Dashboard colorful refresh */
body:has(.kff-bizflow) .site-content,body:has(.kff-bizflow) #content{padding-top:0!important;margin-top:0!important}
body:has(.kff-bizflow) .ast-container,body:has(.kff-bizflow) .site-content>.ast-container,body:has(.kff-bizflow) .content-area,body:has(.kff-bizflow) .site-main,body:has(.kff-bizflow) article,body:has(.kff-bizflow) .entry-content,body:has(.kff-bizflow) .wp-block-shortcode{width:100%!important;max-width:none!important;margin-top:0!important;margin-bottom:0!important;padding-top:0!important}
body:has(.kff-bizflow) .entry-header,body:has(.kff-bizflow) .entry-title{display:none!important}
.kff-bizflow{--blue:#2f80ed;--purple:#6846d6;--yellow:#ffbf16;--orange:#ff681d;--pink:#f52d86;--green:#38b839;--ink:#10284a;--muted:#667891;--border:#dce5f0;width:100%!important;max-width:1500px!important;margin:0 auto!important;padding:32px 42px 80px!important;color:var(--ink);font-family:Arial,Helvetica,sans-serif}.kff-bizflow *{box-sizing:border-box}
.kff-bizflow-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:28px}.kff-bizflow-eyebrow,.kff-bizflow-kicker{color:var(--purple);font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.kff-bizflow-title{margin:4px 0 0;font-size:38px;line-height:1.08;letter-spacing:-.035em}.kff-bizflow-title span{color:var(--yellow)}.kff-bizflow-lead{margin:8px 0 0;max-width:800px;color:var(--muted);font-size:15px;line-height:1.55}
.kff-bizflow-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.kff-bizflow-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid #cfdaea;border-radius:11px;background:#fff;color:#18365f!important;font:800 13px/1.1 inherit;text-decoration:none!important;cursor:pointer;transition:.18s}.kff-bizflow-btn:hover{transform:translateY(-1px);box-shadow:0 5px 13px rgba(30,55,90,.09)}.kff-bizflow-btn.primary,.kff-bizflow-btn.blue{background:var(--blue);border-color:var(--blue);color:#fff!important}.kff-bizflow-btn.add-place{background:linear-gradient(135deg,#ffd02d,#ffb10f);border-color:#ffb000;color:#172d4d!important}.kff-bizflow-btn.orange{background:linear-gradient(135deg,#ff7b24,#ff5817);border-color:transparent;color:#fff!important}.kff-bizflow-btn.pink{background:linear-gradient(135deg,#ff3b91,#ed1974);border-color:transparent;color:#fff!important}
.kff-bizflow-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.kff-bizflow-stat{min-height:108px;padding:20px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 5px 16px rgba(35,64,100,.05)}.kff-bizflow-stat span{display:block;color:#344b6d;font-size:13px;font-weight:800}.kff-bizflow-stat strong{display:block;margin-top:8px;font-size:29px}.stat-blue{background:linear-gradient(135deg,#fff 55%,#eaf5ff)}.stat-orange{background:linear-gradient(135deg,#fff 55%,#fff0e6)}.stat-pink{background:linear-gradient(135deg,#fff 55%,#ffeaf4)}.stat-yellow{background:linear-gradient(135deg,#fff 55%,#fff6cf)}
.kff-bizflow-card,.kff-bizflow-performance{margin-bottom:20px;padding:24px;border:1px solid var(--border);border-radius:20px;background:#fff;box-shadow:0 5px 18px rgba(35,64,100,.045)}.kff-bizflow-card h2,.kff-bizflow-performance h2{margin:0;font-size:24px}.kff-bizflow-card h3{margin:0 0 6px;font-size:17px}.kff-bizflow-small,.kff-bizflow-meta,.kff-bizflow-step{color:var(--muted);font-size:13px;line-height:1.5}.kff-bizflow-kicker.verified{display:inline-flex;padding:5px 8px;border-radius:999px;background:#edfbed;color:#238b2c;text-transform:none;letter-spacing:0}
.kff-bizflow-performance{position:relative;overflow:hidden;padding:27px 28px;background:linear-gradient(120deg,#fff 72%,#fff9e9)}.kff-bizflow-performance:after{content:"↗";position:absolute;right:38px;bottom:22px;color:var(--yellow);font-size:55px;font-weight:900}.kff-bizflow-performance-top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:22px}.kff-bizflow-performance-copy{margin:5px 0 0;color:var(--muted);font-size:13px}.kff-bizflow-performance-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.kff-bizflow-business-select{min-width:220px;height:42px;padding:0 38px 0 13px;border:1px solid #cfdceb;border-radius:11px;background:#fff}.kff-bizflow-period,.kff-bizflow-analytics-access,.kff-bizflow-selected-business{display:inline-flex;align-items:center;min-height:38px;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:800}.kff-bizflow-period{background:#f4f7fb}.kff-bizflow-analytics-access{background:linear-gradient(135deg,#ffe67c,#ffc52b);color:#4b3900}.kff-bizflow-selected-business{background:#f3f6fa}
.kff-bizflow-performance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;max-width:1100px}.kff-bizflow-kpi{min-height:110px;padding:18px;border:1px solid var(--border);border-radius:16px}.kff-bizflow-kpi span{display:block;font-size:12px;font-weight:800}.kff-bizflow-kpi strong{display:block;margin-top:10px;font-size:28px}.kpi-blue{background:#f1f8ff;border-color:#cfe3fb}.kpi-green{background:#f2fbf1;border-color:#d0edce}.kpi-pink{background:#fff3f8;border-color:#f8d3e4}.kpi-yellow{background:#fff9e9;border-color:#f5e3a8}.kff-bizflow-performance-secondary{display:flex;gap:22px;flex-wrap:wrap;margin-top:14px;color:#52647d;font-size:12px}.kff-bizflow-hidden{display:none!important}
.kff-bizflow-section-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.kff-bizflow-section-title p{margin:4px 0 0;color:var(--muted);font-size:13px}.section-events{background:linear-gradient(135deg,#fff 82%,#fff2e8)}.section-parties{background:linear-gradient(135deg,#fff 82%,#ffedf6)}.kff-bizflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kff-bizflow-place-card{padding:18px;border:1px solid #dce5ef;border-radius:16px;background:#fff}.kff-bizflow-place-card .kff-bizflow-actions{margin-top:14px}.kff-bizflow-empty{display:flex;align-items:center;justify-content:center;gap:20px;min-height:145px;padding:25px;border:1px dashed #cfdaea;border-radius:16px;background:rgba(255,255,255,.75)}.kff-bizflow-empty-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#edf6ff;font-size:32px}.section-events .kff-bizflow-empty-icon{background:#fff0e7}.section-parties .kff-bizflow-empty-icon{background:#ffe9f3}.kff-bizflow-empty strong{display:block}.kff-bizflow-empty p{margin:4px 0 12px;color:var(--muted);font-size:13px}
.kff-bizflow-list{display:grid;gap:10px}.kff-bizflow-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px;border:1px solid #e0e7f0;border-radius:14px;background:#fff}.kff-bizflow-status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eef2f7;font-size:11px;font-weight:900;text-transform:capitalize}.kff-bizflow-status.pending{background:#fff5cc;color:#8a6500}.kff-bizflow-status.published,.kff-bizflow-status.approved{background:#eaf8eb;color:#268132}.kff-bizflow-status.rejected,.kff-bizflow-status.cancelled{background:#fff0f0;color:#b42318}.kff-bizflow-notice{margin:12px 0;padding:13px 15px;border:1px solid #cfe0f5;border-radius:12px;background:#eef6ff;color:#284d7c;font-size:13px}.kff-bizflow-notice.success{background:#eefbf0;color:#216e2b}.kff-bizflow-notice.error{background:#fff2f2;color:#a52828}
.kff-bizflow-change-group{align-items:flex-start}.kff-bizflow-change-main{min-width:0;flex:1}.kff-bizflow-change-details{margin-top:10px}.kff-bizflow-change-details summary{cursor:pointer;color:var(--purple);font-size:13px;font-weight:800}.kff-bizflow-change-lines{margin-top:10px;padding:12px 14px;border:1px solid #e5e8ef;border-radius:12px;background:#fafbfc}.kff-bizflow-change-line{display:grid;grid-template-columns:minmax(130px,.65fr) minmax(0,1.35fr);gap:14px;padding:8px 0;border-bottom:1px solid #edf0f4;font-size:13px}
.kff-bizflow-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:flex-start;justify-content:center;padding:28px 18px;background:rgba(16,32,55,.46);overflow:auto}.kff-bizflow-modal-panel{width:min(920px,100%);margin:auto;padding:24px;border-radius:20px;background:#fff}.kff-bizflow-modal-head{display:flex;justify-content:space-between;gap:18px}.kff-bizflow-close{width:40px;height:40px;border:0;border-radius:11px;background:#f1f4f8;font-size:24px;cursor:pointer}.kff-bizflow-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}.kff-bizflow-field{display:grid;gap:6px}.kff-bizflow-field.full{grid-column:1/-1}.kff-bizflow-field label{font-size:12px;font-weight:900}.kff-bizflow-field input,.kff-bizflow-field select,.kff-bizflow-field textarea{width:100%;min-height:43px;padding:10px 12px;border:1px solid #ccd9e8;border-radius:11px;background:#fff}.kff-bizflow-field textarea{min-height:105px}.kff-bizflow-checks{display:flex;gap:18px;flex-wrap:wrap}.kff-bizflow-checks input{width:auto;min-height:0}
@media(max-width:980px){.kff-bizflow-summary,.kff-bizflow-performance-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.kff-bizflow-grid{grid-template-columns:1fr}.kff-bizflow-performance:after{display:none}}@media(max-width:650px){.kff-bizflow{padding:24px 16px 55px!important}.kff-bizflow-head,.kff-bizflow-performance-top,.kff-bizflow-section-title{align-items:stretch;flex-direction:column}.kff-bizflow-title{font-size:32px}.kff-bizflow-summary,.kff-bizflow-performance-kpis{grid-template-columns:1fr}.kff-bizflow-card,.kff-bizflow-performance{padding:18px}.kff-bizflow-row,.kff-bizflow-empty{align-items:flex-start;flex-direction:column}.kff-bizflow-form{grid-template-columns:1fr}.kff-bizflow-field.full{grid-column:auto}.kff-bizflow-change-line{grid-template-columns:1fr}}


/* Event modal controls — protect buttons/checkboxes from Astra form styles */
.kff-bizflow-modal .kff-bizflow-actions button,
.kff-bizflow-modal button.kff-bizflow-btn {
    width: auto !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 9px 14px !important;
    border-radius: 11px !important;
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.kff-bizflow-modal button.kff-bizflow-btn.primary,
.kff-bizflow-modal button[type="submit"].kff-bizflow-btn {
    background: #6846d6 !important;
    border-color: #6846d6 !important;
    color: #ffffff !important;
}

.kff-bizflow-modal .kff-bizflow-checks {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.kff-bizflow-modal .kff-bizflow-checks label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
}

.kff-bizflow-modal .kff-bizflow-checks input[type="checkbox"],
.kff-bizflow-modal input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}
