:root{color:#172026;background:#f4f7f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}.welcome-page{min-height:100vh;display:grid;grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);align-items:center;gap:40px;padding:48px clamp(24px,6vw,96px);background:radial-gradient(circle at 8% 15%,rgba(8,127,140,.18),transparent 28%),linear-gradient(135deg,#f9fbfb,#e8f3f2 54%,#fff1ec);overflow:hidden}.welcome-copy{position:relative;z-index:2;max-width:620px}.welcome-badge{display:inline-flex;align-items:center;gap:8px;color:#075c66;background:#ffffffc7;border:1px solid rgba(8,127,140,.18);padding:8px 12px;border-radius:999px;font-weight:700;margin-bottom:22px}.welcome-title.ant-typography{margin:0;max-width:720px;color:#10242b;font-size:clamp(38px,5.2vw,72px);line-height:1.02;letter-spacing:0}.welcome-description.ant-typography{margin:24px 0 32px;color:#4d6268;font-size:18px;line-height:1.7;max-width:590px}.login-button.ant-btn{height:52px;display:inline-flex;align-items:center;gap:10px;padding:0 22px;font-weight:700;box-shadow:0 14px 30px #087f8c40}.command-page{min-height:100vh;display:grid;place-items:center;position:relative;padding:42px clamp(18px,5vw,80px);background:url(/assets/hrm-welcome-dqRno65k.png) center / auto 100vh no-repeat;background-color:#087fcd;background-attachment:fixed,fixed}.command-topbar{position:absolute;top:24px;right:clamp(18px,5vw,80px);z-index:3}.command-login-button.ant-btn{height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;border:1px solid rgba(255,255,255,.5);color:#fff;background:#0f253080;box-shadow:0 12px 30px #07202938;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.command-login-button.ant-btn:hover{border-color:#fff!important;color:#fff!important;background:#087f8cb8!important}.command-user-menu{display:flex;align-items:center;gap:12px;color:#fff;font-weight:700}.command-panel{width:min(1120px,100%)}.command-heading{max-width:680px;margin-bottom:28px}.command-title.ant-typography{margin:0;color:#fff;font-size:44px;line-height:1.08;letter-spacing:0}.command-description.ant-typography{margin:14px 0 0;color:#ffffffdb;font-size:17px;line-height:1.65}.command-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.command-button.ant-btn{--command-bg: linear-gradient(135deg, rgba(8, 127, 140, .94), rgba(15, 37, 48, .72)), radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .32), transparent 28%), linear-gradient(45deg, #087f8c, #0f2530);height:132px;width:100%;padding:20px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:flex-start;gap:16px;text-align:left;border:1px solid rgba(255,255,255,.42);border-radius:8px;background-color:#0f2530;background-image:var(--command-bg)!important;background-size:cover;background-position:center;box-shadow:0 14px 34px #07202933;transform:scale(1);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.command-button.ant-btn:hover{border-color:#ffffffc7;background-color:#0f2530!important;background-image:linear-gradient(135deg,#ffffff14,#fff0),var(--command-bg)!important;color:#fff;transform:scale(1.035);box-shadow:0 22px 46px #0720294d;z-index:2}.command-button-primary.ant-btn{border-color:#ffffff94;color:#fff;box-shadow:0 18px 42px #087f8c57}.command-button-primary.ant-btn:hover{border-color:#ffffffd9!important;color:#fff!important}.command-button-disabled.ant-btn,.command-button-disabled.ant-btn:disabled{opacity:.38;filter:grayscale(.45);cursor:not-allowed}.command-button-disabled.ant-btn:hover,.command-button-disabled.ant-btn:disabled:hover{transform:scale(1);box-shadow:0 14px 34px #07202933;border-color:#ffffff6b}.command-button-1.ant-btn{--command-bg: linear-gradient(135deg, rgba(8, 127, 140, .94), rgba(15, 37, 48, .72)), radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .32), transparent 28%), linear-gradient(45deg, #087f8c, #0f2530)}.command-button-2.ant-btn{--command-bg: linear-gradient(135deg, rgba(23, 67, 102, .88), rgba(15, 37, 48, .7)), radial-gradient(circle at 78% 24%, rgba(99, 179, 237, .44), transparent 30%), linear-gradient(45deg, #174366, #28666e)}.command-button-3.ant-btn{--command-bg: linear-gradient(135deg, rgba(54, 86, 71, .9), rgba(15, 37, 48, .68)), radial-gradient(circle at 72% 28%, rgba(135, 214, 164, .42), transparent 32%), linear-gradient(45deg, #365647, #087f8c)}.command-button-4.ant-btn{--command-bg: linear-gradient(135deg, rgba(95, 69, 38, .9), rgba(15, 37, 48, .7)), radial-gradient(circle at 76% 20%, rgba(255, 187, 96, .4), transparent 30%), linear-gradient(45deg, #5f4526, #9a6a31)}.command-button-5.ant-btn{--command-bg: linear-gradient(135deg, rgba(74, 66, 113, .9), rgba(15, 37, 48, .7)), radial-gradient(circle at 78% 26%, rgba(183, 161, 255, .4), transparent 32%), linear-gradient(45deg, #4a4271, #35688c)}.command-button-6.ant-btn{--command-bg: linear-gradient(135deg, rgba(123, 58, 64, .9), rgba(15, 37, 48, .7)), radial-gradient(circle at 76% 22%, rgba(255, 149, 149, .36), transparent 30%), linear-gradient(45deg, #7b3a40, #8b6a35)}.command-button-7.ant-btn{--command-bg: linear-gradient(135deg, rgba(47, 87, 94, .92), rgba(15, 37, 48, .7)), radial-gradient(circle at 78% 22%, rgba(132, 225, 206, .36), transparent 30%), linear-gradient(45deg, #2f575e, #41766d)}.command-button-8.ant-btn{--command-bg: linear-gradient(135deg, rgba(42, 84, 54, .92), rgba(15, 37, 48, .7)), radial-gradient(circle at 78% 22%, rgba(177, 225, 118, .34), transparent 30%), linear-gradient(45deg, #2a5436, #697f32)}.command-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#ffffff2e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.command-button-primary .command-icon{color:#fff;background:#ffffff2e}.command-text{min-width:0;display:grid;gap:6px}.command-label{color:#fff;font-size:17px;font-weight:800;line-height:1.2;white-space:normal}.command-subtext{color:#ffffffc7;font-size:13px;line-height:1.45;white-space:normal}.command-button-primary .command-label,.command-button-primary .command-subtext{color:#fff}.welcome-visual{position:relative;min-height:500px}.welcome-visual img{width:min(760px,56vw);max-width:100%;border-radius:24px;display:block;margin-left:auto;box-shadow:0 30px 90px #0f31393d}.app-shell{min-height:100vh}.app-sidebar{background:#1263a0!important;color:#fff;padding:20px 12px;position:sticky!important;top:0;height:100vh;align-self:flex-start;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.42) transparent}.brand-block{display:flex;align-items:center;gap:12px;padding:6px 8px 24px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#fff;color:#1263a0}.brand-name.ant-typography,.brand-subtitle.ant-typography{display:block;color:#fff}.brand-name.ant-typography{font-size:17px;font-weight:800}.brand-subtitle.ant-typography{color:#a9c3c8;font-size:12px}.sidebar-menu.ant-menu{background:transparent;color:#c5d7da;border-inline-end:0}.sidebar-menu .ant-menu-item,.sidebar-menu .ant-menu-submenu-title{color:#c5d7da;display:flex;align-items:center;gap:10px}.sidebar-menu .ant-menu-submenu-arrow{color:#c5d7da}.sidebar-menu .ant-menu-item:hover,.sidebar-menu .ant-menu-submenu-title:hover{color:#49c5d4!important;background:#49c5d41f!important}.sidebar-menu .ant-menu-submenu-title:hover .ant-menu-submenu-arrow{color:#49c5d4}.sidebar-menu .ant-menu-item-selected{color:#fff;background:#ffffff24}.sidebar-menu .ant-menu-submenu-selected>.ant-menu-submenu-title,.sidebar-menu .ant-menu-submenu-selected>.ant-menu-submenu-title .ant-menu-title-content,.sidebar-menu .ant-menu-submenu-selected>.ant-menu-submenu-title .ant-menu-item-icon,.sidebar-menu .ant-menu-submenu-selected>.ant-menu-submenu-title .ant-menu-submenu-arrow{color:#fff!important;opacity:1}.sidebar-menu .ant-menu-submenu-selected>.ant-menu-submenu-title svg{color:#fff!important;stroke:currentColor}.app-header{height:78px;padding:16px 28px;background:#fff;border-bottom:1px solid #e5ecee;display:flex;align-items:center}.crm-topbar.app-header{height:auto;min-height:66px;padding:8px 22px;justify-content:space-between;gap:20px;background:linear-gradient(115deg,#fffffffa,#e8f7f5e6),#fff;box-shadow:0 8px 26px #153a4414}.crm-topbar-copy{min-width:0;display:grid;gap:2px}.crm-topbar-brand{min-width:0;display:flex;align-items:center;gap:14px}.crm-topbar-logo{width:48px;height:48px;flex:0 0 48px;display:block;object-fit:contain;border-radius:8px;background:#fff;box-shadow:0 10px 24px #122d351f}.crm-topbar .header-title.ant-typography{margin:0;color:#10343b}.crm-topbar .page-kicker.ant-typography{line-height:1.2}.crm-topbar-actions{flex:0 0 auto;display:flex;align-items:center;gap:10px}.crm-topbar-actions .ant-btn{height:36px;display:inline-flex;align-items:center;gap:4px;border-radius:8px;border-color:#d0e0df;color:#184651;background:#ffffffe6;box-shadow:0 8px 20px #122d3514;font-weight:700}.crm-topbar-actions .ant-btn:hover{border-color:#17808b!important;color:#075c66!important;background:#fff!important}.crm-topbar-actions .crm-logout-button.ant-btn{border-color:#be424638;color:#9b2f36;background:#fff5f4}.crm-topbar-actions .crm-logout-button.ant-btn:hover{border-color:#c0454d!important;color:#8e202a!important;background:#ffeae7!important}.page-kicker.ant-typography{color:#697d83;font-size:13px}.header-title.ant-typography{margin:2px 0 0}.app-content{padding:28px;background:#f4f7f8}.crm-shell .app-content{padding-top:12px;padding-left:12px}.page-stack{display:grid;gap:18px}.page-heading h2.ant-typography{margin:0 0 4px}.metric-card,.content-card,.crud-card{border:1px solid #e4ebed;box-shadow:0 8px 26px #122d350f}.content-card .ant-table-wrapper{max-width:100%}.content-card .ant-table-content{overflow-x:auto}.ledger-verification-table .ant-table-thead>tr>th{background:#fff600!important;color:#000!important;font-weight:700;text-align:center}.ledger-verification-table .ant-table-cell{border-color:#111!important}.crm-metric-row{align-items:stretch}.crm-metric-card.ant-card{min-height:142px;position:relative;overflow:hidden;border:0;border-radius:8px;color:#10242b;box-shadow:0 18px 38px #14333e1f}.crm-metric-card.ant-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,#ffffffc7,#ffffff47),radial-gradient(circle at 88% 10%,rgba(255,255,255,.58),transparent 30%);pointer-events:none}.crm-metric-card.ant-card:after{content:"";position:absolute;width:112px;height:112px;right:-34px;bottom:-38px;border-radius:50%;background:#ffffff52;pointer-events:none}.crm-metric-card .ant-card-body{position:relative;z-index:1;display:grid;min-height:142px;padding:18px 20px}.crm-metric-content{display:grid;grid-template-columns:52px minmax(0,1fr) 30px;align-items:start;gap:12px}.crm-metric-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#ffffff38;box-shadow:inset 0 0 0 1px #ffffff3d}.crm-metric-copy{min-width:0;display:grid;gap:4px}.crm-metric-title{color:#fffffff0;font-size:14px;font-weight:800;line-height:1.3}.crm-metric-subtitle{color:#ffffffbd;font-size:12px;line-height:1.35}.crm-metric-badge{width:30px;height:30px;display:grid;place-items:center;border-radius:999px;color:#fff;background:#ffffff2e}.crm-metric-value{align-self:end;display:flex;align-items:baseline;gap:8px;color:#fff}.crm-metric-value span{font-size:38px;font-weight:900;line-height:.95}.crm-metric-value small{color:#ffffffb8;font-size:13px;font-weight:700}.crm-metric-birthday.ant-card{background:linear-gradient(135deg,#b64c72,#d9824a)}.crm-metric-urgent.ant-card{background:linear-gradient(135deg,#a13b3f,#d35a40)}.crm-metric-contract.ant-card{background:linear-gradient(135deg,#216a73,#2f8f7a)}.crm-metric-meeting.ant-card{background:linear-gradient(135deg,#315b86,#5b73b7)}.crud-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.crud-toolbar h3.ant-typography{margin:0 0 4px}.crud-title-block{display:grid;gap:5px}.crud-title-with-icon{display:flex;align-items:center;gap:11px}.crud-title-with-icon h3.ant-typography{margin:0;color:#125f92;font-size:27px;font-weight:850;letter-spacing:-.35px}.crud-title-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:10px;color:#fff;background:linear-gradient(145deg,#1263a0,#218bc2);box-shadow:0 7px 16px #1263a033}.crud-filters{margin-bottom:16px}.crud-actions{display:flex;gap:8px;justify-content:flex-end}.crud-data-table .ant-table-thead>tr>th{background:#cfeaff!important;color:#174c75!important;font-weight:700;border-bottom-color:#a9d5f3!important}.crud-card,.crud-card>.ant-card-body,.crud-data-table,.crud-data-table .ant-spin-nested-loading,.crud-data-table .ant-spin-container,.crud-data-table .ant-table,.crud-data-table .ant-table-container,.crud-data-table .ant-table-content,.crud-data-table table{width:100%;max-width:none}.crud-data-table .ant-table-tbody>tr:nth-child(odd)>td{background:#eef8ff}.crud-data-table .ant-table-tbody>tr:nth-child(2n)>td{background:#fff}.crud-data-table .ant-table-tbody>tr.crud-clickable-row:hover>td{background:#dcefff!important}.crud-data-table .crud-action-column{display:none}.crud-clickable-row{cursor:pointer}.dynamic-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}.dynamic-form .full-row{grid-column:1 / -1}.dynamic-form-section-title{grid-column:1 / -1;margin:4px 0 10px;padding:10px 14px;border:1px solid #c8dff0;border-radius:6px;color:#145486;background:linear-gradient(90deg,#e8f4fd,#f7fbfe);font-size:14px;font-weight:800}.crm-customer-form-modal .ant-modal-body{max-height:calc(100vh - 105px);overflow-y:auto;padding-right:6px}.crm-customer-form-modal .dynamic-form{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px 20px}.crm-customer-form-modal .dynamic-field{grid-column:span 3}.crm-customer-form-modal .dynamic-form .full-row,.crm-customer-form-modal .dynamic-form-section-title{grid-column:1 / -1}.crm-customer-form-modal .dynamic-form .ant-form-item{margin-bottom:14px}.crm-customer-form-modal .dynamic-form-section-title:first-child{margin-top:0;color:#fff;background:linear-gradient(110deg,#1263a0,#197db9);border-color:#1263a0;font-size:16px}.crm-customer-form-modal .dynamic-field-logoUrl{grid-column:1 / 3;grid-row:span 5;align-self:stretch;padding:16px;border:1px solid #d8e5ee;border-radius:8px;background:#f8fbfd}.crm-customer-form-modal .dynamic-field-logoUrl .ant-space{align-items:center}.crm-customer-form-modal .dynamic-field-logoUrl .ant-form-item-label{display:none}.dynamic-image-placeholder{width:160px;height:160px;display:grid;place-items:center;border:1px dashed #9fc2db;border-radius:8px;background:#fff;overflow:hidden}.dynamic-image-placeholder img{width:100%;height:100%;display:block;object-fit:contain}.crm-customer-form-modal .dynamic-field-logoUrl .ant-upload .ant-btn{min-width:112px;font-size:0}.crm-customer-form-modal .dynamic-field-logoUrl .ant-upload .ant-btn:after{content:"Chọn ảnh";font-size:14px}.crm-customer-form-modal .dynamic-field-logoUrl .ant-input{display:none}.crm-customer-form-modal .dynamic-field-name,.crm-customer-form-modal .dynamic-field-representativeName,.crm-customer-form-modal .dynamic-field-phone,.crm-customer-form-modal .dynamic-field-email,.crm-customer-form-modal .dynamic-field-website{grid-column:3 / 7;display:block}.crm-customer-form-modal .dynamic-field-ward,.crm-customer-form-modal .dynamic-field-district,.crm-customer-form-modal .dynamic-field-city{grid-column:span 2}.crm-customer-form-modal .dynamic-field-note textarea.ant-input{height:32px!important;min-height:32px!important;resize:none}.crm-customer-form-modal .dynamic-field-name .ant-form-item-row,.crm-customer-form-modal .dynamic-field-representativeName .ant-form-item-row,.crm-customer-form-modal .dynamic-field-phone .ant-form-item-row,.crm-customer-form-modal .dynamic-field-email .ant-form-item-row,.crm-customer-form-modal .dynamic-field-website .ant-form-item-row{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;column-gap:10px}.crm-customer-form-modal .dynamic-field-name .ant-form-item-label,.crm-customer-form-modal .dynamic-field-representativeName .ant-form-item-label,.crm-customer-form-modal .dynamic-field-phone .ant-form-item-label,.crm-customer-form-modal .dynamic-field-email .ant-form-item-label,.crm-customer-form-modal .dynamic-field-website .ant-form-item-label{padding:0;text-align:left;white-space:nowrap}.crm-customer-form-modal .dynamic-field-name .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-representativeName .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-phone .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-email .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-website .ant-form-item-label>label{width:100%;justify-content:flex-start}.crm-customer-form-modal .dynamic-field-name .ant-form-item-control,.crm-customer-form-modal .dynamic-field-representativeName .ant-form-item-control,.crm-customer-form-modal .dynamic-field-phone .ant-form-item-control,.crm-customer-form-modal .dynamic-field-email .ant-form-item-control,.crm-customer-form-modal .dynamic-field-website .ant-form-item-control{min-width:0;max-width:none;width:100%}.crm-customer-form-modal .dynamic-field-name .ant-form-item-control-input-content,.crm-customer-form-modal .dynamic-field-representativeName .ant-form-item-control-input-content,.crm-customer-form-modal .dynamic-field-phone .ant-form-item-control-input-content,.crm-customer-form-modal .dynamic-field-email .ant-form-item-control-input-content,.crm-customer-form-modal .dynamic-field-website .ant-form-item-control-input-content,.crm-customer-form-modal .dynamic-field-name .ant-input,.crm-customer-form-modal .dynamic-field-representativeName .ant-input,.crm-customer-form-modal .dynamic-field-phone .ant-input,.crm-customer-form-modal .dynamic-field-email .ant-input,.crm-customer-form-modal .dynamic-field-website .ant-input{width:100%}.crm-customer-form-modal .dynamic-field-customerTypeId,.crm-customer-form-modal .dynamic-field-customerCategoryId,.crm-customer-form-modal .dynamic-field-businessIndustryId,.crm-customer-form-modal .dynamic-field-isInPort,.crm-customer-form-modal .dynamic-field-careEmployeeId,.crm-customer-form-modal .dynamic-field-status{display:block;min-width:0}.crm-customer-form-modal .dynamic-field-customerTypeId .ant-form-item-row,.crm-customer-form-modal .dynamic-field-customerCategoryId .ant-form-item-row,.crm-customer-form-modal .dynamic-field-businessIndustryId .ant-form-item-row,.crm-customer-form-modal .dynamic-field-isInPort .ant-form-item-row,.crm-customer-form-modal .dynamic-field-careEmployeeId .ant-form-item-row,.crm-customer-form-modal .dynamic-field-status .ant-form-item-row{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;column-gap:10px}.crm-customer-form-modal .dynamic-field-customerTypeId .ant-form-item-label,.crm-customer-form-modal .dynamic-field-customerCategoryId .ant-form-item-label,.crm-customer-form-modal .dynamic-field-businessIndustryId .ant-form-item-label,.crm-customer-form-modal .dynamic-field-isInPort .ant-form-item-label,.crm-customer-form-modal .dynamic-field-careEmployeeId .ant-form-item-label,.crm-customer-form-modal .dynamic-field-status .ant-form-item-label{padding:0;text-align:left;white-space:nowrap}.crm-customer-form-modal .dynamic-field-customerTypeId .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-customerCategoryId .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-businessIndustryId .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-isInPort .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-careEmployeeId .ant-form-item-label>label,.crm-customer-form-modal .dynamic-field-status .ant-form-item-label>label{width:100%;justify-content:flex-start}.crm-customer-form-modal .dynamic-field-customerTypeId .ant-form-item-control,.crm-customer-form-modal .dynamic-field-customerCategoryId .ant-form-item-control,.crm-customer-form-modal .dynamic-field-businessIndustryId .ant-form-item-control,.crm-customer-form-modal .dynamic-field-isInPort .ant-form-item-control,.crm-customer-form-modal .dynamic-field-careEmployeeId .ant-form-item-control,.crm-customer-form-modal .dynamic-field-status .ant-form-item-control{min-width:0;max-width:none;width:100%}.crm-customer-form-modal .dynamic-field-customerTypeId .ant-select,.crm-customer-form-modal .dynamic-field-customerCategoryId .ant-select,.crm-customer-form-modal .dynamic-field-businessIndustryId .ant-select,.crm-customer-form-modal .dynamic-field-careEmployeeId .ant-input,.crm-customer-form-modal .dynamic-field-status .ant-select{width:100%}.crm-customer-form-modal .dynamic-field-logoUrl .ant-image,.crm-customer-form-modal .dynamic-field-logoUrl .ant-image-img{width:160px!important;height:160px!important;object-fit:contain}.crm-customer-profile-tabs-form>.dynamic-form{grid-template-columns:repeat(6,minmax(0,1fr));gap:0 14px}.crm-customer-profile-tabs-form>.ant-tabs{margin-top:3px}.crm-customer-profile-tabs-form .ant-tabs-nav{margin:0 0 6px}.crm-customer-profile-tabs-form .ant-tabs-nav-wrap{flex:none;width:auto}.crm-customer-profile-tabs-form .ant-tabs-nav-list{width:max-content;gap:3px}.crm-customer-profile-tabs-form .ant-tabs-tab{margin:0!important;padding:4px 1px 8px}.crm-customer-profile-tabs-form .ant-tabs-content-holder{height:385px;overflow-y:auto}.crm-customer-tab{display:inline-flex;padding:7px 14px;border-radius:6px;font-weight:700}.crm-customer-tab-information{color:#087f9b;background:#e7f8fb}.crm-customer-tab-contacts{color:#7352b5;background:#f2edff}.crm-customer-tab-events{color:#b86104;background:#fff0df}.crm-customer-tab-care{color:#237b35;background:#eaf8ec}.crm-customer-tab-contracts{color:#1263a0;background:#e8f3fb}.crm-customer-profile-tabs-form .ant-tabs-tab-active .crm-customer-tab-information{color:#fff;background:#0891a8}.crm-customer-profile-tabs-form .ant-tabs-tab-active .crm-customer-tab-contacts{color:#fff;background:#7656ba}.crm-customer-profile-tabs-form .ant-tabs-tab-active .crm-customer-tab-events{color:#fff;background:#e9780b}.crm-customer-profile-tabs-form .ant-tabs-tab-active .crm-customer-tab-care{color:#fff;background:#3a9b49}.crm-customer-profile-tabs-form .ant-tabs-tab-active .crm-customer-tab-contracts{color:#fff;background:#1263a0}.crm-customer-profile-tabs-form .ant-tabs-tabpane>.dynamic-form{grid-template-columns:repeat(6,minmax(0,1fr));gap:0 14px}.crm-customer-profile-tabs-form .dynamic-form .ant-form-item{margin-bottom:8px}.crm-customer-profile-tabs-form .dynamic-form-section-title{margin:2px 0 6px;padding:8px 12px}.crm-customer-profile-tabs-form .dynamic-field-logoUrl{padding:10px}.crm-customer-profile-tabs-form .ant-tabs-tabpane>.dynamic-form .dynamic-form-section-title:first-child{color:#145486;background:linear-gradient(90deg,#e8f4fd,#f7fbfe);border-color:#c8dff0;font-size:14px}.crm-customer-profile-tabs-form .crm-detail-crud .crm-customer-section-title{margin-bottom:8px;padding:8px 12px;border:1px solid #d5e4ef;border-radius:6px;background:#f6fbff}.crm-detail-crud-toolbar{display:flex;justify-content:flex-end;margin-bottom:8px}.crm-detail-clickable-row{cursor:pointer}.crm-detail-clickable-row:hover>td{background:#e3f3fc!important}.crm-related-record-modal .ant-modal-content{border:1px solid #d4e4ef;border-radius:10px;overflow:hidden}.crm-related-record-modal .ant-modal-header{margin:-20px -24px 18px;padding:14px 24px;background:linear-gradient(110deg,#e8f4fd,#f8fcff);border-bottom:1px solid #d4e4ef}.crm-related-record-modal .ant-modal-title{color:#145486;font-size:17px;font-weight:800}.crm-related-record-modal .dynamic-form{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:14px 16px 4px;border:1px solid #dce8f0;border-radius:8px;background:#f9fcfe}.crm-related-record-modal .dynamic-field,.crm-related-record-modal .dynamic-form .full-row{grid-column:1}.crm-related-record-modal .dynamic-form .ant-form-item{margin-bottom:10px}.crm-related-record-modal .dynamic-form .ant-form-item-row{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;column-gap:14px}.crm-related-record-modal .dynamic-form .ant-form-item-label{padding:0;text-align:left;white-space:normal}.crm-related-record-modal .dynamic-form .ant-form-item-label>label{width:100%;height:auto;justify-content:flex-start;color:#34495a;font-weight:600}.crm-related-record-modal .dynamic-form .ant-form-item-control,.crm-related-record-modal .dynamic-form .ant-input,.crm-related-record-modal .dynamic-form .ant-input-number,.crm-related-record-modal .dynamic-form .ant-picker,.crm-related-record-modal .dynamic-form .ant-select{width:100%;min-width:0}.crm-related-record-modal .dynamic-form textarea.ant-input{min-height:64px;resize:vertical}.crm-related-record-modal .crud-modal-footer{margin-top:14px;padding-top:12px;border-top:1px solid #e4edf3}@media(max-width:640px){.crm-related-record-modal .dynamic-form .ant-form-item-row{grid-template-columns:1fr;row-gap:5px}}.crm-customer-profile-tabs-form .crm-detail-crud .ant-table-thead>tr>th{color:#145486;background:#dceffc}.crm-customer-profile-tabs-form .crm-detail-crud .ant-table-tbody>tr:nth-child(odd)>td{background:#f0f8fe}.crm-customer-profile-tabs-form>.crud-modal-footer{margin-top:6px}.crm-customer-tab-hint{margin-top:-24px;color:#7a8793;font-size:12px}.dynamic-checkbox-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;width:100%}.crm-contact-form-modal .ant-modal-body{max-height:calc(100vh - 150px);overflow-y:auto}.crm-contact-profile-heading{display:flex;align-items:center;gap:10px;margin:-8px -24px 0;padding:14px 24px;color:#fff;background:linear-gradient(110deg,#1263a0,#197db9);font-size:17px;font-weight:800}.crm-contact-profile-form .ant-tabs-nav{margin:0 0 12px}.crm-contact-profile-form .ant-tabs-tab{padding:12px 2px 9px;margin:0!important}.crm-contact-profile-form .ant-tabs-nav-list{width:max-content;justify-content:flex-start;gap:2px}.crm-contact-profile-form .ant-tabs-nav-wrap{flex:none;width:auto}.crm-contact-profile-form .ant-tabs-nav-operations{display:none}.crm-contact-profile-form .ant-tabs-content-holder{height:405px;overflow-y:auto}.crm-contact-tab{display:inline-flex;align-items:center;padding:5px 12px;border-radius:6px;font-weight:700}.crm-contact-tab-info{color:#087f9b;background:#e7f8fb}.crm-contact-tab-family{color:#7352b5;background:#f2edff}.crm-contact-tab-hobby{color:#b56b05;background:#fff4df}.crm-contact-profile-form .ant-tabs-tab-active .crm-contact-tab-info{color:#fff;background:#0891a8}.crm-contact-profile-form .ant-tabs-tab-active .crm-contact-tab-family{color:#fff;background:#7656ba}.crm-contact-profile-form .ant-tabs-tab-active .crm-contact-tab-hobby{color:#fff;background:#d88916}.crm-contact-profile-form>.crud-modal-footer{justify-content:space-between}.crm-contact-section-title,.crm-related-toolbar{margin-bottom:10px;padding:9px 14px;border:1px solid #c8dff0;border-radius:6px;color:#145486;background:linear-gradient(90deg,#e8f4fd,#f7fbfe);font-size:14px;font-weight:800}.crm-contact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px}.crm-contact-profile-form .ant-form-item{margin-bottom:10px}.crm-contact-profile-form .ant-form-item-row{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center}.crm-contact-profile-form .ant-form-item-label{padding:0;text-align:left}.crm-contact-profile-form .ant-form-item-label>label{width:100%;justify-content:flex-start}.crm-contact-profile-form .ant-select,.crm-contact-profile-form .ant-picker{width:100%}.crm-contact-note .ant-form-item-row{grid-template-columns:100px minmax(0,1fr)}.crm-contact-tab-hint{margin-top:-6px;color:#7a8793;font-size:12px}.crm-related-toolbar{display:flex;align-items:center;justify-content:space-between}.crm-contact-related-panel .ant-table-thead>tr>th{color:#145486;background:#d9edfb}.crm-contact-related-panel .ant-table-tbody>tr:nth-child(odd)>td{background:#eef8fe}.crm-contact-related-panel .ant-table-row{cursor:pointer}.crm-family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.crm-family-grid .full-row{grid-column:1 / -1}.crm-hobby-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-height:220px;border:1px solid #d4e4ef;border-radius:7px;overflow:hidden}.crm-hobby-columns>div{padding:18px}.crm-hobby-columns>div+div{border-left:1px solid #d4e4ef}.crm-hobby-columns h4{margin:0 0 16px;color:#145486}.crm-hobby-tags{display:flex;flex-wrap:wrap;gap:10px}.crm-hobby-tags .ant-tag{margin:0;padding:6px 13px;border-color:#1597b5;border-radius:6px;color:#087f9b;background:#fff;cursor:pointer}.crm-add-hobby{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:18px;padding:14px;border:1px solid #d4e4ef;border-radius:7px}@media(max-width:800px){.crm-contact-form-grid,.crm-hobby-columns,.crm-family-grid{grid-template-columns:1fr}.crm-hobby-columns>div+div{border-top:1px solid #d4e4ef;border-left:0}}.dynamic-service-details{display:grid;gap:10px;width:100%}.dynamic-service-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(180px,1fr) minmax(140px,.8fr);gap:10px;align-items:center}.dynamic-service-row>.ant-checkbox-wrapper{min-width:0}.dynamic-service-row>.ant-checkbox-wrapper span:last-child{overflow-wrap:anywhere}.dynamic-service-total{display:flex;justify-content:flex-end;gap:10px;padding-top:4px;color:#cf1322}.dynamic-service-total .ant-typography{color:#cf1322}.crm-contract-detail{display:grid;gap:16px}.crud-modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.crm-customer-detail{display:grid;gap:18px}.crm-customer-detail-loading{min-height:260px;display:grid;place-items:center}.crm-customer-detail-section{min-height:230px;padding:22px;border:1px solid #cfdadd;border-radius:28px;background:linear-gradient(180deg,#fffffffa,#f8fbfbfa),#fff;box-shadow:0 14px 30px #122d3514}.crm-customer-detail-hero{min-height:250px}.crm-customer-section-title{display:flex;justify-content:center;align-items:center;position:relative;margin:-8px 0 18px}.crm-customer-section-title h5.ant-typography{margin:0;padding:7px 18px;border-radius:999px;color:#10343b;background:#eef7f6;border:1px solid #cfe5e2;font-weight:800}.crm-customer-section-action{position:absolute;right:0;display:inline-flex;align-items:center}.crm-detail-crud .crm-customer-section-title{justify-content:space-between}.crm-detail-crud .crm-customer-section-action{position:static}.crm-customer-detail-main{display:grid;grid-template-columns:132px minmax(0,1fr);gap:28px;align-items:start}.crm-customer-logo-box{width:124px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border:1px solid #9aa9ad;border-radius:4px;color:#365157;background:#fff;font-weight:700}.crm-customer-logo-box img{width:100%;height:100%;object-fit:contain}.crm-customer-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.crm-customer-info-item{min-width:0;display:grid;grid-template-columns:132px minmax(0,1fr);gap:8px;align-items:start;color:#52676d}.crm-customer-info-item-wide{grid-column:1 / -1}.crm-customer-info-item span{font-weight:700;color:#183f48}.crm-customer-info-item strong{min-width:0;color:#172026;font-weight:600;overflow-wrap:anywhere}.crm-customer-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.crm-customer-list{display:grid;gap:10px}.crm-customer-list-row{display:grid;gap:4px;padding:10px 12px;border:1px solid #e1e9eb;border-radius:8px;background:#fff}.crm-customer-list-row strong{display:flex;align-items:center;gap:8px;color:#173b43}.crm-customer-list-row span{color:#60747a;overflow-wrap:anywhere}.crm-reminder-title{display:inline-flex;align-items:center;gap:8px}@media(max-width:900px){.welcome-page{grid-template-columns:1fr;padding:32px 20px}.welcome-visual{min-height:auto}.welcome-visual img{width:100%}.command-page{align-items:start;padding:76px 18px 28px}.command-topbar{top:18px;right:18px}.command-title.ant-typography{font-size:34px}.command-grid{grid-template-columns:1fr}.command-button.ant-btn{height:auto;min-height:108px}.app-sidebar{display:none}.app-content{padding:18px}.crm-topbar.app-header{min-height:0;align-items:flex-start;flex-direction:column;padding:16px 18px}.crm-topbar-actions{width:100%;flex-wrap:wrap}.crm-topbar-brand{align-items:flex-start}.crm-topbar-logo{width:52px;height:52px;flex-basis:52px}.crm-topbar-actions .ant-btn{min-width:0;max-width:100%;white-space:normal}.dynamic-form{grid-template-columns:1fr}.crm-customer-form-modal .dynamic-field,.crm-customer-form-modal .dynamic-field-ward,.crm-customer-form-modal .dynamic-field-district,.crm-customer-form-modal .dynamic-field-city{grid-column:1}.crm-customer-form-modal .dynamic-field-logoUrl,.crm-customer-form-modal .dynamic-field-name,.crm-customer-form-modal .dynamic-field-representativeName,.crm-customer-form-modal .dynamic-field-phone,.crm-customer-form-modal .dynamic-field-email,.crm-customer-form-modal .dynamic-field-website{grid-column:1;grid-row:auto}.crm-customer-form-modal .dynamic-field-name .ant-form-item-row,.crm-customer-form-modal .dynamic-field-representativeName .ant-form-item-row,.crm-customer-form-modal .dynamic-field-phone .ant-form-item-row,.crm-customer-form-modal .dynamic-field-email .ant-form-item-row,.crm-customer-form-modal .dynamic-field-website .ant-form-item-row,.crm-customer-form-modal .dynamic-field-customerTypeId .ant-form-item-row,.crm-customer-form-modal .dynamic-field-customerCategoryId .ant-form-item-row,.crm-customer-form-modal .dynamic-field-businessIndustryId .ant-form-item-row,.crm-customer-form-modal .dynamic-field-isInPort .ant-form-item-row,.crm-customer-form-modal .dynamic-field-careEmployeeId .ant-form-item-row,.crm-customer-form-modal .dynamic-field-status .ant-form-item-row,.dynamic-checkbox-group,.dynamic-service-row{grid-template-columns:1fr}.dynamic-service-total{justify-content:flex-start;flex-wrap:wrap}.crm-customer-detail-main,.crm-customer-detail-grid,.crm-customer-info-grid,.crm-customer-info-item{grid-template-columns:1fr}}.crm-shell{--crm-panel-shadow: 0 4px 7px rgba(30, 100, 170, .12), 0 10px 22px rgba(30, 100, 170, .09);background:#eaf7ff}.crm-shell .crm-sidebar{background:#07317a url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='264'%20height='1000'%20viewBox='0%200%20264%201000'%20preserveAspectRatio='none'%3e%3cdefs%3e%3clinearGradient%20id='base'%20x1='0'%20y1='0'%20x2='0.3'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%230068d4'/%3e%3cstop%20offset='0.52'%20stop-color='%23034bb5'/%3e%3cstop%20offset='1'%20stop-color='%2307317a'/%3e%3c/linearGradient%3e%3clinearGradient%20id='fold'%20x1='0'%20y1='0'%20x2='1'%20y2='0.8'%3e%3cstop%20offset='0'%20stop-color='%23086acf'/%3e%3cstop%20offset='1'%20stop-color='%2306449f'/%3e%3c/linearGradient%3e%3clinearGradient%20id='wave'%20x1='0'%20y1='0'%20x2='0.8'%20y2='1'%3e%3cstop%20offset='0'%20stop-color='%230789df'/%3e%3cstop%20offset='0.5'%20stop-color='%230860be'/%3e%3cstop%20offset='1'%20stop-color='%230a50a8'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23base)'%20d='M0%200H264V1000H0Z'/%3e%3cpath%20fill='url(%23fold)'%20d='M0%20603%20264%20482V790L0%20691Z'/%3e%3cpath%20fill='url(%23wave)'%20d='M0%20630C80%20627%20186%20653%20264%20690V790L0%20691Z'/%3e%3cpath%20fill='none'%20stroke='%23ffda69'%20stroke-width='2.5'%20vector-effect='non-scaling-stroke'%20d='M-2%20630C80%20627%20186%20653%20266%20691'/%3e%3c/svg%3e") center top / 100% 100% no-repeat!important;border-right:1px solid #79c9ff;box-shadow:3px 0 16px #00479b29}.crm-sidebar .brand-subtitle.ant-typography,.crm-sidebar .sidebar-menu .ant-menu-item,.crm-sidebar .sidebar-menu .ant-menu-submenu-title,.crm-sidebar .sidebar-menu .ant-menu-submenu-arrow{color:#e5f4ff}.crm-sidebar .ant-menu-sub{background:transparent!important}.crm-sidebar .sidebar-menu .ant-menu-item-selected{color:#07376d;background:linear-gradient(110deg,#78dcff,#36a7f2);border:1px solid #9be6ff;box-shadow:0 4px 12px #00286e2e}.crm-sidebar .sidebar-menu .ant-menu-item:hover,.crm-sidebar .sidebar-menu .ant-menu-submenu-title:hover{color:#fff!important;background:#84d9ff3d!important}.crm-shell .crm-workspace{min-width:0;padding:12px;gap:12px;background:radial-gradient(ellipse at top right,#bce7ff,transparent 65%),linear-gradient(135deg,#e1f4ff,#f8fcff)}.crm-shell .crm-topbar.app-header{min-height:76px;gap:12px;border:1px solid #fff;border-radius:16px;background:linear-gradient(115deg,#fff,#effaff 60%,#92d8ff);box-shadow:var(--crm-panel-shadow)}.crm-shell .crm-topbar .header-title.ant-typography{color:#0b2d80;font-weight:750}.crm-shell .crm-topbar-actions{gap:12px}.crm-shell .crm-topbar-actions .ant-btn:not(.crm-logout-button){color:#0756ae;border-color:#b7dafa}.crm-shell .app-content{padding:0;min-width:0;background:transparent}.crm-shell .page-stack{gap:12px}.crm-shell .ant-card{border:1px solid #e0efff;border-radius:14px;box-shadow:var(--crm-panel-shadow)}.crm-shell .crm-metric-row{margin-bottom:12px}.crm-shell .crud-toolbar{gap:12px;margin-bottom:12px}.crm-shell .crud-filters{margin-bottom:12px}.crm-shell .crud-toolbar h3.ant-typography,.crm-shell .ant-card-head-title{color:#0b2d80}.crm-shell .ant-table-wrapper{border:1px solid #e0efff;border-radius:12px;box-shadow:var(--crm-panel-shadow)}.crm-shell .ant-table-thead>tr>th{color:#174c75;background:#eaf6ff}.crm-shell .ant-btn-primary:not(:disabled):not(.ant-btn-dangerous){background:linear-gradient(135deg,#008fff,#0050bd);box-shadow:0 4px 10px #005bc338}.crm-customer-detail,.crm-customer-detail-grid,.crm-contract-detail{gap:12px}.crm-customer-detail-section{border-color:#d5e8fa;border-radius:14px;box-shadow:0 4px 7px #1e64aa1f,0 10px 22px #1e64aa17}@media(max-width:768px){.crm-shell .crm-topbar.app-header{padding:12px;flex-wrap:wrap}.crm-shell .crm-topbar-actions{flex-wrap:wrap}}
