.crm-shell{max-width:1600px;margin:auto;padding:36px 28px 64px;color:#18333e;background:#f6f8fa;min-height:70vh}.crm-shell *,.crm-dialog *,.crm-chat-panel *{box-sizing:border-box}.crm-shell h1{font-size:32px;line-height:1.15;margin:8px 0}.crm-shell h2{font-size:20px}.crm-shell h3{font-size:17px}.crm-shell p{line-height:1.5}.crm-eyebrow{font-size:11px!important;font-weight:800;letter-spacing:2px;color:#098d86}.crm-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.crm-page-head>div:last-child{display:flex;gap:10px;flex-wrap:wrap}.crm-page-head>div:first-child{display:block}.crm-live{font-size:12px;color:#147d5e;margin-left:12px}.crm-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.crm-metrics>div{background:#fff;border:1px solid #e1e8eb;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:5px}.crm-metrics strong{font-size:30px}.crm-metrics span{font-size:13px;color:#526870}.crm-tabs{display:flex;gap:6px;border-bottom:1px solid #d9e3e7;margin-bottom:24px;overflow:auto}.crm-tabs button{white-space:nowrap;background:transparent;border:0;border-bottom:3px solid transparent;padding:14px 18px;font:inherit;cursor:pointer;color:#526870}.crm-tabs button.active{border-color:#009c94;color:#007e77;font-weight:700}.crm-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:20px}.crm-toolbar>input{max-width:360px}.crm-toolbar>select{max-width:210px}.crm-toolbar p{font-size:12px;color:#617780;margin-left:auto}.crm-board{display:flex;gap:14px;overflow:auto;align-items:stretch;padding:0 0 20px;min-height:380px}.crm-column{flex:0 0 270px;background:#eaf0f3;border:2px solid transparent;border-radius:12px;padding:12px}.crm-column.drag-over{border-color:#00a699;background:#e1f5ef}.crm-column h2{font-size:14px;display:flex;align-items:center;gap:8px;margin:5px 2px 18px}.crm-column h2>span{margin-left:auto;background:#dce5e9;padding:2px 8px;border-radius:12px}.crm-dot{width:9px;height:9px;border-radius:50%;background:#68808a}.stage-new{--stage:#1c80be}.stage-design{--stage:#8852bd}.stage-production{--stage:#dd871b}.stage-finishing{--stage:#bd6b9a}.stage-ready{--stage:#159878}.stage-shipping{--stage:#287eb4}.stage-complete{--stage:#3b7951}.stage-hold{--stage:#bf5656}.crm-dot{background:var(--stage)}.crm-job{width:100%;text-align:left;border:1px solid #e0e7e9;border-radius:10px;background:#fff;padding:15px;margin:0 0 12px;color:#18333e;cursor:grab;box-shadow:0 2px 4px #172b3310;font:inherit}.crm-job:hover{border-color:#7bbeb7;box-shadow:0 4px 12px #172b3315}.crm-job>strong{display:block;font-size:15px;line-height:1.35;margin:11px 0 5px}.crm-job>p{margin:4px 0 16px;font-size:13px}.crm-card-top,.crm-card-bottom{display:flex;justify-content:space-between;gap:6px;font-size:10px;color:#627780}.crm-card-bottom{font-size:12px;font-weight:600}.crm-artwork-needed{display:block;color:#a05a11;background:#fff3df;margin-top:12px;padding:5px 8px;border-radius:4px}.crm-column-empty{text-align:center;color:#6c8088;font-size:12px;border:1px dashed #cbd8df;padding:24px 8px;border-radius:8px}.crm-order,.crm-empty{background:white;border:1px solid #dfe7eb;border-radius:12px;padding:24px;margin-bottom:20px}.crm-customer-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;max-width:1250px}.crm-order-top,.crm-order-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px}.crm-order-top h2{margin:8px 0}.crm-order-top small{color:#58717a}.crm-stage{background:#edf3f4;color:var(--stage);border:1px solid currentColor;border-radius:20px;padding:5px 12px;font-size:12px;white-space:nowrap}.crm-progress{display:flex;align-items:center;justify-content:space-between;margin:24px 0;border-top:2px solid #dce7e9}.crm-progress span{width:28px;height:28px;border-radius:50%;background:#e7eef0;text-align:center;line-height:28px;margin-top:-15px;color:#63808b;font-size:12px}.crm-progress .current{background:#009f95;color:#fff;box-shadow:0 0 0 5px #e0f5f0}.crm-line-item{display:flex;flex-direction:column;gap:5px;border-bottom:1px solid #e2eaec;padding:12px 0}.crm-line-item span,.crm-line-item small{font-size:13px;color:#58717a}.crm-timeline{list-style:none;padding:0 0 0 20px;margin:25px 0;border-left:2px solid #d7e9e4}.crm-timeline li{position:relative;padding:0 0 20px}.crm-timeline li:before{content:'';width:9px;height:9px;border-radius:50%;background:#009e93;position:absolute;left:-25px;top:5px}.crm-timeline time{display:block;color:#70858d;font-size:12px;margin-top:5px}.crm-timeline strong{font-size:14px;font-weight:500}.crm-shell label,.crm-dialog label,.crm-chat-panel label{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:13px;font-weight:600}.crm-shell input,.crm-shell select,.crm-shell textarea,.crm-dialog input,.crm-dialog select,.crm-dialog textarea,.crm-chat-panel input,.crm-chat-panel select,.crm-chat-panel textarea{width:100%;min-width:0;border:1px solid #c8d6dc;border-radius:6px;padding:10px;font:inherit;color:#173641;background:white}.crm-shell .crm-check,.crm-dialog .crm-check{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;line-height:1.5}.crm-check input{width:16px;height:16px;flex:0 0 16px;margin-top:2px}.crm-fine{font-size:12px!important;color:#5d737e;line-height:1.6}.crm-shell [data-crm-notice],.crm-dialog [data-crm-notice]{background:#fff4db;border:1px solid #e7cf8a;padding:14px;border-radius:6px}.crm-settings-grid,.crm-inbox-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.crm-inbox-layout{grid-template-columns:2fr 1fr}.crm-conversation{display:block;width:100%;background:white;border:1px solid #dce6e9;border-radius:10px;padding:18px;margin:12px 0;text-align:left;font:inherit;cursor:pointer}.crm-conversation>strong{display:block}.crm-conversation>span,.crm-conversation time{font-size:12px;color:#657c87}.crm-conversation p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-visitor,.crm-team-person,.crm-connection{display:flex;flex-direction:column;gap:5px;border-bottom:1px solid #e1e9ed;padding:14px 0}.crm-visitor span,.crm-team-person span{font-size:12px;color:#647a83;overflow-wrap:anywhere}.crm-table-wrap{overflow:auto}.crm-table{width:100%;border-collapse:collapse;background:white;text-align:left}.crm-table th,.crm-table td{padding:15px;border-bottom:1px solid #dfe8ec;font-size:13px}.crm-table th{background:#eaf0f3}.crm-dialog{max-width:820px;width:calc(100% - 32px);max-height:90vh;border:0;border-radius:14px;padding:0;color:#18333e;box-shadow:0 20px 90px #001d3e55}.crm-dialog::backdrop{background:#0d293477}.crm-dialog>header{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid #e2e9ec;z-index:1}.crm-dialog>header h2{font-size:20px;margin:0}.crm-dialog>header button,.crm-chat-panel>header button{border:0;background:transparent;font-size:26px;cursor:pointer;color:inherit}.crm-dialog-body{padding:24px}.crm-detail-heading h3{font-size:22px;margin-top:0}.crm-detail-heading small{overflow-wrap:anywhere}.crm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.crm-dialog details{padding:15px 0;border-top:1px solid #e2eaec;margin-top:18px}.crm-dialog details summary{cursor:pointer;font-weight:600}.crm-note{background:#fff6df;border-left:3px solid #efb340;padding:13px 16px;margin:10px 0;white-space:pre-wrap}.crm-note strong{font-size:12px}.crm-note p{font-size:14px;margin:7px 0}.crm-fields{display:grid;grid-template-columns:120px 1fr;gap:10px;font-size:13px}.crm-fields dt{text-transform:capitalize;font-weight:700}.crm-fields dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.crm-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.crm-access{max-width:650px;margin:70px auto;background:#fff;border:1px solid #dfe8eb;border-radius:15px;padding:35px}.crm-messages{display:flex;flex-direction:column;gap:10px;max-height:380px;overflow:auto;padding:14px 0}.crm-message{max-width:88%;border-radius:10px;padding:12px 14px;background:#eef3f5;align-self:flex-start;font-size:13px}.crm-message.customer{background:#ddf4ed;align-self:flex-end}.crm-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.crm-message strong,.crm-message time{font-size:11px}.crm-message time{color:#657984}.crm-chat-panel{position:fixed;bottom:22px;right:22px;width:370px;max-width:calc(100vw - 24px);max-height:85vh;overflow:auto;background:white;border:1px solid #cfdde2;border-radius:14px;box-shadow:0 15px 55px #18364244;z-index:10000;color:#173641}.crm-chat-panel>header{background:#083e4a;color:#fff;padding:16px;display:flex;justify-content:space-between;gap:12px;position:sticky;top:0}.crm-chat-panel>header p{font-size:12px;margin:6px 0 0;color:#cee7e6}.crm-chat-panel .crm-messages{padding:12px;max-height:230px}.crm-chat-panel form{padding:0 16px 18px}.crm-chat-panel label{margin:9px 0}.crm-chat-panel small{font-size:11px}.crm-chat-panel [data-chat-status]{font-size:12px}.crm-loading{padding:70px;text-align:center}.crm-shell button:disabled,.crm-dialog button:disabled{opacity:.55;cursor:wait}.crm-shell a{color:#007f97}.crm-order-bottom{margin-top:20px}
@media(max-width:800px){.crm-shell{padding:24px 14px}.crm-shell h1{font-size:26px}.crm-page-head{align-items:flex-start;flex-direction:column}.crm-metrics{grid-template-columns:1fr 1fr;gap:10px}.crm-metrics>div{padding:15px}.crm-tabs button{padding:12px}.crm-toolbar{flex-wrap:wrap}.crm-toolbar input{max-width:none;flex:1 1 100%}.crm-toolbar p{display:none}.crm-customer-layout,.crm-settings-grid,.crm-inbox-layout{grid-template-columns:1fr}.crm-order{padding:18px}.crm-order-top{flex-direction:column;align-items:flex-start}.crm-form-grid{grid-template-columns:1fr;gap:0}.crm-dialog-body{padding:18px}.crm-dialog>header{padding:15px}.crm-chat-panel{bottom:10px;right:12px}.crm-column{flex-basis:255px}}
.ui-dialog.account-registration{width:min(960px,calc(100vw - 28px));max-width:960px;padding:0;overflow:auto}.account-create-layout{display:grid;grid-template-columns:1.1fr 1fr}.account-create-layout>section{padding:30px}.account-create-layout h2{font-size:27px;margin:8px 0 12px}.account-kicker{font-size:11px;font-weight:800;color:#008e86;letter-spacing:1.8px}.account-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.account-create-layout .field{margin:12px 0}.account-create-layout input{border-radius:6px!important;min-height:44px}.account-fine{font-size:11px!important;color:#627882;line-height:1.5}.account-benefits{background:#083f4b;color:#fff;padding:45px 30px;display:flex;flex-direction:column;justify-content:space-between;gap:22px;border-radius:0 12px 12px 0}.account-benefits>img{width:180px;background:white;padding:10px 12px;border-radius:8px}.account-benefits h3{font-size:25px;line-height:1.2}.account-benefits ul{list-style:none;padding:0;margin:0}.account-benefits li{font-size:14px;line-height:1.5;padding:12px 0 12px 27px;position:relative}.account-benefits li:before{content:'✓';position:absolute;left:0;color:#44d8c8;font-weight:bold}.account-benefits>p{color:#d2e8e7;font-size:13px}.account-benefit-art{display:flex;flex-direction:column;transform:rotate(-4deg);padding:20px 0;font-size:45px;line-height:1.05;font-weight:900;letter-spacing:-2px}.account-benefit-art span:nth-child(2){color:#ff9a32}.account-benefit-art span:nth-child(3){color:#50dfc3}.account-verification{padding:18px;background:#eaf7f3;border:1px solid #bce3d9;border-radius:10px}.account-verification h3{margin-top:0}.account-verification #account-verify{display:flex;gap:10px;align-items:flex-end;margin-bottom:10px}.account-verification #account-verify label{margin-bottom:0}.account-verification #account-verify input{max-width:180px}.chat-tab{border:0;cursor:pointer;font-family:inherit}#account-profile{margin-bottom:24px}
@media(max-width:700px){.account-create-layout{grid-template-columns:1fr}.account-create-layout>section{padding:26px 20px}.account-benefits{border-radius:0 0 12px 12px;padding:24px}.account-benefit-art{display:none}.account-benefits>img{width:145px}.account-name-grid{gap:10px}.account-benefits h3{font-size:21px}.account-benefits li{padding:6px 0 6px 25px}.account-verification #account-verify{flex-wrap:wrap}}
.account-social-button{display:flex;justify-content:center;align-items:center;gap:10px;border:1px solid #ced9dd;border-radius:6px;padding:11px 18px;margin:12px 0;text-decoration:none;color:#18343e;font-size:14px;background:white}.account-provider-icon{font-weight:800;font-family:Arial;font-size:20px}.account-provider-icon.google{color:#4285f4}.account-provider-icon.facebook{background:#1877f2;color:#fff;border-radius:50%;width:19px;height:19px;line-height:21px;text-align:center}.account-or{display:flex;gap:10px;align-items:center;color:#657e89;font-size:12px;margin:20px 0}.account-or:before,.account-or:after{content:'';height:1px;background:#dce5e9;flex:1}.chat-tab.has-new-message{background:#ed8400!important;box-shadow:0 0 0 4px #ffc57966}body:has([data-crm-page="office"]) .main-nav,body:has([data-crm-page="office"]) .header-quote-actions,body:has([data-crm-page="office"]) .announcement{display:none}

/* Password-recovery form needs its own safe inner margin. */
.ui-dialog.account-registration.account-login .account-reset{padding:34px 38px 32px}.account-reset h2{margin:8px 0 16px}.account-reset>p{line-height:1.55;margin:0 0 20px}.account-reset .field{display:flex;flex-direction:column;gap:8px;margin:18px 0}.account-reset input{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px}.account-reset form{margin:0 0 20px}.account-reset .wide{width:100%;min-height:46px}.account-reset #reset-status{min-height:22px;margin:16px 0}.account-reset #reset-back{padding:7px 0}@media(max-width:650px){.ui-dialog.account-registration.account-login .account-reset{padding:28px 22px 24px}}
