.kh-crm{--ds-primary:#274ea1;--ds-text:#10192e;--ds-text-secondary:#475569;--ds-icon:#5a687d;--ds-surface:#fff;--ds-background:#f8fafc;--ds-border:#dde3eb;--ds-selected:#eef4ff;--ds-info-bg:#eaeef7;--ds-success:#40ac67;--ds-success-bg:#eafcf0;--ds-warning:#f59e0b;--ds-warning-bg:#fef3c7;--ds-danger:#de3a3a;--ds-danger-bg:#feecec;--ds-radius-control:8px;--ds-radius-surface:16px;--ds-gap:8px;--ds-section-gap:16px;color:var(--ds-text);background:var(--ds-background);font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.kh-crm *{box-sizing:border-box}.kh-crm button,.kh-crm input,.kh-crm select{font:inherit}.kh-crm button{cursor:pointer}.kh-crm{min-width:320px;min-height:100vh;margin:0}.kh-crm .ds-icon{background:currentColor;flex:none;width:20px;height:20px;display:inline-block;-webkit-mask:none 50%/contain no-repeat;mask:none 50%/contain no-repeat}.kh-crm .ds-icon[data-src="/kh/d3d25.svg"]{-webkit-mask-image:url(/kh/d3d25.svg);mask-image:url(/kh/d3d25.svg)}.kh-crm .ds-icon[data-src="/kh/6dc96.svg"]{-webkit-mask-image:url(/kh/6dc96.svg);mask-image:url(/kh/6dc96.svg)}.kh-crm .ds-icon[data-src="/kh/13cde.svg"]{-webkit-mask-image:url(/kh/13cde.svg);mask-image:url(/kh/13cde.svg)}.kh-crm .ds-icon[data-src="/kh/fed54.svg"]{-webkit-mask-image:url(/kh/fed54.svg);mask-image:url(/kh/fed54.svg)}.kh-crm .ds-icon[data-src="/kh/5839f.svg"]{-webkit-mask-image:url(/kh/5839f.svg);mask-image:url(/kh/5839f.svg)}.kh-crm .ds-icon[data-src="/kh/8f186.svg"]{-webkit-mask-image:url(/kh/8f186.svg);mask-image:url(/kh/8f186.svg)}.kh-crm .ds-icon[data-src="/kh/80615.svg"]{-webkit-mask-image:url(/kh/80615.svg);mask-image:url(/kh/80615.svg)}.kh-crm .ds-icon-16{width:16px;height:16px}.kh-crm .ds-icon-17{width:17px;height:17px}.kh-crm .ds-icon-18{width:18px;height:18px}.kh-crm .ds-icon-19{width:19px;height:19px}.kh-crm .ds-icon-23{width:23px;height:23px}.kh-crm .ds-icon-25{width:25px;height:25px}.kh-crm h1,.kh-crm h2,.kh-crm h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif}.kh-crm .app{min-height:100vh;display:flex}.kh-crm .sidebar{background:var(--ds-surface);border-right:1px solid var(--ds-border);z-index:10;flex-direction:column;width:254px;padding:24px 16px 16px;display:flex;position:fixed;inset:0 auto 0 0}.kh-crm .brand{background:0 0;border:0;align-items:center;width:190px;height:34px;margin-bottom:31px;padding:0 8px;display:flex;overflow:hidden}.kh-crm .brand-logo{width:168px;max-width:none;height:auto;display:block}.kh-crm .nav-title{color:#9aa2b4;letter-spacing:.13em;margin:0 12px 9px;font-size:10px;font-weight:700}.kh-crm .sidebar-nav{height:100%}.kh-crm .settings-title{margin-top:29px}.kh-crm .nav-item{border-radius:var(--ds-radius-control);width:100%;height:32px;color:var(--ds-text);text-align:left;background:0 0;border:0;align-items:center;gap:8px;margin-bottom:8px;padding:0 8px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:13px;font-weight:500;transition:all .18s;display:flex}.kh-crm .nav-item:hover{background:var(--ds-background);color:var(--ds-primary)}.kh-crm .nav-item.active{background:var(--ds-selected);color:var(--ds-primary);font-weight:500}.kh-crm .nav-item b{color:#fff;background:#274ea1;border-radius:10px;place-items:center;min-width:24px;height:20px;margin-left:auto;font-size:10px;display:grid}.kh-crm .support-box{border-radius:var(--ds-radius-surface);background:var(--ds-selected);margin-top:auto;padding:16px}.kh-crm .support-icon{color:#274ea1;background:#dfe8f9;border-radius:9px;place-items:center;width:36px;height:36px;margin-bottom:10px;display:grid}.kh-crm .support-box strong{font-size:12px}.kh-crm .support-box p{color:#7f899c;margin:5px 0 10px;font-size:10px;line-height:1.55}.kh-crm .support-box button{color:#274ea1;background:0 0;border:0;padding:0;font-size:10px;font-weight:700}.kh-crm .profile-mini{border-top:1px solid #eceef3;align-items:center;gap:9px;margin-top:17px;padding:17px 6px 0;display:flex}.kh-crm .avatar,.kh-crm .header-avatar{color:#274ea1;background:#dbe6fa;border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:700;display:grid}.kh-crm .avatar{width:34px;height:34px}.kh-crm .profile-mini div:nth-child(2){flex:1;min-width:0}.kh-crm .profile-mini strong,.kh-crm .profile-mini span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.kh-crm .profile-mini strong{font-size:10px}.kh-crm .profile-mini span{color:#8d95a5;margin-top:3px;font-size:9px}.kh-crm .profile-mini svg{color:#949cac;width:16px}.kh-crm main{width:calc(100% - 254px);min-height:100vh;margin-left:254px}.kh-crm .topbar{background:var(--ds-surface);border-bottom:1px solid var(--ds-border);justify-content:space-between;align-items:center;height:80px;padding:0 32px;display:flex}.kh-crm .topbar h1{margin:0;font-size:20px;font-weight:700;line-height:30px}.kh-crm .topbar p{color:var(--ds-text-secondary);margin:0;font-size:12px;line-height:18px}.kh-crm .top-actions{align-items:center;gap:12px;display:flex}.kh-crm .search{border:1px solid var(--ds-border);border-radius:var(--ds-radius-control);width:222px;height:32px;color:var(--ds-icon);background:var(--ds-surface);align-items:center;gap:8px;padding:0 8px;display:flex}.kh-crm .search input{width:100%;min-width:0;color:var(--ds-text);background:0 0;border:0;outline:0;font-size:13px;line-height:19px}.kh-crm .icon-btn{background:var(--ds-surface);border:1px solid var(--ds-border);border-radius:var(--ds-radius-control);width:32px;height:32px;color:var(--ds-icon);place-items:center;display:grid;position:relative}.kh-crm .icon-btn i{background:#ef5350;border:1px solid #fff;border-radius:50%;width:6px;height:6px;position:absolute;top:7px;right:8px}.kh-crm .header-avatar{width:37px;height:37px}.kh-crm .content{max-width:1500px;margin:auto;padding:25px 31px 36px}.kh-crm .welcome{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.kh-crm .welcome h2{margin:0 0 4px;font-size:24px;line-height:1.25}.kh-crm .welcome p{color:var(--ds-text-secondary);margin:0;font-size:13px;line-height:19px}.kh-crm .primary{border-radius:var(--ds-radius-control);background:var(--ds-primary);color:#fff;border:0;justify-content:center;align-items:center;gap:8px;min-width:100px;height:32px;padding:0 16px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:13px;font-weight:500;line-height:21px;transition:all .2s;display:inline-flex}.kh-crm .primary:hover{background:#1f4088;transform:translateY(-1px)}.kh-crm .stats{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px;display:grid}.kh-crm .stat-card,.kh-crm .panel,.kh-crm .form-card{background:var(--ds-surface);border:1px solid var(--ds-border);border-radius:var(--ds-radius-surface);box-shadow:0 4px 12px 3px #0f172a0d}.kh-crm .stat-card{min-height:132px;padding:18px 19px;position:relative}.kh-crm .stat-icon{float:left;border-radius:9px;place-items:center;width:39px;height:39px;margin-right:12px;display:grid}.kh-crm .stat-icon.blue,.kh-crm .activity-icon.blue{color:#274ea1;background:#e9effb}.kh-crm .stat-icon.green,.kh-crm .activity-icon.green{color:#20a467;background:#e8f7f0}.kh-crm .stat-icon.purple,.kh-crm .activity-icon.purple{color:#7858c6;background:#f0ecfa}.kh-crm .activity-icon.orange{color:#df8b22;background:#fff3e4}.kh-crm .stat-top{color:#7f899d;justify-content:space-between;align-items:center;padding-top:2px;font-size:11px;display:flex}.kh-crm .stat-top button,.kh-crm .panel-head>button:not(.primary):not(.text-btn),.kh-crm .row-action{color:#98a0ae;background:0 0;border:0;padding:0}.kh-crm .stat-value{clear:both;letter-spacing:-.03em;padding-top:14px;font-size:24px;font-weight:700}.kh-crm .delta{color:#9aa2b1;margin-top:5px;font-size:9px}.kh-crm .delta strong{color:#1fa369;font-weight:600}.kh-crm .delta.neutral strong{color:#1fa369}.kh-crm .dashboard-grid{grid-template-columns:1.12fr .88fr;gap:16px;margin-bottom:16px;display:grid}.kh-crm .panel{padding:18px 20px}.kh-crm .panel-head{justify-content:space-between;align-items:flex-start;display:flex}.kh-crm .panel-head h3,.kh-crm .panel-head h2{margin:0 0 4px;font-size:16px}.kh-crm .panel-head h2{font-size:20px}.kh-crm .panel-head p{color:var(--ds-text-secondary);margin:0;font-size:12px;line-height:18px}.kh-crm .panel-head select{border:1px solid var(--ds-border);border-radius:var(--ds-radius-control);height:32px;color:var(--ds-text);background:var(--ds-surface);padding:0 28px 0 8px;font-size:13px}.kh-crm .chart-wrap{align-items:center;gap:40px;padding:24px 8px 8px;display:flex}.kh-crm .donut-shell{background:linear-gradient(145deg,#fff,#f1f5fb);border-radius:50%;flex:none;padding:10px;box-shadow:0 12px 30px #274ea11f}.kh-crm .donut{background:conic-gradient(#274ea1 0 12.4%, #f8fafc 12.4% 12.9%, #40ac67 12.9% 96.3%, #f8fafc 96.3% 96.8%, #de3a3a 96.8% 100%);border-radius:50%;place-items:center;width:164px;height:164px;display:grid;position:relative;transform:rotate(-35deg)}.kh-crm .donut:before{content:"";background:var(--ds-surface);border-radius:50%;width:112px;height:112px;position:absolute;box-shadow:inset 0 0 0 1px #dde3eba6}.kh-crm .donut div{text-align:center;position:relative;transform:rotate(35deg)}.kh-crm .donut strong,.kh-crm .donut span,.kh-crm .donut small{display:block}.kh-crm .donut span{color:var(--ds-text-secondary);font-size:12px;line-height:18px}.kh-crm .donut strong{color:var(--ds-text);letter-spacing:-.03em;font-size:28px;line-height:34px}.kh-crm .donut small{color:var(--ds-primary);font-size:11px;font-weight:600;line-height:16px}.kh-crm .legend{gap:8px;width:100%;display:grid}.kh-crm .legend>.legend-item{color:var(--ds-text-secondary);border:1px solid #0000;border-radius:10px;grid-template-columns:10px 1fr auto 44px;align-items:center;gap:10px;margin:0;padding:10px 12px;transition:all .2s;display:grid}.kh-crm .legend>.legend-item:hover{border-color:var(--ds-border);background:var(--ds-background);transform:translate(2px)}.kh-crm .legend-item>span{color:var(--ds-text);font-weight:600}.kh-crm .legend-item span small{color:var(--ds-text-secondary);font-size:11px;font-weight:400;line-height:16px;display:block}.kh-crm .legend strong{color:var(--ds-text);font-size:16px;line-height:22px}.kh-crm .legend em{color:var(--ds-text-secondary);text-align:right;font-size:12px;font-style:normal}.kh-crm .dot{border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #47556914}.kh-crm .dot.blue{background:#274ea1}.kh-crm .dot.green{background:#40ac67}.kh-crm .dot.red{background:#de3a3a}.kh-crm .activity{padding-bottom:9px}.kh-crm .activity-row{border-bottom:1px solid #f0f1f4;align-items:center;gap:10px;padding:12px 0;display:flex}.kh-crm .activity-row:last-child{border:0}.kh-crm .activity-icon{border-radius:50%;flex:none;place-items:center;width:31px;height:31px;display:grid}.kh-crm .activity-row div:nth-child(2){flex:1}.kh-crm .activity-row strong{font-size:9px;font-weight:600}.kh-crm .activity-row p{color:#9199a9;margin:3px 0 0;font-size:8px}.kh-crm .activity-row time{color:#a3a9b4;font-size:8px}.kh-crm .orders-panel{padding-bottom:5px}.kh-crm .text-btn{color:#274ea1;background:0 0;border:0;align-items:center;gap:3px;font-size:9px;font-weight:600;display:flex}.kh-crm .table-scroll{margin:14px -20px 0;overflow-x:auto}.kh-crm table{border-collapse:collapse;width:100%;min-width:730px}.kh-crm th{text-align:left;color:#929aaa;letter-spacing:.04em;background:#fafbfc;padding:9px 16px;font-size:8px;font-weight:600}.kh-crm td{color:#586377;border-top:1px solid #eef0f3;padding:10px 16px;font-size:9px}.kh-crm .order-id{color:#274ea1;font-size:9px}.kh-crm .customer strong,.kh-crm .customer span{display:block}.kh-crm .customer strong{color:#30394b;font-size:9px}.kh-crm .customer span{color:#959dab;margin-top:4px;font-size:8px}.kh-crm .badge{white-space:nowrap;border-radius:23px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-weight:400;line-height:18px;display:inline-flex}.kh-crm .badge i{border-radius:50%;width:5px;height:5px}.kh-crm .badge.green{background:var(--ds-success-bg);color:var(--ds-success)}.kh-crm .badge.green i{background:var(--ds-success)}.kh-crm .badge.blue{background:var(--ds-info-bg);color:var(--ds-primary)}.kh-crm .badge.blue i{background:var(--ds-primary)}.kh-crm .badge.purple{background:var(--ds-selected);color:var(--ds-primary)}.kh-crm .badge.purple i{background:var(--ds-primary)}.kh-crm .badge.orange{background:var(--ds-warning-bg);color:var(--ds-warning)}.kh-crm .badge.orange i{background:var(--ds-warning)}.kh-crm .full-panel{min-height:650px}.kh-crm .filter-row{border-bottom:1px solid #e9ebef;gap:8px;margin:22px -20px 0;padding:0 20px 12px;display:flex}.kh-crm .filter{color:#697386;background:#f4f6f9;border:0;border-radius:7px;padding:8px 12px;font-size:10px}.kh-crm .filter.active{color:#274ea1;background:#e9effb;font-weight:600}.kh-crm .filter b{margin-left:4px}.kh-crm .outline{color:#536076;background:#fff;border:1px solid #dfe3ea;border-radius:7px;align-items:center;gap:6px;margin-left:auto;padding:0 12px;font-size:10px;display:flex}.kh-crm .form-shell{max-width:900px;margin:4px auto}.kh-crm .form-card{padding:28px}.kh-crm .form-heading{border-bottom:1px solid #eceef2;align-items:center;gap:13px;margin-bottom:22px;padding-bottom:20px;display:flex}.kh-crm .form-icon{color:#274ea1;background:#eaf0fb;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.kh-crm .form-heading h2{margin:0 0 5px;font-size:18px}.kh-crm .form-heading p{color:#8993a5;margin:0;font-size:10px}.kh-crm .form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.kh-crm .form-grid label{flex-direction:column;gap:7px;display:flex}.kh-crm .form-grid .wide{grid-column:1/-1}.kh-crm .form-grid label span,.kh-crm .service-choice>span{color:#47536a;font-size:10px;font-weight:600}.kh-crm .form-grid input{border:1px solid var(--ds-border);border-radius:var(--ds-radius-control);height:32px;color:var(--ds-text);outline:0;padding:0 8px;font-size:13px;line-height:19px;transition:all .2s}.kh-crm .form-grid input:focus{border-color:var(--ds-primary);box-shadow:0 0 0 3px #274ea117}.kh-crm .form-grid input::placeholder{color:var(--ds-text-secondary)}.kh-crm .service-choice{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;display:grid}.kh-crm .service-choice>span{grid-column:1/-1}.kh-crm .service-choice label{border:1px solid #dfe3ea;border-radius:8px;padding:13px 12px 13px 36px;position:relative}.kh-crm .service-choice label:has(input:checked){background:#f7f9fd;border-color:#274ea1}.kh-crm .service-choice input{accent-color:#274ea1;position:absolute;top:16px;left:12px}.kh-crm .service-choice b,.kh-crm .service-choice small{display:block}.kh-crm .service-choice b{font-size:10px}.kh-crm .service-choice small{color:#8993a5;margin-top:4px;font-size:9px}.kh-crm .form-actions{border-top:1px solid var(--ds-border);justify-content:flex-end;gap:8px;margin-top:24px;padding-top:16px;display:flex}.kh-crm .secondary{border:1px solid var(--ds-border);min-width:100px;height:32px;color:var(--ds-text);background:var(--ds-surface);border-radius:var(--ds-radius-control);padding:0 16px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:13px;line-height:21px}.kh-crm .toast{color:#fff;background:#173525;border-radius:9px;align-items:center;gap:8px;padding:12px 17px;font-size:11px;display:flex;position:fixed;bottom:26px;right:26px;box-shadow:0 8px 26px #00000029}@media (width<=1000px){.kh-crm .sidebar{width:210px}.kh-crm .support-box{display:none}.kh-crm main{width:calc(100% - 210px);margin-left:210px}.kh-crm .dashboard-grid{grid-template-columns:1fr}.kh-crm .stats{grid-template-columns:1fr 1fr}.kh-crm .stat-card:last-child{grid-column:1/-1}}@media (width<=720px){.kh-crm .sidebar{width:70px;padding:24px 10px}.kh-crm .brand{width:50px;margin-bottom:30px;padding:0}.kh-crm .brand-logo{width:168px}.kh-crm .nav-title,.kh-crm .nav-item span,.kh-crm .nav-item b,.kh-crm .profile-mini div:nth-child(2),.kh-crm .profile-mini svg{display:none}.kh-crm .nav-item{justify-content:center;padding:0}.kh-crm .profile-mini{padding-left:7px}.kh-crm main{width:calc(100% - 70px);margin-left:70px}.kh-crm .topbar{padding:0 17px}.kh-crm .topbar p,.kh-crm .search{display:none}.kh-crm .content{padding:20px 16px}.kh-crm .stats{grid-template-columns:1fr}.kh-crm .stat-card:last-child{grid-column:auto}.kh-crm .chart-wrap{flex-direction:column}.kh-crm .welcome{align-items:flex-start;gap:14px}.kh-crm .welcome h2{font-size:17px}.kh-crm .form-grid{grid-template-columns:1fr}.kh-crm .form-grid .wide{grid-column:auto}.kh-crm .service-choice{grid-template-columns:1fr}.kh-crm .service-choice>span{grid-column:auto}.kh-crm .filter-row{overflow-x:auto}.kh-crm .filter{white-space:nowrap}}.kh-crm,.kh-crm button,.kh-crm input,.kh-crm select,.kh-crm textarea{font-family:Inter,ui-sans-serif,system-ui,sans-serif}.kh-crm p,.kh-crm td,.kh-crm .nav-item,.kh-crm .support-box p,.kh-crm .support-box button,.kh-crm .profile-mini strong,.kh-crm .search input,.kh-crm .welcome p,.kh-crm .stat-top,.kh-crm .delta,.kh-crm .legend>div,.kh-crm .legend strong,.kh-crm .activity-row strong,.kh-crm .activity-row p,.kh-crm .text-btn,.kh-crm .customer strong,.kh-crm .customer span,.kh-crm .badge,.kh-crm .filter,.kh-crm .outline,.kh-crm .form-heading p,.kh-crm .form-grid label span,.kh-crm .service-choice>span,.kh-crm .service-choice b,.kh-crm .service-choice small,.kh-crm .secondary,.kh-crm .toast{font-size:14px;line-height:20px}.kh-crm .primary,.kh-crm .panel-head select,.kh-crm .form-grid input{font-size:14px}.kh-crm .nav-title,.kh-crm th,.kh-crm .profile-mini span,.kh-crm .activity-row time{font-size:12px;line-height:18px}.kh-crm .topbar h1,.kh-crm .panel-head h2,.kh-crm .form-heading h2{font-size:20px;line-height:28px}.kh-crm .panel-head h3{font-size:18px;line-height:26px}.kh-crm .welcome h2,.kh-crm .stat-value{font-size:24px;line-height:30px}@media (width<=720px){.kh-crm .welcome h2{font-size:22px;line-height:28px}}.kh-crm td.id-cell-lg{width:254px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:24px}.kh-crm td.id-cell-md{font-size:17px}.kh-crm td.id-cell-inter,.kh-crm .stat-value-inter{font-family:Inter,ui-sans-serif,system-ui,sans-serif}.kh-crm .order-id.order-id-strong{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:14px;font-weight:600}.kh-crm .id-wrap{align-items:center;gap:8px;display:flex}.kh-crm .invoice-flag{width:24px;height:24px;color:var(--ds-icon);background:var(--ds-background);border:1px dashed var(--ds-border);border-radius:6px;place-items:center;display:inline-grid}.kh-crm .invoice-flag.done{color:var(--ds-success);background:var(--ds-success-bg);border:1px solid #0000}.kh-crm td.created{white-space:nowrap}.kh-crm table.detailed{min-width:1080px}.kh-crm .row-actions{gap:4px;display:flex}.kh-crm .row-btn{border:1px solid var(--ds-border);background:var(--ds-surface);width:28px;height:28px;color:var(--ds-icon);border-radius:6px;place-items:center;display:grid}.kh-crm .row-btn:hover{color:var(--ds-primary);border-color:var(--ds-primary);background:var(--ds-selected)}.kh-crm tr.clickable{cursor:pointer}.kh-crm tr.clickable:hover td{background:var(--ds-background)}.kh-crm .menu-wrap{position:relative}.kh-crm .row-btn.open{color:var(--ds-primary);border-color:var(--ds-primary);background:var(--ds-selected)}.kh-crm .row-menu{z-index:30;background:var(--ds-surface);border:1px solid var(--ds-border);border-radius:var(--ds-radius-control);min-width:180px;padding:4px;position:absolute;top:32px;right:0;box-shadow:0 4px 12px 3px #0f172a1a}.kh-crm .row-menu button{width:100%;color:var(--ds-text);text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:8px;font-size:14px;display:flex}.kh-crm .row-menu button:hover{background:var(--ds-selected);color:var(--ds-primary)}.kh-crm .menu-backdrop{z-index:20;position:fixed;inset:0}.kh-crm .table-scroll:has(.row-menu){padding-bottom:120px}.kh-crm .drawer-backdrop{z-index:40;background:#10192e4d;justify-content:flex-end;display:flex;position:fixed;inset:0}.kh-crm .drawer{background:var(--ds-surface);width:min(420px,100%);height:100%;padding:24px;overflow-y:auto}.kh-crm .drawer-head{justify-content:space-between;align-items:flex-start;margin-bottom:16px;display:flex}.kh-crm .drawer-head p{color:var(--ds-text-secondary);margin:0}.kh-crm .drawer-head h2{color:var(--ds-primary);margin:4px 0 0;font-size:20px}.kh-crm .drawer dl{margin:24px 0 0}.kh-crm .drawer dl div{border-bottom:1px solid var(--ds-border);justify-content:space-between;gap:16px;padding:12px 0;font-size:14px;display:flex}.kh-crm .drawer dt{color:var(--ds-text-secondary)}.kh-crm .drawer dd{text-align:right;margin:0;font-weight:600}.kh-crm .detail-meta{flex-wrap:wrap;gap:8px;display:flex}.kh-crm .detail-section{margin-top:24px}.kh-crm .detail-section h3,.kh-crm .order-log h3{margin:0;font-size:18px;line-height:26px}.kh-crm .detail-section dl{margin:8px 0 0}.kh-crm .drawer dd small{color:var(--ds-text-secondary);font-size:14px;font-weight:400;display:block}.kh-crm .order-log{margin-top:24px}.kh-crm .order-log h3{color:var(--ds-primary);align-items:center;gap:8px;display:flex}.kh-crm .order-log ol{margin:12px 0 0;padding:0 0 0 12px;list-style:none}.kh-crm .order-log li{padding:0 0 20px 24px;position:relative}.kh-crm .order-log li:last-child{padding-bottom:0}.kh-crm .order-log li:before{content:"";background:var(--ds-icon);border-radius:50%;width:7px;height:7px;position:absolute;top:7px;left:-3px}.kh-crm .order-log li:not(:last-child):after{content:"";background:var(--ds-border);width:1px;position:absolute;top:18px;bottom:0;left:0}.kh-crm .order-log strong,.kh-crm .order-log time{display:block}.kh-crm .order-log strong{font-size:16px;font-weight:600;line-height:24px}.kh-crm .order-log time{color:var(--ds-text-secondary);margin-top:4px;font-size:14px;line-height:20px}.kh-crm .order-log li.current strong{color:var(--ds-primary)}.kh-crm .order-log li.current:before{background:var(--ds-primary)}.kh-crm h1,.kh-crm h2,.kh-crm h3{font-weight:700}.kh-crm .primary,.kh-crm .secondary,.kh-crm .nav-item{font-weight:500}.kh-crm .delta.down strong{color:var(--ds-danger)}.kh-crm .primary:disabled{opacity:.4;cursor:not-allowed;transform:none}.kh-crm .profile-mini button{color:#949cac;background:0 0;border:0;border-radius:6px;place-items:center;padding:4px;display:grid}.kh-crm .profile-mini button:hover{color:var(--ds-danger);background:var(--ds-danger-bg)}.kh-crm .empty-row td{text-align:center;color:var(--ds-text-secondary);padding:32px 16px}.kh-crm .filter-row .filter{cursor:pointer}.kh-crm .search-filter{border:1px solid var(--ds-border);border-radius:var(--ds-radius-control);outline:0;min-width:220px;height:32px;padding:0 10px;font-size:14px}.kh-crm .search-filter:focus{border-color:var(--ds-primary)}.kh-crm .direction-tag{background:var(--ds-info-bg);color:var(--ds-primary);vertical-align:middle;border-radius:6px;margin-left:6px;padding:0 6px;font-size:11px;line-height:18px;display:inline-block}.kh-crm .badge.red{background:var(--ds-danger-bg);color:var(--ds-danger)}.kh-crm .badge.red i{background:var(--ds-danger)}.kh-crm .activity-empty{color:var(--ds-text-secondary);text-align:center;padding:24px 0}.kh-crm .donut.empty{background:conic-gradient(#dde3eb 0 100%)}.kh-crm .drawer-loading{color:var(--ds-text-secondary);margin-top:16px}.kh-crm .cf{--cf-line:#e5e7eb;--cf-muted:#6b7280;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:24px;max-width:1180px;margin:0 auto;display:grid}.kh-crm .cf-rail{color:#fff;background:linear-gradient(165deg,#274ea1 0%,#1b3a7d 100%);border-radius:24px;padding:28px 24px;position:sticky;top:20px;overflow:hidden}.kh-crm .cf-rail:after{content:"";background:#ffffff12;border-radius:50%;width:220px;height:220px;position:absolute;top:-90px;right:-90px}.kh-crm .cf-rail-head span{opacity:.7;font-size:13px}.kh-crm .cf-rail-head strong{margin-top:6px;font-size:20px;line-height:28px;display:block}.kh-crm .cf-steps{margin:28px 0 8px;padding:0;list-style:none}.kh-crm .cf-steps li{opacity:.55;gap:14px;padding-bottom:26px;display:flex;position:relative}.kh-crm .cf-steps li:not(:last-child):before{content:"";background:#fff3;border-radius:2px;width:2px;position:absolute;top:42px;bottom:4px;left:19px}.kh-crm .cf-steps li.current,.kh-crm .cf-steps li.done{opacity:1}.kh-crm .cf-steps i{background:#ffffff1f;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.kh-crm .cf-steps li.current i{color:#274ea1;background:#fff;box-shadow:0 6px 16px #0003}.kh-crm .cf-steps li.done i{background:#40ac67}.kh-crm .cf-steps strong,.kh-crm .cf-steps small{display:block}.kh-crm .cf-steps strong{margin-top:2px;font-size:15px}.kh-crm .cf-steps small{opacity:.75;margin-top:2px;font-size:12px}.kh-crm .cf-art{width:100%;height:auto;margin:4px 0 16px}.kh-crm .cf-tip{background:#ffffff1a;border-radius:14px;align-items:flex-start;gap:10px;margin:0;padding:14px;font-size:13px;line-height:19px;display:flex}.kh-crm .cf-tip svg{flex:none}.kh-crm .cf-main{border:1px solid var(--cf-line);background:#fff;border-radius:24px;min-height:560px;padding:32px}.kh-crm .cf-head{margin-bottom:28px}.kh-crm .cf-head>span{color:#274ea1;font-size:13px;font-weight:600}.kh-crm .cf-head h2{margin:6px 0;font-size:28px;line-height:36px}.kh-crm .cf-head p{color:var(--cf-muted);margin:0;font-size:15px}.kh-crm .cf-head.center{text-align:center}.kh-crm .cf-success-art{width:110px;height:110px;margin-bottom:8px}.kh-crm .cf-route-chip{background:#eef4ff;border-radius:99px;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 12px;font-weight:500;color:#274ea1!important;font-size:13px!important;display:inline-flex!important}.kh-crm .cf-route-chip svg{width:15px;height:15px}.kh-crm .cf-badge{border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.kh-crm .cf-badge.blue{color:#274ea1;background:#eef4ff}.kh-crm .cf-badge.green{color:#40ac67;background:#eafcf0}.kh-crm .cf-badge.orange{color:#d97706;background:#fef3c7}.kh-crm .cf-route{grid-template-columns:1fr 90px 1fr;align-items:center;display:grid}.kh-crm .cf-route-card{border:1px solid var(--cf-line);border-radius:20px;padding:24px;transition:all .2s}.kh-crm .cf-route-card:hover{border-color:#c7d4f0;box-shadow:0 10px 30px #274ea114}.kh-crm .cf-route-card strong{margin-top:16px;font-size:17px;display:block}.kh-crm .cf-route-card small{color:var(--cf-muted);margin:2px 0 16px;font-size:13px;display:block}.kh-crm .cf-route-line{align-items:center;display:flex}.kh-crm .cf-route-line span{border-top:2px dashed #c7d4f0;flex:1}.kh-crm .cf-route-line i{color:#fff;background:#274ea1;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;box-shadow:0 6px 16px #274ea14d}.kh-crm .cf select,.kh-crm .cf input:not([type=radio]){color:#10192e;background:#fff;border:1px solid #d1d5db;border-radius:12px;outline:0;width:100%;height:46px;padding:0 14px;font-size:15px;transition:all .15s}.kh-crm .cf select:focus,.kh-crm .cf input:not([type=radio]):focus{border-color:#274ea1;box-shadow:0 0 0 4px #274ea11a}.kh-crm .cf-block{border:1px solid var(--cf-line);border-radius:20px;margin-bottom:16px;padding:22px}.kh-crm .cf-block-title{align-items:center;gap:12px;margin-bottom:18px;display:flex}.kh-crm .cf-block-title strong,.kh-crm .cf-block-title small{display:block}.kh-crm .cf-block-title strong{font-size:16px}.kh-crm .cf-block-title small{color:var(--cf-muted);font-size:13px}.kh-crm .cf-link{color:#274ea1;background:0 0;border:0;align-items:center;gap:6px;margin-left:auto;font-size:13px;font-weight:600;display:flex}.kh-crm .cf-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.kh-crm .cf-field{flex-direction:column;gap:6px;display:flex}.kh-crm .cf-field.wide{grid-column:1/-1}.kh-crm .cf-field>span{color:#374151;font-size:13px;font-weight:500}.kh-crm .cf-input{position:relative}.kh-crm .cf-input>svg{color:#9ca3af;pointer-events:none;position:absolute;top:13px;left:14px}.kh-crm .cf-input input,.kh-crm .cf-input select{padding-left:44px!important}.kh-crm .cf-add{color:#274ea1;background:#f8faff;border:1.5px dashed #c7d4f0;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;height:46px;margin-top:16px;font-weight:600;display:flex}.kh-crm .cf-payer{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;display:grid}.kh-crm .cf-payer label{border:1.5px solid var(--cf-line);cursor:pointer;border-radius:16px;padding:18px;transition:all .15s;position:relative}.kh-crm .cf-payer input{opacity:0;position:absolute}.kh-crm .cf-payer i{color:#6b7280;background:#f3f4f6;border-radius:10px;place-items:center;width:36px;height:36px;margin-bottom:12px;display:grid}.kh-crm .cf-payer strong,.kh-crm .cf-payer small{display:block}.kh-crm .cf-payer small{color:var(--cf-muted);margin-top:2px;font-size:13px}.kh-crm .cf-payer label.on{background:#f8faff;border-color:#274ea1}.kh-crm .cf-payer label.on i{color:#fff;background:#274ea1}.kh-crm .cf-payer label.on:after{content:"✓";color:#fff;background:#274ea1;border-radius:50%;place-items:center;width:22px;height:22px;font-size:12px;display:grid;position:absolute;top:14px;right:14px}.kh-crm .cf-summary{background:#f9fafb;border-radius:20px;margin-bottom:24px;padding:20px 22px}.kh-crm .cf-summary div{color:var(--cf-muted);justify-content:space-between;padding:6px 0;display:flex}.kh-crm .cf-summary b{color:#10192e;font-weight:600}.kh-crm .cf-total{border-top:1px dashed #d1d5db;margin-top:8px;font-weight:600;color:#10192e!important;padding-top:14px!important}.kh-crm .cf-total strong{color:#10192e;font-size:24px}.kh-crm .cf-summary.flat{margin:16px 0 0}.kh-crm .cf-foot{border-top:1px solid var(--cf-line);justify-content:flex-end;align-items:center;gap:12px;padding-top:20px;display:flex}.kh-crm .cf-foot>span{color:var(--cf-muted);margin-right:auto;font-size:14px}.kh-crm .cf-foot .primary,.kh-crm .cf-foot .secondary{border-radius:12px;height:46px;padding:0 28px;font-size:15px}.kh-crm .cf-foot .primary:disabled{opacity:.4;cursor:not-allowed;transform:none}.kh-crm .cf-code{color:#10192e;background:#f3f4f6;border-radius:8px;align-items:center;gap:6px;padding:4px 10px;display:inline-flex}.kh-crm .cf-done{gap:16px;display:grid}.kh-crm .cf-done.with-qr{grid-template-columns:1.3fr 1fr}.kh-crm .cf-done .cf-block{margin:0}.kh-crm .cf-party{border-bottom:1px solid #f3f4f6;align-items:flex-start;gap:14px;padding:12px 0;display:flex}.kh-crm .cf-party small,.kh-crm .cf-party strong,.kh-crm .cf-party span{display:block}.kh-crm .cf-party small{color:var(--cf-muted);font-size:12px}.kh-crm .cf-party strong{margin:2px 0}.kh-crm .cf-party span{color:var(--cf-muted);font-size:13px}.kh-crm .cf-party>b{margin-left:auto}.kh-crm .cf-qr{text-align:center}.kh-crm .cf-qr>small{color:var(--cf-muted)}.kh-crm .cf-amount{color:#f59e0b;margin:4px 0 8px;font-size:32px;display:block}.kh-crm .cf-qr .qr-code{border-radius:16px;width:176px;height:176px;padding:12px}.kh-crm .cf-qr dl{text-align:left;background:#f9fafb;border-radius:14px;margin:0 0 14px;padding:4px 14px}.kh-crm .cf-qr dl div{border-bottom:1px solid #eef0f3;justify-content:space-between;gap:12px;padding:9px 0;font-size:13px;display:flex}.kh-crm .cf-qr dl div:last-child{border:0}.kh-crm .cf-qr dt{color:var(--cf-muted)}.kh-crm .cf-qr dd{margin:0;font-weight:600}.kh-crm .cf-qr .secondary{border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;height:42px;display:flex}@media (width<=1000px){.kh-crm .cf{grid-template-columns:1fr}.kh-crm .cf-rail{position:static}.kh-crm .cf-art,.kh-crm .cf-tip{display:none}.kh-crm .cf-steps{gap:12px;margin-bottom:0;display:flex}.kh-crm .cf-steps li{flex:1;padding:0}.kh-crm .cf-steps li:before,.kh-crm .cf-steps small{display:none}.kh-crm .cf-done.with-qr{grid-template-columns:1fr}}@media (width<=680px){.kh-crm .cf-main{padding:20px}.kh-crm .cf-route{grid-template-columns:1fr}.kh-crm .cf-route-line{flex-direction:column;height:60px}.kh-crm .cf-route-line span{border-top:0;border-left:2px dashed #c7d4f0}.kh-crm .cf-grid,.kh-crm .cf-payer{grid-template-columns:1fr}.kh-crm .cf-steps strong{font-size:12px}}.kh-crm .cf-input.noicon input,.kh-crm .cf-input.noicon select{padding-left:14px!important}.kh-crm .cf-input input[readonly]{color:var(--cf-muted);background:#f9fafb}.kh-crm .cf-hint{color:var(--cf-muted);font-size:12px;line-height:17px}.kh-crm .cf-error{color:#b91c1c;background:#fef2f2;border-radius:12px;margin:0 0 16px;padding:12px 14px;font-size:14px}.kh-crm .cf-sub{align-items:center;gap:10px;min-height:28px;display:flex}.kh-crm .cf-sub>b{color:#10192e;font-size:14px;font-weight:600}.kh-crm .cf-grid>.cf-sub:not(:first-child){border-top:1px solid #f3f4f6;margin-top:8px;padding-top:16px}.kh-crm .cf-check{color:#374151;cursor:pointer;align-items:center;gap:10px;width:fit-content;font-size:14px;display:flex}.kh-crm .cf-grid>.cf-check{grid-column:1/-1}.kh-crm .cf-item>.cf-sub{margin-bottom:12px}.kh-crm .cf-grid.three{grid-template-columns:repeat(3,1fr);gap:12px}.kh-crm .cf-grid>.wide{grid-column:1/-1}.kh-crm .cf-link.danger{color:#dc2626}.kh-crm .cf-photo{border-top:1px solid #f3f4f6;margin-top:18px;padding-top:18px}.kh-crm .cf-payer.three{grid-template-columns:repeat(3,1fr)}.kh-crm .cf-payer label.off{opacity:.45;cursor:not-allowed}.kh-crm .cf-code{cursor:pointer;border:0;font-size:15px}.kh-crm .cf-foot button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.kh-crm .cf-foot .secondary:disabled{opacity:.5;cursor:wait}.kh-crm .cf-route{grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr)}.kh-crm .cf-route-card,.kh-crm .cf-main,.kh-crm .cf-field{min-width:0}@media (width<=680px){.kh-crm .cf-payer.three{grid-template-columns:1fr}.kh-crm .cf-foot{flex-wrap:wrap}.kh-crm .cf-foot>span{flex-basis:100%}}.kh-crm .cf-main{container-type:inline-size}.kh-crm .cf-cols{align-items:start;gap:16px;margin-bottom:8px;display:grid}.kh-crm .cf-col-main,.kh-crm .cf-col-side{min-width:0}@container (width>=760px){.kh-crm .cf-cols{grid-template-columns:minmax(0,1fr) 300px}.kh-crm .cf-col-side{position:sticky;top:20px}.kh-crm .cf-col-side .cf-grid{grid-template-columns:1fr}}.kh-crm .cf-col-side .cf-summary{margin-bottom:16px}.kh-crm .cf-col-side .cf-payer.three{grid-template-columns:1fr;gap:10px}.kh-crm .cf-col-side .cf-payer label{grid-template-columns:36px 1fr;align-items:center;column-gap:12px;padding:12px 40px 12px 12px;display:grid}.kh-crm .cf-col-side .cf-payer i{grid-row:span 2;margin:0}.kh-crm .cf-col-side .cf-payer small{margin:0}.kh-crm .cf-col-side .cf-payer label.on:after{top:50%;right:12px;transform:translateY(-50%)}.kh-crm .cf-item{background:#f9fafb;border:1px solid #eef0f3;border-radius:16px;padding:16px}.kh-crm .cf-item+.cf-item{border-top:1px solid #eef0f3;margin-top:12px;padding-top:16px}.kh-crm .cf-item>.cf-sub>b{color:#274ea1;font-size:13px}
