:root{--bg: #0f172a;--surface: #1e293b;--surface-2: #273449;--border: #334155;--border-soft: #23303f;--text: #e2e8f0;--muted: #94a3b8;--primary: #6366f1;--primary-dark: #4f46e5;--primary-soft: rgba(99, 102, 241, .2);--green: #22c55e;--red: #ef4444;--amber: #f59e0b;--radius: 10px;--shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 1px 2px rgba(0, 0, 0, .3)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Inter,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px}a{color:var(--primary);text-decoration:none}.app{display:flex;height:100vh;overflow:hidden}.sidebar{width:232px;background:#0b1120;color:#cbd5e1;flex-shrink:0;display:flex;flex-direction:column;padding:18px 12px;border-right:1px solid var(--border)}.sidebar .logo{font-size:18px;font-weight:700;color:#fff;padding:8px 12px;letter-spacing:.3px}.sidebar .logo span{color:#818cf8}.conv-chain{display:flex;align-items:stretch;gap:8px}.conv-step{flex:1;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:14px 12px;min-width:0}.conv-step.wide{flex:0 1 260px}.conv-step .cs-v{font-size:26px;font-weight:700;color:var(--primary);line-height:1}.conv-step .cs-t{font-size:12.5px;font-weight:600;margin-top:8px;line-height:1.3}.conv-step .cs-n{font-size:11.5px;color:var(--muted);margin-top:4px}.conv-arr{align-self:center;color:var(--muted);font-size:16px;flex:0 0 auto}.conv-sep{margin:16px 0 10px;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.conv-total{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:900px){.conv-chain{flex-wrap:wrap}.conv-arr{display:none}.conv-step{flex:1 1 45%}}.task-suggest{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;padding:8px 10px;border-radius:8px;background:#eff6ff;border:1px solid #bfdbfe}.task-suggest .ico{font-size:15px}.task-suggest .lbl{font-size:13px;font-weight:600;color:#1e40af}.task-suggest select,.task-suggest input{width:auto;padding:4px 8px;font-size:13px}.task-suggest .hint{font-size:12px;color:#64748b}.task-suggest .x{margin-left:auto;border:none;background:none;cursor:pointer;color:#64748b;font-size:14px;padding:2px 6px;border-radius:6px}.task-suggest .x:hover{background:#dbeafe;color:#1e40af}.sip-balance{display:flex;align-items:center;gap:6px;margin:0 12px 14px;padding:6px 10px;border-radius:8px;background:#1e293b;border:1px solid #334155;cursor:pointer;-webkit-user-select:none;user-select:none;transition:.15s}.sip-balance:hover{border-color:#475569}.sip-balance .ico{font-size:12px}.sip-balance .val{font-size:13px;font-weight:700;color:#e2e8f0}.sip-balance .cap{font-size:11px;color:#64748b;margin-left:auto}.sip-balance.ok .val{color:#4ade80}.sip-balance.warn{background:#2a2410;border-color:#854d0e}.sip-balance.warn .val{color:#facc15}.sip-balance.danger{background:#2d1416;border-color:#991b1b}.sip-balance.danger .val{color:#f87171}.nav-item{display:flex;align-items:center;gap:10px;padding:10px 8px;border-radius:8px;color:#cbd5e1;cursor:pointer;font-weight:500;flex:1;min-width:0}.nav-item:hover{background:#1e293b;color:#fff}.nav-item.active{background:var(--primary);color:#fff}.nav-item .ico{width:18px;text-align:center}.nav-sortable{display:flex;flex-direction:column}.nav-sort-row{display:flex;align-items:center;min-height:42px;margin-bottom:2px;border-radius:8px;transition:opacity .12s,transform .12s,box-shadow .12s}.nav-drag-handle{flex:0 0 18px;width:18px;color:#64748b;cursor:grab;-webkit-user-select:none;user-select:none;font-size:17px;line-height:1;text-align:center}.nav-sort-row:hover .nav-drag-handle{color:#cbd5e1}.nav-sort-row.is-dragging{opacity:.42;transform:scale(.98)}.nav-sort-row.drag-target{box-shadow:inset 0 3px #818cf8}.nav-sort-row:active .nav-drag-handle{cursor:grabbing}.sidebar .spacer{flex:1}.sidebar .foot{font-size:12px;color:#64748b;padding:8px 12px}.main{flex:1;overflow-y:auto}.topbar{height:60px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 24px;gap:16px;position:sticky;top:0;z-index:10}.topbar h1{font-size:18px;margin:0;font-weight:600}.content{padding:24px}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:500;cursor:pointer;font-size:14px;transition:.12s}.btn:hover{border-color:#475569;background:var(--surface-2)}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary-dark)}.btn.danger{color:#f87171;border-color:#ef444473}.btn.danger:hover{background:#ef444424}.btn.sm{padding:5px 10px;font-size:13px}.btn:disabled{opacity:.5;cursor:not-allowed}.call-btn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;flex-shrink:0;border:1px solid #16a34a;border-radius:6px;background:#22c55e;color:#052e16;cursor:pointer;font-size:13px;line-height:1;transition:filter .12s}.call-btn:hover{filter:brightness(1.08)}.call-btn:disabled{opacity:.5;cursor:not-allowed}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:18px}.card-title{font-weight:600;font-size:15px;margin:0 0 14px}.field{margin-bottom:12px}.field label{display:block;font-size:12px;color:var(--muted);margin-bottom:5px;font-weight:500}input,select,textarea{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:8px;font-size:14px;font-family:inherit;background:var(--surface);color:var(--text)}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}textarea{resize:vertical;min-height:64px}.date-picker-input{cursor:pointer;color-scheme:dark}.date-picker-input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:1;filter:invert(30%) sepia(95%) saturate(4300%) hue-rotate(350deg) brightness(108%) contrast(92%)}.row{display:flex;gap:12px}.row>*{flex:1}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;padding:10px 12px;border-bottom:1px solid var(--border);white-space:nowrap}td{padding:11px 12px;border-bottom:1px solid var(--border-soft)}tbody tr{cursor:pointer}tbody tr:hover{background:var(--surface-2)}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;color:#fff}.dot{width:7px;height:7px;border-radius:50%;display:inline-block}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow)}.stat .label{font-size:12px;color:var(--muted);font-weight:500;display:flex;align-items:center;gap:6px}.stat .value{font-size:28px;font-weight:700;margin-top:6px}.stat .sub{font-size:12px;color:var(--muted);margin-top:2px}.stat-clickable{cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.stat-clickable:hover,.stat-clickable:focus-visible{transform:translateY(-2px);border-color:#8b5cf6;box-shadow:0 8px 22px #8b5cf629;outline:none}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#020617b3;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;z-index:100;overflow-y:auto}.modal{background:var(--surface);border-radius:14px;width:100%;max-width:560px;box-shadow:0 20px 40px #0003}.modal.wide{max-width:900px}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--border)}.modal-head h2{margin:0;font-size:17px}.modal-body{padding:22px}.modal-foot{padding:16px 22px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px}.x{cursor:pointer;color:var(--muted);font-size:22px;line-height:1;background:none;border:none}.muted{color:var(--muted)}.right{text-align:right}.flex{display:flex;align-items:center;gap:10px}.between{display:flex;align-items:center;justify-content:space-between}.wrap-gap{display:flex;flex-wrap:wrap;gap:10px}.pill{padding:5px 12px;border-radius:999px;background:var(--surface-2);border:1px solid var(--border);cursor:pointer;font-size:13px;font-weight:500}.pill.active{background:var(--primary);color:#fff;border-color:var(--primary)}.service-multiselect{position:relative;min-width:0}.service-multiselect[open]{z-index:150}.service-multiselect summary,.service-multiselect-trigger{list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none;min-height:38px;display:flex;align-items:center;padding:8px 34px 8px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;width:100%;color:var(--text);font-family:inherit;text-align:left}.service-multiselect-trigger>span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-multiselect summary::-webkit-details-marker{display:none}.service-multiselect summary:after,.service-multiselect-trigger:after{content:"▾";position:absolute;right:11px;color:var(--muted)}.service-multiselect[open] summary:after,.service-multiselect.open .service-multiselect-trigger:after{content:"▴"}.service-multiselect-menu{position:absolute;z-index:160;top:calc(100% + 6px);left:0;min-width:260px;padding:9px;border:1px solid #475569;border-radius:10px;background:#111827;color:#f1f5f9;box-shadow:0 16px 38px #000000ad,0 0 0 1px #ffffff0a}.service-multiselect-menu label{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 10px;border-radius:7px;cursor:pointer;color:#f1f5f9;font-size:13px;font-weight:600;line-height:1.25;white-space:nowrap}.service-multiselect-menu label:hover{background:#273449}.service-multiselect-menu input{width:18px;height:18px;margin:0;flex:0 0 auto;accent-color:#6366f1}.service-multiselect.compact summary,.service-multiselect.compact .service-multiselect-trigger{min-height:34px;padding-top:6px;padding-bottom:6px}.service-multiselect.compact .service-multiselect-menu{min-width:220px}.developments-summary{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px}.developments-summary>div{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px 16px;box-shadow:var(--shadow)}.developments-summary span{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.developments-summary b{font-size:23px}.developments-summary .primary{border:2px solid #22c55e;color:#fff;background:linear-gradient(135deg,#047857,#16a34a);box-shadow:0 10px 28px #16a34a47}.developments-summary .primary span{color:#dcfce7;font-weight:600}.developments-summary .primary b{display:block;font-size:31px;line-height:1.15}.developments-summary .primary small{display:block;margin-top:5px;color:#dcfce7;font-size:12px}.developments-hint{margin:14px 2px}.developments-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:12px}.development-add-row{width:min(1080px,100%);margin-bottom:14px;padding:14px;display:grid;grid-template-columns:1.2fr 1fr .7fr 1.25fr .55fr .7fr;gap:10px;align-items:end}.development-add-row label>span{display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:700}.development-add-row input,.development-add-row select{width:100%}.development-add-actions{grid-column:1/-1;display:flex;gap:8px}.developments-table-wrap{width:fit-content;max-width:100%;overflow:visible}.developments-table{width:1190px;min-width:1190px;table-layout:fixed}.developments-table th{white-space:nowrap}.developments-table td{vertical-align:middle}.developments-table th:nth-child(1),.developments-table td:nth-child(1){width:52px}.developments-table th:nth-child(2),.developments-table td:nth-child(2){width:54px}.developments-table th:nth-child(3),.developments-table td:nth-child(3){width:165px}.developments-table th:nth-child(4),.developments-table td:nth-child(4){width:175px;font-weight:600}.developments-table th:nth-child(5),.developments-table td:nth-child(5){width:104px}.developments-table th:nth-child(6),.developments-table td:nth-child(6){width:140px}.developments-table th:nth-child(7),.developments-table td:nth-child(7){width:112px}.developments-table th:nth-child(8),.developments-table td:nth-child(8){width:190px}.developments-table th:nth-child(9),.developments-table td:nth-child(9){width:78px}.developments-table th:nth-child(10),.developments-table td:nth-child(10){width:124px}.developments-table .service-multiselect summary,.developments-table .service-multiselect-trigger{width:174px}.developments-table .service-multiselect-menu{z-index:90}.developments-table .development-row:has(.service-multiselect[open]){position:relative;z-index:220}.developments-table .development-row:has(.service-multiselect[open])>td{position:relative;z-index:220}.developments-table .development-row:has(.service-multiselect[open]) .service-multiselect{z-index:230}.developments-table .development-row:has(.service-multiselect[open]) .service-multiselect-menu{z-index:240;min-width:260px;background:#111827;color:#f1f5f9}.tax-field{display:flex;align-items:center;gap:5px}.tax-field input{width:48px;text-align:right;padding-left:4px;padding-right:4px}.money-input{width:92px;text-align:right;padding-left:6px;padding-right:6px}.development-net{color:#047857;font-weight:700;white-space:nowrap}.development-net-box{display:inline-flex;min-width:100px;min-height:32px;align-items:center;justify-content:flex-end;padding:5px 8px;border:1px solid rgba(16,185,129,.45);border-radius:7px;background:#ecfdf5f0;color:#065f46;font-weight:800}.development-site-link{display:inline-block;color:#38bdf8;font-size:15px;font-weight:750;line-height:1.3;text-decoration:underline;text-underline-offset:3px}.development-site-link:hover{color:#0ea5e9}.development-color-col{width:64px;text-align:center}.development-order-col{width:58px;text-align:center}.development-order-cell{white-space:nowrap;text-align:center;padding-left:5px!important;padding-right:5px!important}.row-drag-handle{width:34px;height:32px;padding:0;border:0;background:transparent;color:var(--muted);cursor:grab;font-size:25px;line-height:1}.row-drag-handle:hover{color:var(--primary)}.row-drag-handle:active{cursor:grabbing}.development-row.is-dragging{opacity:.45}.development-row.drag-target>td{box-shadow:inset 0 3px #60a5fa}.development-tables-layout{display:grid;grid-template-columns:1190px max-content;align-items:start;gap:14px;width:max-content;max-width:100%;overflow-x:auto;padding-bottom:8px}.development-tables-layout .developments-table-wrap{width:1190px;max-width:none}.development-next-contact{display:inline-flex;min-height:30px;align-items:center;padding:5px 8px;border-radius:7px;background:#ffffffe0;color:#172033;font-size:12px;font-weight:750;white-space:nowrap}.development-next-contact.overdue{border:1px solid #b91c1c;background:#dc2626;color:#fff;box-shadow:0 0 0 2px #dc262633}.development-next-contact.missing{border:1px dashed #dc2626;background:#fff1f2;color:#b91c1c}.activity-line-toggles{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:12px 0 0}.activity-line-toggle{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 10px;border:1px solid var(--border);border-radius:999px;background:var(--surface-2);color:var(--muted);font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease,opacity .15s ease;opacity:.62}.activity-line-toggle:hover{border-color:var(--line-color);opacity:.9}.activity-line-toggle:focus-visible{outline:2px solid var(--line-color);outline-offset:2px}.activity-line-toggle.active{border-color:var(--line-color);background:color-mix(in srgb,var(--line-color) 14%,var(--surface));color:var(--text);opacity:1}.activity-line-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--line-color);box-shadow:0 0 0 2px color-mix(in srgb,var(--line-color) 22%,transparent)}.development-color-calculator{width:max-content;display:grid;align-content:start;gap:10px}.development-color-calculator-row{display:flex;align-items:flex-start;gap:10px}.development-color-calculator-row .development-color-total{flex:0 0 260px;width:260px}.development-color-total{--accent:#64748b;--accent-text:#fff;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:var(--surface);box-shadow:var(--shadow)}.development-color-total.color-orange{--accent:#f59e0b;--accent-text:#2b1700}.development-color-total.color-purple{--accent:#6d28d9;--accent-text:#fff}.development-color-total.color-lilac{--accent:#c084fc;--accent-text:#271035}.development-color-total.color-blue{--accent:#7dd3fc;--accent-text:#082f49}.development-color-total.color-green{--accent:#22c55e;--accent-text:#052e16}.development-color-total.color-yellow{--accent:#fde047;--accent-text:#292100}.development-color-total.color-gray{--accent:#cbd5e1;--accent-text:#172033}.development-color-total.color-red{--accent:#ef4444;--accent-text:#fff}.development-color-total.color-darkred{--accent:#b91c1c;--accent-text:#fff}.development-color-total-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;background:var(--accent);color:var(--accent-text)}.development-color-total-head .color-name{font-weight:850}.development-color-total-head b{font-size:18px;white-space:nowrap}.development-color-meta{display:flex;justify-content:space-between;gap:10px;padding:8px 11px;background:#172235;color:#cbd5e1;font-size:11px}.development-color-money{margin:0 10px 8px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;border-radius:7px;background:#fff;color:#172033}.development-color-money span{font-size:11px;font-weight:700}.development-color-money b{font-size:17px}.development-color-money.net{background:#dcfce7;color:#065f46}.development-service-totals{padding:8px 11px 11px;border-top:1px solid var(--border-soft)}.development-service-totals>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--border-soft);font-size:12px}.development-service-totals>div:last-child{border-bottom:0}.development-service-totals>div span{color:var(--text)}.development-service-totals>div span small{display:block;margin-top:2px;color:var(--muted);font-size:10px}.development-service-totals>div b{white-space:nowrap;color:#fff}.development-service-totals small{color:var(--muted)}.row-color-palette{position:relative;display:inline-block}.row-color-palette[open]{z-index:100}.development-color-cell:has(.row-color-palette[open]){position:relative;z-index:100}.development-row:has(.row-color-palette[open]){position:relative;z-index:100}.row-color-palette summary{list-style:none}.row-color-palette summary::-webkit-details-marker{display:none}.row-color-current{display:block;width:34px;height:30px;border:1px solid var(--border);border-radius:8px;cursor:pointer;box-shadow:inset 0 0 0 5px var(--surface)}.row-color-current:after{content:"";position:absolute;right:3px;bottom:3px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid var(--muted)}.row-color-options{position:absolute;z-index:30;top:36px;left:0;display:grid;grid-template-columns:repeat(3,28px);gap:6px;padding:8px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 10px 28px #00000038}.row-color-swatch{width:28px;height:28px;padding:0;border:2px solid transparent;border-radius:50%;cursor:pointer;box-shadow:inset 0 0 0 1px #0000001f}.row-color-swatch:hover{transform:scale(1.12)}.row-color-swatch.selected{border-color:var(--text);box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--primary)}.row-color-current.color-none,.row-color-swatch.color-none{background:linear-gradient(135deg,#fff 0,#fff 45%,#ef4444 46%,#ef4444 54%,#fff 55%,#fff)}.row-color-current.color-orange,.row-color-swatch.color-orange{background:#f59e0b}.row-color-current.color-purple,.row-color-swatch.color-purple{background:#6d28d9}.row-color-current.color-lilac,.row-color-swatch.color-lilac{background:#c084fc}.row-color-current.color-blue,.row-color-swatch.color-blue{background:#7dd3fc}.row-color-current.color-green,.row-color-swatch.color-green{background:#22c55e}.row-color-current.color-yellow,.row-color-swatch.color-yellow{background:#fde047}.row-color-current.color-gray,.row-color-swatch.color-gray{background:#cbd5e1}.row-color-current.color-red,.row-color-swatch.color-red{background:#ef4444}.row-color-current.color-darkred,.row-color-swatch.color-darkred{background:#b91c1c}.development-color-cell{padding-left:7px!important;padding-right:7px!important}.row-color-picker{width:48px;min-width:48px;padding:6px 3px;font-size:0;cursor:pointer;border-width:2px}.row-color-picker option{font-size:14px;color:#0f172a;background:#fff}.row-color-picker.color-orange{background:#fb923c;border-color:#f97316}.row-color-picker.color-purple{background:#8b5cf6;border-color:#7c3aed}.row-color-picker.color-lilac{background:#d8b4fe;border-color:#c084fc}.row-color-picker.color-green{background:#4ade80;border-color:#22c55e}.row-color-picker.color-yellow{background:#fde047;border-color:#eab308}.row-color-picker.color-red{background:#f87171;border-color:#ef4444}.row-color-picker.color-blue{background:#bae6fd;border-color:#7dd3fc}.row-color-picker.color-gray{background:#e5e7eb;border-color:#cbd5e1}.row-color-picker.color-darkred{background:#dc2626;border-color:#b91c1c}.development-row{transition:filter .15s ease}.development-row.color-orange>td{background:#f59e0b;color:#241500}.development-row.color-purple>td{background:#6d28d9;color:#fff}.development-row.color-lilac>td{background:#c084fc;color:#21102f}.development-row.color-green>td{background:#22c55e;color:#062d16}.development-row.color-yellow>td{background:#fde047;color:#282000}.development-row.color-red>td{background:#ef4444;color:#fff}.development-row.color-blue>td{background:#7dd3fc;color:#082f49}.development-row.color-gray>td{background:#cbd5e1;color:#172033}.development-row.color-darkred>td{background:#b91c1c;color:#fff}.development-row:hover>td{filter:brightness(1.04)}.development-row[class*=color-] .development-site-link{color:#082f49;text-decoration-thickness:2px}.development-row.color-purple .development-site-link,.development-row.color-red .development-site-link,.development-row.color-darkred .development-site-link{color:#fff}.development-row[class*=color-] input,.development-row[class*=color-] select,.development-row[class*=color-] .service-multiselect summary,.development-row[class*=color-] .service-multiselect-trigger{background:#ffffffeb;color:#172033;border-color:#0f172a47}.development-row[class*=color-] .development-net{color:inherit}.development-row[class*=color-] .row-drag-handle{color:currentColor;opacity:.72}.development-status{font-weight:750;border-width:1px}.development-status.status-proposal_preparing{background:#fde68a;border-color:#facc15;color:#422006}.development-status.status-meeting_scheduled,.development-status.status-repeat_meeting{background:#e9d5ff;border-color:#c084fc;color:#3b0764}.development-status.status-meeting,.development-status.status-decision{background:#bae6fd;border-color:#38bdf8;color:#082f49}.development-status.status-proposal_revision{background:#fecaca;border-color:#f87171;color:#450a0a}.development-status.status-contract{background:#f59e0b;border-color:#d97706;color:#3b1d00}.development-status.status-paid{background:#22c55e;border-color:#059669;color:#052e16}.development-status.status-working{background:#6d28d9;border-color:#5b21b6;color:#fff}.development-status.status-waiting_preparation,.development-status.status-actualize,.development-status.status-paused{background:#e5e7eb;border-color:#94a3b8;color:#172033}.development-status.status-rejected{background:#b91c1c;border-color:#991b1b;color:#fff}.development-row[class*=color-] .development-status.status-proposal_preparing{background:#fde68a;color:#422006}.development-row[class*=color-] .development-status.status-meeting_scheduled,.development-row[class*=color-] .development-status.status-repeat_meeting{background:#e9d5ff;color:#3b0764}.development-row[class*=color-] .development-status.status-meeting,.development-row[class*=color-] .development-status.status-decision{background:#bae6fd;color:#082f49}.development-row[class*=color-] .development-status.status-proposal_revision{background:#fecaca;color:#450a0a}.development-row[class*=color-] .development-status.status-contract{background:#f59e0b;color:#3b1d00}.development-row[class*=color-] .development-status.status-paid{background:#22c55e;color:#052e16}.development-row[class*=color-] .development-status.status-working{background:#6d28d9;color:#fff}.development-row[class*=color-] .development-status.status-waiting_preparation,.development-row[class*=color-] .development-status.status-actualize,.development-row[class*=color-] .development-status.status-paused{background:#e5e7eb;color:#172033}.development-row[class*=color-] .development-status.status-rejected{background:#b91c1c;color:#fff}.active-projects-page{max-width:1080px}.active-projects-head{margin-bottom:16px;align-items:flex-end}.active-projects-head h2{margin:0 0 4px;font-size:20px}.active-project-add{display:grid;grid-template-columns:1.5fr 1.1fr .65fr .8fr auto auto;gap:10px;align-items:end;margin-bottom:14px;padding:14px}.active-project-add label span{display:block;margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:700}.active-projects-table-wrap{overflow-x:auto}.active-projects-table{width:100%;min-width:820px;table-layout:fixed}.active-projects-table th:nth-child(1){width:46px}.active-projects-table th:nth-child(2){width:25%}.active-projects-table th:nth-child(3){width:20%}.active-projects-table th:nth-child(4){width:12%}.active-projects-table th:nth-child(5){width:14%}.active-projects-table th:nth-child(6){width:16%}.active-projects-table th:nth-child(7){width:48px}.active-project-star-col{text-align:center}.active-project-star{display:block;margin:auto;padding:0;border:0;background:transparent;color:#6b7280;font-size:22px;cursor:pointer}.active-project-star.active{color:#facc15;text-shadow:0 1px 2px rgba(0,0,0,.35)}.development-company-with-star{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}.development-priority-cell{text-align:center}.development-priority{display:block;width:92px;min-width:92px;height:32px;margin:0 auto;padding:4px 24px 4px 10px;border-radius:8px;font-size:12px;font-weight:800;cursor:pointer}.development-priority.priority-low{background:#fde047!important;border-color:#eab308!important;color:#422006!important}.development-priority.priority-medium{background:#22c55e!important;border-color:#16a34a!important;color:#052e16!important}.development-priority.priority-high{background:#f97316!important;border-color:#ea580c!important;color:#431407!important}.development-priority.priority-launched{background:#7c3aed!important;border-color:#6d28d9!important;color:#fff!important}.development-priority.priority-none{background:#f8fafc!important;border-color:#cbd5e1!important;color:#475569!important}.client-card-priority{width:116px;min-width:116px;height:34px;padding:4px 28px 4px 10px;border-radius:8px;font-size:12px;font-weight:800;cursor:pointer}.client-card-priority.priority-low{background:#fde047!important;border-color:#eab308!important;color:#422006!important}.client-card-priority.priority-medium{background:#22c55e!important;border-color:#16a34a!important;color:#052e16!important}.client-card-priority.priority-high{background:#f97316!important;border-color:#ea580c!important;color:#431407!important}.client-card-priority.priority-launched{background:#7c3aed!important;border-color:#6d28d9!important;color:#fff!important}.client-card-priority.priority-none{background:#f8fafc!important;border-color:#cbd5e1!important;color:#475569!important}.client-priority-card{position:relative;transition:background-color .18s ease,box-shadow .18s ease}.client-priority-card.priority-none{background:var(--surface)}.client-priority-card.priority-low{background:color-mix(in srgb,#fde047 22%,var(--surface));box-shadow:none}.client-priority-card.priority-medium{background:color-mix(in srgb,#22c55e 20%,var(--surface));box-shadow:none}.client-priority-card.priority-high{background:color-mix(in srgb,#a855f7 30%,var(--surface));box-shadow:inset 5px 0 #9333ea}.client-priority-card.priority-launched{background:color-mix(in srgb,#7c3aed 24%,var(--surface));box-shadow:none}.client-domain-block{min-width:0;margin:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap;word-break:break-word}.client-domain-link{display:inline-block;max-width:100%;padding:7px 12px;border:1px solid rgba(148,163,184,.38);border-radius:9px;background:#334155e0;color:#f8fafc!important;font-size:25px;font-weight:750;line-height:1.15;text-decoration:none;box-shadow:0 1px 2px #0f172a26}.client-domain-link:hover{background:#475569;color:#fff!important;text-decoration:underline;text-underline-offset:3px}.client-domain-link.secondary{padding:6px 10px;font-size:16px;font-weight:650}.client-add-site{white-space:nowrap}.client-sites-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:8px;width:100%}.client-sites-editor label{display:grid;gap:4px;min-width:0}.client-sites-editor label span{color:var(--muted);font-size:11px;font-weight:650}.client-sites-editor input{width:100%}.client-sites-editor-actions{display:flex;gap:6px}@media(max-width:700px){.client-sites-editor{grid-template-columns:1fr}.client-sites-editor-actions{justify-content:flex-end}}.client-current-stage{display:inline-flex;align-items:center;gap:7px;min-height:28px;padding:4px 10px;border:1px solid rgba(148,163,184,.34);border-radius:999px;background:#f8fafce0;color:#334155;font-size:12px;font-weight:800}.client-current-stage i{width:9px;height:9px;border-radius:50%;box-shadow:0 0 0 2px #fffc}.development-star{flex:0 0 auto;padding:0;border:0;background:transparent;color:#facc15;font-size:19px;cursor:pointer}.active-projects-table tbody tr{background:#f59e0b;color:#261600}.active-projects-table tbody tr:hover{filter:brightness(1.035)}.active-projects-table td input{width:100%;min-width:0;background:#ffffffe6;color:#172033}.active-projects-table .factor-input{max-width:82px;text-align:right}.active-project-net{color:#064e3b;font-weight:850;white-space:nowrap}@media(max-width:820px){.active-project-add{grid-template-columns:1fr}}@media(max-width:760px){.developments-summary{grid-template-columns:1fr}.developments-table-wrap{overflow-x:auto}.development-add-row{grid-template-columns:1fr}.development-add-actions{grid-column:auto}.development-tables-layout{display:grid;grid-template-columns:1090px max-content;width:max-content;max-width:100%;overflow-x:auto}.development-color-calculator{width:max-content;margin-top:0}}.composer-tabs{display:flex;gap:6px;margin-bottom:12px}.composer-tab{padding:7px 16px;border-radius:8px 8px 0 0;background:var(--surface-2);border:1px solid var(--border);border-bottom:none;cursor:pointer;font-size:13px;font-weight:600;color:var(--muted)}.composer-tab.active{background:var(--primary);color:#fff;border-color:var(--primary)}.composer-tab.messenger{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.composer-tab.messenger:hover{background:#d1fae5;border-color:#6ee7b7}.message-channel-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.message-channel-tabs .btn{position:relative;min-width:130px;justify-content:center}.integration-dot{width:8px;height:8px;border-radius:50%;background:#ef4444;margin-left:7px}.integration-dot.ready{background:#22c55e;box-shadow:0 0 0 2px #22c55e26}.integration-warning{padding:10px 12px;margin-bottom:14px;border:1px solid #f59e0b;border-radius:8px;background:#f59e0b1a;color:#fbbf24;font-size:13px}.composer-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.composer-type{width:auto;min-width:190px}.composer-allday{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);cursor:pointer;white-space:nowrap}.composer-allday input{width:16px}.btn.mic{white-space:nowrap}.btn.mic.rec{background:var(--red);border-color:var(--red);color:#fff;animation:micpulse 1s ease-in-out infinite}.btn.mic.busy{opacity:.8;cursor:progress}@keyframes micpulse{0%,to{opacity:1}50%{opacity:.55}}.voice-field{position:relative}.voice-field textarea{padding-left:46px}.btn.mic.in-field{position:absolute;top:8px;left:8px;z-index:2;width:30px;height:30px;padding:0;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1;border-radius:8px}.empty,.spinner{text-align:center;color:var(--muted);padding:40px}.toast{position:fixed;bottom:22px;right:22px;background:var(--surface-2);color:var(--text);border:1px solid var(--border);padding:12px 18px;border-radius:10px;box-shadow:var(--shadow);z-index:200;font-weight:500}.toast.err{background:var(--red)}.timeline-item{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-soft)}.timeline-item .ic{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px}.grid-2{display:grid;grid-template-columns:2fr 1fr;gap:18px;align-items:start}.grid-2-card{grid-template-columns:1fr 2fr}@media(max-width:900px){.grid-2{grid-template-columns:1fr}}.tag{font-size:11px;padding:2px 8px;border-radius:6px;background:var(--surface-2);color:var(--muted);font-weight:600}.task-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border-soft)}.funnel-task-row{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:5px 10px;padding:10px 0}.funnel-task-icon{grid-column:1;grid-row:1 / span 2;padding-top:2px;font-size:15px;line-height:1.2;text-align:center}.funnel-task-copy{grid-column:2;min-width:0}.funnel-task-title{font-size:14px;font-weight:650;line-height:1.25;overflow-wrap:anywhere}.funnel-task-note{margin-top:2px;font-size:12px;line-height:1.35;overflow-wrap:anywhere;white-space:normal}.funnel-task-assigned{margin-top:4px;font-size:10.5px;line-height:1.25}.funnel-task-controls{grid-column:2;display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}.funnel-task-controls .task-due-editor{margin-right:auto}.funnel-task-controls .task-due-button{padding-left:0}.funnel-task-delete{width:28px;min-width:28px;height:28px;padding:0;font-size:16px}.task-row.done{opacity:.5}.task-row.overdue .tdue{color:var(--red);font-weight:600}.task-due-editor{position:relative;flex:0 0 auto}.task-due-button{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:5px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}.task-due-button:hover{border-color:#60a5fa;background:#60a5fa1a;color:var(--text)}.task-due-button:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.task-due-button.overdue{color:var(--red);font-weight:700}.task-due-popover{position:absolute;z-index:80;top:calc(100% + 6px);right:0;width:280px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 14px 35px #02061761}.task-due-popover label{display:block;margin-bottom:7px;color:var(--muted);font-size:12px;font-weight:700}.task-due-popover .date-picker-input{width:100%}.task-due-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:10px}.btn-done{background:#22c55e24;color:var(--green);border:1px solid rgba(34,197,94,.35);border-radius:8px;padding:5px 11px;font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap;font-family:inherit;transition:.15s}.btn-done:hover{background:var(--green);color:#fff;border-color:var(--green)}.btn-canceled{min-height:30px;padding:4px 9px;border:1px solid rgba(239,68,68,.45);border-radius:7px;background:#ef44441f;color:#ef4444;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.btn-canceled:hover{background:#dc2626;border-color:#dc2626;color:#fff}.task-row.canceled{opacity:.72}.task-row.canceled>span:first-child{filter:grayscale(1)}.btn-undone{background:none;color:var(--muted);border:1px solid var(--border);border-radius:8px;padding:4px 9px;font-size:12px;font-weight:500;cursor:pointer;white-space:nowrap;font-family:inherit;transition:.15s}.btn-undone:hover{color:var(--text);border-color:var(--muted)}.kanban{display:flex;gap:14px;overflow-x:auto;padding-bottom:10px;align-items:flex-start}.kanban-col{flex:0 0 288px;width:288px;background:#16202f;border:1px solid var(--border);border-radius:10px;display:flex;flex-direction:column;max-height:calc(100vh - 210px)}.kanban-col-head{display:flex;align-items:center;gap:8px;padding:11px 14px;font-size:14px;border-bottom:1px solid var(--border);border-top:3px solid var(--border);border-radius:10px 10px 0 0}.kanban-col-head.with-money{border-top:0;border-radius:0;padding-top:9px}.kanban-col-money{padding:10px 14px 8px;border-top:3px solid var(--border);border-bottom:1px solid var(--border);border-radius:10px 10px 0 0;color:#22c55e;font-size:15px;font-weight:800;text-align:center;white-space:nowrap}.kanban-col-head .kc-count{margin-left:auto;background:var(--surface-2);color:var(--muted);padding:1px 9px;border-radius:999px;font-size:12px;font-weight:700}.kc-badge{width:9px;height:9px;border-radius:50%;flex-shrink:0}.kanban-col-body{padding:10px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;flex:1;min-height:70px;transition:background .12s}.kanban-col-body.over{background:var(--primary-soft);box-shadow:inset 0 0 0 2px var(--primary);border-radius:0 0 10px 10px}.kanban-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 12px;box-shadow:var(--shadow);cursor:grab}.kanban-card:has(.service-multiselect[open]){z-index:140}.kanban-card:has(.service-multiselect[open]) .service-multiselect{z-index:150}.kanban-card:hover{border-color:#475569}.kanban-card:active{cursor:grabbing}.kanban-card.dragging{opacity:.4}.task-priority-card{padding-left:31px;transition:opacity .12s,transform .12s,box-shadow .12s}.task-priority-card.priority-drop-target{transform:translateY(2px);box-shadow:inset 0 3px #818cf8,var(--shadow)}.task-priority-grip{position:absolute!important;z-index:4!important;left:8px;top:12px;color:#64748b;font-size:18px;line-height:1;cursor:grab;pointer-events:auto!important;-webkit-user-select:none;user-select:none}.task-priority-card:hover .task-priority-grip{color:#cbd5e1}.task-priority-card:active .task-priority-grip{cursor:grabbing}.promising-priority-card.priority-drop-target{transform:translateY(2px);box-shadow:inset 0 3px #818cf8,var(--shadow)}.promising-priority-grip{position:absolute!important;z-index:4!important;left:8px;top:12px;color:#64748b;font-size:18px;line-height:1;cursor:grab;pointer-events:none;-webkit-user-select:none;user-select:none}.promising-priority-card:hover .promising-priority-grip{color:#cbd5e1}.kanban-card .kc-name{font-weight:600;font-size:14px;word-break:break-word}.kanban-card .kc-sub{font-size:12px;color:var(--muted);margin-top:3px}.kanban-card .kc-foot{display:flex;align-items:center;justify-content:space-between;margin-top:9px;gap:6px}.kanban-card .kc-date{font-size:11px}.kanban-empty{text-align:center;color:var(--muted);font-size:12px;padding:18px 8px;border:1px dashed var(--border);border-radius:8px}.stagebar-wrap{width:100%;padding-top:32px}.stagebar-wrap.stage-required{position:relative;margin:4px 0 10px;padding:46px 10px 12px;border:2px solid #ef4444;border-radius:10px;background:#ef44441f;animation:stage-required-pulse 1.2s ease-in-out infinite}.stage-required-message{position:absolute;top:9px;left:0;right:0;text-align:center;color:#f87171;font-size:16px;line-height:1.2;font-weight:800;pointer-events:none}@keyframes stage-required-pulse{0%,to{box-shadow:0 0 #ef444429}50%{box-shadow:0 0 0 5px #ef444440}}.stagebar{display:flex;gap:4px;width:100%;align-items:center;min-height:14px;padding:5px;border-radius:9px;background:#0f172a2e}.stagebar-seg{flex:1;height:12px;border:1px solid rgba(255,255,255,.2);border-radius:5px;padding:0;cursor:pointer;position:relative;display:flex;align-items:center;justify-content:center;overflow:visible;transition:height .12s,filter .12s,box-shadow .12s,opacity .12s}.stagebar-tip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);padding:5px 8px;border:1px solid var(--stage-color);border-radius:6px;background:#1e293b;color:#f8fafc;font-size:12px;font-weight:750;line-height:1;white-space:nowrap;pointer-events:none;box-shadow:0 4px 12px #0f172a38}.stagebar-seg:first-child{border-radius:5px 4px 4px 5px}.stagebar-seg:last-child{border-radius:4px 5px 5px 4px}.stagebar:hover .stagebar-seg{height:14px}.stagebar-seg.hover{height:17px;filter:brightness(1.04);box-shadow:0 0 0 2px #ffffffbf;z-index:1}.stagebar-seg.active{height:16px;box-shadow:0 0 0 2px #ffffffd1,0 2px 5px #0f172a38}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.cal-head{font-size:12px;color:var(--muted);font-weight:600;text-align:center;padding:6px 0}.cal-cell{background:var(--surface);border:1px solid var(--border);border-radius:8px;min-height:96px;padding:6px}.cal-cell.other{background:#16202f;opacity:.6}.cal-cell.today{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.cal-date{font-size:12px;font-weight:600;margin-bottom:4px}.cal-ev{font-size:11px;padding:2px 6px;border-radius:5px;margin-bottom:3px;color:#fff;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kanban-card{position:relative}.client-star-toggle{width:30px;height:30px;padding:0;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:#94a3b8;font-size:21px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.client-star-toggle:hover:not(.active){color:#94a3b8;border-color:#64748b;background:#273449}.client-star-toggle.active:hover{color:#f59e0b;border-color:#f59e0b;background:#f59e0b2e}.client-star-toggle.active{color:#f59e0b;border-color:#f59e0b;background:#f59e0b1f}.client-star-toggle:disabled{cursor:wait;opacity:.72}.kanban-star{position:absolute!important;z-index:4!important;pointer-events:auto!important;top:4px;right:5px;width:32px;height:32px;color:#94a3b8;font-size:21px;line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.25)}.kanban-star.active{color:#f59e0b}button.kanban-star{border:0;padding:0;background:transparent;cursor:pointer}button.kanban-star:hover:not(.active){color:#94a3b8;transform:scale(1.08)}button.kanban-star.active:hover{color:#f59e0b;transform:scale(1.08)}.client-commercial-fields{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,.7fr) auto;gap:10px;align-items:end;margin:14px 0;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.kanban-commercial{margin-top:8px;display:grid;gap:6px}.kanban-commercial select,.kanban-commercial input{min-height:31px;padding:5px 7px;font-size:12px}.kanban-money{color:#22c55e;font-weight:700;font-size:12px}@media(max-width:720px){.client-commercial-fields{grid-template-columns:1fr}}.card-open-link{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;border-radius:inherit}.kanban-card>*:not(.card-open-link){position:relative;z-index:2;pointer-events:none}.kanban-card button,.kanban-card a:not(.card-open-link),.kanban-card input,.kanban-card select,.kanban-card textarea{pointer-events:auto}.kanban-card .kanban-commercial,.kanban-card .service-multiselect,.kanban-card .service-multiselect summary,.kanban-card .service-multiselect-trigger,.kanban-card .service-multiselect-menu,.kanban-card .service-multiselect-menu label{pointer-events:auto}.kanban-commercial{cursor:default}.card-open-link:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.client-row-link{color:inherit;text-decoration:none;display:inline-block}.client-row-link:hover{color:var(--primary);text-decoration:underline}.page-eyebrow{color:#818cf8;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:5px}.plan-heading h2,.funnel-heading h2{margin:0 0 5px;font-size:27px}.plan-heading p,.funnel-heading p{margin:0}.plan-load-warning{margin:14px 0;padding:11px 14px;border:1px solid #92400e;border-radius:var(--radius);background:#451a03;color:#fed7aa;font-size:12px;line-height:1.45}.plan-formula{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0 14px;padding:14px 18px;border:1px solid rgba(99,102,241,.45);border-radius:var(--radius);background:var(--primary-soft)}.plan-formula span{color:var(--muted);font-size:18px}.plan-formula strong{color:#a5b4fc;font-size:18px}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-metric{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:17px;box-shadow:var(--shadow)}.plan-metric.primary{background:linear-gradient(135deg,#222f48,#1e293b);border-color:#4f46e5}.pm-label{color:var(--muted);font-size:12px;font-weight:600}.pm-value{font-size:29px;font-weight:750;margin-top:10px;font-variant-numeric:tabular-nums}.pm-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:8px}.pm-meta b{color:var(--text)}.pm-meta span{color:#a5b4fc;font-weight:700}.pm-progress{height:6px;margin-top:12px;border-radius:999px;overflow:hidden;background:#111827}.pm-progress i{display:block;height:100%;border-radius:inherit;background:var(--primary)}.plan-note{margin-top:14px}.plan-note p{margin:7px 0 0;color:var(--muted);line-height:1.5}.plan-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.plan-edit-section+.plan-edit-section{margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}.plan-edit-section h4{margin:0 0 11px;font-size:14px}.month-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:26px 0 12px}.month-section-head h3{margin:0 0 3px;font-size:18px}.month-section-head p{margin:0;font-size:12px}.current-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.current-kpi{min-width:0;padding:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.current-kpi span,.current-kpi small{display:block;color:var(--muted)}.current-kpi span{min-height:31px;font-size:11px;font-weight:650;line-height:1.35}.current-kpi b{display:block;margin:7px 0 5px;font-size:22px;font-variant-numeric:tabular-nums}.current-kpi small{overflow:hidden;font-size:10px;white-space:nowrap;text-overflow:ellipsis}.month-legend{display:flex;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:11px}.month-legend span{display:inline-flex;align-items:center;gap:6px}.month-legend i{width:13px;height:13px;border:1px solid var(--border);border-radius:3px}.legend-workday{background:var(--surface)}.legend-weekend{background:#182234}.month-grid-wrap{position:relative;max-width:100%;overflow:auto;border-radius:var(--radius)}.month-grid-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums}.month-grid-table th,.month-grid-table td{width:54px;min-width:54px;height:48px;padding:7px 5px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface);text-align:center;font-size:11px}.month-grid-table thead th{position:sticky;top:0;z-index:4;height:55px;background:#202d42;color:var(--text)}.month-grid-table thead th b,.month-grid-table thead th small{display:block}.month-grid-table thead th b{font-size:13px}.month-grid-table thead th small{margin-top:2px;color:var(--muted);font-size:9px;font-weight:500;text-transform:uppercase}.month-grid-table .stage-col{position:sticky;left:0;z-index:3;width:190px;min-width:190px;padding-left:14px;background:#202d42;text-align:left;font-size:12px;white-space:nowrap}.month-grid-table thead .stage-col{z-index:7}.month-grid-table .weekend{background:#182234;color:#748399}.month-grid-table thead .weekend{background:#152033}.month-grid-table .today{box-shadow:inset 2px 0 #818cf8,inset -2px 0 #818cf8}.month-grid-table thead .today{color:#c7d2fe}.month-grid-table td.zero{color:#4b5b70}.month-grid-table td:not(.zero){color:#fff;font-weight:750}.month-grid-table .summary{position:sticky;z-index:5;width:82px;min-width:82px;font-weight:750}.month-grid-table .plan-col{right:82px;background:#252f46;color:#c7d2fe}.month-grid-table .fact-col{right:0;background:#172554;color:#fff}.month-grid-table thead .summary{z-index:8}.funnel-filters{display:flex;gap:10px}.funnel-filters input{width:170px}.source-legend{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 12px}.source-legend span{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;background:var(--surface);border:1px solid var(--border);border-radius:999px;color:var(--muted);font-size:11px}.source-legend i,.source-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.source-legend i.tel,.source-dot.tel{background:#38bdf8}.source-legend i.crm,.source-dot.crm{background:#22c55e}.funnel-conv{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}.funnel-conv-card{padding:13px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.funnel-conv-card span{display:block;color:var(--muted);font-size:10px;line-height:1.25}.funnel-conv-card b{display:block;margin-top:8px;font-size:24px;color:#a5b4fc}.funnel-table-wrap{overflow:auto;max-height:calc(100vh - 325px)}.funnel-daily-table{min-width:930px;font-variant-numeric:tabular-nums}.funnel-daily-table thead th{position:sticky;top:0;z-index:3;background:var(--surface)}.funnel-daily-table th:first-child,.funnel-daily-table td:first-child{position:sticky;left:0;z-index:2;background:var(--surface)}.funnel-daily-table thead th:first-child{z-index:4}.funnel-daily-table tbody tr{cursor:default}.funnel-daily-table tbody tr.weekend td{background:#182234;color:#7f8da0}.funnel-daily-table tbody tr.weekend td:first-child{background:#182234}.funnel-daily-table td.zero{color:#526074}.funnel-daily-table tfoot td{position:sticky;bottom:0;background:#111827;color:#fff;font-weight:750;border-top:1px solid #475569}.funnel-daily-table tfoot td:first-child{z-index:3;background:#111827;color:#a5b4fc}.funnel-footnote{font-size:11px;margin:10px 0 0}@media(max-width:1250px){.current-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-conv{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.plan-heading,.funnel-heading{align-items:flex-start;gap:14px;flex-direction:column}.plan-grid,.plan-edit-grid{grid-template-columns:1fr}.current-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.month-section-head{align-items:flex-start;flex-direction:column}.month-grid-table .stage-col{width:150px;min-width:150px}.funnel-filters{width:100%;flex-direction:column}.funnel-filters input{width:100%}.funnel-conv{grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-table-wrap{max-height:none}}.lpr-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;padding:10px 0 7px;border-top:1px solid var(--border)}.lpr-head>span{font-size:12px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.lpr-card{margin:10px 0;padding:13px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}.lpr-name{font-size:17px;font-weight:700}.lpr-card>div:last-child{border-bottom:0!important}.edit-lpr-add{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:10px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.edit-lpr-add>span{font-size:13px;font-weight:700}.lpr-plus{width:34px;height:34px;justify-content:center;padding:0;font-size:20px}.edit-lpr-block{margin:12px 0;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}.promising-stage-field{margin-top:9px;padding-top:9px;border-top:1px solid var(--border)}.promising-stage-field label{display:block;margin-bottom:5px;color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.promising-stage-field select{width:100%;min-height:36px;padding:6px 9px;font-size:12px;cursor:pointer}.recharts-cartesian-axis-tick-value{fill:var(--muted)}.recharts-legend-item-text{color:var(--text)!important}.recharts-default-tooltip{background:var(--surface)!important;border-color:var(--border)!important;border-radius:8px}.recharts-tooltip-label,.recharts-tooltip-item{color:var(--text)!important}.nav-toggle{display:none;background:none;border:none;color:var(--text);font-size:22px;line-height:1;cursor:pointer;padding:4px 8px;margin-left:-6px}.nav-backdrop{display:none}@media(max-width:1100px){.grid-2{grid-template-columns:1fr}.sidebar{width:200px}}@media(max-width:820px){.app{height:auto;min-height:100vh;overflow:visible}.main{overflow-y:visible}.nav-toggle{display:inline-flex;align-items:center}.sidebar{position:fixed;top:0;left:0;height:100vh;width:260px;z-index:300;transform:translate(-100%);transition:transform .22s ease;box-shadow:0 0 40px #00000080}.sidebar.open{transform:translate(0)}.nav-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#02061799;z-index:250}.topbar{height:54px;padding:0 14px;gap:10px}.topbar h1{font-size:16px}.content{padding:14px}.flex{flex-wrap:wrap}.kanban-col{flex-basis:82vw;width:82vw;max-height:none}.modal-body,.modal-head,.modal-foot{padding-left:16px;padding-right:16px}.overlay{padding:16px 10px}.stat .value{font-size:24px}}@media(max-width:560px){.row{flex-direction:column;gap:0}.cal-grid{gap:3px}.cal-cell{min-height:66px;padding:4px}.cal-date{font-size:11px}.stats{grid-template-columns:1fr 1fr}.card-pad{padding:14px}}
