/* Shared Knit tokens and surfaces layered after the native Perfex customer CSS. */
@font-face{font-family:KnitInterTight;src:url("fonts/inter-tight.woff2") format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:KnitInstrumentSerif;src:url("fonts/instrument-serif-italic.woff2") format("woff2");font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:KnitJetBrains;src:url("fonts/jetbrains-mono.woff2") format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
html:has(body.customers){scrollbar-gutter:stable}
body.customers{--knit-ink:#0b0b2e;--knit-body:#4a4c6b;--knit-muted:#666989;--knit-green:#007a31;--knit-green-fill:#008837;--knit-indigo:#12017b;--knit-line:#e4e5ec;--knit-soft:#f2f3f7;--knit-canvas:#fafafb;font-family:KnitInterTight,Inter,system-ui,sans-serif;color:var(--knit-body);background:var(--knit-canvas);line-height:1.55;display:flex;flex-direction:column;min-height:100vh}
/* Same .wrap width and gutters as the main website. */
body.customers .container{width:100%;max-width:1780px;margin-inline:auto;padding-inline:clamp(20px,3.6vw,76px)}
body.customers a{color:var(--knit-green);transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s}
body.customers a:hover{color:var(--knit-ink);text-decoration:none}
body.customers :is(a,button,input,select,textarea):focus-visible{outline:2px solid var(--knit-green);outline-offset:3px}
body.customers :is(h1,h2,h3,h4){color:var(--knit-ink);letter-spacing:-.025em}
body.customers>#wrapper{order:2;flex:1 0 auto;width:100%}
body.customers #content{padding:30px 0 44px}
/* Header: the native routes, menu builder and uploaded company logo remain intact. */
body.customers>.knit-brand-strip{order:0;flex:none}
body.customers .knit-brand-strip{color:#efeff9;background:var(--knit-ink);font-size:12px}
body.customers .knit-brand-strip>.container{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px}
body.customers .knit-brand-strip>.container::before,body.customers .knit-brand-strip>.container::after{display:none}
body.customers .knit-strip-label{display:flex;align-items:center;gap:10px;font-weight:600}
body.customers .knit-status-dot{width:6px;height:6px;border-radius:50%;background:#27c76f;flex:none}
body.customers .knit-strip-divider{color:#8b8cad;margin:0 3px}
body.customers .knit-strip-links{display:flex;gap:26px;align-items:center;font-family:KnitJetBrains,monospace;font-size:10px}
body.customers .knit-strip-links a{color:#d9daeb}
body.customers .knit-strip-links a:hover{color:white}
body.customers .knit-strip-links i{font-size:9px;margin-inline-start:5px}
body.customers>.navbar.header{order:1;flex:none}
body.customers .navbar.header{margin-bottom:0;min-height:82px;background:white;border-bottom:1px solid var(--knit-line)}
body.customers .navbar.header .navbar-brand{margin:0 28px 0 0;padding:23px 0;height:82px;display:flex;align-items:center;gap:22px}
body.customers .navbar.header .navbar-brand img{width:280px;max-width:100%;height:auto;max-height:36px;object-fit:contain;margin:0}
body.customers .navbar.header .navbar-brand.logo-text{font-size:0}
body.customers .navbar.header .navbar-brand::after{content:"CLIENT PORTAL";font-family:KnitJetBrains,monospace;font-size:9px;font-weight:400;letter-spacing:.1em;color:var(--knit-muted);border-left:1px solid var(--knit-line);padding:11px 0 11px 22px;white-space:nowrap}
body.customers .navbar.header .navbar-nav>li>a{color:var(--knit-ink);line-height:82px;font-size:13px;font-weight:500;padding:11px 13px;border-radius:999px}
body.customers .navbar.header .navbar-nav>.active>a,body.customers .navbar.header .navbar-nav>li>a:hover{background:#e9f6ef;color:var(--knit-green)}
body.customers .navbar.header .customers-nav-item-register>a{border:1px solid var(--knit-line);padding:10px 19px;margin-inline:8px}
body.customers .navbar.header .customers-nav-item-login>a{background:var(--knit-indigo)!important;color:white!important;padding:12px 23px;border-radius:999px!important}
body.customers .navbar.header .customers-nav-item-login>a:hover{background:var(--knit-green)!important}
body.customers .navbar.header .client-profile-image-small{width:32px;height:32px;border:2px solid var(--knit-line)}
/* Existing controls, panels and native enhanced selectors. */
body.customers .btn{border-radius:999px;font-weight:600;box-shadow:none;font-size:14px;padding:10px 19px;line-height:1.4;transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s}
body.customers .btn-primary{background:var(--knit-green);border-color:var(--knit-green);color:white}
body.customers .btn-primary:hover,body.customers .btn-primary:focus{background:var(--knit-green-fill);border-color:var(--knit-green-fill);color:white;box-shadow:0 4px 12px #007a3120}
body.customers .btn-default{background:white;border-color:#d2d5e0;color:var(--knit-ink)}
body.customers .btn-default:hover{background:var(--knit-soft);border-color:#b4b6d0;color:var(--knit-ink)}
body.customers .btn:disabled,body.customers .btn.disabled{box-shadow:none;cursor:not-allowed}
body.customers .panel_s{border:0;border-radius:20px;box-shadow:0 1px 2px #0b0b2e06,0 8px 28px #0b0b2e05}
body.customers .panel_s>.panel-body{border:1px solid var(--knit-line);border-radius:20px;padding:26px;background:white}
body.customers .panel_s>.panel-footer{border-color:var(--knit-line);background:var(--knit-soft);border-radius:0 0 20px 20px;padding:18px 26px}
body.customers label{font-weight:600;color:var(--knit-ink);font-size:13px;margin-bottom:8px}
body.customers .form-control{border:1px solid #d2d5e0;border-radius:8px;box-shadow:none;color:var(--knit-ink);background:white;font-family:inherit;min-height:42px}
body.customers textarea.form-control{min-height:110px}
body.customers .form-control:focus{border-color:var(--knit-green);box-shadow:0 0 0 3px #007a3114}
body.customers .input-group .form-control{border-radius:8px 0 0 8px}
body.customers .input-group-btn>.btn{border-radius:0 8px 8px 0;min-height:42px}
body.customers .dropdown-menu{border:1px solid var(--knit-line);border-radius:12px;box-shadow:0 8px 30px #0b0b2e14;padding:7px}
body.customers .dropdown-menu>li>a{border-radius:6px;padding:8px 12px;color:var(--knit-ink)}
body.customers .dropdown-menu>li>a:hover{background:#e9f6ef;color:var(--knit-green)}
body.customers .bootstrap-select .dropdown-toggle{border-radius:8px;min-height:42px}
body.customers .bootstrap-select .dropdown-menu{padding:4px}
body.customers .customer-top-submenu{float:none;display:flex;gap:8px;margin:0 15px 22px;padding:0;border-bottom:1px solid var(--knit-line)}
body.customers .customer-top-submenu li{margin:0}
body.customers .customer-top-submenu li a{padding:10px 14px;font-size:13px;font-weight:500;border-radius:8px 8px 0 0;color:var(--knit-muted)!important}
body.customers .customer-top-submenu li a:hover{color:var(--knit-green)!important;background:#e9f6ef}
body.customers .knit-eyebrow{font-family:KnitJetBrains,monospace;font-size:10px;font-weight:500;letter-spacing:.13em;color:var(--knit-green);margin:0 0 22px}
/* Authenticated home uses the existing real summaries and permission-aware links. */
body.customers .knit-dashboard-intro{display:flex;gap:30px;align-items:center;justify-content:space-between;background:linear-gradient(115deg,#fff,#f2f7f4);border:1px solid var(--knit-line);border-radius:20px;padding:30px 32px;margin-bottom:26px}
body.customers .knit-dashboard-intro .knit-eyebrow{margin-bottom:13px}
body.customers .knit-dashboard-intro h1{font-size:clamp(30px,3vw,43px);font-weight:600;line-height:1.15;letter-spacing:-.04em;margin:0 0 11px}
body.customers .knit-dashboard-intro em{font-family:KnitInstrumentSerif,Georgia,serif;font-weight:400;color:var(--knit-green);letter-spacing:-.03em}
body.customers .knit-dashboard-intro p:last-child{margin:0;font-size:13px;color:var(--knit-muted);max-width:470px}
body.customers .knit-dashboard-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;flex:none}
body.customers .knit-dashboard-actions i{margin:0 4px}
body.customers #content>.container>.row>.row:has(>.section-client-dashboard){margin-inline:0}
body.customers .section-client-dashboard{float:none;width:100%;margin:0;padding-inline:15px}
body.customers .section-client-dashboard #greeting{font-size:19px;font-weight:500;margin:0 0 26px}
body.customers .section-client-dashboard #greeting b{font-weight:500}
body.customers .section-client-dashboard :is(.projects-summary-heading,.invoices-quick-info-heading){font-size:15px;font-weight:600;margin-bottom:15px;color:var(--knit-ink)}
body.customers .section-client-dashboard dl>a{border:1px solid var(--knit-line);border-radius:14px;background:white;box-shadow:0 1px 3px #0b0b2e04}
body.customers .section-client-dashboard dl>a:hover{border-color:#b7e3c9;background:#f5faf7;box-shadow:0 4px 15px #0b0b2e08}
body.customers .section-client-dashboard dl>a>div{padding:18px}
body.customers .section-client-dashboard dt{font-size:12px;color:var(--knit-muted)!important}
body.customers .section-client-dashboard dd{margin-top:9px}
body.customers .section-client-dashboard dd>div{font-size:28px;color:var(--knit-ink);font-weight:600}
body.customers .section-client-dashboard .invoices-stats .stats-status a{font-size:13px}
body.customers .section-client-dashboard .invoices-stats .stats-numbers{color:var(--knit-ink);font-size:15px;font-weight:600}
body.customers .section-client-dashboard .progress{height:5px;background:var(--knit-soft);border-radius:999px;box-shadow:none;margin-top:7px}
body.customers .section-client-dashboard .progress-bar-success{background:var(--knit-green)}
body.customers .section-client-dashboard hr{border-color:var(--knit-line)}
/* The added brand section precedes the untouched native legal/copyright footer. */
body.customers>.knit-portal-footer{order:3;flex:none}
body.customers .knit-portal-footer{background:white;border-top:1px solid var(--knit-line);padding:42px 0 35px}
body.customers .knit-footer-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);column-gap:70px;row-gap:28px}
body.customers .knit-footer-grid::before,body.customers .knit-footer-grid::after{display:none}
body.customers .knit-footer-brand img{width:240px;max-width:100%;height:auto;display:block;margin:0 0 18px}
body.customers .knit-footer-brand p{font-size:13px;line-height:1.75;color:var(--knit-muted);margin:0 0 17px}
body.customers .knit-footer-website{font-size:12px;font-weight:500;color:var(--knit-ink)}
body.customers .knit-portal-footer h2{font-family:KnitJetBrains,monospace;letter-spacing:.13em;font-size:10px;font-weight:400;color:var(--knit-muted);margin:0 0 21px}
body.customers .knit-footer-links,body.customers .knit-footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
body.customers .knit-footer-links h2,body.customers .knit-footer-contact h2{margin-bottom:9px}
body.customers .knit-footer-links>a,body.customers .knit-footer-contact>a{font-size:13px;color:var(--knit-body)}
body.customers .knit-portal-footer a:hover{color:var(--knit-green)}
body.customers .knit-portal-footer i{font-size:10px;margin-inline-start:7px}
body.customers .knit-footer-contact>p{font-family:KnitJetBrains,monospace;letter-spacing:.035em;font-size:9px;color:var(--knit-muted);line-height:1.8;margin:7px 0 0}
body.customers>.footer{order:4;flex:none}
body.customers .footer{margin-top:0;padding:0;background:white;color:var(--knit-muted);font-size:12px;border:0}
body.customers .footer>.container{border-top:1px solid var(--knit-line);padding-top:20px;padding-bottom:20px}
body.customers .footer a{color:var(--knit-muted);text-decoration:underline;text-underline-offset:3px}
body.customers .footer .col-md-12{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;text-align:start}
body.customers .footer .knit-footer-legal{display:flex;align-items:center;gap:6px;flex:1 1 auto;flex-wrap:wrap;min-width:0}
body.customers .footer .knit-footer-socials{display:flex;align-items:center;gap:8px;flex:none;margin-inline-start:auto}
body.customers .footer .knit-footer-socials a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border:1px solid var(--knit-line);border-radius:50%;background:transparent;color:var(--knit-muted);text-decoration:none}
body.customers .footer .knit-footer-socials i{font-size:16px;line-height:1;margin:0}
body.customers .footer .knit-footer-socials svg{display:block;flex:none}
body.customers .footer .knit-footer-socials a:hover{background:var(--knit-soft);border-color:currentColor;color:var(--knit-ink)}
body.customers .footer .knit-footer-socials a:focus,body.customers .footer .knit-footer-socials a:focus-visible{outline-style:solid;outline-width:2px;outline-color:var(--knit-green);outline-offset:3px;background:var(--knit-soft);color:var(--knit-ink)}
body.customers .footer .knit-footer-socials a[data-social="linkedin"]:hover{color:#0a66c2}
body.customers .footer .knit-footer-socials a[data-social="instagram"]:hover{color:#c13584}
body.customers .footer .knit-footer-socials a[data-social="facebook"]:hover{color:#1877f2}
body.customers .footer .knit-footer-socials a[data-social="youtube"]:hover{color:#c4302b}
@media(pointer:coarse){body.customers .footer .knit-footer-socials a{width:44px;height:44px}}
/* Tablet navigation and mobile gutters. */
@media(max-width:1359px){body.customers .navbar.header .navbar-brand::after{display:none}body.customers .navbar.header .navbar-nav>li>a{padding-inline:10px}}
@media(max-width:1199px){body.customers .navbar.header .navbar-brand img{width:240px}body.customers .navbar.header .navbar-brand{margin-right:15px}body.customers .navbar.header .navbar-nav>li>a{font-size:12px;padding-inline:8px}body.customers .knit-footer-grid{column-gap:35px}}
@media(max-width:1099px){body.customers .navbar.header .navbar-header{float:none}body.customers .navbar.header .navbar-toggle{display:block;margin:24px 0;border-color:var(--knit-line);border-radius:9px}body.customers .navbar.header .navbar-collapse.collapse{display:none!important}body.customers .navbar.header .navbar-collapse.collapse.in{display:block!important}body.customers .navbar.header .navbar-nav{float:none!important;margin:10px 0;padding:0 0 12px}body.customers .navbar.header .navbar-nav>li{float:none}body.customers .navbar.header .navbar-nav>li>a{display:block;line-height:1.5;padding:12px 15px;margin:0 0 4px;border-radius:8px}body.customers .navbar.header .customers-nav-item-register>a{margin-inline:0}body.customers .navbar.header .navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;box-shadow:none}body.customers .navbar.header .navbar-nav .open .dropdown-menu>li>a{padding:10px 16px}}
@media(max-width:991px){body.customers .knit-dashboard-intro{align-items:flex-start;flex-direction:column}body.customers .knit-dashboard-actions{justify-content:flex-start}body.customers .knit-footer-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}body.customers .knit-footer-contact{grid-column:2}body.customers .knit-footer-brand{grid-row:1 / span 2}}
@media(max-width:767px){body.customers .knit-brand-strip>.container{min-height:34px;padding-block:7px;font-size:10px}body.customers .knit-strip-links{display:none}body.customers .navbar.header .navbar-header{margin-inline:0}body.customers #content{padding-block:22px 30px}body.customers .knit-dashboard-intro{padding:24px 21px;margin-bottom:22px}body.customers .knit-dashboard-intro h1{font-size:32px}body.customers .knit-dashboard-intro .knit-eyebrow{font-size:9px}body.customers .knit-dashboard-actions{width:100%;gap:8px}body.customers .knit-dashboard-actions .btn{font-size:12px;padding:10px 13px}body.customers .section-client-dashboard dl{grid-template-columns:repeat(2,minmax(0,1fr))}body.customers .panel_s>.panel-body{padding:20px}}
@media(max-width:650px){body.customers .navbar.header,body.customers .navbar.header .navbar-brand{min-height:72px;height:72px}body.customers .navbar.header .navbar-brand{padding:20px 0}body.customers .navbar.header .navbar-brand img{width:205px;max-height:30px}body.customers .navbar.header .navbar-toggle{margin:18px 0;padding:10px}body.customers .knit-portal-footer{padding:30px 0 22px}body.customers .knit-footer-grid{grid-template-columns:1fr 1fr;gap:25px 18px}body.customers .knit-footer-brand{grid-column:1 / -1;grid-row:auto}body.customers .knit-footer-brand img{width:220px;margin-bottom:15px}body.customers .knit-footer-brand p{font-size:12px}body.customers .knit-footer-contact{grid-column:2}body.customers .knit-portal-footer h2{font-size:9px;letter-spacing:.07em}body.customers .knit-footer-links>a,body.customers .knit-footer-contact>a{font-size:12px;overflow-wrap:anywhere}body.customers .knit-footer-contact>p{font-size:8px}body.customers .footer .col-md-12{font-size:11px;flex-direction:column;align-items:center;text-align:center}body.customers .footer .knit-footer-legal{justify-content:center}body.customers .footer .knit-footer-socials{margin-inline-start:0}}
@media(prefers-reduced-motion:reduce){body.customers *,body.customers *::before,body.customers *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{body.customers{background:white}body.customers .knit-brand-strip,body.customers .knit-dashboard-intro,body.customers .knit-portal-footer{display:none!important}body.customers .panel_s{box-shadow:none}}
