:root{--portal-jade:#16634b;--portal-paper:#f4f7f5;--portal-ink:#19352b;--portal-border:#e1e9e4}.access-shell{min-height:100dvh;background:var(--portal-paper);display:grid;place-items:center;padding:32px 16px;color:var(--portal-ink)}.access-card{width:100%;max-width:460px;background:#fff;border:1px solid var(--portal-border);border-radius:20px;padding:32px;box-shadow:0 12px 40px #19352b08}.access-brand{color:var(--portal-jade);font-weight:700;letter-spacing:.02em;margin-bottom:28px;font-size:20px}.access-card h1{font-size:26px;line-height:1.3;margin:0 0 12px}.access-card p{color:#5d7067;line-height:1.7}.access-card .ant-alert{margin-bottom:18px}.access-links{display:flex;justify-content:space-between;gap:16px;margin-top:20px}.access-card .ant-btn-primary{background:var(--portal-jade)}.access-card .ant-form-item{margin-bottom:18px}@media(max-width:480px){.access-shell{padding:16px}.access-card{padding:24px 20px}}.crm{--crm-accent:#176f68;--crm-border:#e5e9eb;--crm-muted:#74808b;--crm-ink:#23333e;color:var(--crm-ink);margin-top:22px}.crm-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}.crm-eyebrow{font-size:10px;letter-spacing:2px;color:var(--crm-muted)}.crm h1{font-size:27px;letter-spacing:-.8px;margin:8px 0}.crm h1 span{font-size:12px;vertical-align:middle;margin-left:12px;background:#e4f1ee;color:var(--crm-accent);padding:5px 9px;border-radius:6px;letter-spacing:0}.crm-heading p{color:var(--crm-muted);margin:0;font-size:13px}.crm-connection{font-size:12px;color:var(--crm-muted);white-space:nowrap}.crm-connection i{display:inline-block;width:7px;height:7px;background:#c29145;border-radius:50%;margin-right:8px}.crm-workspace{display:grid;grid-template-columns:270px minmax(290px,1fr) 240px;height:min(740px,calc(100vh - 225px));min-height:420px;border:1px solid var(--crm-border);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 3px 16px #21354705}.crm-inbox{display:flex;flex-direction:column;border-right:1px solid var(--crm-border);min-width:0}.crm-inbox-head{padding:20px 16px 0}.crm h2{font-size:15px;margin:0 0 16px}.crm-inbox h2 span{font-size:11px;color:var(--crm-muted);margin-left:8px}.crm-filters{display:flex;gap:4px;margin:16px 0 10px}.crm button{cursor:pointer}.crm-filters button,.crm-compose-tabs button{border:0;background:transparent;color:var(--crm-muted);padding:8px;font-size:12px;border-radius:5px}.crm-filters button.selected{background:#eaf4f1;color:var(--crm-accent);font-weight:600}.crm-threads{overflow:auto;flex:1}.crm-thread{border:0;border-bottom:1px solid #f0f2f3;background:#fff;display:flex;gap:10px;text-align:left;padding:19px 14px;width:100%;border-left:3px solid transparent}.crm-thread:hover{background:#f8faf9}.crm-thread.active{background:#f0f7f5;border-left-color:var(--crm-accent)}.crm-avatar{flex-shrink:0;width:34px;height:34px;display:grid;place-items:center;background:#e4efed;color:var(--crm-accent);border-radius:11px;font-size:11px;font-weight:600}.crm-thread-text{min-width:0;flex:1}.crm-thread-text>div{display:flex;justify-content:space-between;gap:5px;align-items:center}.crm-thread strong{font-size:12px}.crm-thread-text>div span{font-size:10px;color:var(--crm-muted)}.crm-thread h3{font-size:12px;font-weight:400;margin:8px 0;color:#4d626d}.crm-thread p{font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--crm-muted);margin:0 0 10px}.crm-thread footer{display:flex;justify-content:space-between;font-size:10px;color:var(--crm-accent)}.crm-thread b{background:var(--crm-accent);color:#fff;border-radius:9px;min-width:17px;text-align:center}.crm-inbox-foot{font-size:11px;padding:16px;color:var(--crm-muted);border-top:1px solid var(--crm-border)}.crm-conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.crm-chat-head{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--crm-border)}.crm-chat-head h2{margin:0 0 4px}.crm-chat-head p{font-size:11px;color:var(--crm-muted);margin:0}.crm-chat-head>button:last-child{margin-left:auto;font-size:11px}.crm-messages{flex:1;overflow:auto;padding:24px;background:#fafcfb}.crm-date{text-align:center;font-size:10px;color:#919ca5;margin-bottom:26px}.crm-message{max-width:85%;margin-bottom:20px}.crm-message>span{font-size:10px;color:var(--crm-muted);display:block;margin-bottom:7px}.crm-message>div{padding:13px 16px;border:1px solid var(--crm-border);border-radius:0 12px 12px;font-size:13px;line-height:1.7;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere}.crm-message small{display:block;font-size:10px;color:#9ba5ad;margin-top:6px}.crm-message.staff{margin-left:auto}.crm-message.staff>div{background:#e5f1ed;border-color:#d9e9e3;border-radius:12px 0 12px 12px}.crm-message.note>div{background:#fff6df;border-color:#efdfb6}.crm-message-footer{text-align:center;color:#98a3ab;font-size:10px}.crm-compose{padding:12px 18px 16px;border-top:1px solid var(--crm-border)}.crm-compose-tabs{display:flex;align-items:center;gap:10px;margin-bottom:10px}.crm-compose-tabs button.selected{color:var(--crm-accent);font-weight:600;background:#edf5f2}.crm-compose-tabs span{font-size:10px;color:var(--crm-muted);margin-left:auto}.crm-compose textarea{font-size:13px!important;resize:none}.crm-compose-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:8px}.crm-compose-bottom span{font-size:10px;color:var(--crm-muted)}.crm-compose-bottom .ant-btn-primary{background:var(--crm-accent)}.crm-details{border-left:1px solid var(--crm-border);overflow:auto}.crm-profile{padding:22px 18px}.crm-profile .large{height:48px;width:48px;font-size:16px;margin-bottom:12px}.crm-profile h3{font-size:16px;margin:0 0 7px}.crm-profile>p{font-size:12px;color:var(--crm-muted)}.crm-profile section{border-top:1px solid var(--crm-border);margin-top:22px;padding-top:17px}.crm-profile h4{font-size:12px;margin:0 0 14px}.crm-profile dl{margin:0}.crm-profile dt{font-size:11px;color:var(--crm-muted);margin-top:14px}.crm-profile dd{font-size:12px;margin:5px 0 0;overflow-wrap:anywhere}.crm-profile a{color:var(--crm-accent)}.crm-profile label{font-size:11px;color:var(--crm-muted);display:block;margin-top:12px}.crm-profile .ant-select{width:100%;margin-top:6px}.crm-hint{font-size:10px;color:var(--crm-muted);line-height:1.6}.crm-back{display:none}.crm button:focus-visible{outline:2px solid var(--crm-accent);outline-offset:-2px}@media(min-width:1450px){.crm-workspace{grid-template-columns:290px minmax(340px,1fr) 270px}}@media(max-width:1200px){.crm-workspace{grid-template-columns:250px minmax(280px,1fr)}.crm-details{display:none}}@media(max-width:760px){.crm-heading{align-items:flex-start;flex-direction:column;gap:8px}.crm h1{font-size:23px}.crm-workspace{display:block;height:650px;min-height:0}.crm-inbox{height:100%;border:0}.crm-conversation{display:none;height:100%}.crm-workspace.show-chat .crm-inbox{display:none}.crm-workspace.show-chat .crm-conversation{display:flex}.crm-back{display:inline-block}.crm-chat-head{padding:12px;gap:8px}.crm-chat-head .crm-avatar{display:none}.crm-chat-head p{max-width:170px}.crm-messages{padding:18px}.crm-compose{padding:10px}.crm-compose-tabs span{display:none}.crm-message{max-width:95%}}.crm-workspace{grid-template-rows:minmax(0,1fr)}.crm-messages{min-height:0}.crm-chat-head,.crm-compose{flex-shrink:0}.crm-inbox{min-height:0}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}
