@font-face{font-family:Inter;font-style:normal;font-weight:300;src:url('/fonts/inter-0.ttf') format('truetype');font-display:swap}
@font-face{font-family:Inter;font-style:normal;font-weight:400;src:url('/fonts/inter-1.ttf') format('truetype');font-display:swap}
@font-face{font-family:Inter;font-style:normal;font-weight:500;src:url('/fonts/inter-2.ttf') format('truetype');font-display:swap}
@font-face{font-family:Inter;font-style:normal;font-weight:600;src:url('/fonts/inter-3.ttf') format('truetype');font-display:swap}
@font-face{font-family:Inter;font-style:normal;font-weight:700;src:url('/fonts/inter-4.ttf') format('truetype');font-display:swap}
@font-face{font-family:Space Grotesk;font-style:normal;font-weight:400;src:url('/fonts/space-grotesk-0.ttf') format('truetype');font-display:swap}
@font-face{font-family:Space Grotesk;font-style:normal;font-weight:500;src:url('/fonts/space-grotesk-1.ttf') format('truetype');font-display:swap}
@font-face{font-family:Space Grotesk;font-style:normal;font-weight:600;src:url('/fonts/space-grotesk-2.ttf') format('truetype');font-display:swap}
@font-face{font-family:Space Grotesk;font-style:normal;font-weight:700;src:url('/fonts/space-grotesk-3.ttf') format('truetype');font-display:swap}
:root{color-scheme:light;font-family:Inter,Arial,sans-serif;background:#f4f6f8;color:#24333d;font-size:15px;line-height:1.6}
*{box-sizing:border-box}body{margin:0}main{min-width:0}a{color:#0d6477;text-underline-offset:3px}a:hover{color:#064252}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;background:#0d6477;color:#fff;border:1px solid #0d6477;border-radius:7px;padding:10px 17px;font-weight:600;text-decoration:none;cursor:pointer;min-height:44px}button:hover,.button:hover{background:#095364;color:#fff}.secondary{background:#fff;color:#344a56;border-color:#c4d0d8}.secondary:hover{background:#edf3f5;color:#183a49}input,textarea,select{width:100%;padding:11px 12px;border:1px solid #afbec8;background:#fff;border-radius:6px;color:#24333d}input:focus,textarea:focus,select:focus{outline:2px solid #0d6477;outline-offset:2px}a:focus-visible,button:focus-visible{outline:3px solid #0d6477;outline-offset:3px}label{display:grid;gap:7px;color:#354956;font-weight:500}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3,h4{font-family:"Space Grotesk",Inter,Arial,sans-serif}h1{font-weight:500;font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.25;letter-spacing:-.025em;margin:0 0 20px;color:#1b2f3d}h2{font-size:1.22rem;color:#203744}h3{font-size:1.02rem;color:#203744}p{margin:10px 0 20px}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.shell>aside{position:sticky;top:0;height:100vh;overflow-y:auto;padding:26px 18px;border-right:1px solid #dce4e9;background:#fff;display:flex;flex-direction:column}.brand{display:inline-flex;text-decoration:none}.brand img{width:164px;height:auto}.workspace{color:#5b6e79;font-size:12px;margin:12px 0 30px}nav{display:grid;gap:5px}nav a{padding:10px 12px;border-radius:6px;text-decoration:none;color:#465c69;font-weight:500}nav a:hover{background:#f0f5f7;color:#174958}nav a[aria-current]{background:#e5f1f2;color:#0b5364}.account{margin-top:auto;padding-top:28px;font-size:13px}.account strong{display:block;color:#253e4c}.account form{margin-top:12px}.account button{font-size:13px}.top{padding:20px 36px;border-bottom:1px solid #dce4e9;display:flex;justify-content:space-between;gap:20px;color:#5a6e7c;background:#fff;font-size:12px}.environment{color:#47616c;white-space:nowrap}.content{max-width:1440px;margin:auto;padding:30px 36px}.intro,.muted{color:#596e7b}.intro{max-width:680px}.muted{font-size:12px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0 36px}.metrics a{padding:23px;background:#fff;border:1px solid #d6e0e6;border-radius:9px;text-decoration:none;color:#4b6572}.metrics a:hover{border-color:#7aa8b3}.metrics strong{display:block;color:#183d4b;font-size:1.85rem;margin-top:10px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0 26px}.form{display:grid;gap:20px;max-width:800px;margin:25px 0}.form button{justify-self:start}fieldset{border:1px solid #d3dee5;border-radius:8px;padding:20px;min-width:0;background:#fff}legend{padding:0 8px;color:#344f5f;font-weight:600}.quote-line{border-bottom:1px solid #dce5eb;padding:16px 0;margin-bottom:16px;display:grid;gap:15px}.quote-line[hidden]{display:none}.line-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 12px}.panel,.empty,.document,.message{padding:25px;background:#fff;border:1px solid #d6e0e6;border-radius:9px;margin:22px 0}.empty{padding:36px;color:#5b7280}.empty h2{color:#273f4e}.table-wrap{overflow:auto;border:1px solid #d6e0e6;border-radius:8px;background:#fff}table{width:100%;border-collapse:collapse;text-align:left;min-width:580px}td,th{padding:14px 17px;border-bottom:1px solid #e1e8ed;vertical-align:top}th{font-size:12px;color:#4d6472;font-weight:600;background:#f0f4f7}tr:last-child td{border-bottom:0}.badge{display:inline-block;background:#edf2f5;color:#405e6d;font-size:12px;padding:3px 9px;border-radius:5px;white-space:nowrap}.badge-paid,.badge-resolved,.badge-accepted,.badge-active{background:#e5f3eb;color:#245f42}.badge-failed,.badge-declined,.badge-canceled{background:#faeaea;color:#8c3535}.notice,.error{padding:16px 19px;border:1px solid #a5cebc;background:#edf7f1;color:#27533d;border-radius:7px}.error{border-color:#deb5b5;background:#fbeeee;color:#863535}.document{color:#000;color-scheme:light}.document h2,.document h3,.document p,.document dt,.document dd{color:#000}.document th{color:#000;background:#fff}.document td,.document th,.document-heading,.document .table-wrap,.document .grand{border-color:#ccc}.document .badge{color:#000;background:#eee}.document table{min-width:0}.document td:first-child{min-width:160px}.document .table-wrap{border-radius:0}.document a{color:#000}.document-heading{display:flex;justify-content:space-between;gap:30px;border-bottom:1px solid #ccc;margin-bottom:25px}.totals{max-width:380px;margin:28px 0 28px auto}.totals div{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.totals dd{margin:0}.grand{border-top:1px solid #afbec8;font-weight:700;font-size:1.17rem}.inline{display:inline-block;margin:6px 0}.inline button{padding:7px 10px;font-size:13px}.check{display:flex;align-items:flex-start;gap:12px;max-width:580px;font-weight:400}.check input{width:20px;height:20px;flex-shrink:0;margin-top:3px}.message header{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#5a707e}.internal{border-left:4px solid #b39355}.skip{position:fixed;top:-100px;left:15px;background:#0d6477;color:#fff;padding:12px;z-index:10}.skip:focus{top:10px}
.auth-page{background:#fff}.auth-main{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-height:100vh;min-height:100svh;padding:0;gap:0;margin:0;max-width:none}.auth-visual{position:relative;isolation:isolate;overflow:hidden;min-height:680px;border-radius:0;background:#142b3a;display:flex;align-items:flex-end;padding:clamp(32px,4vw,64px)}.auth-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;z-index:-2}.auth-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,20,30,0) 35%,rgba(7,20,30,.45) 100%);z-index:-1}.auth-visual-copy{max-width:430px;color:#fff}.auth-eyebrow{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#d7e9ed;margin:0 0 22px}.auth-visual h2{font-size:clamp(32px,3.35vw,52px);line-height:1.12;letter-spacing:-.035em;font-weight:500;color:#fff;margin:0 0 24px}.auth-visual-copy>p:not(.auth-eyebrow){font-size:15px;line-height:1.7;color:#e6eef1;max-width:350px;margin:0}.auth-services{list-style:none;display:flex;flex-wrap:wrap;gap:22px;padding:24px 0 0;margin:26px 0 0;border-top:1px solid rgba(255,255,255,.3);font-size:12px;color:#e6eef1}.auth-panel{display:flex;align-items:center;justify-content:center;padding:48px 36px;min-width:0}.auth-panel-inner{width:100%;max-width:400px}.auth-brand{display:inline-flex;align-items:center;text-decoration:none}.auth-brand img{display:block;width:210px;height:auto}.auth-caption{font-size:11px;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:#607782;margin:22px 0 38px}.auth-card{background:#fff;padding:0;border:0;border-radius:0;box-shadow:none}.auth-card h1{font-size:30px;margin-bottom:12px}.auth-card .intro{font-size:14px;margin-bottom:23px}.auth-card .form{margin:25px 0 20px;gap:20px}.auth-card .form button{justify-self:stretch;min-height:48px}.auth-card input{min-height:48px}.auth-card .form label{font-size:13px}.auth-card p{font-size:13px;line-height:1.65}.auth-card p:last-child{margin-bottom:0}.auth-footer{margin-top:36px;padding-top:24px;border-top:1px solid #e3e9ed;color:#627581}.auth-legal{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center}.auth-legal a{padding:0;background:none;border-radius:0;color:#526d7a;font-size:12px;font-weight:400;text-decoration:underline;text-underline-offset:4px}.auth-legal a:hover{color:#0d6477;background:none}.auth-footer p{font-size:11px;margin:12px 0 0;line-height:1.6}.auth-brand:focus-visible{border-radius:3px}@media(max-width:1000px){.auth-main{grid-template-columns:minmax(0,.9fr) minmax(0,1fr);padding:0;gap:0}.auth-panel{padding:36px 24px}.auth-visual{padding:32px;min-height:620px}.auth-services{gap:16px}.auth-visual h2{font-size:36px}}@media(max-width:800px){.auth-main{display:block;padding:0}.auth-visual{min-height:0;height:190px;border-radius:0;padding:24px;align-items:flex-end}.auth-photo{object-position:center 26%}.auth-visual:after{background:linear-gradient(90deg,rgba(7,20,30,.9),rgba(7,20,30,.2))}.auth-visual h2{font-size:28px;margin:0}.auth-eyebrow{margin-bottom:12px;font-size:10px}.auth-visual-copy>p:not(.auth-eyebrow),.auth-services{display:none}.auth-panel{padding:32px 24px 28px}.auth-brand img{width:190px}.auth-caption{margin:17px 0 27px}.auth-card h1{font-size:26px}.auth-footer{margin-top:30px}}
/* Workspace structure: bounded previews, compact filtering and grouped forms. */
.nav-toggle{display:none}.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px}.dashboard-welcome .intro{margin:0;max-width:580px}.dashboard-welcome .actions{margin:0;flex-shrink:0}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.dashboard-panel{min-width:0;background:#fff;border:1px solid #d6e0e6;border-radius:10px;overflow:hidden}.dashboard-panel .section-head{padding:18px 22px;border-bottom:1px solid #e1e8ed;gap:12px}.dashboard-panel h2{margin:0;font-size:16px}.dashboard-panel .section-head a{font-size:12px;white-space:nowrap}.preview-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;text-decoration:none;color:#24333d;border-bottom:1px solid #e7edf1}.preview-item:last-child{border-bottom:0}.preview-item>span:first-child{min-width:0}.preview-item strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}.preview-item small{display:block;color:#596e7b;font-size:12px;margin-top:4px}.preview-item>a,.preview-action{display:block;font-size:12px;margin-top:6px}.preview-item>span:last-child:not(:first-child){flex-shrink:0;text-align:right}a.preview-item:hover{background:#f5f9fa;color:#0d6477}.preview-empty{padding:28px 22px;margin:0;color:#596e7b;font-size:14px}.list-filters{max-width:none;grid-template-columns:minmax(200px,2fr) minmax(160px,1fr) auto;align-items:end;background:#fff;padding:18px;border:1px solid #d6e0e6;border-radius:9px;gap:16px;margin:20px 0 14px}.list-filters label{font-size:12px}.list-filters button{align-self:end}.list-filters+p{font-size:12px;color:#596e7b;margin:12px 0}.list-filters+p+.actions{margin:10px 0 18px}.content>.form:not(.list-filters){background:#fff;border:1px solid #d6e0e6;border-radius:10px;padding:26px;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.content>.form:not(.list-filters)>fieldset,.content>.form:not(.list-filters)>p,.content>.form:not(.list-filters)>label:has(textarea),.content>.form:not(.list-filters)>button{grid-column:1/-1}.portal-footer{margin-top:30px;padding-top:18px;border-top:1px solid #dce4e9}.table-wrap td .form{margin:10px 0;gap:10px;max-width:260px}.table-wrap td .form label{font-size:12px}.table-wrap td .form button{font-size:12px;padding:7px 10px}
.client-search{grid-template-columns:minmax(200px,1fr) auto}.client-search p{grid-column:1/-1;margin:0}.ticket-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.ticket-conversation,.ticket-controls{min-width:0;background:#fff;border:1px solid #d6e0e6;border-radius:10px;padding:22px}.ticket-layout h2{margin:0 0 18px}.ticket-thread{max-height:560px;overflow:auto;padding:0 8px 0 0}.ticket-thread .message{margin:0 0 14px;background:#fff;padding:18px}.ticket-thread .message-requester{background:#edf5f8}.ticket-thread .message-requester:not(.internal){border-color:#c8dce5;border-left:3px solid #719bac}.ticket-thread .message-team:not(.internal){background:#fff;border-color:#d6e0e6;border-left:3px solid #b6c7cf}.message-author{display:flex;gap:10px;flex-wrap:wrap;align-items:baseline}.message-role{font-size:10px;font-weight:500;color:#526975}.message-author strong{color:#243e4a}.ticket-thread .message p{margin-bottom:0}.ticket-controls .empty{padding:16px;margin:12px 0}.ticket-controls .empty h2{font-size:14px;margin:0}.ticket-controls .empty p{display:none}.ticket-controls .form{margin:18px 0;gap:14px}.ticket-controls button{font-size:13px}.ticket-conversation>.form{padding-top:20px;border-top:1px solid #dce4e9;margin-bottom:0}.cell-content{min-width:0}.cell-content>.badge{justify-self:start}
@media(max-width:900px){.ticket-layout{grid-template-columns:1fr}.ticket-thread{max-height:60vh}.dashboard-welcome{display:block}.dashboard-welcome .actions{margin-top:18px}.navigation-ready .nav-toggle{display:flex;margin-top:12px;width:100%}.navigation-ready #portal-nav:not(.expanded){display:none}.workspace{display:none}.account{font-size:12px}.shell{grid-template-columns:1fr}.shell>aside{position:static;height:auto;overflow:visible;padding:18px 20px;border-right:0;border-bottom:1px solid #dce4e9}.brand img{width:148px}.workspace{margin-bottom:14px}nav{display:flex;flex-wrap:wrap;gap:4px}nav a{font-size:13px;padding:8px 10px}.account{margin-top:0;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.account form{margin:0}.top{padding:16px 20px}.content{padding:28px 20px}.metrics{gap:12px}.metrics a{padding:17px}.metrics strong{font-size:1.4rem}.document-heading{flex-direction:column;gap:0}}
@media(max-width:560px){.navigation-ready .shell>aside{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.navigation-ready .nav-toggle{margin:0;width:auto;font-size:12px;padding:8px 12px}.navigation-ready .shell>aside #portal-nav,.navigation-ready .account{grid-column:1/-1}.navigation-ready .account{padding-top:0}.top>span:first-child{display:none}.top{padding:12px 20px}.client-search{grid-template-columns:1fr}.ticket-conversation,.ticket-controls{padding:18px}.dashboard-grid{grid-template-columns:1fr;gap:16px}.dashboard-panel .section-head{padding:16px}.preview-item{padding:14px 16px;gap:12px}.preview-item strong{font-size:13px}.preview-item .badge{font-size:11px}.list-filters{grid-template-columns:1fr;gap:12px;padding:16px}.content>.form:not(.list-filters){grid-template-columns:1fr;padding:18px}.table-wrap:not(.document .table-wrap){border:0;background:transparent;overflow:visible}.table-wrap:not(.document .table-wrap) table{min-width:0;display:block}.table-wrap:not(.document .table-wrap) thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.table-wrap:not(.document .table-wrap) tbody{display:grid;gap:14px}.table-wrap:not(.document .table-wrap) tr{display:block;background:#fff;border:1px solid #d6e0e6;border-radius:9px;padding:10px 16px}.table-wrap:not(.document .table-wrap) td{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;padding:10px 0;font-size:13px;overflow-wrap:anywhere}.table-wrap:not(.document .table-wrap) td:before{content:attr(data-label);font-size:11px;color:#596e7b;font-weight:600}.table-wrap:not(.document .table-wrap) td:last-child{border-bottom:0}.table-wrap td .form{max-width:100%}.cell-content>a{display:block;margin:5px 0}.cell-content>.inline{display:block;margin:8px 0}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metrics a{padding:13px 10px;font-size:11px}.metrics strong{font-size:1.15rem;margin-top:8px}.top{flex-direction:column;gap:3px}.line-numbers{grid-template-columns:1fr}.panel,.document,.message{padding:17px}.message header{flex-direction:column;gap:3px}.section-head{align-items:flex-start;flex-wrap:wrap}}
@media print{body{background:#fff;color:#000}aside,.top,.actions,.skip,.notice{display:none}.shell{display:block}.content{padding:0}.document{border:0;padding:0}.document-heading{flex-direction:row}.document tr{break-inside:avoid}}
/* CRM administration: module navigation and focused record workspace. */
.crm-workspace .shell{display:block}.crm-workspace .shell>aside.app-header{position:sticky;z-index:5;top:0;height:auto;min-height:64px;overflow:visible;display:flex;flex-direction:row;align-items:center;gap:20px;padding:0 24px;background:#263746;border:0;color:#fff}.crm-workspace .app-header .brand{flex-shrink:0;background:#fff;padding:7px 9px;border-radius:4px}.crm-workspace .app-header .brand img{width:116px}.crm-workspace .app-header .workspace{display:none}.crm-workspace .app-header nav{display:flex;flex:1;flex-wrap:wrap;gap:0;align-items:center}.crm-workspace .app-header nav a{font-size:12px;color:#e1e9ef;border-radius:0;padding:20px 10px;white-space:nowrap;border-bottom:3px solid transparent}.crm-workspace .app-header nav a:hover{background:#344b5e;color:#fff}.crm-workspace .app-header nav a[aria-current]{background:#344b5e;color:#fff;border-bottom-color:#75c5d5}.crm-workspace .app-header .account{margin:0;padding:0;display:flex;gap:10px;align-items:center;flex-shrink:0;font-size:11px}.crm-workspace .app-header .account strong{color:#fff;max-width:100px}.crm-workspace .app-header .account form{margin:0}.crm-workspace .app-header .account button{padding:6px 9px;min-height:34px;font-size:11px;background:transparent;color:#fff;border-color:#7b92a3}.crm-workspace .top{padding:9px 28px;font-size:11px}.crm-workspace .content{max-width:1700px;padding:24px 28px}.page-header{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0 0 20px}.page-header h1{font-size:24px;margin:0}.page-breadcrumb,.breadcrumbs{font-size:11px;color:#596e7b;margin:0}.breadcrumbs a{text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}.records-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);gap:0 20px;align-items:start}.records-workspace>.record-filters{grid-column:1;grid-row:1/5;position:sticky;top:84px;height:auto;display:block;padding:18px 14px;overflow:visible;border:1px solid #d6e0e6;border-radius:7px;background:#fff}.record-filters h2{font-size:12px;margin:0 8px 14px;text-transform:uppercase;letter-spacing:.05em;color:#526675}.record-view{display:block;font-size:13px;text-decoration:none;color:#3c5363;padding:9px 10px;border-radius:4px;margin:2px 0}.record-view:hover{background:#f0f5f8}.record-view[aria-current]{background:#e5f1f2;color:#0b5364;font-weight:600}.filter-help{border-top:1px solid #e1e8ed;margin:18px 6px 0;padding-top:15px}.filter-help h3{font-size:12px;margin:0 0 8px}.filter-help p{font-size:11px;line-height:1.7;color:#596e7b;margin:0}.records-workspace>.actions,.records-workspace>.module-toolbar{grid-column:2;display:flex;justify-content:flex-end;margin:0 0 12px;gap:8px}.records-workspace>.actions .button,.module-toolbar .button{font-size:12px;min-height:38px;padding:8px 13px}.records-toolbar{grid-column:2;min-width:0}.records-toolbar .list-filters{margin:0;border-radius:7px 7px 0 0;border-bottom:0;padding:14px 16px;grid-template-columns:minmax(180px,1fr) minmax(140px,180px) auto;gap:12px}.records-toolbar .list-filters:has(>label:only-of-type){grid-template-columns:minmax(180px,1fr) auto}.records-toolbar .list-filters label{font-size:11px;gap:5px}.records-toolbar .list-filters input,.records-toolbar .list-filters select{padding:8px 10px;min-height:39px;font-size:13px}.records-toolbar .list-filters button{min-height:39px;padding:7px 13px;font-size:12px}.records-toolbar .list-filters>a{font-size:12px;grid-column:1/-1;justify-self:start}.list-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;background:#edf2f5;border:1px solid #d6e0e6;font-size:11px;color:#526675}.list-pagination{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.list-pagination .button{font-size:11px;min-height:30px;padding:4px 8px}.list-export{font-weight:600}.records-workspace>.table-wrap{grid-column:2;border-top:0;border-radius:0 0 7px 7px}.records-workspace>.empty{grid-column:2;margin:0;border-top:0;border-radius:0 0 7px 7px}.crm-workspace .records-workspace td{padding:12px 15px;font-size:13px}.crm-workspace .records-workspace th{padding:11px 15px;background:#fff;font-size:11px;white-space:nowrap}.crm-workspace .records-workspace tbody tr:hover{background:#f8fafb}.crm-workspace .records-workspace td:first-child a{font-weight:600}.crm-workspace .portal-footer{font-size:11px}.crm-workspace .metrics{margin:22px 0;gap:16px}.crm-workspace .metrics a{padding:18px 20px}.crm-workspace .metrics strong{font-size:26px}.crm-workspace .dashboard-grid{gap:18px}.crm-workspace .dashboard-panel{border-radius:7px}.crm-workspace .dashboard-panel .section-head{padding:14px 18px}.crm-workspace .preview-item{padding:13px 18px}.crm-workspace .dashboard-welcome .intro{font-size:14px}.crm-workspace .dashboard-welcome .actions .button{font-size:12px;min-height:39px}
.document-composer{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.composer-main{min-width:0}.composer-summary{position:sticky;top:86px;padding:22px;background:#fff;border:1px solid #d6e0e6;border-radius:8px}.composer-summary h2{margin:0 0 18px;font-size:16px}.composer-summary p{font-size:12px;color:#596e7b}.composer-steps{display:flex;gap:0;margin:0 0 20px;padding:0;list-style:none;border-bottom:1px solid #d6e0e6}.composer-steps li{padding:10px 18px;font-size:12px;color:#526675;border-bottom:2px solid transparent}.composer-steps li[aria-current]{color:#0b5364;font-weight:600;border-bottom-color:#0d6477}.composer-section{background:#fff;border:1px solid #d6e0e6;border-radius:8px;padding:20px;margin:0 0 18px}.composer-section h2{font-size:16px;margin:0 0 20px}.composer-line-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.line-total{font-size:13px;font-weight:600;color:#234956;white-space:nowrap}.composer-totals{margin:0}.composer-totals div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;font-size:13px}.composer-totals dd{margin:0}.composer-totals .grand{margin-top:8px;padding-top:16px;font-size:17px}.document-composer .form{max-width:none;margin:0}.composer-main>form{display:grid;gap:20px}.composer-main fieldset{padding:22px}.composer-main .quote-line{margin:0;padding:16px 0;gap:11px}.composer-main label{font-size:13px;gap:5px}.composer-main input,.composer-main select,.composer-main textarea{padding:9px 11px;font-size:14px}.composer-main .line-numbers{gap:12px;margin-bottom:0}.composer-section h2{margin-bottom:16px}.composer-section>p.muted{margin-bottom:12px}.composer-main .quote-line textarea{min-height:80px}.composer-summary .button,.composer-summary button{width:100%;margin-top:14px}
@media(min-width:901px) and (max-width:1350px){.crm-workspace .shell>aside.app-header{gap:12px;padding:0 16px;flex-wrap:wrap}.crm-workspace .app-header nav{order:3;flex-basis:100%;border-top:1px solid #465b6d}.crm-workspace .app-header nav a{padding:12px 10px}.crm-workspace .app-header .account{margin-left:auto}.crm-workspace .app-header .brand{margin:10px 0}.records-workspace>.record-filters{top:135px}.composer-summary{top:135px}}
@media(max-width:900px){.crm-workspace .shell>aside.app-header{position:static;display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px 20px}.crm-workspace .app-header .brand{justify-self:start}.crm-workspace .app-header .nav-toggle{display:flex;margin:0;background:transparent;border-color:#7b92a3;color:#fff;font-size:12px;min-height:37px;width:auto}.crm-workspace .app-header nav{grid-column:1/-1;display:flex;flex-wrap:wrap}.crm-workspace.navigation-ready .app-header nav:not(.expanded),.navigation-ready .crm-workspace .app-header nav:not(.expanded){display:none}.crm-workspace .app-header nav a{padding:10px 12px}.crm-workspace .app-header .account{grid-column:1/-1;padding:0;justify-content:space-between}.crm-workspace .app-header .account strong{max-width:none}.crm-workspace .content{padding:22px 20px}.records-workspace{grid-template-columns:170px minmax(0,1fr);gap:0 14px}.records-workspace>.record-filters{position:static;padding:14px 10px}.records-toolbar .list-filters{grid-template-columns:1fr auto}.records-toolbar .list-filters>label:first-child{grid-column:1/-1}.list-summary{align-items:flex-start;flex-direction:column}.document-composer{grid-template-columns:1fr}.composer-summary{position:static}.composer-steps{flex-wrap:wrap}.composer-steps li{padding:10px 12px}.page-header h1{font-size:22px}}
@media(max-width:560px){.records-workspace{display:block}.records-workspace>.record-filters{display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;margin:0 0 14px;padding:12px}.record-filters h2{width:100%;margin:0 0 6px;font-size:10px}.record-view{font-size:11px;padding:6px 9px;margin:0}.filter-help{display:none}.records-toolbar .list-filters,.records-toolbar .list-filters:has(>label:only-of-type){grid-template-columns:1fr}.records-toolbar .list-filters>label:first-child{grid-column:auto}.records-toolbar .list-filters button{justify-self:stretch}.records-workspace>.actions{justify-content:stretch}.records-workspace>.actions .button{flex:1}.records-workspace>.table-wrap{border:0;margin-top:12px}.records-workspace>.empty{margin-top:12px;border:1px solid #d6e0e6}.records-workspace .list-summary{border-radius:0 0 7px 7px;font-size:11px}.list-pagination{gap:8px}.crm-workspace .records-workspace td{padding:10px 0}.crm-workspace .content{padding:22px 16px}.crm-workspace .metrics{gap:8px}.crm-workspace .metrics a{padding:12px 9px}.crm-workspace .metrics strong{font-size:17px}.composer-section,.composer-summary{padding:18px}.page-header{margin-bottom:16px}.page-header h1{font-size:21px}.composer-line-heading{align-items:flex-start;flex-wrap:wrap}}
@media print{.crm-workspace .shell>aside.app-header,.record-filters,.records-toolbar{display:none}.records-workspace{display:block}.composer-summary{position:static}.document-composer{display:block}}
/* Composer fields retain a single real form and visible keyboard navigation. */
.content>.form:has(.document-composer){display:block;background:transparent;border:0;padding:0}.composer-summary{height:auto;display:block;overflow:visible;flex-direction:initial;border-right:1px solid #d6e0e6}.composer-steps{display:flex;flex-wrap:wrap;gap:0}.composer-steps a{font-size:12px;padding:10px 13px;color:#3c5363;border-bottom:2px solid #d6e0e6;border-radius:0}.composer-steps a:hover{background:#edf5f7;color:#0b5364;border-bottom-color:#0d6477}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field-grid>label:has(input[name=title]),.field-grid>div:has(select[name=client_id]){grid-column:1/-1}.composer-totals .grand-total{border-top:1px solid #c6d4dd;margin-top:8px;padding-top:16px;font-size:17px;font-weight:700}.composer-section:target{scroll-margin-top:95px}.composer-line-heading button{font-size:11px;min-height:32px;padding:5px 10px}.line-total output{margin-left:10px}.document-composer .composer-summary h2{font-size:16px}.content>.form:has(.document-composer)>button{margin-top:16px}.composer-summary [data-totals-error][data-state=error]{color:#863535;background:#fbeeee;padding:10px;border:1px solid #deb5b5;border-radius:5px}
@media(max-width:560px){.field-grid{grid-template-columns:1fr}.composer-steps a{font-size:11px;padding:9px}.content>.form:has(.document-composer){padding:0}.composer-section:target{scroll-margin-top:15px}}
/* Connected client dossier and quote lifecycle. */
.record-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}.record-actions .button{font-size:12px;min-height:39px}.record-tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid #cfdce4;margin:0 0 22px;background:#fff;border-radius:7px 7px 0 0;padding:0 10px}.record-tabs a{font-size:13px;padding:13px 16px;border-bottom:3px solid transparent;border-radius:0}.record-tabs a[aria-current]{background:transparent;border-bottom-color:#0d6477}.client-record{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;align-items:start}.record-summary{position:sticky;top:86px;height:auto;display:block;overflow:visible;padding:22px 20px;background:#fff;border:1px solid #d6e0e6;border-radius:7px}.record-summary h2{font-size:12px;color:#596e7b;margin:0 0 14px;text-transform:uppercase;letter-spacing:.04em}.record-summary>strong{font-size:15px}.record-summary p{font-size:13px;margin:10px 0 20px}.record-summary dl{margin:0}.record-summary dl>div{border-top:1px solid #e1e8ed;padding:13px 0}.record-summary dt{font-size:11px;color:#596e7b;margin-bottom:5px}.record-summary dd{font-size:12px;margin:0;overflow-wrap:anywhere}.record-summary .muted{font-size:11px;margin-bottom:0}.record-content{min-width:0}.record-content>.panel:first-child{margin-top:0}.record-content .panel{padding:22px;margin:0 0 20px;border-radius:7px}.record-content .panel h2{font-size:16px;margin:0 0 14px}.record-content .panel p{font-size:13px}.record-content .record-metrics{margin:0 0 20px}.record-content .metrics a{font-size:12px;padding:16px}.record-content .metrics strong{font-size:22px}.related-records{margin:0 0 22px}.related-records>.section-head{margin:0 0 12px}.related-records h2{margin:0;font-size:16px}.related-records .section-head>a{font-size:12px}.related-records>.muted{margin-top:10px}.record-disclosure{padding-top:16px;margin-top:18px;border-top:1px solid #d6e0e6}.record-disclosure summary{cursor:pointer;color:#0d6477;font-size:13px;font-weight:600}.record-disclosure summary:focus-visible{outline:2px solid #0d6477;outline-offset:4px}.record-disclosure .form{max-width:none}.record-timeline ol{padding:0 0 0 20px;margin:0}.record-timeline li{font-size:13px;padding:0 0 16px 8px}.record-timeline li::marker{color:#6899a6}.record-timeline li small,.record-timeline li time,.record-timeline li span{display:block;font-size:11px;color:#596e7b;margin-top:4px}.quote-workflow{margin:0 0 22px;border:1px solid #d6e0e6;background:#fff;border-radius:7px;padding:14px 20px}.quote-workflow ol{display:flex;align-items:center;gap:0;margin:0;padding:0;list-style:none}.quote-workflow li{position:relative;flex:1;padding:8px 12px;font-size:12px;text-align:center;color:#596e7b;border-bottom:3px solid #e1e8ed}.quote-workflow li.complete{color:#245f42;border-bottom-color:#78b997}.quote-workflow li.current{color:#0b5364;font-weight:600;border-bottom-color:#0d6477;background:#edf6f7}.quote-workflow li.upcoming{color:#596e7b}
@media(min-width:901px) and (max-width:1350px){.record-summary{top:135px}}
@media(max-width:900px){.client-record{grid-template-columns:210px minmax(0,1fr);gap:16px}.record-summary{position:static;padding:18px 16px}.record-content .record-metrics{grid-template-columns:1fr}.record-content .record-metrics a{padding:12px 16px}.record-content .record-metrics strong{font-size:21px;margin-top:4px}.quote-workflow{padding:10px}.quote-workflow li{font-size:11px;padding:8px}}
@media(max-width:560px){.client-record{grid-template-columns:1fr}.record-actions{gap:8px}.record-actions .button{font-size:11px;padding:8px 10px}.record-tabs{padding:0;gap:0}.record-tabs a{font-size:12px;padding:10px}.record-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.record-summary dl>div:first-child{grid-column:1/-1}.record-content .record-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.record-content .record-metrics a{padding:12px 8px;font-size:11px}.record-content .record-metrics strong{font-size:16px}.record-content .panel{padding:18px}.quote-workflow ol{flex-wrap:wrap}.quote-workflow li{flex-basis:33%;font-size:10px}.related-records>.section-head{align-items:center}.record-content .table-wrap{margin-top:12px}}
.table-wrap:focus-visible{outline:2px solid #0d6477;outline-offset:3px}
@media(min-width:1100px){.record-content:has(>.record-metrics){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.record-content:has(>.record-metrics)>.record-metrics,.record-content:has(>.record-metrics)>.record-timeline{grid-column:1/-1;margin:0}.record-content:has(>.record-metrics)>.panel{margin:0}.record-content:has(>.record-metrics)>.record-timeline ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}}

/* Compact administration lists keep creation beside the module title. */
@media(min-width:1100px){
.crm-workspace .top{padding:5px 28px}.crm-workspace .content{padding-top:18px}.crm-workspace .content:has(>.records-workspace>.actions)>.page-header{min-height:43px;padding-right:300px;margin-bottom:14px;gap:4px}.crm-workspace .records-workspace{position:relative;column-gap:16px}.crm-workspace .records-workspace>.actions{position:absolute;right:0;top:-57px;margin:0;max-width:280px}.crm-workspace .records-toolbar .list-filters{padding:10px 14px;gap:10px}.crm-workspace .records-toolbar .list-filters label{gap:3px}.crm-workspace .records-toolbar .list-filters input,.crm-workspace .records-toolbar .list-filters select,.crm-workspace .records-toolbar .list-filters button{min-height:34px;padding:6px 10px}.crm-workspace .list-summary{padding:8px 14px}.crm-workspace .records-workspace th{padding:9px 14px}.crm-workspace .records-workspace td{padding:10px 14px}.crm-workspace .records-workspace>.record-filters{padding:15px 12px}.crm-workspace .record-view{padding:7px 9px}
}

.sort-link{color:#3b5262;text-decoration:none;display:inline-flex;align-items:center;gap:6px}.sort-link:hover{color:#0d6477;text-decoration:underline}.sort-link span{font-size:12px;color:#597684}th[aria-sort=ascending] .sort-link,th[aria-sort=descending] .sort-link{color:#0b5364;font-weight:700}

/* Invoice actions share spacing and controls on desktop and mobile. */
.invoice-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:190px;max-width:430px}.invoice-actions>a,.invoice-actions>.inline button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 11px;border:1px solid #c4d0d8;border-radius:6px;background:#fff;color:#344a56;font-size:12px;font-weight:500;line-height:1.4;text-decoration:none;text-align:center;margin:0}.invoice-actions>a:hover{background:#edf3f5;color:#183a49}.invoice-actions>.inline{display:block;margin:0}.invoice-actions>br{display:none}.invoice-actions>.form{flex-basis:100%;width:100%;margin:8px 0 0}.invoice-actions>.form label{font-size:12px}.invoice-actions>.form input{min-width:0}@media(max-width:760px){.invoice-actions{min-width:0;max-width:none;align-items:stretch}.invoice-actions>a,.invoice-actions>.inline{flex:1 1 140px}.invoice-actions>.inline button{width:100%;height:100%}}

/* Dedicated client home and administrative analytics. */
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px}.dashboard-heading .intro{margin:0}.report-period{display:grid;grid-template-columns:auto 110px auto;align-items:center;gap:10px;font-size:12px}.report-period select{padding:8px;min-height:40px}.report-period button{font-size:12px;min-height:40px;padding:8px 12px}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.dashboard-metric{display:flex;flex-direction:column;gap:8px;padding:21px;background:#fff;border:1px solid #d6e0e6;border-radius:8px;text-decoration:none;color:#4b6572;font-size:12px}.dashboard-metric strong{font-size:25px;line-height:1.3;color:#183d4b;overflow-wrap:anywhere}.dashboard-metric small{font-size:11px;color:#596e7b}.dashboard-metric:hover{border-color:#7aa8b3}.dashboard-analytics{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:18px;margin-bottom:22px}.dashboard-analytics .dashboard-panel{margin:0}.chart-content{padding:16px 20px}.chart-content svg{display:block;width:100%;height:auto;max-height:285px}.chart-content svg text{fill:#465c69;font:11px Inter,Arial,sans-serif}.chart-content svg line{stroke:#afbec8}.chart-content svg .positive{fill:#0d6477}.chart-content svg .negative{fill:#a54d40}.chart-content details{margin:14px 0}.chart-content summary{cursor:pointer;font-size:12px;color:#0d6477;font-weight:600}.chart-content details .table-wrap{margin-top:12px}.chart-content p{margin-bottom:0}.quote-distribution{padding:12px 20px}.quote-distribution a{display:grid;grid-template-columns:1fr auto;gap:6px 12px;text-decoration:none;color:#354956;padding:12px 0;border-bottom:1px solid #e1e8ed;font-size:13px}.quote-distribution meter{width:100%;height:12px;grid-column:1/-1;accent-color:#0d6477}.quote-distribution small{grid-column:1/-1;color:#596e7b}.chart-note{padding:0 20px 18px;margin:10px 0 0}.client-priorities{margin:0 0 22px}.client-priorities .table-wrap{border-radius:0;border-left:0;border-right:0}.client-priorities td{font-size:13px}.client-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#edf6f7;border:1px solid #d1e4e8;border-radius:10px;padding:25px;margin:0 0 24px}.client-welcome h2{font-size:23px;margin:6px 0}.client-welcome p{margin:8px 0;color:#4b6572}.client-welcome .eyebrow{font-size:12px;font-weight:600;margin:0;color:#0d6477}.client-metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 26px}.client-dashboard .preview-item{align-items:center}.client-dashboard .dashboard-panel{margin:0}.client-dashboard .preview-item strong{font-size:14px}.client-dashboard>.muted{margin-top:22px}@media(max-width:1100px){.dashboard-heading{align-items:flex-start;flex-direction:column;gap:12px}.dashboard-analytics{grid-template-columns:1fr}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.client-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.report-period{width:100%;grid-template-columns:minmax(0,1fr) auto}.report-period label{grid-column:1/-1}.dashboard-metrics{gap:10px}.dashboard-metric{padding:15px 12px;gap:6px}.dashboard-metric strong{font-size:20px}.client-metrics{grid-template-columns:1fr}.client-welcome{padding:20px;flex-direction:column;align-items:flex-start;gap:12px}.client-welcome .button{width:100%}.client-metrics .dashboard-metric{display:grid;grid-template-columns:1fr auto}.client-metrics .dashboard-metric small{grid-column:1/-1}.chart-content{padding:12px}.dashboard-analytics{gap:14px}.client-priorities .table-wrap{padding:12px}.client-priorities .section-head{flex-wrap:wrap}.chart-content svg{min-height:150px}}


.chart-content svg .chart-grid{stroke:#dce5eb;stroke-dasharray:3 4}


.ticket-attachments{margin-top:24px}.ticket-attachments h3{margin:0 0 14px;font-size:15px}.attachment-list{list-style:none;margin:0;padding:2px 4px 2px 2px;display:grid;gap:14px;max-height:480px;overflow-y:auto;scrollbar-width:thin}.attachment-list:focus-visible{outline:2px solid #0d6477;outline-offset:3px}.attachment-card{min-width:0;border:1px solid #dce5eb;border-radius:9px;overflow:hidden;background:#fff}.attachment-photo{display:block;position:relative;text-decoration:none;background:#eef3f6}.attachment-photo img{display:block;width:100%;height:160px;object-fit:contain}.attachment-photo span{display:block;padding:9px 13px;font-size:12px;color:#0d6477;border-bottom:1px solid #dce5eb}.attachment-photo:hover span{background:#e4eef1;color:#064252}.attachment-info{padding:13px;min-width:0}.attachment-info strong{display:block;font-size:13px;overflow-wrap:anywhere;line-height:1.5;color:#253e4c}.attachment-meta{font-size:11px;color:#5b707d;margin:5px 0 10px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.attachment-meta .badge{font-size:10px;padding:2px 6px}.attachment-download{font-size:12px}.attachment-format{display:inline-block;margin:13px 13px 0;background:#edf3f6;border-radius:5px;padding:5px 9px;font-size:11px;font-weight:600;color:#516d7a}.attachment-empty{padding:14px;background:#f5f8fa;border-radius:7px;color:#5b707d;font-size:12px}.ticket-controls .attachment-upload{border-top:1px solid #dce5eb;padding-top:20px;gap:10px;margin:20px 0 28px;position:relative}.attachment-upload>label:first-of-type{font-size:13px}.attachment-help{font-size:11px;color:#5b707d;margin:0 0 4px}.attachment-picker{display:none}.attachment-enhanced input[type=file]{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%)}.attachment-enhanced .attachment-picker{display:grid;gap:7px;border:1px dashed #a9bdc8;border-radius:8px;background:#f6f9fb;padding:15px;cursor:pointer;min-width:0}.attachment-picker>span:first-child{color:#0d6477;font-size:13px;font-weight:600}.attachment-selected{font-size:11px;font-weight:400;color:#5b707d;overflow-wrap:anywhere;line-height:1.5}.attachment-picker:hover{border-color:#0d6477;background:#edf5f7}.attachment-enhanced input[type=file]:focus-visible+.attachment-picker{outline:2px solid #0d6477;outline-offset:3px}.attachment-private{font-size:12px;line-height:1.65;margin:5px 0 8px}.attachment-upload button{width:100%;justify-self:stretch}.attachment-lightbox{width:min(940px,calc(100% - 32px));max-height:calc(100vh - 32px);padding:22px;border:1px solid #c8d8e2;border-radius:12px;background:#fff;color:#24333d;overflow:auto}.attachment-lightbox::backdrop{background:rgba(12,27,37,.76)}.attachment-lightbox header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.attachment-lightbox header h2{font-size:17px;margin:0;overflow-wrap:anywhere;min-width:0}.attachment-lightbox header button{flex-shrink:0}.attachment-preview-image img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}.attachment-lightbox .error{font-size:13px;margin:14px 0 0}@media(max-width:560px){.attachment-lightbox{padding:16px}.attachment-lightbox header{gap:12px}.attachment-lightbox header h2{font-size:14px}.attachment-lightbox header button{font-size:12px;padding:8px 12px}.attachment-photo img{height:180px}}

.attachment-count{display:inline-block;margin-left:6px;font-family:Inter,Arial,sans-serif;font-size:11px;font-weight:500;color:#536d7a;background:#edf3f6;padding:2px 7px;border-radius:5px;vertical-align:middle}
[hidden]{display:none!important}.client-ticket{grid-template-columns:minmax(0,1fr)}.support-channels{margin-bottom:24px}.reply-composer h3{margin:0;font-size:17px}.reply-toolbar{display:flex;gap:4px;flex-wrap:wrap;align-items:center;padding:8px 12px;background:#f6f8fa;border-top:1px solid #e2e9ee;border-bottom:1px solid #e2e9ee}.reply-toolbar button{padding:6px 9px;font-size:12px;border-color:transparent;background:transparent;min-height:32px}.reply-toolbar button:hover{background:#e6edf2;border-color:#bcccd6}.format-bold{font-weight:700}.format-italic{font-style:italic}.format-underline{text-decoration:underline}.reply-toolbar label{display:flex;align-items:center;gap:8px;font-size:12px}.reply-toolbar select{width:auto;padding:6px;font-size:12px}.reply-editor{min-height:150px;max-height:400px;overflow-y:auto;border:0;border-radius:0;padding:18px;background:white;line-height:1.7;overflow-wrap:anywhere}.reply-editor:empty:before{content:attr(data-placeholder);color:#657984;pointer-events:none}.reply-editor:focus{outline:2px solid #0d6477;outline-offset:2px}.reply-editor p,.message-body p{margin:0 0 12px}.message-body{overflow-wrap:anywhere;line-height:1.7}.message-body ul,.message-body ol{padding-left:24px}.message-body blockquote{border-left:3px solid #aebfc9;padding-left:16px;margin-left:0;color:#516875}.text-ink{color:#24333d}.text-teal{color:#0d6477}.text-red{color:#9c2525}.text-blue{color:#314c97}.reply-attachments{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px}.reply-attachments .attachment-photo img{height:200px}.reply-selected{display:flex;flex-wrap:wrap;gap:10px}.reply-pending-file{border:1px solid #d6e0e6;border-radius:8px;padding:10px;max-width:170px;overflow-wrap:anywhere;font-size:12px}.reply-pending-file img{display:block;width:100%;height:100px;object-fit:contain;margin-bottom:8px}.reply-file-label input{font-size:12px}.reply-file-label input::file-selector-button{border:0;border-radius:5px;padding:8px 12px;background:#edf3f6;color:#0d6477;margin-right:10px}.reply-audience{margin:0;font-size:12px;line-height:1.6;color:#516875}.reply-signature{margin-top:20px;border-top:1px solid #d6e0e6;padding-top:16px}.reply-signature summary,.attachment-remove summary{cursor:pointer;color:#0d6477;font-size:13px}.attachment-remove{margin-top:12px}.attachment-remove p{font-size:12px}.reply-link-dialog{width:min(440px,calc(100% - 32px));padding:24px;border:1px solid #c8d8e2;border-radius:12px}.reply-link-dialog::backdrop{background:rgba(12,27,37,.7)}.reply-link-dialog h2{margin:0;font-size:20px}.reply-link-dialog .actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:560px){.reply-toolbar{gap:5px;padding:8px}.reply-toolbar button{font-size:11px;padding:7px 8px}.reply-attachments{grid-template-columns:1fr}.reply-editor{padding:12px}}
.message-body .text-ink a,.message-body .text-teal a,.message-body .text-blue a,.message-body .text-red a{color:inherit}

.support-compose{margin-top:24px;border:1px solid #c9d7e0;border-radius:10px;overflow:hidden}.compose-tabs{display:flex;border-bottom:1px solid #d6e0e6;background:#f5f8fa}.compose-tabs button{padding:14px 18px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#506673;font-size:13px}.compose-tabs button[aria-selected=true]{color:#075467;border-bottom-color:#0d6477;background:#fff}.compose-tabs button[data-compose-tab=note][aria-selected=true]{color:#755019;border-bottom-color:#97702f;background:#fff8e9}.compose-tabs button:focus-visible{outline:2px solid #0d6477;outline-offset:-4px}.compose-panel .reply-composer{margin:0;gap:0;max-width:none}.compose-audience{display:flex;flex-direction:column;gap:4px;padding:15px 18px;border-bottom:1px solid #e2e9ee;background:#fcfdfe;overflow-wrap:anywhere}.compose-audience strong{font-size:13px;color:#294653}.compose-audience span{font-size:12px;color:#526975}.compose-private .compose-audience,.compose-private .reply-toolbar{background:#fff8e9}.compose-private .compose-audience strong{color:#755019}.compose-private .reply-editor{background:#fffdf8}.compose-footer{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 16px}.compose-tools{display:flex;gap:16px;align-items:center;min-width:0}.attachment-enhanced .compose-tools .attachment-picker{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;border:0;padding:10px;background:transparent;color:#526975;border-radius:6px;gap:0}.compose-tools .attachment-picker .support-icon{width:21px;height:21px}.attachment-enhanced .compose-tools .attachment-picker:hover{background:#edf3f6;color:#0d6477}.compose-tools .check{font-size:12px;margin:0;gap:6px}.compose-tools .check input{margin:0}.compose-submit{font-size:13px;white-space:nowrap}.compose-private .compose-submit{background:#755019;border-color:#755019}.compose-private .compose-submit:hover{background:#5f3e11}.compose-panel .attachment-help{padding:0 16px 12px;margin:0}.compose-panel .reply-error{margin:0;padding:0 16px 14px}.compose-panel .reply-selected:not(:empty){padding:12px 16px 0}.compose-panel .reply-plain-label{margin:16px}.pending-remove{display:block;font-size:11px;padding:4px 8px;margin-top:7px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media(max-width:560px){.compose-tabs button{flex:1;padding:12px 10px;font-size:12px}.compose-footer{flex-wrap:wrap;padding:12px}.compose-tools{flex-wrap:wrap;gap:10px}.compose-submit{margin-left:auto}.compose-audience{padding:13px}.compose-panel .reply-toolbar{padding:8px}.compose-panel .reply-editor{padding:14px}}

.signature-composer .reply-editor{border:1px solid #aebfc9;border-radius:8px}.compose-tools input[type=file]{max-width:100%}

/* Ticket workspaces: separate server-rendered histories, never hidden private messages. */
.ticket-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 22px;border-bottom:1px solid #d6e0e6}.ticket-tabs a{padding:12px 14px;font-size:13px}.ticket-tabs a[aria-current=page]{background:#fff;border-bottom:3px solid #0d6477;color:#075467}.workspace-context{font-size:13px;color:#526975;line-height:1.65;margin:0 0 20px}.support-icon{width:17px;height:17px;flex:none;vertical-align:middle}.message-envelope{font-size:12px;color:#526975;margin-bottom:12px;overflow-wrap:anywhere}.message-envelope>summary{cursor:pointer;width:fit-content;color:#526975;font-size:11px}.message-envelope-fields{display:grid;gap:5px;padding-top:10px}.message-delivery{font-size:11px;color:#526975;margin:0 0 12px}.message-actions{position:relative;display:flex;align-items:center;gap:6px;margin-top:12px}.message-reply{display:inline-flex;align-items:center;gap:7px;padding:6px 8px 6px 0;font-size:12px;font-weight:500;color:#46616e;text-decoration:none;min-height:32px}.message-reply:hover{color:#0d6477;text-decoration:underline}.message-more{position:static}.message-more>summary{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:6px;cursor:pointer;list-style:none;color:#526975}.message-more>summary::-webkit-details-marker{display:none}.message-more>summary:hover,.message-more[open]>summary{background:#e6edf2;color:#0d6477}.message-action-menu{position:absolute;z-index:5;bottom:calc(100% + 6px);left:0;min-width:186px;padding:5px;background:#fff;border:1px solid #d6e0e6;border-radius:8px;box-shadow:0 5px 18px #24333d14}.message-more.menu-below .message-action-menu{bottom:auto;top:calc(100% + 6px)}.message-action-menu a{display:flex;align-items:center;gap:9px;padding:10px;font-size:12px;color:#243e4a;text-decoration:none;border-radius:4px;white-space:nowrap}.message-action-menu a:hover{background:#edf4f6;color:#0d6477}.message-actions a:focus-visible,.message-more>summary:focus-visible{outline:2px solid #0d6477;outline-offset:2px}.compose-envelope{border-bottom:1px solid #e2e9ee;background:#fcfdfe}.compose-envelope>summary{padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;cursor:pointer;font-size:12px;color:#46616e}.compose-envelope>summary::-webkit-details-marker{display:none}.compose-envelope>summary:hover{background:#f4f8fa}.compose-envelope>summary:focus-visible{outline:2px solid #0d6477;outline-offset:-3px}.recipient-summary{display:flex;align-items:center;gap:9px;min-width:0;overflow-wrap:anywhere}.recipient-copies{color:#526975}.envelope-edit{display:flex;align-items:center;gap:4px;flex:none;color:#0d6477;font-size:11px}.compose-envelope[open] .envelope-edit .support-icon{transform:rotate(180deg)}.envelope-fields{display:grid;gap:11px;padding:4px 18px 16px}.envelope-fields>label{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:8px;font-size:12px}.compose-envelope input{font-size:13px;padding:9px 10px;min-width:0}.compose-envelope p{font-size:11px;line-height:1.65;margin:0;color:#526975}.copy-controls{display:flex;gap:14px;padding-left:40px}.copy-controls button{border:0;background:none;padding:3px 0;border-radius:2px;font-size:12px;color:#0d6477}.copy-controls button:hover{text-decoration:underline;background:none}.envelope-meta{font-size:11px;color:#526975}.envelope-meta summary{cursor:pointer;width:fit-content}.envelope-meta p{padding-top:8px}.forward-preview{padding:18px;border-bottom:1px solid #d6e0e6;background:#f4f8fa}.forward-preview h3{font-size:14px;margin:0 0 12px}.forward-preview>p{font-size:12px;color:#526975}.forward-preview .message-body{max-height:250px;overflow:auto;padding:14px;background:#fff;border:1px solid #d6e0e6;border-radius:6px;margin-bottom:16px}.forward-preview .check{font-size:13px}.ticket-conversation .ticket-attachments .attachment-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:16px;max-height:none;overflow:visible}.ticket-conversation .ticket-attachments .attachment-photo img{height:220px;object-fit:contain;background:#edf3f6}.ticket-conversation .attachment-upload{margin-top:24px;border-top:1px solid #d6e0e6;padding-top:22px;max-width:440px}.ticket-conversation .ticket-attachments h3{font-size:16px}.ticket-conversation .ticket-attachments .attachment-help{margin-bottom:14px}@media(max-width:560px){.ticket-tabs a{padding:10px 8px;font-size:12px}.compose-envelope>summary{padding:11px 12px;gap:8px}.envelope-fields{padding:4px 12px 14px}.envelope-edit{font-size:10px}.forward-preview{padding:12px}.message-reply{font-size:12px}.ticket-tabs{gap:0}}

.support-list-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:20px}.support-list-head .support-channels{margin:0;flex:1;min-width:0}.support-list-head>.button{flex:none;margin-left:auto;font-size:12px;min-height:38px;padding:8px 13px}@media(max-width:560px){.support-list-head .support-channels{flex-basis:100%}.support-list-head>.button{width:100%;margin:0}}

/* Integrated client lookup; native select remains usable without JavaScript. */
.client-picker{position:relative;min-width:0}.client-picker-results{position:absolute;z-index:30;top:100%;left:0;right:0;max-height:280px;overflow:auto;background:#fff;border:1px solid #b8cbd5;border-radius:6px;box-shadow:0 8px 20px #243b5314;padding:5px}.client-picker-option{padding:10px 12px;border-radius:4px;cursor:pointer;overflow-wrap:anywhere}.client-picker-option strong,.client-picker-option span{display:block}.client-picker-option strong{font-size:13px}.client-picker-option span{font-size:12px;color:#5b707d;margin-top:2px}.client-picker-option:hover,.client-picker-option[aria-selected=true]{background:#e7f1f4}.client-picker-status{font-size:12px;color:#526975;margin:6px 0 0}.client-picker-status:empty{display:none}

.project-composer>label{display:grid;gap:7px;margin-top:18px}.project-composer textarea{min-height:100px}.project-guide{font-size:12px;line-height:1.7}.project-document .document-logo{display:block;width:180px;height:auto;margin-bottom:18px}.project-document .document-heading{border-bottom:2px solid #d5dfe5;padding-bottom:20px}.project-document .document-heading>div:last-child{text-align:right}.project-document .document-project-title{font-size:24px;margin:28px 0 14px}.project-document .document-summary{line-height:1.8}.project-document .project-document-section h3,.project-document .quote-annexes h3{border-bottom:1px solid #d7e0e6;padding-bottom:10px;margin-top:28px}.project-pricing{padding:14px 18px;background:#f1f5f7;border-left:3px solid #0d6477;clear:both}.quote-annex-image{display:block;max-width:100%;max-height:500px;object-fit:contain}.quote-annex-figure{margin:24px 0}.quote-annex-figure figcaption{margin:12px 0;font-size:13px}.quote-decision{background:#fff;border:1px solid #d6e0e6;border-radius:12px;margin:0 0 24px;overflow:hidden}.quote-decision-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:24px;border-bottom:1px solid #e2e9ee}.quote-decision-heading h2{font-size:19px;margin:0 0 6px}.quote-decision-heading p{font-size:13px;color:#516875;margin:0;line-height:1.6}.quote-base-amount{display:grid;gap:4px;text-align:right;flex-shrink:0}.quote-base-amount span,.quote-base-amount small{font-size:12px;color:#516875}.quote-base-amount strong{font-size:20px;color:#203847}.quote-accept-form{padding:24px}.quote-option-choices{border:0;padding:0;margin:0;min-width:0}.quote-option-choices legend{font-size:15px;font-weight:600;padding:0}.quote-option-choices p{font-size:12px;line-height:1.7;color:#516875;margin:8px 0 16px}.quote-option-choices label.check{max-width:none;width:100%;display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:14px;align-items:start;padding:18px;margin:0 0 12px;background:#f7f9fb;border:1px solid #dce5eb;border-radius:8px}.quote-decision input[type=checkbox]{width:18px;height:18px;margin:3px 0 0;flex-shrink:0;accent-color:#0d6477}.quote-option-description{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.quote-option-amount{display:grid;gap:4px;min-width:130px;text-align:right;white-space:nowrap}.quote-option-amount strong{font-size:14px}.quote-option-amount small{font-size:11px;color:#516875}.quote-consent{padding-top:20px;margin-top:8px;border-top:1px solid #e2e9ee}.quote-consent label.check{max-width:none;display:flex;align-items:flex-start;gap:14px;margin:0;font-size:13px;line-height:1.8}.quote-decision-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:18px 24px;background:#f7f9fb;border-top:1px solid #e2e9ee}.quote-decision-actions form{margin:0}.quote-decision-actions button{min-height:44px}.quote-decision-actions form button{background:white;color:#385366;border:1px solid #bacbd6}.quote-decision-actions form button:hover{background:#edf3f6}@media(max-width:650px){.quote-decision-heading{flex-direction:column;gap:16px;padding:20px}.quote-base-amount{text-align:left}.quote-accept-form{padding:20px}.quote-option-choices label.check{grid-template-columns:18px minmax(0,1fr);gap:12px;padding:14px}.quote-option-amount{grid-column:2;text-align:left;min-width:0}.quote-decision-actions{padding:16px 20px;flex-wrap:wrap}.quote-decision-actions>button{flex:1}}.project-document .document-acceptance{margin-top:22px;padding-top:12px;border-top:1px solid #d6e0e6}@media(max-width:650px){.project-document .document-heading>div:last-child{text-align:left}.project-document .document-project-title{font-size:20px}}

.project-field-group{margin-top:18px;border-top:1px solid #d6e0e6;padding-top:16px}.project-field-group>summary{font-weight:600;font-size:14px;cursor:pointer;color:#284653}.project-field-group>label{display:grid;gap:7px;margin-top:16px}

.project-document .quote-totals{width:52%;margin:18px 0 24px auto;font-size:14px}.project-document .quote-totals th{background:none;font-weight:400;color:#24333d}.project-document .quote-totals th,.project-document .quote-totals td{padding:10px 0;border:0}.project-document .quote-totals td{text-align:right}.project-document .quote-totals .grand th,.project-document .quote-totals .grand td{border-top:2px solid #c5d4dc;font-weight:700}@media(max-width:650px){.project-document .quote-totals{width:100%}}

.quote-line .line-numbers{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:700px){.quote-line .line-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.quote-line .line-numbers{grid-template-columns:1fr}}

.quote-option-context{display:block;color:#516875;font-size:12px;margin-top:8px}.quote-option-amount{white-space:normal;max-width:245px}.quote-option-amount strong{white-space:nowrap}.quote-option-amount small{line-height:1.6}.quote-selection-summary{border:1px solid #d6e0e6;border-radius:8px;padding:18px;margin-top:20px;background:#f7f9fb}.quote-selection-summary h3{margin:0 0 12px;font-size:15px}.quote-selection-summary dl{margin:0}.quote-selection-summary dl>div{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.quote-selection-summary dd{margin:0;white-space:nowrap}.quote-selection-total{border-top:1px solid #cddbe4;margin-top:8px;padding-top:14px!important;font-weight:600}.quote-selection-summary p{font-size:12px;line-height:1.7;color:#516875;margin:12px 0 0}.document-option{border:1px solid #d6e0e6;border-radius:8px;padding:18px;margin:18px 0}.document-option h4{margin:0 0 12px}.document-option-description{line-height:1.7}.document-option-detail,.document-option-note{font-size:12px;line-height:1.7;color:#516875}.document-option-prices th{background:transparent;font-weight:400}.document-option-prices td{text-align:right;white-space:nowrap}.document-option-prices .grand th,.document-option-prices .grand td{font-weight:600}@media(max-width:650px){.quote-option-amount{max-width:none}.quote-selection-summary dl>div{flex-direction:column;gap:4px}.document-option{padding:14px}.document-option-prices th,.document-option-prices td{padding:10px 5px}}

.internal-pricing{border:1px solid #d6e0e6;border-radius:8px;padding:14px;margin:14px 0;background:#f7f9fb}.internal-pricing summary{cursor:pointer;font-weight:600;font-size:13px}.internal-pricing p,.internal-profit>p{font-size:12px;line-height:1.7;color:#516875}.internal-pricing input[readonly]{background:#edf3f6}.internal-pricing [data-pricing-error]{color:#9c2525}


/* Final project settlement: readable amounts without horizontal scrolling on phones. */
@media(max-width:650px){.settlement-document .table-wrap{border:0}.settlement-document .table-wrap table,.settlement-document .table-wrap tbody{display:block;width:100%;min-width:0}.settlement-document .table-wrap thead{display:none}.settlement-document .table-wrap tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #d6e0e6;border-radius:7px;margin:12px 0}.settlement-document .table-wrap td{padding:12px;border:0;min-width:0}.settlement-document .table-wrap td:first-child{grid-column:1/-1;min-width:0;border-bottom:1px solid #e1e8ed}.settlement-document .table-wrap td:not(:first-child)::before{content:attr(data-label);display:block;color:#596e7b;font-size:11px;margin-bottom:6px}.settlement-document .table-wrap .cell-content{overflow-wrap:anywhere}}

/* Client account identity and session action, scoped to the client portal. */
.account.client-account{margin-top:auto;padding:14px 12px 8px;background:#f5f8f9;border:1px solid #e0e8ec;border-radius:10px;font-size:13px}
.client-account-identity{display:flex;align-items:center;gap:10px;min-width:0}
.client-account-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:36px;color:#4d707d}
.client-account-avatar svg{width:25px;height:25px}
.client-account-details{min-width:0;flex:1}
.client-account-details strong{font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.client-account-email{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5c707d;font-size:11px;line-height:1.6}
.client-account form{margin:10px 0 0;border-top:1px solid #dfe7eb;padding-top:5px}
.client-account button.client-account-logout{width:100%;min-height:44px;padding:8px;gap:9px;justify-content:flex-start;border:0;border-radius:6px;background:transparent;color:#425e6c;font-size:12px;font-weight:500}
.client-account button.client-account-logout:hover{background:#e7eff2;color:#193f50}
.client-account-logout svg{width:18px;height:18px;flex-shrink:0}
@media(max-width:900px){.account.client-account{margin-top:14px;display:flex;gap:12px;padding:10px 12px}.client-account-identity{flex:1}.client-account form{margin:0;padding:0;border:0;flex-shrink:0}.client-account button.client-account-logout{width:auto;justify-content:center}}
@media(max-width:560px){.navigation-ready .account.client-account{margin-top:0;padding:10px 12px}.client-account-logout-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.client-account button.client-account-logout{width:44px;padding:10px}.client-account-logout svg{width:20px;height:20px}}
