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 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}html,body,#root{height:100%;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}.page{padding:20px 24px}.page-title{font-size:18px;font-weight:500;margin:0 0 4px}.page-sub{color:#6b7280;font-size:13px;margin:0 0 18px}.filter-bar{background:#fff;border:1px solid #f0f0f0;border-radius:10px;padding:16px 16px 0;margin-bottom:16px}.toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.card{background:#fff;border:1px solid #f0f0f0;border-radius:10px;padding:16px}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:20px}.metric{background:#fff;border:1px solid #f0f0f0;border-radius:10px;padding:18px}.metric-label{color:#6b7280;font-size:13px}.metric-value{font-size:28px;font-weight:500;margin-top:6px}.bar-row{display:flex;align-items:center;gap:12px;margin:10px 0;font-size:13px}.bar-label{width:96px;color:#374151}.bar-track{flex:1;height:10px;background:#f1f5f9;border-radius:6px;overflow:hidden}.bar-fill{height:100%;background:#378add;border-radius:6px}.bar-count{width:48px;text-align:right;color:#6b7280}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f5f7fa}.login-card{width:min(380px,92vw);background:#fff;border:1px solid #e8ecf1;border-radius:14px;padding:32px}.login-title{font-size:20px;font-weight:500;margin:0 0 6px}.login-sub{color:#6b7280;font-size:13px;margin:0 0 24px}.hint{color:#9ca3af;font-size:12px;margin-top:12px;line-height:1.7}.map-layout{align-items:start}.map-canvas{width:100%;height:420px;border-radius:8px;border:1px solid #e8ecf1;background:#eef3f8}.map-fallback{min-height:360px;padding:16px;border:1px dashed #cbd5e1;border-radius:8px;background:#fafcff}.map-fallback-title{font-size:14px;font-weight:600;color:#185fa5}:root{--mobile-touch: 44px}.mobile-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:100;height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:flex;background:#fff;border-top:1px solid #e8ecf1;box-shadow:0 -2px 12px #0f172a0f}.mobile-tab{flex:1;border:0;background:transparent;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;color:#6b7280;padding:4px 2px}.mobile-tab.active{color:#185fa5;font-weight:600}.mobile-tab-dot{width:18px;height:18px;border-radius:6px;background:#e8f1fb}.mobile-tab.active .mobile-tab-dot{background:#185fa5}.mobile-card-list{display:block}.mobile-customer-card{margin-bottom:10px;border-radius:10px}.mobile-card-row{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:13px;border-bottom:1px dashed #f0f0f0}.mobile-card-row:last-child{border-bottom:0}.mobile-card-row>span{color:#9ca3af;flex:0 0 88px}.mobile-card-row>b{font-weight:500;text-align:right;word-break:break-all}.app-shell.is-mobile .page{padding:12px}.app-shell.is-mobile .page-title{font-size:16px}.app-shell.is-mobile .page-sub{margin-bottom:12px}.app-shell.is-mobile .filter-bar{padding:12px 12px 0;margin-bottom:12px}.app-shell.is-mobile .toolbar{gap:6px;margin-bottom:12px}.app-shell.is-mobile .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.app-shell.is-mobile .metric{padding:12px}.app-shell.is-mobile .metric-value{font-size:20px}.app-shell.is-mobile .ant-btn,.app-shell.is-mobile .ant-input,.app-shell.is-mobile .ant-input-number,.app-shell.is-mobile .ant-select-selector{min-height:var(--mobile-touch)}.app-shell.is-mobile .ant-select-single .ant-select-selector{display:flex;align-items:center}.app-shell.is-mobile .ant-table{font-size:12px}.app-shell.is-mobile .ant-table-content{overflow-x:auto}.app-shell.is-mobile .ant-modal{max-width:calc(100vw - 16px)}.app-shell.is-mobile .ant-drawer-content-wrapper{max-width:100vw}.app-shell.is-mobile .map-canvas{height:300px}.app-shell.is-mobile .map-layout{grid-template-columns:1fr!important}@media(max-width:768px){.map-layout{grid-template-columns:1fr!important}.filter-bar .ant-col{width:100%!important}}.app-shell.is-mobile .filter-form.is-collapsed{display:none}.mobile-filter-summary{display:flex;gap:8px;align-items:center;padding-bottom:12px}.mobile-filter-summary>*{min-width:0}.mobile-filter-summary>.ant-input-affix-wrapper,.mobile-filter-summary>.ant-input{flex:1 1 0!important;width:auto!important}.mobile-filter-summary>.ant-btn{flex:0 0 auto;white-space:nowrap;padding-inline:10px}.app-shell.is-mobile .filter-bar .ant-col{flex:0 0 50%!important;max-width:50%!important;width:50%!important}.app-shell.is-mobile .filter-bar .ant-row>.ant-col:first-child,.app-shell.is-mobile .filter-bar .ant-row>.ant-col:last-child{flex:0 0 100%!important;max-width:100%!important;width:100%!important}.app-shell.is-mobile .toolbar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}.app-shell.is-mobile .toolbar>*{flex:0 0 auto}.contact-picker-quick{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;margin-top:6px}.contact-picker-label{color:#9ca3af;font-size:12px}.contact-picker-tag{border:1px solid #e8ecf1;border-radius:6px;background:#fff;padding:2px 8px;font-size:12px;cursor:pointer}.contact-picker-tag.ant-tag-checkable-checked{background:#e8f1fb;border-color:#185fa5;color:#185fa5}
