:root{--acb-navy:#0b2545;--acb-blue:#123a62;--acb-red:#c51d29;--acb-cream:#f7f5f1;--acb-ink:#1b2938;--acb-muted:#617184;--acb-line:#e3e7ec;--acb-white:#fff;--acb-soft:#edf2f7;--acb-shadow:0 12px 32px rgba(11,37,69,.08);font-family:"Aptos","Segoe UI Variable","Segoe UI",ui-sans-serif,system-ui,sans-serif;color:var(--acb-ink)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--acb-cream);color:var(--acb-ink)}body.acbsp-body{font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}a{color:inherit}.acbsp-loading{padding:28px;color:var(--acb-muted)}
.acbsp-shell{display:flex;min-height:100vh}.acbsp-sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--acb-navy);color:#fff;padding:28px 18px 20px;display:flex;flex-direction:column;z-index:5}.acbsp-brand{display:flex;align-items:center;gap:12px;padding:0 10px 34px;color:#e8eef5;font-size:10px;font-weight:800;letter-spacing:.15em}.acbsp-brand-mark{width:42px;height:42px;border-radius:12px;background:#fff;color:var(--acb-navy);display:grid;place-items:center;font-size:14px;font-weight:900;letter-spacing:-.04em;flex:none}.acbsp-nav{display:grid;gap:7px}.acbsp-nav-item{border:0;background:transparent;color:#c6d2df;text-align:left;padding:12px 14px;border-radius:10px;cursor:pointer;font-weight:600;transition:.18s}.acbsp-nav-item:hover,.acbsp-nav-item.is-active{background:rgba(255,255,255,.12);color:#fff}.acbsp-nav-item.is-active{box-shadow:inset 3px 0 0 #ef7379}.acbsp-sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.14);padding:18px 8px 0;display:grid;grid-template-columns:36px 1fr;column-gap:10px;align-items:center}.acbsp-avatar{grid-row:span 2;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#dce6ef;color:var(--acb-navy);font-size:11px;font-weight:800}.acbsp-user-mini{font-weight:700;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.acbsp-sidebar-foot small{color:#b4c2d1;font-size:10px}
.acbsp-main{margin-left:248px;width:calc(100% - 248px);min-width:0}.acbsp-topbar{height:76px;padding:0 38px;background:#fff;border-bottom:1px solid var(--acb-line);display:flex;align-items:center;justify-content:space-between;gap:16px}.acbsp-topbar-left{display:grid;gap:2px}.acbsp-topbar-kicker,.acbsp-eyebrow{font-size:9px;letter-spacing:.16em;font-weight:800;color:#8b99a8}.acbsp-page-name{font-size:15px;color:var(--acb-navy)}.acbsp-topbar-right{display:flex;align-items:center;gap:18px}.acbsp-role-pill{font-size:11px;font-weight:700;color:var(--acb-blue);background:#edf3f8;border-radius:30px;padding:7px 11px}.acbsp-logout{font-weight:700;font-size:12px;color:var(--acb-muted);text-decoration:none}.acbsp-logout:hover{color:var(--acb-red)}.acbsp-content{max-width:1450px;margin:0 auto;padding:36px 38px 60px}.acbsp-mobile-nav{display:none}
.acbsp-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.acbsp-section-heading h1{margin:0 0 5px;font-size:27px;line-height:1.2;color:var(--acb-navy);letter-spacing:-.04em}.acbsp-muted{margin:0;color:var(--acb-muted);font-size:13px}.acbsp-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:9px;padding:10px 15px;font-size:12px;line-height:1.2;font-weight:750;cursor:pointer;text-decoration:none;transition:background .16s,border-color .16s,transform .16s}.acbsp-button:hover{transform:translateY(-1px)}.acbsp-button:disabled{opacity:.55;cursor:wait;transform:none}.acbsp-button-primary{background:var(--acb-red);color:#fff}.acbsp-button-primary:hover{background:#a91520}.acbsp-button-light{background:#fff;color:var(--acb-blue);border-color:#dce3ea}.acbsp-button-light:hover{background:#f2f6fa}.acbsp-button-danger{background:#fff2f2;color:#ae1b25;border-color:#f2c9cc}.acbsp-button-small{padding:7px 10px;font-size:11px}.acbsp-text-button{background:none;border:0;color:var(--acb-blue);font-weight:750;cursor:pointer;padding:6px}.acbsp-text-danger{color:#b4202a}.acbsp-heading-actions,.acbsp-inline-actions{display:flex;gap:8px;align-items:center}
.acbsp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 34px}.acbsp-stat-card{background:#fff;border:1px solid var(--acb-line);border-radius:14px;padding:20px 22px;box-shadow:0 4px 14px rgba(11,37,69,.025);display:grid;gap:6px}.acbsp-stat-label{font-weight:750;color:var(--acb-muted);font-size:12px}.acbsp-stat-number{font-size:30px;line-height:1.15;color:var(--acb-navy);letter-spacing:-.05em}.acbsp-stat-card small{font-size:11px}.acbsp-block-title{font-weight:800;color:var(--acb-navy);font-size:16px;margin:0 0 15px}.acbsp-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.acbsp-project-card{padding:19px;background:#fff;border:1px solid var(--acb-line);border-radius:14px;min-width:0;box-shadow:0 4px 14px rgba(11,37,69,.025)}.acbsp-project-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.acbsp-project-id{font-size:10px;color:#94a0ac;font-weight:700}.acbsp-project-card h3{margin:16px 0 2px;color:var(--acb-navy);font-size:16px;letter-spacing:-.02em}.acbsp-project-customer{margin:0 0 19px;color:var(--acb-muted);font-size:11px}.acbsp-progress-row{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;color:var(--acb-muted);font-size:11px}.acbsp-progress-row strong{color:var(--acb-navy)}.acbsp-progress-track{width:100%;height:7px;border-radius:30px;background:#e9eef3;overflow:hidden}.acbsp-progress-fill{height:100%;border-radius:30px;background:var(--acb-red)}.acbsp-card-action{width:100%;margin-top:18px}
.acbsp-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:30px;font-size:10px;font-weight:800;white-space:nowrap;background:#edf2f7;color:#53677d}.acbsp-status-active{background:#e7f4ec;color:#28734a}.acbsp-status-planning{background:#edf2f7;color:#53677d}.acbsp-status-on_hold{background:#fff2df;color:#986117}.acbsp-status-completed{background:#e7effb;color:#315d91}.acbsp-table-wrap{overflow:auto;background:#fff;border:1px solid var(--acb-line);border-radius:13px}.acbsp-table{width:100%;border-collapse:collapse;min-width:680px}.acbsp-table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#8b99a8;background:#f8fafb;padding:14px 16px;font-weight:800;border-bottom:1px solid var(--acb-line)}.acbsp-table td{padding:14px 16px;border-bottom:1px solid #eef1f4;color:#4d5d6c;font-size:12px;vertical-align:middle}.acbsp-table tr:last-child td{border-bottom:0}.acbsp-table-project{font-weight:800;color:var(--acb-navy)!important}.acbsp-table-actions{white-space:nowrap;text-align:right}.acbsp-empty{background:#fff;border:1px dashed #cbd5df;border-radius:14px;padding:42px 20px;text-align:center;color:var(--acb-muted)}.acbsp-empty-icon{font-size:28px;color:#9eacba;margin-bottom:8px}.acbsp-empty strong{color:var(--acb-navy);font-size:15px}.acbsp-empty p{margin:6px 0 0;font-size:12px}.acbsp-footnote{font-size:11px;color:var(--acb-muted);margin:12px 2px}
.acbsp-form-card{max-width:760px;background:#fff;border:1px solid var(--acb-line);border-radius:15px;padding:25px;box-shadow:var(--acb-shadow);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.acbsp-form-card h2{grid-column:1/-1;margin:0;color:var(--acb-navy);font-size:19px;letter-spacing:-.03em}.acbsp-field{display:grid;gap:6px;min-width:0}.acbsp-field-label{font-size:11px;font-weight:800;color:#506176}.acbsp-input{width:100%;min-height:42px;background:#fff;border:1px solid #dce3e9;border-radius:8px;padding:9px 11px;color:var(--acb-ink);outline:none}.acbsp-input:focus{border-color:#7896b3;box-shadow:0 0 0 3px rgba(18,58,98,.1)}.acbsp-input[multiple]{min-height:90px}.acbsp-field:has(textarea),.acbsp-field:has(select[multiple]){grid-column:1/-1}.acbsp-input textarea{resize:vertical}.acbsp-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;padding-top:7px;border-top:1px solid #edf0f3;margin-top:4px}.acbsp-checkbox{display:flex;align-items:center;gap:9px;color:var(--acb-muted);font-size:12px}.acbsp-checkbox input{accent-color:var(--acb-red);width:16px;height:16px}
.acbsp-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.acbsp-detail-item{background:#fff;border:1px solid var(--acb-line);border-radius:11px;padding:15px;display:grid;gap:5px}.acbsp-detail-item small{font-size:10px;color:#8290a0;font-weight:750}.acbsp-detail-item strong{font-size:13px;color:var(--acb-navy)}.acbsp-project-description{color:#526477;max-width:850px;margin:0 0 20px}.acbsp-large-progress{max-width:700px;margin:15px 0 30px}.acbsp-block-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:16px;color:var(--acb-navy);font-weight:850;margin:0 0 14px}.acbsp-timeline{display:grid;gap:12px;margin-bottom:22px}.acbsp-update-card{background:#fff;border:1px solid var(--acb-line);border-radius:12px;padding:17px 19px}.acbsp-update-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;color:var(--acb-navy);font-size:13px;font-weight:800}.acbsp-update-card-top small{color:#8996a4;font-size:10px;font-weight:600;white-space:nowrap}.acbsp-update-card p{white-space:pre-wrap;color:#536477;font-size:12px;margin:10px 0}.acbsp-update-meta{font-size:10px;color:#8290a0}.acbsp-inline-actions{margin-top:9px;justify-content:flex-end}.acbsp-update-form{margin-top:18px}
.acbsp-error-panel{grid-column:1/-1;border:1px solid #efc6c9;background:#fff7f7;border-radius:10px;padding:13px;color:#98222a;display:grid;gap:5px;font-size:12px}.acbsp-error-panel small{color:#8a5c60}.acbsp-error-endpoint{overflow-wrap:anywhere;white-space:normal;font-size:10px;color:#7d6265}.acbsp-alert{background:#fff3f2;border:1px solid #efc5c7;color:#a31c25;padding:10px 12px;border-radius:8px;font-size:12px;margin:12px 0}
.acbsp-login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,#e6ebf0 0,transparent 35%),linear-gradient(135deg,#f7f5f1,#edf1f5)}.acbsp-login-card{width:min(100%,430px);background:#fff;border:1px solid rgba(11,37,69,.08);border-radius:18px;padding:34px;box-shadow:0 22px 60px rgba(11,37,69,.12)}.acbsp-login-card .acbsp-brand-mark{margin-bottom:19px}.acbsp-login-card h1{font-size:27px;line-height:1.2;letter-spacing:-.04em;color:var(--acb-navy);margin:7px 0}.acbsp-login-card .acbsp-muted{margin-bottom:20px}.acbsp-login-card form{display:grid;gap:12px}.acbsp-login-card form p{display:grid;gap:6px;margin:0}.acbsp-login-card form label{font-size:11px;font-weight:800;color:#536477}.acbsp-login-card form input[type="text"],.acbsp-login-card form input[type="password"]{width:100%;height:43px;border:1px solid #dce3e9;border-radius:8px;padding:9px 11px}.acbsp-login-card form input[type="submit"]{height:44px;background:var(--acb-red);color:#fff;border:0;border-radius:8px;font-weight:800;cursor:pointer;margin-top:4px}.acbsp-login-card form p.login-remember{display:flex;align-items:center;gap:8px}.acbsp-login-card form p.login-remember label{display:flex;align-items:center;gap:7px;font-weight:600}.acbsp-login-card form input[type="checkbox"]{accent-color:var(--acb-red)}
@media(max-width:1100px){.acbsp-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acbsp-content{padding:28px 25px 50px}.acbsp-topbar{padding:0 25px}}
@media(max-width:760px){.acbsp-sidebar{display:none}.acbsp-main{width:100%;margin-left:0}.acbsp-topbar{height:64px;padding:0 17px}.acbsp-topbar-right{gap:9px}.acbsp-role-pill{display:none}.acbsp-content{padding:23px 16px 40px}.acbsp-mobile-nav{display:flex;overflow:auto;gap:5px;background:#fff;padding:8px 12px;border-bottom:1px solid var(--acb-line)}.acbsp-mobile-nav-item{flex:1;white-space:nowrap;border:0;border-radius:8px;background:transparent;color:var(--acb-muted);font-size:11px;font-weight:750;padding:9px 10px}.acbsp-mobile-nav-item.is-active{background:#edf2f7;color:var(--acb-navy)}.acbsp-section-heading{align-items:flex-start;flex-direction:column;margin-bottom:20px}.acbsp-section-heading h1{font-size:23px}.acbsp-section-heading>.acbsp-button{width:100%}.acbsp-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.acbsp-stat-card{padding:15px}.acbsp-stat-number{font-size:25px}.acbsp-project-grid{grid-template-columns:1fr}.acbsp-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.acbsp-form-card{grid-template-columns:1fr;padding:19px}.acbsp-form-card>*{grid-column:1/-1}.acbsp-form-actions{justify-content:stretch}.acbsp-form-actions .acbsp-button{flex:1}.acbsp-table-wrap{border-radius:10px}.acbsp-block-heading{align-items:flex-start}.acbsp-topbar-kicker{font-size:8px}.acbsp-page-name{font-size:14px}}
@media(max-width:420px){.acbsp-stats{grid-template-columns:1fr 1fr}.acbsp-stat-card{padding:12px}.acbsp-stat-number{font-size:23px}.acbsp-detail-grid{gap:8px}.acbsp-detail-item{padding:12px}.acbsp-update-card-top{display:grid;gap:4px}.acbsp-login-card{padding:25px}}

/* Private customer / project messaging */
.acbsp-messages-layout{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);gap:16px;align-items:stretch;min-height:560px}
.acbsp-conversation-list,.acbsp-message-thread{background:#fff;border:1px solid var(--acb-line);border-radius:14px;min-width:0;overflow:hidden}
.acbsp-conversation-list{padding:12px;display:flex;flex-direction:column;gap:7px}
.acbsp-conversation-list-title{padding:7px 8px 11px;color:var(--acb-navy);font-size:12px;font-weight:850}
.acbsp-conversation-item{width:100%;text-align:left;display:grid;gap:5px;padding:12px;border:1px solid transparent;border-radius:10px;background:#fff;cursor:pointer;min-width:0}
.acbsp-conversation-item:hover{background:#f8fafc}
.acbsp-conversation-item.is-selected{background:#f0f4f8;border-color:#dce5ed}
.acbsp-conversation-item-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.acbsp-conversation-item-top strong{font-size:12px;color:var(--acb-navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acbsp-conversation-project{font-size:10px;font-weight:800;color:var(--acb-blue)}
.acbsp-conversation-preview{font-size:11px;color:var(--acb-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acbsp-conversation-date{font-size:9px;color:#8c99a7}
.acbsp-unread-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;background:var(--acb-red);color:#fff;border-radius:20px;font-size:10px;font-weight:850}
.acbsp-message-thread{display:flex;flex-direction:column;min-height:560px}
.acbsp-message-thread-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 19px;border-bottom:1px solid var(--acb-line)}
.acbsp-message-thread-header>div{display:grid;gap:3px;min-width:0}
.acbsp-message-thread-header strong{color:var(--acb-navy);font-size:13px}
.acbsp-message-thread-header small{color:var(--acb-muted);font-size:10px}
.acbsp-private-label{padding:5px 8px;border-radius:20px;background:#edf4f8;color:var(--acb-blue);font-size:9px;font-weight:800;white-space:nowrap}
.acbsp-message-list{display:flex;flex:1;flex-direction:column;gap:12px;overflow:auto;padding:18px;max-height:520px;background:#fbfcfd}
.acbsp-message-bubble{align-self:flex-start;width:fit-content;max-width:min(86%,620px);padding:11px 13px;border:1px solid #e4e9ee;border-radius:12px 12px 12px 3px;background:#fff;box-shadow:0 2px 8px rgba(11,37,69,.025)}
.acbsp-message-bubble.is-mine{align-self:flex-end;background:#eff4f8;border-color:#dfe7ee;border-radius:12px 12px 3px 12px}
.acbsp-message-meta{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:6px}
.acbsp-message-meta strong{font-size:10px;color:var(--acb-navy)}
.acbsp-message-meta small{font-size:9px;color:#8290a0}
.acbsp-message-bubble p{margin:0;color:#435365;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.acbsp-message-composer{padding:15px 18px 17px;border-top:1px solid var(--acb-line);display:grid;gap:10px;background:#fff}
.acbsp-message-input{min-height:88px;resize:vertical}
.acbsp-message-composer-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.acbsp-message-composer-actions small{max-width:65%;font-size:9px}
@media(max-width:900px){.acbsp-messages-layout{grid-template-columns:1fr;min-height:0}.acbsp-conversation-list{max-height:245px;overflow:auto}.acbsp-message-thread{min-height:520px}}
@media(max-width:520px){.acbsp-message-thread{min-height:480px}.acbsp-message-thread-header{align-items:flex-start;flex-direction:column}.acbsp-message-composer-actions{align-items:stretch;flex-direction:column}.acbsp-message-composer-actions small{max-width:none}.acbsp-message-composer-actions .acbsp-button{width:100%}.acbsp-message-bubble{max-width:94%}}
.acbsp-live-label{font-size:10px;color:#28764f;background:#edf7f0;padding:6px 9px;border-radius:20px;font-weight:800;white-space:nowrap}
.acbsp-message-file{display:grid;gap:7px}
.acbsp-message-file input[type=file]{max-width:100%;padding:9px;background:#fff}
.acbsp-message-image{display:block;width:auto;max-width:min(100%,420px);max-height:320px;object-fit:contain;border-radius:9px;margin-top:8px;border:1px solid #e1e7ed;background:#f4f6f8}
.acbsp-message-image.is-unavailable{min-width:180px;min-height:70px}


/* In-app notification bell and private notification dropdown */
.acbsp-notification-wrap{position:relative;display:inline-flex;align-items:center}
.acbsp-notification-trigger{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 10px;border:1px solid var(--acb-line);border-radius:9px;background:#fff;color:var(--acb-navy);font-size:11px;font-weight:800;cursor:pointer}
.acbsp-notification-trigger:hover{background:#f7f9fb}
.acbsp-notification-bell{font-size:15px;line-height:1}
.acbsp-notification-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:20px;background:var(--acb-red);color:#fff;font-size:9px;font-weight:900}
.acbsp-notification-panel{position:absolute;z-index:1000;top:calc(100% + 10px);right:0;width:min(370px,calc(100vw - 28px));max-height:min(560px,calc(100vh - 110px));display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--acb-line);border-radius:13px;background:#fff;box-shadow:0 18px 50px rgba(11,37,69,.17)}
.acbsp-notification-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;border-bottom:1px solid var(--acb-line);color:var(--acb-navy);font-size:13px}
.acbsp-notification-mark-all{border:0;background:transparent;color:var(--acb-blue);font-size:10px;font-weight:800;cursor:pointer}
.acbsp-notification-list{display:grid;overflow:auto}
.acbsp-notification-item{display:grid;gap:5px;width:100%;padding:13px 15px;border:0;border-bottom:1px solid #edf0f3;background:#fff;text-align:left;cursor:pointer}
.acbsp-notification-item:hover{background:#f7f9fb}
.acbsp-notification-item.is-unread{background:#f5f8fb}
.acbsp-notification-item.is-unread:before{content:'';position:absolute}
.acbsp-notification-item strong{color:var(--acb-navy);font-size:11px;font-weight:850}
.acbsp-notification-item span{color:#526477;font-size:11px;line-height:1.45}
.acbsp-notification-item small{color:#8996a4;font-size:9px}
.acbsp-notification-empty{padding:24px 16px;text-align:center;color:var(--acb-muted);font-size:11px}
.acbsp-notification-error{margin:10px;padding:9px;border-radius:8px;background:#fff3f2;color:#a31c25;font-size:10px}
@media(max-width:760px){.acbsp-notification-trigger{width:36px;height:36px;justify-content:center;padding:0;font-size:0}.acbsp-notification-bell{font-size:16px}.acbsp-notification-count{position:absolute;right:-6px;top:-6px;min-width:17px;height:17px;padding:0 4px;font-size:8px}.acbsp-notification-panel{right:-50px}}

/* Project gallery and approved project documents */
.acbsp-project-assets-section{display:grid;gap:15px;margin:28px 0}
.acbsp-project-assets-section>.acbsp-block-heading{margin:0;align-items:center}
.acbsp-project-assets-section>.acbsp-block-heading>div{font-size:15px;font-weight:850;color:var(--acb-navy)}
.acbsp-project-assets-section>.acbsp-block-heading>small{font-size:10px;color:var(--acb-muted)}
.acbsp-asset-upload-form{margin:0 0 4px;padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.acbsp-asset-upload-form h3{grid-column:1/-1;margin:0;color:var(--acb-navy);font-size:13px}
.acbsp-asset-upload-form .acbsp-field{min-width:0}
.acbsp-asset-upload-form .acbsp-field:has(textarea),.acbsp-asset-upload-form .acbsp-field:has(input[type=file]),.acbsp-asset-upload-form .acbsp-checkbox,.acbsp-asset-upload-form .acbsp-form-actions{grid-column:1/-1}
.acbsp-help-text{font-size:10px;color:var(--acb-muted);line-height:1.45}
.acbsp-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.acbsp-asset-card{min-width:0;overflow:hidden;border:1px solid var(--acb-line);border-radius:12px;background:#fff}
.acbsp-media-preview{aspect-ratio:4/3;background:#edf1f4;display:grid;place-items:center;overflow:hidden}
.acbsp-project-photo,.acbsp-project-video{display:block;width:100%;height:100%;object-fit:cover;background:#edf1f4}
.acbsp-project-video{object-fit:contain}
.acbsp-asset-details{display:grid;gap:6px;padding:12px}
.acbsp-asset-details>strong{color:var(--acb-navy);font-size:12px;overflow-wrap:anywhere}
.acbsp-asset-details>small,.acbsp-asset-byline{color:var(--acb-muted);font-size:9px;line-height:1.4}
.acbsp-asset-details>p{margin:0;color:#536477;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}
.acbsp-asset-details .acbsp-inline-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:3px}
.acbsp-visibility-label{font-size:9px;font-weight:800;color:#526477;background:#f1f4f6;border-radius:20px;padding:5px 8px}
.acbsp-document-list{display:grid;border:1px solid var(--acb-line);border-radius:12px;overflow:hidden;background:#fff}
.acbsp-document-item{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 15px;border-bottom:1px solid var(--acb-line)}
.acbsp-document-item:last-child{border-bottom:0}
.acbsp-document-icon{display:grid;place-items:center;width:44px;height:48px;border-radius:8px;background:#edf2f7;color:var(--acb-blue);font-size:9px;font-weight:900;overflow:hidden}
.acbsp-document-info{display:grid;gap:4px;min-width:0}
.acbsp-document-info>strong{color:var(--acb-navy);font-size:12px;overflow-wrap:anywhere}
.acbsp-document-info>small{color:var(--acb-muted);font-size:9px;overflow-wrap:anywhere}
.acbsp-document-info>p{margin:0;color:#536477;font-size:10px;line-height:1.4}
.acbsp-document-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
@media(max-width:950px){.acbsp-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.acbsp-media-grid{grid-template-columns:1fr 1fr;gap:9px}.acbsp-asset-details{padding:10px}.acbsp-document-item{grid-template-columns:40px minmax(0,1fr);gap:10px}.acbsp-document-icon{width:38px;height:42px}.acbsp-document-actions{grid-column:2;justify-content:flex-start}.acbsp-asset-upload-form{grid-template-columns:1fr;padding:15px}.acbsp-asset-upload-form>*{grid-column:1/-1}}
@media(max-width:380px){.acbsp-media-grid{grid-template-columns:1fr}}

/* Portal logo: the Administrator can choose an image from the WordPress Media Library. */
.acbsp-brand-logo{display:block;max-width:148px;max-height:54px;width:auto;height:auto;object-fit:contain;flex:none}
.acbsp-login-logo{display:block;max-width:240px;max-height:96px;width:auto;height:auto;object-fit:contain;margin:0 0 22px}

/* Customer-facing project experience, based on the supplied ACB project reference. */
.acbsp-client-project-intro{margin:0 0 22px}
.acbsp-client-project-kicker{margin:0 0 7px;color:#52677e;font-size:14px;line-height:1.45}
.acbsp-client-project-intro h1{margin:0;color:var(--acb-navy);font-size:32px;line-height:1.18;letter-spacing:-.035em}
.acbsp-client-project-address{margin:7px 0 0;color:var(--acb-muted);font-size:15px}
.acbsp-client-project-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 20px}
.acbsp-client-project-stat{min-width:0;min-height:108px;padding:20px;background:#fff;border:1px solid #e5eaf0;border-radius:13px;display:flex;flex-direction:column;justify-content:center;gap:8px;box-shadow:0 4px 14px rgba(11,37,69,.035)}
.acbsp-client-project-stat span{color:#42566c;font-size:14px;font-weight:600}
.acbsp-client-project-stat strong{color:var(--acb-navy);font-size:23px;line-height:1.2;font-weight:800;overflow-wrap:anywhere}
.acbsp-client-project-stat.is-completion strong{font-size:29px}
.acbsp-client-project-tabs{display:flex;align-items:center;gap:9px;margin:0 0 18px;flex-wrap:wrap}
.acbsp-client-project-tab{min-height:48px;padding:11px 17px;border:1px solid #d4dde7;border-radius:8px;background:#fff;color:var(--acb-navy);font-size:15px;font-weight:750;cursor:pointer;transition:background .16s,border-color .16s,color .16s}
.acbsp-client-project-tab:hover{background:#f4f7fa;border-color:#b9c8d8}
.acbsp-client-project-tab.is-active{background:var(--acb-navy);border-color:var(--acb-navy);color:#fff}
.acbsp-client-project-tab:focus-visible{outline:3px solid rgba(197,29,41,.28);outline-offset:2px}
.acbsp-client-project-panel{min-width:0;min-height:330px;padding:25px 23px;background:#fff;border:1px solid #dfe6ed;border-radius:13px;box-shadow:0 4px 16px rgba(11,37,69,.025)}
.acbsp-client-progress-card{display:grid;gap:15px;margin:0 0 28px}
.acbsp-client-progress-card h2{margin:0;color:var(--acb-navy);font-size:21px;line-height:1.3}
.acbsp-client-progress-track{height:13px;overflow:hidden;border-radius:99px;background:#dfe6ed}
.acbsp-client-progress-fill{height:100%;border-radius:99px;background:var(--acb-red);transition:width .35s ease}
.acbsp-client-progress-card>p{margin:0;color:#42566c;font-size:15px;line-height:1.6}
.acbsp-client-project-description{max-width:900px;color:#526477!important}
.acbsp-client-subheading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 17px;color:var(--acb-navy)}
.acbsp-client-subheading h2{margin:0;font-size:20px;line-height:1.3}
.acbsp-client-subheading span{color:var(--acb-muted);font-size:13px}
.acbsp-client-update-timeline{position:relative;display:grid;gap:0;margin:0 0 24px;padding:0 0 0 30px}
.acbsp-client-update-timeline:before{content:"";position:absolute;top:8px;bottom:8px;left:10px;width:3px;background:#dce4ec;border-radius:3px}
.acbsp-client-update-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr);padding:0 0 24px;min-width:0}
.acbsp-client-update-item:last-child{padding-bottom:3px}
.acbsp-client-update-marker{position:absolute;left:-30px;top:5px;width:14px;height:14px;border-radius:50%;background:var(--acb-red);border:2px solid #fff;box-shadow:0 0 0 1px rgba(197,29,41,.08)}
.acbsp-client-update-content{min-width:0}
.acbsp-client-update-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.acbsp-client-update-heading strong{color:var(--acb-navy);font-size:16px;line-height:1.4}
.acbsp-client-update-heading time{flex:none;color:#738399;font-size:13px}
.acbsp-client-update-content p{margin:9px 0 0;color:#52677e;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.acbsp-client-message-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding:18px 20px;border:1px solid #e0e7ef;border-radius:11px;background:#f7f9fb;color:var(--acb-navy);font-size:15px;font-weight:650}
.acbsp-client-project-panel .acbsp-project-assets-section{margin:0}
.acbsp-client-project-panel .acbsp-block-heading>div{font-size:20px}
.acbsp-client-project-panel .acbsp-block-heading>small{font-size:13px}
.acbsp-client-project-panel .acbsp-asset-details>strong,.acbsp-client-project-panel .acbsp-document-info>strong{font-size:15px}
.acbsp-client-project-panel .acbsp-asset-details>small,.acbsp-client-project-panel .acbsp-asset-byline,.acbsp-client-project-panel .acbsp-document-info>small{font-size:12px}
.acbsp-client-project-panel .acbsp-asset-details>p,.acbsp-client-project-panel .acbsp-document-info>p{font-size:14px;line-height:1.55}
.acbsp-client-project-panel .acbsp-button{font-size:14px;min-height:42px}
.acbsp-client-project-panel .acbsp-empty{padding:35px 20px}
.acbsp-client-project-panel .acbsp-empty strong{font-size:17px}
.acbsp-client-project-panel .acbsp-empty p{font-size:14px;line-height:1.55}
.acbsp-customer-shell{font-size:16px;background:#edf2f7;color:#1b2938}
.acbsp-customer-shell .acbsp-main{background:#edf2f7;min-height:100vh}
.acbsp-customer-shell .acbsp-content{max-width:1500px;padding-top:30px}
.acbsp-customer-shell .acbsp-topbar-kicker{font-size:12px}
.acbsp-customer-shell .acbsp-page-name{font-size:18px;font-weight:700}
.acbsp-customer-shell .acbsp-nav-item{font-size:15px;padding:14px 14px}
.acbsp-customer-shell .acbsp-user-mini{font-size:14px}
.acbsp-customer-shell .acbsp-sidebar-foot small{font-size:12px}
.acbsp-client-project-stat.is-milestone strong{font-size:21px}
.acbsp-client-project-target{color:#617184!important;font-size:14px!important}
.acbsp-client-project-panel{font-size:16px}
@media(max-width:900px){.acbsp-client-project-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.acbsp-client-project-intro h1{font-size:27px}.acbsp-client-project-kicker{font-size:13px}.acbsp-client-project-stat{min-height:96px;padding:16px}.acbsp-client-project-stat span{font-size:13px}.acbsp-client-project-stat strong{font-size:20px}.acbsp-client-project-stat.is-completion strong{font-size:25px}.acbsp-client-project-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:0 0 5px;scrollbar-width:thin}.acbsp-client-project-tab{flex:0 0 auto;min-height:46px;padding:10px 14px;font-size:14px}.acbsp-client-project-panel{padding:19px 16px;min-height:280px}.acbsp-client-progress-card h2{font-size:19px}.acbsp-client-progress-card>p,.acbsp-client-update-content p{font-size:14px}.acbsp-client-subheading h2{font-size:18px}.acbsp-client-update-heading{display:grid;gap:4px}.acbsp-client-update-heading strong{font-size:15px}.acbsp-client-update-heading time{font-size:12px}.acbsp-client-message-cta{align-items:stretch;flex-direction:column;padding:16px}.acbsp-client-message-cta .acbsp-button{width:100%}.acbsp-brand-logo{max-width:125px;max-height:42px}}
@media(max-width:420px){.acbsp-client-project-intro h1{font-size:24px}.acbsp-client-project-stats{gap:9px}.acbsp-client-project-stat{min-height:88px;padding:13px}.acbsp-client-project-stat strong{font-size:18px}.acbsp-client-project-stat.is-completion strong{font-size:23px}.acbsp-client-project-panel{padding:16px 12px}.acbsp-client-update-timeline{padding-left:26px}.acbsp-client-update-marker{left:-26px}}
@media(prefers-reduced-motion:reduce){.acbsp-client-progress-fill,.acbsp-client-project-tab{transition:none}}

/* Compact customer brand on phones where the desktop sidebar is hidden. */
.acbsp-mobile-brand-logo{display:none;max-width:94px;max-height:38px;width:auto;height:auto;object-fit:contain;flex:none}
@media(max-width:760px){.acbsp-mobile-brand-logo{display:block}.acbsp-customer-shell .acbsp-topbar{gap:10px}.acbsp-customer-shell .acbsp-topbar-left{min-width:0;flex:1}.acbsp-customer-shell .acbsp-topbar-right{flex:none}}

/* Responsive portal pass (1.8.2): phone, tablet and desktop layouts. */
.acbsp-body{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.acbsp-shell,.acbsp-main,.acbsp-content,.acbsp-customer-shell main{min-width:0;max-width:100%}
.acbsp-content>*{min-width:0}
.acbsp-customer-shell .acbsp-content{width:100%;padding-right:clamp(14px,2.5vw,38px);padding-left:clamp(14px,2.5vw,38px)}
.acbsp-customer-shell .acbsp-topbar{position:sticky;top:0;z-index:25}
.acbsp-customer-shell .acbsp-topbar-left{min-width:0}
.acbsp-customer-shell .acbsp-page-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.acbsp-client-project-intro,.acbsp-client-project-stats,.acbsp-client-project-tabs,.acbsp-client-project-panel{width:100%;min-width:0}
.acbsp-client-project-intro h1,.acbsp-client-project-address,.acbsp-client-project-kicker{overflow-wrap:anywhere}
.acbsp-client-project-stat{min-width:0}
.acbsp-client-project-stat strong{overflow-wrap:anywhere;word-break:normal}
.acbsp-client-project-tabs{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scroll-snap-type:x proximity}
.acbsp-client-project-tab{scroll-snap-align:start;flex:0 0 auto}
.acbsp-client-project-panel{overflow-wrap:anywhere}
.acbsp-client-project-panel img,.acbsp-client-project-panel video,.acbsp-message-list img,.acbsp-asset-card img,.acbsp-asset-card video{max-width:100%}
.acbsp-table-wrap,.acbsp-message-list,.acbsp-notification-list{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.acbsp-customer-shell .acbsp-button,.acbsp-customer-shell .acbsp-client-project-tab{touch-action:manipulation}
.acbsp-customer-shell input,.acbsp-customer-shell select,.acbsp-customer-shell textarea{font-size:16px}

/* Tablets: replace the fixed desktop rail with a compact, horizontally scrollable nav. */
@media(max-width:980px){
  .acbsp-sidebar{display:none}
  .acbsp-main{width:100%;margin-left:0}
  .acbsp-mobile-nav{position:sticky;top:64px;z-index:24;display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:8px 14px;background:#fff;border-bottom:1px solid var(--acb-line)}
  .acbsp-mobile-nav-item{flex:0 0 auto;min-height:42px;padding:10px 14px;font-size:13px;white-space:nowrap}
  .acbsp-content{width:100%;padding:26px 22px 48px}
  .acbsp-topbar{padding-right:22px;padding-left:22px}
  .acbsp-customer-shell .acbsp-content{padding-top:24px}
  .acbsp-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .acbsp-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Phones and small tablets. */
@media(max-width:700px){
  .acbsp-topbar{min-height:62px;height:auto;min-height:62px;padding:9px 14px;gap:9px}
  .acbsp-customer-shell .acbsp-topbar{min-height:62px;gap:8px}
  .acbsp-mobile-brand-logo{max-width:82px;max-height:34px}
  .acbsp-customer-shell .acbsp-topbar-left{flex:1 1 auto;min-width:0}
  .acbsp-customer-shell .acbsp-topbar-kicker{display:none}
  .acbsp-customer-shell .acbsp-page-name{font-size:15px;line-height:1.25}
  .acbsp-topbar-right{gap:8px;flex:0 0 auto}
  .acbsp-logout{font-size:11px;white-space:nowrap}
  .acbsp-mobile-nav{top:62px;padding:7px 10px}
  .acbsp-mobile-nav-item{min-height:42px;padding:9px 12px;font-size:12px}
  .acbsp-content{padding:20px 14px 36px}
  .acbsp-customer-shell .acbsp-content{padding:20px 14px calc(34px + env(safe-area-inset-bottom))}
  .acbsp-section-heading{gap:12px}
  .acbsp-section-heading h1{font-size:24px}
  .acbsp-heading-actions{width:100%;flex-wrap:wrap}
  .acbsp-heading-actions>.acbsp-button{flex:1 1 auto}
  .acbsp-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .acbsp-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .acbsp-form-card{width:100%;max-width:none;padding:17px;grid-template-columns:minmax(0,1fr)}
  .acbsp-form-card>*{grid-column:1/-1;min-width:0}
  .acbsp-form-actions{flex-wrap:wrap}
  .acbsp-form-actions>.acbsp-button{min-height:44px}
  .acbsp-table-wrap{max-width:100%}
  .acbsp-messages-layout{grid-template-columns:minmax(0,1fr);gap:12px}
  .acbsp-conversation-list{max-height:210px}
  .acbsp-message-thread{min-height:430px;min-width:0}
  .acbsp-message-list{max-height:48vh;min-height:220px;padding:13px}
  .acbsp-message-composer{padding:13px}
  .acbsp-message-composer-actions .acbsp-button{min-height:44px}
  .acbsp-notification-panel{right:0;max-width:calc(100vw - 20px)}
  .acbsp-client-project-intro{margin-bottom:17px}
  .acbsp-client-project-intro h1{font-size:clamp(23px,5.5vw,29px)}
  .acbsp-client-project-kicker{font-size:13px}
  .acbsp-client-project-address{font-size:14px}
  .acbsp-client-project-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}
  .acbsp-client-project-stat{min-height:92px;padding:14px}
  .acbsp-client-project-stat span{font-size:13px;line-height:1.35}
  .acbsp-client-project-stat strong{font-size:20px;line-height:1.2}
  .acbsp-client-project-stat.is-completion strong{font-size:25px}
  .acbsp-client-project-tabs{gap:7px;margin-bottom:13px;padding-bottom:6px}
  .acbsp-client-project-tab{min-height:44px;padding:10px 13px;font-size:13px}
  .acbsp-client-project-panel{min-height:240px;padding:17px 14px;border-radius:11px}
  .acbsp-client-progress-card{gap:12px;margin-bottom:22px}
  .acbsp-client-progress-card h2{font-size:19px}
  .acbsp-client-progress-track{height:12px}
  .acbsp-client-progress-card>p,.acbsp-client-update-content p{font-size:14px}
  .acbsp-client-subheading{align-items:flex-start;flex-direction:column;gap:4px}
  .acbsp-client-subheading h2{font-size:18px}
  .acbsp-client-update-timeline{padding-left:27px}
  .acbsp-client-update-marker{left:-27px}
  .acbsp-client-update-heading{display:grid;gap:4px}
  .acbsp-client-update-heading strong{font-size:15px}
  .acbsp-client-update-heading time{font-size:12px}
  .acbsp-client-message-cta{align-items:stretch;flex-direction:column;gap:11px;padding:15px;font-size:14px}
  .acbsp-client-message-cta .acbsp-button{width:100%;min-height:46px}
  .acbsp-project-assets-section{gap:12px;margin:22px 0}
  .acbsp-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .acbsp-asset-details{padding:10px}
  .acbsp-asset-details .acbsp-inline-actions{align-items:stretch;flex-direction:column}
  .acbsp-asset-details .acbsp-inline-actions .acbsp-text-button{min-height:40px;text-align:left}
  .acbsp-document-item{grid-template-columns:40px minmax(0,1fr);gap:9px;padding:12px}
  .acbsp-document-icon{width:38px;height:42px}
  .acbsp-document-info{min-width:0}
  .acbsp-document-actions{grid-column:1/-1;justify-content:flex-start;padding-left:49px}
  .acbsp-document-actions .acbsp-button{min-height:42px}
  .acbsp-asset-upload-form{grid-template-columns:minmax(0,1fr);padding:14px}
  .acbsp-asset-upload-form>*{grid-column:1/-1;min-width:0}
  .acbsp-login-wrap{padding:18px}
  .acbsp-login-card{width:100%;max-width:430px;padding:26px 22px;border-radius:15px}
  .acbsp-login-card h1{font-size:25px}
  .acbsp-login-card form input[type="text"],.acbsp-login-card form input[type="password"]{min-height:46px;font-size:16px}
  .acbsp-login-card form input[type="submit"]{min-height:48px}
}

@media(max-width:390px){
  .acbsp-topbar{padding-right:11px;padding-left:11px}
  .acbsp-mobile-brand-logo{max-width:64px;max-height:30px}
  .acbsp-customer-shell .acbsp-page-name{font-size:14px}
  .acbsp-notification-trigger{width:34px;height:34px}
  .acbsp-logout{font-size:10px}
  .acbsp-content{padding-right:11px;padding-left:11px}
  .acbsp-customer-shell .acbsp-content{padding-right:11px;padding-left:11px}
  .acbsp-client-project-stats{gap:8px}
  .acbsp-client-project-stat{min-height:86px;padding:11px}
  .acbsp-client-project-stat span{font-size:12px}
  .acbsp-client-project-stat strong{font-size:18px}
  .acbsp-client-project-stat.is-completion strong{font-size:22px}
  .acbsp-client-project-panel{padding:14px 11px}
  .acbsp-media-grid{grid-template-columns:minmax(0,1fr)}
  .acbsp-document-actions{padding-left:0}
  .acbsp-message-composer-actions .acbsp-button{width:100%}
}

@media(prefers-reduced-motion:reduce){
  .acbsp-customer-shell *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

@supports(padding:max(0px)){
  .acbsp-customer-shell .acbsp-content{padding-bottom:max(34px,env(safe-area-inset-bottom))}
}
@media(min-width:761px) and (max-width:980px){.acbsp-mobile-nav{top:76px}}
@media(min-width:701px) and (max-width:760px){.acbsp-mobile-nav{top:64px}}

/* Customer-first usability pass (1.9.0): clearer hierarchy, plain-language guidance and touch-safe controls. */
.acbsp-customer-shell .acbsp-section-heading h1{font-size:clamp(25px,2.25vw,32px);letter-spacing:-.035em}
.acbsp-customer-shell .acbsp-muted{font-size:14px;line-height:1.6}
.acbsp-customer-welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0 0 22px;padding:clamp(22px,3vw,34px);border:1px solid #dce5ee;border-radius:18px;background:linear-gradient(125deg,#fff 0%,#f8fafc 66%,#eef4f8 100%);box-shadow:0 8px 26px rgba(11,37,69,.045)}
.acbsp-customer-welcome-copy{min-width:0;max-width:760px}
.acbsp-customer-welcome-copy .acbsp-eyebrow{display:block;margin:0 0 9px;color:#617184;font-size:11px;letter-spacing:.14em}
.acbsp-customer-welcome-copy h1{margin:0;color:var(--acb-navy);font-size:clamp(27px,3vw,38px);line-height:1.15;letter-spacing:-.04em}
.acbsp-customer-welcome-copy p{max-width:680px;margin:10px 0 0;color:#526477;font-size:16px;line-height:1.65}
.acbsp-customer-welcome-actions{display:flex;flex:0 0 auto;flex-direction:column;gap:9px;min-width:205px}
.acbsp-customer-welcome-actions .acbsp-button{min-height:48px;font-size:14px}
.acbsp-customer-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:27px}
.acbsp-customer-stats .acbsp-stat-card{min-height:110px;padding:22px 23px}
.acbsp-customer-stats .acbsp-stat-label{font-size:14px;color:#42566c}
.acbsp-customer-stats .acbsp-stat-number{font-size:33px}
.acbsp-customer-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.acbsp-customer-project-card{padding:22px;border-radius:16px;box-shadow:0 6px 20px rgba(11,37,69,.045);transition:box-shadow .18s,border-color .18s,transform .18s}
.acbsp-customer-project-card:hover{border-color:#c8d6e3;box-shadow:0 12px 28px rgba(11,37,69,.075);transform:translateY(-2px)}
.acbsp-customer-project-card h3{margin:18px 0 5px;font-size:20px;line-height:1.3}
.acbsp-customer-project-card .acbsp-project-id{font-size:11px;color:#63778c}
.acbsp-customer-project-card .acbsp-project-customer{font-size:14px;line-height:1.5;margin-bottom:18px}
.acbsp-customer-project-card .acbsp-progress-row{font-size:13px;margin-bottom:9px}
.acbsp-customer-project-card .acbsp-progress-track{height:10px}
.acbsp-customer-card-milestone{display:grid;gap:3px;margin:16px 0 0;padding:12px 13px;border-radius:10px;background:#f3f6f9;color:#617184;font-size:12px}
.acbsp-customer-card-milestone strong{color:var(--acb-navy);font-size:14px}
.acbsp-customer-project-card .acbsp-card-action{min-height:48px;margin-top:18px;font-size:14px}
.acbsp-client-project-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.acbsp-client-project-identity{min-width:0}
.acbsp-client-project-kicker{font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#65798e}
.acbsp-client-project-intro h1{font-size:clamp(29px,3vw,38px);letter-spacing:-.04em}
.acbsp-client-project-status{flex:0 0 auto;margin-top:24px;padding:8px 13px;font-size:12px}
.acbsp-client-project-stat{position:relative;min-height:116px;padding:20px 21px}
.acbsp-client-project-stat span{font-size:13px;letter-spacing:.01em;color:#596c80}
.acbsp-client-project-stat strong{font-size:24px}
.acbsp-client-project-stat .acbsp-client-stat-help{color:#7a8998;font-size:11px;line-height:1.4}
.acbsp-client-project-stat.is-completion strong{font-size:31px}
.acbsp-client-project-stat.is-milestone strong{font-size:19px;line-height:1.35}
.acbsp-client-project-tabs{gap:9px;margin-bottom:14px}
.acbsp-client-project-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:50px;padding:11px 16px;font-size:14px}
.acbsp-tab-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:#edf2f7;color:#526477;font-size:11px;font-weight:800}
.acbsp-client-project-tab.is-active .acbsp-tab-count{background:rgba(255,255,255,.17);color:#fff}
.acbsp-client-project-panel{padding:28px;}
.acbsp-client-progress-card{gap:13px;margin-bottom:18px}
.acbsp-client-progress-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;color:var(--acb-navy)}
.acbsp-client-progress-heading>div{font-size:19px;font-weight:800}
.acbsp-client-progress-heading>strong{font-size:25px;font-weight:850;letter-spacing:-.03em}
.acbsp-client-progress-track{height:15px}
.acbsp-client-progress-caption{font-weight:700;color:var(--acb-navy)!important}
.acbsp-client-next-step{display:flex;align-items:flex-start;gap:14px;margin:0 0 28px;padding:16px 18px;border:1px solid #e1e8ef;border-radius:12px;background:#f7f9fb}
.acbsp-client-next-step-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#e5edf5;color:var(--acb-blue);font-size:20px;font-weight:800}
.acbsp-client-next-step-copy{display:grid;gap:4px;min-width:0}
.acbsp-client-next-step-copy small{font-size:10px;letter-spacing:.12em;color:#78899b;font-weight:850}
.acbsp-client-next-step-copy strong{font-size:16px;color:var(--acb-navy);overflow-wrap:anywhere}
.acbsp-client-next-step-copy p{margin:0;color:#65778a;font-size:13px;line-height:1.5}
.acbsp-client-subheading{margin-top:0}
.acbsp-client-subheading h2{font-size:21px}
.acbsp-client-message-cta{margin-top:28px;padding:20px 22px}
.acbsp-client-message-copy{display:grid;gap:4px;min-width:0}
.acbsp-client-message-copy strong{font-size:16px;color:var(--acb-navy)}
.acbsp-client-message-copy p{margin:0;color:#617184;font-size:13px;line-height:1.5;font-weight:400}
.acbsp-client-message-cta .acbsp-button{min-height:48px;white-space:nowrap;font-size:14px}
.acbsp-client-tab-intro{margin:0 0 4px;color:var(--acb-navy);font-size:21px;font-weight:850}
.acbsp-client-tab-help{margin:0 0 22px;color:#617184;font-size:14px;line-height:1.6}
.acbsp-client-see-all{min-height:44px;margin:0 0 12px}
.acbsp-customer-shell .acbsp-button,.acbsp-customer-shell .acbsp-client-project-tab,.acbsp-customer-shell .acbsp-mobile-nav-item{min-height:44px}
.acbsp-customer-shell button:focus-visible,.acbsp-customer-shell a:focus-visible,.acbsp-customer-shell input:focus-visible,.acbsp-customer-shell textarea:focus-visible,.acbsp-customer-shell select:focus-visible{outline:3px solid rgba(197,29,41,.34);outline-offset:2px}

@media(max-width:980px){
  .acbsp-customer-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .acbsp-customer-welcome{gap:20px}
  .acbsp-client-project-panel{padding:24px}
}
@media(max-width:760px){
  .acbsp-customer-welcome{align-items:stretch;flex-direction:column;gap:18px;padding:22px 19px}
  .acbsp-customer-welcome-copy p{font-size:15px}
  .acbsp-customer-welcome-actions{display:grid;grid-template-columns:1fr 1fr;min-width:0}
  .acbsp-customer-welcome-actions .acbsp-button{padding:10px 11px;font-size:12px}
  .acbsp-customer-stats{margin-bottom:24px}
  .acbsp-customer-stats .acbsp-stat-card{min-height:96px;padding:16px}
  .acbsp-customer-stats .acbsp-stat-number{font-size:29px}
  .acbsp-customer-project-grid{grid-template-columns:1fr;gap:13px}
  .acbsp-customer-project-card{padding:18px}
  .acbsp-client-project-intro{flex-direction:column;gap:9px}
  .acbsp-client-project-status{margin:0}
  .acbsp-client-project-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;padding:0;margin-bottom:13px}
  .acbsp-client-project-tab{justify-content:space-between;min-height:54px;padding:10px 11px;text-align:left;font-size:13px;white-space:normal}
  .acbsp-client-project-tab>span:first-child{min-width:0;line-height:1.3}
  .acbsp-client-project-panel{padding:19px 16px;min-height:240px}
  .acbsp-client-progress-heading>div{font-size:17px}
  .acbsp-client-progress-heading>strong{font-size:23px}
  .acbsp-client-next-step{padding:14px;gap:11px;margin-bottom:23px}
  .acbsp-client-subheading h2{font-size:19px}
  .acbsp-client-message-cta{align-items:stretch;flex-direction:column;gap:12px;padding:16px}
  .acbsp-client-message-cta .acbsp-button{width:100%;white-space:normal}
  .acbsp-client-tab-intro{font-size:19px}
  .acbsp-client-tab-help{font-size:13px;margin-bottom:17px}
}
@media(max-width:420px){
  .acbsp-customer-welcome{padding:19px 15px}
  .acbsp-customer-welcome-copy h1{font-size:26px}
  .acbsp-customer-welcome-actions{grid-template-columns:1fr}
  .acbsp-customer-stats{gap:9px}
  .acbsp-customer-stats .acbsp-stat-card{padding:13px}
  .acbsp-customer-stats .acbsp-stat-label{font-size:12px}
  .acbsp-customer-stats .acbsp-stat-number{font-size:25px}
  .acbsp-client-project-stat{min-height:94px;padding:12px}
  .acbsp-client-project-stat strong{font-size:19px}
  .acbsp-client-project-stat.is-completion strong{font-size:24px}
  .acbsp-client-project-stat.is-milestone strong{font-size:16px}
  .acbsp-client-project-tab{min-height:58px;padding:9px;font-size:12px;gap:6px}
  .acbsp-tab-count{min-width:20px;height:20px;font-size:10px}
  .acbsp-client-project-panel{padding:16px 13px}
}
@media(prefers-reduced-motion:reduce){
  .acbsp-customer-project-card{transition:none}
  .acbsp-customer-project-card:hover{transform:none}
}

/* Keep a visible ACB identity when the desktop sidebar is replaced by tablet/phone navigation. */
.acbsp-mobile-brand-fallback{display:none;flex:0 0 36px;width:36px;height:36px;align-items:center;justify-content:center;border-radius:10px;background:#fff;color:var(--acb-navy);font-size:11px;font-weight:900;letter-spacing:-.04em;box-shadow:0 1px 4px rgba(11,37,69,.12)}
@media(max-width:980px){
  .acbsp-mobile-brand-logo{display:block;max-width:92px;max-height:36px}
  .acbsp-mobile-brand-fallback{display:inline-flex}
}
@media(max-width:390px){.acbsp-mobile-brand-logo{max-width:68px;max-height:32px}}

/* Readability pass (1.9.2): comfortable type sizes and contrast across the CRUD portal. */
:root{--acb-muted:#526579;font-family:"Segoe UI Variable Text","Segoe UI",Roboto,"Helvetica Neue",Arial,ui-sans-serif,system-ui,sans-serif}
.acbsp-estimator{margin:24px 0;padding:22px;border:1px solid var(--acb-line);border-radius:14px;background:#fff}
.acbsp-estimator h2{margin:0;color:var(--acb-navy);font-size:26px}
.acbsp-estimator form{display:grid;gap:16px;margin-top:18px}
.acbsp-estimate-rows{display:grid;gap:12px}
.acbsp-estimate-row,.acbsp-estimate-columns{display:grid;grid-template-columns:32px minmax(0,2fr) minmax(0,1.5fr) minmax(0,1fr) 78px;gap:14px;align-items:center;padding:18px 12px;border-bottom:1px solid var(--acb-line)}
.acbsp-estimate-columns{background:var(--acb-navy);color:#fff;border-radius:9px;font-size:14px}
.acbsp-estimate-row .acbsp-field-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.acbsp-estimate-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--acb-soft);color:var(--acb-muted);font-variant-numeric:tabular-nums}
.acbsp-estimate-row [name=projectName]{background:#edf3f8;color:var(--acb-navy)}
.acbsp-estimate-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.acbsp-estimate-footer .acbsp-button{border-style:dashed;border-color:var(--acb-blue);color:var(--acb-blue)}
.acbsp-estimate-total{display:block;text-align:right;font-size:22px;color:var(--acb-navy);font-variant-numeric:tabular-nums}
@media(max-width:900px){.acbsp-estimator{padding:16px}.acbsp-estimate-columns{display:none}.acbsp-estimate-row{grid-template-columns:32px minmax(0,1fr);gap:10px}.acbsp-estimate-row .acbsp-field,.acbsp-estimate-row .acbsp-button{grid-column:2}.acbsp-estimate-row .acbsp-field-label{position:static;width:auto;height:auto;clip:auto;overflow:visible}.acbsp-estimate-number{grid-column:1;grid-row:1}.acbsp-estimate-total{text-align:left}}
body.acbsp-body{font-size:16px;line-height:1.65;font-weight:400;letter-spacing:.002em}
.acbsp-loading,.acbsp-project-description{font-size:15px;line-height:1.7}
.acbsp-brand{font-size:12px}.acbsp-nav-item{font-size:15px;line-height:1.35;padding:13px 14px}
.acbsp-user-mini{font-size:14px}.acbsp-sidebar-foot small{font-size:12px;line-height:1.4}

/* Compact, consistently sized project media grid. */
.acbsp-media-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.acbsp-media-preview{aspect-ratio:4/3;max-height:180px}
.acbsp-asset-details .acbsp-inline-actions{flex-wrap:wrap;gap:8px}
@media(max-width:620px){.acbsp-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.acbsp-media-preview{max-height:150px}}
.acbsp-topbar-kicker,.acbsp-eyebrow{font-size:11px}.acbsp-page-name{font-size:17px;font-weight:700}
.acbsp-role-pill,.acbsp-logout{font-size:13px}.acbsp-section-heading h1{font-size:clamp(28px,2.2vw,34px);line-height:1.2}
.acbsp-muted{font-size:15px;line-height:1.65}.acbsp-button{font-size:14px;line-height:1.35;padding:11px 16px}
.acbsp-button-small{font-size:13px;padding:9px 12px}.acbsp-text-button{font-size:14px;line-height:1.4}
.acbsp-stat-label{font-size:14px}.acbsp-stat-card small,.acbsp-footnote{font-size:13px;line-height:1.55}
.acbsp-block-title,.acbsp-block-heading{font-size:19px}.acbsp-project-id{font-size:12px}
.acbsp-project-card h3{font-size:19px}.acbsp-project-customer,.acbsp-progress-row{font-size:14px;line-height:1.5}
.acbsp-status{font-size:12px;line-height:1.25;padding:6px 10px}
.acbsp-table th{font-size:12px;line-height:1.4}.acbsp-table td{font-size:14px;line-height:1.55}
.acbsp-empty strong{font-size:18px}.acbsp-empty p{font-size:14px;line-height:1.6}
.acbsp-form-card h2{font-size:23px}.acbsp-field{gap:8px}.acbsp-field-label{font-size:14px;line-height:1.4}
.acbsp-input{min-height:46px;padding:10px 12px;font-size:16px;line-height:1.45}.acbsp-checkbox{font-size:14px;line-height:1.5}
.acbsp-detail-item small{font-size:12px}.acbsp-detail-item strong{font-size:15px;line-height:1.45}
.acbsp-update-card-top{font-size:15px}.acbsp-update-card-top small{font-size:12px}.acbsp-update-card p{font-size:15px;line-height:1.7}
.acbsp-update-meta{font-size:12px;line-height:1.5}.acbsp-error-panel,.acbsp-alert{font-size:14px;line-height:1.55}
.acbsp-error-endpoint{font-size:12px}.acbsp-login-card h1{font-size:31px}.acbsp-login-card form label{font-size:14px}
.acbsp-login-card form input[type="text"],.acbsp-login-card form input[type="password"]{height:48px;font-size:16px}
.acbsp-login-card form input[type="submit"]{height:48px;font-size:15px}
.acbsp-conversation-list-title{font-size:15px}.acbsp-conversation-item-top strong{font-size:15px}
.acbsp-conversation-project{font-size:12px}.acbsp-conversation-preview{font-size:13px}.acbsp-conversation-date{font-size:11px}
.acbsp-message-thread-header strong{font-size:16px}.acbsp-message-thread-header small{font-size:13px;line-height:1.45}
.acbsp-live-label,.acbsp-private-label{font-size:12px}.acbsp-message-meta strong{font-size:13px}.acbsp-message-meta small{font-size:11px}
.acbsp-message-bubble p{font-size:15px;line-height:1.65}.acbsp-message-composer-actions small{font-size:12px;line-height:1.5}
.acbsp-notification-trigger{font-size:13px}.acbsp-notification-panel-heading{font-size:16px}.acbsp-notification-mark-all{font-size:12px}
.acbsp-notification-item strong{font-size:14px}.acbsp-notification-item span{font-size:13px;line-height:1.55}
.acbsp-notification-item small,.acbsp-notification-empty{font-size:12px}.acbsp-notification-error{font-size:12px}
.acbsp-client-project-stat .acbsp-client-stat-help{font-size:13px}.acbsp-client-next-step-copy small{font-size:12px}
.acbsp-client-next-step-copy p,.acbsp-client-message-copy p{font-size:14px;line-height:1.65}

@media(max-width:980px){.acbsp-mobile-nav-item{font-size:14px}}
@media(max-width:700px){
  body.acbsp-body{font-size:16px;line-height:1.65}
  .acbsp-customer-shell .acbsp-page-name{font-size:16px}.acbsp-logout{font-size:13px}
  .acbsp-notification-trigger{font-size:0}
  .acbsp-mobile-nav-item{font-size:14px}.acbsp-section-heading h1{font-size:27px}
  .acbsp-project-card h3{font-size:18px}.acbsp-message-bubble p{font-size:15px}
  .acbsp-client-project-stat span{font-size:14px}.acbsp-client-project-tab{font-size:14px}
  .acbsp-client-tab-help{font-size:14px}.acbsp-login-card form label{font-size:14px}
}
@media(max-width:390px){
  .acbsp-customer-shell .acbsp-page-name{font-size:15px}.acbsp-logout{font-size:12px}
  .acbsp-client-project-stat span{font-size:13px}.acbsp-client-project-tab{font-size:13px}
}

/* Status-aware progress and mobile PM camera upload (1.9.5). */
.acbsp-progress-track.acbsp-progress-completed .acbsp-progress-fill,.acbsp-client-progress-track.acbsp-progress-completed .acbsp-client-progress-fill{background:#2f8a57}
.acbsp-progress-track.acbsp-progress-on-hold .acbsp-progress-fill,.acbsp-client-progress-track.acbsp-progress-on-hold .acbsp-client-progress-fill{background:#d39b16}
.acbsp-camera-field{padding:12px;border:1px solid #dce5ed;border-radius:10px;background:#f7fafc}
.acbsp-camera-group{grid-column:1/-1;min-width:0;margin:0;padding:16px;border:1px solid #d6e1eb;border-radius:12px;background:#f5f8fb}
.acbsp-camera-group legend{padding:0 6px;color:var(--acb-navy);font-size:16px;font-weight:800}
.acbsp-camera-description{margin:0 0 12px;color:var(--acb-muted);font-size:14px;line-height:1.5}
.acbsp-camera-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.acbsp-camera-choice{min-width:0;gap:6px}
.acbsp-camera-choice .acbsp-file-status{overflow-wrap:anywhere}
.acbsp-capture-panel{grid-column:1/-1;min-width:0;padding:20px;border:1px solid #dce5ed;border-radius:14px;background:#fff}
.acbsp-asset-upload-form .acbsp-capture-title{margin:0;font-size:22px;line-height:1.25;color:var(--acb-navy)}
.acbsp-capture-description{margin:6px 0 16px;color:var(--acb-muted);font-size:15px;line-height:1.5}
.acbsp-capture-dropzone{display:flex;flex-direction:column;align-items:center;gap:9px;padding:24px 14px;border:2px dashed #a8bace;border-radius:12px;background:#eef4f8;text-align:center;transition:border-color .16s,background .16s}
.acbsp-capture-dropzone.is-dragging{border-color:var(--acb-red);background:#e4eef5}
.acbsp-capture-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;background:var(--acb-navy);color:#fff;font-size:31px;line-height:1}
.acbsp-capture-prompt{color:var(--acb-navy);font-size:17px;line-height:1.35}
.acbsp-capture-drop-hint,.acbsp-capture-limit{color:var(--acb-muted);font-size:13px;line-height:1.45}
.acbsp-capture-input{position:absolute;width:1px;height:1px;opacity:0}
.acbsp-capture-input:focus-visible+.acbsp-capture-button{outline:3px solid rgba(197,29,41,.5);outline-offset:3px}
.acbsp-capture-button{min-height:46px;max-width:100%;cursor:pointer}
.acbsp-capture-note{margin:14px 0 8px;color:var(--acb-muted);font-size:13px;line-height:1.5}
.acbsp-capture-panel>.acbsp-file-status{font-size:14px}
.acbsp-capture-panel .acbsp-camera-group{margin-top:16px;background:#fff;padding:12px}
@media(max-width:620px){.acbsp-capture-panel{padding:15px}.acbsp-asset-upload-form .acbsp-capture-title{font-size:20px}.acbsp-capture-dropzone{padding:20px 12px}}
.acbsp-capture-dropzone .acbsp-camera-group{width:100%;margin:0;padding:0;border:0;background:transparent}
.acbsp-capture-dropzone .acbsp-camera-group legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.acbsp-capture-dropzone .acbsp-camera-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.acbsp-capture-dropzone .acbsp-camera-choice{display:grid;gap:3px;padding:0;border:0;cursor:pointer}
.acbsp-camera-action{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 8px;border-radius:9px;background:var(--acb-navy);color:#fff;font-size:14px;font-weight:750;text-align:center}
.acbsp-camera-choice input:focus-visible+.acbsp-camera-action{outline:3px solid var(--acb-red);outline-offset:2px}
.acbsp-capture-dropzone .acbsp-camera-choice .acbsp-file-status{font-size:11px;line-height:1.35}
@media(max-width:620px){.acbsp-camera-group{padding:14px}.acbsp-camera-choices{grid-template-columns:minmax(0,1fr);gap:16px}.acbsp-camera-choice+.acbsp-camera-choice{padding-top:14px;border-top:1px solid #dce5ed}}
.acbsp-photo-open{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer}
.acbsp-photo-hint{position:absolute;right:10px;bottom:10px;padding:6px 10px;border-radius:8px;background:rgba(11,37,69,.9);color:#fff;font-size:13px;font-weight:700}
.acbsp-photo-open:focus-visible{outline:3px solid #c51d29;outline-offset:-3px}
.acbsp-lightbox{width:min(94vw,1100px);max-width:none;max-height:92vh;max-height:92dvh;padding:16px;border:0;border-radius:14px;background:#10243a;color:#fff;box-shadow:0 20px 70px rgba(0,0,0,.4)}
.acbsp-lightbox::backdrop{background:rgba(0,0,0,.8)}
.acbsp-lightbox-close{display:flex;margin:0 0 12px auto;background:#fff;color:#10243a;min-height:44px}
.acbsp-lightbox-image{display:block;width:100%;max-height:calc(92dvh - 140px);object-fit:contain}
.acbsp-lightbox-caption{margin:12px 0 0;overflow-wrap:anywhere}

/* Mobile and tablet interaction pass (1.9.6): responsive CRUD cards, touch-safe controls and compact messaging. */
html,body{max-width:100%;overflow-x:clip}
.acbsp-body{overflow-x:clip}
.acbsp-shell,.acbsp-login-wrap{min-height:100vh;min-height:100dvh}
.acbsp-section-heading h1,.acbsp-form-card h2,.acbsp-project-card h3,.acbsp-block-heading,.acbsp-client-project-intro h1{min-width:0;overflow-wrap:anywhere}
.acbsp-button,.acbsp-text-button,.acbsp-nav-item,.acbsp-mobile-nav-item,.acbsp-client-project-tab,.acbsp-logout{white-space:nowrap;touch-action:manipulation}
.acbsp-button:active,.acbsp-text-button:active,.acbsp-nav-item:active,.acbsp-mobile-nav-item:active,.acbsp-client-project-tab:active{transform:scale(.98)}
.acbsp-mobile-nav-item{min-width:0;min-height:44px;border:0;border-radius:9px;padding:9px 8px;background:transparent;color:var(--acb-muted);font-size:14px;font-weight:750;line-height:1.2;text-align:center;cursor:pointer;transition:background .16s,color .16s,transform .16s}
.acbsp-mobile-nav-item.is-active{background:var(--acb-navy);color:#fff;box-shadow:0 3px 10px rgba(11,37,69,.16)}
.acbsp-conversation-rail{display:flex;min-width:0;min-height:0;flex-direction:column;gap:7px}
.acbsp-input,.acbsp-message-file,input[type=file]{min-width:0;max-width:100%}
.acbsp-input[type=file]{padding:5px;overflow:hidden}
.acbsp-input[type=file]::file-selector-button{min-height:38px;margin-right:10px;padding:7px 11px;border:1px solid #cdd8e2;border-radius:7px;background:#f3f6f9;color:var(--acb-navy);font-weight:750;cursor:pointer}
.acbsp-file-status{display:block;min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.45}
.acbsp-help-text{font-size:13px;line-height:1.55}
.acbsp-checkbox{min-height:44px;cursor:pointer}
.acbsp-checkbox input{width:20px;height:20px;flex:0 0 auto}
.acbsp-shell button:focus-visible,.acbsp-shell a:focus-visible,.acbsp-shell input:focus-visible,.acbsp-shell select:focus-visible,.acbsp-shell textarea:focus-visible,.acbsp-login-wrap button:focus-visible,.acbsp-login-wrap a:focus-visible,.acbsp-login-wrap input:focus-visible{outline:3px solid rgba(197,29,41,.38);outline-offset:2px}

@media(hover:none){
  .acbsp-button:hover,.acbsp-customer-project-card:hover{transform:none}
}

@media(pointer:coarse),(max-width:980px){
  .acbsp-button,.acbsp-button-small,.acbsp-text-button,.acbsp-notification-trigger,.acbsp-logout,.acbsp-conversation-item{min-height:44px}
  .acbsp-logout{display:inline-flex;align-items:center;justify-content:center}
  .acbsp-notification-trigger{width:auto;height:44px;min-width:44px}
  .acbsp-input[type=file]::file-selector-button{min-height:40px}
}

@media(max-width:980px){
  .acbsp-topbar{position:sticky;top:0;z-index:25}
  .acbsp-mobile-nav{top:76px;z-index:24;display:grid;grid-template-columns:repeat(var(--acbsp-mobile-nav-count),minmax(0,1fr));gap:6px;overflow:visible;padding:8px 12px;background:#fff;border-bottom:1px solid var(--acb-line);box-shadow:0 5px 14px rgba(11,37,69,.035)}
  .acbsp-mobile-nav-item{width:100%;padding-inline:5px;font-size:clamp(10px,1.8vw,14px);overflow:hidden;text-overflow:clip}
}

@media(max-width:900px){
  .acbsp-conversation-list{max-height:none;overflow:hidden}
  .acbsp-conversation-list-title{padding-bottom:8px}
  .acbsp-conversation-rail{display:grid;grid-auto-flow:column;grid-auto-columns:min(82%,280px);gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:0 0 5px;-webkit-overflow-scrolling:touch}
  .acbsp-conversation-item{min-height:104px;scroll-snap-align:start;border-color:#e5eaf0;background:#fbfcfd}
  .acbsp-conversation-item.is-selected{border-color:#b9cad9;background:#edf3f8;box-shadow:inset 3px 0 0 var(--acb-blue)}
}

@media(max-width:760px){
  .acbsp-mobile-nav{top:64px}
}

@media(max-width:700px){
  .acbsp-mobile-nav{top:62px;gap:4px;padding:6px 7px}
  .acbsp-mobile-nav-item{min-height:44px;padding:8px 3px;font-size:clamp(11px,3vw,13px);letter-spacing:-.02em}
  .acbsp-notification-trigger{width:44px;height:44px}
  .acbsp-notification-panel{position:fixed;top:calc(70px + env(safe-area-inset-top));right:10px;left:10px;width:auto;max-width:none;max-height:calc(100dvh - 82px);border-radius:14px}
  .acbsp-messages-layout{gap:11px}
  .acbsp-message-thread{min-height:min(580px,68dvh)}
  .acbsp-message-list{max-height:min(52dvh,520px)}
  .acbsp-message-thread-header{padding:14px}
  .acbsp-message-composer{padding:13px}
  .acbsp-message-file .acbsp-input{width:100%}

  .acbsp-table-wrap{overflow:visible;border:0;border-radius:0;background:transparent}
  .acbsp-table{display:block;width:100%;min-width:0;border-collapse:separate}
  .acbsp-table thead{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
  .acbsp-table tbody{display:grid;gap:12px}
  .acbsp-table tr{display:block;overflow:hidden;border:1px solid var(--acb-line);border-radius:13px;background:#fff;box-shadow:0 4px 14px rgba(11,37,69,.035)}
  .acbsp-table td,.acbsp-table tr:last-child td{display:grid;grid-template-columns:minmax(82px,.7fr) minmax(0,1.3fr);align-items:center;gap:12px;padding:9px 13px;border:0;border-bottom:1px solid #edf1f4;color:#42566a;text-align:left;overflow-wrap:anywhere}
  .acbsp-table td::before{content:attr(data-label);min-width:0;color:#718196;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
  .acbsp-table td.acbsp-table-project,.acbsp-table tr:last-child td.acbsp-table-project{display:block;padding:13px;background:#f7f9fb;color:var(--acb-navy)!important;font-size:16px;line-height:1.4}
  .acbsp-table td.acbsp-table-project::before,.acbsp-table tr:last-child td.acbsp-table-project::before{display:block;margin-bottom:3px;font-size:10px}
  .acbsp-table td.acbsp-table-actions,.acbsp-table tr:last-child td.acbsp-table-actions{display:flex;align-items:stretch;justify-content:flex-start;flex-wrap:wrap;gap:7px;padding:12px 13px;border-bottom:0}
  .acbsp-table td.acbsp-table-actions::before,.acbsp-table tr:last-child td.acbsp-table-actions::before{flex:0 0 100%}
  .acbsp-table-actions>.acbsp-button,.acbsp-table-actions>.acbsp-text-button{flex:1 1 auto;min-width:0;min-height:44px;margin:0;border:1px solid #d7e0e8;border-radius:8px;padding:9px 10px;text-align:center}
  .acbsp-table-actions>.acbsp-text-button{background:#f7f9fb}
  .acbsp-table-actions>.acbsp-text-danger{border-color:#efced1;background:#fff7f7}

  .acbsp-form-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));align-items:stretch}
  .acbsp-form-actions>.acbsp-button{width:100%;min-width:0}
  .acbsp-client-project-tab{white-space:nowrap}
  .acbsp-client-message-cta .acbsp-button{white-space:nowrap}
}

@media(max-width:420px){
  .acbsp-topbar-kicker{display:none}
  .acbsp-topbar-left{min-width:0;flex:1 1 auto}
  .acbsp-page-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .acbsp-mobile-nav{gap:3px;padding-inline:5px}
  .acbsp-client-project-tab{min-height:52px;padding:8px 7px;gap:4px;font-size:11px}
  .acbsp-tab-count{min-width:20px;height:20px;padding-inline:5px;flex:0 0 auto}
}

@media(max-width:375px){
  .acbsp-detail-grid{grid-template-columns:minmax(0,1fr)}
  .acbsp-form-actions{grid-template-columns:minmax(0,1fr)}
}

@media(prefers-reduced-motion:reduce){
  .acbsp-shell *,.acbsp-login-wrap *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
