.public-site.mirror-pending>*{display:none!important}.f23-admin-note,.f23-fic-bar,.f23-client-reliability{display:flex;align-items:center;gap:16px;padding:18px 22px;margin-bottom:18px;border:1px solid #c8ddf4;border-radius:16px;background:linear-gradient(110deg,#eff8ff,#faf4ff);font-size:15px;color:#52627a}.f23-admin-note b,.f23-fic-bar b{font-size:17px;color:#10233b}.f23-admin-note span{line-height:1.5}.f23-score{display:grid;gap:2px}.f23-score b{font-size:16px}.f23-score small{font-size:12px}.score-high{color:#087b58}.score-medium{color:#9a6500}.score-low{color:#b3263d}.f23-customer-kpis,.f23-billing-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0 20px}.f23-billing-kpis{grid-template-columns:repeat(5,1fr)}.f23-customer-kpis span,.f23-billing-kpis article{display:grid;gap:5px;padding:15px;border:1px solid #dce5f1;border-radius:13px;background:#f8faff}.f23-customer-kpis small,.f23-billing-kpis small{font-size:11px;font-weight:800;color:#78869c}.f23-customer-kpis b,.f23-billing-kpis b{font-size:18px;color:#132640}.f23-customer-section{margin-top:24px;padding-top:20px;border-top:1px solid #dde5ef}.f23-customer-section h3{font-size:19px;margin:0 0 12px}.f23-customer-section>a{display:flex;gap:10px;align-items:center;padding:11px 13px;margin-bottom:8px;border:1px solid #dbe5f1;border-radius:11px;text-decoration:none;color:#15304e}.f23-customer-section>a svg{width:20px}.f23-customer-section>a span,.f23-customer-section>a b,.f23-customer-section>a small{display:block}.f23-customer-section>a small{color:#6f7d92;margin-top:2px}.f23-customer-section form{display:grid;grid-template-columns:1fr 1.5fr auto;gap:10px;align-items:end;margin-top:14px}.f23-page-actions{display:flex;justify-content:flex-end;margin:-68px 0 24px}.f23-fic-bar{justify-content:flex-end}.f23-fic-bar>div{margin-right:auto;display:grid;gap:3px}.f23-fic-bar small{display:block}.f23-fic-bar button,.f23-billing-tabs button{border:1px solid #b9cee8;background:#fff;color:#163758;border-radius:10px;padding:10px 14px;font-weight:800;cursor:pointer}.f23-fic-bar [data-fic-status].ok{color:#087b58}.f23-fic-bar [data-fic-status].warning{color:#a56600}.f23-billing-tabs{display:flex;gap:8px;align-items:center;margin-bottom:14px}.f23-billing-tabs span{flex:1}.f23-billing-tabs button.active{background:#102f50;color:#fff}.receipt-actions .danger,.danger-button{background:#fff1f2!important;border-color:#efb6bd!important;color:#b3263d!important}.danger-button{border:1px solid;border-radius:10px;padding:12px 16px;font-weight:800;cursor:pointer}.f23-delete-warning{padding:18px;border:1px solid #efb6bd;border-radius:14px;background:#fff4f5;margin:18px 0}.f23-delete-warning.safe{border-color:#b7ddc9;background:#f1fcf6}.f23-delete-warning p{margin:7px 0 12px!important}.f23-delete-warning input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #d5dfec;border-radius:10px;font-size:15px}.f23-client-reliability{justify-content:space-between}.f23-client-reliability div{display:grid;gap:3px}.f23-client-reliability small{font-size:11px;font-weight:900}.f23-client-reliability b{font-size:18px}.f23-limited-panel{min-height:350px;display:grid;place-items:center;align-content:center;text-align:center;padding:40px}.f23-limited-panel p{max-width:620px;font-size:16px;color:#68758d}@media(max-width:900px){.f23-customer-kpis,.f23-billing-kpis{grid-template-columns:1fr 1fr}.f23-customer-section form{grid-template-columns:1fr}.f23-fic-bar,.f23-client-reliability{align-items:flex-start;flex-direction:column}.f23-page-actions{margin:0 0 18px;justify-content:flex-start}}
.modal-backdrop.customer-modal-open .modal{width:min(1120px,calc(100vw - 40px));max-width:1120px}.f23-client-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.f23-client-overview section{min-width:0;padding:16px;border:1px solid #dde5f0;border-radius:14px;background:#f9fbfe}.f23-client-overview section:nth-child(4),.f23-client-overview section:nth-child(5){grid-column:span 1}.f23-client-overview h3{margin:0 0 10px;color:#12365f;font-size:15px}.f23-client-overview dl{margin:0}.f23-client-overview dl div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #e7edf5}.f23-client-overview dt{color:#6d7c91}.f23-client-overview dd{min-width:0;margin:0;text-align:right;font-weight:750;color:#1c3556;overflow-wrap:anywhere}.f23-client-overview ul{list-style:none;padding:0;margin:0}.f23-client-overview li{display:grid;gap:3px;padding:7px 0;border-bottom:1px solid #e7edf5}.f23-client-overview li small{color:#738298}@media(max-width:1000px){.f23-client-overview{grid-template-columns:1fr 1fr}}@media(max-width:640px){.f23-client-overview{grid-template-columns:1fr}}
.f23-customer-page{max-width:1480px;margin:0 auto;padding-bottom:56px}.f23-customer-page-nav{margin-bottom:18px}.f23-customer-page>.modal-icon{display:inline-grid;width:46px;height:46px;place-items:center;border-radius:14px;background:#eee8ff;color:#6924e8}.f23-customer-page>.modal-icon svg{width:23px}.f23-customer-page>h2{font-size:30px;margin:14px 0 4px;color:#101d35}.f23-customer-page>p{margin:0 0 22px;color:#68758a}.f23-customer-page .f23-client-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.f23-customer-page .f23-client-overview section{min-height:0}.f23-customer-page #f23-customer-form,.f23-customer-page .f23-customer-section{margin-top:20px;background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:22px;box-shadow:0 12px 32px rgba(23,40,75,.05)}.f23-customer-source{display:flex;gap:10px;margin:0 0 18px}.f23-customer-source label{display:flex;align-items:center;gap:8px;padding:12px 15px;border:1px solid #dbe3ef;border-radius:12px;font-weight:700}.f23-invoice-total{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px;padding:15px 18px;border-radius:14px;background:#eef7ff;color:#102b4e}.f23-invoice-total>span{display:grid;gap:4px}.f23-invoice-total>span:last-of-type{text-align:right}.f23-invoice-total small{font-size:12px;font-weight:800;color:#607895}.f23-invoice-total b{font-size:24px}.f23-invoice-total p{grid-column:1/-1;margin:0;padding-top:10px;border-top:1px solid #cfe0f2;color:#6a4b00;font-weight:700}.f23-split-label{color:#825600!important;font-weight:800}.f23-external-fields[hidden],[data-invoice-portal][hidden]{display:none!important}@media(max-width:1050px){.f23-customer-page .f23-client-overview{grid-template-columns:1fr 1fr}}@media(max-width:720px){.f23-customer-page .f23-client-overview{grid-template-columns:1fr}.f23-customer-source{flex-direction:column}.f23-invoice-total{grid-template-columns:1fr}.f23-invoice-total>span:last-of-type{text-align:left}}
.f23-dashboard-due{margin-top:20px}.f23-dashboard-due article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;align-items:center;padding:16px 0;border-top:1px solid #e6ebf3}.f23-dashboard-due article span{display:grid;gap:4px}.f23-dashboard-due article small{color:#6f7d92}.f23-dashboard-due article>b{font-size:20px;color:#172b49}.f23-empty-live{min-height:240px;display:grid;place-items:center;align-content:center;text-align:center;gap:8px}.f23-empty-live h2,.f23-empty-live p{margin:0}.f23-empty-live p{color:#6f7d92}@media(max-width:720px){.f23-dashboard-due article{grid-template-columns:1fr auto}.f23-dashboard-due article button{grid-column:1/-1}}

/* Customer control center */
.f23-client-search{display:grid;grid-template-columns:1.4fr 1.2fr 1fr .8fr;gap:12px;margin:0 0 18px;padding:18px;border:1px solid #d8e3f1;border-radius:18px;background:linear-gradient(115deg,#f8fbff,#fff 58%,#fbf5ff);box-shadow:0 12px 34px rgba(21,52,94,.05)}
.f23-client-search .field{margin:0}.f23-client-search label{font-size:12px;letter-spacing:.035em}.f23-client-search input,.f23-client-search select{height:46px;font-size:15px}.f23-table-summary{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #e5ebf3}.f23-table-summary b{font-size:17px;color:#132b4b}.f23-table-summary span{font-size:14px;color:#748197}.f23-responsive-table{width:100%;overflow:auto}.f23-responsive-table .data-table{min-width:900px}.f23-customer-page{max-width:1560px}.f23-customer-page-nav{display:flex;justify-content:space-between;gap:14px;align-items:center}.f23-customer-page-nav select{min-width:320px;max-width:520px;height:42px;padding:0 12px;border:1px solid #cad8e9;border-radius:11px;background:#fff;color:#193654;font-weight:750}.f23-customer-hero{position:relative;display:flex;align-items:center;gap:18px;padding:24px 26px;overflow:hidden;border:1px solid #d5e1f0;border-radius:22px 22px 0 0;background:linear-gradient(110deg,#0d2d50 0%,#135aa8 48%,#6723bd 100%);color:#fff;box-shadow:0 20px 50px rgba(19,46,84,.14)}.f23-customer-hero:after{content:"";position:absolute;right:-80px;top:-130px;width:340px;height:340px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 48px rgba(255,255,255,.05),0 0 0 96px rgba(255,255,255,.035)}.f23-customer-avatar{position:relative;z-index:1;display:grid;place-items:center;width:62px;height:62px;flex:0 0 62px;border:1px solid rgba(255,255,255,.38);border-radius:18px;background:linear-gradient(135deg,#0aa8e8,#b81bf2);font-size:22px;font-weight:900;box-shadow:0 12px 28px rgba(5,19,48,.28)}.f23-customer-hero>div:nth-child(2){position:relative;z-index:1;min-width:0}.f23-customer-hero span{font-size:11px;font-weight:900;letter-spacing:.13em;color:#bce9ff}.f23-customer-hero h2{margin:4px 0 3px;font-size:29px;line-height:1.1;color:#fff}.f23-customer-hero p{margin:0;color:#d9e8fb}.f23-customer-status{position:relative;z-index:1;display:grid;justify-items:end;gap:6px;margin-left:auto}.f23-customer-status .status-badge{background:#eafff5;color:#087b58}.f23-customer-status small{color:#d8e5f7}.f23-customer-warning{display:flex;align-items:center;gap:14px;padding:14px 20px;border-right:1px solid #ebd8a1;border-left:1px solid #ebd8a1;background:#fff8df;color:#76570b}.f23-customer-warning b{font-size:14px}.f23-customer-warning span{font-size:14px}.f23-customer-topline{display:grid;grid-template-columns:repeat(4,1fr);border-right:1px solid #d8e2ef;border-left:1px solid #d8e2ef;background:#fff}.f23-customer-topline span{padding:14px 18px;border-right:1px solid #e5ebf3;color:#66768d;font-size:13px}.f23-customer-topline span:last-child{border-right:0}.f23-customer-topline b{display:block;margin-bottom:3px;color:#102b4c;font-size:19px}.f23-customer-tabs{display:flex;gap:4px;overflow:auto;padding:9px 12px;border:1px solid #d8e2ef;border-radius:0 0 18px 18px;background:#f3f6fb}.f23-customer-tabs button{white-space:nowrap;padding:11px 15px;border:0;border-radius:10px;background:transparent;color:#617089;font:750 14px/1 inherit;cursor:pointer}.f23-customer-tabs button:hover{background:#fff;color:#16395f}.f23-customer-tabs button.active{background:#fff;color:#5d24dc;box-shadow:0 5px 16px rgba(28,46,83,.09)}.f23-customer-tab-body{margin-top:18px}.f23-client-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.f23-summary-card,.f23-tab-panel,.f23-customer-profile-form>section,.f23-admin-notes-read{min-width:0;padding:21px;border:1px solid #dbe4f0;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(19,42,76,.055)}.f23-summary-card h3,.f23-tab-panel h3,.f23-customer-profile-form h3,.f23-admin-notes-read h3{margin:0 0 14px;color:#12365f;font-size:17px}.f23-summary-card dl{margin:0}.f23-summary-card dl div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e8edf4}.f23-summary-card dt{color:#6e7d92}.f23-summary-card dd{min-width:0;margin:0;text-align:right;font-weight:800;color:#1b3658;overflow-wrap:anywhere}.f23-summary-card code{font-size:12px}.f23-text-action{margin-top:15px;padding:0;border:0;background:transparent;color:#006ea9;font-weight:850;cursor:pointer}.f23-client-lower-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:14px;margin-top:14px}.f23-activity-list,.f23-mail-log{list-style:none;margin:0;padding:0}.f23-activity-list li{display:grid;grid-template-columns:10px 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #e8edf4}.f23-activity-list li>span{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #ddf8ee}.f23-activity-list b,.f23-activity-list small{display:block}.f23-activity-list small{margin-top:3px;color:#738198}.f23-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.f23-quick-actions button{justify-content:flex-start;min-height:46px}.f23-quick-actions svg{width:18px}.f23-customer-profile-form{display:grid;gap:16px}.f23-customer-profile-form>section{padding:24px}.f23-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #e4ebf4}.f23-section-title span{display:block;margin-bottom:4px;color:#1685b9;font-size:10px;font-weight:900;letter-spacing:.13em}.f23-section-title h3{margin:0;font-size:20px}.f23-customer-profile-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.f23-customer-profile-form .field{margin:0}.f23-customer-profile-form input,.f23-customer-profile-form select,.f23-customer-profile-form textarea{font-size:15px}.f23-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.f23-switch{display:flex;align-items:center;gap:10px;min-height:46px;padding:11px 13px;border:1px solid #dce5f0;border-radius:12px;background:#f8faff;cursor:pointer}.f23-switch input{position:absolute;opacity:0;pointer-events:none}.f23-switch span{position:relative;width:38px;height:22px;flex:0 0 38px;border-radius:999px;background:#b8c3d3;transition:.18s}.f23-switch span:after{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:.18s}.f23-switch input:checked+span{background:linear-gradient(90deg,#147fea,#822deb)}.f23-switch input:checked+span:after{transform:translateX(16px)}.f23-switch b{color:#263d5a;font-size:13px}.f23-sticky-save{position:sticky;z-index:5;bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 18px;border:1px solid #c5d8ee;border-radius:16px;background:rgba(249,252,255,.94);box-shadow:0 15px 38px rgba(17,44,81,.18);backdrop-filter:blur(15px)}.f23-sticky-save span{color:#607089;font-size:13px}.f23-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:17px}.f23-panel-heading h3{margin-bottom:4px}.f23-panel-heading p{margin:0;color:#75839a}.f23-document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.f23-document-grid>a{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #dce6f2;border-radius:13px;background:#f8faff;color:#18395e;text-decoration:none}.f23-document-grid svg{width:22px;flex:0 0 22px;color:#167cd8}.f23-document-grid b,.f23-document-grid small{display:block}.f23-document-grid small{margin-top:3px;color:#75839a}.f23-upload-inline{display:grid;grid-template-columns:1fr 1.4fr auto;gap:12px;align-items:end;margin-top:18px;padding-top:18px;border-top:1px solid #e3eaf3}.f23-mail-log li{display:grid;grid-template-columns:11px 1fr auto;gap:12px;align-items:center;padding:14px 2px;border-bottom:1px solid #e5ebf3}.f23-mail-log li>span{width:10px;height:10px;border-radius:50%;background:#e5485f}.f23-mail-log li>span.ok{background:#10a879}.f23-mail-log b,.f23-mail-log small{display:block}.f23-mail-log small{margin-top:3px;color:#75839a}.f23-mail-log strong{color:#38516f}.f23-admin-notes-read{margin-top:14px}.f23-admin-notes-read p{white-space:pre-wrap;color:#5f6f86}.f23-customer-tab-body .status-badge{white-space:nowrap}
@media(max-width:1180px){.f23-client-search{grid-template-columns:1fr 1fr}.f23-client-summary-grid{grid-template-columns:1fr 1fr}.f23-settings-grid{grid-template-columns:1fr 1fr}.f23-document-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.f23-client-search,.f23-client-summary-grid,.f23-client-lower-grid,.f23-customer-profile-form .form-grid,.f23-settings-grid,.f23-document-grid,.f23-upload-inline{grid-template-columns:1fr}.f23-customer-page-nav{align-items:stretch;flex-direction:column}.f23-customer-page-nav select{min-width:0;max-width:none;width:100%}.f23-customer-hero{align-items:flex-start;padding:20px}.f23-customer-status{display:none}.f23-customer-hero h2{font-size:23px}.f23-customer-topline{grid-template-columns:1fr 1fr}.f23-customer-topline span:nth-child(2){border-right:0}.f23-customer-topline span:nth-child(-n+2){border-bottom:1px solid #e5ebf3}.f23-quick-actions{grid-template-columns:1fr}.f23-sticky-save{position:static;align-items:stretch;flex-direction:column}.f23-sticky-save button{width:100%}}

/* Invoice composer */
.modal-backdrop.invoice-modal-open{padding:18px}
.modal-backdrop.invoice-modal-open .modal{width:min(1180px,calc(100vw - 36px));max-width:1180px;max-height:calc(100vh - 36px);padding:0;overflow:hidden;border:1px solid rgba(206,218,234,.9);border-radius:26px}
.modal-backdrop.invoice-modal-open .modal-close{z-index:5;right:20px;top:20px}
.modal-backdrop.invoice-modal-open #modal-body{max-height:calc(100vh - 36px);overflow:auto;padding:28px 30px 30px;background:linear-gradient(135deg,#fbfdff,#fff 55%,#faf6ff)}
.modal-backdrop.invoice-modal-open .modal-icon{margin-bottom:12px}
.modal-backdrop.invoice-modal-open h2{font-size:26px}
.modal-backdrop.invoice-modal-open #modal-body>p{max-width:720px;margin-bottom:20px;font-size:14px}
.modal-backdrop.service-modal-open{padding:18px}.modal-backdrop.service-modal-open .modal{width:min(1080px,calc(100vw - 36px));max-width:1080px;max-height:calc(100vh - 36px);overflow:hidden;border-radius:24px}.modal-backdrop.service-modal-open #modal-body{max-height:calc(100vh - 36px);overflow:auto;padding:28px 30px;background:linear-gradient(135deg,#fbfdff,#fff 58%,#f8f4ff)}.f23-service-edit{margin-top:18px;padding:22px;border:1px solid #dce5f1;border-radius:16px;background:#fff}.f23-service-edit>h3{margin:0 0 16px;color:#142945}
.f23-invoice-composer-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start}
.f23-invoice-editor{display:grid;gap:13px}
.f23-invoice-block{padding:18px;border:1px solid #dbe5f1;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(19,48,84,.045)}
.f23-invoice-block>header{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.f23-invoice-block>header>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#1087e8,#7926ec);color:#fff;font-size:12px;font-weight:900}
.f23-invoice-block>header b,.f23-invoice-block>header small{display:block}
.f23-invoice-block>header b{font-size:16px;color:#122d50}
.f23-invoice-block>header small{margin-top:2px;color:#748298;font-size:12px}
.f23-invoice-composer .f23-customer-source{display:grid;grid-template-columns:1fr 1fr;margin-bottom:14px}
.f23-invoice-composer .f23-customer-source label{align-items:flex-start;min-height:58px;padding:12px 14px;background:#f8fbff;cursor:pointer}
.f23-invoice-composer .f23-customer-source label:has(input:checked){border-color:#7e5df0;background:#f4f0ff;box-shadow:0 0 0 3px rgba(126,93,240,.08)}
.f23-invoice-composer .f23-customer-source label>span b,.f23-invoice-composer .f23-customer-source label>span small{display:block}
.f23-customer-page .f23-responsive-table{border:1px solid #e2e8f2;border-radius:16px;overflow:auto}.f23-customer-page .data-table{table-layout:fixed}.f23-customer-page .data-table th:nth-child(1){width:10%}.f23-customer-page .data-table th:nth-child(2){width:38%}.f23-customer-page .data-table th:nth-child(3){width:10%}.f23-customer-page .data-table th:nth-child(4){width:9%}.f23-customer-page .data-table th:nth-child(5),.f23-customer-page .data-table th:nth-child(6){width:9%}.f23-customer-page .data-table th:nth-child(7){width:15%}.f23-customer-page .data-table td{vertical-align:middle;padding-top:16px;padding-bottom:16px}.f23-customer-invoice-desc{display:grid;gap:6px;max-width:100%}.f23-customer-invoice-desc strong{font-size:14px;color:#17243a;white-space:normal;overflow-wrap:anywhere}.f23-customer-invoice-desc span{display:inline-flex;width:max-content;max-width:100%;padding:5px 9px;border-radius:8px;background:#f1f5ff;color:#52647f;font-size:11px;font-weight:750;white-space:normal}
.f23-invoice-composer .f23-customer-source label>span b{font-size:13px;color:#172f50}
.f23-invoice-composer .f23-customer-source label>span small{margin-top:3px;color:#748197;font-size:11px;line-height:1.35}
.f23-invoice-fields{gap:10px 12px}
.f23-invoice-fields .field{margin:0}
.f23-invoice-fields label{font-size:11px}
.f23-invoice-fields input,.f23-invoice-fields select{min-height:42px;font-size:13px}
.f23-date-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.f23-invoice-summary{position:sticky;top:0;padding:20px;border:1px solid #cadced;border-radius:18px;background:linear-gradient(160deg,#102e50 0%,#174e86 55%,#5526a6 100%);color:#fff;box-shadow:0 18px 45px rgba(22,49,86,.18)}
.f23-summary-head{display:flex;align-items:center;gap:11px;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.16)}
.f23-summary-head>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.12);color:#7ce6ff}
.f23-summary-head svg{width:20px}
.f23-summary-head b,.f23-summary-head small{display:block}
.f23-summary-head b{font-size:16px}
.f23-summary-head small{margin-top:3px;color:#b9cce2;font-size:11px}
.f23-invoice-summary dl{margin:14px 0}
.f23-invoice-summary dl>div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.f23-invoice-summary dt{color:#c6d5e7;font-size:12px}
.f23-invoice-summary dd{margin:0;font-size:14px;font-weight:850}
.f23-invoice-summary dl>.total{margin-top:4px;padding-top:15px}
.f23-invoice-summary dl>.total dd{font-size:23px}
.f23-invoice-summary dl>.due{margin:9px -8px 0;padding:12px 10px;border:0;border-radius:11px;background:rgba(255,255,255,.12)}
.f23-summary-safety{padding:13px;border:1px solid rgba(124,230,255,.28);border-radius:12px;background:rgba(7,19,39,.2)}
.f23-summary-safety b{font-size:12px;color:#8be8ff}
.f23-summary-safety p{margin:5px 0 0;color:#c9d7e8;font-size:10.5px;line-height:1.45}
.f23-split-note{margin:10px 0 0;padding:11px;border-radius:11px;background:#fff5cf;color:#765000;font-size:11px;font-weight:750;line-height:1.45}
.f23-invoice-summary .f23-live-alert{margin-top:10px}
.f23-invoice-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:9px;margin-top:14px}
.f23-invoice-actions button{min-height:45px}
.f23-invoice-actions .secondary{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.24);color:#fff}
@media(max-width:920px){.modal-backdrop.invoice-modal-open,.modal-backdrop.service-modal-open{padding:8px}.modal-backdrop.invoice-modal-open .modal,.modal-backdrop.service-modal-open .modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.modal-backdrop.invoice-modal-open #modal-body,.modal-backdrop.service-modal-open #modal-body{max-height:calc(100vh - 16px);padding:23px 18px}.f23-invoice-composer-grid{grid-template-columns:1fr}.f23-invoice-summary{position:static}}
@media(max-width:620px){.f23-invoice-composer .f23-customer-source,.f23-date-grid{grid-template-columns:1fr}.f23-invoice-block{padding:15px}}

/* Billing control center */
.f23-billing-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;min-height:154px;margin-bottom:16px;padding:28px 32px;overflow:hidden;border:1px solid #183d68;border-radius:24px;background:linear-gradient(120deg,#092847 0%,#104f88 48%,#6528b8 100%);color:#fff;box-shadow:0 22px 50px rgba(14,47,85,.16)}
.f23-billing-hero:after{content:"";position:absolute;z-index:-1;right:-80px;top:-190px;width:470px;height:470px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 64px rgba(255,255,255,.045),0 0 0 128px rgba(255,255,255,.025)}
.f23-billing-hero>div:first-child{max-width:760px}.f23-billing-hero span{display:block;color:#74e9ff;font-size:11px;font-weight:900;letter-spacing:.15em}.f23-billing-hero h2{margin:7px 0 8px;color:#fff;font:850 27px/1.15 'Manrope';letter-spacing:-.6px}.f23-billing-hero p{margin:0;color:#d1e2f2;font-size:14px;line-height:1.55}
.f23-billing-hero-glow{display:flex;align-items:center;gap:12px;margin-right:14px}.f23-billing-hero-glow i{display:block;width:12px;height:12px;border-radius:50%;background:#2ce0d1;box-shadow:0 0 0 7px rgba(44,224,209,.12),0 0 24px #2ce0d1}.f23-billing-hero-glow i:nth-child(2){background:#6ea8ff;box-shadow:0 0 0 7px rgba(110,168,255,.12),0 0 24px #6ea8ff}.f23-billing-hero-glow i:nth-child(3){background:#ef4cce;box-shadow:0 0 0 7px rgba(239,76,206,.12),0 0 24px #ef4cce}
.f23-billing-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 16px}.f23-billing-kpis article{display:flex;align-items:center;gap:13px;min-height:86px;padding:16px;border:1px solid #d9e4f1;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(20,47,82,.055)}.f23-billing-kpis article>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:linear-gradient(145deg,#e8f5ff,#f3eaff);color:#176fb4}.f23-billing-kpis article:nth-child(2)>span{background:#e8fbf6;color:#07815c}.f23-billing-kpis article:nth-child(3)>span{background:#eeeaff;color:#6730d7}.f23-billing-kpis article:nth-child(4)>span{background:#eaf3ff;color:#1c65c9}.f23-billing-kpis article:nth-child(5)>span{background:#fff2e5;color:#bd6508}.f23-billing-kpis svg{width:20px}.f23-billing-kpis article>div{display:grid;min-width:0}.f23-billing-kpis small{font-size:10px;letter-spacing:.04em}.f23-billing-kpis b{margin:2px 0;color:#112d50;font-size:21px;line-height:1.15}.f23-billing-kpis em{overflow:hidden;color:#7b889a;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.f23-fic-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:18px 20px;border-color:#bddbed;border-radius:18px;background:linear-gradient(105deg,#edf9ff 0%,#f5fbff 52%,#faf5ff 100%);box-shadow:0 10px 30px rgba(22,75,115,.055)}.f23-fic-logo{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:linear-gradient(145deg,#0c7fd8,#6334d8);color:#fff;box-shadow:0 10px 25px rgba(36,95,176,.2)}.f23-fic-logo svg{width:23px}.f23-fic-bar>div{margin:0}.f23-fic-bar>div>b{font-size:16px}.f23-fic-bar [data-fic-status]{font-size:13px;font-weight:800}.f23-fic-bar small{margin-top:3px;color:#65778d;font-size:12px}.f23-fic-bar button{min-height:43px;padding:0 15px;border-color:#b8d0e7;border-radius:11px;font-size:13px}.f23-fic-bar button.primary{border:0;background:linear-gradient(100deg,#157ddb,#6b2be5);color:#fff;box-shadow:0 8px 20px rgba(73,65,205,.18)}
.f23-billing-tabs{gap:7px;margin:18px 0 12px;padding:5px;border:1px solid #dce5f0;border-radius:15px;background:#edf2f8}.f23-billing-tabs button{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 15px;border:0;background:transparent;color:#5e7087;font-size:13px}.f23-billing-tabs button svg{width:17px}.f23-billing-tabs button.active{background:#fff;color:#173e68;box-shadow:0 6px 18px rgba(21,49,85,.1)}.f23-billing-tabs button.primary{background:linear-gradient(100deg,#147edc,#6c29e6);color:#fff}
.f23-billing-workspace{overflow:hidden;border:1px solid #dce5f0;border-radius:22px;background:linear-gradient(180deg,#f8fbff,#f4f7fb);box-shadow:0 16px 42px rgba(19,44,78,.07)}.f23-billing-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 18px;border-bottom:1px solid #dfe7f1;background:rgba(255,255,255,.86)}.f23-billing-toolbar .search-box{min-width:330px;background:#fff}.f23-billing-toolbar .search-box input{height:42px;font-size:13px}.f23-billing-toolbar .filters{flex-wrap:wrap;justify-content:flex-end}.f23-billing-toolbar .filter{min-height:38px;font-size:12px}.f23-billing-toolbar .filter.active{border-color:#7e55e6;background:#eee8ff;color:#5b25cd;box-shadow:0 5px 14px rgba(93,37,205,.1)}
.f23-invoice-list{display:grid;gap:12px;padding:16px}.f23-invoice-card{overflow:hidden;border:1px solid #d9e3ef;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(23,46,76,.045);transition:transform .18s,border-color .18s,box-shadow .18s}.f23-invoice-card:hover{transform:translateY(-1px);border-color:#b9cee6;box-shadow:0 14px 32px rgba(23,46,76,.09)}
.f23-invoice-card-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:start;padding:18px 19px 14px}.f23-doc-mark{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:#fff5df;color:#a76a04}.f23-doc-mark.synced{background:linear-gradient(145deg,#e9fbf5,#e7f5ff);color:#087b69}.f23-doc-mark.danger{background:#ffebee;color:#bd3047}.f23-doc-mark svg{width:21px}.f23-invoice-copy{min-width:0}.f23-invoice-type{display:block;margin-bottom:4px;color:#57718f;font-size:10px;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.f23-invoice-copy h3{display:flex;align-items:baseline;gap:9px;margin:0;color:#132d4e;font-size:17px}.f23-invoice-copy h3 small{overflow:hidden;color:#63748a;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.f23-invoice-copy p{display:-webkit-box;max-width:960px;margin:7px 0 8px;overflow:hidden;color:#394c63;font-size:13px;line-height:1.48;-webkit-box-orient:vertical;-webkit-line-clamp:2}.f23-invoice-meta{display:flex;flex-wrap:wrap;gap:12px;color:#7b899b;font-size:11px}.f23-invoice-meta span{display:flex;align-items:center;gap:5px}.f23-invoice-meta svg{width:13px}.f23-invoice-amount{display:grid;justify-items:end;min-width:150px}.f23-invoice-amount small{color:#748399;font-size:9px;font-weight:900;letter-spacing:.07em}.f23-invoice-amount strong{margin-top:4px;color:#102e51;font:850 22px 'Manrope'}.f23-invoice-amount span{margin-top:3px;color:#8b6a18;font-size:10px}
.f23-invoice-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;border-top:1px solid #e8edf3;border-bottom:1px solid #e8edf3;background:#e8edf3}.f23-invoice-state{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;min-height:70px;padding:12px 16px;background:#fbfcfe}.f23-state-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:#edf2f7;color:#61738b}.f23-state-icon svg{width:15px}.f23-invoice-state>div{display:grid;min-width:0}.f23-invoice-state small{color:#8a96a7;font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.f23-invoice-state b{margin-top:2px;overflow:hidden;color:#253e5c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.f23-invoice-state em{margin-top:2px;overflow:hidden;color:#7a8798;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.f23-invoice-state.success .f23-state-icon{background:#e5f9f1;color:#087c59}.f23-invoice-state.success b{color:#087455}.f23-invoice-state.info .f23-state-icon{background:#e7f2ff;color:#1769bd}.f23-invoice-state.info b{color:#175b9b}.f23-invoice-state.warning .f23-state-icon{background:#fff3d7;color:#a56700}.f23-invoice-state.warning b{color:#8d5b06}.f23-invoice-state.danger .f23-state-icon{background:#ffe9ec;color:#b62842}.f23-invoice-state.danger b{color:#aa263d}
.f23-invoice-card-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:48px;padding:9px 18px;background:#fbfcfe;color:#758398;font-size:11px}.f23-invoice-card-footer .receipt-actions button{min-height:34px;padding:0 12px;border-color:#b6d1ea;background:#eef7ff;color:#135d9e;font-size:11px}.f23-mini-state{display:inline-flex;padding:5px 8px;border-radius:999px;background:#edf1f6;color:#596b81;font-size:11px;font-weight:800}.f23-mini-state.success{background:#e5f9f1;color:#087455}.f23-mini-state.info{background:#e7f2ff;color:#175b9b}.f23-mini-state.warning{background:#fff3d7;color:#8d5b06}.f23-mini-state.danger{background:#ffe9ec;color:#aa263d}
.f23-billing-results{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 18px 18px;color:#718096;font-size:12px}.f23-billing-results button{min-height:40px;padding:0 16px;border:1px solid #c9d8e8;border-radius:11px;background:#fff;color:#173e68;font-weight:800;cursor:pointer}.f23-billing-empty{display:grid;place-items:center;align-content:center;min-height:280px;padding:35px;text-align:center}.f23-billing-empty>svg{width:34px;color:#7c55e4}.f23-billing-empty h3{margin:12px 0 4px;color:#173757;font-size:19px}.f23-billing-empty p{margin:0;color:#75849a}
@media(max-width:1280px){.f23-billing-kpis{grid-template-columns:repeat(3,1fr)}.f23-billing-toolbar{align-items:stretch;flex-direction:column}.f23-billing-toolbar .search-box{min-width:0}.f23-billing-toolbar .filters{justify-content:flex-start}}
@media(max-width:960px){.f23-billing-kpis{grid-template-columns:1fr 1fr}.f23-fic-bar{grid-template-columns:auto 1fr}.f23-fic-bar button{width:100%}.f23-invoice-status-grid{grid-template-columns:1fr}.f23-invoice-card-main{grid-template-columns:auto minmax(0,1fr)}.f23-invoice-amount{grid-column:2;justify-items:start}.f23-billing-hero-glow{display:none}}
@media(max-width:620px){.f23-billing-hero{padding:23px 20px}.f23-billing-hero h2{font-size:23px}.f23-billing-kpis{grid-template-columns:1fr}.f23-fic-bar{grid-template-columns:1fr}.f23-fic-logo{display:none}.f23-billing-tabs{align-items:stretch;flex-direction:column}.f23-billing-tabs span{display:none}.f23-billing-tabs button{justify-content:center}.f23-invoice-card-main{grid-template-columns:1fr}.f23-doc-mark{width:40px;height:40px}.f23-invoice-amount{grid-column:1;justify-items:start}.f23-invoice-card-footer{align-items:flex-start;flex-direction:column}.f23-billing-results{align-items:stretch;flex-direction:column}.f23-billing-results button{width:100%}}

/* Compact invoice ledger: one-line overview, full details only on demand */
.f23-invoice-list{gap:7px;padding:12px}.f23-invoice-compact{border-radius:14px}.f23-invoice-compact:hover{transform:none}.f23-invoice-compact>.f23-invoice-summary{position:static;display:grid;grid-template-columns:auto minmax(190px,1.15fr) minmax(360px,1.7fr) minmax(105px,.45fr) auto;gap:13px;align-items:center;padding:11px 14px;border:0;border-radius:0;background:#fff;color:#173552;box-shadow:none;cursor:pointer;list-style:none}.f23-invoice-compact>.f23-invoice-summary::-webkit-details-marker{display:none}.f23-invoice-compact[open]>.f23-invoice-summary{background:linear-gradient(90deg,#f8fbff,#fbf8ff);border-bottom:1px solid #e1e8f1}.f23-invoice-compact>.f23-invoice-summary .f23-doc-mark{width:38px;height:38px;border-radius:11px}.f23-invoice-compact>.f23-invoice-summary .f23-doc-mark svg{width:17px}.f23-invoice-identity{min-width:0}.f23-invoice-identity>span{display:block;color:#728299;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.f23-invoice-identity h3{display:flex;gap:7px;align-items:baseline;margin:2px 0 1px;color:#163452;font-size:14px}.f23-invoice-identity h3 small{overflow:hidden;color:#66778c;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.f23-invoice-identity em{color:#8995a6;font-size:9px;font-style:normal}.f23-compact-states{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.f23-compact-state{display:flex;align-items:center;gap:7px;min-width:0;padding:7px 8px;border-radius:10px;background:#f1f4f8;color:#64748a}.f23-compact-state>svg{width:15px;flex:0 0 15px}.f23-compact-state>span{display:grid;min-width:0}.f23-compact-state small{color:#8b97a7;font-size:7px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.f23-compact-state b{overflow:hidden;color:#53657a;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.f23-compact-state.success{background:#e9f9f2;color:#07815d}.f23-compact-state.success b{color:#087456}.f23-compact-state.info{background:#eaf3ff;color:#1769bd}.f23-compact-state.info b{color:#175b9b}.f23-compact-state.warning{background:#fff4dc;color:#9a6300}.f23-compact-state.warning b{color:#875707}.f23-compact-state.danger{background:#ffebee;color:#b62d45}.f23-compact-state.danger b{color:#a5263c}.f23-invoice-compact>.f23-invoice-summary .f23-invoice-amount{min-width:105px}.f23-invoice-compact>.f23-invoice-summary .f23-invoice-amount strong{font-size:17px}.f23-detail-toggle{display:flex;align-items:center;gap:4px;color:#5e32ca;font-size:10px;font-weight:850}.f23-detail-toggle svg{width:14px;transition:transform .18s}.f23-invoice-compact[open] .f23-detail-toggle svg{transform:rotate(180deg)}.f23-invoice-expanded{background:#fff}.f23-invoice-description{padding:15px 18px 13px}.f23-invoice-description>small{color:#8491a3;font-size:8px;font-weight:900;letter-spacing:.08em}.f23-invoice-description>p{margin:5px 0 9px;color:#334a63;font-size:12px;line-height:1.45}.f23-invoice-compact .f23-invoice-status-grid{border-top:1px solid #e8edf3}.f23-invoice-compact .f23-invoice-state{min-height:62px;padding:10px 15px}.f23-invoice-compact .f23-invoice-card-footer{min-height:42px;padding:7px 17px}
.f23-invoice-list{gap:11px;padding:15px}.f23-invoice-compact{border-radius:17px}.f23-invoice-compact>.f23-invoice-summary{grid-template-columns:auto minmax(225px,1.15fr) minmax(390px,1.7fr) minmax(125px,.45fr) auto;gap:16px;min-height:88px;padding:16px 18px}.f23-invoice-compact>.f23-invoice-summary .f23-doc-mark{width:46px;height:46px;border-radius:14px}.f23-invoice-compact>.f23-invoice-summary .f23-doc-mark svg{width:20px}.f23-invoice-identity>span{font-size:9px}.f23-invoice-identity h3{margin:4px 0 3px;font-size:16px}.f23-invoice-identity h3 small{font-size:12px}.f23-invoice-identity em{font-size:11px}.f23-compact-states{gap:8px}.f23-compact-state{gap:8px;min-height:45px;padding:9px 10px;border-radius:12px}.f23-compact-state>svg{width:17px;flex-basis:17px}.f23-compact-state small{font-size:8px}.f23-compact-state b{font-size:10px}.f23-invoice-compact>.f23-invoice-summary .f23-invoice-amount{min-width:125px}.f23-invoice-compact>.f23-invoice-summary .f23-invoice-amount strong{font-size:20px}.f23-detail-toggle{font-size:12px}.f23-detail-toggle svg{width:16px}
@media(max-width:1180px){.f23-invoice-compact>.f23-invoice-summary{grid-template-columns:auto minmax(190px,1fr) minmax(280px,1.35fr) minmax(100px,.4fr)}.f23-detail-toggle{grid-column:2/-1;justify-self:end;margin-top:-5px}.f23-compact-state{padding:6px}}
@media(max-width:820px){.f23-invoice-compact>.f23-invoice-summary{grid-template-columns:auto minmax(0,1fr) auto}.f23-compact-states{grid-column:2/-1}.f23-detail-toggle{grid-column:2/-1}.f23-invoice-compact>.f23-invoice-summary .f23-invoice-amount{grid-column:3;grid-row:1}.f23-invoice-compact .f23-invoice-status-grid{grid-template-columns:1fr}}
@media(max-width:560px){.f23-invoice-compact>.f23-invoice-summary{grid-template-columns:auto minmax(0,1fr);padding:11px}.f23-invoice-compact>.f23-invoice-summary .f23-invoice-amount{grid-column:2;grid-row:auto;justify-items:start}.f23-compact-states{grid-column:1/-1}.f23-detail-toggle{grid-column:1/-1}.f23-invoice-identity h3{display:grid}.f23-invoice-description{padding:13px}}

/* Client directory: same visual system as the invoice control center */
.f23-customers-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;min-height:164px;margin-bottom:16px;padding:30px 33px;overflow:hidden;border:1px solid #183d68;border-radius:24px;background:linear-gradient(120deg,#092847 0%,#10588f 47%,#6727ba 100%);color:#fff;box-shadow:0 22px 50px rgba(14,47,85,.16)}
.f23-customers-hero:after{content:"";position:absolute;z-index:-1;right:-90px;top:-185px;width:470px;height:470px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 65px rgba(255,255,255,.045),0 0 0 130px rgba(255,255,255,.025)}
.f23-customers-hero>div:first-child{max-width:780px}.f23-customers-hero>div:first-child>span{display:block;color:#72eaff;font-size:11px;font-weight:900;letter-spacing:.15em}.f23-customers-hero h2{margin:7px 0 8px;color:#fff;font:850 28px/1.16 'Manrope';letter-spacing:-.65px}.f23-customers-hero p{margin:0;color:#d4e4f4;font-size:14px;line-height:1.58}
.f23-customers-hero-orbit{position:relative;display:grid;width:108px;height:108px;margin-right:35px;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 20px rgba(255,255,255,.035),0 0 0 40px rgba(255,255,255,.025)}.f23-customers-hero-orbit>span{display:grid;width:52px;height:52px;place-items:center;border:1px solid rgba(255,255,255,.35);border-radius:16px;background:linear-gradient(145deg,#00a8df,#8a2de2);box-shadow:0 10px 28px rgba(5,18,48,.28)}.f23-customers-hero-orbit svg{width:25px}.f23-customers-hero-orbit i{position:absolute;width:8px;height:8px;border-radius:50%;background:#59e8ef;box-shadow:0 0 16px #59e8ef}.f23-customers-hero-orbit i:nth-child(1){left:-5px;top:33px}.f23-customers-hero-orbit i:nth-child(2){right:4px;top:10px;background:#ff4dc8}.f23-customers-hero-orbit i:nth-child(3){right:-10px;bottom:20px;background:#31e6a2}
.f23-customer-directory-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.f23-customer-directory-kpis article{display:flex;align-items:center;gap:13px;min-height:86px;padding:16px;border:1px solid #d9e4f1;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(20,47,82,.055)}.f23-customer-directory-kpis article>span{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:13px;background:linear-gradient(145deg,#e8f5ff,#f3eaff);color:#176fb4}.f23-customer-directory-kpis article:nth-child(2)>span{background:#e8fbf6;color:#07815c}.f23-customer-directory-kpis article:nth-child(3)>span{background:#fff0e9;color:#c15820}.f23-customer-directory-kpis article:nth-child(4)>span{background:#eaf3ff;color:#1c65c9}.f23-customer-directory-kpis article:nth-child(5)>span{background:#f1ebff;color:#6d32d1}.f23-customer-directory-kpis svg{width:20px}.f23-customer-directory-kpis article>div{display:grid;min-width:0}.f23-customer-directory-kpis small{color:#7d8a9c;font-size:9px;font-weight:900;letter-spacing:.05em}.f23-customer-directory-kpis b{margin:2px 0;color:#112d50;font-size:21px;line-height:1.15}.f23-customer-directory-kpis em{overflow:hidden;color:#7b889a;font-size:11px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.f23-client-directory{overflow:hidden;border:1px solid #dce5f0;border-radius:22px;background:linear-gradient(180deg,#f8fbff,#f4f7fb);box-shadow:0 16px 42px rgba(19,44,78,.07)}.f23-client-directory-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border-bottom:1px solid #dfe7f1;background:#fff}.f23-client-directory-head>div{display:flex;align-items:center;gap:12px}.f23-client-directory-head>div>span{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:linear-gradient(145deg,#e8f5ff,#eee8ff);color:#305fc3}.f23-client-directory-head svg{width:19px}.f23-client-directory-head b,.f23-client-directory-head small{display:block}.f23-client-directory-head b{color:#173757;font-size:15px}.f23-client-directory-head small{margin-top:2px;color:#7c899b;font-size:11px}.f23-client-directory-head p{margin:0;color:#748399;font-size:11px}.f23-client-directory-head p b{display:inline;color:#176ea8;font-size:11px}
.f23-client-directory .f23-client-search{margin:0;padding:15px 18px;border:0;border-bottom:1px solid #e0e8f1;border-radius:0;background:rgba(255,255,255,.7);box-shadow:none}.f23-client-directory-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 18px;color:#76859a;font-size:11px}.f23-client-directory-summary b{color:#173859;font-size:14px}.f23-client-directory-summary em{font-style:normal}.f23-client-directory-list{display:grid;gap:8px;padding:0 12px 14px}
.f23-client-directory-row{display:grid;grid-template-columns:auto minmax(210px,1.15fr) minmax(310px,1.45fr) minmax(210px,.9fr) auto;gap:14px;align-items:center;min-height:91px;padding:12px 14px;border:1px solid #d9e3ef;border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(23,46,76,.04);transition:border-color .18s,box-shadow .18s,transform .18s}.f23-client-directory-row:hover{transform:translateY(-1px);border-color:#aec9e5;box-shadow:0 13px 28px rgba(23,46,76,.09)}.f23-client-directory-row[hidden]{display:none!important}.f23-client-list-avatar{display:grid;width:45px;height:45px;place-items:center;border-radius:14px;background:linear-gradient(145deg,#1488e1,#802fe3);color:#fff;font-size:13px;font-weight:900;box-shadow:0 8px 20px rgba(72,75,205,.2)}.f23-client-list-identity{min-width:0}.f23-client-list-identity>span{display:block;color:#4381ad;font-size:8px;font-weight:900;letter-spacing:.085em}.f23-client-list-identity h3{margin:3px 0 3px;overflow:hidden;color:#153454;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.f23-client-list-identity small{display:block;overflow:hidden;color:#8491a2;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.f23-client-list-contact{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(110px,.75fr);gap:8px}.f23-client-list-contact>span{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 9px;border-radius:10px;background:#f4f7fb;color:#66809a}.f23-client-list-contact svg{width:14px;flex:0 0 14px}.f23-client-list-contact>span>span{display:grid;min-width:0}.f23-client-list-contact small,.f23-client-list-metrics small{color:#8b97a6;font-size:7px;font-weight:900;letter-spacing:.06em}.f23-client-list-contact b{overflow:hidden;color:#314a64;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.f23-client-list-contact em{margin-top:2px;color:#9a6809;font-size:8px;font-style:normal}.f23-client-list-contact em.verified{color:#0a7d5c}
.f23-client-list-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.f23-client-list-metrics>span{display:grid;min-width:0;padding:8px 9px;border-radius:10px;background:#f3f6fa}.f23-client-list-metrics b{margin:1px 0;color:#173d65;font-size:13px}.f23-client-list-metrics em{overflow:hidden;color:#8290a2;font-size:8px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.f23-client-list-metrics>span.success{background:#eaf9f3}.f23-client-list-metrics>span.success b{color:#08785a}.f23-client-list-metrics>span.warning{background:#fff4dd}.f23-client-list-metrics>span.warning b{color:#8d5c08}.f23-client-list-metrics>span.danger{background:#ffebee}.f23-client-list-metrics>span.danger b{color:#ad2941}
.f23-client-list-status{display:grid;justify-items:end;gap:8px;min-width:116px}.f23-client-list-status .status-badge{font-size:9px}.f23-open-customer{display:flex;align-items:center;justify-content:center;gap:6px;min-height:35px;padding:0 12px;border:1px solid #b9d0e7;border-radius:10px;background:#eef7ff;color:#145e9f;font-size:10px;font-weight:850;cursor:pointer}.f23-open-customer:hover{border-color:#6e8fe8;background:linear-gradient(100deg,#147edc,#6b2be5);color:#fff}.f23-open-customer svg{width:13px}.f23-client-directory-empty{display:grid;min-height:270px;place-items:center;align-content:center;padding:35px;text-align:center}.f23-client-directory-empty>svg{width:35px;color:#7550dc}.f23-client-directory-empty h3{margin:12px 0 4px;color:#173757}.f23-client-directory-empty p{margin:0;color:#75849a}
@media(max-width:1280px){.f23-customer-directory-kpis{grid-template-columns:repeat(3,1fr)}.f23-client-directory-row{grid-template-columns:auto minmax(210px,1fr) minmax(300px,1.35fr) auto}.f23-client-list-metrics{grid-column:2/4}.f23-client-list-status{grid-column:4;grid-row:1/3}}
@media(max-width:900px){.f23-customers-hero-orbit{display:none}.f23-client-directory-head{align-items:flex-start;flex-direction:column}.f23-client-directory-row{grid-template-columns:auto minmax(0,1fr) auto}.f23-client-list-contact,.f23-client-list-metrics{grid-column:2/4}.f23-client-list-status{grid-column:3;grid-row:1}.f23-client-list-status .status-badge{display:none}}
@media(max-width:620px){.f23-customers-hero{min-height:auto;padding:23px 20px}.f23-customers-hero h2{font-size:23px}.f23-customer-directory-kpis{grid-template-columns:1fr}.f23-client-directory-summary{align-items:flex-start;flex-direction:column}.f23-client-directory-row{grid-template-columns:auto minmax(0,1fr);padding:12px}.f23-client-list-contact,.f23-client-list-metrics,.f23-client-list-status{grid-column:1/-1}.f23-client-list-contact{grid-template-columns:1fr}.f23-client-list-status{display:flex;align-items:center;justify-content:space-between}.f23-client-list-status .status-badge{display:inline-flex}.f23-open-customer{margin-left:auto}}

/* Fiscal document control and supplier synchronization */
.f23-received-warning{display:flex;align-items:flex-start;gap:12px;margin:0 0 12px;padding:14px 17px;border:1px solid #f0d497;border-radius:15px;background:linear-gradient(105deg,#fff9e9,#fff4e1);color:#75500a}.f23-received-warning[hidden]{display:none!important}.f23-received-warning>svg{width:20px;flex:0 0 20px;margin-top:2px}.f23-received-warning b{display:block;color:#6d4704;font-size:13px}.f23-received-warning p{margin:3px 0 0;color:#8a6a2d;font-size:11px;line-height:1.5}
.f23-received-warning>div{flex:1}.f23-received-warning p strong{display:inline;color:inherit;font-size:inherit}.f23-received-warning>button{align-self:center;min-height:38px;padding:0 13px;border:1px solid #deb966;border-radius:10px;background:#fff;color:#805400;font-size:11px;font-weight:850;cursor:pointer;white-space:nowrap}
.modal-backdrop.supplier-expense-open{padding:18px}.modal-backdrop.supplier-expense-open .modal{width:min(980px,calc(100vw - 36px));max-width:980px;max-height:calc(100vh - 36px);overflow:auto;padding:0;border-radius:25px}.modal-backdrop.supplier-expense-open #modal-body{padding:25px 27px 27px;background:linear-gradient(135deg,#fbfdff,#fff 56%,#faf6ff)}.modal-backdrop.supplier-expense-open .modal-close{z-index:4;right:18px;top:18px}.f23-supplier-form{margin-top:17px}.f23-supplier-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 17px;padding:20px 22px;overflow:hidden;border-radius:18px;background:linear-gradient(112deg,#092c4d,#11649d 55%,#6c27bd);color:#fff}.f23-supplier-hero:after{content:"";position:absolute;z-index:-1;right:-30px;width:210px;height:210px;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 34px rgba(255,255,255,.045),0 0 0 68px rgba(255,255,255,.025)}.f23-supplier-hero>div{display:flex;align-items:center;gap:13px}.f23-supplier-hero>div>svg{width:27px}.f23-supplier-hero span{display:grid}.f23-supplier-hero small{color:#81eaff;font-size:8px;font-weight:900;letter-spacing:.12em}.f23-supplier-hero b{margin:2px 0;font-size:19px}.f23-supplier-hero em{color:#d2e5f4;font-size:10px;font-style:normal}.f23-supplier-hero>strong{position:relative;z-index:1;font-size:24px}.f23-supplier-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:16px}.f23-supplier-fields{display:grid;gap:13px}.f23-supplier-fields>section{overflow:hidden;border:1px solid #dce5ef;border-radius:16px;background:#fff}.f23-supplier-fields>section>header{display:flex;align-items:center;gap:10px;padding:13px 15px;border-bottom:1px solid #e5ebf3;background:linear-gradient(100deg,#f8fbff,#fbf7ff)}.f23-supplier-fields>section>header>span{display:grid;width:29px;height:29px;place-items:center;border-radius:9px;background:linear-gradient(145deg,#168fe0,#772cdd);color:#fff;font-size:10px;font-weight:900}.f23-supplier-fields>section>header div{display:grid}.f23-supplier-fields>section>header b{color:#183957;font-size:12px}.f23-supplier-fields>section>header small{margin-top:2px;color:#8490a1;font-size:9px}.f23-supplier-fields .form-grid{padding:15px}.f23-supplier-summary{position:sticky;top:8px;align-self:start;display:grid;padding:22px;border-radius:18px;background:linear-gradient(145deg,#0b2e50,#174f7c 58%,#5425a3);color:#fff;box-shadow:0 18px 36px rgba(17,55,94,.18)}.f23-supplier-summary>span{display:grid;width:43px;height:43px;place-items:center;margin-bottom:23px;border:1px solid rgba(255,255,255,.25);border-radius:13px;background:linear-gradient(145deg,#159ce8,#7b2ce1)}.f23-supplier-summary>span svg{width:21px}.f23-supplier-summary>small{color:#80eaff;font-size:8px;font-weight:900;letter-spacing:.11em}.f23-supplier-summary>strong{margin:5px 0 20px;font-size:27px}.f23-supplier-summary dl{margin:0}.f23-supplier-summary dl div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.13)}.f23-supplier-summary dt{color:#bdcee1;font-size:10px}.f23-supplier-summary dd{margin:0;font-size:12px;font-weight:850}.f23-supplier-summary>p{display:flex;gap:7px;margin:18px 0 0;padding:12px;border:1px solid rgba(104,231,217,.3);border-radius:12px;background:rgba(25,186,170,.1);color:#adf3e8;font-size:9px;line-height:1.45}.f23-supplier-summary>p svg{width:16px;flex:0 0 16px}.f23-supplier-form>.modal-actions{margin-top:18px}.f23-supplier-form [data-supplier-paid][hidden]{display:none!important}
@media(max-width:780px){.modal-backdrop.supplier-expense-open{padding:8px}.modal-backdrop.supplier-expense-open .modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.modal-backdrop.supplier-expense-open #modal-body{padding:22px 16px}.f23-supplier-layout{grid-template-columns:1fr}.f23-supplier-summary{position:static}.f23-received-warning{flex-wrap:wrap}.f23-received-warning>button{width:100%}}
.f23-customer-entry{display:flex;align-items:center;gap:13px}.f23-customer-entry .f23-customer-status{min-width:112px}.f23-customer-entry>button{display:flex;align-items:center;gap:8px;min-height:43px;padding:0 15px;border:1px solid rgba(255,255,255,.38);border-radius:12px;background:rgba(255,255,255,.13);color:#fff;font-size:11px;font-weight:850;cursor:pointer;backdrop-filter:blur(8px)}.f23-customer-entry>button:hover{background:#fff;color:#183f69}.f23-customer-entry>button:disabled{opacity:.42;cursor:not-allowed}.f23-customer-entry>button svg{width:16px}.f23-impersonation-bar{position:relative;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-6px 0 18px;padding:13px 17px;border:1px solid #68d7ce;border-radius:15px;background:linear-gradient(105deg,#092e4c,#0c6c78 57%,#5529a9);color:#fff;box-shadow:0 12px 28px rgba(15,77,98,.18)}.f23-impersonation-bar>div{display:flex;align-items:center;gap:11px}.f23-impersonation-bar>div>svg{width:23px;color:#75f0df}.f23-impersonation-bar span{display:grid}.f23-impersonation-bar small{color:#7ef0e1;font-size:8px;font-weight:900;letter-spacing:.12em}.f23-impersonation-bar b{margin-top:2px;font-size:13px}.f23-impersonation-bar button{display:flex;align-items:center;gap:8px;min-height:39px;padding:0 14px;border:1px solid rgba(255,255,255,.42);border-radius:11px;background:#fff;color:#153f65;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}.f23-impersonation-bar button svg{width:15px}@media(max-width:720px){.f23-customer-entry{align-items:flex-end;flex-direction:column}.f23-customer-entry>button{width:100%}.f23-impersonation-bar{align-items:stretch;flex-direction:column}.f23-impersonation-bar button{justify-content:center;width:100%}}

.f23-customer-entry>.f23-account-toggle.suspend{border-color:rgba(255,206,126,.65);background:rgba(255,162,54,.2);color:#fff4da}.f23-customer-entry>.f23-account-toggle.reactivate{border-color:rgba(104,241,198,.72);background:rgba(20,190,137,.24);color:#ddfff3}.f23-account-state-confirm{padding:22px;border:1px solid #dbe5f1;border-radius:18px;background:#f8fbff}.f23-account-state-confirm b{display:block;color:#12395f;font-size:19px}.f23-account-state-confirm p{margin:6px 0 17px;color:#66768d}.f23-account-state-confirm label{display:grid;gap:8px;color:#304965;font-size:13px;font-weight:850}.f23-account-state-confirm textarea{min-height:105px;padding:13px;border:1px solid #cfdbea;border-radius:12px;background:#fff;color:#172d49;font:inherit;resize:vertical}.f23-account-state-confirm.suspend{border-color:#f2c8ce;background:#fff7f8}.f23-account-state-confirm.reactivate{border-color:#bdebdc;background:#f3fffb}.f23-customer-warning.suspended{border-color:#f0c2c9;background:#fff2f4;color:#8e2235}
.modal-backdrop.invoice-control-open{padding:18px}.modal-backdrop.invoice-control-open .modal{width:min(940px,calc(100vw - 36px));max-width:940px;overflow:hidden;border-radius:24px}.modal-backdrop.invoice-control-open #modal-body{padding:0}.f23-fiscal-control{background:#f5f8fc}.f23-fiscal-control>header{position:relative;isolation:isolate;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center;min-height:130px;padding:25px 28px;overflow:hidden;background:linear-gradient(120deg,#092847,#10568e 52%,#6727ba);color:#fff}.f23-fiscal-control>header:after{content:"";position:absolute;z-index:-1;right:-80px;top:-170px;width:350px;height:350px;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 0 48px rgba(255,255,255,.045),0 0 0 96px rgba(255,255,255,.025)}.f23-fiscal-control-mark{display:grid;width:52px;height:52px;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:16px;background:linear-gradient(145deg,#0ba8e2,#812fe4)}.f23-fiscal-control-mark svg{width:24px}.f23-fiscal-control>header span{display:block;color:#79eaff;font-size:9px;font-weight:900;letter-spacing:.12em}.f23-fiscal-control>header h3{margin:3px 0;color:#fff;font-size:23px}.f23-fiscal-control>header p{margin:0;color:#d7e6f5;font-size:12px}.f23-fiscal-control>header>strong{position:relative;z-index:1;font-size:25px}
.f23-fiscal-control-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#dfe7f1}.f23-fiscal-control-facts>div{display:grid;padding:14px 17px;background:#fff}.f23-fiscal-control-facts small,.f23-fiscal-control-copy small{color:#8693a4;font-size:8px;font-weight:900;letter-spacing:.07em}.f23-fiscal-control-facts b{margin-top:3px;color:#173858;font-size:12px}.f23-fiscal-control-copy{padding:17px 22px;background:#fff}.f23-fiscal-control-copy p{margin:5px 0 0;color:#3f536a;font-size:12px;line-height:1.5}.f23-fiscal-control-notice{display:flex;gap:11px;align-items:flex-start;margin:13px 18px 0;padding:13px 15px;border:1px solid #bfe0d4;border-radius:13px;background:#eafaf4;color:#087657}.f23-fiscal-control-notice.warning{border-color:#efd599;background:#fff8e7;color:#7b570a}.f23-fiscal-control-notice>svg{width:19px;flex:0 0 19px}.f23-fiscal-control-notice b{display:block;font-size:12px}.f23-fiscal-control-notice p{margin:3px 0 0;font-size:10px;line-height:1.45}.f23-fiscal-control>.f23-live-alert{margin:13px 18px 0}.f23-fiscal-control>footer{display:flex;justify-content:flex-end;gap:9px;padding:17px 18px}.f23-fiscal-control>footer button{min-height:43px;padding:0 15px}
.f23-sdi-confirm-warning{display:flex;gap:12px;padding:15px;border:1px solid #edb4bd;border-radius:14px;background:#fff0f2;color:#9b263a}.f23-sdi-confirm-warning>svg{width:22px;flex:0 0 22px}.f23-sdi-confirm-warning b{display:block}.f23-sdi-confirm-warning p{margin:5px 0 0;font-size:12px;line-height:1.5}.f23-sdi-confirm>label{display:grid;gap:7px;margin-top:16px;color:#2f4662;font-size:12px;font-weight:800}.f23-sdi-confirm input{height:48px;padding:0 14px;border:1px solid #d6dfeb;border-radius:12px;background:#f8faff;font-size:16px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.f23-sdi-check-result{display:flex;align-items:flex-start;gap:12px;margin:18px 0 4px;padding:15px 17px;border:1px solid;border-radius:14px;box-shadow:0 8px 24px rgba(15,39,71,.06)}.f23-sdi-check-result>svg{width:22px;flex:0 0 22px}.f23-sdi-check-result b{display:block;font-size:13px}.f23-sdi-check-result p{margin:4px 0 0;font-size:11px;line-height:1.5}.f23-sdi-check-result.success{border-color:#9edfc8;background:linear-gradient(110deg,#e9fbf4,#f5fffb);color:#087657}.f23-sdi-check-result.error{border-color:#f1b7c0;background:linear-gradient(110deg,#fff0f2,#fff8f9);color:#a1263a}.f23-sdi-confirm>.f23-live-alert:empty{display:none}.f23-sdi-confirm .modal-actions{margin-top:18px}
.f23-sdi-final-card{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:18px;border-radius:16px;background:linear-gradient(120deg,#0b3b67,#1a69aa 55%,#7026c7);color:#fff;box-shadow:0 14px 30px rgba(17,61,108,.2)}.f23-sdi-final-card>svg{width:30px;flex:0 0 30px;color:#8af0ff}.f23-sdi-final-card small{display:block;color:#8eeaff;font-size:9px;font-weight:900;letter-spacing:.12em}.f23-sdi-final-card b{display:block;margin-top:3px;font-size:18px}.f23-sdi-final-card p{margin:3px 0 0;color:#e2effb;font-size:12px}.f23-sdi-final .f23-sdi-confirm-warning{background:#fff0f2}
@media(max-width:700px){.modal-backdrop.invoice-control-open{padding:8px}.modal-backdrop.invoice-control-open .modal{width:calc(100vw - 16px)}.f23-fiscal-control>header{grid-template-columns:auto minmax(0,1fr);padding:21px}.f23-fiscal-control>header>strong{grid-column:2}.f23-fiscal-control-facts{grid-template-columns:1fr 1fr}.f23-fiscal-control .f23-invoice-status-grid{grid-template-columns:1fr}.f23-fiscal-control>footer{align-items:stretch;flex-direction:column}.f23-fiscal-control>footer button{width:100%}}

/* Invoice editor: safe correction before electronic transmission */
.f23-edit-invoice-button{border-color:#bca8ed!important;background:#f5f0ff!important;color:#6330c5!important}.f23-edit-invoice-button:hover{background:#ede4ff!important}
.f23-modal-loading{display:grid;min-height:260px;place-items:center;align-content:center;gap:16px;color:#31506d}.f23-modal-loading span{width:40px;height:40px;border:4px solid #e8e2fa;border-top-color:#6c31d0;border-radius:50%;animation:f23-spin .8s linear infinite}.f23-modal-loading b{font-size:13px}@keyframes f23-spin{to{transform:rotate(360deg)}}
.modal-backdrop.invoice-edit-open{padding:18px}.modal-backdrop.invoice-edit-open .modal{width:min(1120px,calc(100vw - 36px));max-width:1120px;max-height:calc(100vh - 36px);overflow:auto;border-radius:24px}.modal-backdrop.invoice-edit-open #modal-body{padding:0}
.f23-fic-edit-form{background:#f5f8fc}.f23-edit-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;align-items:start}.f23-edit-main{display:grid;min-width:0;gap:13px;padding:18px}.f23-edit-section{min-width:0;overflow:hidden;border:1px solid #dce6f1;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(20,47,82,.045)}.f23-edit-section>header{display:flex;align-items:center;gap:11px;padding:13px 15px;border-bottom:1px solid #e5ebf3;background:linear-gradient(100deg,#f8fbff,#fbf8ff)}.f23-edit-section>header>span{display:grid;width:32px;height:32px;place-items:center;border-radius:10px;background:linear-gradient(145deg,#118cdd,#6f31dc);color:#fff;font-size:11px;font-weight:900}.f23-edit-section>header div{display:grid}.f23-edit-section>header b{color:#183858;font-size:13px}.f23-edit-section>header small{margin-top:1px;color:#8490a2;font-size:9px}.f23-edit-section>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:15px}.f23-edit-section .field{min-width:0}.f23-edit-section .field label{color:#536982;font-size:10px;font-weight:850}.f23-edit-section .field input,.f23-edit-section .field select,.f23-edit-section .field textarea{min-width:0;border-color:#d4deea;background:#f9fbfe;color:#1b3653}.f23-inline-fields{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:7px}.f23-edit-preserve{display:flex;align-items:flex-start;gap:8px;margin:13px 15px 0;padding:10px 12px;border:1px solid #c9dded;border-radius:11px;background:#edf7ff;color:#2e5f89;font-size:10px;line-height:1.45}.f23-edit-preserve svg{width:16px;flex:0 0 16px}
.f23-edit-summary{position:sticky;top:0;display:grid;min-width:0;align-content:start;min-height:100%;overflow:hidden;padding:23px 20px;background:linear-gradient(160deg,#092847 0%,#10578e 55%,#6429b9 100%);color:#fff}.f23-edit-summary:before{content:"";position:absolute;right:-100px;top:-150px;width:330px;height:330px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 50px rgba(255,255,255,.035),0 0 0 100px rgba(255,255,255,.018);pointer-events:none}.f23-edit-summary-icon{position:relative;display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:15px;background:linear-gradient(145deg,#05a8df,#812fe2)}.f23-edit-summary-icon svg{width:22px}.f23-edit-summary>small{position:relative;margin-top:16px;color:#79eaff;font-size:8px;font-weight:900;letter-spacing:.13em}.f23-edit-summary h3{position:relative;margin:4px 0 1px;color:#fff;font-size:25px}.f23-edit-summary>p{position:relative;margin:0;color:#d6e6f5;font-size:11px}.f23-edit-summary dl{position:relative;display:grid;gap:0;margin:21px 0 17px}.f23-edit-summary dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.13)}.f23-edit-summary dt{color:#bcd1e7;font-size:10px}.f23-edit-summary dd{margin:0;color:#fff;font-size:12px;font-weight:850}.f23-edit-summary dl .total dd{font-size:20px}.f23-edit-safe{position:relative;display:flex;min-width:0;gap:9px;padding:12px;border:1px solid rgba(105,236,198,.34);border-radius:13px;background:rgba(34,209,155,.1);color:#c8ffec}.f23-edit-safe>svg{width:18px;flex:0 0 18px}.f23-edit-safe b{display:block;font-size:11px}.f23-edit-safe p{margin:3px 0 0;color:#c4dfda;font-size:9px;line-height:1.45}.f23-edit-summary>.f23-live-alert{position:relative;margin:13px 0 0}.f23-edit-summary>button{position:relative;width:100%;min-height:45px;margin-top:12px;white-space:normal}.f23-edit-summary>button.primary{border:0;background:linear-gradient(100deg,#147fea,#d81cbd);box-shadow:0 10px 24px rgba(3,18,43,.25)}.f23-edit-summary>button.secondary{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff}.f23-fic-edit-form .f23-switch.full{grid-column:1/-1}
@media(max-width:900px){.modal-backdrop.invoice-edit-open{padding:8px}.modal-backdrop.invoice-edit-open .modal{width:calc(100vw - 16px);max-height:calc(100vh - 16px)}.f23-edit-layout{grid-template-columns:1fr}.f23-edit-summary{position:static;min-height:auto}.f23-edit-summary:before{display:none}}
@media(max-width:560px){.f23-edit-main{padding:10px}.f23-edit-section>.form-grid{grid-template-columns:1fr}.f23-inline-fields{grid-template-columns:1fr 65px}.f23-edit-summary{padding:20px 16px}}

/* Client profile v2 and fiscal defaults */
.f23-profile-v2{gap:18px}.f23-profile-command{position:relative;isolation:isolate;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(240px,340px);gap:18px;align-items:center;overflow:hidden;padding:24px 26px;border:1px solid #214d80;border-radius:22px;background:linear-gradient(118deg,#082744,#0e5992 54%,#6928bc);color:#fff;box-shadow:0 22px 50px rgba(14,47,82,.18)}.f23-profile-command:after{content:"";position:absolute;z-index:-1;right:-90px;top:-170px;width:360px;height:360px;border:1px solid rgba(255,255,255,.16);border-radius:50%;box-shadow:0 0 0 52px rgba(255,255,255,.045),0 0 0 104px rgba(255,255,255,.025)}.f23-profile-command-icon{display:grid;width:56px;height:56px;place-items:center;border:1px solid rgba(255,255,255,.3);border-radius:17px;background:linear-gradient(145deg,#05a9df,#9d25e8);box-shadow:0 12px 28px rgba(3,20,45,.3)}.f23-profile-command-icon svg{width:25px}.f23-profile-command>div:nth-child(2)>span{color:#83e9ff;font-size:9px;font-weight:900;letter-spacing:.15em}.f23-profile-command h3{margin:5px 0 4px;color:#fff;font-size:22px}.f23-profile-command p{margin:0;color:#cfe1f2;font-size:12px}.f23-profile-command aside{position:relative;display:grid;gap:3px;padding:15px 17px;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:rgba(255,255,255,.09);backdrop-filter:blur(10px)}.f23-profile-command aside small{color:#87edff;font-size:8px;font-weight:900;letter-spacing:.12em}.f23-profile-command aside b{color:#fff;font-size:13px}.f23-profile-command aside em{color:#d6e5f5;font-size:11px;font-style:normal}
.f23-profile-v2>.f23-profile-card{position:relative;overflow:hidden;padding:0;border:1px solid #d9e5f2;border-radius:20px;background:#fff;box-shadow:0 14px 38px rgba(17,48,83,.07)}.f23-profile-v2>.f23-profile-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(#0ca8de,#7130d9)}.f23-profile-v2 .f23-section-title{gap:13px;justify-content:flex-start;margin:0;padding:19px 22px;border-bottom:1px solid #e3ebf4;background:linear-gradient(105deg,#f7fbff,#fff 56%,#fbf7ff)}.f23-profile-v2 .f23-section-title>div{min-width:0}.f23-profile-v2 .f23-section-title p{margin:3px 0 0;color:#718097;font-size:12px}.f23-profile-v2 .f23-section-icon{display:grid!important;width:42px;height:42px;flex:0 0 42px;place-items:center;margin:0!important;border-radius:13px;background:linear-gradient(145deg,#0c95dc,#7930dc)!important;color:#fff!important;letter-spacing:0!important;box-shadow:0 8px 20px rgba(40,81,150,.2)}.f23-profile-v2 .f23-section-icon svg{width:20px}.f23-profile-v2 .f23-section-title>div>span{margin:0;color:#0a88bb}.f23-profile-v2 .f23-section-title h3{margin:2px 0 0;font-size:19px}.f23-profile-v2 .f23-profile-card>.form-grid,.f23-profile-v2 .f23-profile-card>.f23-settings-grid{padding-right:22px;padding-left:22px}.f23-profile-v2 .f23-profile-card>.form-grid{padding-top:21px;padding-bottom:22px}.f23-profile-v2 .f23-settings-grid{margin:0;padding-top:0;padding-bottom:22px}.f23-profile-v2 .field label{margin-bottom:7px;color:#52667e;font-size:10px;font-weight:900;letter-spacing:.035em}.f23-profile-v2 input,.f23-profile-v2 select,.f23-profile-v2 textarea{min-height:48px;border:1px solid #d4e0ed;border-radius:12px;background:#f9fbfe;color:#183753;box-shadow:inset 0 1px 2px rgba(18,51,84,.025);transition:.18s}.f23-profile-v2 textarea{min-height:84px}.f23-profile-v2 input:focus,.f23-profile-v2 select:focus,.f23-profile-v2 textarea:focus{border-color:#4aa6df;background:#fff;box-shadow:0 0 0 4px rgba(27,145,221,.1)}.f23-profile-v2 input[readonly]{background:#eef5fb;color:#49627b}.f23-fic-live-pill{margin-left:auto;padding:7px 10px;border:1px solid #bce7d7;border-radius:999px;background:#eafaf4;color:#087656;font-size:10px;white-space:nowrap}.f23-vat-profile-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:16px;padding:22px}.f23-vat-selector{display:grid;align-content:start;padding:20px;border:1px solid #d7e4f1;border-radius:17px;background:linear-gradient(120deg,#f8fcff,#fff)}.f23-vat-selector>label{margin-bottom:9px;color:#163957;font-size:13px;font-weight:900}.f23-vat-selector select{width:100%;min-height:54px;padding:0 14px;border:1px solid #bcd6eb;border-radius:12px;background:#fff;color:#153854;font-size:14px;font-weight:750}.f23-vat-selector>p{margin:10px 0;color:#697a91;font-size:11px;line-height:1.55}.f23-vat-load-state{display:inline-flex;align-items:center;gap:7px;margin-top:3px;color:#8a6610;font-size:10px;font-weight:800}.f23-vat-load-state:before{content:"";width:8px;height:8px;border-radius:50%;background:#e2a923;box-shadow:0 0 0 4px #fff3cf}.f23-vat-load-state.ok{color:#087657}.f23-vat-load-state.ok:before{background:#10a879;box-shadow:0 0 0 4px #ddf8ee}.f23-vat-load-state.error{color:#b32c44}.f23-vat-load-state.error:before{background:#e64961;box-shadow:0 0 0 4px #ffe2e7}.f23-vat-card{position:relative;isolation:isolate;display:grid;align-content:center;min-height:190px;overflow:hidden;padding:22px;border-radius:18px;background:linear-gradient(145deg,#092a49,#105f99 58%,#6728b9);color:#fff}.f23-vat-card:after{content:"";position:absolute;z-index:-1;right:-80px;top:-90px;width:220px;height:220px;border:1px solid rgba(255,255,255,.15);border-radius:50%;box-shadow:0 0 0 35px rgba(255,255,255,.04),0 0 0 70px rgba(255,255,255,.025)}.f23-vat-card small{color:#82ecff;font-size:8px;font-weight:900;letter-spacing:.13em}.f23-vat-card strong{margin:7px 0 2px;font-size:34px}.f23-vat-card b{font-size:13px}.f23-vat-card span{margin-top:5px;color:#d8e8f6;font-size:11px}.f23-vat-card p{margin:13px 0 0;padding-top:12px;border-top:1px solid rgba(255,255,255,.14);color:#c9dcec;font-size:10px;line-height:1.45}.f23-tax-controls{border-top:1px solid #e5edf5;background:#fbfdff}.f23-profile-v2 .f23-switch{min-height:49px;background:#f7faff}.f23-profile-v2 .f23-sticky-save span b{color:#173957}
.f23-fic-edit-form .field:has([name="subject"]){display:none!important}

/* Credit note draft */
.f23-credit-note-button{border-color:#efc68e!important;background:#fff9ee!important;color:#9a5b00!important}.modal-backdrop.credit-note-open .modal{width:min(760px,calc(100vw - 32px));max-width:760px;overflow:hidden;border-radius:24px}.modal-backdrop.credit-note-open #modal-body{padding:0}.f23-credit-note-form{padding:0 25px 25px}.f23-credit-note-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px -25px 20px;padding:20px 25px;background:linear-gradient(115deg,#092a49,#12649e 55%,#6b28bd);color:#fff}.f23-credit-note-hero>div{display:flex;align-items:center;gap:13px}.f23-credit-note-hero>div>svg{width:23px}.f23-credit-note-hero span{display:grid}.f23-credit-note-hero small{color:#85ecff;font-size:8px;font-weight:900;letter-spacing:.11em}.f23-credit-note-hero b{margin-top:3px;font-size:19px}.f23-credit-note-hero em{color:#d2e3f2;font-size:11px;font-style:normal}.f23-credit-note-hero>strong{font-size:25px}.f23-credit-mode{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:17px}.f23-credit-mode label{position:relative;display:flex;gap:9px;align-items:center;padding:14px;border:1px solid #d8e3f0;border-radius:14px;background:#f9fbfe;cursor:pointer}.f23-credit-mode input{accent-color:#702cdb}.f23-credit-mode span{display:grid}.f23-credit-mode b{color:#173957;font-size:13px}.f23-credit-mode small{margin-top:2px;color:#728097;font-size:10px}.f23-credit-mode label:has(input:checked){border-color:#9d78e8;background:#f7f2ff;box-shadow:0 0 0 3px rgba(111,45,218,.08)}.f23-credit-note-form>.form-grid{grid-template-columns:1fr 1fr}.f23-credit-safety{display:flex;gap:10px;margin:17px 0;padding:13px 14px;border:1px solid #bfe2d4;border-radius:13px;background:#effbf6;color:#087657}.f23-credit-safety svg{width:19px;flex:0 0 19px}.f23-credit-safety b{font-size:12px}.f23-credit-safety p{margin:3px 0 0;font-size:10px;line-height:1.45}.f23-credit-confirm{display:grid;gap:7px;color:#5b6c82;font-size:11px;font-weight:850}.f23-credit-confirm input{min-height:46px;padding:0 13px;border:1px solid #d5dfeb;border-radius:11px;font-size:14px}.f23-credit-note-form .modal-actions{margin-top:18px}
@media(max-width:850px){.f23-profile-command{grid-template-columns:auto 1fr}.f23-profile-command aside{grid-column:1/-1}.f23-vat-profile-grid{grid-template-columns:1fr}.f23-fic-live-pill{display:none}}@media(max-width:620px){.f23-profile-command{grid-template-columns:1fr;padding:20px}.f23-profile-command-icon{width:48px;height:48px}.f23-vat-profile-grid{padding:14px}.f23-profile-v2 .f23-profile-card>.form-grid,.f23-profile-v2 .f23-profile-card>.f23-settings-grid{padding-right:14px;padding-left:14px}.f23-profile-v2 .f23-section-title{padding:16px}.f23-credit-mode,.f23-credit-note-form>.form-grid{grid-template-columns:1fr}.f23-credit-note-form{padding:0 16px 20px}.f23-credit-note-hero{margin-right:-16px;margin-left:-16px;padding:18px 16px}}
.f23-customer-tabs .f23-new-credit-client{display:inline-flex;align-items:center;gap:7px;margin-left:auto;border:1px solid #eccb94;background:#fff8e9;color:#955b00}.f23-customer-tabs .f23-new-credit-client:hover{background:#fff0cf;color:#744600}.f23-customer-tabs .f23-new-credit-client:disabled{opacity:.45;cursor:not-allowed}.f23-customer-tabs .f23-new-credit-client svg{width:16px}.f23-credit-picker{display:grid;gap:18px;margin-top:18px}.f23-credit-picker-head{display:flex;gap:12px;padding:15px;border:1px solid #d8e5f1;border-radius:14px;background:linear-gradient(115deg,#f4fbff,#fbf6ff);color:#173957}.f23-credit-picker-head>svg{width:22px;flex:0 0 22px;color:#6d2ad7}.f23-credit-picker-head b{font-size:13px}.f23-credit-picker-head p{margin:4px 0 0;color:#687b92;font-size:11px;line-height:1.5}.f23-credit-picker>label{display:grid;gap:8px;color:#53677f;font-size:11px;font-weight:850}.f23-credit-picker select{width:100%;min-height:52px;padding:0 12px;border:1px solid #cbdbea;border-radius:12px;background:#fff;color:#183957;font-size:13px}@media(max-width:760px){.f23-customer-tabs .f23-new-credit-client{margin-left:0}}
.f23-service-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) auto auto;align-items:center;gap:13px;margin:0 0 18px;padding:13px 14px;border:1px solid #d9e5f1;border-radius:16px;background:linear-gradient(105deg,#f8fbff,#fff 62%,#faf6ff);box-shadow:0 10px 28px rgba(20,47,82,.045)}
.f23-service-toolbar>label{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border:1px solid #cddbeb;border-radius:12px;background:#fff;color:#64778f}
.f23-service-toolbar>label svg{width:18px;flex:0 0 18px;color:#6a2dd6}.f23-service-toolbar input{width:100%;height:42px;border:0;outline:0;background:transparent;color:#183957;font-size:13px}.f23-service-toolbar>span{color:#75849a;font-size:11px;white-space:nowrap}.f23-service-toolbar>span b{color:#183957;font-size:15px}.f23-service-toolbar>button{min-height:46px;white-space:nowrap}
@media(max-width:820px){.f23-service-toolbar{grid-template-columns:1fr}.f23-service-toolbar>span{order:3}.f23-service-toolbar>button{width:100%}}

/* Payment refunds and customer credit */
.f23-refund-button{border-color:#f0b9c2!important;background:#fff2f4!important;color:#b62540!important}.f23-refund-button:hover{background:#ffe5ea!important}.modal-backdrop.refund-open .modal{width:min(820px,calc(100vw - 32px));max-width:820px;overflow:hidden;border-radius:24px}.modal-backdrop.refund-open #modal-body{padding:0}.f23-refund-form{padding:0 25px 25px}.f23-refund-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px -25px 20px;padding:21px 25px;background:linear-gradient(115deg,#082b4d,#146a9f 56%,#6b28bd);color:#fff}.f23-refund-hero>div{display:flex;align-items:center;gap:13px}.f23-refund-hero>div:first-child>svg{width:27px}.f23-refund-hero span,.f23-refund-hero>div:last-child{display:grid}.f23-refund-hero small{color:#84ecff;font-size:8px;font-weight:900;letter-spacing:.12em}.f23-refund-hero b{margin-top:3px;font-size:16px}.f23-refund-hero strong{font-size:25px}.f23-refund-hero em{color:#d6e6f4;font-size:10px;font-style:normal}.f23-refund-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}.f23-refund-modes>label{position:relative;display:block;min-width:0;padding:15px;border:1px solid #d6e2ee;border-radius:15px;background:#f8fbfe;cursor:pointer}.f23-refund-modes>label:has(input:checked){border-color:#8b69df;background:#f6f1ff;box-shadow:0 0 0 3px rgba(105,46,211,.08)}.f23-refund-modes>label.disabled{opacity:.52;cursor:not-allowed}.f23-refund-modes input{position:absolute;right:12px;top:12px;accent-color:#6d2bd5}.f23-refund-modes label>span{display:flex;align-items:flex-start;gap:10px}.f23-refund-modes svg{width:20px;flex:0 0 20px;color:#6b2bd5}.f23-refund-modes span span{display:grid}.f23-refund-modes b{padding-right:16px;color:#183957;font-size:12px}.f23-refund-modes small{margin-top:4px;color:#6f8095;font-size:10px;line-height:1.4}.f23-refund-form>.form-grid{grid-template-columns:1fr 1fr}.f23-refund-fiscal-note{display:flex;gap:11px;margin:17px 0;padding:14px 15px;border:1px solid #b9ddcf;border-radius:14px;background:#effaf6;color:#087557}.f23-refund-fiscal-note>svg{width:20px;flex:0 0 20px}.f23-refund-fiscal-note b{display:block;font-size:12px}.f23-refund-fiscal-note p{margin:4px 0 0;font-size:10px;line-height:1.5}.f23-refund-confirm{display:grid;gap:7px;color:#596b82;font-size:11px;font-weight:850}.f23-refund-confirm input{height:48px;padding:0 14px;border:1px solid #d4dfeb;border-radius:12px;background:#fbfcff;font-size:14px;font-weight:850;letter-spacing:.06em}.f23-refund-form .modal-actions{margin-top:18px}.f23-refund-form .primary.danger{border:0;background:linear-gradient(100deg,#d83b59,#a61f9d);box-shadow:0 9px 22px rgba(166,31,85,.2)}
.f23-customer-credit{display:flex;align-items:center;gap:14px;margin-bottom:13px;padding:15px 19px;border:1px solid #b9e2d2;border-radius:15px;background:linear-gradient(110deg,#edfbf6,#f6fffb);color:#087657}.f23-customer-credit>span{display:grid;width:39px;height:39px;place-items:center;border-radius:12px;background:#d5f6e9}.f23-customer-credit svg{width:20px}.f23-customer-credit>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.f23-customer-credit small{font-size:9px;font-weight:900;letter-spacing:.1em}.f23-customer-credit b{font-size:21px}.f23-customer-credit em{color:#54766b;font-size:11px;font-style:normal}.f23-ci-money .refund{color:#087657}
@media(max-width:720px){.f23-refund-modes{grid-template-columns:1fr}.f23-refund-form>.form-grid{grid-template-columns:1fr}.f23-refund-form{padding:0 16px 20px}.f23-refund-hero{align-items:flex-start;flex-direction:column;margin-right:-16px;margin-left:-16px;padding:18px 16px}}
.f23-installment-summary{margin:18px 0;padding:18px;border:1px solid #cfe0f2;border-radius:18px;background:linear-gradient(145deg,#f5fbff,#fbf8ff)}.f23-installment-summary>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.f23-installment-summary>header small{display:block;color:#2873b9;font-size:10px;font-weight:900;letter-spacing:.11em}.f23-installment-summary>header h3{margin:5px 0 0;color:#102a4b;font-size:18px}.f23-installment-summary>header>b{color:#6c29db;font-size:19px}.f23-installment-progress{height:9px;margin:15px 0;border-radius:99px;background:#e3ebf5;overflow:hidden}.f23-installment-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0fbf9a,#177ddd,#7b2ce6)}.f23-installment-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.f23-installment-facts span{padding:12px;border:1px solid #e0e8f2;border-radius:12px;background:#fff}.f23-installment-facts small,.f23-installment-facts b{display:block}.f23-installment-facts small{color:#8390a4;font-size:9px;font-weight:900;letter-spacing:.08em}.f23-installment-facts b{margin-top:5px;color:#17314f;font-size:14px}.f23-installment-schedule{display:grid;gap:8px;margin-top:16px}.f23-installment-schedule article{display:grid;grid-template-columns:1.1fr .8fr .8fr 1.2fr;gap:10px;align-items:center;padding:11px 13px;border:1px solid #dfe7f1;border-left:4px solid #f59e0b;border-radius:12px;background:#fff}.f23-installment-schedule article.paid{border-left-color:#10b981}.f23-installment-schedule article.overdue{border-left-color:#ef4444}.f23-installment-schedule article.partial{border-left-color:#7c3aed}.f23-installment-schedule small,.f23-installment-schedule b{display:block}.f23-installment-schedule small{color:#8794a7;font-size:9px;font-weight:900}.f23-installment-schedule b{margin-top:3px;color:#17314f;font-size:13px}.f23-installment-row-state{display:flex;align-items:center;justify-content:flex-end;gap:8px}.f23-installment-row-state button{min-height:34px;padding:0 11px;border:1px solid #c9b8ff;border-radius:9px;background:#f5f0ff;color:#6525d5;font-weight:850}.installment-modal-open .modal{width:min(980px,calc(100vw - 32px));max-width:980px}.f23-installment-hero{display:flex;align-items:center;gap:16px;margin:16px 0;padding:18px;border-radius:16px;background:linear-gradient(120deg,#0d4a73,#176fa5 55%,#7028d8);color:#fff}.f23-installment-hero>span{display:grid;width:48px;height:48px;place-items:center;border-radius:14px;background:#ffffff20}.f23-installment-hero svg{width:23px}.f23-installment-hero small,.f23-installment-hero strong{display:block}.f23-installment-hero small{color:#8ff3ff;font-size:10px;font-weight:900;letter-spacing:.1em}.f23-installment-hero strong{margin-top:4px;font-size:27px}.f23-installment-hero p{margin:4px 0 0!important;color:#e4effb!important;font-size:13px!important}.f23-installment-preview{margin:18px 0;border:1px solid #dce6f1;border-radius:15px;overflow:hidden}.f23-installment-preview>header{display:flex;justify-content:space-between;padding:12px 15px;background:#f1f6fc;color:#193451}.f23-installment-preview>div{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e2e9f2}.f23-installment-preview>div span{padding:12px 14px;background:#fff}.f23-installment-preview small,.f23-installment-preview b,.f23-installment-preview em{display:block}.f23-installment-preview small{color:#7c899d;font-size:9px;font-weight:900}.f23-installment-preview b{margin-top:3px;color:#172f4e}.f23-installment-preview em{margin-top:2px;color:#738197;font-size:11px;font-style:normal}.f23-installment-note{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid #c8e8dc;border-radius:12px;background:#eefbf7;color:#18664f;font-size:12px;font-weight:750}.f23-installment-note svg{width:18px}.f23-installment-payment-head{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.f23-installment-payment-head span{padding:14px;border:1px solid #dfe7f1;border-radius:13px;background:#f8fbff}.f23-installment-payment-head small,.f23-installment-payment-head b{display:block}.f23-installment-payment-head small{color:#7c899c;font-size:9px;font-weight:900}.f23-installment-payment-head b{margin-top:4px;color:#16314f}.f23-installment-button{border-color:#cdbbff!important;color:#6625d8!important}@media(max-width:760px){.f23-installment-facts,.f23-installment-payment-head{grid-template-columns:1fr}.f23-installment-schedule article{grid-template-columns:1fr 1fr}.f23-installment-row-state{grid-column:1/-1;justify-content:flex-start}.f23-installment-preview>div{grid-template-columns:1fr 1fr}}

/* Selezione amministrativa del piano di rientro */
.f23-repayment-admin-button{display:inline-flex;align-items:center;gap:8px}.f23-repayment-admin-button svg{width:17px}.f23-repayment-picker{display:grid;gap:16px}.f23-repayment-intro{display:flex;gap:12px;padding:15px 16px;border:1px solid #bfe2d5;border-radius:14px;background:#eefbf6;color:#175f4c}.f23-repayment-intro>svg{width:21px;flex:0 0 21px}.f23-repayment-intro b{font-size:13px}.f23-repayment-intro p{margin:4px 0 0!important;color:#52786c!important;font-size:11px!important;line-height:1.45}.f23-repayment-picker fieldset{display:grid;gap:8px;margin:0;padding:0;border:0}.f23-repayment-picker legend{margin-bottom:10px;color:#173451;font-size:12px;font-weight:900}.f23-repayment-choice{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 15px;border:1px solid #dbe4ef;border-radius:14px;background:#fff;cursor:pointer}.f23-repayment-choice:has(input:checked){border-color:#8d6be6;background:#f8f4ff;box-shadow:0 0 0 3px rgba(109,40,217,.08)}.f23-repayment-choice>input{position:absolute;right:13px;top:13px;accent-color:#6d28d9}.f23-repayment-choice-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;background:#edf5ff;color:#2879c7}.f23-repayment-choice-mark svg{width:18px}.f23-repayment-choice>span:nth-child(3){display:grid;padding-right:20px}.f23-repayment-choice small{color:#77879b;font-size:8px;font-weight:900;letter-spacing:.08em}.f23-repayment-choice b{margin-top:3px;color:#173451;font-size:12px}.f23-repayment-choice em{margin-top:4px;color:#718096;font-size:10px;font-style:normal}.f23-repayment-choice>strong{padding-right:22px;color:#5722c4;font-size:14px;white-space:nowrap}.f23-repayment-existing{display:grid;gap:8px;padding-top:14px;border-top:1px solid #e1e8f0}.f23-repayment-existing h3{margin:0 0 4px;color:#173451;font-size:14px}.f23-repayment-existing article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:12px;background:#f4f8fc}.f23-repayment-existing article>span{display:grid}.f23-repayment-existing small{color:#77879a;font-size:9px;font-weight:900}.f23-repayment-existing b{margin-top:3px;color:#173451;font-size:12px}.f23-repayment-existing em{margin-top:2px;color:#6f7f92;font-size:10px;font-style:normal}.f23-repayment-empty{padding:18px;border:1px dashed #cdd9e7;border-radius:14px;text-align:center}.f23-repayment-empty b{color:#173451}.f23-repayment-empty p{margin:5px 0 0!important;color:#738197!important;font-size:11px!important}
@media(max-width:660px){.f23-repayment-choice{grid-template-columns:36px 1fr}.f23-repayment-choice>strong{grid-column:2;padding:0}.f23-repayment-existing article{align-items:flex-start;flex-direction:column}.f23-repayment-existing button{width:100%}}

/* Customer communications and internal notes */
.f23-bulk-email-button{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:10px 14px;border:1px solid rgba(255,255,255,.35);border-radius:11px;background:rgba(255,255,255,.14);color:#fff;font-weight:800;box-shadow:none}.f23-bulk-email-button svg{width:16px;height:16px}.f23-bulk-email-button:hover{background:#fff;color:#5b21b6}
.f23-customer-compact-action{display:inline-flex;align-items:center;gap:6px;padding:9px 11px!important;border:1px solid rgba(255,255,255,.34)!important;border-radius:10px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap}.f23-customer-compact-action svg{width:15px;height:15px}
.f23-mail-compose-recipient{display:flex;align-items:center;gap:13px;margin-bottom:18px;padding:15px;border:1px solid #dbe5f0;border-radius:14px;background:#f7f9ff;color:#2764da}.f23-mail-compose-recipient>svg{width:23px;height:23px}.f23-mail-compose-recipient span{display:grid;gap:2px}.f23-mail-compose-recipient small{color:#7b8ba5;font-size:10px;font-weight:800;letter-spacing:.1em}.f23-mail-compose-recipient b{color:#14243b}.f23-mail-compose-recipient em{color:#71819b;font-size:12px;font-style:normal}
.f23-bulk-mail-audience{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.f23-bulk-mail-audience label{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #dbe5f0;border-radius:14px;background:#f8faff;cursor:pointer}.f23-bulk-mail-audience label:has(input:checked){border-color:#8b5cf6;background:#f5f3ff}.f23-bulk-mail-audience span{display:grid;gap:3px}.f23-bulk-mail-audience small,.f23-mail-consent-note{color:#71819b;font-size:12px}.f23-mail-consent-note{margin:2px 0 16px}
.f23-note-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.f23-note-heading h3{margin:0}.f23-note-heading p{margin:4px 0 0;color:#71819b}.f23-note-timeline{display:grid;gap:10px;margin-top:16px}.f23-note-timeline article{display:flex;gap:12px;padding:14px;border:1px solid #dbe5f0;border-radius:14px;background:#f8faff}.f23-note-timeline article>span{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:10px;background:#ede9fe;color:#6d28d9}.f23-note-timeline article p{margin:0 0 5px;color:#14243b;white-space:pre-wrap}.f23-note-timeline article small{color:#71819b}.f23-note-timeline article.legacy{background:#fffaf0}.f23-note-timeline article.legacy>span{background:#fff1d6;color:#b45309}
@media(max-width:900px){.f23-bulk-mail-audience{grid-template-columns:1fr}.f23-customer-entry{flex-wrap:wrap}.f23-customer-compact-action{flex:1;justify-content:center}}
