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}[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}:root{font-family:system-ui,sans-serif;color:#172235;background:#f4f7fc}*{box-sizing:border-box}body{margin:0}h1,h2,h3{letter-spacing:-.02em}.app-shell{min-height:100vh;background:#f4f7fc}.sidebar{background:#fff!important;border-right:1px solid #e7ecf4}.logo{padding:26px 24px;font-size:28px;font-weight:900;letter-spacing:-1px;color:var(--crm-primary, #004BBC)}.logo small{display:block;font-size:12px;letter-spacing:1px;color:#64748b}.sidebar .ant-menu{border:0!important}.topbar{height:68px!important;line-height:normal!important;display:flex;align-items:center;justify-content:flex-end;background:#fff!important;border-bottom:1px solid #e9eef6;padding:0 24px!important}.user-box{display:flex;align-items:center;gap:12px}.main-content{padding:24px}.content-inner{max-width:1300px;margin:0 auto}.demo-banner{margin-bottom:18px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.filter-row{display:flex;margin:12px 0 18px}.filter-row .ant-input-affix-wrapper{min-width:260px}.kpi-card,.section-card,.form-card,.customer-card{border:1px solid #e6ecf5;box-shadow:0 6px 18px #0a285a08;border-radius:14px}.section-card,.form-card{margin:18px 0}.form-card{max-width:700px}.progress-row{display:grid;grid-template-columns:170px 1fr;gap:12px;align-items:center;margin:8px 0}.status-grid{max-width:800px}.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-card{cursor:pointer}.customer-top,.customer-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.customer-top strong{font-size:16px}.customer-bottom{margin-top:14px}.muted{color:#667589;margin-top:8px}.phone{font-weight:600;color:var(--crm-primary, #004BBC)}.bottom-nav,.brand-mobile{display:none}.login{min-height:100vh;background:linear-gradient(155deg,var(--crm-primary, #004BBC) 0%,#0d56b2 40%,#eef5ff 40%);display:grid;place-items:center;padding:18px}.login-card{width:min(100%,440px);box-shadow:0 18px 60px #002e7733;border-radius:22px}.brand-mark{font-weight:900;font-size:34px;color:var(--crm-primary, #004BBC);line-height:1.15}.brand-mark small{display:block;font-size:11px;letter-spacing:2px}.centered{display:grid;place-items:center;height:100vh}@media(max-width:900px){.sidebar{display:none!important}.brand-mobile{display:block;font-weight:900;color:var(--crm-primary, #004BBC);font-size:20px}.brand-mobile span{font-weight:600;font-size:12px}.topbar{justify-content:space-between;padding:0 14px!important}.user-box{gap:6px;font-size:12px}.user-box .ant-btn{font-size:11px}.main-content{padding:14px 12px 95px}.customer-grid{grid-template-columns:1fr}.filter-row{width:100%}.filter-row .ant-input-affix-wrapper{min-width:100%}.filter-row .ant-select{width:100%!important}.section-heading .ant-typography{font-size:22px!important}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:25;background:#fff;border-top:1px solid #e5ecf6;padding:8px 4px max(8px,env(safe-area-inset-bottom));justify-content:space-around}.bottom-nav button{border:0;background:none;color:#738296;min-height:50px;display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:20px}.bottom-nav button small{font-size:11px}.bottom-nav button.active{color:var(--crm-primary, #004BBC);font-weight:700}.progress-row{grid-template-columns:120px 1fr}.kpi-card .ant-statistic-title{font-size:12px}.kpi-card .ant-statistic-content{font-size:24px}.ant-drawer-content-wrapper{max-width:100vw}}.user-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.user-controls{display:flex;gap:12px;align-items:center}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.settings-grid label{font-weight:600;font-size:13px}.settings-grid input{margin-top:5px}@media(max-width:620px){.settings-grid{grid-template-columns:1fr}}.ant-card-head-title{white-space:normal!important}.ant-tabs-nav-wrap{max-width:100%}@media(max-width:900px){.bottom-nav{justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.bottom-nav button{flex:0 0 76px}.bottom-nav::-webkit-scrollbar{display:none}.user-controls{width:100%;justify-content:space-between}.user-controls .ant-input{width:min(100%,140px)!important}.ant-list-item{align-items:flex-start!important}}.google-signin{min-height:44px;display:flex;justify-content:center;max-width:100%}.login-card .ant-result{padding:24px 0 0}.login-card .ant-result-subtitle,.user-identity{overflow-wrap:anywhere}.login-card details summary{cursor:pointer;color:var(--crm-primary, #004BBC)}.user-identity{min-width:0}@media(max-width:620px){.user-controls{flex-wrap:wrap;justify-content:flex-start;gap:8px}.login-card .ant-card-body{padding:20px}}.app-name{font-size:18px;line-height:1.5;font-weight:800;letter-spacing:0;overflow-wrap:anywhere}.brand-mark.app-name{font-size:25px;line-height:1.35}.customer-meta{display:grid;gap:4px;margin-top:12px;font-size:13px;color:#526178}.customer-actions .ant-btn{min-height:44px}.customer-actions{max-width:100%}.followup-date{color:var(--crm-primary, #004BBC);font-weight:600}.work-view{width:100%;max-width:520px}.notification-row{height:auto!important;text-align:left;white-space:normal!important;width:100%;padding:10px 4px!important}.notification-row small{color:#64748b;white-space:normal}.catalog-controls{width:100%;justify-content:space-between}.period-filter{max-width:100%;width:100%}.period-filter .ant-segmented{max-width:100%;overflow-x:auto}.filter-row .ant-select{min-width:170px}.ant-drawer-body .ant-descriptions-item-content{overflow-wrap:anywhere}.ant-table-wrapper{max-width:100%}.ant-card-body,.content-inner,.ant-layout{min-width:0}@media(max-width:620px){.topbar{height:auto!important;min-height:78px;gap:8px;padding:10px 12px!important;align-items:center}.brand-mobile.app-name{font-size:13px;line-height:1.45;max-width:140px;flex-shrink:0}.user-box{flex-wrap:wrap;justify-content:flex-end;gap:6px}.user-box>span:not(.ant-badge){max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-box .ant-tag{display:none}.user-box .ant-btn{min-height:36px}.main-content{padding-bottom:100px}.period-filter>.ant-space-item{max-width:100%;width:100%}.period-filter .ant-picker{width:100%}.period-filter .ant-segmented-item-label{padding:0 9px;font-size:11px}.filter-row>.ant-space-item{width:100%;max-width:100%}.filter-row .ant-select{width:100%!important}.customer-top{align-items:flex-start}.customer-top strong{flex:1;min-width:120px}.customer-card .ant-tag{white-space:normal;margin:0}.customer-bottom{align-items:flex-start;flex-direction:column}.customer-actions{width:100%;gap:6px!important}.customer-actions .ant-btn{font-size:12px;padding:4px 9px;min-height:44px}.customer-meta{font-size:12px}.ant-drawer-body{padding:16px!important}.ant-picker-dropdown{max-width:100vw;overflow:auto}.ant-picker-panel-container{max-width:100vw}.catalog-controls>.ant-space-item{max-width:100%}.ant-descriptions-bordered .ant-descriptions-item-label{max-width:120px;font-size:12px}.ant-card .ant-card-body{padding:16px}}@media(max-width:620px){.user-box .ant-tag{display:inline-block;font-size:10px;line-height:16px;margin:0}}.ant-drawer-content{min-width:0;max-width:100vw}.ant-drawer-body .ant-descriptions-view table{table-layout:fixed;width:100%}.ant-drawer-body .ant-descriptions-item-label{width:36%;white-space:normal!important;overflow-wrap:anywhere}.ant-drawer-body .ant-descriptions-item-content{white-space:normal;overflow-wrap:anywhere;word-break:break-word}:root{--byd-primary:var(--crm-primary, #004BBC)}.import-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.import-heading h3{margin-bottom:6px}.import-modes{display:flex;flex-wrap:wrap;gap:8px}.excel-import .ant-statistic-content{color:var(--byd-primary)}.excel-import .ant-table-wrapper{max-width:100%;overflow:hidden}@media(max-width:600px){.excel-import .ant-card-body{padding:16px}.import-heading{align-items:flex-start}.import-modes .ant-radio-button-wrapper{height:auto;white-space:normal;line-height:1.6;padding:8px 12px}.excel-import .ant-steps{max-width:100%}}.customer-card{container-type:inline-size}.customer-card-details.with-notes{display:grid;gap:10px;margin-top:6px}.customer-intake-note{margin-top:10px;padding:10px 12px;background:#fffaf0;border:1px solid #f4d9a7;border-radius:10px;color:#344054}.customer-intake-note>strong{display:block;color:var(--crm-primary, #004BBC);font-size:13px}.customer-intake-note p{margin:4px 0 0;white-space:pre-line;overflow-wrap:anywhere;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:13px}.customer-notes{min-width:0;padding:10px 12px;background:#f5f8fe;border:1px solid #e0e9f7;border-radius:10px}.customer-notes>strong{display:block;color:var(--crm-primary, #004BBC);font-size:13px}.customer-notes ul{list-style:none;padding:0;margin:0}.customer-notes li{padding-top:6px}.customer-notes li+li{margin-top:6px;border-top:1px solid #e0e9f7}.customer-notes time{display:block;font-size:11px;color:#53647b}.customer-notes p{margin:2px 0 0;white-space:pre-line;overflow-wrap:anywhere;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:13px}@container (min-width:460px){.customer-card-details.with-notes{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}}.customer-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:16px}.customer-count{background:#fff;border:1px solid #e0e9f7;border-radius:12px;padding:10px 12px;color:var(--crm-primary, #004BBC);text-align:left;font:inherit;cursor:pointer}.customer-count:hover,.customer-count[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--crm-primary, #004BBC);border-color:var(--crm-primary, #004BBC)}.customer-count:focus-visible{outline:2px solid var(--crm-primary, #004BBC);outline-offset:2px}.customer-count span{display:block;color:#475569;font-size:13px;font-weight:600}.customer-count strong{font-size:clamp(24px,5vw,36px);line-height:1.15}.customer-count.priority{background:#fff6ec;border-color:#f4c18b;color:#9a3412}.customer-count.priority span{color:inherit}.customer-count.overdue{background:#fff3f2;border-color:#fac8c3;color:#a62622}.customer-count.overdue span{color:inherit}.customer-counts small{grid-column:1/-1;color:#53647b}@media(max-width:620px){.customer-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}.company-logo{display:inline-block;max-width:60px;max-height:44px;object-fit:contain;margin-right:8px;vertical-align:middle}.settings-mobile-nav{display:none}.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start}.settings-desktop-nav,.settings-content{min-width:0}.settings-content>.ant-card{margin-bottom:16px}@media(max-width:600px){.settings-mobile-nav{display:block;margin:16px 0}.settings-desktop-nav{display:none}.settings-layout{grid-template-columns:minmax(0,1fr)}}
