html,body,#root{height:100%}body{background:#f4f6fa;margin:0}.app-logo{letter-spacing:.5px;color:#0f172a;white-space:nowrap;border-bottom:1px solid #eef0f4;align-items:center;gap:10px;height:64px;padding:0 20px;font-size:17px;font-weight:700;display:flex;overflow:hidden}.app-logo img{flex:none;width:30px;height:30px}.app-logo small{color:#64748b;letter-spacing:1px;font-size:12px;font-weight:500}.app-sider .ant-menu{padding:8px;border-inline-end:none!important}.app-header{z-index:10;border-bottom:1px solid #eef0f4;align-items:center;gap:12px;height:64px;display:flex;position:sticky;top:0;background:#fff!important;padding:0 24px!important}.app-header h1{white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;font-size:18px;font-weight:600;overflow:hidden}.app-content{padding:24px}@media (width<=600px){.app-content{padding:12px}.app-header{padding:0 12px!important}.app-user-name{display:none}}.login-wrap{background:radial-gradient(1200px 600px at 10% -10%,#e4f3cf 0%,#0000 60%),radial-gradient(900px 500px at 110% 110%,#eef7e0 0%,#0000 55%),#f4f6fa;justify-content:center;align-items:center;min-height:100%;padding:16px;display:flex}.login-card{width:100%;max-width:380px;box-shadow:0 10px 40px #0f172a14}.section-card{cursor:pointer;height:100%;transition:box-shadow .15s,transform .15s}.section-card:hover{transform:translateY(-1px);box-shadow:0 6px 24px #0f172a14}.catalog-tree .ant-tree-node-content-wrapper,.tree-node{min-width:0}.tree-node-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree-node-menu{opacity:0}.catalog-tree .ant-tree-treenode:hover .tree-node-menu,.catalog-tree .ant-tree-treenode-selected .tree-node-menu{opacity:1}@media (hover:none){.tree-node-menu{opacity:1}}.dir-tags{gap:2px;display:inline-flex}.dir-tag{text-align:center;border-radius:4px;min-width:16px;padding:0 3px;font-size:10px;font-weight:600;line-height:16px;display:inline-block}.dir-roof{color:#3d6b00;background:#e8f3da}.dir-fence{color:#8a5a00;background:#fdf0d9}.dir-facade{color:#2557a7;background:#e6effb}.estimate-group{overflow:hidden;box-shadow:0 2px 8px #0f172a0f;border:1px solid #d9e2d0!important;border-top:2px solid #8cc443!important;border-bottom:2px solid #8cc443!important;border-left:5px solid #61ab00!important;border-radius:10px!important}.estimate-group>.ant-card-head{background:#eef6e3;min-height:46px;border-bottom:1px solid #d9e8c4!important}.estimate-group>.ant-card-body{background:#fff;padding-top:14px!important}.estimate-group-info{border-color:#aab3c0 #dfe5ec #aab3c0 #8a94a3!important}.estimate-group-info>.ant-card-head{background:#f3f5f8;border-bottom-color:#e4e8ee!important}.estimate-group-works{border-color:#ad93da #e3dcef #ad93da #8e6cc7!important}.estimate-group-works>.ant-card-head{background:#f4f0fa;border-bottom-color:#e6def3!important}.estimate-group-summary{border-color:#6fa3e8 #cfe0f5 #6fa3e8 #1d6fd8!important}.estimate-group-summary>.ant-card-head{background:#edf4fd;border-bottom-color:#d6e5f8!important}.group-title{text-transform:uppercase;letter-spacing:.3px;font-size:13px}.group-sum{color:#4e8a00}.slot-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,620px),1fr));gap:10px;display:grid}.slot-row{background:#fbfcfd;border:1px solid #e7ebf0;border-radius:8px;min-width:0;padding:8px 10px 10px}.slot-row-filled{background:#fafdf6;border-color:#cfe5b4}.slot-sum{white-space:nowrap;font-weight:600}.slot-sum-empty{color:#b8c0cc;font-weight:400}.slot-supplier .ant-select-selector,.slot-supplier .ant-select-content{color:#8a94a3;font-size:12px}.slot-supplier-override .ant-select-selector,.slot-supplier-override .ant-select-content{font-weight:600;color:#d46b08!important}.unit-suffix{color:#8a94a3;font-size:12px}.qty-missing{border-color:#faad14!important}.price-changed input{font-weight:600;color:#d46b08!important}.kp-name{flex:1}.kp-name-custom{background:#fffbf0!important;border-color:#faad14!important}.estimate-totals{z-index:5;padding:12px 24px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e7ebf0;margin:0 -24px -24px;position:sticky;bottom:0;box-shadow:0 -4px 16px #0f172a0d}.estimate-total b{color:#4e8a00;font-size:17px}@media (width<=600px){.estimate-totals{margin:0 -12px -12px;padding-left:12px;padding-right:12px}}.clickable-row{cursor:pointer}.kp-bar{background:#fff}.kp-row-chosen td{background:#fffbe6!important}.files-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.file-card{background:#fbfcfd;border:1px solid #e7ebf0;border-radius:8px;min-width:0;overflow:hidden}.file-card .ant-image{width:100%;display:block}.file-thumb{object-fit:cover;display:block;width:100%!important;height:120px!important}.files-compact{background:#fff}.file-mini{object-fit:cover;border:1px solid #e7ebf0;border-radius:4px}.file-row{background:#fbfcfd;border:1px solid #e7ebf0;border-radius:8px;padding:6px 8px}.task-dot{vertical-align:0;border-radius:50%;width:9px;height:9px;margin-right:6px;display:inline-block}.lead-task{background:#fbfcfd;border:1px solid #e7ebf0;border-radius:8px;padding:6px 8px}.lead-task-overdue{background:#fff7f6;border-color:#ffccc7}.lead-task-done{opacity:.55}.lead-task-done b{text-decoration:line-through}.tasks-calendar .fc{--fc-today-bg-color:#f3f9ea;--fc-button-bg-color:#fff;--fc-button-text-color:#333;--fc-button-border-color:#d9d9d9;--fc-button-hover-bg-color:#f3f9ea;--fc-button-hover-border-color:#8cc443;--fc-button-active-bg-color:#4e8a00;--fc-button-active-border-color:#4e8a00;--fc-now-indicator-color:#ff4d4f;font-size:13px}.tasks-calendar .fc .fc-button-primary:not(:disabled).fc-button-active,.tasks-calendar .fc .fc-button-primary:not(:disabled):active{color:#fff}.tasks-calendar .fc .fc-toolbar-title{text-transform:capitalize;font-size:18px}.tasks-calendar .fc-event{cursor:pointer}.tasks-calendar .fc .fc-timegrid-slot{height:14px;line-height:14px}.tasks-calendar .fc .fc-timegrid-slot-label{font-size:11px}.tasks-calendar .fc .fc-multimonth-title{text-transform:capitalize;padding:6px 0;font-size:14px}.tasks-calendar .fc .fc-multimonth-daygrid .fc-event{font-size:10px}.tasks-calendar .task-done{opacity:.45;text-decoration:line-through}.tasks-calendar .task-overdue{box-shadow:0 0 0 2px #ff4d4f}@media (width<=700px){.tasks-calendar .fc .fc-toolbar{flex-direction:column;gap:8px}}.lead-chip{border:1px solid #e3e8ef!important;padding:2px 10px!important;font-size:13px!important;line-height:22px!important}.lead-chip b{margin-left:4px}.lead-dot{vertical-align:1px;background:#bfbfbf;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.lead-dot-blue{background:#1677ff}.lead-dot-gold{background:#faad14}.lead-dot-cyan{background:#13c2c2}.lead-dot-purple{background:#722ed1}.lead-dot-geekblue{background:#2f54eb}.order-stages{background:#fafbfc;border:1px dashed #d9d9d9;border-radius:6px;padding:10px}.order-agreement{background:#f6f8fa;border-radius:6px;padding:6px 8px}.fin-tiles{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.fin-tile{background:#f6f8fa;border:1px solid #eef0f3;border-radius:8px;padding:10px 12px}.fin-tile-title{color:#8a94a3;font-size:12px}.fin-tile-value{margin-top:2px;font-size:20px;font-weight:600}.fin-tile-note{color:#8a94a3;margin-top:2px;font-size:12px}.fin-tile-success .fin-tile-value{color:#4e8a00}.fin-tile-danger .fin-tile-value{color:#cf1322}.fin-tile-warning .fin-tile-value{color:#d48806}.fin-tile-link{cursor:pointer}.fin-tile-link:hover{border-color:#b7d98a}.dash-row{border-radius:6px;padding:5px 6px}.dash-row:hover{background:#f6f8fa}.dash-dot{border-radius:50%;flex:none;width:8px;height:8px}.dash-chip{cursor:pointer;background:#f6f8fa;border:1px solid #eef0f3;border-radius:8px;min-width:96px;padding:8px 10px}.dash-chip:hover{border-color:#b7d98a}.dash-chip-n{font-size:20px;font-weight:600}.dash-chip-t{color:#8a94a3;font-size:12px}.dash-chip-empty .dash-chip-n{color:#c0c6cf}.dash-step{background:#f6f8fa;border-radius:8px;min-width:90px;padding:8px 10px}.dash-step-n{font-size:22px;font-weight:600}.dash-step-t,.dash-step-s{color:#8a94a3;font-size:12px}.dash-arrow{color:#c0c6cf;font-size:18px}.dash-hbar-track{flex:1;height:8px}.dash-hbar{background:#61ab00;border-radius:0 4px 4px 0;min-width:2px;height:8px}.dash-chart{align-items:stretch;gap:2px;padding-top:18px;display:flex}.dash-col{cursor:default;flex-direction:column;flex:1;align-items:center;display:flex}.dash-col:hover{background:#f6f8fa;border-radius:6px}.dash-col-pos{flex-direction:column;justify-content:flex-end;align-items:center;width:100%;display:flex;position:relative}.dash-col-neg{flex-direction:column;align-items:center;width:100%;display:flex}.dash-bar{width:56%;max-width:36px}.dash-bar-pos{background:#4e8a00;border-radius:4px 4px 0 0}.dash-bar-neg{background:#cf1322;border-radius:0 0 4px 4px}.dash-bar-label{color:#3d4652;white-space:nowrap;font-size:11px;position:absolute;top:-18px}.dash-zero{background:#d9dee5;width:100%;height:1px}.dash-col-m{color:#8a94a3;margin-top:4px;font-size:11px}.dash-col-m-cur{color:#3d4652;font-weight:600}.order-contract{background:#f6f8fa;border-radius:6px;padding:6px 10px}.lead-dot-lime{background:#a0d911}.lead-dot-green{background:#52c41a}.lead-dot-default{background:#8c8c8c}.lead-row-overdue td:first-child{box-shadow:inset 3px 0 #ff4d4f}.next-overdue{color:#cf1322;font-weight:600}.next-today{color:#d46b08;font-weight:600}.lead-funnel{background:#fff}.lead-next-overdue{border:2px solid #ff7875!important;border-left:5px solid #ff4d4f!important;border-right:1px solid #ffccc7!important}.lead-next-overdue>.ant-card-head{background:#fff1f0}.row-inactive td{opacity:.5}.section-card-icon{color:#4e8a00;background:#f1f8e6;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;display:inline-flex}.m-list{flex-direction:column;gap:8px;display:flex}.m-card{background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:10px 12px;line-height:1.4}.m-card-link{cursor:pointer}.m-card-link:active{background:#f6f8fa}.m-card-alert{border-left:3px solid #ff4d4f}@media (width<=767px){.chips-row{scrollbar-width:none;margin:0 -4px;padding:0 4px 4px;overflow-x:auto;flex-wrap:nowrap!important}.chips-row::-webkit-scrollbar{display:none}.chips-row>*{flex:none}.ant-segmented{max-width:100%}.ant-segmented .ant-segmented-group{flex-wrap:wrap}.ant-input-group-addon{font-size:13px;padding:0 8px!important}.app-content{padding:12px!important}}
