/* Nexor 360 CRM v159 */
.mobile-order-table-v159{display:grid;gap:8px;overflow-x:auto;padding:2px}.mobile-order-head-v159,.mobile-order-row-v159{display:grid;grid-template-columns:minmax(250px,2.1fr) 82px 125px minmax(190px,1.35fr) minmax(180px,1.25fr) 115px 92px;gap:10px;align-items:center;min-width:1120px}.mobile-order-head-v159{padding:0 10px;color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.mobile-order-row-v159{padding:11px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff)}.mobile-order-row-v159 input,.mobile-order-row-v159 select{width:100%;height:42px;margin:0}.mobile-plan-v159{display:flex;flex-direction:column;min-width:0}.mobile-plan-v159 b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-plan-v159 small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-order-row-v159 .v159-total{font-weight:800;background:#f6f8fc}

#tasks .task-list-wrap table{min-width:1040px}#tasks .task-list-wrap th,#tasks .task-list-wrap td{vertical-align:middle}.task-row-v159 td:nth-child(2){min-width:270px}.task-row-v159 td:nth-child(2) small{display:block;color:var(--muted);margin-top:3px}.task-status-v159,.situation-v159{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:6px 10px;font-size:12px;white-space:nowrap}.task-status-v159.green,.situation-v159.green{background:#eaf8f0;color:#08763c}.task-status-v159.yellow,.situation-v159.yellow{background:#fff5d7;color:#8b6300}.task-status-v159.red,.situation-v159.red{background:#ffe8e8;color:#b10f18}.task-status-v159.blue,.situation-v159.blue{background:#e8f0ff;color:#1656b8}.deadline-v159{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.deadline-v159 i{width:10px;height:10px;border-radius:50%;background:#20a35a;box-shadow:0 0 0 3px #e9f8ef}.deadline-v159 i.yellow{background:#f2b400;box-shadow:0 0 0 3px #fff5cf}.deadline-v159 i.red{background:#e11d2e;box-shadow:0 0 0 3px #ffe8ea}.deadline-v159 i.blue{background:#2372dc;box-shadow:0 0 0 3px #e6f0ff}.task-return-dot-v159{display:none;position:absolute;right:8px;top:8px;width:9px;height:9px;border-radius:50%;background:#1877e8;box-shadow:0 0 0 3px #dbeaff}#nav button[data-view="tasks"]{position:relative}

.portfolio-columns-v159{height:205px;display:grid;grid-template-columns:repeat(8,minmax(34px,1fr));gap:8px;align-items:end;padding:15px 5px 0;border-bottom:1px solid var(--line)}.portfolio-columns-v159 button{height:100%;border:0;background:transparent;display:grid;grid-template-rows:22px 1fr 25px;gap:4px;align-items:end;color:var(--text);cursor:pointer}.portfolio-columns-v159 button>b{font-size:12px}.portfolio-columns-v159 button>i{height:100%;display:flex;align-items:flex-end;justify-content:center;background:repeating-linear-gradient(to top,transparent 0,transparent 36px,rgba(20,45,95,.07) 37px);border-radius:7px 7px 0 0}.portfolio-columns-v159 button>i>span{display:block;width:min(32px,72%);min-height:4px;border-radius:7px 7px 0 0;background:linear-gradient(180deg,#f3232d,#c60813);transition:.2s}.portfolio-columns-v159 button:hover>i>span{filter:brightness(1.12);transform:scaleX(1.08)}.portfolio-columns-v159 small{font-size:10px;font-weight:800;white-space:nowrap}.portfolio-axis-title-v159{text-align:center;color:var(--muted);font-size:11px;margin-top:7px}

.drive-folder-row-v159,.drive-client-folder-wrap-v159{position:relative}.drive-folder-row-v159{display:flex;gap:5px;align-items:stretch}.drive-folder-row-v159>.drive-folder{flex:1}.drive-delete-folder-v159{border:0;background:#fff0f1;color:#c4101c;border-radius:9px;min-width:32px;cursor:pointer;font-size:20px;font-weight:700}.drive-delete-folder-v159:hover{background:#e91f2b;color:#fff}.drive-client-folder-wrap-v159{display:grid;grid-template-columns:1fr 34px;gap:6px}.drive-client-folder-wrap-v159 .drive-client-folder-card-v145{width:100%}

.orders-view-toggle-v159{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:10px;padding:3px;background:#f5f7fb;min-height:42px}.orders-view-toggle-v159 button{border:0;background:transparent;border-radius:8px;padding:8px 13px;font-weight:800;color:var(--muted);cursor:pointer}.orders-view-toggle-v159 button.active{background:#ed1c24;color:#fff;box-shadow:0 4px 12px rgba(237,28,36,.2)}.orders-kanban-v159{display:none;grid-auto-flow:column;grid-auto-columns:minmax(270px,310px);gap:14px;overflow-x:auto;padding:8px 2px 18px}.kanban-column-v159{border:1px solid var(--line);border-radius:14px;background:#f6f8fc;min-height:280px}.kanban-column-v159>header{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid var(--line)}.kanban-column-v159>header span{display:grid;place-items:center;min-width:26px;height:26px;border-radius:999px;background:#e6eaf2;font-weight:800}.kanban-column-v159>div{display:grid;gap:9px;padding:10px}.kanban-order-v159{border:1px solid #e1e6f0;border-radius:11px;background:#fff;padding:12px;text-align:left;display:flex;flex-direction:column;gap:5px;cursor:pointer;box-shadow:0 4px 12px rgba(20,40,80,.05)}.kanban-order-v159:hover{border-color:#ed1c24;transform:translateY(-1px)}.kanban-order-v159 small,.kanban-order-v159 span{color:var(--muted)}.kanban-order-v159 strong{color:#ed1c24;margin-top:3px}

.movement-actions-v159{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:900px){.portfolio-columns-v159{gap:3px}.portfolio-columns-v159 small{font-size:8px}.mobile-order-head-v159,.mobile-order-row-v159{grid-template-columns:220px 70px 115px 180px 170px 105px 85px}}
