.crm-workbench{--iris:#5b4bdb;--navy:#151b2e;--frost:#f7f8fc;color:var(--navy);max-width:1500px;margin:auto}.work-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}.work-header h1{margin:4px 0 8px}.work-header p{margin:0;color:#637087}.work-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.work-tabs button[aria-pressed=true]{background:var(--iris);color:white}.work-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:24px}.work-queue,.work-record,.work-section{background:#fff;border:1px solid #e4e7f0;border-radius:16px;padding:22px}.work-section{margin:12px 0}.work-section>summary{font-weight:650;cursor:pointer}.work-enquiry{display:flex;flex-direction:column;gap:7px;color:var(--navy);text-decoration:none;padding:16px 12px;border-bottom:1px solid #edf0f6}.work-enquiry.selected{background:#efecff;border-radius:10px;border-left:3px solid var(--iris)}.work-enquiry span,.work-enquiry small{font-size:12px;color:#637087}.work-record{min-width:0}.work-record h2{margin-top:8px}.work-record h3{margin-top:26px}.work-facts{display:flex;flex-wrap:wrap;gap:8px}.work-facts span{background:var(--frost);padding:7px 10px;border-radius:8px;font-size:12px}.work-request{white-space:pre-wrap;line-height:1.7;padding:18px 0}.work-guidance{background:#f0edff;padding:16px 20px;border-radius:12px;border-left:3px solid var(--iris)}.work-guidance h3{margin:0}.work-guidance p{margin-bottom:0;line-height:1.65}.work-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.work-actions details{flex:1 1 250px;background:var(--frost);padding:13px;border-radius:10px}.work-actions summary,.work-action summary{cursor:pointer;font-weight:600}.work-form{display:flex;flex-direction:column;gap:12px;margin-top:16px;max-width:680px}.work-form label{display:flex;flex-direction:column;gap:6px}.work-form label:has(input[type=checkbox]){flex-direction:row;align-items:center}.work-form input,.work-form textarea,.work-form select{width:100%;max-width:100%;box-sizing:border-box}.work-form input[type=checkbox]{width:auto}.work-form textarea{min-height:95px}.work-form select[multiple]{min-height:100px}.work-form fieldset{padding:18px;border:1px solid #e4e7f0;border-radius:12px}.work-task{display:flex;justify-content:space-between;align-items:start;gap:20px;border-bottom:1px solid #edf0f6;padding:16px 0}.work-task p{margin:6px 0}.work-task .work-action{min-width:210px;max-width:52%}.work-notice,.work-quote{padding:16px 0;border-bottom:1px solid #edf0f6}.work-notice button,.work-quote button,.work-quote a{margin-right:10px}.work-record pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;font-family:inherit;font-size:13px;line-height:1.6}.work-record details:not(.work-actions details){margin-top:12px}.work-record summary{cursor:pointer}.work-record a,.work-queue a{color:var(--iris)}
@media(max-width:900px){.work-layout{grid-template-columns:1fr}.work-queue{max-height:350px;overflow:auto}.work-task{flex-direction:column}.work-task .work-action{max-width:100%;width:100%}.work-header{align-items:start}.work-queue,.work-record,.work-section{padding:16px}}
.work-quote-preview{overflow-x:auto;margin:14px 0;background:#fafbfe;padding:16px;border-radius:10px}.work-quote-preview table{border-collapse:collapse;width:100%;font-size:13px}.work-quote-preview td,.work-quote-preview th{text-align:left;padding:10px;border-bottom:1px solid #e4e7f0}.work-terms{white-space:pre-wrap;line-height:1.65}

.work-template-setup{background:#fff;border:1px solid #e4e7f0;border-radius:16px;padding:22px;margin-top:20px}.work-template-setup>summary{cursor:pointer;font-weight:650}.work-template-setup>.work-task{flex-wrap:wrap}.work-template-setup>.work-task strong{flex:1 1 200px}.work-email-document{max-width:640px;border:1px solid #e4e5ec;border-radius:12px;background:white;overflow:hidden}.work-email-brand{background:#151b2e;color:white;padding:24px;border-bottom:4px solid #8de0d0;font-size:22px;font-weight:bold}.work-email-content{padding:28px}.work-email-content h3{margin-top:0;color:#5b4bdb}.work-email-footer{padding:20px 28px;background:#f7f8fc;font-size:12px;white-space:pre-wrap}.work-email-content .work-quote-preview{background:white;padding:0}@media(max-width:600px){.work-template-setup,.work-email-content{padding:16px}.work-email-brand{padding:18px}}

.work-actions details[open]{flex-basis:100%}

.notice{background:#f1effd;border:1px solid #d6d1f7;border-left:4px solid #5b4bdb;border-radius:12px;padding:12px 16px;margin:0 0 16px;color:#1d2238}.notice a{font-weight:600}

.crm-deal>p:nth-of-type(3){display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}details.enquiry-more>summary,details.work-more>summary{cursor:pointer;font-weight:600;color:#5b4bdb;margin-top:6px}
