/* Servixo 4.18.10, unified shell identity, recovery contrast and Fold refinements */

/* Shared action rhythm */
.sx-shell-actions,.cp-header-actions,.employee-topbar-actions{align-items:center!important}

/* Platform Admin identity is an identity, never a button. */
.sx-platform-admin-identity{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;padding-left:4px;color:var(--sx-ink,#0c241f);font-weight:900;white-space:nowrap;cursor:default;user-select:none}
.sx-main-top .sx-platform-admin-identity .sx-platform-admin-avatar{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;flex:0 0 48px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.sx-main-top .sx-platform-admin-identity .sx-platform-admin-avatar img{display:block!important;width:44px!important;height:44px!important;object-fit:contain!important;padding:0!important;background:transparent!important;filter:drop-shadow(0 5px 8px rgba(44,50,45,.12))}
.sx-platform-admin-name{font-size:13px;letter-spacing:-.01em;color:var(--sx-muted,#667b78)}

/* Company identity stays visible with its name and cannot be mistaken for a CTA. */
.cp-header-company-identity{display:inline-flex!important;align-items:center!important;gap:9px!important;width:auto!important;height:48px!important;flex:0 0 auto!important;padding:0 5px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;cursor:default!important;user-select:none}
.cp-header-company-logo{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:1px solid var(--cp-line,#d8e8e2);border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(8,43,37,.07);overflow:hidden}
.cp-header-company-logo img,.cp-header-company-identity>img{display:block!important;width:40px!important;height:40px!important;object-fit:contain!important;padding:3px!important;background:#fff!important}
.cp-header-company-name{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--cp-text,#0b2c27);font-size:13px;font-weight:900;line-height:1.1}
[data-cp-mode="dark"] .cp-header-company-name{color:var(--cp-text,#f1fffb)}

/* Employee Portal uses the same company-context pattern. */
.employee-header-company-identity{display:inline-flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;cursor:default;user-select:none;color:var(--ep-text,#0d2723);font-weight:900}
.employee-header-company-logo{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:1px solid var(--ep-line,#d8e8e2);border-radius:14px;background:#fff;box-shadow:0 8px 22px rgba(8,43,37,.07);overflow:hidden}
.employee-header-company-logo img{display:block;width:40px;height:40px;object-fit:contain;padding:3px;background:#fff}
.employee-header-company-name{display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.1;color:var(--ep-text,#0d2723)}

/* Password reset security label must remain readable in every theme. */
.sx-hero-card .sx-eyebrow{background:#ffffff!important;color:#0b5f56!important;border:1px solid rgba(255,255,255,.92)!important;box-shadow:0 8px 24px rgba(0,0,0,.08)!important;text-shadow:none!important;opacity:1!important}
[data-theme="dark"] .sx-hero-card .sx-eyebrow{background:#ecfffb!important;color:#084c45!important;border-color:#ecfffb!important}

/* Company and employee account action icons stay visually useful on touch screens. */
.cp-account-action-icon{width:38px!important;height:38px!important;flex:0 0 38px!important}
.cp-account-action-icon svg{width:23px!important;height:23px!important}
.employee-website-link .nav-icon{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:11px;background:rgba(15,118,110,.08);display:grid!important;place-items:center!important}
.employee-website-link .nav-icon svg{width:22px!important;height:22px!important}

/* Fold and compact tablet. This breakpoint intentionally includes Pixel Fold landscape CSS widths. */
@media(max-width:1180px){
  .sx-main-top>.sx-actions>.sx-refresh-servixo{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;padding:7px!important;border-radius:14px!important}
  .sx-main-top>.sx-actions>.sx-refresh-servixo .sx-refresh-label{display:none!important}
  .sx-main-top>.sx-actions>.sx-refresh-servixo .sx-refresh-icon{display:grid!important;width:30px!important;height:30px!important;place-items:center!important}
  .sx-main-top>.sx-actions>.sx-refresh-servixo .sx-refresh-icon svg{width:20px!important;height:20px!important}
  .sx-platform-admin-name{display:none!important}
  .sx-main-top .sx-platform-admin-identity .sx-platform-admin-avatar{width:46px!important;height:46px!important;flex-basis:46px!important}
  .sx-main-top .sx-platform-admin-identity .sx-platform-admin-avatar img{width:42px!important;height:42px!important}
  .sx-main-top>.sx-actions{gap:7px!important;flex-wrap:nowrap!important}
  .cp-header-company-name{max-width:145px}
  .employee-header-company-name{max-width:135px}
}

@media(max-width:980px){
  .sx-main-top{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important}
  .sx-main-top>.sx-actions{display:flex!important;justify-content:flex-end!important}
  .sx-main-top>div:first-child{min-width:0!important}
  .cp-header-company-name{max-width:125px}
  .employee-header-company-name{max-width:120px}
}

@media(max-width:760px){
  .cp-header-company-identity{height:44px!important;gap:7px!important}
  .cp-header-company-logo{width:42px;height:42px;flex-basis:42px;border-radius:13px}
  .cp-header-company-logo img{width:36px!important;height:36px!important}
  .cp-header-company-name{max-width:112px;font-size:12px}
  .employee-header-company-logo{width:42px;height:42px;flex-basis:42px;border-radius:13px}
  .employee-header-company-logo img{width:36px;height:36px}
  .employee-header-company-name{max-width:105px;font-size:12px}
  .employee-topbar-actions{gap:6px!important}
  .employee-topbar-actions .employee-icon-button{display:grid!important}
}

@media(max-width:620px){
  .sx-main-top{display:block!important;position:relative!important;padding-top:72px!important}
  .sx-main-top>.sx-actions{position:absolute!important;top:14px!important;right:14px!important;display:flex!important;gap:6px!important}
  .sx-main-top .sx-platform-admin-identity .sx-platform-admin-avatar{width:42px!important;height:42px!important;flex-basis:42px!important}
  .sx-main-top .sx-platform-admin-identity .sx-platform-admin-avatar img{width:39px!important;height:39px!important}
  .sx-main-top>.sx-actions>.sx-refresh-servixo{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}
  .cp-header-company-name{max-width:96px}
  .employee-header-company-name{max-width:92px}
}

@media(max-width:430px){
  .cp-header-company-name{max-width:82px;font-size:11px}
  .employee-header-company-name{max-width:78px;font-size:11px}
  .employee-topbar-actions .employee-icon-button:nth-last-child(2){display:grid!important}
  .employee-topbar-actions{gap:5px!important}
}
.sx-reset-hero .sx-eyebrow{background:#ffffff!important;color:#0b5f56!important;border:1px solid rgba(255,255,255,.94)!important;box-shadow:0 8px 24px rgba(0,0,0,.08)!important;text-shadow:none!important;opacity:1!important}
[data-theme="dark"] .sx-reset-hero .sx-eyebrow{background:#ecfffb!important;color:#084c45!important}
@media(max-width:430px){.employee-topbar-title>div{display:none!important}.employee-topbar{min-height:74px!important}.employee-header-company-name{max-width:92px!important}}

/* Servixo 4.18.11, Company invoice document parity with Platform Billing */
.sx412-preview-modal{width:min(1180px,calc(100vw - 32px))!important;max-height:94vh!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#fff!important}
.sx412-preview-content{min-height:0;flex:1 1 auto;overflow:auto;padding:28px;background:#e8f1ef}
.sx412-preview-x{z-index:8;top:18px!important;right:18px!important;box-shadow:0 8px 24px rgba(20,45,40,.09)}
.sx412-preview-actions{position:relative;z-index:5;margin:0!important;padding:16px 22px!important;border-top:1px solid #dfe8e5;background:#fff;box-shadow:0 -10px 28px rgba(16,45,40,.06)}
.sx-company-invoice-preview{--sx-company-invoice-accent:#0d8178}
.sx-company-invoice-preview .sx-real-invoice-sheet{width:min(920px,100%);min-height:1120px}
.sx-company-invoice-preview .sx-real-invoice-rule{background:var(--sx-company-invoice-accent)!important}
.sx-company-invoice-preview .sx-real-invoice-totals .is-balance{background:var(--sx-company-invoice-accent)!important;color:#fff!important}
.sx-company-invoice-preview .sx-real-invoice-sheet footer{border-top-color:var(--sx-company-invoice-accent)!important}
.sx-company-invoice-brand{display:flex;align-items:flex-start;gap:15px;min-width:0}
.sx-company-invoice-brand>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.sx-company-invoice-brand>div:last-child>strong{margin:2px 0 3px;color:#1c222a;font-size:19px;line-height:1.12}
.sx-company-invoice-logo{display:grid;place-items:center;width:74px;height:64px;flex:0 0 74px;border:1px solid #dfe5e8;border-radius:15px;background:#fff;overflow:hidden}
.sx-company-invoice-logo img{display:block;max-width:64px!important;max-height:54px!important;width:auto!important;height:auto!important;object-fit:contain!important}
.sx-company-pending-number{color:#65727b;font-size:14px!important;letter-spacing:.04em}
.sx-company-draft-number-note{width:min(230px,100%);margin:13px 0 0 auto;padding:10px 12px;border:1px dashed #c8d6d2;border-radius:12px;background:#f8fafa;color:#66747c;font-size:10.5px;line-height:1.45;text-align:left}
.sx-company-invoice-items th:nth-child(1){width:16%!important;text-align:left!important}.sx-company-invoice-items th:nth-child(2){width:44%!important;text-align:left!important}.sx-company-invoice-items th:nth-child(3){width:10%!important}.sx-company-invoice-items th:nth-child(4){width:14%!important}.sx-company-invoice-items th:nth-child(5){width:16%!important}
.sx-company-invoice-items td:nth-child(1),.sx-company-invoice-items td:nth-child(2){text-align:left!important}.sx-company-invoice-items td:nth-child(n+3){text-align:right!important;white-space:nowrap}
.sx-company-line-meta,.sx-company-line-submeta{display:block;margin-top:3px;color:#5f6d75;font-size:11px;line-height:1.35}.sx-company-line-submeta{color:#7a878d;font-size:10px}
.sx-company-invoice-preview .sx-real-invoice-cards>div{min-height:142px}
.sx-company-invoice-preview .sx-real-invoice-notes{min-height:172px}

html[data-theme="dark"] .sx412-preview-content,.cp-body[data-theme="dark"] .sx412-preview-content{background:#213632}
html[data-theme="dark"] .sx412-preview-modal,.cp-body[data-theme="dark"] .sx412-preview-modal{background:#0d2823!important}
html[data-theme="dark"] .sx412-preview-actions,.cp-body[data-theme="dark"] .sx412-preview-actions{background:#0d2823;border-top-color:#294840}

@media(max-width:900px){
  .sx-company-invoice-preview .sx-real-invoice-sheet{min-width:0!important;width:100%!important}
  .sx412-preview-content{padding:18px}
}
@media(max-width:760px){
  .sx412-preview-layer{padding:8px!important}
  .sx412-preview-modal{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:22px!important}
  .sx412-preview-content{padding:10px!important}
  .sx412-preview-actions{padding:12px!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  .sx412-preview-actions .cp-btn{width:100%!important;justify-content:center!important}
  .sx-company-invoice-preview .sx-real-invoice-sheet{padding:28px 22px 22px!important;min-height:0!important;border-radius:18px!important}
  .sx-company-invoice-preview .sx-real-invoice-header{grid-template-columns:1fr!important;gap:22px!important}
  .sx-company-invoice-preview .sx-real-invoice-meta{text-align:left!important}
  .sx-company-invoice-preview .sx-real-invoice-meta h2{font-size:34px!important}
  .sx-company-invoice-preview .sx-real-invoice-meta dl div{justify-content:flex-start!important}
  .sx-company-invoice-preview .sx-invoice-barcode,.sx-company-draft-number-note{margin-left:0!important}
  .sx-company-invoice-preview .sx-real-invoice-cards{grid-template-columns:1fr!important}
  .sx-company-invoice-preview .sx-real-invoice-cards>div{min-height:0!important}
  .sx-company-invoice-preview .sx-real-invoice-bottom{grid-template-columns:1fr!important}
  .sx-company-invoice-preview .sx-real-invoice-notes{min-height:0!important}
  .sx-company-invoice-items{overflow:visible!important}
  .sx-company-invoice-items table,.sx-company-invoice-items tbody{display:block!important;width:100%!important}
  .sx-company-invoice-items thead{display:none!important}
  .sx-company-invoice-items tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 14px!important;margin:0 0 10px!important;padding:14px!important;border:1px solid #e1e7e9!important;border-radius:14px!important;background:#f8fafa!important}
  .sx-company-invoice-items td{display:block!important;width:auto!important;padding:0!important;border:0!important;white-space:normal!important;text-align:left!important}
  .sx-company-invoice-items td:before{display:block!important;margin-bottom:3px;content:attr(data-label);color:#7b878d;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
  .sx-company-invoice-items td:nth-child(1){grid-column:1}.sx-company-invoice-items td:nth-child(2){grid-column:1 / -1}.sx-company-invoice-items td:nth-child(3){display:none!important}.sx-company-invoice-items td:nth-child(4){grid-column:1}.sx-company-invoice-items td:nth-child(5){grid-column:2;text-align:right!important;align-self:end}
  .sx-company-invoice-brand{align-items:center}.sx-company-invoice-logo{width:64px;height:58px;flex-basis:64px}.sx-company-invoice-logo img{max-width:56px!important;max-height:48px!important}
}
@media(max-width:430px){
  .sx412-preview-actions{grid-template-columns:1fr!important}
  .sx-company-invoice-preview .sx-real-invoice-sheet{padding:24px 16px 18px!important}
  .sx-company-invoice-brand{align-items:flex-start}.sx-company-invoice-logo{width:58px;height:54px;flex-basis:58px;border-radius:13px}.sx-company-invoice-logo img{max-width:50px!important;max-height:44px!important}
  .sx-company-invoice-preview .sx-real-invoice-meta h2{font-size:30px!important}
}
.sx412-preview-content{position:relative}
.sx412-generation-overlay{position:absolute;inset:0;z-index:12;display:grid;place-items:center;padding:22px;background:rgba(232,241,239,.88);backdrop-filter:blur(7px)}
.sx412-generation-card{width:min(420px,100%);display:grid;justify-items:center;gap:10px;padding:26px;border:1px solid #d8e6e2;border-radius:22px;background:#fff;box-shadow:0 22px 60px rgba(16,45,40,.18);text-align:center;color:#102f28}.sx412-generation-card strong{font-size:19px}.sx412-generation-card span:last-child{color:#667b75;font-size:13px;line-height:1.5}
.sx412-generation-spinner{width:42px;height:42px;border:4px solid #d9e9e5;border-top-color:#0d8178;border-radius:50%;animation:sx412InvoiceSpin .8s linear infinite}@keyframes sx412InvoiceSpin{to{transform:rotate(360deg)}}
.sx412-generation-success{width:min(620px,100%);min-height:440px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:42px 28px;border:1px solid #dce7e4;border-radius:24px;background:#fff;box-shadow:0 22px 60px rgba(16,45,40,.12);text-align:center;color:#102f28}.sx412-generation-check{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#e2f7f2;color:#0d8178;font-size:34px;font-weight:900}.sx412-generation-success small{color:#0d8178;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.sx412-generation-success h2{margin:0;font-size:clamp(28px,5vw,42px)}.sx412-generation-success p{max-width:480px;margin:0 0 10px;color:#667b75;line-height:1.55}
html[data-theme="dark"] .sx412-generation-overlay,.cp-body[data-theme="dark"] .sx412-generation-overlay{background:rgba(19,44,39,.9)}html[data-theme="dark"] .sx412-generation-card,html[data-theme="dark"] .sx412-generation-success,.cp-body[data-theme="dark"] .sx412-generation-card,.cp-body[data-theme="dark"] .sx412-generation-success{border-color:#294840;background:#102f29;color:#f1fffb}


/* Servixo 4.18.16, public hero readability and employee service controls */
.sx-home-hero .sx-hero-card h1{letter-spacing:-.045em!important;line-height:1.01!important;max-width:11.5ch!important;text-wrap:balance}
@media(max-width:620px){.sx-home-hero .sx-hero-card h1{font-size:clamp(40px,12.5vw,55px)!important;letter-spacing:-.035em!important;line-height:1.035!important;max-width:10.8ch!important}.sx-home-hero .sx-hero-card{padding:26px 24px!important}}
@media(max-width:420px){.sx-home-hero .sx-hero-card h1{font-size:clamp(38px,12vw,50px)!important;line-height:1.045!important;letter-spacing:-.025em!important}}


/* Servixo 4.18.17, Company Refresh parity and SMS audience contrast */
.cp-header-actions>.sx-refresh-servixo{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;white-space:nowrap!important}
.cp-header-actions>.sx-refresh-servixo .sx-refresh-icon{display:grid!important;place-items:center!important}
.cp-header-actions>.sx-refresh-servixo .sx-refresh-icon svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform-origin:center!important}
.cp-header-actions>.sx-refresh-servixo[aria-busy="true"] .sx-refresh-icon svg{animation:sx418spin .72s linear infinite!important}
.sms-audience{border:1px solid rgba(8,54,50,.16)!important;font-weight:950!important;opacity:1!important;text-shadow:none!important}
.sms-audience-client{background:#0b625a!important;color:#ffffff!important;border-color:#084d47!important}
.sms-audience-company{background:#075f78!important;color:#ffffff!important;border-color:#064d61!important}
.sms-audience-employee{background:#0a6079!important;color:#ffffff!important;border-color:#084c60!important}
.sms-audience-admin,.sms-audience-system{background:#203841!important;color:#ffffff!important;border-color:#172a31!important}
[data-cp-mode="dark"] .sms-audience-client,[data-theme="dark"] .sms-audience-client{background:#9ce8dc!important;color:#063f39!important;border-color:#69cdbf!important}
[data-cp-mode="dark"] .sms-audience-company,[data-theme="dark"] .sms-audience-company,[data-cp-mode="dark"] .sms-audience-employee,[data-theme="dark"] .sms-audience-employee{background:#98def1!important;color:#073d4a!important;border-color:#68bfd7!important}
@media(max-width:1180px){
  .cp-header-actions>.sx-refresh-servixo{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;padding:7px!important;border-radius:14px!important}
  .cp-header-actions>.sx-refresh-servixo .sx-refresh-label{display:none!important}
  .cp-header-actions>.sx-refresh-servixo .sx-refresh-icon{width:30px!important;height:30px!important}
  .cp-header-actions>.sx-refresh-servixo .sx-refresh-icon svg{width:20px!important;height:20px!important}
}
@media(max-width:620px){.cp-header-actions>.sx-refresh-servixo{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important}}

/* Servixo 4.18.18, shared Refresh parity and scroll-safe progress */
.sx-refresh-overlay{position:fixed!important;inset:0!important;z-index:22000!important;display:grid!important;place-items:center!important;padding:20px!important;background:rgba(6,35,31,.46)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}
.sx-refresh-overlay[hidden]{display:none!important}
.sx-refresh-overlay-card{width:min(420px,calc(100vw - 32px))!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:14px!important;align-items:center!important;padding:22px 24px!important;border:1px solid var(--sx-line,var(--cp-line,#d6e5e1))!important;border-radius:22px!important;background:var(--sx-card,var(--cp-card,#fff))!important;box-shadow:0 22px 70px rgba(4,42,36,.22)!important;color:var(--sx-ink,var(--cp-ink,#0c241f))!important}
.sx-refresh-overlay-copy{min-width:0!important;display:grid!important;gap:4px!important}
.sx-refresh-overlay-card strong{font-size:18px!important;line-height:1.25!important;color:inherit!important}
.sx-refresh-overlay-card small{color:var(--sx-muted,var(--cp-muted,#617873))!important;font-size:12px!important;line-height:1.45!important}
.sx-refresh-spinner{width:32px!important;height:32px!important;border:3px solid color-mix(in srgb,var(--sx-primary,var(--cp-primary,#0b9387)) 20%,transparent)!important;border-right-color:var(--sx-primary,var(--cp-primary,#0b9387))!important;border-radius:50%!important;animation:sx418spin .72s linear infinite!important}
.sx-refresh-overlay-identity{display:inline-flex!important;align-items:center!important;gap:8px!important;width:max-content!important;max-width:100%!important;margin:0 0 3px!important;color:var(--sx-muted,var(--cp-muted,#617873))!important;font-size:11px!important;font-weight:900!important;letter-spacing:.03em!important}
.sx-refresh-overlay-identity[hidden]{display:none!important}
.sx-refresh-overlay-logo{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-width:30px!important;border:1px solid var(--sx-line,var(--cp-line,#d6e5e1))!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 5px 14px rgba(4,42,36,.08)!important}
.sx-refresh-overlay-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:3px!important}
.sx-refresh-overlay-name{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html[data-theme="dark"] .sx-refresh-overlay-card{background:var(--sx-card,var(--cp-card,#102a25))!important}
@media(max-width:430px){.sx-refresh-overlay-card{padding:19px 18px!important}.sx-refresh-overlay-card strong{font-size:17px!important}.sx-refresh-overlay-logo{width:28px!important;height:28px!important;min-width:28px!important}}
@keyframes sx418spin{to{transform:rotate(360deg)}}
.cp-header-actions>.sx-refresh-servixo{min-height:46px!important;padding:0 16px!important;border-color:color-mix(in srgb,var(--sx-primary,var(--cp-primary,#0b9387)) 24%,var(--sx-line,var(--cp-line,#d6e5e1)))!important;background:linear-gradient(135deg,color-mix(in srgb,var(--sx-card,var(--cp-card,#fff)) 94%,var(--sx-primary,var(--cp-primary,#0b9387)) 6%),var(--sx-card,var(--cp-card,#fff)))!important;box-shadow:0 10px 26px rgba(9,94,84,.09)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
.cp-header-actions>.sx-refresh-servixo:hover{transform:translateY(-1px)!important;border-color:color-mix(in srgb,var(--sx-primary,var(--cp-primary,#0b9387)) 48%,var(--sx-line,var(--cp-line,#d6e5e1)))!important;box-shadow:0 14px 34px rgba(9,94,84,.14)!important}
.cp-header-actions>.sx-refresh-servixo .sx-refresh-icon{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;flex:0 0 30px!important;border-radius:10px!important;background:linear-gradient(135deg,var(--sx-primary,var(--cp-primary,#0b9387)),#12aeea)!important;color:#fff!important;box-shadow:0 7px 18px rgba(18,174,234,.2)!important}
.cp-header-actions>.sx-refresh-servixo .sx-refresh-label{font-weight:900!important}

/* Servixo 4.18.20, platform-wide Light/Dark theme normalization */
html[data-theme="light"]{color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}

/* Keep Company Portal and the shared Servixo component system on one appearance state. */
body.cp-body[data-theme="light"],body.cp-body[data-cp-mode="light"]{
  --sx-bg:var(--cp-bg,#f3fbf8);
  --sx-bg-2:var(--cp-bg-2,#fff8e7);
  --sx-card:var(--cp-card,#fff);
  --sx-card-2:var(--cp-card-2,rgba(255,255,255,.78));
  --sx-ink:var(--cp-ink,#0b241f);
  --sx-muted:var(--cp-muted,#66807a);
  --sx-line:var(--cp-line,#d8e9e3);
  --sx-primary:var(--cp-primary,#0f766e);
  --sx-primary-2:color-mix(in srgb,var(--cp-primary,#0f766e) 78%,#082c27);
  --sx-shadow:var(--cp-shadow,0 24px 70px rgba(8,43,37,.12));
  --sx-tools-bg:var(--cp-card,#fff);
  --sx-tools-text:var(--cp-ink,#0b241f);
  --sx-tools-muted:var(--cp-muted,#66807a);
  --sx-tools-line:var(--cp-line,#d8e9e3);
  --sx-tools-primary:var(--cp-primary,#0f766e);
  color-scheme:light;
}
body.cp-body[data-theme="dark"],body.cp-body[data-cp-mode="dark"]{
  --cp-bg:#061411;
  --cp-bg-2:#0b1b18;
  --cp-card:#0d211d;
  --cp-card-2:rgba(13,33,29,.88);
  --cp-ink:#effffb;
  --cp-muted:#a4bcb6;
  --cp-line:#28483f;
  --cp-secondary:#10312a;
  --cp-shadow:0 24px 70px rgba(0,0,0,.44);
  --sx-bg:var(--cp-bg);
  --sx-bg-2:var(--cp-bg-2);
  --sx-card:var(--cp-card);
  --sx-card-2:var(--cp-card-2);
  --sx-ink:var(--cp-ink);
  --sx-muted:var(--cp-muted);
  --sx-line:var(--cp-line);
  --sx-primary:color-mix(in srgb,var(--cp-primary,#0f766e) 68%,#48e0cf 32%);
  --sx-primary-2:var(--cp-primary,#0f766e);
  --sx-shadow:var(--cp-shadow);
  --sx-tools-bg:var(--cp-card);
  --sx-tools-text:var(--cp-ink);
  --sx-tools-muted:var(--cp-muted);
  --sx-tools-line:var(--cp-line);
  --sx-tools-primary:color-mix(in srgb,var(--cp-primary,#0f766e) 70%,#54e4d4 30%);
  color-scheme:dark;
}

/* Shared controls must inherit the active surface instead of forcing a light field. */
html[data-theme="dark"] :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea),
body.cp-body[data-theme="dark"] :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea),
body.cp-body[data-cp-mode="dark"] :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea){
  color-scheme:dark;
}
html[data-theme="dark"] :where(input,select,textarea)::placeholder,
body.cp-body[data-theme="dark"] :where(input,select,textarea)::placeholder,
body.cp-body[data-cp-mode="dark"] :where(input,select,textarea)::placeholder{color:color-mix(in srgb,currentColor 58%,transparent)!important;opacity:1}
html[data-theme="dark"] select option,
body.cp-body[data-theme="dark"] select option,
body.cp-body[data-cp-mode="dark"] select option{background:#102923;color:#effffb}

/* Platform Admin, public surfaces, Business Center, Billing, reports and shared modules. */
html[data-theme="dark"] body.sx-body{background:radial-gradient(circle at top left,rgba(18,174,234,.10),transparent 30rem),radial-gradient(circle at bottom right,rgba(247,201,72,.08),transparent 28rem),linear-gradient(135deg,var(--sx-bg),var(--sx-bg-2));color:var(--sx-ink)}
html[data-theme="dark"] :where(.sx-btn-ghost,.sx-account-toggle,.sx-account-module,.employee-account-module,.sx-qb-kpis article,.sx-subscription-product-filter button,.sx-inline-person-create){background:color-mix(in srgb,var(--sx-card) 92%,var(--sx-primary) 8%)!important;border-color:var(--sx-line)!important;color:var(--sx-ink)!important}
html[data-theme="dark"] .sx-account-toggle button.active{background:color-mix(in srgb,var(--sx-card) 84%,var(--sx-primary) 16%)!important;color:var(--sx-ink)!important;box-shadow:0 8px 24px rgba(0,0,0,.2)!important}
html[data-theme="dark"] :where(.sx-billing48-nav,.sx-public-billing-nav){background:color-mix(in srgb,var(--sx-card) 95%,transparent)!important;border-color:var(--sx-line)!important;box-shadow:0 16px 36px rgba(0,0,0,.18)!important}
html[data-theme="dark"] :where(.sx-billing48 .sx-square-card-shell,.sx-public-pay-card .sx-square-card-shell,.sx-square-card-shell,.sx-human-check){background:var(--sx-card)!important;border-color:var(--sx-line)!important;color:var(--sx-ink)!important}
html[data-theme="dark"] :where(.sx-registration-kpis article,.sx-registration-risk){background:color-mix(in srgb,var(--sx-card) 94%,var(--sx-primary) 6%)!important;border-color:var(--sx-line)!important;color:var(--sx-ink)!important}
html[data-theme="dark"] .sx-registration-delete-options label:has(input:checked){background:rgba(213,84,93,.12)!important;border-color:rgba(255,126,137,.42)!important}
html[data-theme="dark"] .sx-workspace-activity-list span{background:rgba(191,143,31,.15)!important;color:#ffe7a1!important}
html[data-theme="dark"] :where(.sx-panel,.sx-card,.sx-stat,.sx-login-panel,.sx-update-summary article,.sx-integration-card,.sx-subscription-card,.sx-billing-kpis article,.sx-billing-status-grid article,.sx-payment-method){box-shadow:0 14px 38px rgba(0,0,0,.22)}

/* Status colors are semantic, but tune them for dark surfaces. */
html[data-theme="dark"] :where(.service-status.overdue,.cp-status.overdue,.sx-aging-badge.is-overdue_30,.sx-aging-badge.is-overdue_60,.sx-aging-badge.is-overdue_90,.sx-aging-badge.is-overdue_90_plus){background:rgba(203,65,65,.18)!important;color:#ffb8b8!important;border-color:rgba(255,127,127,.28)!important}
html[data-theme="dark"] :where(.service-status.in-progress,.cp-status.in-progress,.sx-aging-badge.is-due_soon,.sx-aging-badge.is-due_today){background:rgba(204,151,36,.16)!important;color:#ffe4a0!important;border-color:rgba(230,181,70,.28)!important}

/* Company Portal shell and every common workspace surface. */
body.cp-body[data-theme="dark"],body.cp-body[data-cp-mode="dark"]{background:radial-gradient(circle at top left,rgba(18,174,234,.09),transparent 30rem),radial-gradient(circle at bottom right,rgba(247,201,72,.06),transparent 28rem),linear-gradient(135deg,var(--cp-bg),var(--cp-bg-2))!important;color:var(--cp-ink)!important}
body.cp-body[data-theme="dark"] .cp-sidebar,body.cp-body[data-cp-mode="dark"] .cp-sidebar{background:rgba(7,24,20,.94)!important;border-color:var(--cp-line)!important;box-shadow:12px 0 55px rgba(0,0,0,.26)!important}
body.cp-body[data-theme="dark"] .cp-topbar,body.cp-body[data-cp-mode="dark"] .cp-topbar{background:rgba(6,20,17,.92)!important;border-color:var(--cp-line)!important}
body.cp-body[data-theme="dark"] :where(.cp-card,.cp-panel,.cp-kpi,.cp-service-card,.cp-modal-dialog,.cp-account-card,.cp-module,.cp-module-button,.cp-row,.cp-day-service,.cp-option,.cp-photo-grid>a,.cp-money-summary),
body.cp-body[data-cp-mode="dark"] :where(.cp-card,.cp-panel,.cp-kpi,.cp-service-card,.cp-modal-dialog,.cp-account-card,.cp-module,.cp-module-button,.cp-row,.cp-day-service,.cp-option,.cp-photo-grid>a,.cp-money-summary){background:color-mix(in srgb,var(--cp-card) 94%,var(--cp-primary) 6%)!important;border-color:var(--cp-line)!important;color:var(--cp-ink)!important;box-shadow:0 14px 38px rgba(0,0,0,.18)}
body.cp-body[data-theme="dark"] :where(.cp-row,.cp-module-button,.cp-calendar-grid.cp-calendar-pro>.cp-calendar-day),
body.cp-body[data-cp-mode="dark"] :where(.cp-row,.cp-module-button,.cp-calendar-grid.cp-calendar-pro>.cp-calendar-day){background:rgba(255,255,255,.035)!important}
body.cp-body[data-theme="dark"] :where(.cp-theme,.cp-theme button.active,.cp-account-toggle,.sx-account-toggle),
body.cp-body[data-cp-mode="dark"] :where(.cp-theme,.cp-theme button.active,.cp-account-toggle,.sx-account-toggle){background:color-mix(in srgb,var(--cp-card) 90%,var(--cp-primary) 10%)!important;border-color:var(--cp-line)!important;color:var(--cp-ink)!important}
body.cp-body[data-theme="dark"] :where(.cp-billing-nav,.cp-report-nav),body.cp-body[data-cp-mode="dark"] :where(.cp-billing-nav,.cp-report-nav){background:rgba(12,34,29,.96)!important;border-color:var(--cp-line)!important;box-shadow:0 16px 36px rgba(0,0,0,.22)!important}
body.cp-body[data-theme="dark"] .cp-help-dot,body.cp-body[data-cp-mode="dark"] .cp-help-dot{background:var(--cp-card)!important;border-color:color-mix(in srgb,var(--cp-primary) 45%,var(--cp-line))!important;color:color-mix(in srgb,var(--cp-primary) 62%,#d6fff8)!important}
body.cp-body[data-theme="dark"] :where(.cp-inline-contact-capture.needs-email,.employee-pay-review-list),body.cp-body[data-cp-mode="dark"] :where(.cp-inline-contact-capture.needs-email,.employee-pay-review-list){background:rgba(187,135,24,.11)!important;border-color:rgba(225,177,72,.35)!important;color:#ffe9b0!important}
body.cp-body[data-theme="dark"] .employee-pay-review-list article,body.cp-body[data-cp-mode="dark"] .employee-pay-review-list article{background:rgba(255,255,255,.035)!important;border-color:var(--cp-line)!important;color:var(--cp-ink)!important}
body.cp-body[data-theme="dark"] .cp-product-subscription .cp-detail-grid>div,body.cp-body[data-cp-mode="dark"] .cp-product-subscription .cp-detail-grid>div{background:rgba(255,255,255,.035)!important;border-color:var(--cp-line)!important;color:var(--cp-ink)!important}
body.cp-body[data-theme="dark"] :where(.cp-form-message.error,.cp-pay-error),body.cp-body[data-cp-mode="dark"] :where(.cp-form-message.error,.cp-pay-error){background:rgba(190,52,52,.16)!important;border-color:rgba(238,103,103,.34)!important;color:#ffd1d1!important}
body.cp-body[data-theme="dark"] .cp-btn-danger,body.cp-body[data-cp-mode="dark"] .cp-btn-danger{background:rgba(190,52,52,.16)!important;color:#ffbcbc!important;border-color:rgba(238,103,103,.34)!important}
body.cp-body[data-theme="dark"] .cp-btn-danger:hover,body.cp-body[data-cp-mode="dark"] .cp-btn-danger:hover{background:rgba(190,52,52,.26)!important}

/* Company forms. Explicitly normalize all control types used by operational modules. */
body.cp-body[data-theme="dark"] :where(.cp-form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),.cp-form select,.cp-form textarea,.cp-filter-box input,.cp-filter-box select,.cp-service-filterbar input,.cp-service-filterbar select,.cp-search-input,.cp-search-box input,.cp-billing-form input,.cp-billing-form select,.cp-billing-form textarea),
body.cp-body[data-cp-mode="dark"] :where(.cp-form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),.cp-form select,.cp-form textarea,.cp-filter-box input,.cp-filter-box select,.cp-service-filterbar input,.cp-service-filterbar select,.cp-search-input,.cp-search-box input,.cp-billing-form input,.cp-billing-form select,.cp-billing-form textarea){background:var(--cp-card)!important;color:var(--cp-ink)!important;border-color:var(--cp-line)!important;box-shadow:none!important}
body.cp-body[data-theme="dark"] :where(.cp-form input,.cp-form select,.cp-form textarea,.cp-filter-box input,.cp-filter-box select,.cp-service-filterbar input,.cp-service-filterbar select):focus,
body.cp-body[data-cp-mode="dark"] :where(.cp-form input,.cp-form select,.cp-form textarea,.cp-filter-box input,.cp-filter-box select,.cp-service-filterbar input,.cp-service-filterbar select):focus{border-color:color-mix(in srgb,var(--cp-primary) 72%,#68e0d2)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--cp-primary) 18%,transparent)!important}
body.cp-body[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,body.cp-body[data-theme="dark"] input[type="time"]::-webkit-calendar-picker-indicator,body.cp-body[data-cp-mode="dark"] input[type="date"]::-webkit-calendar-picker-indicator,body.cp-body[data-cp-mode="dark"] input[type="time"]::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.35);opacity:.8}

/* Keep document/PDF/signature canvases intentionally paper-white, but make their chrome follow the theme. */
body.cp-body[data-theme="dark"] :where(.cp-document-preview,.cp-signature-pad,.employee-pay-preview-frame,.sx-real-invoice-sheet,.sx-company-invoice-logo),
body.cp-body[data-cp-mode="dark"] :where(.cp-document-preview,.cp-signature-pad,.employee-pay-preview-frame,.sx-real-invoice-sheet,.sx-company-invoice-logo){color-scheme:light}
body.cp-body[data-theme="dark"] :where(.sx412-preview-modal,.sx412-preview-actions),body.cp-body[data-cp-mode="dark"] :where(.sx412-preview-modal,.sx412-preview-actions){background:var(--cp-card)!important;border-color:var(--cp-line)!important;color:var(--cp-ink)!important}
body.cp-body[data-theme="dark"] .sx412-preview-content,body.cp-body[data-cp-mode="dark"] .sx412-preview-content{background:#182f2b!important}

/* Legal Center inline rules must not force light cards. */
body.cp-body[data-theme="dark"] .legal-document-card,body.cp-body[data-cp-mode="dark"] .legal-document-card{background:color-mix(in srgb,var(--cp-card) 92%,var(--cp-primary) 8%)!important;color:var(--cp-ink)!important;border-color:var(--cp-line)!important}
body.cp-body[data-theme="dark"] .legal-document-copy span,body.cp-body[data-cp-mode="dark"] .legal-document-copy span{color:var(--cp-muted)!important}
body.cp-body[data-theme="dark"] .legal-document-arrow,body.cp-body[data-cp-mode="dark"] .legal-document-arrow{background:color-mix(in srgb,var(--cp-card) 80%,var(--cp-primary) 20%)!important;color:#8af0e3!important}

/* Employee Portal dark-mode gaps left by feature-specific light styles. */
html[data-theme="dark"] body.employee-pro-page :where(.employee-secondary-button,.employee-theme button.active){background:var(--ep-surface)!important;color:var(--ep-text)!important;border-color:var(--ep-line)!important}
html[data-theme="dark"] body.employee-pro-page .employee-property-note{background:rgba(194,144,34,.14)!important;border-color:rgba(230,181,70,.34)!important;color:#ffe7a1!important}
html[data-theme="dark"] body.employee-pro-page .detail-empty-line{color:var(--ep-muted)!important;border-color:var(--ep-line)!important;background:rgba(255,255,255,.025)}
html[data-theme="dark"] body.employee-pro-page :where(.employee-sidebar,.employee-profile-card,.employee-topbar,.employee-metrics article,.employee-card,.employee-panel,.employee-sent-reports-card,.employee-sent-report){border-color:var(--ep-line)!important}
html[data-theme="dark"] body.employee-pro-page .employee-topbar{background:color-mix(in srgb,var(--ep-surface) 92%,transparent)!important;box-shadow:0 12px 36px rgba(0,0,0,.2)!important}
html[data-theme="dark"] body.employee-pro-page :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea){background:var(--ep-surface)!important;color:var(--ep-text)!important;border-color:var(--ep-line)!important}
html[data-theme="dark"] body.employee-pro-page :where(input,textarea)::placeholder{color:var(--ep-muted)!important;opacity:.78}

/* Shared dialogs, communications, dropdowns and file controls. */
html[data-theme="dark"] .sx-dialog-card[data-kind="error"] .sx-dialog-icon{background:rgba(220,38,38,.18)!important;color:#ff9b9b!important}
html[data-theme="dark"] .sx-dialog-card[data-kind="warning"] .sx-dialog-icon{background:rgba(180,83,9,.20)!important;color:#ffd188!important}
html[data-theme="dark"] .sx-file-input-shell input[type=file]::file-selector-button{background:color-mix(in srgb,var(--sx-tools-bg) 84%,var(--sx-tools-primary) 16%)!important;border-color:var(--sx-tools-line)!important;color:var(--sx-tools-text)!important}
html[data-theme="dark"] :where(.sx412-duplicate-card,.sx-duplicate-card,.sx412-aging-grid article){background:var(--sx-card)!important;border-color:var(--sx-line)!important;color:var(--sx-ink)!important}
html[data-theme="dark"] :where(.sx-duplicate-card button,.sx-duplicate-actions button,.sx-message-delete,.sx-thread-delete,.sx-thread-restore){background:var(--sx-card)!important;border-color:var(--sx-line)!important;color:var(--sx-ink)!important}

/* Autofill should not inject a bright browser-colored field into dark mode. */
html[data-theme="dark"] input:-webkit-autofill,html[data-theme="dark"] textarea:-webkit-autofill,html[data-theme="dark"] select:-webkit-autofill,
body.cp-body[data-theme="dark"] input:-webkit-autofill,body.cp-body[data-cp-mode="dark"] input:-webkit-autofill{
  -webkit-text-fill-color:currentColor!important;
  transition:background-color 9999s ease-out 0s!important;
  caret-color:currentColor!important;
}

/* Light mode normalization also removes accidental dark controls left by mixed selectors. */
html[data-theme="light"] body.sx-body :where(.sx-input,.sx-select,.sx-textarea,.sx-dialog-input,.sx-comm-form input,.sx-comm-form select,.sx-comm-form textarea){background:var(--sx-card,#fff);color:var(--sx-ink,#0c241f);border-color:var(--sx-line,#d8e8e3)}
body.cp-body[data-theme="light"] :where(.cp-form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),.cp-form select,.cp-form textarea,.cp-filter-box input,.cp-filter-box select,.cp-service-filterbar input,.cp-service-filterbar select),body.cp-body[data-cp-mode="light"] :where(.cp-form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),.cp-form select,.cp-form textarea,.cp-filter-box input,.cp-filter-box select,.cp-service-filterbar input,.cp-service-filterbar select){background:var(--cp-card,#fff)!important;color:var(--cp-ink,#0b241f)!important;border-color:var(--cp-line,#d8e9e3)!important}

/* Servixo 4.18.20, minimum contrast for secondary text in Light Theme. */
html[data-theme="light"] body.sx-body{--sx-muted:#60736f}
body.cp-body[data-theme="light"],body.cp-body[data-cp-mode="light"]{--cp-muted:#60736f;--sx-muted:#60736f}
html[data-theme="light"] body.employee-pro-page{--ep-muted:#60736f}

/* Servixo 4.18.24, minimal Platform Admin additions. Keep the 4.18.23 header and Business Center layout unchanged. */
.sx-side-brand-line{display:flex;align-items:center;gap:7px;min-width:0}.sx-version-badge{display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:2px 6px;border:1px solid color-mix(in srgb,var(--sx-primary) 24%,var(--sx-line));border-radius:999px;background:color-mix(in srgb,var(--sx-primary) 8%,var(--sx-card));color:var(--sx-primary);font-size:9px;font-style:normal;font-weight:900;letter-spacing:.03em;line-height:1;white-space:nowrap}.sx-nav a.sx-nav-secondary{height:46px;font-size:13px}.sx-nav a.sx-nav-secondary:not(.active){opacity:.9}.sx-company-audit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.sx-company-audit-head>div{min-width:0}.sx-company-audit-eyebrow{padding:0!important;background:transparent!important;border-radius:0!important;margin:0 0 14px!important;line-height:1!important}.sx-company-audit-head h2{margin:0}.sx-company-audit-clear-form{margin:0}.sx-company-audit-clear-form .sx-btn{white-space:nowrap}.sx-audit-row-failed{cursor:pointer;transition:background .16s ease,box-shadow .16s ease}.sx-audit-row-failed:hover,.sx-audit-row-failed:focus-visible{background:color-mix(in srgb,#f7c948 8%,var(--sx-card));outline:none;box-shadow:inset 3px 0 0 color-mix(in srgb,#d79518 72%,transparent)}.sx-audit-inspect-hint{display:block;margin-top:5px;color:var(--sx-primary);font-size:11px;font-weight:800}.sx-company-audit-modal .sx-modal-card{width:min(860px,calc(100vw - 32px));max-height:min(88vh,900px);overflow:auto}.sx-company-audit-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sx-company-audit-detail-grid article{display:grid;gap:5px;padding:13px 14px;border:1px solid var(--sx-line);border-radius:14px;background:color-mix(in srgb,var(--sx-card) 96%,var(--sx-primary) 4%);min-width:0}.sx-company-audit-detail-grid span,.sx-company-audit-reason>span{font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--sx-muted)}.sx-company-audit-detail-grid strong{overflow-wrap:anywhere}.sx-company-audit-reason{margin-top:12px;padding:14px 15px;border:1px solid var(--sx-line);border-radius:15px;background:var(--sx-card)}.sx-company-audit-reason p{margin:7px 0 0!important;color:var(--sx-ink)!important;line-height:1.55!important;overflow-wrap:anywhere}.sx-company-audit-metadata{margin-top:12px;border:1px solid var(--sx-line);border-radius:15px;background:var(--sx-card);overflow:hidden}.sx-company-audit-metadata summary{cursor:pointer;padding:13px 15px;font-weight:850}.sx-company-audit-metadata pre{margin:0;padding:14px 15px;border-top:1px solid var(--sx-line);max-height:280px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--sx-muted)}
@media(max-width:700px){.sx-company-audit-head{display:grid}.sx-company-audit-clear-form .sx-btn{width:100%}.sx-company-audit-detail-grid{grid-template-columns:1fr}.sx-version-badge{font-size:8px;padding:2px 5px}}

/* Servixo 4.18.25, Platform Admin Refresh is icon-only at every viewport. */
.sx-main-top>.sx-actions>.sx-refresh-servixo.sx-refresh-icon-only{
  display:inline-grid!important;
  place-items:center!important;
  width:46px!important;
  min-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  padding:7px!important;
  gap:0!important;
  border-radius:14px!important;
}
.sx-main-top>.sx-actions>.sx-refresh-servixo.sx-refresh-icon-only .sx-refresh-label{display:none!important}
.sx-main-top>.sx-actions>.sx-refresh-servixo.sx-refresh-icon-only .sx-refresh-icon{
  display:grid!important;
  place-items:center!important;
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
}
@media(max-width:620px){
  .sx-main-top>.sx-actions>.sx-refresh-servixo.sx-refresh-icon-only{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:6px!important;
  }
}

/* Servixo 4.18.26, subscription lifecycle, invoice actions, and payment methods polish */
.sx-billing48 [data-subscription-select]{position:relative;overflow:hidden}
.sx-billing48 [data-subscription-select]::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:#c9d7d3}
.sx-billing48 [data-subscription-select][data-status="active"]::before{background:#0b8b78}
.sx-billing48 [data-subscription-select][data-status="trial"]::before{background:#d6a126}
.sx-billing48 [data-subscription-select][data-status="past_due"]::before{background:#c34c3c}
.sx-billing48 [data-subscription-select][data-status="paused"]::before{background:#788b86}
.sx-billing48 [data-subscription-select][data-status="cancelled"]::before,.sx-billing48 [data-subscription-select][data-status="expired"]::before{background:#9aa9a5}
.sx-subscription-lifecycle{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.sx-subscription-lifecycle[hidden]{display:none!important}
.sx415-subscription-overrides{margin:4px 0 0;border:1px solid var(--sx-border,#d8e7e2);border-radius:18px;background:color-mix(in srgb,var(--sx-card,#fff) 94%,#f0f8f5 6%);overflow:hidden}
.sx415-subscription-overrides>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;cursor:pointer;list-style:none;font-weight:900;color:var(--sx-text,#0d2d27)}
.sx415-subscription-overrides>summary::-webkit-details-marker{display:none}
.sx415-subscription-overrides>summary::after{content:"+";display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:1px solid var(--sx-border,#d8e7e2);border-radius:10px;background:var(--sx-card,#fff);font-size:18px;line-height:1}
.sx415-subscription-overrides[open]>summary::after{content:"−"}
.sx415-subscription-overrides>summary small{margin-left:auto;color:var(--sx-muted,#667a75);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.sx415-subscription-overrides-body{padding:0 18px 18px;border-top:1px solid var(--sx-border,#d8e7e2)}
.sx415-subscription-overrides-body>p{margin:14px 0 16px;color:var(--sx-muted,#667a75);line-height:1.55}
.sx-subscription-cancel-modal .sx-modal-card{width:min(760px,100%)}
.sx-subscription-cancel-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}
.sx-subscription-cancel-summary article{display:grid;gap:5px;padding:14px;border:1px solid var(--sx-border,#d8e7e2);border-radius:15px;background:color-mix(in srgb,var(--sx-card,#fff) 92%,#edf7f4 8%)}
.sx-subscription-cancel-summary span{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--sx-muted,#667a75)}
.sx-subscription-cancel-choices{display:grid;gap:10px;margin:0 0 18px;padding:0;border:0}
.sx-subscription-cancel-choices legend{margin-bottom:10px;font-weight:900}
.sx-subscription-cancel-choices label{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--sx-border,#d8e7e2);border-radius:16px;background:var(--sx-card,#fff);cursor:pointer}
.sx-subscription-cancel-choices label:has(input:checked){border-color:#0d9e92;background:color-mix(in srgb,var(--sx-card,#fff) 91%,#0d9e92 9%)}
.sx-subscription-cancel-choices label:has(input:disabled){opacity:.58;cursor:not-allowed}
.sx-subscription-cancel-choices input{margin-top:3px;accent-color:#0d8f82}
.sx-subscription-cancel-choices span{display:grid;gap:4px}.sx-subscription-cancel-choices small{color:var(--sx-muted,#667a75);line-height:1.45}
.sx-billing48 .sx-invoice-item{grid-template-columns:minmax(220px,1fr) 90px 130px 116px!important;align-items:start!important}
.sx-billing48 .sx-item-remove-cell{display:grid;grid-template-rows:auto 56px auto;gap:8px;align-content:start;min-width:0}
.sx-billing48 .sx-item-remove-cell>span{visibility:hidden;font-weight:800;line-height:1.2}
.sx-billing48 .sx-item-remove-cell>.sx-btn{height:56px;min-height:56px;width:100%;margin:0!important;padding:0 14px;align-self:stretch}
.sx-billing48 .sx-item-remove-cell>small{visibility:hidden;min-height:1em}
.sx-payment-methods-panel .sx-panel-head,.sx-payment-methods-panel .sx-panel-head>div,.sx-payment-methods-panel .sx-form,.sx-payment-methods-panel label,.sx-payment-methods-panel .sx-empty{text-align:left!important}
.sx-payment-methods-form{gap:18px!important}
.sx-payment-methods-form .sx-form-row{gap:14px!important}
.sx-payment-methods-form .sx-square-card-shell{margin:2px 0 4px!important}
.sx-payment-methods-form [data-square-save-card]{margin-top:6px!important}
.sx-payment-methods-saved{margin-top:20px;padding-top:18px;border-top:1px solid var(--sx-border,#d8e7e2)}
.sx-payment-methods-saved .sx-empty{padding:0 2px!important}
html[data-theme="dark"] .sx415-subscription-overrides,html[data-theme="dark"] .sx-subscription-cancel-summary article{background:color-mix(in srgb,var(--sx-card,#102f29) 92%,#0d8f82 8%)}
@media(max-width:760px){
  .sx-subscription-lifecycle{justify-content:stretch;flex-wrap:wrap}.sx-subscription-lifecycle .sx-btn{flex:1 1 180px}
  .sx-subscription-cancel-summary{grid-template-columns:1fr}
  .sx-billing48 .sx-invoice-item{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .sx-billing48 .sx-item-description{grid-column:1/-1}.sx-billing48 .sx-item-remove-cell{grid-column:2}
}
@media(max-width:520px){
  .sx-billing48 .sx-invoice-item{grid-template-columns:1fr!important}
  .sx-billing48 .sx-item-description,.sx-billing48 .sx-item-remove-cell{grid-column:1!important}
  .sx-billing48 .sx-item-remove-cell{grid-template-rows:auto 52px}.sx-billing48 .sx-item-remove-cell>span{display:none}.sx-billing48 .sx-item-remove-cell>.sx-btn{height:52px;min-height:52px}.sx-billing48 .sx-item-remove-cell>small{display:none}
  .sx415-subscription-overrides>summary{padding:14px}.sx415-subscription-overrides-body{padding:0 14px 14px}
}

/* Servixo 4.18.27, flexible mixed invoice builder */
.sx-billing48 .sx-invoice-primary-fields{grid-template-columns:minmax(0,1fr)!important}
.sx-billing48 .sx-invoice-subscription-card .sx-invoice-recurring-grid{grid-template-columns:minmax(0,1fr)!important}
.sx-billing48 [data-invoice-catalog-card] [data-add-selected-product]{margin-top:14px!important;min-width:210px}
.sx-billing48 .sx-invoice-subscription-card[hidden]{display:none!important}
@media(max-width:700px){.sx-billing48 [data-invoice-catalog-card] [data-add-selected-product]{width:100%;min-width:0}}

/* Servixo 4.18.28, invoice truth, generation completion, and refresh polish. */
.sx-pill.sx-pill-danger{
  border-color:color-mix(in srgb,#c93636 34%,var(--sx-line,#d7e5e1))!important;
  background:color-mix(in srgb,#c93636 11%,var(--sx-card,#fff))!important;
  color:#a82323!important;
}
html[data-theme="dark"] .sx-pill.sx-pill-danger{
  border-color:rgba(255,116,116,.38)!important;
  background:rgba(199,54,54,.20)!important;
  color:#ffaaaa!important;
}
.sx-billing48 .sx-invoice-registry{min-width:1040px!important}

.sx-invoice-complete-modal .sx-modal-card{width:min(760px,calc(100vw - 32px))!important;overflow:hidden!important}
.sx-invoice-complete-hero{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:18px;padding:4px 2px 18px}
.sx-invoice-complete-check{display:grid;place-items:center;width:60px;height:60px;border-radius:20px;background:linear-gradient(145deg,#0a806f,#12a894);color:#fff;font-size:29px;font-weight:950;box-shadow:0 14px 30px rgba(10,128,111,.22)}
.sx-invoice-complete-hero h2{margin:4px 0 5px!important}
.sx-invoice-complete-hero p{margin:0!important;color:var(--sx-muted,#617873)!important;line-height:1.5!important}
.sx-invoice-complete-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}
.sx-invoice-complete-summary>div{display:grid;gap:6px;min-width:0;padding:14px 15px;border:1px solid var(--sx-line,#d7e5e1);border-radius:16px;background:color-mix(in srgb,var(--sx-card,#fff) 94%,#0e9688 6%)}
.sx-invoice-complete-summary small{color:var(--sx-muted,#617873);font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.sx-invoice-complete-summary strong{min-width:0;overflow-wrap:anywhere;font-size:15px;color:var(--sx-ink,#0c241f)}
.sx-invoice-complete-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
.sx-invoice-complete-actions .sx-btn{width:100%;justify-content:center;text-align:center}
html[data-theme="dark"] .sx-invoice-complete-summary>div{background:color-mix(in srgb,var(--sx-card,#102a25) 92%,#0e9688 8%)}
@media(max-width:620px){
  .sx-invoice-complete-hero{grid-template-columns:52px minmax(0,1fr);gap:14px}.sx-invoice-complete-check{width:50px;height:50px;border-radius:16px;font-size:24px}
  .sx-invoice-complete-summary{grid-template-columns:1fr}.sx-invoice-complete-actions{grid-template-columns:1fr!important}
}

.sx-invoice-generation-layer{background:rgba(5,31,27,.52)!important;backdrop-filter:blur(12px) saturate(118%)!important;-webkit-backdrop-filter:blur(12px) saturate(118%)!important}
.sx-invoice-generation-card{position:relative!important;width:min(460px,calc(100% - 28px))!important;grid-template-columns:68px minmax(0,1fr)!important;justify-items:stretch!important;align-items:center!important;gap:18px!important;padding:26px 28px!important;border:1px solid color-mix(in srgb,#0e9688 18%,#fff)!important;border-radius:28px!important;background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(247,252,250,.99))!important;text-align:left!important;box-shadow:0 30px 86px rgba(4,31,27,.30)!important;overflow:hidden!important}
.sx-invoice-generation-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#078576,#13a9d7,#078576);background-size:200% 100%;animation:sx41828Progress 1.45s ease-in-out infinite}
.sx-invoice-generation-card strong{display:block!important;margin:0 0 6px!important;font-size:20px!important;line-height:1.22!important;letter-spacing:-.02em!important;color:#0c2d27!important}
.sx-invoice-generation-card small{display:block!important;max-width:none!important;color:#607771!important;font-size:13px!important;line-height:1.55!important}
.sx-invoice-generation-spinner{justify-self:center!important;width:50px!important;height:50px!important;border-width:4px!important;border-color:#d9ece8!important;border-top-color:#0e9688!important;box-shadow:0 0 0 10px rgba(14,150,136,.07)!important}
html[data-theme="dark"] .sx-invoice-generation-card{border-color:#34544d!important;background:linear-gradient(145deg,#132d27,#0d241f)!important;color:#f1fffb!important}
html[data-theme="dark"] .sx-invoice-generation-card strong{color:#f1fffb!important}
html[data-theme="dark"] .sx-invoice-generation-card small{color:#adc1bc!important}
@keyframes sx41828Progress{0%{background-position:100% 0}50%{background-position:0 0}100%{background-position:-100% 0}}
@media(max-width:520px){.sx-invoice-generation-card{grid-template-columns:52px minmax(0,1fr)!important;gap:14px!important;padding:23px 20px!important;border-radius:24px!important}.sx-invoice-generation-spinner{width:42px!important;height:42px!important;box-shadow:0 0 0 7px rgba(14,150,136,.07)!important}.sx-invoice-generation-card strong{font-size:18px!important}}

/* Shared Refresh Servixo progress surface, used by Platform Admin and Company Portal. */
.sx-refresh-overlay{background:rgba(4,31,27,.54)!important;backdrop-filter:blur(13px) saturate(120%)!important;-webkit-backdrop-filter:blur(13px) saturate(120%)!important}
.sx-refresh-overlay-card{position:relative!important;width:min(470px,calc(100vw - 32px))!important;grid-template-columns:70px minmax(0,1fr)!important;column-gap:18px!important;align-items:center!important;padding:27px 29px!important;border:1px solid color-mix(in srgb,var(--sx-primary,#0e9688) 18%,var(--sx-line,#d6e5e1))!important;border-radius:28px!important;background:linear-gradient(145deg,var(--sx-card,#fff),color-mix(in srgb,var(--sx-card,#fff) 95%,var(--sx-primary,#0e9688) 5%))!important;box-shadow:0 30px 88px rgba(4,31,27,.30)!important;overflow:hidden!important}
.sx-refresh-overlay-card::before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#078576,#17aad5,#078576);background-size:200% 100%;animation:sx41828Progress 1.45s ease-in-out infinite}
.sx-refresh-overlay-card .sx-refresh-spinner{justify-self:center!important;width:48px!important;height:48px!important;border-width:4px!important;box-shadow:0 0 0 10px color-mix(in srgb,var(--sx-primary,#0e9688) 8%,transparent)!important}
.sx-refresh-overlay-copy{gap:6px!important}
.sx-refresh-overlay-card strong{font-size:20px!important;line-height:1.22!important;letter-spacing:-.02em!important}
.sx-refresh-overlay-card small{max-width:310px!important;font-size:13px!important;line-height:1.5!important}
.sx-refresh-overlay-identity{margin:0 0 1px!important;font-size:10px!important;letter-spacing:.08em!important;text-transform:uppercase!important}
html[data-theme="dark"] .sx-refresh-overlay-card{background:linear-gradient(145deg,var(--sx-card,#102a25),color-mix(in srgb,var(--sx-card,#102a25) 92%,var(--sx-primary,#0e9688) 8%))!important}
@media(max-width:430px){.sx-refresh-overlay-card{grid-template-columns:52px minmax(0,1fr)!important;gap:14px!important;padding:23px 20px!important;border-radius:24px!important}.sx-refresh-overlay-card .sx-refresh-spinner{width:42px!important;height:42px!important;box-shadow:0 0 0 7px color-mix(in srgb,var(--sx-primary,#0e9688) 8%,transparent)!important}.sx-refresh-overlay-card strong{font-size:18px!important}.sx-refresh-overlay-card small{font-size:12px!important}}


/* Servixo 4.18.33 global header refresh, password visibility and employee archive UI */
.cp-header-actions>.sx-refresh-servixo.sx-refresh-icon-only{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;padding:7px!important;gap:0!important;border-radius:14px!important}
.cp-header-actions>.sx-refresh-servixo.sx-refresh-icon-only .sx-refresh-icon{width:30px!important;height:30px!important;flex:0 0 30px!important}
.cp-header-actions>.sx-refresh-servixo.sx-refresh-icon-only .sx-refresh-label{display:none!important}
@media(max-width:620px){.cp-header-actions>.sx-refresh-servixo.sx-refresh-icon-only{width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:6px!important}}

.sx-reset-page .sx-password-field{display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;position:relative!important;overflow:hidden!important}
.sx-reset-page .sx-password-field .sx-input{padding-right:14px!important}
.sx-reset-page .sx-password-toggle{position:static!important;inset:auto!important;transform:none!important;width:54px!important;height:100%!important;min-height:54px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#58746f!important;display:grid!important;place-items:center!important;padding:0!important;cursor:pointer!important;box-shadow:none!important;outline:0!important}
.sx-reset-page .sx-password-toggle:hover{background:color-mix(in srgb,var(--sx-primary,#0f766e) 9%,transparent)!important;color:var(--sx-primary,#0f766e)!important}
.sx-reset-page .sx-password-toggle:focus-visible{box-shadow:inset 0 0 0 3px color-mix(in srgb,var(--sx-primary,#0f766e) 24%,transparent)!important}
.sx-reset-page .sx-password-toggle svg{display:block!important;width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.sx-reset-page .sx-password-toggle svg[hidden]{display:none!important}
.sx-reset-page .sx-password-field input[type="password"]::-ms-reveal,.sx-reset-page .sx-password-field input[type="password"]::-ms-clear{display:none!important}
html[data-theme="dark"] .sx-reset-page .sx-password-toggle,body.dark .sx-reset-page .sx-password-toggle{color:#a8c7c0!important}

.cp-archived-employees-button{color:var(--cp-text,#0b2722)!important;font-weight:850!important;white-space:nowrap!important}
.cp-archived-employees-button .cp-btn-count{font-variant-numeric:tabular-nums;font-weight:900!important}
.cp-archived-employees-button.has-archived{color:#b42318!important;border-color:#efb5af!important;background:#fff3f1!important;box-shadow:0 8px 20px rgba(180,35,24,.08)!important}
.cp-archived-employees-button.has-archived:hover{border-color:#dc776d!important;background:#ffe9e6!important}
body.cp-body[data-theme="dark"] .cp-archived-employees-button,body.cp-body[data-cp-mode="dark"] .cp-archived-employees-button{color:var(--cp-text,#e8f5f1)!important}
body.cp-body[data-theme="dark"] .cp-archived-employees-button.has-archived,body.cp-body[data-cp-mode="dark"] .cp-archived-employees-button.has-archived{color:#ffb9b2!important;border-color:rgba(238,103,103,.42)!important;background:rgba(190,52,52,.16)!important}
@media(max-width:560px){.cp-card-head-actions .cp-archived-employees-button{width:auto!important;max-width:100%!important}}

/* 4.18.39 report filters, service date ranges and property portfolio */
@media (min-width:1181px){
  .field-work-filters>.cp-filter-live-note{grid-column:1;align-self:center;min-height:38px;display:flex;align-items:center}
  .field-work-filters>.field-work-quick-ranges{grid-column:2/-1;align-self:center;flex-wrap:nowrap;white-space:nowrap;min-width:max-content}
}
.cp-service-filterbar-v41839{grid-template-columns:minmax(240px,1.5fr) minmax(150px,.82fr) minmax(150px,.82fr) minmax(150px,.72fr) minmax(150px,.72fr)!important;gap:12px!important}
.cp-service-filterbar-v41839 .cp-service-quick-ranges{grid-column:1/4;display:flex;align-items:center;gap:8px;flex-wrap:nowrap;white-space:nowrap}
.cp-service-filterbar-v41839>.cp-filter-live-note{grid-column:4/-1;justify-self:end;align-self:center;text-align:right}
.cp-service-quick-ranges .cp-btn{width:auto!important;min-height:40px!important;height:40px!important;padding-inline:14px!important}

.cp-property-portfolio-intro{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:18px;align-items:stretch}
.cp-property-portfolio-intro .cp-card{height:100%}
.cp-property-portfolio-filter{display:grid;grid-template-columns:minmax(240px,1.35fr) minmax(170px,.7fr) minmax(170px,.7fr) auto;gap:12px;align-items:end}
.cp-property-portfolio-filter label{display:grid;gap:7px;min-width:0}
.cp-property-portfolio-filter label>span{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--cp-muted)}
.cp-property-portfolio-filter select,.cp-property-portfolio-filter input{width:100%;min-width:0;height:54px;border:1px solid var(--cp-line);border-radius:17px;background:var(--cp-card);color:var(--cp-ink);padding:0 16px;font:inherit}
.cp-property-portfolio-filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cp-property-portfolio-filter-actions .cp-btn{height:54px;white-space:nowrap}
.cp-property-portfolio-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.cp-property-portfolio-summary article{padding:17px 18px;border:1px solid var(--cp-line);border-radius:18px;background:var(--cp-surface-soft)}
.cp-property-portfolio-summary span{display:block;color:var(--cp-muted);font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.cp-property-portfolio-summary strong{display:block;margin-top:6px;font-size:27px;letter-spacing:-.04em}
.cp-property-portfolio-list{display:grid;gap:18px;margin-top:18px}
.cp-property-client-card{padding:0;overflow:hidden}
.cp-property-client-head{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,.7fr);gap:20px;align-items:center;padding:22px 24px;border-bottom:1px solid var(--cp-line);background:linear-gradient(135deg,rgba(15,118,110,.08),rgba(14,165,216,.04))}
.cp-property-client-identity{display:flex;gap:14px;align-items:center;min-width:0}
.cp-property-client-identity .cp-avatar{flex:0 0 auto}
.cp-property-client-identity h3{margin:0;font-size:25px;letter-spacing:-.035em}
.cp-property-client-identity p{margin:5px 0 0;color:var(--cp-muted);overflow-wrap:anywhere}
.cp-property-client-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.cp-property-client-metrics div{padding:11px 12px;border:1px solid var(--cp-line);border-radius:14px;background:var(--cp-card)}
.cp-property-client-metrics span{display:block;color:var(--cp-muted);font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.cp-property-client-metrics strong{display:block;margin-top:4px;font-size:16px;line-height:1.25}
.cp-property-client-body{padding:20px 24px 24px}
.cp-property-client-profile{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.cp-property-client-profile div{padding:12px 13px;border-radius:14px;background:var(--cp-surface-soft);border:1px solid var(--cp-line);min-width:0}
.cp-property-client-profile span{display:block;color:var(--cp-muted);font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.cp-property-client-profile strong{display:block;margin-top:4px;font-size:13px;overflow-wrap:anywhere}
.cp-property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cp-property-portfolio-item{border:1px solid var(--cp-line);border-radius:18px;padding:16px;background:var(--cp-card);min-width:0}
.cp-property-portfolio-item.is-primary{box-shadow:inset 0 3px 0 color-mix(in srgb,var(--cp-primary) 75%,transparent)}
.cp-property-portfolio-item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.cp-property-portfolio-item h4{margin:0;font-size:18px}
.cp-property-portfolio-item address{margin-top:5px;color:var(--cp-muted);font-style:normal;line-height:1.45}
.cp-property-portfolio-item .cp-status{flex:0 0 auto}
.cp-property-portfolio-item-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.cp-property-portfolio-item-metrics div{padding:9px 10px;border-radius:12px;background:var(--cp-surface-soft);min-width:0}
.cp-property-portfolio-item-metrics span{display:block;color:var(--cp-muted);font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.cp-property-portfolio-item-metrics strong{display:block;margin-top:3px;font-size:12px;overflow-wrap:anywhere}
.cp-property-portfolio-features{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.cp-property-portfolio-features span{padding:6px 9px;border-radius:999px;background:rgba(15,118,110,.08);font-size:11px;font-weight:800}
.cp-property-portfolio-notes{margin:12px 0 0;padding:11px 12px;border-radius:12px;background:rgba(239,179,46,.09);color:var(--cp-ink);font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.cp-property-portfolio-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.cp-property-portfolio-empty{margin-top:18px}

@media(max-width:1180px){
  .cp-service-filterbar-v41839{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cp-service-filterbar-v41839 .cp-service-search{grid-column:1/-1}
  .cp-service-filterbar-v41839 .cp-service-quick-ranges,.cp-service-filterbar-v41839>.cp-filter-live-note{grid-column:1/-1;justify-self:start;text-align:left}
  .cp-property-portfolio-intro{grid-template-columns:1fr}
  .cp-property-portfolio-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cp-property-portfolio-filter-actions{grid-column:1/-1}
  .cp-property-portfolio-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cp-property-client-head{grid-template-columns:1fr}
  .cp-property-client-profile{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .field-work-quick-ranges,.cp-service-filterbar-v41839 .cp-service-quick-ranges{overflow-x:auto;max-width:100%;padding-bottom:2px;scrollbar-width:thin}
  .cp-service-filterbar-v41839{grid-template-columns:1fr!important}
  .cp-service-filterbar-v41839>*{grid-column:auto!important}
  .cp-property-portfolio-filter{grid-template-columns:1fr}
  .cp-property-portfolio-filter-actions{grid-column:auto;display:grid;grid-template-columns:1fr 1fr}
  .cp-property-portfolio-filter-actions .cp-btn:first-child{grid-column:1/-1}
  .cp-property-portfolio-summary{grid-template-columns:1fr 1fr}
  .cp-property-client-head,.cp-property-client-body{padding-left:16px;padding-right:16px}
  .cp-property-client-metrics{grid-template-columns:1fr}
  .cp-property-client-profile{grid-template-columns:1fr}
  .cp-property-grid{grid-template-columns:1fr}
  .cp-property-portfolio-item-metrics{grid-template-columns:1fr 1fr}
}
.cp-property-portfolio-feature-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.cp-property-portfolio-feature-list span{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid var(--cp-line);border-radius:999px;background:var(--cp-surface-soft);color:var(--cp-text);font-size:11px;font-weight:850}
.cp-property-portfolio-scope-note{display:flex;flex-direction:column;justify-content:center}
.cp-property-portfolio-scope-note h3{margin:7px 0 8px}
.cp-property-portfolio-scope-note p{margin:0;color:var(--cp-muted);line-height:1.55}
@media(max-width:720px){
  .cp-property-portfolio-intro .cp-card-head{align-items:flex-start}
  .cp-property-portfolio-intro .cp-card-head .cp-btn{width:100%;justify-content:center}
}

/* Servixo 4.18.40, global typography breathing room and smart client portfolio search */
body.sx-body h1,
body.cp-body h1,
body.employee-pro-page h1{
  letter-spacing:-.018em!important;
  line-height:1.08!important;
  font-weight:800!important;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
}
body.sx-body h2,
body.cp-body h2,
body.employee-pro-page h2{
  letter-spacing:-.014em!important;
  line-height:1.12!important;
  font-weight:800!important;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
}
body.sx-body h3,
body.cp-body h3,
body.employee-pro-page h3{
  letter-spacing:-.01em!important;
  line-height:1.16!important;
  font-weight:800!important;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
}
body.sx-body h4,
body.cp-body h4,
body.employee-pro-page h4{
  letter-spacing:0!important;
  line-height:1.2!important;
  font-weight:780!important;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
}
.sx-home-hero .sx-hero-card h1{
  letter-spacing:-.018em!important;
  line-height:1.08!important;
  font-weight:800!important;
}
.sx-main-top h1,.sx-panel h2,.sx-card h2,.sx-card h3,
.cp-topbar h1,.cp-card-head h2,.cp-card-head h3,.cp-hero h1,.cp-hero h2,
.employee-pro-page .employee-hero h1,.employee-pro-page .employee-card h2,.employee-pro-page .employee-card h3{
  text-wrap:balance;
}
@media(max-width:620px){
  body.sx-body h1,body.cp-body h1,body.employee-pro-page h1{line-height:1.1!important}
  body.sx-body h2,body.cp-body h2,body.employee-pro-page h2{line-height:1.14!important}
  body.sx-body h3,body.cp-body h3,body.employee-pro-page h3{line-height:1.18!important}
}

.cp-smart-client-combobox{position:relative;min-width:0}
.cp-smart-client-input{padding-right:48px!important;appearance:none;-webkit-appearance:none}
.cp-smart-client-input::-webkit-search-cancel-button{display:none}
.cp-smart-client-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:12px;background:transparent;color:var(--cp-muted);cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}
.cp-smart-client-toggle:hover,.cp-smart-client-toggle:focus-visible{background:color-mix(in srgb,var(--cp-primary) 10%,transparent);color:var(--cp-primary);outline:none}
.cp-smart-client-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s ease}
.cp-smart-client-combobox.is-open .cp-smart-client-toggle svg{transform:rotate(180deg)}
.cp-smart-client-results{position:absolute;z-index:80;left:0;right:0;top:calc(100% + 8px);max-height:min(360px,46vh);overflow:auto;padding:7px;border:1px solid var(--cp-line);border-radius:17px;background:var(--cp-card);box-shadow:0 24px 55px rgba(8,42,36,.18);overscroll-behavior:contain}
.cp-smart-client-results[hidden]{display:none!important}
.cp-smart-client-option{display:grid;width:100%;gap:3px;padding:10px 11px;border:0;border-radius:12px;background:transparent;color:var(--cp-ink);font:inherit;text-align:left;cursor:pointer}
.cp-smart-client-option strong{font-size:14px;font-weight:800;line-height:1.25;letter-spacing:-.005em}
.cp-smart-client-option small{display:block;overflow:hidden;color:var(--cp-muted);font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.cp-smart-client-option:hover,.cp-smart-client-option.is-active,.cp-smart-client-option[aria-selected="true"]{background:color-mix(in srgb,var(--cp-primary) 9%,var(--cp-card));color:var(--cp-ink)}
.cp-smart-client-option.is-active{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--cp-primary) 35%,transparent)}
.cp-smart-client-empty{padding:14px 12px;color:var(--cp-muted);font-size:13px;text-align:center}
body.cp-body[data-theme="dark"] .cp-smart-client-results,body.cp-body[data-cp-mode="dark"] .cp-smart-client-results{box-shadow:0 24px 55px rgba(0,0,0,.38)}
@media(max-width:720px){
  .cp-smart-client-results{max-height:min(300px,42vh)}
  .cp-smart-client-option{padding:12px}
}


/* Servixo 4.18.41, shared long-page navigation and real busy feedback */
.sx-back-to-top{position:fixed;z-index:850;right:max(18px,env(safe-area-inset-right));bottom:max(20px,calc(env(safe-area-inset-bottom) + 18px));width:46px;height:46px;border:1px solid color-mix(in srgb,#0f8b80 30%,var(--sx-border,#d7e6e1));border-radius:16px;background:color-mix(in srgb,var(--sx-card,#fff) 94%,transparent);color:#0f766e;box-shadow:0 14px 36px rgba(7,61,53,.16);backdrop-filter:blur(14px);display:grid;place-items:center;cursor:pointer;transition:transform .16s ease,opacity .16s ease,box-shadow .16s ease}
.sx-back-to-top[hidden]{display:none!important}.sx-back-to-top:hover,.sx-back-to-top:focus-visible{transform:translateY(-2px);box-shadow:0 18px 42px rgba(7,61,53,.22);outline:3px solid color-mix(in srgb,#0ea5a0 25%,transparent);outline-offset:2px}.sx-back-to-top svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sx-global-busy-layer{position:fixed;z-index:12000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(4,32,28,.35);backdrop-filter:blur(5px)}.sx-global-busy-layer[hidden]{display:none!important}.sx-global-busy-card{display:flex;align-items:center;gap:14px;width:min(420px,calc(100vw - 32px));padding:18px 20px;border:1px solid color-mix(in srgb,#0f8b80 24%,#d9e8e3);border-radius:22px;background:var(--sx-card,#fff);color:var(--sx-text,#102e29);box-shadow:0 28px 80px rgba(0,0,0,.25)}.sx-global-busy-card strong,.sx-global-busy-card small{display:block}.sx-global-busy-card small{margin-top:4px;color:var(--sx-muted,#667a75);line-height:1.4}.sx-global-busy-spinner,.sx-action-busy:before{content:'';flex:0 0 auto;width:20px;height:20px;border:3px solid color-mix(in srgb,#0f8b80 22%,transparent);border-top-color:#0f8b80;border-radius:50%;animation:sx41841spin .75s linear infinite}.sx-action-busy{display:inline-flex!important;align-items:center!important;gap:8px!important}.sx-action-busy:before{width:14px;height:14px;border-width:2px;border-color:rgba(255,255,255,.45);border-top-color:currentColor}@keyframes sx41841spin{to{transform:rotate(360deg)}}
@media(max-width:720px){.sx-back-to-top{right:max(12px,env(safe-area-inset-right));bottom:max(76px,calc(env(safe-area-inset-bottom) + 68px));width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.sx-back-to-top{transition:none}.sx-global-busy-spinner,.sx-action-busy:before{animation-duration:1.6s}}

/* Servixo 4.18.42, Contract Payment Agreements and finite installment tracking */
.sx-contract-payment-plan{margin:18px 0;padding:16px;border:1px solid color-mix(in srgb,#0f8b80 22%,var(--sx-border,#d8e7e2));border-radius:20px;background:color-mix(in srgb,#0ea5a0 5%,var(--sx-card,#fff));transition:opacity .16s ease,background .16s ease}
.sx-contract-payment-plan.is-disabled .sx-contract-payment-plan-fields{opacity:.56}.sx-contract-payment-plan-fields{margin-top:14px}.sx-payment-plan-preview{margin-top:13px;padding:13px 14px;border:1px solid color-mix(in srgb,#0f8b80 16%,var(--sx-border,#d8e7e2));border-radius:15px;background:color-mix(in srgb,var(--sx-card,#fff) 92%,#e8f8f4);color:var(--sx-muted,#5f7470);font-size:12px;line-height:1.45}.sx-payment-plan-preview>small{display:block;margin-top:8px}.sx41842-contract-plan-preview,.sx41842-pa-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.sx41842-contract-plan-preview span,.sx41842-pa-preview-grid span{display:grid;gap:4px;padding:10px 11px;border-radius:12px;background:color-mix(in srgb,var(--sx-card,#fff) 94%,#dff5ef)}.sx41842-contract-plan-preview small,.sx41842-pa-preview-grid small{color:var(--sx-muted,#657975);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.sx41842-contract-plan-preview strong,.sx41842-pa-preview-grid strong{color:var(--sx-text,#0d2d27);font-size:14px;line-height:1.2}
.sx41842-pa-hero{display:flex;align-items:center;justify-content:space-between;gap:24px}.sx41842-pa-hero p{max-width:760px;margin-bottom:0}.sx41842-pa-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:20px;margin-top:20px}.sx41842-pa-editor form{display:grid;gap:16px}.sx41842-pa-terms{grid-template-columns:repeat(4,minmax(0,1fr))}.sx41842-pa-import-list,.sx41842-pa-list{display:grid;gap:12px}.sx41842-pa-import{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:14px 15px;border:1px solid var(--sx-border,#d8e7e2);border-radius:16px;background:var(--sx-card,#fff);color:var(--sx-text,#0d2d27);text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.sx41842-pa-import:hover,.sx41842-pa-import:focus-visible{transform:translateY(-1px);border-color:#0ea5a0;box-shadow:0 12px 30px rgba(7,61,53,.10);outline:none}.sx41842-pa-import span{display:grid;gap:3px;min-width:0}.sx41842-pa-import span:last-child{text-align:right}.sx41842-pa-import strong,.sx41842-pa-import b{font-weight:850}.sx41842-pa-import small{color:var(--sx-muted,#657975);font-size:11px;line-height:1.3}
.sx41842-pa-ledger{margin-top:20px}.sx41842-pa-card{display:grid;gap:14px;padding:18px;border:1px solid var(--sx-border,#d8e7e2);border-radius:22px;background:color-mix(in srgb,var(--sx-card,#fff) 97%,#e6f5f1)}.sx41842-pa-card[hidden]{display:none!important}.sx41842-pa-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.sx41842-pa-card-head h4{margin:3px 0 2px;font-size:19px}.sx41842-pa-card-head p{margin:0;color:var(--sx-muted,#657975);font-size:12px}.sx41842-pa-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.sx41842-pa-progress>div{display:grid;gap:4px;padding:12px;border:1px solid color-mix(in srgb,#0f8b80 12%,var(--sx-border,#d8e7e2));border-radius:14px;background:var(--sx-card,#fff)}.sx41842-pa-progress span{color:var(--sx-muted,#657975);font-size:10px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.sx41842-pa-progress strong{font-size:15px}.sx41842-pa-progress strong small{color:var(--sx-muted,#657975);font-size:11px;font-weight:700}.sx41842-pa-meter{height:9px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,#0f8b80 11%,var(--sx-border,#d8e7e2))}.sx41842-pa-meter>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f766e,#0ea5d8);transition:width .25s ease}.sx41842-pa-details{border-top:1px solid var(--sx-border,#d8e7e2);padding-top:10px}.sx41842-pa-details>summary{cursor:pointer;font-weight:850;color:#0f766e;list-style:none}.sx41842-pa-details>summary::-webkit-details-marker{display:none}.sx41842-pa-details[open]>summary{margin-bottom:14px}.sx41842-pa-apply{display:grid;grid-template-columns:minmax(220px,.55fr) minmax(0,1.45fr);gap:16px;align-items:end;margin-top:15px;padding:14px;border-radius:16px;background:color-mix(in srgb,#0ea5a0 5%,var(--sx-card,#fff))}.sx41842-pa-apply>div{display:grid;gap:4px}.sx41842-pa-apply>div small{color:var(--sx-muted,#657975);line-height:1.4}.sx41842-pa-apply form{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(100px,.55fr) minmax(150px,1fr) auto;gap:8px}.sx41842-pa-actions{justify-content:flex-end}
.sx41842-subscription-pa-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin:10px 0 14px;padding:12px 14px;border:1px solid color-mix(in srgb,#0ea5a0 35%,var(--sx-border,#d8e7e2));border-radius:16px;background:color-mix(in srgb,#0ea5a0 6%,var(--sx-card,#fff));color:var(--sx-text,#0d2d27);text-align:left;cursor:pointer}.sx41842-subscription-pa-summary span{display:grid;gap:3px}.sx41842-subscription-pa-summary small{color:var(--sx-muted,#657975);font-size:11px}.sx41842-subscription-pa-summary b{text-align:right;color:#0f766e;font-size:15px}.sx41842-subscription-pa-summary:hover,.sx41842-subscription-pa-summary:focus-visible{border-color:#0ea5a0;outline:3px solid color-mix(in srgb,#0ea5a0 18%,transparent);outline-offset:2px}
body.sx-body[data-theme="dark"] .sx-contract-payment-plan,body.sx-body[data-theme="dark"] .sx41842-pa-card,body.sx-body[data-theme="dark"] .sx41842-pa-import,body.sx-body[data-theme="dark"] .sx41842-subscription-pa-summary{background:color-mix(in srgb,var(--sx-card,#10231f) 94%,#0b6158)}
@media(max-width:1120px){.sx41842-pa-layout{grid-template-columns:1fr}.sx41842-pa-terms{grid-template-columns:repeat(2,minmax(0,1fr))}.sx41842-pa-apply{grid-template-columns:1fr}.sx41842-pa-apply form{grid-template-columns:1.2fr .6fr 1fr auto}}
@media(max-width:760px){.sx41842-pa-hero,.sx41842-pa-card-head{align-items:stretch;flex-direction:column}.sx41842-pa-hero .sx-btn{width:100%}.sx41842-pa-terms,.sx41842-pa-progress,.sx41842-contract-plan-preview,.sx41842-pa-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sx41842-pa-apply form{grid-template-columns:1fr}.sx41842-pa-apply form .sx-btn{width:100%}.sx41842-pa-actions{justify-content:stretch}.sx41842-pa-actions .sx-btn{flex:1 1 140px}.sx41842-subscription-pa-summary{align-items:flex-start;flex-direction:column}.sx41842-subscription-pa-summary b{text-align:left}}
@media(max-width:440px){.sx41842-pa-terms,.sx41842-pa-progress,.sx41842-contract-plan-preview,.sx41842-pa-preview-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.sx41842-pa-meter>span,.sx41842-pa-import{transition:none}}


/* Servixo 4.18.50, mobile Company Portal header and floating-control collision fix */
@media(max-width:720px){
  body.cp-body .cp-topbar{
    position:sticky!important;
    top:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:12px!important;
    padding:14px 14px 16px!important;
  }
  body.cp-body .cp-title-wrap{
    display:grid!important;
    grid-template-columns:48px minmax(0,1fr)!important;
    align-items:start!important;
    gap:11px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.cp-body .cp-menu-btn{
    grid-column:1!important;
    grid-row:1!important;
    margin:0!important;
    align-self:start!important;
  }
  body.cp-body .cp-title-copy{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    width:100%!important;
    padding-top:0!important;
  }
  body.cp-body .cp-title-copy h1{
    margin-top:3px!important;
    margin-bottom:7px!important;
    font-size:clamp(2.25rem,10.5vw,3.35rem)!important;
    line-height:1.02!important;
  }
  body.cp-body .cp-title-copy p{
    font-size:.96rem!important;
    line-height:1.42!important;
  }
  body.cp-body .cp-header-actions{
    position:static!important;
    inset:auto!important;
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:7px!important;
    padding:0!important;
    margin:0!important;
  }
  body.cp-body .cp-header-actions>.sx-icon-button,
  body.cp-body .cp-header-actions>.sx-refresh-servixo{
    flex:0 0 auto!important;
  }
  body.cp-body .cp-header-company-identity{
    margin-left:2px!important;
    min-width:0!important;
    max-width:min(44vw,190px)!important;
  }
  body.cp-body .cp-header-company-name{
    min-width:0!important;
    max-width:128px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.cp-body.cp-dashboard-menu-open .sx-back-to-top{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
@media(max-width:480px){
  body.cp-body .cp-topbar{padding:12px 12px 14px!important}
  body.cp-body .cp-title-wrap{grid-template-columns:46px minmax(0,1fr)!important;gap:9px!important}
  body.cp-body .cp-title-copy h1{font-size:2.35rem!important}
  body.cp-body .cp-header-actions{gap:6px!important}
  body.cp-body .cp-header-company-identity{max-width:46px!important;margin-left:0!important;padding-right:0!important}
  body.cp-body .cp-header-company-name{display:none!important}
  body.cp-body .cp-header-company-logo{width:42px!important;height:42px!important;flex-basis:42px!important}
  body.cp-body .cp-header-company-logo img{width:36px!important;height:36px!important}
}
