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)}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 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}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#000000e0;background:#f5f5f5;font-synthesis:none;text-rendering:optimizeLegibility;--crm-border: #f0f0f0;--crm-muted: rgba(0, 0, 0, .45);--crm-surface: #fff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f5f5f5}button,input,textarea{font:inherit}a{color:#1677ff}.app-loading{min-height:55vh;display:grid;place-items:center}.app-layout{min-height:100vh;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:268px;z-index:10;padding:24px 18px 18px;background:var(--crm-surface);border-right:1px solid var(--crm-border);display:flex;flex-direction:column;gap:18px}.brand{display:flex;align-items:center;gap:12px;color:#000000e0}.brand>span:last-child{display:flex;flex-direction:column;gap:2px}.brand strong{font-size:18px;font-weight:800}.brand small,.account-card small{display:block;color:var(--crm-muted);font-size:12px;margin-top:3px}.brand-icon{flex:0 0 auto;width:42px;height:42px;border-radius:8px;display:grid;place-items:center;color:#1677ff;background:#e6f4ff;font-size:20px}.main-menu{flex:1;border-inline-end:0!important}.sidebar .main-menu{margin-inline:-8px}.account-card{border-top:1px solid var(--crm-border);padding-top:16px;display:flex;gap:10px;align-items:center;min-width:0}.account-card>div{min-width:0;flex:1}.account-card strong,.account-card small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-version{color:#000000a6;font-size:12px;text-align:center;overflow-wrap:anywhere}.mobile-navigation{height:100%;display:flex;flex-direction:column;gap:18px}.page-content{min-width:0;margin-left:268px;padding:30px}.mobile-header{display:none}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.page-header>div{min-width:0;overflow-wrap:anywhere}.page-header h1{margin:0;font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.03em}.page-header p{margin:6px 0 0;color:var(--crm-muted)}.page-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0;max-width:100%}.content-stack{display:grid;gap:18px}.content-stack>*,.two-column>*{min-width:0}.muted{color:var(--crm-muted);font-size:13px}.error-message{margin-bottom:16px}.form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}.two-column{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.55fr);gap:18px;align-items:start}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:18px}.summary-item label{display:block;color:var(--crm-muted);font-size:12px;font-weight:700;margin-bottom:5px}.summary-item div{font-weight:650;overflow-wrap:anywhere}.notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;border-top:1px solid var(--crm-border);margin-top:18px;padding-top:18px}.table-actions{display:flex;gap:4px;justify-content:flex-end;white-space:nowrap}.table-link{display:inline-block;font-weight:700;text-align:left;overflow-wrap:anywhere}.interaction-note{white-space:pre-wrap;max-width:420px;overflow-wrap:anywhere}.table-card{margin-top:18px}.filters{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.contact-links{display:flex;flex-direction:column;align-items:flex-start;overflow-wrap:anywhere}.contact-links a{max-width:100%}.ant-card-head-title,.ant-modal-title,.ant-modal-confirm-title{overflow-wrap:anywhere}.auth-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;background:#f5f5f5}.auth-box{width:min(100%,440px)}.auth-brand{justify-content:center;margin-bottom:20px}.auth-box h1{margin:0 0 6px;font-size:27px}.auth-box .intro{color:var(--crm-muted);margin:0 0 24px;line-height:1.5}.auth-footer{margin:20px 0 0;text-align:center;color:var(--crm-muted)}.link-button{color:#1677ff;font-weight:600;text-decoration:none}.link-button:hover{text-decoration:underline}@media(max-width:1050px){.summary-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.two-column{grid-template-columns:1fr}}@media(max-width:991px){.desktop-sidebar{display:none}.mobile-header{display:flex;position:sticky;top:0;z-index:9;min-height:62px;padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));align-items:center;justify-content:space-between;gap:12px;background:#fff;border-bottom:1px solid var(--crm-border)}.brand.compact{gap:8px}.brand.compact .brand-icon{width:34px;height:34px;border-radius:9px;font-size:17px}.brand.compact strong{font-size:16px}.page-content{margin-left:0;padding:20px max(12px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.page-header{flex-direction:column;gap:14px;margin-bottom:18px}.page-header p{line-height:1.5}.page-actions{width:100%}.page-actions>.ant-btn{flex:1 1 auto}.content-stack,.two-column{gap:14px}.two-column{grid-template-columns:minmax(0,1fr)}.two-column>.ant-card:first-child{order:2}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters>:first-child{grid-column:1 / -1}.form-actions{flex-direction:column}.form-actions>.ant-btn{width:100%}.ant-card .ant-card-body{padding:16px}.ant-card .ant-card-head{padding-inline:16px}.ant-card .ant-card-head-title{white-space:normal;padding-block:12px}.ant-btn-icon-only{min-width:44px;min-height:44px}.ant-input,.ant-input-affix-wrapper,.ant-select,.ant-picker{min-width:0;max-width:100%}input.ant-input,textarea.ant-input,.ant-input-affix-wrapper input,.ant-select input{font-size:16px}input[type=datetime-local]{width:100%;min-height:44px}input[type=datetime-local]::-webkit-date-and-time-value{min-height:24px;text-align:left}.native-date-time.ant-input-affix-wrapper{padding-block:0;padding-inline-end:0}.native-date-time .ant-input-clear-icon{display:grid;place-items:center;width:44px;height:44px}.ant-modal{top:max(12px,env(safe-area-inset-top));max-width:calc(100vw - 24px);margin-inline:auto;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.ant-modal .ant-modal-container{padding:20px 16px}.ant-modal .ant-modal-title{padding-right:24px}.ant-modal .ant-modal-close{width:44px;height:44px;top:8px;inset-inline-end:8px}.ant-modal .ant-modal-footer{display:flex;flex-wrap:wrap;gap:8px}.ant-modal .ant-modal-footer>.ant-btn{flex:1 1 auto;margin-inline-start:0}.navigation-drawer .ant-drawer-header{padding-top:max(16px,env(safe-area-inset-top))}.navigation-drawer .ant-drawer-body{padding:16px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.navigation-drawer .ant-drawer-close{min-width:44px;min-height:44px}.mobile-navigation{min-height:100%;height:auto}.mobile-navigation .ant-menu-item{min-height:44px}.auth-page{padding:max(20px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.auth-box h1{overflow-wrap:anywhere}.auth-footer{line-height:1.6}.mobile-record-list{display:grid;gap:16px;min-height:64px}.mobile-record{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;overflow-wrap:anywhere}.mobile-record+.mobile-record{border-top:1px solid var(--crm-border);padding-top:16px}.mobile-record>.ant-tag{align-self:flex-start;max-width:100%;white-space:normal}.record-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.record-heading>:first-child{min-width:0}.record-heading>.ant-btn,.record-heading>.ant-tag{flex-shrink:0}.record-title{display:block;font-size:17px;font-weight:650;line-height:1.5}a.record-title{min-height:44px;display:flex;align-items:center}.record-fields{display:grid;gap:10px;margin:0}.record-fields dt{color:var(--crm-muted);font-size:13px;margin-bottom:2px}.record-fields dd{margin:0}.contact-links a{display:flex;align-items:center;min-height:44px}.mobile-record .table-actions{gap:8px}.mobile-pagination{justify-content:center;margin-top:20px}}@media(max-width:440px){.summary-grid{grid-template-columns:1fr}}.app-startup{display:grid;gap:18px;max-width:760px;margin:40px auto;padding:16px}.server-notices{display:grid;gap:12px}.server-notices:not(:empty){margin-bottom:20px}.update-page{max-width:960px}.update-availability,.update-operation,.update-actions{margin-top:16px}.update-file-name,.update-operation-id,.update-help{overflow-wrap:anywhere}.update-operation-id{font-family:monospace;font-size:13px}.update-release-notes{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:16px}.update-wait{display:flex;align-items:center;gap:12px;margin-bottom:16px}.update-help{margin-block:16px}.update-help ol{padding-left:22px}.update-help li+li{margin-top:8px}@media(max-width:991px){.server-notices .ant-alert{flex-wrap:wrap;row-gap:12px}.server-notices .ant-alert-content{flex:1 1 180px}.server-notices .ant-alert-actions{margin-left:0;flex-basis:100%}.server-notices .ant-alert-actions .ant-btn{width:100%}.update-page .ant-descriptions-item-container{flex-wrap:wrap}.update-page .ant-descriptions-item-content{min-width:0;overflow-wrap:anywhere}.ant-modal-footer .ant-btn{height:auto;min-height:44px;white-space:normal}}
