.fcp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:20px 0}.fcp-card{background:#fff;border:1px solid #e3e8f2;border-radius:20px;padding:20px;box-shadow:0 10px 30px rgba(14,31,53,.05)}.fcp-big{font-size:30px;font-weight:800;margin-top:8px}.fcp-admin-two-col{display:grid;grid-template-columns:minmax(320px,460px) 1fr;gap:20px;align-items:start}.fcp-client-edit-card{border:1px solid #e8edf5;border-radius:16px;padding:16px;margin-bottom:14px;background:#fcfdff}.fcp-client-edit-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.fcp-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px}.fcp-kpi-box{margin-top:12px;padding-top:12px;border-top:1px solid #e8edf5}.fcp-client-area{display:grid;gap:18px;color:#16233b}.fcp-hero-pro{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}.fcp-hero-inner{display:flex;align-items:center;gap:16px}.fcp-client-logo{width:72px;height:72px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid #dfe6f1;padding:8px}.fcp-timeline-shell{overflow:auto}.fcp-timeline-header h3{margin:0 0 6px;font-size:24px}.fcp-timeline-header p{margin:0;color:#5f6f86}.fcp-timeline-nav{display:flex;align-items:flex-start;gap:0;margin-top:20px;overflow:auto;padding-bottom:8px}.fcp-timeline-dot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:150px;padding:0;border:0;background:transparent;cursor:pointer;color:#21314d}.fcp-dot-bullet{width:18px;height:18px;border-radius:999px;background:#8ab4e8;border:4px solid #8ab4e8;box-shadow:0 0 0 8px rgba(138,180,232,.18);z-index:2}.fcp-dot-label{margin-top:14px;font-size:13px;font-weight:700;text-align:center;line-height:1.35}.fcp-dot-line{position:absolute;top:8px;left:50%;width:100%;height:3px;background:#d9e5f7;z-index:1}.fcp-timeline-dot:last-child .fcp-dot-line{display:none}.fcp-timeline-dot.is-active .fcp-dot-bullet{background:#173f73;border-color:#173f73;box-shadow:0 0 0 8px rgba(23,63,115,.12)}.fcp-timeline-dot.is-active .fcp-dot-label{color:#173f73}.fcp-period-panels{display:grid;gap:18px}.fcp-period-panel{display:none}.fcp-period-panel.is-active{display:block}.fcp-period-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #edf1f7;margin-bottom:18px}.fcp-period-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#5f6f86;margin-bottom:6px}.fcp-period-head h3{margin:0;font-size:32px}.fcp-period-summary{display:flex;flex-wrap:wrap;gap:8px}.fcp-period-summary span{display:inline-flex;align-items:center;border-radius:999px;padding:8px 11px;background:#f2f6fd;color:#31527f;font-size:12px;font-weight:700}.fcp-period-section{margin-top:22px}.fcp-period-section h4{margin:0 0 12px;font-size:18px}.fcp-file-list{display:grid;gap:12px}.fcp-file-item{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;border:1px solid #e3e8f2;border-radius:16px;padding:16px;background:#fff}.fcp-file-title{font-size:18px;font-weight:700;margin-bottom:6px}.fcp-meta{font-size:13px;color:#5f6f86;margin-bottom:6px}.fcp-note{font-size:14px;margin:8px 0}.fcp-file-side textarea,.fcp-file-side .fcp-select{width:100%;border:1px solid #d3ddea;border-radius:12px;padding:12px}.fcp-label{display:block;font-size:13px;margin-bottom:6px}.fcp-actions-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}.fcp-button{display:inline-block;border:1px solid #173f73;background:#173f73;color:#fff;border-radius:12px;padding:10px 14px;text-decoration:none;cursor:pointer;font-weight:600}.fcp-button-secondary{background:#fff;color:#16233b;border-color:#d3ddea}.fcp-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.fcp-status-in_review{background:#f7ebc6;color:#8a5a00}.fcp-status-approved{background:#dff3e6;color:#147a38}.fcp-status-changes_requested{background:#f8d7da;color:#9c2130}.fcp-status-available{background:#edf3fb;color:#31527f}.fcp-report-premium{display:grid;gap:16px}.fcp-report-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.fcp-report-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#5f6f86;margin-bottom:6px}.fcp-report-topbar h5{margin:0;font-size:22px}.fcp-report-generated{font-size:13px;color:#5f6f86}.fcp-premium-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.fcp-premium-card{padding:18px;border:1px solid #e3e8f2;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#f9fbff 100%)}.fcp-premium-label{display:block;font-size:12px;color:#5f6f86;margin-bottom:8px}.fcp-premium-card strong{font-size:30px;line-height:1.1;color:#0f1f35}.fcp-delta{margin-top:10px;font-size:12px;font-weight:700}.fcp-delta.is-up{color:#147a38}.fcp-delta.is-down{color:#b02a37}.fcp-trend-box,.fcp-insights-box,.fcp-secondary-box{padding:18px;border:1px solid #e3e8f2;border-radius:18px;background:#fff}.fcp-section-title{font-size:15px;font-weight:700;margin-bottom:12px}.fcp-trend-chart{display:flex;align-items:flex-end;gap:10px;overflow:auto;padding-top:10px}.fcp-trend-col{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:34px}.fcp-trend-bar{width:26px;border-radius:10px 10px 6px 6px;background:linear-gradient(180deg,#8ab4e8 0%,#173f73 100%)}.fcp-trend-col span{font-size:11px;color:#5f6f86;white-space:nowrap}.fcp-insights-box ul{margin:0;padding-left:18px}.fcp-insights-box li{margin-bottom:6px}.fcp-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.fcp-kpi-grid-pro{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.fcp-kpi-item{border:1px solid #edf1f7;border-radius:14px;padding:12px;background:#fbfcff}.fcp-kpi-item span{display:block;font-size:12px;color:#5f6f86;margin-bottom:4px}.fcp-kpi-item strong{font-size:18px}.fcp-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}@media (max-width:900px){.fcp-admin-two-col,.fcp-file-item,.fcp-edit-grid{grid-template-columns:1fr}.fcp-period-head{flex-direction:column;align-items:flex-start}.fcp-period-head h3{font-size:24px}.fcp-timeline-dot{min-width:120px}.fcp-dot-label{font-size:12px}.fcp-report-topbar{flex-direction:column;align-items:flex-start}}

.fcp-year-switcher{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.fcp-year-chip{display:inline-flex;align-items:center;justify-content:center;min-width:88px;padding:10px 14px;border-radius:999px;border:1px solid #d8e2f0;background:#fff;color:#243754;text-decoration:none;font-weight:700}.fcp-year-chip.is-active{background:#173f73;border-color:#173f73;color:#fff}.fcp-month-timeline{display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:12px;position:relative;margin-top:18px}.fcp-month-node{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 14px 12px;border:1px solid #dbe4f1;border-radius:16px;background:#fff;text-decoration:none;color:#21314d;min-height:82px}.fcp-month-node.is-active{border-color:#173f73;background:linear-gradient(180deg,#f8fbff 0%,#eef4fd 100%);box-shadow:0 10px 24px rgba(23,63,115,.08)}.fcp-month-node.is-disabled{opacity:.38;background:#f7f9fc}.fcp-month-dot{width:14px;height:14px;border-radius:999px;background:#8ab4e8;box-shadow:0 0 0 6px rgba(138,180,232,.15)}.fcp-month-node.is-active .fcp-month-dot{background:#173f73;box-shadow:0 0 0 6px rgba(23,63,115,.12)}.fcp-month-label{font-size:14px;font-weight:700;line-height:1.2}.fcp-month-node.is-disabled .fcp-month-label{color:#7e8ca3}.fcp-timeline-nav,.fcp-timeline-dot,.fcp-dot-label,.fcp-dot-bullet,.fcp-dot-line{all:unset}@media (max-width:900px){.fcp-month-timeline{grid-template-columns:repeat(3,minmax(100px,1fr))}}@media (max-width:640px){.fcp-month-timeline{grid-template-columns:repeat(2,minmax(100px,1fr))}}
.fcp-executive-box{padding:18px;border:1px solid #e3e8f2;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);display:grid;gap:14px}.fcp-executive-box p{margin:0;font-size:15px;line-height:1.65;color:#243754}.fcp-summary-image-wrap{border:1px solid #edf1f7;border-radius:16px;padding:10px;background:#fff}.fcp-summary-image{display:block;max-width:100%;height:auto;border-radius:12px}

.fcp-kpi-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:10px}.fcp-kpi-group-card{border:1px solid #e3e8f2;border-radius:16px;padding:14px;background:#fbfcff}.fcp-kpi-group-head{margin-bottom:10px}.fcp-kpi-group-head label{display:flex;align-items:center;gap:8px;font-size:14px;color:#16233b}.fcp-kpi-group-head p{margin:6px 0 0;color:#5f6f86;font-size:12px;line-height:1.5}.fcp-kpi-group-card .fcp-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.fcp-month-node{position:relative}.fcp-month-meta{font-size:11px;color:#6b7a90;font-weight:600}.fcp-month-node.is-past .fcp-month-dot{background:#4f7fcb;box-shadow:0 0 0 6px rgba(79,127,203,.15)}.fcp-month-node.is-current .fcp-month-dot{background:#17a34a;box-shadow:0 0 0 6px rgba(23,163,74,.18)}.fcp-month-node.is-future .fcp-month-dot{background:#d0d7e4;box-shadow:0 0 0 6px rgba(208,215,228,.18)}.fcp-month-node.is-current{border-color:#bde4cb;background:linear-gradient(180deg,#f7fff9 0%,#effcf3 100%)}.fcp-month-node.is-past{border-color:#dbe4f1}.fcp-month-node.is-future{border-style:dashed}.fcp-month-node.is-disabled{cursor:not-allowed}.fcp-month-node.is-current.is-active{box-shadow:0 10px 24px rgba(23,163,74,.10)}

.fcp-chart-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:18px 0 10px}
.fcp-chart-card{background:#fff;border:1px solid #dfe7f3;border-radius:18px;padding:18px;box-shadow:0 10px 24px rgba(14,31,53,.04)}
.fcp-chart-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.fcp-chart-title{font-size:14px;font-weight:700;color:#173f73}
.fcp-chart-value{font-size:34px;line-height:1.05;font-weight:700;color:#16233b;margin-top:6px}
.fcp-chart-delta{font-size:13px;font-weight:700;padding-top:6px;white-space:nowrap}
.fcp-chart-delta.is-up{color:#1b8f4b}.fcp-chart-delta.is-down{color:#c54848}
.fcp-mini-chart{display:block;width:100%;height:110px;color:#7db0ea;background:linear-gradient(180deg,#f8fbff 0%,#ffffff 100%);border-radius:12px;padding:6px 0}
.fcp-kpi-copy{font-size:13px;line-height:1.55;color:#495a76;margin:0 0 12px}
.fcp-conclusion-box{margin-top:18px;border:1px solid #dfe7f3;border-radius:18px;padding:18px;background:#f8fbff}
.fcp-public-report .fcp-period-panel{margin-top:16px}

.fcp-kpi-grid-values{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}
.fcp-kpi-value-option{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border:1px solid #d9e1ef;border-radius:12px;background:#fff;}
.fcp-kpi-value-option small{display:block;color:#5e6b85;font-size:12px;font-weight:600;padding-left:22px;}

.fcp-timeline-shell-compact{padding:18px 20px}.fcp-timeline-header-compact{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.fcp-timeline-header-compact h3{margin:0 0 4px;font-size:22px}.fcp-timeline-header-compact p{margin:0;font-size:13px}.fcp-month-timeline-compact{grid-template-columns:repeat(4,minmax(110px,1fr));gap:10px}.fcp-month-timeline-compact .fcp-month-node{min-height:auto;padding:10px 12px;border-radius:12px;gap:6px}.fcp-month-timeline-compact .fcp-month-label{font-size:13px}.fcp-month-timeline-compact .fcp-month-meta{font-size:10px}.fcp-report-accordion{display:grid;gap:14px}.fcp-report-details{border:1px solid #dfe7f3;border-radius:16px;background:#fff;padding:0 16px 16px}.fcp-report-summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0;cursor:pointer}.fcp-report-summary::-webkit-details-marker{display:none}.fcp-report-summary-meta{font-size:12px;color:#6a7891;margin-top:4px}.fcp-report-summary-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.fcp-report-summary-date{font-size:12px;color:#6a7891}.fcp-report-summary-cards{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.fcp-report-summary-cards span{display:inline-flex;gap:4px;align-items:center;padding:8px 10px;border-radius:999px;background:#f5f8fd;font-size:12px;color:#304769}.fcp-feedback-box{border:1px solid #dfe7f3;border-radius:18px;background:#fff;padding:18px}.fcp-feedback-copy{margin:0 0 14px;color:#51627c;font-size:14px}.fcp-feedback-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:12px;margin-bottom:12px}.fcp-feedback-grid label,.fcp-feedback-full{display:flex;flex-direction:column;gap:6px}.fcp-feedback-grid span,.fcp-feedback-full span{font-size:13px;font-weight:600;color:#1d2e48}.fcp-input{width:100%;border:1px solid #d3ddea;border-radius:12px;padding:12px;background:#fff}.fcp-feedback-list{display:grid;gap:10px;margin-top:16px}.fcp-feedback-item{border:1px solid #e6edf7;border-radius:14px;padding:12px;background:#fbfcff}.fcp-feedback-item-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:13px}.fcp-feedback-item-head span{color:#6a7891}.fcp-feedback-badges{display:flex;flex-wrap:wrap;gap:8px}.fcp-feedback-badges span,.fcp-inline-feedback-item span{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#eef4fd;font-size:12px;color:#2f4a70}.fcp-inline-feedback-admin{margin:16px 0;padding:14px;border:1px solid #dfe7f3;border-radius:14px;background:#fbfcff}.fcp-inline-feedback-list{display:grid;gap:10px;margin-top:10px}.fcp-inline-feedback-item{display:flex;flex-wrap:wrap;gap:8px}.fcp-period-summary{row-gap:8px}@media (max-width:1024px){.fcp-month-timeline-compact{grid-template-columns:repeat(3,minmax(100px,1fr))}.fcp-feedback-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}@media (max-width:640px){.fcp-timeline-header-compact{flex-direction:column}.fcp-month-timeline-compact{grid-template-columns:repeat(2,minmax(100px,1fr))}.fcp-feedback-grid{grid-template-columns:1fr}}

/* Feedback/UI refinements */
.fcp-button,.fcp-button:visited{background:#0f2e5f;border-color:#0f2e5f;color:#fff}
.fcp-button:hover,.fcp-button:focus,.fcp-button:active{background:#123b78 !important;border-color:#123b78 !important;color:#fff !important;box-shadow:none;text-decoration:none;outline:none}
.fcp-button-secondary,.fcp-button-secondary:visited{background:#eaf3ff;border-color:#b8d4ff;color:#0f2e5f}
.fcp-button-secondary:hover,.fcp-button-secondary:focus,.fcp-button-secondary:active{background:#dcecff !important;border-color:#9dc3fb !important;color:#0f2e5f !important}
.fcp-month-selector-form{display:flex;justify-content:flex-end;margin:8px 0 14px}.fcp-month-selector-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#284164;min-width:240px}
.fcp-month-timeline-compact{grid-template-columns:repeat(6,minmax(90px,1fr))}
.fcp-month-node{transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.fcp-month-node:hover{transform:translateY(-1px);border-color:#8fb8ef;box-shadow:0 8px 18px rgba(15,46,95,.08)}
.fcp-feedback-success{margin:0 0 14px;padding:12px 14px;border-radius:12px;background:#eef7ff;border:1px solid #bcd6f5;color:#163764;font-weight:600}
.fcp-score-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700}
.fcp-score-badge.is-low{background:#fdecec;color:#b42318}.fcp-score-badge.is-mid{background:#eef4fd;color:#31527f}.fcp-score-badge.is-high{background:#e8f6ee;color:#167c3c}
.fcp-badge-week{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef4fd;color:#31527f;font-size:12px;font-weight:700}
.fcp-feedback-item{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.fcp-feedback-item p{margin:10px 0 0;color:#334866;line-height:1.55}
.fcp-inline-feedback-admin{background:#fff}.fcp-inline-feedback-item{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
@media (max-width:900px){.fcp-month-selector-form{justify-content:stretch}.fcp-month-selector-form label{min-width:100%}.fcp-month-timeline-compact{grid-template-columns:repeat(3,minmax(90px,1fr))}}


.fcp-feedback-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.fcp-feedback-head h4{margin:0 0 4px;font-size:20px;color:#0f2e5f}.fcp-feedback-fields{display:flex;flex-wrap:wrap;gap:10px}.fcp-feedback-fields label{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #d7e4f5;border-radius:999px;background:#f5f9ff}.fcp-settings-stack{display:grid;gap:16px}.fcp-settings-block{border:1px solid #dfe7f3;border-radius:18px;padding:18px;background:#fff}.fcp-settings-block-head p{margin:4px 0 0;color:#5f6f86}.fcp-settings-kpi-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.fcp-settings-kpi-pill{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;border:1px solid #d7e4f5;background:#f7fbff;color:#173f73}.fcp-feedback-box .fcp-score-badge,.fcp-feedback-box .fcp-score-badge.is-low,.fcp-feedback-box .fcp-score-badge.is-mid,.fcp-feedback-box .fcp-score-badge.is-high{background:#eef4fd;color:#2f4a70}.fcp-feedback-box .fcp-button,.fcp-feedback-box .fcp-button:hover,.fcp-feedback-box .fcp-button:focus,.fcp-feedback-box .fcp-button:active{outline:none;box-shadow:none}.fcp-button,.fcp-button:hover,.fcp-button:focus,.fcp-button:active,.fcp-button-secondary,.fcp-button-secondary:hover,.fcp-button-secondary:focus,.fcp-button-secondary:active{border-bottom-color:inherit}.fcp-feedback-form select:focus,.fcp-feedback-form input:focus,.fcp-feedback-form textarea:focus{border-color:#8fb8ef;box-shadow:0 0 0 3px rgba(143,184,239,.18);outline:none}@media (max-width:720px){.fcp-feedback-head{flex-direction:column;align-items:stretch}}
.fcp-accordion{border:1px solid #dfe7f3;border-radius:16px;background:#fff;margin-top:12px;overflow:hidden}
.fcp-accordion-summary{list-style:none;cursor:pointer;padding:14px 16px;font-weight:700;color:#0f2e5f;background:#f7fbff}
.fcp-accordion-summary::-webkit-details-marker{display:none}
.fcp-accordion[open] .fcp-accordion-summary{border-bottom:1px solid #e4edf8}
.fcp-accordion .fcp-feedback-form,.fcp-accordion .fcp-feedback-list{padding:16px}
.fcp-feedback-label-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;margin-top:8px}
.fcp-feedback-label-grid p{margin:0}
.fcp-feedback-form button,.fcp-feedback-head button{appearance:none;-webkit-appearance:none;background-image:none}
.fcp-feedback-box .fcp-badge-week,.fcp-feedback-box .fcp-feedback-badges span{background:#eef5ff!important;color:#22456f!important;border:1px solid #d6e7ff}
.fcp-feedback-box .fcp-button,.fcp-feedback-box .fcp-button:hover,.fcp-feedback-box .fcp-button:focus,.fcp-feedback-box .fcp-button:active{background:#0f2e5f!important;border-color:#0f2e5f!important;color:#fff!important}
.fcp-feedback-box .fcp-button-secondary,.fcp-feedback-box .fcp-button-secondary:hover,.fcp-feedback-box .fcp-button-secondary:focus,.fcp-feedback-box .fcp-button-secondary:active{background:#eaf3ff!important;border-color:#c8defc!important;color:#0f2e5f!important}
@media (max-width:720px){.fcp-feedback-label-grid{grid-template-columns:1fr}}

.fcp-feedback-notice{display:none;margin:0 0 14px;padding:12px 14px;border-radius:12px;font-weight:600}
.fcp-feedback-notice.is-visible{display:block}
.fcp-feedback-notice.is-success{background:#eef7ff;border:1px solid #bcd6f5;color:#163764}
.fcp-feedback-notice.is-error{background:#fff3f3;border:1px solid #f1c6c6;color:#8b1f1f}
.fcp-print-toolbar{max-width:1180px;margin:18px auto 0;padding:0 16px;display:flex;justify-content:flex-end}
.fcp-print-page{background:#f5f8fc}
.fcp-print-mode .fcp-accordion{margin-top:16px}
.fcp-print-mode .fcp-accordion>summary{pointer-events:none}
.fcp-print-mode .fcp-feedback-form,.fcp-print-mode .fcp-actions-row.no-print,.fcp-print-mode .fcp-feedback-notice{display:none!important}
.fcp-print-mode .fcp-accordion[open] .fcp-accordion-summary{border-bottom:1px solid #e4edf8}
.fcp-print-mode .fcp-accordion{overflow:visible}
@media (max-width:640px){
  .fcp-client-area{gap:14px}
  .fcp-card{padding:16px;border-radius:16px}
  .fcp-hero-inner{align-items:flex-start}
  .fcp-client-logo{width:56px;height:56px}
  .fcp-period-head{margin-bottom:14px;padding-bottom:10px}
  .fcp-period-head h3{font-size:22px}
  .fcp-period-summary{gap:6px}
  .fcp-period-summary span{padding:6px 9px;font-size:11px}
  .fcp-feedback-box{padding:14px}
  .fcp-feedback-head h4{font-size:18px}
  .fcp-month-timeline-compact{display:none}
  .fcp-month-selector-form{margin:0}
  .fcp-accordion-summary{padding:12px 14px}
}
@media print {
  body *{visibility:hidden}
  .fcp-client-area,.fcp-client-area *{visibility:visible}
  .fcp-client-area{position:absolute;left:0;top:0;width:100%;display:block}
  .no-print,.fcp-feedback-form,.fcp-month-selector-form,.fcp-timeline-shell,.fcp-print-toolbar{display:none!important}
  .fcp-card,.fcp-feedback-box,.fcp-accordion{break-inside:avoid;box-shadow:none!important}
  .fcp-accordion{border:1px solid #dfe7f3!important}
  .fcp-accordion[open] .fcp-accordion-summary{border-bottom:1px solid #e4edf8}
  .fcp-accordion .fcp-feedback-list{padding:16px}
}


.fcp-month-picker-accordion{margin:12px 0 16px}
.fcp-month-picker-accordion .fcp-month-selector-form{padding:14px 16px}
.fcp-month-selector-form .fcp-select{width:100%;border:1px solid #d3ddea;border-radius:12px;padding:12px;background:#fff}
@media (max-width:640px){
  .fcp-month-picker-accordion .fcp-month-selector-form{padding:12px 14px}
}


.fcp-prospect-area .fcp-period-section{padding:16px}
.fcp-prospect-copy,.fcp-prospect-proposal{color:#304769;line-height:1.7;font-size:15px}
.fcp-feedback-modal{position:fixed;inset:0;background:rgba(15,46,95,.45);display:none;align-items:center;justify-content:center;padding:20px;z-index:99999}
.fcp-feedback-modal.is-visible{display:flex}
.fcp-feedback-modal-card{background:#fff;border-radius:18px;padding:24px;max-width:420px;width:100%;box-shadow:0 20px 60px rgba(15,46,95,.18);text-align:center}
.fcp-feedback-modal-card h4{margin:0 0 8px;color:#0f2e5f;font-size:24px}
.fcp-feedback-modal-copy{margin:0 0 16px;color:#51627c}
.fcp-print-mode .fcp-hero{margin-bottom:12px}
.fcp-print-mode .fcp-hero p{margin:6px 0 0}
.fcp-print-mode .fcp-card{padding:18px}
.fcp-print-mode .fcp-period-panel{padding-top:8px}
.fcp-print-mode .fcp-period-head{margin-bottom:10px}
.fcp-print-mode .fcp-period-section{padding-top:8px}
.fcp-print-mode .fcp-report-premium{margin-bottom:0}
@media print {
  .fcp-print-page{background:#fff}
  .fcp-client-area{gap:10px !important}
  .fcp-hero{padding:14px !important;margin:0 0 8px !important}
  .fcp-client-logo{width:52px !important;height:52px !important}
  .fcp-period-head{margin-bottom:8px !important;padding-bottom:8px !important}
  .fcp-period-summary{display:flex !important;gap:6px !important}
  .fcp-period-summary span:nth-child(n+3){display:none !important}
  .fcp-feedback-head{margin-bottom:6px !important}
  .fcp-feedback-copy{margin-bottom:8px !important}
  .fcp-print-mode .fcp-accordion summary{padding:10px 12px !important}
  .fcp-print-mode .fcp-feedback-list,.fcp-print-mode .fcp-period-section{padding:12px !important}
}

/* v16 admin/frontend refinements */
.fcp-clean-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px}
.fcp-new-client-card .fcp-clean-form{display:grid;gap:16px}
.fcp-admin-collapse{margin:14px 0;border:1px solid #dfe7f3;border-radius:16px;background:#fff;overflow:hidden}
.fcp-admin-collapse>summary{cursor:pointer;list-style:none;padding:14px 16px;font-weight:700;color:#0f2e5f;background:#f7fbff}
.fcp-admin-collapse>summary::-webkit-details-marker{display:none}
.fcp-admin-collapse-body{padding:16px}
.fcp-client-manage-card{background:#fff;border:1px solid #dfe7f3;border-radius:18px;padding:18px;margin:0 0 18px}
.fcp-client-manage-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}
.fcp-client-head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.fcp-prospect-table-wrap{overflow:auto}
.fcp-prospect-table{width:100%;border-collapse:collapse;border:1px solid #dfe7f3;border-radius:14px;overflow:hidden}
.fcp-prospect-table th,.fcp-prospect-table td{border-bottom:1px solid #e7edf7;padding:14px;vertical-align:top}
.fcp-prospect-table th{background:#f7fbff;color:#0f2e5f;text-align:left}
.fcp-prospect-channel strong{display:block;margin-bottom:6px}
.fcp-prospect-channel a{color:#2f70c8;text-decoration:none;font-size:13px}
.fcp-prospect-proposal-box{margin-top:16px;border:1px solid #dfe7f3;border-radius:14px;padding:14px;background:#fcfdff}
.fcp-hero-actions{margin-left:auto}
@media (max-width:900px){
 .fcp-clean-grid{grid-template-columns:1fr}
 .fcp-client-manage-head{flex-direction:column}
 .fcp-hero-inner{flex-wrap:wrap}
 .fcp-hero-actions{margin-left:0}
 .fcp-prospect-table th,.fcp-prospect-table td{padding:10px}
}

/* v17 compact lead + print fixes */
.fcp-prospect-link-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:14px}
.fcp-prospect-link-grid .regular-text{width:100%}
.fcp-prospect-link-grid-full{grid-column:1/-1}
.fcp-prospect-analysis-stack{display:grid;gap:12px}
.fcp-prospect-item .large-text,.fcp-prospect-item .regular-text{width:100%}
.fcp-button-quote{white-space:nowrap}
.fcp-prospect-area .fcp-hero{padding:16px 18px}
.fcp-prospect-area .fcp-hero-inner{align-items:flex-start}
.fcp-prospect-area .fcp-period-section{padding:14px 16px}
.fcp-prospect-table th,.fcp-prospect-table td{padding:12px}
.fcp-prospect-proposal-box{padding:16px}
.fcp-timeline-shell-compact{padding:14px 16px}
.fcp-timeline-header-compact h3{font-size:20px}
.fcp-month-timeline-compact{grid-template-columns:repeat(6,minmax(84px,1fr));gap:8px}
.fcp-month-timeline-compact .fcp-month-node{padding:8px 10px}
.fcp-month-timeline-compact .fcp-month-label{font-size:12px}
.fcp-month-timeline-compact .fcp-month-meta{font-size:10px}
.fcp-period-panel{padding:16px 18px}
@media (max-width:900px){.fcp-prospect-link-grid{grid-template-columns:1fr}.fcp-month-timeline-compact{grid-template-columns:repeat(3,minmax(84px,1fr))}}
@media (max-width:640px){.fcp-month-timeline-compact{grid-template-columns:repeat(2,minmax(84px,1fr))}}

/* v13.1.1 cleaner minimal reading layer */
.fcp-card,.fcp-client-manage-card,.fcp-feedback-box,.fcp-chart-card,.fcp-premium-card{border-radius:12px;box-shadow:none;border-color:#dfe5ef}
.fcp-big,.fcp-chart-value,.fcp-premium-card strong{letter-spacing:.01em}
.fcp-admin-collapse>summary,.fcp-accordion-summary{background:#f8fafc;color:#17324d}
.fcp-client-manage-head{border-bottom:1px solid #edf1f6;padding-bottom:12px}
.fcp-button,.button.button-primary{border-radius:8px}
@media print {
  .fcp-client-area{position:static !important;gap:6px !important;padding:0 !important}
  .fcp-card,.fcp-feedback-box,.fcp-accordion{break-inside:auto !important;page-break-inside:auto !important}
  .fcp-hero{padding:10px 12px !important;margin:0 0 4px !important;break-after:avoid-page !important}
  .fcp-hero h2{margin:0 0 2px !important;font-size:24px !important}
  .fcp-hero p{margin:0 !important;font-size:12px !important}
  .fcp-period-panel{padding:10px 12px !important;margin-top:0 !important;break-inside:auto !important;page-break-inside:auto !important}
  .fcp-period-head{margin-bottom:6px !important;padding-bottom:6px !important}
  .fcp-period-section{margin-top:8px !important;padding-top:0 !important;break-inside:auto !important;page-break-inside:auto !important}
  .fcp-report-premium,.fcp-feedback-box,.fcp-feedback-list{break-inside:auto !important;page-break-inside:auto !important}
  .fcp-premium-grid,.fcp-kpi-grid-pro,.fcp-feedback-list{gap:8px !important}
  .fcp-prospect-proposal-box{margin-top:10px !important}
}

.fcp-prospect-main-card{padding:22px}
.fcp-hero-copy{flex:1}
.fcp-prospect-cta-row{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:end;margin-top:18px}
.fcp-prospect-cta-box{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.fcp-dashboard-complete{margin-bottom:16px}
.fcp-dashboard-complete-body{padding:16px}
.fcp-dashboard-copy{margin:0 0 12px;color:#5f6f86}
.fcp-dashboard-months{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.fcp-month-check{display:inline-flex;align-items:center;gap:8px;border:1px solid #dfe7f3;background:#fff;border-radius:999px;padding:8px 12px;font-size:13px;color:#173f73}
.fcp-dashboard-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}
.fcp-dashboard-kpi strong{font-size:24px}
.fcp-upload-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}
.fcp-month-timeline-compact{grid-template-columns:repeat(6,minmax(72px,1fr));gap:6px}
.fcp-month-timeline-compact .fcp-month-node{min-height:60px;padding:8px;border-radius:12px}
.fcp-month-timeline-compact .fcp-month-dot{width:10px;height:10px;box-shadow:none}
.fcp-month-timeline-compact .fcp-month-label{font-size:11px}
.fcp-month-timeline-compact .fcp-month-meta{font-size:9px;line-height:1.2}
.fcp-timeline-shell-compact{padding:12px}
.fcp-timeline-header-compact{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.fcp-timeline-header-compact p{font-size:12px}
body.fcp-inline-print-mode .fcp-timeline-shell,
body.fcp-inline-print-mode .no-print,
body.fcp-inline-print-mode .fcp-feedback-form,
body.fcp-inline-print-mode .fcp-accordion--files,
body.fcp-inline-print-mode .fcp-dashboard-complete{display:none!important}
body.fcp-inline-print-mode .fcp-hero{padding:10px 12px!important;margin-bottom:8px!important}
body.fcp-inline-print-mode .fcp-hero h2{font-size:24px!important;margin:0 0 2px!important}
body.fcp-inline-print-mode .fcp-hero p{margin:0!important;font-size:12px!important}
body.fcp-inline-print-mode .fcp-period-panel{padding-top:0!important}
@media (max-width:900px){.fcp-prospect-cta-row{grid-template-columns:1fr}.fcp-prospect-cta-box{justify-content:flex-start}.fcp-timeline-header-compact{flex-direction:column}.fcp-month-timeline-compact{grid-template-columns:repeat(3,minmax(72px,1fr))}}
@media (max-width:640px){.fcp-month-timeline-compact{grid-template-columns:repeat(2,minmax(72px,1fr))}}

/* v13.1.3 per-client frontend controls + cleaner responsive layer */
.fcp-visibility-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:8px 0 6px}
.fcp-visibility-grid label{display:flex;align-items:center;gap:8px;border:1px solid #dfe7f3;background:#fff;border-radius:10px;padding:10px 12px;color:#17324d;font-weight:600}
.fcp-client-area{max-width:1180px;margin:0 auto;padding:0 14px;box-sizing:border-box}
.fcp-client-area *{box-sizing:border-box}
.fcp-hero h2,.fcp-period-head h3,.fcp-report-topbar h5{letter-spacing:0}
.fcp-hero h2{margin:0 0 4px;font-size:clamp(24px,3vw,34px);line-height:1.12;color:#10243c}
.fcp-hero p{margin:0;color:#5f6f86;line-height:1.55}
.fcp-period-panel,.fcp-timeline-shell-compact,.fcp-dashboard-complete,.fcp-accordion{background:#fff}
.fcp-period-section{min-width:0}
.fcp-file-item{grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr)}
.fcp-file-main,.fcp-file-side,.fcp-report-premium,.fcp-feedback-box{min-width:0}
.fcp-button{line-height:1.2;text-align:center;white-space:normal}
.fcp-input,.fcp-select,.fcp-file-side textarea{max-width:100%}
@media (max-width:760px){
  .fcp-client-area{padding:0 10px}
  .fcp-hero-inner{gap:12px}
  .fcp-file-item{grid-template-columns:1fr;padding:14px}
  .fcp-report-summary{align-items:flex-start;flex-direction:column}
  .fcp-report-summary-right,.fcp-actions-row{width:100%}
  .fcp-actions-row .fcp-button{flex:1 1 160px}
  .fcp-premium-card strong,.fcp-chart-value{font-size:24px}
  .fcp-feedback-item-head{flex-direction:column;gap:4px}
}

/* v13.1.7 FIC dashboard */
.fcp-fic-stats .fcp-card{min-height:94px}
.fcp-fic-company{font-size:18px;font-weight:700;margin-top:12px;color:#17324d;line-height:1.35}

/* v13.8.1 smart CRM list views */
.fcp-smart-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;align-items:end}
.fcp-smart-toolbar p{margin:0}
.fcp-client-dashboard-grid-compact .fcp-client-dashboard-card{min-height:132px;padding:16px}
.fcp-smart-entity-card{display:grid;gap:14px;padding:16px 18px}
.fcp-smart-entity-eyebrow{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#6a7891;margin-bottom:6px}
.fcp-smart-badge-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.fcp-smart-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid #dbe6f3;background:#f8fbff;color:#355070}
.fcp-smart-badge-success{background:#eef8f1;color:#17663a;border-color:#cde8d7}
.fcp-smart-badge-info{background:#eef4fd;color:#31527f;border-color:#d6e3f8}
.fcp-smart-badge-warning{background:#fff7e8;color:#8a5a00;border-color:#f3dfb0}
.fcp-smart-badge-muted{background:#f3f6fa;color:#63758b;border-color:#e1e8f0}
.fcp-smart-badge-accent{background:#f3efff;color:#5c3ea7;border-color:#ddd2ff}
.fcp-smart-meta-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.fcp-smart-meta-item{display:grid;gap:4px;padding:10px 12px;border:1px solid #e3eaf3;border-radius:10px;background:#fbfdff}
.fcp-smart-meta-item small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#73829a}
.fcp-smart-meta-item strong{font-size:13px;color:#16324d;line-height:1.4;word-break:break-word}
.fcp-smart-inline-card{border:1px solid #e3eaf3;border-radius:12px;background:#fbfdff;padding:14px}
.fcp-smart-inline-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.fcp-smart-inline-form label{display:grid;gap:6px;margin:0}
.fcp-smart-inline-check{display:flex !important;align-items:center;gap:8px;padding-bottom:8px;color:#51627c}
.fcp-smart-inline-form button{height:32px}
.fcp-smart-inline-stars{min-width:220px}
.fcp-smart-subtitle{margin:16px 0 10px;font-size:14px;color:#16324d}
.fcp-smart-link-grid,.fcp-smart-analysis-grid{display:grid;gap:12px}
.fcp-smart-link-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.fcp-smart-link-item,.fcp-smart-analysis-item{border:1px solid #e3eaf3;border-radius:12px;background:#fff;padding:12px}
.fcp-smart-link-item small{display:block;margin-bottom:6px;color:#73829a;text-transform:uppercase;font-size:11px;letter-spacing:.06em}
.fcp-smart-link-item a{color:#0f5ea8;text-decoration:none;word-break:break-all}
.fcp-smart-analysis-item h4{margin:0 0 8px;font-size:14px;color:#17324d}
.fcp-smart-analysis-item p{margin:0;color:#41546d;line-height:1.6}
.fcp-smart-meta-answers{margin-bottom:10px;border:1px solid #e3eaf3;border-radius:12px;background:#fbfdff;padding:12px}
.fcp-smart-meta-answers h3{margin:0 0 10px;font-size:14px;color:#17324d}
.fcp-smart-entity-lead .fcp-client-manage-head{margin-bottom:8px}
.fcp-star-rating{display:flex;flex-wrap:wrap;gap:6px}
.fcp-star-option{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:1px solid #e3eaf3;border-radius:999px;background:#fff;color:#7a5b12;font-weight:700}
.fcp-star-option input{margin:0}
@media (max-width:900px){
  .fcp-smart-inline-form{flex-direction:column;align-items:stretch}
  .fcp-smart-inline-check{padding-bottom:0}
}
.fcp-fic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.fcp-fic-toolbar h2{margin:0 0 4px}
.fcp-fic-toolbar p{margin:0;color:#5f6f86}
.fcp-fic-table-wrap{overflow:auto;margin-top:10px}
.fcp-fic-table th,.fcp-fic-table td{vertical-align:middle}
.fcp-fic-inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fcp-fic-inline-form select{max-width:210px}
.fcp-fic-pill{display:inline-flex;align-items:center;border:1px solid #d6e4f5;background:#f4f8ff;color:#17324d;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700;margin-top:4px}
.fcp-fic-import,.fcp-fic-search{margin-bottom:18px}
.fcp-fic-import-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:14px}
.fcp-fic-column-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.fcp-fic-column-grid label{display:grid;grid-template-columns:auto 1fr 72px;align-items:center;gap:8px;border:1px solid #e2e9f3;background:#fbfdff;border-radius:10px;padding:10px}
.fcp-fic-column-grid input[type=number]{width:72px}
.fcp-client-data-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-top:10px}
.fcp-client-data-grid span{display:block;border:1px solid #e2e9f3;background:#fbfdff;border-radius:8px;padding:8px 10px;color:#2c405f;line-height:1.35}
.fcp-client-data-grid strong{display:block;color:#17324d;font-size:11px;text-transform:uppercase;letter-spacing:.02em;margin-bottom:2px}
.fcp-lead-source-badge{display:inline-flex;align-items:center;border:1px solid currentColor;background:#fff;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:700;vertical-align:middle}
.fcp-fic-name-large{font-size:20px;line-height:1.2;color:#10243c}
.fcp-fic-action-row{display:flex;gap:6px;flex-wrap:wrap}
.fcp-crm-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.fcp-crm-form-grid p{min-width:0}
.fcp-crm-form-grid input,.fcp-crm-form-grid select,.fcp-crm-form-grid textarea{width:100%;max-width:100%;box-sizing:border-box}
.fcp-crm-field-wide{grid-column:1/-1}
.fcp-crm-field-quote{min-width:0}
.fcp-crm-field-quote select{min-width:0}
.fcp-clean-grid-full{grid-column:1/-1}
.fcp-crm-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.fcp-crm-toolbar{justify-content:flex-start}
.fcp-crm-kanban{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px}
.fcp-crm-kanban-col{background:#f8fafc;border:1px solid #e2e9f3;border-radius:12px;padding:12px}
.fcp-crm-kanban-col.is-drop-target{background:#eef7f0;border-color:#93d1a7}
.fcp-crm-kanban-col h3{margin:0 0 10px;color:#17324d;display:flex;align-items:center;justify-content:space-between;font-size:15px}
.fcp-crm-kanban-col h3 span{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;background:#e7eef8;color:#17324d;font-size:12px}
.fcp-crm-task-card{display:block;background:#fff;border:1px solid #e2e9f3;border-radius:14px;padding:0;margin-bottom:10px;overflow:hidden}
.fcp-crm-task-card.is-dragging{opacity:.55}
.fcp-crm-task-card p{margin:0;color:#5f6f86}
.fcp-crm-anydo-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.fcp-crm-anydo-column{background:#f8fafc;border:1px solid #e2e9f3;border-radius:18px;padding:14px}
.fcp-crm-anydo-column header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.fcp-crm-anydo-column h3{margin:0;color:#10243c;font-size:20px}
.fcp-crm-anydo-column header span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:999px;background:#e9eff7;color:#33506f;font-size:12px;font-weight:700}
.fcp-crm-anydo-task{display:grid;grid-template-columns:20px 1fr;gap:12px;background:#fff;border:1px solid #e2e9f3;border-radius:16px;padding:14px;margin-bottom:12px;box-shadow:0 4px 12px rgba(16,36,60,.05)}
.fcp-crm-anydo-task.is-compact{border:none;box-shadow:none;border-radius:0;padding:0;background:transparent}
.fcp-crm-task-card .fcp-crm-anydo-task.is-compact{padding:12px;background:#fff}
.fcp-crm-anydo-check{width:20px;height:20px;border-radius:999px;border:2px solid #c7d4e6;margin-top:2px;background:#fff;cursor:pointer;padding:0;appearance:none;-webkit-appearance:none}
.fcp-crm-anydo-check:hover{border-color:#6aa56f}
.fcp-crm-anydo-check.is-loading{opacity:.6}
.fcp-crm-anydo-check.is-done,.fcp-crm-anydo-task.is-completed .fcp-crm-anydo-check{background:#1f9d55;border-color:#1f9d55;box-shadow:inset 0 0 0 4px #fff}
.fcp-crm-anydo-task.is-completed{opacity:.55}
.fcp-crm-anydo-main{display:grid;gap:8px;min-width:0}
.fcp-crm-anydo-main strong{font-size:15px;line-height:1.35;color:#10243c}
.fcp-crm-anydo-main p{margin:0;color:#5f6f86;line-height:1.45}
.fcp-crm-anydo-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.fcp-crm-anydo-date{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef4fd;color:#31527f;font-size:12px;font-weight:700}
.fcp-crm-anydo-date.is-empty{background:#f1f5f9;color:#64748b}
.fcp-crm-anydo-link{color:#0f5ea8;text-decoration:none;font-weight:600}
.fcp-crm-anydo-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fcp-crm-anydo-actions select{min-width:140px}
.fcp-inline-section-card{margin:0 0 16px}
.fcp-crm-calendar{display:grid;gap:10px}
.fcp-crm-calendar-month{grid-template-columns:repeat(7,minmax(120px,1fr))}
.fcp-crm-calendar-week{grid-template-columns:repeat(7,minmax(140px,1fr))}
.fcp-crm-calendar-year{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.fcp-crm-calendar-day,.fcp-crm-calendar-box{min-height:120px;border:1px solid #e2e9f3;background:#fbfdff;border-radius:10px;padding:10px}
.fcp-crm-calendar-date{cursor:pointer}
.fcp-crm-calendar-day h3,.fcp-crm-calendar-box h3{margin:0 0 8px;font-size:14px;color:#17324d}
.fcp-crm-calendar-item{border-left:4px solid #2f70c8;background:#fff;border-radius:8px;padding:8px;margin-bottom:6px}
.fcp-crm-calendar-item strong,.fcp-crm-calendar-item span{display:block}
.fcp-crm-modal[hidden]{display:none}
.fcp-crm-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px}
.fcp-crm-modal-backdrop{position:absolute;inset:0;background:rgba(13,24,38,.42)}
.fcp-crm-modal-card{position:relative;width:min(920px,96vw);max-height:86vh;overflow:auto;background:#fff;border:1px solid #dfe6f1;border-radius:12px;box-shadow:0 24px 80px rgba(13,24,38,.28);padding:22px}
.fcp-crm-modal-card h2{margin-top:0}
.fcp-crm-modal-close{position:absolute;top:12px;right:16px;font-size:20px;text-decoration:none}
body.fcp-crm-modal-open{overflow:hidden}
.fcp-voice-status{margin-left:8px}
.fcp-task-presets{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.fcp-task-preset-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%}
.fcp-task-preset{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fcp-task-preset-remove{border:1px solid #d7e3f2;background:#fff;color:#5f6f86;border-radius:8px;padding:0 8px;height:30px;line-height:28px;cursor:pointer}
.fcp-client-dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:18px 0}
.fcp-client-dashboard-card{background:#fff;border:1px solid #dfe5ef;border-radius:12px;padding:18px;box-shadow:0 2px 0 rgba(15,46,95,.08);display:grid;gap:8px;min-height:150px}
.fcp-client-dashboard-card h2{margin:0;font-size:18px;color:#17324d}
.fcp-client-dashboard-card strong{font-size:30px;color:#10243c;line-height:1}
.fcp-client-dashboard-card span{color:#5f6f86}
.fcp-client-dashboard-card a{align-self:end;text-decoration:none;color:#0f5ea8;font-weight:600}
.fcp-client-onboarding-card{margin:0 0 18px}
.fcp-client-onboarding-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.fcp-empty-overview{display:grid;gap:14px}
.fcp-empty-actions{display:flex;flex-wrap:wrap;gap:10px}
.fcp-empty-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.fcp-crm-priority{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700;background:#eef4fd;color:#31527f}
.fcp-crm-priority-high{background:#fff4df;color:#8a5a00}.fcp-crm-priority-urgent{background:#ffe9e9;color:#9c2130}.fcp-crm-priority-low{background:#eef7f0;color:#167c3c}

/* v13.10.3 smart SaaS UX */
.fcp-dashboard-smart{display:grid;gap:18px;margin:18px 0}
.fcp-dashboard-row{display:grid;gap:14px}
.fcp-dashboard-row-primary{grid-template-columns:repeat(5,minmax(150px,1fr))}
.fcp-dashboard-row-secondary{grid-template-columns:repeat(4,minmax(180px,1fr))}
.fcp-dashboard-row-lists{grid-template-columns:repeat(3,minmax(240px,1fr))}
.fcp-dashboard-action-card,.fcp-dashboard-panel{background:#fff;border:1px solid #dfe7f3;border-radius:12px;box-shadow:0 2px 0 rgba(15,46,95,.06)}
.fcp-dashboard-action-card{display:grid;gap:8px;min-height:128px;padding:18px;text-decoration:none;color:#10243c}
.fcp-dashboard-action-card span{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#63758b;font-weight:800}
.fcp-dashboard-action-card strong{font-size:30px;line-height:1.05;color:#10243c;word-break:break-word}
.fcp-dashboard-action-card small{color:#61728a;font-size:13px}
.fcp-dashboard-action-card:hover{border-color:#78b7ef;box-shadow:0 8px 22px rgba(20,86,150,.12)}
.fcp-dashboard-action-info{border-top:4px solid #37a7e8}
.fcp-dashboard-action-success{border-top:4px solid #1f9d55}
.fcp-dashboard-action-warning{border-top:4px solid #f59e0b}
.fcp-dashboard-action-danger{border-top:4px solid #dc2626}
.fcp-dashboard-panel{padding:18px;min-height:210px}
.fcp-dashboard-panel h2{margin:0 0 14px;color:#10243c;font-size:18px}
.fcp-mini-list-row,.fcp-alert-row{display:flex;justify-content:space-between;gap:12px;align-items:center;text-decoration:none;border:1px solid #e5edf7;border-radius:10px;background:#fbfdff;padding:10px 12px;margin-bottom:8px;color:#10243c}
.fcp-mini-list-row strong{font-size:14px}
.fcp-mini-list-row span{font-size:12px;color:#63758b;text-align:right}
.fcp-alert-row strong{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:999px;background:#eaf3ff;color:#17456f}
.fcp-alert-row.is-danger strong{background:#ffe7e7;color:#a31d1d}
.fcp-alert-row.is-ok strong{background:#eaf8ef;color:#1f7a43}
.fcp-smart-badge-danger{background:#ffe7e7;color:#a31d1d;border-color:#ffc7c7}
.fcp-quick-filter-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0}
.fcp-lead-bulk-bar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;background:#fff;border:1px solid #dfe7f3;border-radius:12px;padding:12px;margin:12px 0}
.fcp-lead-bulk-bar label{display:grid;gap:5px;color:#17324d;font-weight:700}
.fcp-lead-table-wrap{overflow:auto;background:#fff;border:1px solid #dfe7f3;border-radius:12px}
.fcp-lead-crm-table{border:none}
.fcp-lead-crm-table th{background:#f7fbff;color:#17324d;font-weight:800}
.fcp-lead-crm-table td,.fcp-lead-crm-table th{vertical-align:middle;padding:12px}
.fcp-lead-crm-table .description{display:block;margin-top:4px}
.fcp-link-button{appearance:none;border:0;background:transparent;padding:0;color:#0f5ea8;text-decoration:none;cursor:pointer;font-weight:800;text-align:left}
.fcp-lead-name-button{font-size:15px;color:#10243c}
.fcp-lead-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.fcp-lead-actions .button{min-height:30px}
.fcp-lead-modal[hidden]{display:none}
.fcp-lead-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px}
.fcp-lead-modal-backdrop{position:absolute;inset:0;background:rgba(13,24,38,.44)}
.fcp-lead-modal-card{position:relative;width:min(980px,96vw);max-height:88vh;overflow:auto;background:#fff;border:1px solid #dfe7f3;border-radius:12px;box-shadow:0 24px 80px rgba(13,24,38,.28);padding:22px}
.fcp-lead-modal-close{position:absolute;top:12px;right:14px;border:0;background:#eef4fd;border-radius:999px;width:34px;height:34px;font-size:22px;line-height:1;cursor:pointer;color:#17324d}
.fcp-lead-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0;border-bottom:1px solid #e4ebf5;padding-bottom:10px}
.fcp-lead-tabs button{border:1px solid #dfe7f3;background:#fff;border-radius:999px;padding:8px 12px;color:#17324d;font-weight:800;cursor:pointer}
.fcp-lead-tabs button.is-active{background:#0f5ea8;border-color:#0f5ea8;color:#fff}
.fcp-lead-tab-panel{display:none}
.fcp-lead-tab-panel.is-active{display:block}
body.fcp-lead-modal-open{overflow:hidden}
@media (max-width:760px){
  .fcp-dashboard-row-primary,.fcp-dashboard-row-secondary,.fcp-dashboard-row-lists{grid-template-columns:1fr}
  .fcp-dashboard-action-card{min-height:104px}
  .fcp-lead-actions{min-width:220px}
  .fcp-fic-toolbar{align-items:flex-start;flex-direction:column}
  .fcp-fic-import-grid{grid-template-columns:1fr}
  .fcp-fic-inline-form{align-items:stretch}
  .fcp-fic-inline-form select,.fcp-fic-inline-form .button{width:100%;max-width:none}
  .fcp-crm-kanban,.fcp-crm-calendar-month,.fcp-crm-calendar-week,.fcp-crm-anydo-board{grid-template-columns:1fr}
  .fcp-crm-field-wide{grid-column:auto}
}
@media (max-width:520px){
  .fcp-card,.fcp-period-panel,.fcp-feedback-box{padding:14px}
  .fcp-client-logo{width:48px;height:48px}
  .fcp-period-summary span{border-radius:8px}
  .fcp-visibility-grid{grid-template-columns:1fr}
}


/* 14.1.4 - Meta insight frontend */
.fcp-meta-campaign-box { margin-top: 18px; }
.fcp-meta-campaign-table-wrap { overflow-x: auto; }
.fcp-meta-campaign-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fcp-meta-campaign-table th,
.fcp-meta-campaign-table td { padding: 10px 12px; border-bottom: 1px solid rgba(15, 23, 42, .08); text-align: left; white-space: nowrap; }
.fcp-meta-campaign-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #60708f; background: #f7faff; }
.fcp-meta-campaign-table code { font-size: 11px; background: #eef4ff; padding: 2px 5px; border-radius: 6px; }



/* v14.1.5 report/client UI requested fixes */
.fcp-client-area-iorio{max-width:1380px;width:100%;margin:0 auto;padding:0 14px}
.fcp-client-fixed-stack{position:sticky;top:0;z-index:30;display:grid;gap:14px;background:#07053a;padding:10px 0 14px}
.fcp-client-area-iorio .fcp-client-logo{width:88px;height:88px;padding:8px;border-radius:12px}
.fcp-selected-kpi-grid{margin-top:14px}
.fcp-meta-performance-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-top:14px}
.fcp-meta-summary-card{border:1px solid #dfe7f3;border-radius:14px;background:#fff;padding:14px}
.fcp-meta-summary-card span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#5f6f86;margin-bottom:6px}
.fcp-meta-summary-card strong{display:block;font-size:24px;color:#0f2e5f;line-height:1.1}
.fcp-meta-summary-card small{display:block;margin-top:8px;color:#6b7a90;line-height:1.35}
.fcp-client-board{display:grid;gap:14px;margin-top:16px}
.fcp-client-board-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-end}
.fcp-client-board-head h2{margin:0;color:#0f2e5f}
.fcp-client-board-head p{margin:0;color:#5f6f86}
.fcp-client-board-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;align-items:stretch}
.fcp-client-trello-card{border:1px solid #dfe7f3;border-radius:16px;background:#fff;padding:16px;display:flex;flex-direction:column;gap:10px;min-height:190px;box-shadow:0 8px 18px rgba(14,31,53,.04)}
.fcp-client-trello-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.fcp-client-open-count{font-size:12px;color:#6b7a90}
.fcp-client-trello-card h3{margin:0;color:#10243c;font-size:18px;line-height:1.25}
.fcp-client-trello-card p{margin:0;color:#4d5f77;line-height:1.45;min-height:40px}
.fcp-client-trello-meta{display:grid;gap:3px;margin-top:auto;font-size:12px;color:#6b7a90}
.fcp-client-trello-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.fcp-client-trello-actions .button{flex:1;text-align:center}
.fcp-kpi-group-card-all{border-style:dashed;background:#fff}
@media (max-width:900px){
  .fcp-client-fixed-stack{position:static;padding:0;background:transparent}
  .fcp-client-area-iorio .fcp-client-logo{width:70px;height:70px}
  .fcp-client-board-head{display:block}
}
@media (max-width:640px){
  .fcp-client-area-iorio{padding:0 10px}
  .fcp-client-board-grid{grid-template-columns:1fr}
  .fcp-meta-performance-summary{grid-template-columns:1fr 1fr}
}

/* v14.2.1 - report storico, task premium, tracking bacheca */
.fcp-report-filters,.fcp-task-filter-card{border:1px solid #d8e4f3;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);border-radius:18px;box-shadow:0 12px 32px rgba(15,46,95,.06)}
.fcp-pagination{display:flex;gap:6px;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid #e4ebf5}
.fcp-report-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:12px 0}
.fcp-report-summary-cards span,.fcp-usage-stats span{display:block;border:1px solid #e1e9f5;border-radius:12px;background:#fff;padding:10px 12px;color:#5f6f86}
.fcp-report-summary-cards strong,.fcp-usage-stats strong{color:#10243c;font-size:16px}
.fcp-report-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px}
.fcp-danger-link{border-color:#fecaca!important;color:#991b1b!important;background:#fff5f5!important}
.fcp-usage-card{margin-top:18px;border-radius:18px;background:#fff}
.fcp-usage-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:12px 0 16px}
.fcp-usage-timeline{display:grid;gap:8px;max-height:360px;overflow:auto;padding-right:4px}
.fcp-usage-row{display:grid;grid-template-columns:160px 150px 1fr;gap:10px;align-items:center;border:1px solid #e4ebf5;border-radius:12px;background:#f8fbff;padding:10px 12px;color:#52657e}
.fcp-usage-row strong{color:#10243c}
.fcp-client-top-stack{display:grid;gap:14px;margin-bottom:14px}
.fcp-report-topbar-modern{border:1px solid #dfe8f4;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#eef6ff);padding:18px;margin-bottom:14px;align-items:flex-start}
.fcp-report-subtitle{margin:8px 0 0;color:#5f6f86;font-size:14px}
.fcp-report-section-nav{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.fcp-report-section-nav span{border:1px solid #dce8f6;background:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;color:#31506f}
.fcp-crm-kanban{gap:14px;align-items:start}
.fcp-crm-kanban-col{background:#f7faff;border:1px solid #dce8f6;border-radius:18px;padding:12px;min-height:220px}
.fcp-crm-kanban-col h3{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;color:#10243c;font-size:15px}
.fcp-crm-kanban-col h3 span{background:#fff;border:1px solid #dce8f6;border-radius:999px;padding:3px 8px;font-size:12px;color:#31506f}
.fcp-crm-anydo-task{border:1px solid #dfe7f3;border-radius:16px;background:#fff;box-shadow:0 10px 22px rgba(14,31,53,.05);transition:transform .15s ease, box-shadow .15s ease}
.fcp-crm-anydo-task:hover{transform:translateY(-1px);box-shadow:0 16px 32px rgba(14,31,53,.09)}
.fcp-crm-anydo-meta{gap:6px;flex-wrap:wrap}
.fcp-crm-anydo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.fcp-smart-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.fcp-smart-toolbar p{margin:0 0 8px}
.fcp-smart-toolbar input[type="search"],.fcp-smart-toolbar input[type="text"],.fcp-smart-toolbar input[type="number"],.fcp-smart-toolbar select{min-height:36px;border-radius:8px;border-color:#d6e2f0}
@media (max-width:760px){.fcp-usage-row{grid-template-columns:1fr}.fcp-report-topbar-modern{padding:14px}.fcp-smart-toolbar{display:block}.fcp-smart-toolbar p{margin-bottom:10px}.fcp-smart-toolbar select,.fcp-smart-toolbar input{width:100%}}

/* =========================================================
   FCP 14.2.2 - DESIGN ONLY RESTYLE
   Scope: UI/UX, spacing, visual hierarchy, responsive.
   No functional selectors, no DB/API/logic changes.
   ========================================================= */
:root{
  --fcp-navy:#0f2e5f;
  --fcp-navy-2:#153b73;
  --fcp-blue:#2f80ed;
  --fcp-sky:#eaf5ff;
  --fcp-cyan:#39bdf8;
  --fcp-bg:#f4f7fb;
  --fcp-card:#ffffff;
  --fcp-line:#dfe7f3;
  --fcp-line-soft:#eef3f8;
  --fcp-text:#17233c;
  --fcp-muted:#64748b;
  --fcp-soft:#f8fafc;
  --fcp-success:#15803d;
  --fcp-success-bg:#eaf8ef;
  --fcp-warning:#b7791f;
  --fcp-warning-bg:#fff7df;
  --fcp-danger:#b42318;
  --fcp-danger-bg:#fff1f0;
  --fcp-radius-xs:8px;
  --fcp-radius-sm:12px;
  --fcp-radius:16px;
  --fcp-radius-lg:22px;
  --fcp-shadow:0 14px 34px rgba(15,46,95,.07);
  --fcp-shadow-soft:0 8px 22px rgba(15,46,95,.045);
}

/* Base backend page polish */
body[class*="fcp3-"] #wpcontent,
body.toplevel_page_fcp3-dashboard #wpcontent,
body[class*="felice-client-portal"] #wpcontent{background:var(--fcp-bg)}
body[class*="fcp3-"] .wrap,
body.toplevel_page_fcp3-dashboard .wrap{max-width:1480px;color:var(--fcp-text)}
body[class*="fcp3-"] .wrap>h1,
body.toplevel_page_fcp3-dashboard .wrap>h1{font-size:28px;line-height:1.2;font-weight:800;color:var(--fcp-navy);letter-spacing:-.02em;margin:22px 0 18px;display:flex;align-items:center;gap:10px}
body[class*="fcp3-"] .wrap>h1:before,
body.toplevel_page_fcp3-dashboard .wrap>h1:before{content:"";width:10px;height:30px;border-radius:99px;background:linear-gradient(180deg,var(--fcp-cyan),var(--fcp-blue));display:inline-block}
body[class*="fcp3-"] .description,
body.toplevel_page_fcp3-dashboard .description{color:var(--fcp-muted);line-height:1.55}

/* Unified cards */
.fcp-card,
.fcp-client-dashboard-card,
.fcp-client-manage-card,
.fcp-client-trello-card,
.fcp-crm-form-card,
.fcp-crm-anydo-column,
.fcp-crm-anydo-task,
.fcp-crm-task-card,
.fcp-chart-card,
.fcp-premium-card,
.fcp-report-summary,
.fcp-feedback-box,
.fcp-settings-block,
.fcp-panel,
.fcp-smart-entity-card,
.fcp-meta-summary-card,
.fcp-meta-campaign-box,
.fcp-dashboard-panel,
.fcp-admin-collapse,
.fcp-accordion,
.fcp-lead-modal-card,
.fcp-crm-modal-card{
  background:var(--fcp-card)!important;
  border:1px solid var(--fcp-line)!important;
  border-radius:var(--fcp-radius)!important;
  box-shadow:var(--fcp-shadow-soft)!important;
}
.fcp-card,.fcp-client-manage-card,.fcp-crm-form-card,.fcp-dashboard-panel,.fcp-settings-block{padding:20px!important}
.fcp-card h2,.fcp-card h3,.fcp-client-manage-card h2,.fcp-client-manage-card h3,.fcp-dashboard-panel h2,.fcp-settings-block h2,.fcp-settings-block-head strong{color:var(--fcp-navy);letter-spacing:-.015em}
.fcp-card p:last-child,.fcp-client-manage-card p:last-child{margin-bottom:0}

/* Dashboard / KPI cards */
.fcp-grid,
.fcp-dashboard-kpis,
.fcp-client-dashboard-grid,
.fcp-report-summary-cards,
.fcp-premium-grid,
.fcp-chart-card-grid{gap:16px!important}
.fcp-client-dashboard-card,
.fcp-dashboard-kpi,
.fcp-report-summary-card,
.fcp-kpi-item,
.fcp-smart-meta-item{
  border:1px solid var(--fcp-line)!important;
  border-radius:var(--fcp-radius)!important;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;
  box-shadow:none!important;
  padding:18px!important;
}
.fcp-client-dashboard-card h2,
.fcp-dashboard-kpi span,
.fcp-premium-label,
.fcp-kpi-item span,
.fcp-smart-meta-item small,
.fcp-chart-title{font-size:12px!important;text-transform:uppercase;letter-spacing:.08em;color:var(--fcp-muted)!important;font-weight:800;margin:0 0 8px!important}
.fcp-client-dashboard-card strong,
.fcp-dashboard-kpi strong,
.fcp-big,
.fcp-premium-card strong,
.fcp-chart-value,
.fcp-kpi-item strong,
.fcp-smart-meta-item strong{color:var(--fcp-navy)!important;font-weight:850!important;letter-spacing:-.035em}
.fcp-client-dashboard-card strong,.fcp-big,.fcp-chart-value{font-size:34px!important;line-height:1.05}
.fcp-client-dashboard-card span{color:var(--fcp-muted);line-height:1.45;display:block;margin-top:6px}
.fcp-client-dashboard-card a,.fcp-dashboard-action-card{text-decoration:none!important;color:var(--fcp-blue);font-weight:750}

/* Forms */
body[class*="fcp3-"] input[type="text"],
body[class*="fcp3-"] input[type="search"],
body[class*="fcp3-"] input[type="email"],
body[class*="fcp3-"] input[type="url"],
body[class*="fcp3-"] input[type="number"],
body[class*="fcp3-"] input[type="password"],
body[class*="fcp3-"] input[type="date"],
body[class*="fcp3-"] select,
body[class*="fcp3-"] textarea,
.fcp-input,.fcp-select{
  border:1px solid #cfd9e8!important;
  border-radius:10px!important;
  min-height:40px;
  padding:8px 11px!important;
  color:var(--fcp-text)!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[class*="fcp3-"] textarea{line-height:1.55;min-height:92px}
body[class*="fcp3-"] input:focus,
body[class*="fcp3-"] select:focus,
body[class*="fcp3-"] textarea:focus,
.fcp-input:focus,.fcp-select:focus{border-color:var(--fcp-blue)!important;box-shadow:0 0 0 3px rgba(47,128,237,.14)!important;outline:0!important}
body[class*="fcp3-"] label{font-weight:650;color:var(--fcp-text)}
.fcp-clean-grid,.fcp-edit-grid,.fcp-crm-form-grid,.fcp-meta-fields,.fcp-feedback-fields{gap:14px!important}
.fcp-smart-toolbar,.fcp-report-filters,.fcp-fic-toolbar,.fcp-crm-toolbar,.fcp-task-filter-card,.fcp-lead-bulk-bar{
  display:flex!important;align-items:end;gap:14px!important;flex-wrap:wrap;background:#fff!important;border:1px solid var(--fcp-line)!important;border-radius:var(--fcp-radius)!important;padding:16px!important;box-shadow:var(--fcp-shadow-soft)!important
}
.fcp-smart-toolbar p,.fcp-report-filters p,.fcp-crm-toolbar p{margin:0!important}

/* Buttons */
.fcp-button,
.wp-core-ui body[class*="fcp3-"] .button,
body[class*="fcp3-"] .button,
body.toplevel_page_fcp3-dashboard .button{
  border-radius:10px!important;
  min-height:38px;
  padding:6px 13px!important;
  font-weight:750!important;
  border-color:#cfd9e8!important;
  color:var(--fcp-navy)!important;
  background:#fff!important;
  box-shadow:none!important;
  display:inline-flex!important;align-items:center;justify-content:center;gap:6px;text-decoration:none!important
}
body[class*="fcp3-"] .button-primary,
body.toplevel_page_fcp3-dashboard .button-primary,
.fcp-button:not(.fcp-button-secondary){background:linear-gradient(135deg,var(--fcp-blue),var(--fcp-navy-2))!important;border-color:transparent!important;color:#fff!important}
body[class*="fcp3-"] .button:hover,
body.toplevel_page_fcp3-dashboard .button:hover,
.fcp-button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,46,95,.09)!important}
.fcp-button-secondary{background:#fff!important;color:var(--fcp-navy)!important;border-color:#cfd9e8!important}
.fcp-danger-link,.fcp-button-danger,.button.fcp-danger-link{color:var(--fcp-danger)!important;border-color:#f1b8b3!important;background:var(--fcp-danger-bg)!important}

/* Badges / states */
.fcp-smart-badge,.fcp-status,.fcp-score-badge,.fcp-fic-pill,.fcp-crm-priority,.fcp-client-open-count,.fcp-badge-week{
  border-radius:999px!important;
  padding:6px 10px!important;
  font-size:11px!important;
  line-height:1!important;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-weight:850!important;
  border:1px solid transparent
}
.fcp-smart-badge-success,.fcp-status-approved,.fcp-status-available{background:var(--fcp-success-bg)!important;color:var(--fcp-success)!important;border-color:#bee8cb!important}
.fcp-smart-badge-muted,.fcp-status-in_review{background:#f1f5f9!important;color:#475569!important;border-color:#d8e2ee!important}
.fcp-status-changes_requested,.fcp-danger-link{background:var(--fcp-danger-bg)!important;color:var(--fcp-danger)!important;border-color:#fac5c0!important}
.fcp-crm-priority-high,.fcp-crm-priority-alta{background:var(--fcp-danger-bg)!important;color:var(--fcp-danger)!important}
.fcp-crm-priority-medium,.fcp-crm-priority-media{background:var(--fcp-warning-bg)!important;color:var(--fcp-warning)!important}
.fcp-crm-priority-low,.fcp-crm-priority-bassa{background:var(--fcp-sky)!important;color:var(--fcp-navy)!important}

/* Tables */
body[class*="fcp3-"] .widefat,
body.toplevel_page_fcp3-dashboard .widefat,
.fcp-fic-table,.fcp-prospect-table,.fcp-meta-campaign-table,.fcp-lead-crm-table{
  border:1px solid var(--fcp-line)!important;
  border-radius:var(--fcp-radius)!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden;
  box-shadow:var(--fcp-shadow-soft)!important;
  background:#fff!important
}
body[class*="fcp3-"] .widefat thead th,
body.toplevel_page_fcp3-dashboard .widefat thead th,
.fcp-fic-table th,.fcp-prospect-table th,.fcp-meta-campaign-table th,.fcp-lead-crm-table th{
  background:#f8fbff!important;
  color:var(--fcp-navy)!important;
  font-size:12px!important;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:850!important;
  border-bottom:1px solid var(--fcp-line)!important;
  padding:12px 14px!important
}
body[class*="fcp3-"] .widefat td,
body.toplevel_page_fcp3-dashboard .widefat td,
.fcp-fic-table td,.fcp-prospect-table td,.fcp-meta-campaign-table td,.fcp-lead-crm-table td{padding:13px 14px!important;border-bottom:1px solid var(--fcp-line-soft)!important;vertical-align:middle;color:var(--fcp-text)}
body[class*="fcp3-"] .widefat tr:hover td,
body.toplevel_page_fcp3-dashboard .widefat tr:hover td{background:#fbfdff!important}
.fcp-fic-table-wrap,.fcp-prospect-table-wrap,.fcp-meta-campaign-table-wrap,.fcp-lead-table-wrap{border-radius:var(--fcp-radius);overflow:auto}

/* Details, tabs, accordions */
.fcp-admin-collapse>summary,.fcp-accordion-summary{
  padding:15px 18px!important;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;
  color:var(--fcp-navy)!important;
  font-weight:850!important;
  border-bottom:1px solid var(--fcp-line-soft)
}
.fcp-admin-collapse-body{padding:18px!important}
.fcp-tab,.fcp-lead-tabs a,.fcp-crm-tabs a,.nav-tab{
  border-radius:999px!important;
  border:1px solid var(--fcp-line)!important;
  background:#fff!important;
  color:var(--fcp-muted)!important;
  padding:9px 14px!important;
  font-weight:800!important;
  text-decoration:none!important;
  margin:0 8px 8px 0!important
}
.fcp-tab.is-active,.fcp-lead-tabs a.is-active,.fcp-crm-tabs a.is-active,.nav-tab-active{background:var(--fcp-navy)!important;color:#fff!important;border-color:var(--fcp-navy)!important}

/* Clients */
.fcp-client-board-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:6px 0 16px}
.fcp-client-board-head h2{margin:0;color:var(--fcp-navy);font-size:22px;letter-spacing:-.02em}
.fcp-client-board-head p{margin:0;color:var(--fcp-muted)}
.fcp-client-board-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px!important}
.fcp-client-trello-card{padding:18px!important;display:flex;flex-direction:column;gap:12px;min-height:238px;transition:transform .16s ease, box-shadow .16s ease}
.fcp-client-trello-card:hover{transform:translateY(-2px);box-shadow:var(--fcp-shadow)!important}
.fcp-client-trello-top,.fcp-client-manage-head,.fcp-client-head-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.fcp-client-trello-card h3{margin:0;color:var(--fcp-navy);font-size:20px;letter-spacing:-.02em}
.fcp-client-trello-card p{color:var(--fcp-muted);line-height:1.55;margin:0}
.fcp-client-trello-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;color:var(--fcp-muted);font-size:12px;margin-top:auto}
.fcp-client-trello-meta span{background:#f8fafc;border:1px solid var(--fcp-line-soft);border-radius:10px;padding:8px}
.fcp-client-trello-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.fcp-client-logo,.fcp-client-logo-wrap img{border-radius:16px!important;border:1px solid var(--fcp-line)!important;background:#fff!important;box-shadow:var(--fcp-shadow-soft)}
.fcp-usage-timeline{display:grid;gap:8px;margin-top:12px}.fcp-usage-row{display:grid;grid-template-columns:160px 1fr 1fr;gap:10px;align-items:center;background:#f8fbff;border:1px solid var(--fcp-line-soft);border-radius:12px;padding:10px 12px;color:var(--fcp-muted)}.fcp-usage-row strong{color:var(--fcp-navy)}

/* Reports */
.fcp-report-filters{margin:12px 0 18px!important}
.fcp-report-summary{padding:18px!important;margin-bottom:14px!important}
.fcp-report-summary-meta,.fcp-report-summary-date,.fcp-report-generated{color:var(--fcp-muted)!important}
.fcp-report-actions,.fcp-actions-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.fcp-kpi-groups{gap:16px!important}
.fcp-kpi-group-card{background:#fff!important;border:1px solid var(--fcp-line)!important;border-radius:var(--fcp-radius)!important;padding:16px!important;box-shadow:var(--fcp-shadow-soft)!important}
.fcp-kpi-group-head p{color:var(--fcp-muted)!important}.fcp-kpi-value-option{border:1px solid var(--fcp-line-soft)!important;background:#f8fbff!important;border-radius:12px!important;padding:10px!important;display:flex!important;gap:8px!important;align-items:flex-start!important}.fcp-kpi-value-option small{display:block;color:var(--fcp-muted);margin-top:2px}
.fcp-chart-card{padding:18px!important}.fcp-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.fcp-mini-chart{border-radius:14px;background:#f8fbff;border:1px solid var(--fcp-line-soft);padding:10px}

/* Task / CRM board */
.fcp-crm-anydo-board,.fcp-crm-kanban{display:grid!important;grid-template-columns:repeat(4,minmax(230px,1fr));gap:16px!important;align-items:start}
.fcp-crm-anydo-column,.fcp-crm-kanban-col{padding:14px!important;background:#f8fbff!important;border:1px solid var(--fcp-line)!important;border-radius:var(--fcp-radius)!important;min-height:260px}
.fcp-crm-anydo-column h3,.fcp-crm-kanban-col h3{margin:0 0 12px;color:var(--fcp-navy);font-size:15px;text-transform:uppercase;letter-spacing:.07em;display:flex;align-items:center;justify-content:space-between}
.fcp-crm-anydo-task,.fcp-crm-task-card{padding:14px!important;margin:0 0 10px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 6px 16px rgba(15,46,95,.045)!important;transition:transform .14s ease, box-shadow .14s ease}
.fcp-crm-anydo-task:hover,.fcp-crm-task-card:hover{transform:translateY(-1px);box-shadow:var(--fcp-shadow)!important}
.fcp-crm-anydo-main,.fcp-crm-task-card strong{color:var(--fcp-navy);font-weight:850}.fcp-crm-anydo-meta,.fcp-crm-anydo-date{color:var(--fcp-muted);font-size:12px;line-height:1.45}.fcp-crm-anydo-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.fcp-crm-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:16px}.fcp-crm-stats>div{background:#fff;border:1px solid var(--fcp-line);border-radius:var(--fcp-radius);padding:16px;box-shadow:var(--fcp-shadow-soft)}

/* Leads */
.fcp-lead-tabs,.fcp-crm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.fcp-lead-name-button{color:var(--fcp-navy)!important;font-weight:850!important;text-decoration:none!important}.fcp-lead-actions{display:flex;gap:8px;flex-wrap:wrap}.fcp-lead-inline-editor{background:#f8fbff;border:1px solid var(--fcp-line);border-radius:var(--fcp-radius);padding:14px;margin-top:10px}.fcp-star-rating{display:flex;gap:4px;flex-wrap:wrap}.fcp-star-option span{color:#f59e0b;font-size:15px}
.fcp-score-badge{background:var(--fcp-sky)!important;color:var(--fcp-navy)!important;border-color:#cfe8ff!important}.fcp-smart-meta-answers{background:#fff;border:1px solid var(--fcp-line);border-radius:var(--fcp-radius);padding:16px;box-shadow:var(--fcp-shadow-soft)}

/* Frontend client area */
.fcp-client-area{max-width:1180px;margin:0 auto;padding:24px 16px;background:transparent;color:var(--fcp-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.fcp-client-area .fcp-card,.fcp-client-area .fcp-hero,.fcp-client-area .fcp-period-panel,.fcp-client-area .fcp-feedback-box,.fcp-client-area .fcp-accordion{box-shadow:var(--fcp-shadow-soft)!important;border-radius:var(--fcp-radius-lg)!important;border:1px solid var(--fcp-line)!important;background:#fff!important}
.fcp-hero,.fcp-hero-pro{background:linear-gradient(135deg,var(--fcp-navy) 0%,#164477 58%,#1f7acb 100%)!important;color:#fff!important;border:0!important;padding:24px!important;overflow:hidden;position:relative}
.fcp-hero:after{content:"";position:absolute;right:-70px;top:-70px;width:220px;height:220px;border-radius:999px;background:rgba(255,255,255,.09);pointer-events:none}.fcp-hero h2,.fcp-hero h1{color:#fff!important;margin:0 0 6px!important;letter-spacing:-.035em}.fcp-hero p,.fcp-hero .fcp-meta{color:rgba(255,255,255,.78)!important}.fcp-hero-inner{position:relative;z-index:1}.fcp-client-logo{width:70px;height:70px;object-fit:contain;padding:8px;background:#fff!important}
.fcp-period-head{border-bottom:1px solid var(--fcp-line-soft)!important;align-items:flex-start!important}.fcp-period-kicker,.fcp-report-eyebrow{color:var(--fcp-blue)!important;font-weight:900!important}.fcp-period-head h3{font-size:30px!important;color:var(--fcp-navy);letter-spacing:-.035em}.fcp-period-summary span{background:var(--fcp-sky)!important;color:var(--fcp-navy)!important;border:1px solid #cfebff!important}
.fcp-month-timeline,.fcp-month-timeline-compact{gap:10px!important}.fcp-month-node{border-radius:14px!important;border:1px solid var(--fcp-line)!important;background:#fff!important;box-shadow:none;transition:transform .15s ease,border-color .15s ease,background .15s ease}.fcp-month-node:hover{transform:translateY(-1px);border-color:#b9daf7!important}.fcp-month-node.is-active{background:linear-gradient(180deg,#f0f8ff 0%,#fff 100%)!important;border-color:var(--fcp-blue)!important;box-shadow:0 8px 20px rgba(47,128,237,.09)!important}.fcp-month-label{color:var(--fcp-navy)!important}
.fcp-executive-box,.fcp-trend-box,.fcp-insights-box,.fcp-secondary-box,.fcp-conclusion-box{border:1px solid var(--fcp-line)!important;border-radius:var(--fcp-radius)!important;background:#fff!important;box-shadow:none!important}.fcp-executive-box p,.fcp-insights-box li,.fcp-kpi-copy{color:#334155;line-height:1.65}
.fcp-premium-card{position:relative;overflow:hidden}.fcp-premium-card:before{content:"";position:absolute;left:0;top:0;width:100%;height:4px;background:linear-gradient(90deg,var(--fcp-cyan),var(--fcp-blue),var(--fcp-navy))}.fcp-premium-card strong{font-size:32px!important}.fcp-trend-bar{background:linear-gradient(180deg,var(--fcp-cyan),var(--fcp-navy))!important}
.fcp-feedback-form{display:grid;gap:12px}.fcp-feedback-item{border:1px solid var(--fcp-line-soft);border-radius:14px;padding:12px;background:#f8fbff}.fcp-file-item{border-radius:var(--fcp-radius)!important;border-color:var(--fcp-line)!important;box-shadow:var(--fcp-shadow-soft);background:#fff!important}.fcp-file-title{color:var(--fcp-navy)}

/* Alerts / empty states */
.notice,.fcp-feedback-notice,.fcp-alert-row{border-radius:12px!important}.fcp-feedback-notice.is-success{background:var(--fcp-success-bg)!important;color:var(--fcp-success)!important;border-color:#bee8cb!important}.fcp-feedback-notice.is-error{background:var(--fcp-danger-bg)!important;color:var(--fcp-danger)!important;border-color:#fac5c0!important}.fcp-card:has(> p:only-child){color:var(--fcp-muted)}

/* Responsive */
@media (max-width:1180px){.fcp-crm-anydo-board,.fcp-crm-kanban{grid-template-columns:repeat(2,minmax(240px,1fr))}.fcp-client-board-grid{grid-template-columns:repeat(2,minmax(260px,1fr))}}
@media (max-width:782px){
  body[class*="fcp3-"] .wrap>h1,body.toplevel_page_fcp3-dashboard .wrap>h1{font-size:24px;margin-top:16px}
  .fcp-smart-toolbar,.fcp-report-filters,.fcp-fic-toolbar,.fcp-crm-toolbar,.fcp-task-filter-card,.fcp-lead-bulk-bar{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important}
  .fcp-smart-toolbar input,.fcp-smart-toolbar select,.fcp-report-filters input,.fcp-report-filters select{width:100%!important;max-width:100%!important}
  .fcp-grid,.fcp-client-dashboard-grid,.fcp-dashboard-kpis,.fcp-report-summary-cards,.fcp-premium-grid,.fcp-chart-card-grid,.fcp-kpi-groups{grid-template-columns:1fr!important}
  .fcp-client-board-grid,.fcp-crm-anydo-board,.fcp-crm-kanban{grid-template-columns:1fr!important}
  .fcp-client-trello-meta,.fcp-usage-row{grid-template-columns:1fr!important}
  .fcp-client-manage-head,.fcp-client-board-head,.fcp-period-head,.fcp-report-topbar,.fcp-timeline-header-compact{flex-direction:column;align-items:flex-start!important}
  .fcp-client-area{padding:14px 10px}.fcp-hero{padding:18px!important}.fcp-client-logo{width:56px;height:56px}.fcp-period-head h3{font-size:24px!important}
  body[class*="fcp3-"] .widefat{display:block;overflow-x:auto;white-space:nowrap}.fcp-file-item{grid-template-columns:1fr!important}.fcp-actions-row .button,.fcp-client-trello-actions .button,.fcp-report-actions .button{width:100%;justify-content:center}
}
@media (max-width:480px){
  .fcp-card,.fcp-client-dashboard-card,.fcp-client-manage-card,.fcp-client-trello-card,.fcp-crm-form-card,.fcp-dashboard-panel{padding:14px!important;border-radius:14px!important}
  .fcp-client-dashboard-card strong,.fcp-big,.fcp-chart-value{font-size:28px!important}.fcp-premium-card strong{font-size:26px!important}
  .fcp-month-timeline,.fcp-month-timeline-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fcp-month-node{min-height:58px!important;padding:9px!important}
}

/* Print keeps previous compact logic; only removes heavy visual effects */
@media print{.fcp-card,.fcp-client-manage-card,.fcp-feedback-box,.fcp-accordion,.fcp-premium-card,.fcp-chart-card{box-shadow:none!important}.fcp-hero{background:#fff!important;color:#111827!important;border:1px solid #dfe7f3!important}.fcp-hero h1,.fcp-hero h2,.fcp-hero p{color:#111827!important}}

/* FCP 14.2.3 - Task browser notifications */
.fcp-notification-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 4px solid #38bdf8;
}
.fcp-notification-panel h2 {
  margin: 0 0 6px;
}
.fcp-notification-panel p {
  margin: 0 0 6px;
}
.fcp-notification-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 330px;
}
.fcp-notification-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  background: #eef2f7;
  color: #475569;
}
.fcp-notification-status.is-ok {
  background: #dcfce7;
  color: #166534;
}
.fcp-notification-status.is-warning {
  background: #fef3c7;
  color: #92400e;
}
.fcp-notification-status.is-error {
  background: #fee2e2;
  color: #991b1b;
}
.fcp-notification-status.is-muted {
  background: #f1f5f9;
  color: #64748b;
}
.fcp-notification-help {
  flex-basis: 100%;
  margin-top: 4px !important;
}
@media (max-width: 782px) {
  .fcp-notification-panel {
    display: block;
  }
  .fcp-notification-actions {
    justify-content: flex-start;
    min-width: 0;
    margin-top: 12px;
  }
}

/* =========================================================
   FCP 14.2.10 - CRM Calendar + Full Width UI + Performance polish
   ========================================================= */
body[class*="fcp3-"] .wrap,
body.toplevel_page_fcp3-dashboard .wrap{
  max-width:none!important;
  width:100%!important;
  box-sizing:border-box;
  padding-right:24px;
}
body[class*="fcp3-"] #wpbody-content,
body.toplevel_page_fcp3-dashboard #wpbody-content{
  padding-bottom:40px;
}
.fcp-grid.fcp-crm-stats{
  grid-template-columns:repeat(3,minmax(220px,1fr))!important;
  max-width:none!important;
}
.fcp-card,
.fcp-crm-form-card,
.fcp-task-filter-card{
  max-width:none!important;
}
.fcp-crm-toolbar{
  width:100%;
  box-sizing:border-box;
}
.fcp-crm-form-grid{
  grid-template-columns:repeat(6,minmax(140px,1fr))!important;
  align-items:end;
}
.fcp-crm-form-grid .fcp-crm-field-wide{grid-column:span 6!important}
.fcp-crm-form-grid .fcp-crm-field-quote{grid-column:span 2!important}
.fcp-crm-task-form input[name="task_title"],
.fcp-crm-task-form textarea[name="task_note"]{width:100%!important;max-width:none!important}
.fcp-crm-task-form .fcp-task-presets{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.fcp-notification-panel{
  margin-top:18px!important;
  border-left:4px solid var(--fcp-cyan)!important;
  opacity:.96;
}
.fcp-notification-panel h2{font-size:17px!important}
.fcp-time-select{
  width:100%;
  min-height:40px;
  border:1px solid #cfd9e8!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--fcp-text)!important;
  padding:8px 34px 8px 11px!important;
  box-shadow:none!important;
}
.fcp-time-select:focus{border-color:var(--fcp-blue)!important;box-shadow:0 0 0 3px rgba(47,128,237,.14)!important;outline:0!important}
.fcp-crm-calendar{
  width:100%;
  align-items:stretch;
}
.fcp-crm-calendar-month{grid-template-columns:repeat(7,minmax(150px,1fr))!important;gap:12px!important}
.fcp-crm-calendar-week{grid-template-columns:repeat(7,minmax(170px,1fr))!important;gap:12px!important}
.fcp-crm-calendar-year{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:14px!important}
.fcp-crm-calendar-day,
.fcp-crm-calendar-box{
  min-height:150px!important;
  border:1px solid var(--fcp-line)!important;
  background:#fbfdff!important;
  border-radius:16px!important;
  padding:12px!important;
}
.fcp-crm-calendar-day h3,
.fcp-crm-calendar-box h3{
  font-size:13px!important;
  font-weight:850!important;
  color:var(--fcp-navy)!important;
  margin:0 0 10px!important;
}
.fcp-crm-calendar-item{
  position:relative;
  border-left:4px solid var(--fcp-blue)!important;
  background:#fff!important;
  border-radius:12px!important;
  padding:9px 9px 8px!important;
  margin-bottom:8px!important;
  box-shadow:0 6px 14px rgba(15,46,95,.05)!important;
  transition:opacity .18s ease, transform .18s ease;
}
.fcp-crm-calendar-item:hover{transform:translateY(-1px)}
.fcp-crm-calendar-item.is-completed,
.fcp-crm-calendar-item.is-completing{opacity:.45}
.fcp-calendar-task-head{display:grid;grid-template-columns:22px 1fr;gap:7px;align-items:start}
.fcp-calendar-task-head strong{font-size:12px!important;line-height:1.25!important;color:var(--fcp-navy)!important}
.fcp-crm-calendar-item span{font-size:11px!important;color:var(--fcp-muted)!important;line-height:1.3!important;margin-left:29px}
.fcp-calendar-task-actions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 0 29px}
.fcp-calendar-task-actions .button{min-height:26px!important;padding:2px 8px!important;font-size:11px!important;border-radius:8px!important}
.fcp-calendar-complete{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  border-radius:999px!important;
  border:2px solid var(--fcp-blue)!important;
  background:#fff!important;
  padding:0!important;
  cursor:pointer;
}
.fcp-calendar-complete:hover{background:var(--fcp-sky)!important}
.fcp-crm-edit-modal .fcp-crm-modal-card{max-width:760px!important;width:calc(100vw - 80px)!important}
.fcp-crm-edit-feedback{min-height:18px;color:var(--fcp-muted)}
@media (min-width:1500px){
  .fcp-crm-calendar-day,.fcp-crm-calendar-box{min-height:170px!important}
  .fcp-crm-form-grid{grid-template-columns:repeat(6,minmax(170px,1fr))!important}
}
@media (max-width:1180px){
  .fcp-crm-form-grid{grid-template-columns:repeat(3,minmax(180px,1fr))!important}
  .fcp-crm-form-grid .fcp-crm-field-wide{grid-column:span 3!important}
  .fcp-crm-calendar-month,.fcp-crm-calendar-week{grid-template-columns:repeat(3,minmax(180px,1fr))!important}
}
@media (max-width:782px){
  body[class*="fcp3-"] .wrap,body.toplevel_page_fcp3-dashboard .wrap{padding-right:12px}
  .fcp-grid.fcp-crm-stats{grid-template-columns:1fr!important}
  .fcp-crm-form-grid{grid-template-columns:1fr!important}
  .fcp-crm-form-grid .fcp-crm-field-wide,.fcp-crm-form-grid .fcp-crm-field-quote{grid-column:auto!important}
  .fcp-crm-calendar-month,.fcp-crm-calendar-week,.fcp-crm-calendar-year{grid-template-columns:1fr!important}
  .fcp-crm-calendar-day,.fcp-crm-calendar-box{min-height:110px!important}
}


/* 14.2.15 - Menu accorpato e sottosezioni tecniche */
.fcp-admin-subnav{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin:14px 0 18px;
  padding:8px;
  background:#f8fbff;
  border:1px solid #d8e6f8;
  border-radius:14px;
}
.fcp-admin-subnav__item{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 13px;
  border-radius:10px;
  border:1px solid #cbd9ee;
  background:#fff;
  color:#0f2d55;
  font-weight:700;
  text-decoration:none;
  box-shadow:0 1px 2px rgba(15,45,85,.04);
}
.fcp-admin-subnav__item:hover{background:#eef6ff;color:#0b4fa2;border-color:#9bc5f5}
.fcp-admin-subnav__item.is-active{background:#1769d2;color:#fff;border-color:#1769d2}
.fcp-admin-subnav__item.is-active:hover{color:#fff;background:#105bb9}

/* 14.2.16 - Lead dashboard / referente fixes */
.fcp-prospect-area,
.fcp-prospect-area .fcp-card,
.fcp-prospect-area .fcp-hero-copy,
.fcp-prospect-area .fcp-hero-copy h2,
.fcp-prospect-area .fcp-hero-copy p,
.fcp-prospect-area .fcp-period-kicker,
.fcp-prospect-area h3,
.fcp-prospect-area h4{
  color:#0b2d5f!important;
}
.fcp-prospect-area ::selection{
  background:#dbeafe;
  color:#0b2d5f;
}
.fcp-prospect-area .fcp-period-kicker{
  background:#edf6ff;
  display:inline-flex;
  border-radius:8px;
  padding:4px 8px;
  font-weight:800;
  letter-spacing:.08em;
}
.fcp-prospect-referente{
  margin:2px 0 4px!important;
  color:#31527f!important;
  font-weight:700;
}
.fcp-empty-inline{
  padding:14px 16px;
  border:1px dashed #bfd1ea;
  border-radius:12px;
  background:#f7fbff;
  color:#31527f;
  font-weight:600;
}
.fcp-muted{color:#6b7c93;font-style:italic}


/* 14.2.17 - lead dashboard/readability fixes */
.fcp-client-area,
.fcp-client-area * {
  color: #082a5e;
}
.fcp-client-area ::selection {
  color: #082a5e;
  background: rgba(59, 130, 246, .22);
}
.fcp-prospect-area .fcp-card,
.fcp-prospect-area .fcp-card * {
  color: #082a5e;
}
.fcp-prospect-table th,
.fcp-prospect-table td,
.fcp-prospect-main-card h3,
.fcp-period-kicker,
.fcp-hero-copy h2,
.fcp-hero-copy p {
  color: #082a5e !important;
}
.fcp-prospect-area .fcp-muted,
.fcp-client-area .fcp-muted {
  color: #64748b !important;
}
.fcp-prospect-table a,
.fcp-client-area a {
  color: #0f62fe;
}

/* 14.2.18 - lead/company edit, AI analysis and frontend readability */
.fcp-ai-analysis-box{
  border:1px solid #bfdbfe;
  background:#eff6ff;
  border-radius:12px;
  padding:14px 16px;
}
.fcp-ai-analysis-box strong{color:#0b2d5f!important;font-weight:800}
.fcp-client-area .fcp-hero,
.fcp-client-area .fcp-hero *{
  color:#082a5e!important;
  opacity:1!important;
  text-shadow:none!important;
}
.fcp-client-area .fcp-hero .fcp-hero-copy h2,
.fcp-client-area .fcp-hero h2,
.fcp-client-area .fcp-hero p,
.fcp-client-area .fcp-report-eyebrow{
  color:#082a5e!important;
  opacity:1!important;
  visibility:visible!important;
}
.fcp-client-area a{color:#1459b7!important}
.fcp-client-area ::selection,
.fcp-prospect-area ::selection{
  background:#dbeafe!important;
  color:#082a5e!important;
}
.fcp-lead-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}


/* 14.2.19 lead/frontend UI refinements */
.fcp-lead-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;max-width:230px}
.fcp-lead-actions .button{margin:0!important;border-radius:10px!important;font-weight:700!important;line-height:1.2!important;padding:8px 12px!important;min-height:34px!important}
.fcp-lead-actions .button-primary{background:#1f65d8!important;border-color:#1f65d8!important;color:#fff!important}
.fcp-lead-complete-link{background:#eef6ff!important;border-color:#b8d7ff!important;color:#073b7a!important}
.fcp-client-area .fcp-year-switch a,
.fcp-client-area .fcp-year-pill,
.fcp-client-area a[href*="fcp_year"]{
  border:1px solid #cfe0f7!important;
  background:#ffffff!important;
  color:#0b2d5c!important;
  border-radius:999px!important;
  padding:10px 26px!important;
  min-width:82px!important;
  text-align:center!important;
  font-weight:800!important;
  box-shadow:0 2px 8px rgba(9,30,66,.04)!important;
  text-decoration:none!important;
}
.fcp-client-area .fcp-year-switch a.is-active,
.fcp-client-area .fcp-year-pill.is-active,
.fcp-client-area a[href*="fcp_year"].is-active{
  background:#174f93!important;
  border-color:#174f93!important;
  color:#fff!important;
}
.fcp-report-generated{display:none!important}
.fcp-client-area ::selection{background:#cfe8ff!important;color:#04245a!important}
.fcp-client-area h1,.fcp-client-area h2,.fcp-client-area h3,.fcp-client-area h4,.fcp-client-area h5,.fcp-client-area p,.fcp-client-area span,.fcp-client-area div,.fcp-client-area td,.fcp-client-area th{color:#002b63}

/* 14.2.20 - Migrazione dati */
.fcp-migration-wrap .fcp-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.fcp-migration-wrap .fcp-card{background:#fff;border:1px solid #d9e6f8;border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(10,35,80,.04);margin:18px 0}.fcp-migration-wrap h2{margin-top:0;color:#061f4a}.fcp-migration-wrap textarea,.fcp-migration-wrap input[type=url],.fcp-migration-wrap input[type=text]{border:1px solid #cfe0f6;border-radius:10px;min-height:42px}.fcp-migration-wrap .fcp-checklist li{margin-bottom:8px}.fcp-migration-wrap code{background:#eef6ff;color:#073b7a;border-radius:6px;padding:2px 6px}@media(max-width:900px){.fcp-migration-wrap .fcp-grid-2{grid-template-columns:1fr}}
