﻿:root{--primary:#1f5fbf;--primary-soft:#e9f1ff;--accent:#0ea5a4;--bg:#f5f8fd;--surface:#fff;--surface-soft:#f7faff;--line:#d7e2f0;--text:#0f1f3a;--muted:#5c6f8a;--danger:#b42318;--radius-card:18px;--radius-control:12px}*{box-sizing:border-box}html,body{color:var(--text);background:radial-gradient(1200px 700px at 15% -10%,#dce8ff 0%,#dce8ff00 55%),linear-gradient(#f7fafe 0%,#edf3fb 100%);margin:0;padding:0;font-family:Arial,Helvetica Neue,Helvetica,sans-serif}.app-shell{grid-template-columns:248px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:linear-gradient(#0b1f3c 0%,#112748 100%);border-inline-end:1px solid #ffffff14;flex-direction:column;gap:9px;padding:18px;display:flex}.brand{letter-spacing:.2px;margin:4px 6px 14px;font-size:34px;font-weight:700}.nav-btn,.action-btn{cursor:pointer;border:none;transition:all .16s}.nav-btn{color:#dbe8ff;text-align:left;background:#ffffff0f;border:1px solid #ffffff14;border-radius:12px;padding:11px 14px;font-size:15px;font-weight:600}.nav-btn:hover{color:#fff;background:#ffffff1f}.nav-btn.active{color:#fff;background:linear-gradient(135deg,#2a66f0 0%,#2759d6 100%);border-color:#0000;box-shadow:0 8px 16px #2759d647}.action-btn{color:#fff;background:linear-gradient(135deg,#1f5fbf 0%,#1a4f9f 100%);border-radius:10px;padding:9px 13px;font-size:13px;font-weight:700;line-height:1.2;box-shadow:0 6px 14px #1440882e}.action-btn:hover{filter:brightness(1.04)}.action-btn:disabled,.action-btn.is-disabled{opacity:.45;cursor:not-allowed;filter:none;color:#eef2f7;box-shadow:none;background:#94a3b8}.main-panel{padding:26px}.panel-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);padding:18px 18px 16px;box-shadow:0 10px 26px #0f172a0d}.panel-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.panel-head h2{margin:0;font-size:44px;font-weight:700}.inline-tools{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.inline-tools .action-btn{flex:none}.wrap-tools{margin-top:10px}.grid{gap:18px;display:grid}.two-col{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.services-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px}.service-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;padding:16px;box-shadow:0 10px 24px #0f172a12}.service-card h3{margin:0 0 10px;font-size:20px}.service-meta{color:var(--muted);margin-top:5px;font-size:13px}.kv{border-bottom:1px solid #ebf0f6;grid-template-columns:180px 1fr;gap:8px;padding:6px 0;display:grid}.kv:last-child{border-bottom:none}.info-box,.report-box{border:1px solid var(--line);white-space:pre-wrap;background:#f7faff;border-radius:12px;margin-top:12px;padding:14px}.badge{background:var(--primary-soft);color:var(--primary);border-radius:999px;padding:4px 8px;font-size:12px;font-weight:600;display:inline-block}.error-box{color:var(--danger);background:#fff2f0;border:1px solid #ffc5be;border-radius:10px;margin:10px 0;padding:12px}.service-catalog-card{background:#fff;border-radius:16px;flex-direction:column;gap:10px;height:clamp(260px,36vh,340px);min-height:260px;max-height:340px;display:flex;overflow:visible;box-shadow:0 16px 34px #0f172a24}.service-card-head{flex:none;justify-content:space-between;align-items:center;gap:10px;display:flex}.service-card-fixed-head{z-index:2;background:#fff;border-bottom:1px solid #edf2f7;padding-bottom:8px;position:relative}.service-card-title{color:#0f172a;margin:0;font-size:17px;line-height:1.3}.service-card-desc{color:#475569;min-height:46px;margin:0;font-size:13px;line-height:1.45}.service-card-chips{flex-wrap:wrap;gap:6px;display:flex}.svc-chip{color:#1f3554;background:#f4f8ff;border:1px solid #d9e3f2;border-radius:999px;align-items:center;gap:4px;padding:5px 8px;font-size:12px;line-height:1.2;display:inline-flex}.service-card-kpis{gap:4px;display:grid}.kv.compact{grid-template-columns:110px 1fr;padding:4px 0}.service-card-actions{grid-template-columns:1fr;gap:7px;margin-top:auto;display:grid}.service-card-actions .action-btn{text-align:center;border-radius:8px;padding:8px 10px}.compact-service-card{gap:8px;height:clamp(260px,36vh,340px);min-height:0;padding:14px;position:relative;overflow:visible}.compact-service-card .service-card-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:0;max-height:40px;margin:0;font-size:15px;line-height:1.25;display:-webkit-box;overflow:hidden}.compact-service-card .service-card-desc{min-height:0;margin:0;padding-inline-end:2px;font-size:12px;line-height:1.4}.compact-service-card .service-card-id{margin-top:4px;font-size:10px}.compact-service-card .badge{padding:3px 7px;font-size:10px}.compact-service-kpis{grid-template-columns:1fr;gap:2px;max-height:none;padding-inline-end:2px;font-size:12px;display:grid;overflow:visible}.compact-service-card .kv.compact{grid-template-columns:72px 1fr;padding:2px 0;font-size:12px}.compact-service-chips{max-height:none;overflow:visible}.compact-service-chips .svc-chip{padding:3px 6px;font-size:10px}.service-menu-btn{border:1px solid var(--line);color:#0f172a;cursor:pointer;background:#fff;border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;font-size:20px;line-height:1;display:inline-flex;box-shadow:0 4px 10px #0f172a14}.service-card-menu{inset-inline-end:10px;z-index:70;border:1px solid var(--line);background:#fff;border-radius:12px;gap:8px;min-width:210px;max-height:220px;padding:8px;display:none;position:absolute;top:44px;overflow:auto;box-shadow:0 14px 30px #0f172a29}.service-card-menu.open{display:grid}.service-card-menu .action-btn{text-align:center;border-radius:8px;width:100%;padding:8px 10px;font-size:12px}.service-card-detail-scroll{-webkit-overflow-scrolling:touch;scrollbar-width:thin;overscroll-behavior:contain;border-top:1px solid #edf2f7;border-bottom:1px solid #edf2f7;gap:8px;min-height:92px;max-height:150px;padding:8px 8px 8px 0;display:grid;overflow:auto}.service-card-body-scroll{-webkit-overflow-scrolling:touch;scrollbar-width:thin;overscroll-behavior:contain;flex-direction:column;flex:auto;gap:8px;min-height:0;padding:8px 8px 8px 0;display:flex;overflow-y:auto}.service-card-body-scroll:focus{outline-offset:2px;border-radius:10px;outline:2px solid #2a66f033}.service-card-main-content{gap:8px;min-height:0;display:grid}.service-card-detail-scroll:focus{outline-offset:2px;border-radius:10px;outline:2px solid #2a66f033}.service-detail-section{color:#41516a;gap:3px;font-size:12px;line-height:1.35;display:grid}.service-detail-section strong{color:#0f2a4f;text-transform:uppercase;letter-spacing:.03em;font-size:11px}.clients-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px}.compact-client-card{background:#fff;border-radius:16px;position:relative;box-shadow:0 12px 28px #0f172a1a}.client-card-scroll{min-height:110px;max-height:170px}.client-contacts-inline{grid-template-columns:1fr;gap:10px;margin-top:4px}.client-contact-card{background:#f9fbff;border:1px solid #dbe6f4;border-radius:14px;gap:8px;min-height:0;padding:10px;display:grid;position:relative;box-shadow:0 8px 18px #0f172a0f}.client-contact-card .service-card-title{font-size:13px;line-height:1.25}.client-contact-card .service-card-id{font-size:10px}.client-card-menu{inset-inline-end:10px;z-index:80;border:1px solid var(--line);background:#fff;border-radius:12px;gap:8px;min-width:180px;max-height:220px;padding:8px;display:none;position:absolute;top:44px;overflow:auto;box-shadow:0 14px 30px #0f172a29}.client-card-menu.open{display:grid}.client-card-menu .action-btn{text-align:center;border-radius:8px;width:100%;padding:8px 10px;font-size:12px}.compact-empty{margin:0;padding:8px;font-size:12px}.wf-subtabs{align-items:center;margin:8px 0 12px}.wf-subtab-panel{display:none!important}.wf-subtab-panel.active{display:block!important}.wf-subtab-panel.inline-tools.active{display:flex!important}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.reports-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid label{color:#334155;flex-direction:column;gap:5px;font-size:13px;font-weight:600;display:flex}.form-grid input,.form-grid select,.service-card textarea{border:1px solid var(--line);border-radius:var(--radius-control);color:#0f172a;background:#fff;min-height:42px;padding:10px 12px;font-size:14px}.form-grid input:focus,.form-grid select:focus,.service-card textarea:focus{border-color:#99b8ff;outline:2px solid #2a66f033}.service-card textarea{resize:vertical;box-sizing:border-box;width:100%;min-height:84px}.cta-btn{display:none!important}.cta-btn.visible{display:inline-flex!important}.cta-primary{background:#2a66f0}.wf-tabs{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.wf-tab{border:1px solid var(--line);color:#1e293b;cursor:pointer;background:#eef3fb;border-radius:999px;padding:8px 14px;font-weight:600}.wf-tab.active{color:#fff;background:#2a66f0;border-color:#2a66f0}.wf-panel{display:none}.wf-panel.active{display:block}.wf-stack{grid-template-columns:1fr;gap:12px;display:grid}.wf-action-layout{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;display:grid;position:relative}.wf-panel .action-btn{border-radius:8px;padding:8px 11px;font-size:13px}.wf-action-stack{inset-inline-end:0;z-index:60;border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:1fr;justify-self:end;gap:8px;max-width:280px;padding:8px;display:none;position:absolute;top:46px;box-shadow:0 14px 30px #0f172a29}.wf-action-stack.mobile-open{display:grid}.wf-action-stack .action-btn{text-align:center;width:100%}.mobile-actions-toggle{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1f5fbf 0%,#1a4f9f 100%);border:none;border-radius:999px;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;line-height:1;display:inline-flex;box-shadow:0 6px 14px #14408833}.wf-actions-head{gap:8px;margin-bottom:10px;display:grid}.wf-next-step{color:#6b7280;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:8px;padding:8px 10px;font-size:12px}.wf-print-row-inline{grid-template-columns:1fr 160px;max-width:360px}.wf-print-row{grid-column:1/-1;grid-template-columns:1fr 170px;align-items:end;gap:10px;display:grid}.wf-print-lang{flex-direction:column;gap:6px;font-size:13px;display:flex}.wf-print-lang select{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px}.wf-action-layout .form-grid select{max-width:100%;height:42px;font-size:13px}.wf-action-layout .form-grid label span{font-size:12px}.form-grid label.full{grid-column:1/-1}.wf-task-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.wf-history-grid{gap:8px;display:grid}.wf-history-row{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:200px 1.2fr 1fr 1fr 120px 120px;gap:8px;padding:10px;font-size:12px;display:grid}.wf-history-row strong{font-size:12px}.dashboard-entity-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.dashboard-entity-grid .wf-history-grid{gap:10px}.dashboard-entity-grid .wf-history-row{background:0 0;border:0;padding:0;display:block}.dash-entity-card{border:1px solid var(--line);background:#fff;border-radius:12px;gap:8px;min-height:0;max-height:180px;padding:10px 12px;display:grid;overflow:auto}.dash-entity-row{align-items:center;gap:8px;display:grid}.dash-entity-top{grid-template-columns:minmax(120px,auto) 1fr auto}.dash-entity-id{color:#0f2a4f;letter-spacing:.02em;font-size:13px;font-weight:800}.dash-entity-service{color:#1f3658;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;line-height:1.3;overflow:hidden}.dash-entity-mid{grid-template-columns:1fr auto}.dash-client-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.dash-client-id{color:#64748b;font-size:12px;font-weight:700}.dash-entity-bottom{grid-template-columns:auto 1fr}.dash-assignee-label{color:#64748b;font-size:12px;font-weight:700}.dash-assignee-name{color:#0f2a4f;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:700;overflow:hidden}.dash-entity-actions{position:relative}.action-menu-btn{border:1px solid var(--line);color:#1e3a5f;cursor:pointer;background:#fff;border-radius:10px;min-width:32px;height:32px;padding:0 8px;font-size:18px;line-height:1}.action-menu-btn:hover{background:#f8fbff}.dash-menu{z-index:20;border:1px solid var(--line);background:#fff;border-radius:10px;padding:6px;display:none;position:absolute;top:36px;right:0;box-shadow:0 12px 28px #0f172a24}.dash-entity-actions.open .dash-menu{display:block}.dash-menu .action-btn{text-align:left;width:100%;min-width:130px;margin:0 0 6px;display:block}.dash-menu .action-btn:last-child{margin-bottom:0}.task-row-card{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:1.4fr 1fr 1fr 1fr auto;gap:8px;padding:10px;display:grid;position:relative}.task-row-menu-btn{color:#fff;cursor:pointer;background:#1f5fbf;border:none;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.task-row-menu{top:42px;z-index:30;border:1px solid var(--line);background:#fff;border-radius:10px;min-width:170px;padding:6px;display:none;position:absolute;inset-inline-end:10px;box-shadow:0 12px 24px #0f172a24}.task-row-menu.open{gap:6px;display:grid}.task-row-menu .action-btn{text-align:left;width:100%}.task-actions-log{gap:8px;display:grid}.task-action-row{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:120px 140px 1fr 140px 1.6fr;gap:8px;padding:10px;font-size:12px;display:grid}.task-action-row strong{font-size:12px}.tasks-module{padding:22px 22px 18px}.tasks-tabs{gap:10px;margin-bottom:16px}.tasks-tabs .wf-tab{padding:9px 16px;font-size:14px;font-weight:700}.tasks-card{background:linear-gradient(#f8fbff 0%,#f5f9ff 100%);border-radius:16px;padding:16px 16px 14px}.tasks-card+.tasks-card{margin-top:2px}.tasks-module .wf-panel{padding-top:2px}.tasks-module h3{letter-spacing:.1px;color:#132341;margin:0 0 12px;font-size:28px;font-weight:700;line-height:1.15}.tasks-module .form-grid{gap:14px}.tasks-module .form-grid label{letter-spacing:.02em;color:#4a5f7f;font-size:12px}.tasks-module .form-grid input,.tasks-module .form-grid select,.tasks-module .form-grid textarea{background:#fff;border-color:#cfdcf0;border-radius:12px;min-height:44px}.tasks-module .inline-tools{gap:9px}.tasks-module .action-btn{border-radius:9px;box-shadow:0 4px 10px #14408824}.tasks-module .report-box{border-radius:10px;margin-top:10px}.tasks-module .wf-history-grid{gap:10px}.task-row-card{background:#fff;border-radius:12px;align-items:start;padding:12px}.task-row-card strong{color:#0f2a4f;font-size:13px}.task-row-card>div{color:#334155;font-size:13px}.task-row-menu-btn{width:32px;height:32px;font-size:18px;box-shadow:0 4px 10px #14408824}.task-row-menu{border-radius:11px;padding:7px;top:38px}.task-row-menu .action-btn{text-align:center;padding:8px 10px;font-size:12px}.task-actions-log{gap:10px}.task-action-row{background:#fff;border-radius:12px;padding:12px}.task-action-row strong{letter-spacing:.02em;text-transform:uppercase;color:#60738f;font-size:11px}.task-action-row div{line-height:1.35}.admin-panel{display:none}.admin-panel.active{display:block}.reports-grid-wrap{border:1px solid var(--line);background:#fff;border-radius:10px;max-width:100%;overflow:auto}.reports-grid-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:1480px}.reports-grid-table th,.reports-grid-table td{white-space:nowrap;vertical-align:top;border-bottom:1px solid #e8eef7;border-right:1px solid #edf2fa;padding:6px 8px}.reports-grid-table th{color:#16325c;z-index:1;background:#eef4ff;font-size:12px;font-weight:700;position:sticky;top:0}.reports-grid-table td:last-child,.reports-grid-table th:last-child{border-right:none}.reports-grid-table tr:last-child td{border-bottom:none}.reports-grid-table td input{background:#fff;border:1px solid #d4dfef;border-radius:7px;width:auto;min-width:10ch;max-width:none;padding:7px 8px;font-size:12px}.reports-grid-table td input:focus{border-color:#92b3ff;outline:2px solid #2a66f033}.report-summary-cards{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:10px;display:grid}.report-summary-card{grid-template-rows:auto auto;gap:10px;padding:12px;display:grid}.report-summary-top{gap:8px;display:grid}.report-summary-id{color:#0f4c81;font-size:13px;font-weight:700}.report-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.report-summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.report-summary-cell{background:#fff;border:1px solid #e1eaf5;border-radius:8px;flex-direction:column;gap:4px;min-height:56px;padding:8px;display:flex}.report-summary-cell strong{color:#475569;font-size:11px}.report-summary-cell span{color:#0f172a;white-space:normal;overflow-wrap:anywhere;word-break:break-word;font-size:13px;font-weight:600}.report-summary-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.report-summary-actions .action-btn{text-align:center;width:100%}input[type=text],input[type=number],select,textarea{max-width:100%}select{appearance:auto}.panel-card .action-btn,.service-card .action-btn{white-space:nowrap}.service-card .inline-tools .action-btn{max-width:100%}button.action-btn{text-overflow:ellipsis;overflow:hidden}@media (max-width:980px){.wf-action-layout{grid-template-columns:1fr auto}.wf-action-stack{max-width:min(280px,88vw)}}html[dir=rtl] .app-shell,.app-shell[data-dir=rtl]{direction:rtl}html[dir=rtl] .sidebar .nav-btn,.app-shell[data-dir=rtl] .sidebar .nav-btn{text-align:right}html[dir=rtl] .kv,.app-shell[data-dir=rtl] .kv{grid-template-columns:1fr 180px}@media (max-width:1100px){.services-grid,.dashboard-entity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:960px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:40;flex-flow:wrap;position:sticky;top:0}.main-panel{padding:14px}.form-grid{grid-template-columns:1fr}.panel-head h2{font-size:34px}}@media (max-width:980px){.wf-history-row{grid-template-columns:1fr}.dash-entity-top{grid-template-columns:1fr auto}.dash-entity-service{white-space:normal}.task-row-card,.task-action-row{grid-template-columns:1fr}}@media (max-width:760px){.services-grid,.dashboard-entity-grid,.wf-print-row{grid-template-columns:1fr}.panel-head h2{font-size:30px}.nav-btn{width:calc(50% - 6px)}.brand{width:100%;font-size:28px}.inline-tools{gap:8px}.action-btn{max-width:100%;padding:8px 10px;font-size:12px}.wf-action-layout{position:relative}.wf-action-stack{z-index:60;border:1px solid var(--line);inset-inline-end:0;background:#fff;border-radius:12px;width:min(260px,88vw);padding:8px;position:absolute;top:46px;box-shadow:0 14px 30px #0f172a29}.wf-action-stack.mobile-open{display:grid}.wf-action-stack .action-btn{padding:8px 10px;font-size:12px}.wf-action-layout .form-grid{order:1}.wf-print-row-inline{grid-template-columns:1fr}.tasks-module{padding:14px}.tasks-module h3{font-size:23px}.tasks-tabs .wf-tab{padding:8px 12px;font-size:13px}.tasks-card{padding:13px 12px 12px}.task-row-menu{margin-top:8px;position:static}.report-summary-grid,.report-summary-metrics,.report-summary-actions{grid-template-columns:1fr}}.hidden{display:none!important}.inline-checkbox{color:var(--text,#10213f);align-items:center;gap:6px;font-weight:700;display:inline-flex}.inline-checkbox input{width:auto;min-height:auto}html,body{-webkit-text-size-adjust:100%;width:100%;min-height:100%;overflow-x:hidden}body{touch-action:manipulation}#app,.app-shell,.main-panel,.panel-card,.service-card{min-width:0;max-width:100%}.main-panel{width:100%}.panel-card{overflow:hidden}.form-grid>label,.grid>*,.wf-panel,.wf-stack{min-width:0}input,select,textarea,button{font:inherit}input[type=text],input[type=number],input[type=date],select,textarea{width:100%;min-width:0}.service-card,.dash-entity-card,.task-row-card,.task-action-row,.report-summary-card{overflow-wrap:anywhere;word-break:normal}.services-grid,.dashboard-entity-grid,.clients-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.service-catalog-card{height:clamp(260px,36vh,340px);max-height:340px;overflow:visible}.compact-client-card{max-height:clamp(220px,36vh,340px);overflow:visible}.dash-entity-card{max-height:clamp(220px,36vh,340px);overflow:auto}.service-card-desc,.compact-service-kpis{scrollbar-width:thin}.reports-grid-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.wf-tabs,.tasks-tabs{-webkit-overflow-scrolling:touch;padding-bottom:2px;overflow-x:auto}.wf-tab{white-space:nowrap;flex:none}.inline-tools{min-width:0}.inline-tools>*{max-width:100%}@media (max-width:900px){.services-grid,.dashboard-entity-grid,.clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-entry-grid,.two-col,.wf-action-layout{grid-template-columns:1fr}.wf-action-stack{width:100%;max-width:none;box-shadow:none;justify-self:stretch;margin-top:8px;position:static}.wf-action-stack.mobile-open{display:grid}.mobile-actions-toggle{justify-self:start}}@media (max-width:640px){html,body{font-size:15px}input[type=text],input[type=number],input[type=date],select,textarea{min-height:44px;font-size:16px}.app-shell{min-height:100vh;display:block}.sidebar{z-index:100;-webkit-overflow-scrolling:touch;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:44vh;padding:10px;display:grid;position:sticky;top:0;overflow:auto}.brand{grid-column:1/-1;margin:0 0 4px;font-size:24px;line-height:1.1}.nav-btn{text-align:center;width:100%;padding:10px 11px;font-size:13px}.main-panel{padding:10px}.panel-card{border-radius:14px;padding:12px;box-shadow:0 6px 18px #0f172a0d}.panel-head{flex-direction:column;align-items:flex-start;gap:8px}.panel-head h2{font-size:30px;line-height:1.05}.inline-tools{flex-wrap:wrap;width:100%;display:flex}.inline-tools .action-btn{flex:auto;min-width:min(150px,100%)}.form-grid,.reports-entry-grid,.two-col{grid-template-columns:1fr;gap:10px}.form-grid label.full{grid-column:auto}.services-grid,.dashboard-entity-grid,.clients-grid{grid-template-columns:1fr}.service-card{border-radius:12px;padding:11px}.service-catalog-card{height:280px;max-height:280px}.compact-client-card{max-height:280px}.dash-entity-card{max-height:280px;overflow:auto}.kv,.kv.compact,html[dir=rtl] .kv,.app-shell[data-dir=rtl] .kv{grid-template-columns:1fr;gap:2px}.wf-tabs,.tasks-tabs{flex-wrap:nowrap;gap:8px;margin-inline:-2px;display:flex}.wf-tab{padding:8px 12px;font-size:13px}.wf-history-row,.task-row-card,.task-action-row{grid-template-columns:1fr}.task-row-menu,.service-card-menu,.client-card-menu,.dash-menu{width:100%;max-width:100%;box-shadow:none;margin-top:8px;position:static}.report-summary-cards,.report-summary-grid,.report-summary-metrics,.report-summary-actions{grid-template-columns:1fr}.reports-grid-table{min-width:900px}.action-btn{white-space:normal;min-height:38px}}@media (max-width:380px){.sidebar{grid-template-columns:1fr;max-height:50vh}.panel-head h2{font-size:26px}.reports-grid-table{min-width:760px}}.report-builder-card{box-shadow:0 14px 34px #0f172a1a}.report-builder-block-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0 14px;display:grid}.report-builder-block-option{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:14px;align-items:flex-start;gap:10px;min-height:86px;padding:12px;display:flex;box-shadow:0 8px 18px #0f172a0f}.report-builder-block-option input{width:auto;min-height:auto;margin-top:2px}.report-builder-block-option strong{color:var(--text);font-size:13px;line-height:1.25;display:block}.report-builder-block-option small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.35;display:block}.report-builder-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}@media (max-width:900px){.report-builder-block-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-builder-preview{grid-template-columns:1fr}}@media (max-width:640px){.report-builder-block-grid{grid-template-columns:1fr}.report-builder-block-option{min-height:72px}}.crm-actor-badge{color:#e8f1ff;background:#ffffff14;border:1px solid #ffffff1f;border-radius:14px;gap:4px;margin:-6px 4px 10px;padding:10px 12px;display:grid}.crm-actor-caption{text-transform:uppercase;letter-spacing:.08em;color:#9fb5d6;font-size:10px;font-weight:800}.crm-actor-name{word-break:break-word;font-size:13px;font-weight:800;line-height:1.25}.crm-actor-switch{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:999px;justify-self:start;padding:5px 8px;font-size:11px}.crm-auth-gate{background:linear-gradient(#fff 0%,#f7faff 100%);place-items:center;min-height:calc(100vh - 52px);display:grid}.crm-auth-card{text-align:start;gap:14px;width:min(520px,100%);display:grid}.crm-auth-icon{color:#1f5fbf;background:#e9f1ff;border-radius:18px;place-items:center;width:54px;height:54px;font-size:26px;display:grid;box-shadow:0 12px 26px #1f5fbf1f}.crm-auth-card h2{color:#0f1f3a;margin:0;font-size:34px;line-height:1.1}.crm-auth-card p{color:#5c6f8a;margin:0;font-size:15px;line-height:1.5}.crm-auth-card label{color:#334155;gap:6px;font-size:13px;font-weight:800;display:grid}.crm-auth-card input{border:1px solid var(--line);color:#0f172a;background:#fff;border-radius:14px;width:100%;min-height:48px;padding:12px 14px;font-size:16px}.crm-auth-actions{margin-top:2px}.action-btn.secondary{color:#1f3554;box-shadow:none;background:#e8eef7}@media (max-width:640px){.crm-auth-gate{min-height:calc(100vh - 210px);padding:12px}.crm-auth-card h2{font-size:28px}.crm-actor-badge{margin:2px 0 8px}}.brand{white-space:normal;word-break:normal;align-content:start;gap:2px;line-height:1.05;display:grid;overflow:hidden}.brand-name{letter-spacing:.01em;font-size:30px;font-weight:800;display:block}.brand-version{color:#fff;font-size:26px;font-weight:800;display:block}.services-grid,.dashboard-entity-grid,.clients-grid{align-items:stretch;gap:24px}.service-card{box-shadow:0 16px 36px #0f172a1a}.service-catalog-card{background:#fff;border:1px solid #dfe8f5;border-radius:18px;flex-direction:column;height:clamp(330px,42vh,430px);min-height:330px;max-height:430px;padding:0;display:flex;position:relative;overflow:visible;box-shadow:0 18px 42px #0f172a24,0 2px 8px #0f172a0f}.compact-service-card{gap:0;height:clamp(330px,42vh,430px);min-height:330px;max-height:430px;padding:0}.service-card-head.service-card-fixed-head,.service-catalog-card>.service-card-head{z-index:4;background:#fff;border-bottom:1px solid #edf2f7;border-radius:18px 18px 0 0;flex:none;min-height:52px;padding:13px 14px 10px}.service-card-id{color:#64748b;letter-spacing:.04em;font-size:11px;font-weight:800}.service-card-body-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;flex:auto;gap:12px;height:auto;min-height:0;max-height:none;padding:14px 16px 16px;display:flex;overflow:hidden auto}.service-card-body-scroll::-webkit-scrollbar{width:8px}.service-card-body-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.service-card-main-content{align-content:start;gap:10px;min-height:auto;display:grid}.compact-service-card .service-card-title,.service-card-title{-webkit-line-clamp:unset;-webkit-box-orient:initial;color:#0f172a;min-height:0;max-height:none;margin:0;font-size:16px;font-weight:800;line-height:1.35;display:block;overflow:visible}.compact-service-card .service-card-desc,.service-card-desc{color:#475569;min-height:0;margin:0;font-size:13px;line-height:1.45}.compact-service-kpis{gap:3px;overflow:visible}.service-card-bottom-details{border-top:1px solid #edf2f7;gap:10px;margin-top:auto;padding-top:10px;display:grid}.service-detail-section{gap:4px;font-size:12px;line-height:1.42}.service-menu-btn{z-index:5;position:relative;box-shadow:0 8px 20px #0f172a1a}.service-card-menu{top:46px;inset-inline-end:12px}.compact-client-card{height:clamp(330px,42vh,430px);min-height:330px;max-height:430px;padding:0}.client-card-scroll{flex:auto;min-height:0;max-height:none;padding:14px 16px 16px;overflow-y:auto}.client-contact-card{box-shadow:0 10px 22px #0f172a14}.dash-entity-card{box-shadow:0 12px 28px #0f172a17}.view-refresh-btn{margin-inline-start:auto}.panel-head .view-refresh-btn{flex:none}@media (max-width:1100px){.services-grid,.dashboard-entity-grid,.clients-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}@media (max-width:640px){.brand-name{font-size:22px}.brand-version{font-size:20px}.services-grid,.dashboard-entity-grid,.clients-grid{grid-template-columns:1fr;gap:16px}.service-catalog-card,.compact-service-card,.compact-client-card{height:360px;min-height:320px;max-height:360px}.service-card-body-scroll,.client-card-scroll{padding:13px 14px 15px}}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.panel-head>.inline-tools{justify-content:flex-end;margin-inline-start:auto}.view-refresh-btn,#refreshWorkflowBtn,#refreshTasksBtn,#refreshReportsBtn,#refreshAdminBtn{min-width:92px}.reports-main-tabs{margin-bottom:8px}.reports-nested-tabs{background:#f8fbff;border:1px solid #dbe7f6;border-radius:16px;margin:0 0 12px;padding:8px}.section-inline-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-top:12px;display:flex}.section-inline-head h4{margin:0 0 3px}.section-inline-head p{margin:0}.report-builder-custom-section{border-top:1px solid #e7eef8;margin-top:12px;padding-top:12px}.report-builder-custom-rows{gap:10px;margin-top:10px;display:grid}.report-builder-custom-row{background:#fff;border:1px solid #dfe8f5;border-radius:14px;grid-template-columns:1fr 1.4fr 120px auto;align-items:end;gap:10px;padding:12px;display:grid;box-shadow:0 8px 18px #0f172a0d}.report-builder-custom-row label{color:#334155;gap:6px;font-size:12px;font-weight:800;display:grid}.report-builder-custom-row input,.report-builder-custom-row textarea{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;min-height:40px;padding:10px}.report-builder-custom-row .full{grid-column:1/-2}.crm-otp-step{gap:10px;margin-top:6px;display:grid}.crm-busy-modal{z-index:9999;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f1f3a5c;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.crm-busy-modal.hidden{display:none!important}.crm-busy-card{text-align:center;background:#fff;border:1px solid #dbe7f6;border-radius:22px;gap:12px;width:min(440px,100%);padding:24px;display:grid;box-shadow:0 26px 70px #0f172a47}.crm-busy-card h3{color:#10213f;margin:0;font-size:22px}.crm-busy-card p{color:#5c6f8a;margin:0;line-height:1.5}.crm-busy-spinner{border:4px solid #e7eef8;border-top-color:#1f5fbf;border-radius:999px;width:44px;height:44px;margin:0 auto;animation:1s linear infinite crmSpin}.crm-busy-progress{background:#e7eef8;border-radius:999px;height:8px;overflow:hidden}.crm-busy-progress span{background:linear-gradient(90deg,#1f5fbf,#0ea5a4);border-radius:999px;width:42%;height:100%;animation:1.35s ease-in-out infinite crmSlide;display:block}@keyframes crmSpin{to{transform:rotate(360deg)}}@keyframes crmSlide{0%{transform:translate(-120%)}50%{transform:translate(90%)}to{transform:translate(240%)}}@media (max-width:760px){.panel-head{align-items:flex-start}.panel-head>.inline-tools{justify-content:stretch;width:100%}.panel-head>.inline-tools>*{flex:160px}.report-builder-custom-row{grid-template-columns:1fr}.report-builder-custom-row .full{grid-column:1}.section-inline-head .action-btn{width:100%}.reports-nested-tabs{flex-wrap:nowrap;overflow-x:auto}.reports-nested-tabs .wf-tab{white-space:nowrap}}html.crm-mobile,html.crm-mobile body{touch-action:manipulation;-webkit-text-size-adjust:100%;width:100%;max-width:100%;overflow-x:hidden}html.crm-mobile body{background:linear-gradient(#f7fafe 0%,#edf3fb 100%)}html.crm-mobile .app-shell{direction:inherit;width:100%!important;max-width:100%!important;min-height:100vh!important;display:block!important;overflow-x:hidden!important}html.crm-mobile .sidebar{z-index:20;box-shadow:0 8px 22px #08173024;top:auto!important;border-inline-end:0!important;border-bottom:1px solid #ffffff1a!important;flex-flow:wrap!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:100%!important;min-height:0!important;padding:10px 10px 12px!important;display:flex!important;position:relative!important;inset:auto!important}html.crm-mobile .brand{flex:1 0 100%!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;margin:0!important;font-size:0!important;line-height:1!important;display:flex!important}html.crm-mobile .brand-name{letter-spacing:.2px!important;font-size:20px!important;font-weight:900!important;line-height:1.05!important}html.crm-mobile .brand-version{opacity:.92!important;font-size:18px!important;font-weight:800!important;line-height:1.05!important}html.crm-mobile .crm-actor-badge{order:2;border-radius:12px!important;flex:1 0 100%!important;grid-template-columns:1fr auto!important;align-items:center!important;column-gap:8px!important;margin:0!important;padding:8px 10px!important}html.crm-mobile .crm-actor-caption{grid-column:1/-1!important;font-size:9px!important;line-height:1.1!important}html.crm-mobile .crm-actor-name{overflow-wrap:anywhere!important;font-size:12px!important;line-height:1.2!important}html.crm-mobile .crm-actor-switch{place-self:center end!important;min-height:30px!important}html.crm-mobile .nav-btn{text-align:center!important;white-space:normal!important;border-radius:12px!important;flex:calc(33.333% - 8px)!important;order:3!important;justify-content:center!important;align-items:center!important;width:auto!important;min-width:86px!important;min-height:40px!important;padding:10px 8px!important;font-size:13px!important;line-height:1.15!important;display:inline-flex!important}html.crm-mobile .main-panel{width:100%!important;min-width:0!important;max-width:100%!important;padding:10px!important;overflow-x:hidden!important}html.crm-mobile #viewRoot{width:100%!important;min-width:0!important;max-width:100%!important;overflow-x:hidden!important}html.crm-mobile .panel-card{border-radius:16px!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:12px!important;overflow:hidden!important;box-shadow:0 8px 22px #0f172a12!important}html.crm-mobile .panel-head{grid-template-columns:1fr!important;align-items:start!important;gap:10px!important;margin-bottom:12px!important;display:grid!important}html.crm-mobile .panel-head h1,html.crm-mobile .panel-head h2{overflow-wrap:anywhere!important;margin:0!important;font-size:28px!important;line-height:1.05!important}html.crm-mobile .panel-head>.inline-tools,html.crm-mobile .inline-tools{flex-wrap:wrap!important;justify-content:stretch!important;align-items:center!important;gap:8px!important;width:100%!important;display:flex!important}html.crm-mobile .inline-tools>*{min-width:0!important}html.crm-mobile .view-refresh-btn,html.crm-mobile #refreshWorkflowBtn,html.crm-mobile #refreshTasksBtn,html.crm-mobile #refreshReportsBtn,html.crm-mobile #refreshAdminBtn{flex:none!important;width:auto!important;min-width:88px!important}html.crm-mobile .grid,html.crm-mobile .two-col,html.crm-mobile .form-grid,html.crm-mobile .services-grid,html.crm-mobile .clients-grid,html.crm-mobile .dashboard-entity-grid,html.crm-mobile .report-summary-cards,html.crm-mobile .report-summary-grid,html.crm-mobile .report-summary-metrics,html.crm-mobile .report-summary-actions{grid-template-columns:1fr!important;gap:12px!important;width:100%!important;min-width:0!important;max-width:100%!important;display:grid!important}html.crm-mobile .form-grid label,html.crm-mobile label{min-width:0!important;max-width:100%!important}html.crm-mobile input,html.crm-mobile select,html.crm-mobile textarea{width:100%!important;min-width:0!important;max-width:100%!important;min-height:44px!important;font-size:16px!important}html.crm-mobile textarea{min-height:92px!important}html.crm-mobile .action-btn,html.crm-mobile button{white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important}html.crm-mobile .wf-tab,html.crm-mobile .reports-main-tabs .wf-tab,html.crm-mobile .reports-nested-tabs .wf-tab{text-align:center!important;flex:auto!important;min-width:max-content!important}html.crm-mobile .wf-subtabs,html.crm-mobile .reports-main-tabs,html.crm-mobile .reports-nested-tabs,html.crm-mobile .tasks-tabs{-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;flex-wrap:nowrap!important;gap:8px!important;width:100%!important;padding-bottom:4px!important;display:flex!important;overflow-x:auto!important}html.crm-mobile .wf-panel,html.crm-mobile .tasks-card,html.crm-mobile .info-box,html.crm-mobile .report-box{overflow-wrap:anywhere!important;width:100%!important;min-width:0!important;max-width:100%!important}html.crm-mobile .service-catalog-card,html.crm-mobile .compact-service-card,html.crm-mobile .compact-client-card{border-radius:16px!important;width:100%!important;min-width:0!important;height:auto!important;min-height:280px!important;max-height:72vh!important;padding:0!important;overflow:hidden!important;box-shadow:0 14px 30px #0f172a1f!important}html.crm-mobile .service-card-fixed-head,html.crm-mobile .service-card-head{z-index:4!important;background:#fff!important;border-bottom:1px solid #edf2f7!important;margin:0!important;padding:12px 12px 8px!important;position:sticky!important;top:0!important}html.crm-mobile .service-card-body-scroll,html.crm-mobile .client-card-scroll{-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;min-height:210px!important;max-height:calc(72vh - 70px)!important;padding:12px!important;overflow:hidden auto!important}html.crm-mobile .service-card-title{overflow-wrap:anywhere!important;max-height:none!important;font-size:16px!important;line-height:1.28!important;display:block!important;overflow:visible!important}html.crm-mobile .service-card-desc,html.crm-mobile .service-detail-section{overflow-wrap:anywhere!important;font-size:13px!important;line-height:1.45!important}html.crm-mobile .service-card-chips,html.crm-mobile .compact-service-chips{flex-wrap:wrap!important;gap:6px!important;max-height:none!important;display:flex!important;overflow:visible!important}html.crm-mobile .svc-chip{white-space:normal!important;font-size:11px!important;line-height:1.25!important}html.crm-mobile .dash-entity-card,html.crm-mobile .task-row-card,html.crm-mobile .task-action-row,html.crm-mobile .wf-history-row,html.crm-mobile .report-summary-card{overflow-wrap:anywhere!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;max-height:none!important;display:grid!important;overflow:visible!important}html.crm-mobile .dash-entity-row,html.crm-mobile .dash-entity-top,html.crm-mobile .dash-entity-mid,html.crm-mobile .dash-entity-bottom{grid-template-columns:1fr!important;gap:4px!important;display:grid!important}html.crm-mobile .dash-entity-service,html.crm-mobile .dash-client-name,html.crm-mobile .dash-assignee-name{white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere!important;overflow:visible!important}html.crm-mobile .kv,html.crm-mobile .kv.compact,html.crm-mobile .app-shell[data-dir=rtl] .kv,html.crm-mobile html[dir=rtl] .kv{grid-template-columns:1fr!important;gap:3px!important}html.crm-mobile .reports-grid-wrap{-webkit-overflow-scrolling:touch!important;width:100%!important;max-width:100%!important;overflow-x:auto!important}html.crm-mobile .reports-grid-table{width:max-content!important;min-width:860px!important}html.crm-mobile .report-builder-custom-row{grid-template-columns:1fr!important;width:100%!important}html.crm-mobile .report-builder-custom-row .full{grid-column:1!important}html.crm-mobile .wf-action-layout{width:100%!important;display:block!important}html.crm-mobile .wf-action-stack{top:auto!important;width:100%!important;max-width:100%!important;box-shadow:none!important;background:0 0!important;border:0!important;flex-wrap:wrap!important;gap:8px!important;margin-bottom:10px!important;padding:0!important;display:flex!important;position:relative!important;inset:auto!important}html.crm-mobile .wf-action-stack .action-btn{flex:140px!important}html.crm-mobile .wf-print-row,html.crm-mobile .wf-print-row-inline{grid-template-columns:1fr!important;max-width:100%!important}html.crm-mobile .crm-busy-modal{place-items:center!important;padding:12px!important}html.crm-mobile .crm-busy-card{border-radius:18px!important;width:min(94vw,420px)!important;padding:18px!important}html.crm-mobile .crm-auth-gate{min-height:calc(100vh - 190px)!important;padding:14px!important}html.crm-mobile .crm-auth-card{width:100%!important;max-width:420px!important}@media (max-width:430px){html.crm-mobile .main-panel{padding:8px!important}html.crm-mobile .panel-card{border-radius:14px!important;padding:10px!important}html.crm-mobile .nav-btn{flex-basis:calc(50% - 8px)!important;min-width:0!important;font-size:12px!important}html.crm-mobile .panel-head h1,html.crm-mobile .panel-head h2{font-size:26px!important}html.crm-mobile .service-catalog-card,html.crm-mobile .compact-service-card,html.crm-mobile .compact-client-card{max-height:76vh!important}html.crm-mobile .service-card-body-scroll,html.crm-mobile .client-card-scroll{max-height:calc(76vh - 68px)!important}}html.crm-mobile body{font-size:17px!important;line-height:1.45!important}html.crm-mobile .brand-name{font-size:24px!important}html.crm-mobile .brand-version{font-size:22px!important}html.crm-mobile .nav-btn{min-height:46px!important;padding:12px 10px!important;font-size:16px!important;line-height:1.2!important}html.crm-mobile .crm-actor-caption{font-size:11px!important}html.crm-mobile .crm-actor-name{font-size:15px!important}html.crm-mobile .crm-actor-switch{min-height:34px!important;padding:7px 10px!important;font-size:13px!important}html.crm-mobile .panel-head h1,html.crm-mobile .panel-head h2{font-size:34px!important;line-height:1.08!important}html.crm-mobile .panel-card{font-size:17px!important}html.crm-mobile .form-grid label,html.crm-mobile label{font-size:15px!important;line-height:1.35!important}html.crm-mobile input,html.crm-mobile select,html.crm-mobile textarea{min-height:48px!important;padding:12px 14px!important;font-size:17px!important}html.crm-mobile .action-btn,html.crm-mobile button{min-height:42px!important;padding:11px 14px!important;font-size:15px!important}html.crm-mobile .wf-tab,html.crm-mobile .reports-main-tabs .wf-tab,html.crm-mobile .reports-nested-tabs .wf-tab,html.crm-mobile .tasks-tabs .wf-tab{min-height:42px!important;padding:10px 14px!important;font-size:15px!important}html.crm-mobile .service-card-title{font-size:20px!important;line-height:1.25!important}html.crm-mobile .service-card-id{font-size:13px!important}html.crm-mobile .service-card-desc,html.crm-mobile .service-detail-section,html.crm-mobile .compact-service-kpis,html.crm-mobile .kv,html.crm-mobile .compact-service-card .kv.compact{font-size:15px!important;line-height:1.5!important}html.crm-mobile .svc-chip,html.crm-mobile .badge{padding:6px 9px!important;font-size:13px!important}html.crm-mobile .dash-entity-id,html.crm-mobile .dash-entity-service,html.crm-mobile .dash-client-name,html.crm-mobile .dash-assignee-name,html.crm-mobile .task-row-card strong,html.crm-mobile .task-row-card>div{font-size:15px!important;line-height:1.38!important}html.crm-mobile .report-summary-id,html.crm-mobile .report-summary-cell span{font-size:15px!important}html.crm-mobile .crm-busy-card h3{font-size:24px!important}html.crm-mobile .crm-busy-card p{font-size:16px!important;line-height:1.5!important}html.crm-mobile .crm-auth-card h2{font-size:32px!important}html.crm-mobile .crm-auth-card p{font-size:16px!important}@media (max-width:430px){html.crm-mobile body{font-size:16px!important}html.crm-mobile .nav-btn{font-size:15px!important}html.crm-mobile .panel-head h1,html.crm-mobile .panel-head h2{font-size:31px!important}html.crm-mobile .service-card-title{font-size:19px!important}}.tasks-rewired .tasks-tabs,.tasks-rewired .task-status-tabs{flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0 14px;display:flex}.tasks-rewired .wf-panel{display:none}.tasks-rewired .wf-panel.active{display:block}.tasks-rewired .task-list-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:12px;display:flex}.tasks-rewired .task-list-head label{flex:1;min-width:280px;max-width:420px}.tasks-rewired .task-kanban-list{gap:10px;display:grid}.tasks-rewired .task-row-card{background:#fff;border:1px solid #d7e3f3;border-radius:14px;grid-template-columns:minmax(220px,2fr) minmax(120px,1fr) minmax(190px,1.2fr) minmax(90px,.7fr) minmax(90px,.7fr) 44px;align-items:center;gap:12px;padding:12px 14px;display:grid;position:relative;box-shadow:0 10px 24px #0f234114}.services-module{min-width:0}.service-cards-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.service-profile-card{flex-direction:column;gap:16px;display:flex}.service-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.service-card-snapshot{gap:12px;display:grid}.service-card-snapshot>div,.service-detail-grid>div{gap:3px;display:grid}.service-card-snapshot strong{font-size:14px;line-height:1.4}.service-card-actions{margin-top:auto}.service-detail-overlay{z-index:50;background:#0718318c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.service-detail-panel{background:#fff;border-radius:16px;width:100%;max-width:760px;max-height:90vh;padding:24px;overflow:auto;box-shadow:0 24px 70px #00000040}.service-detail-grid{grid-template-columns:1fr 1fr;gap:18px;margin:20px 0;display:grid}.service-detail-grid .full{grid-column:1/-1}.service-qr{border-top:1px solid var(--line);align-items:center;gap:18px;margin-top:20px;padding-top:18px;display:flex}.service-qr code{overflow-wrap:anywhere;max-width:450px;font-size:11px;display:block}.muted-badge{opacity:.65}.client-cards-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.client-profile-card{flex-direction:column;gap:14px;display:flex}.client-profile-card>.action-btn{margin-top:auto}.client-detail-grid{grid-template-columns:1fr 1fr;gap:16px;margin:18px 0;display:grid}.client-detail-grid>div{gap:4px;display:grid}.client-detail-grid .full{grid-column:1/-1}.client-contacts{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}html.crm-rtl body,[dir=rtl]{text-align:right}html.crm-rtl .sidebar,[dir=rtl] .sidebar{border-left:1px solid var(--line);border-right:0}html.crm-rtl .panel-head,html.crm-rtl .service-card-head,html.crm-rtl .inline-tools,[dir=rtl] .panel-head,[dir=rtl] .service-card-head,[dir=rtl] .inline-tools{direction:rtl}html.crm-rtl input,html.crm-rtl textarea,html.crm-rtl select,[dir=rtl] input,[dir=rtl] textarea,[dir=rtl] select{text-align:right}@media (max-width:640px){.services-module .panel-head{flex-direction:column;align-items:stretch}.services-module .panel-head .inline-tools{grid-template-columns:1fr;display:grid}.services-module .panel-head input,.services-module .panel-head .action-btn{width:100%}.service-detail-grid{grid-template-columns:1fr}.service-detail-grid .full{grid-column:auto}.service-qr{flex-direction:column;align-items:flex-start}.clients-module .panel-head{flex-direction:column;align-items:stretch}.clients-module .panel-head input,.clients-module .action-btn{width:100%}.client-detail-grid{grid-template-columns:1fr}.client-detail-grid .full{grid-column:auto}}.tasks-rewired{min-width:0;overflow:hidden}.tasks-rewired .tasks-tabs,.tasks-rewired .task-status-tabs{scrollbar-width:thin;flex-wrap:nowrap;padding-bottom:3px;overflow-x:auto}.tasks-rewired .wf-tab{flex:none}.tasks-rewired .task-row-card{text-align:left;width:100%;min-width:0}.tasks-rewired .wf-tag-picker{position:relative}.tasks-rewired .wf-tag-picker-button{text-align:left;flex-wrap:wrap;align-items:center;gap:6px;width:100%;min-height:44px;display:flex}.tasks-rewired .wf-tag-picker-menu{z-index:20;max-width:100%}.tasks-rewired .task-action-log{gap:8px;margin-top:16px;display:grid}@media (max-width:640px){.tasks-rewired .panel-head,.tasks-rewired .task-list-head{flex-direction:column;align-items:stretch}.tasks-rewired .panel-head .action-btn,.tasks-rewired .inline-tools .action-btn,.tasks-rewired form>.action-btn{width:100%}.tasks-rewired .form-grid{grid-template-columns:1fr}.tasks-rewired .task-row-card{grid-template-columns:1fr;gap:5px;padding:14px}.tasks-rewired .task-row-card strong{font-size:15px}.tasks-rewired .task-row-card span{font-size:14px}.tasks-rewired .wf-tag-picker-menu{width:100%;max-height:260px;position:relative;inset:auto}.tasks-rewired .inline-tools{grid-template-columns:1fr;gap:8px;display:grid}.tasks-rewired .service-card{padding:14px}.tasks-rewired h2{font-size:22px}.tasks-rewired h3{font-size:18px}}.tasks-rewired .task-row-card strong{color:#0f2440;font-size:13px;line-height:1.2;display:block}.tasks-rewired .task-row-card span{color:#31435f;text-overflow:ellipsis;font-size:13px;line-height:1.35;display:block;overflow:hidden}.tasks-rewired .task-row-main span{color:#071833;font-weight:650}.tasks-rewired .task-row-menu-btn{color:#fff;background:#1960c9;border:1px solid #d7e3f3;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-size:20px;line-height:1;display:inline-flex;box-shadow:0 6px 16px #1960c933}.tasks-rewired .task-row-menu{z-index:20;background:#fff;border:1px solid #d7e3f3;border-radius:14px;min-width:190px;padding:8px;display:none;position:absolute;top:46px;right:12px;box-shadow:0 16px 34px #0f234133}.tasks-rewired [dir=rtl] .task-row-menu,.tasks-rewired .task-row-menu[dir=rtl]{left:12px;right:auto}.tasks-rewired .task-row-menu.open{gap:7px;display:grid}.tasks-rewired .task-row-menu .action-btn{width:100%;margin:0}.tasks-rewired .task-action-row{background:#fff;border:1px solid #dbe8f7;border-radius:12px;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin-bottom:8px;padding:10px 12px;display:grid}.tasks-rewired .task-action-row strong{color:#0f2440;font-size:12px;display:block}.tasks-rewired .task-action-row span{color:#31435f;word-break:break-word;font-size:13px}.tasks-rewired .task-checkbox-card{background:#f8fbff;border:1px solid #d7e3f3;border-radius:14px;padding:12px}.tasks-rewired .task-checkbox-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.tasks-rewired .task-user-checklist{grid-template-columns:repeat(2,minmax(220px,1fr));gap:8px;max-height:340px;padding:4px;display:grid;overflow:auto}.tasks-rewired .task-user-check{background:#fff;border:1px solid #dbe8f7;border-radius:12px;align-items:center;gap:8px;padding:10px;font-size:13px;display:flex!important}.tasks-rewired .task-user-check input{width:18px;min-width:18px;height:18px}.tasks-rewired .danger-btn{background:#b42318!important}.tasks-rewired .muted{color:#5d6c84;margin:4px 0 12px;font-size:13px}@media (max-width:900px){.tasks-rewired .task-row-card{grid-template-columns:1fr 1fr 44px;align-items:start}.tasks-rewired .task-row-main{grid-column:1/span 2}.tasks-rewired .task-user-checklist{grid-template-columns:1fr}.tasks-rewired .task-action-row{grid-template-columns:1fr 1fr}}@media (max-width:640px){.tasks-rewired .task-list-head{grid-template-columns:1fr;align-items:stretch;display:grid}.tasks-rewired .task-list-head label{min-width:0;max-width:none}.tasks-rewired .task-row-card{grid-template-columns:1fr 40px;gap:8px;padding:12px}.tasks-rewired .task-row-main,.tasks-rewired .task-row-card>div:not(.task-row-actions){grid-column:1/span 1}.tasks-rewired .task-row-actions{grid-area:1/2;justify-self:end}.tasks-rewired .task-row-menu{min-width:180px;top:42px;right:4px}.tasks-rewired .task-action-row{grid-template-columns:1fr}.tasks-rewired .task-primary-actions .action-btn{width:100%}}html.crm-mobile .tasks-rewired .task-row-card strong{font-size:15px!important}html.crm-mobile .tasks-rewired .task-row-card span,html.crm-mobile .tasks-rewired .task-action-row span,html.crm-mobile .tasks-rewired .task-user-check{font-size:15px!important;line-height:1.4!important}html.crm-mobile .tasks-rewired .task-row-menu-btn{width:42px!important;height:42px!important;font-size:24px!important}html.crm-mobile .tasks-rewired .task-user-check input{width:22px!important;height:22px!important}.tasks-rewired .task-filter-panel{background:linear-gradient(135deg,#f8fbff,#f1f6fd);border:1px solid #d9e5f5;border-radius:16px;gap:12px;margin:0 0 14px;padding:14px;display:grid}.tasks-rewired .task-filter-grid{grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end;gap:10px;display:grid}.tasks-rewired .task-filter-grid label{color:#324764;gap:5px;min-width:0;font-size:12px;font-weight:750;display:grid}.tasks-rewired .task-filter-grid .task-filter-search{grid-column:span 2}.tasks-rewired .task-filter-grid input,.tasks-rewired .task-filter-grid select{box-sizing:border-box;width:100%;min-height:42px}.tasks-rewired .task-filter-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.tasks-rewired .task-filter-actions .muted{margin:0 auto 0 0}.tasks-rewired .task-row-card{cursor:default;grid-template-columns:minmax(220px,1.35fr) minmax(260px,1fr) 44px}.tasks-rewired .task-row-card.selected{border-color:#6ca0fa;box-shadow:0 0 0 3px #2a66f024,0 12px 26px #0f23411a}.tasks-rewired .task-row-main{min-width:0;color:inherit;text-align:start;cursor:pointer;background:0 0;border:0;gap:4px;padding:0;display:grid}.tasks-rewired .task-row-main:hover strong,.tasks-rewired .task-row-main:focus-visible strong{color:#1f5fd4}.tasks-rewired .task-row-main:focus-visible,.tasks-rewired .task-row-menu-btn:focus-visible{outline-offset:3px;outline:3px solid #2a66f047}.tasks-rewired .task-row-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;min-width:0;display:grid}.tasks-rewired .task-row-meta .badge{justify-self:start}.tasks-rewired .task-row-actions{place-self:start end;position:relative}.tasks-rewired .task-row-menu{top:40px}.tasks-rewired .cta-info{color:#fff;background:#2168cf}.tasks-rewired .cta-success{color:#fff;background:#14804a}html[dir=rtl] .tasks-rewired .task-filter-actions .muted{margin:0 0 0 auto}@media (max-width:1080px){.tasks-rewired .task-filter-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}}@media (max-width:900px){.tasks-rewired .task-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tasks-rewired .task-row-card{grid-template-columns:minmax(0,1fr) 44px}.tasks-rewired .task-row-main,.tasks-rewired .task-row-meta{grid-column:1}.tasks-rewired .task-row-actions{grid-area:1/2}}@media (max-width:640px){.tasks-rewired .task-filter-panel{padding:12px}.tasks-rewired .task-filter-grid,.tasks-rewired .task-row-meta{grid-template-columns:1fr}.tasks-rewired .task-filter-grid .task-filter-search{grid-column:auto}.tasks-rewired .task-filter-actions{grid-template-columns:1fr 1fr;display:grid}.tasks-rewired .task-filter-actions .muted{grid-column:1/-1;margin:0}.tasks-rewired .task-row-meta .badge{justify-self:start}}.nav-btn.locked{opacity:.45;filter:grayscale(.3);position:relative}.nav-btn.locked:after{content:"ðŸ”’";margin-inline-start:6px;font-size:12px}.crm-access-denied-modal{z-index:10001;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f1f3a6b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.crm-access-denied-modal.hidden{display:none!important}.crm-access-denied-card{text-align:start;background:#fff;border:1px solid #dbe7f6;border-radius:22px;gap:14px;width:min(520px,100%);padding:24px;display:grid;box-shadow:0 28px 80px #0f172a4d}.crm-access-denied-card h3{color:#10213f;margin:0;font-size:24px}.crm-access-denied-card p{color:#475569;margin:0;font-size:15px;line-height:1.55}.access-denied-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.access-matrix-card{background:#f8fbff;border:1px solid #dbe7f6;border-radius:18px;margin:10px 0;padding:14px;box-shadow:0 12px 32px #0f172a0f}.access-matrix-head{gap:4px;margin-bottom:10px;display:grid}.access-matrix-head small{color:#64748b;line-height:1.45}.access-matrix-grid{gap:8px;display:grid}.access-matrix-row{background:#fff;border:1px solid #e4edf8;border-radius:14px;grid-template-columns:minmax(120px,1fr) repeat(3,minmax(62px,82px));align-items:center;gap:8px;padding:10px;display:grid}.access-matrix-row-head{color:#10213f;background:#eaf3ff;font-weight:800}.access-matrix-row label{justify-content:center;align-items:center;min-height:32px;margin:0;display:flex}.access-matrix-row input[type=checkbox]{accent-color:#1f5fbf;width:20px;height:20px}.access-json-fallback textarea{min-height:84px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}html.crm-mobile .access-matrix-row{grid-template-columns:1fr repeat(3,54px);padding:9px;font-size:14px}html.crm-mobile .crm-access-denied-card{border-radius:18px;padding:18px}.dashboard-kpi{text-align:start;cursor:pointer;border:1px solid #dbe7f6;min-height:132px}.dashboard-kpi:hover{border-color:#78a8e8;transform:translateY(-2px)}.dashboard-kpi-value{color:#10213f;margin:12px 0;font-size:clamp(28px,4vw,42px);line-height:1;display:block}.dashboard-activity-card{min-width:0}.dashboard-activity-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.dashboard-activity-head h3{margin:0}.dashboard-activity-list{gap:10px;display:grid}.dashboard-activity-row{background:#fbfdff;border:1px solid #e1ebf7;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;padding:12px;display:grid}.dashboard-activity-main{grid-column:1;gap:3px;min-width:0;display:grid}.dashboard-activity-main strong,.dashboard-activity-main .muted{overflow-wrap:anywhere}.dashboard-activity-meta{color:#526b87;flex-wrap:wrap;grid-column:1;align-items:center;gap:8px 12px;font-size:12px;display:flex}.dashboard-row-actions{isolation:isolate;grid-area:1/2/span 2;justify-self:end;position:relative}.dashboard-row-menu{z-index:120;min-inline-size:196px;max-inline-size:min(320px,100vw - 28px)}.dashboard-module,.dashboard-entity-grid,.dashboard-activity-card,.dashboard-activity-list,.dashboard-activity-row{overflow:visible}.dashboard-empty-state{color:#607994;text-align:center;border:1px dashed #c9d9eb;border-radius:10px;padding:20px 12px}.service-card-link{color:#1f5fbf;font-size:13px;font-weight:750}.reports-module .reports-grid-table input{border:1px solid #dbe7f6;border-radius:8px;width:100%;min-width:120px;padding:8px}.invoice-line-grid{grid-template-columns:minmax(220px,2fr) 100px 140px 120px;align-items:center;gap:10px;margin:10px 0;display:grid}.invoice-line-grid input{border:1px solid #dbe7f6;border-radius:10px;width:100%;padding:10px}.invoice-totals{flex-wrap:wrap;gap:12px;margin-top:16px;display:flex}.invoice-totals strong{background:#f5f9ff;border:1px solid #dbe7f6;border-radius:12px;padding:12px 16px}.invoice-register-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;display:grid}@media (max-width:760px){.invoice-line-grid{grid-template-columns:1fr 1fr}.invoice-line-grid input:first-child{grid-column:1/-1}.dashboard-entity-grid{grid-template-columns:1fr}}html.crm-mobile .crm-access-denied-card h3{font-size:22px}html.crm-mobile .access-denied-actions .action-btn{width:100%}.crm-busy-modal{-webkit-backdrop-filter:blur(7px)!important;backdrop-filter:blur(7px)!important;background:#0f172a94!important}.crm-busy-card-v2{text-align:start!important;border:1px solid #dbe7f6f5!important;border-radius:26px!important;gap:14px!important;width:min(500px,100vw - 36px)!important;padding:26px!important;box-shadow:0 34px 90px #0f172a61!important}.crm-busy-topline{justify-content:space-between;align-items:center;gap:12px;display:flex}.crm-busy-card-v2 .crm-busy-spinner{border-width:4px!important;width:38px!important;height:38px!important;margin:0!important}.crm-busy-kind{color:#9a5b00;letter-spacing:.03em;text-transform:uppercase;background:#fff7e6;border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:12px;font-weight:900;display:inline-flex}.crm-busy-card-v2 h3{color:#10213f!important;margin:0!important;font-size:22px!important;line-height:1.2!important}.crm-busy-intro{color:#465a76!important;margin:0!important;font-size:15px!important;line-height:1.55!important}.crm-busy-safety{color:#415571;background:#f8fbff;border:1px solid #e6edf8;border-radius:14px;padding:11px 12px;font-size:13px;line-height:1.5}.crm-busy-stage-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.crm-busy-stage-list li{color:#66758c;grid-template-columns:24px 1fr;align-items:center;gap:9px;font-size:14px;line-height:1.35;display:grid}.crm-busy-stage-list li.done{color:#159460}.crm-busy-stage-list li.active{color:#12345e;font-weight:850}.crm-busy-stage-list li.pending{opacity:.72}.crm-step-dot{color:#1f5fbf;background:#eef5ff;border-radius:999px;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;font-weight:900;display:inline-flex}.crm-busy-stage-list li.done .crm-step-dot{color:#15803d;background:#dcfce7}.crm-busy-stage-list li.active .crm-step-dot{color:#fff;background:#1f5fbf;animation:1.1s ease-in-out infinite crmPulse}.crm-busy-footer{color:#64748b;border-top:1px solid #edf2f7;padding-top:8px;font-size:12px;line-height:1.45}@keyframes crmPulse{0%,to{box-shadow:0 0 #1f5fbf38}50%{box-shadow:0 0 0 7px #1f5fbf1a}}.crm-client-business-card,.crm-contact-business-card{background:#fff;border:1px solid #dbe7f6;border-radius:22px;flex-direction:column;min-height:260px;padding:0;display:flex;position:relative;overflow:visible;box-shadow:0 18px 42px #0f23411f}.crm-client-business-card{height:clamp(280px,36vh,350px)}.crm-contact-business-card{height:220px;min-height:220px}.crm-client-card-top,.crm-contact-card-top{border-bottom:1px solid #eef3fa;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 16px 8px;display:flex}.crm-client-id-stack,.crm-contact-id-stack{align-items:start;gap:6px;display:grid}.crm-client-id-stack small,.crm-contact-id-stack small{color:#64748b;letter-spacing:.04em;font-size:11px;font-weight:900}.crm-client-card-body,.crm-contact-card-body{-webkit-overflow-scrolling:touch;gap:10px;min-height:0;padding:14px 16px 16px;display:grid;overflow:auto}.crm-client-card-body h3,.crm-contact-card-body h3{color:#08172f;overflow-wrap:anywhere;margin:0;font-size:18px;font-weight:900;line-height:1.25}.crm-contact-card-body p{color:#64748b;margin:0;font-size:13px;line-height:1.35}.crm-client-type-chip{color:#1f5fbf;text-overflow:ellipsis;white-space:nowrap;background:#eef5ff;border-radius:999px;justify-self:start;max-width:100%;padding:5px 9px;font-size:12px;font-weight:850;overflow:hidden}.crm-client-detail-list{border-top:1px solid #eef3fa;border-bottom:1px solid #eef3fa;gap:6px;padding:8px 0;display:grid}.crm-client-detail-list>div{grid-template-columns:92px minmax(0,1fr);align-items:start;gap:8px;font-size:13px;line-height:1.35;display:grid}.crm-client-detail-list span{color:#66758c;font-weight:800}.crm-client-detail-list strong{color:#10213f;text-overflow:ellipsis;white-space:nowrap;font-weight:750;overflow:hidden}.crm-client-contact-strip{gap:7px;margin-top:2px;display:grid}.crm-client-contact-head{color:#10213f;justify-content:space-between;align-items:center;gap:10px;font-size:13px;display:flex}.crm-client-contact-head span{color:#1f5fbf;background:#eef5ff;border-radius:999px;padding:3px 8px;font-weight:900}.crm-client-contact-list{gap:6px;max-height:104px;padding-inline-end:2px;display:grid;overflow:auto}.client-contact-mini-card{background:#f8fbff;border:1px solid #e4edf8;border-radius:12px;gap:2px;padding:8px 10px;display:grid}.client-contact-mini-card strong{color:#10213f;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.25;overflow:hidden}.client-contact-mini-card span,.client-contact-mini-card small{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.client-contact-empty{color:#64748b;text-align:center;background:#f8fbff;border:1px dashed #d7e3f3;border-radius:12px;padding:12px;font-size:13px}.crm-client-business-card .client-card-menu,.crm-contact-business-card .client-card-menu{top:54px!important;z-index:30!important;inset-inline-end:14px!important}.client-contacts-grid{align-items:stretch;grid-template-columns:repeat(3,minmax(220px,1fr))!important}@media (max-width:1100px){.client-contacts-grid{grid-template-columns:repeat(2,minmax(220px,1fr))!important}}@media (max-width:640px){.crm-client-business-card{height:auto;min-height:270px}.crm-contact-business-card{height:auto;min-height:210px}.client-contacts-grid{grid-template-columns:1fr!important}.crm-client-detail-list>div{grid-template-columns:1fr;gap:2px}.crm-busy-card-v2{border-radius:22px!important;width:min(94vw,460px)!important;padding:20px!important}.crm-busy-kind{font-size:11px}.crm-busy-stage-list li{font-size:14px}}html.crm-mobile .crm-client-card-body h3,html.crm-mobile .crm-contact-card-body h3{font-size:20px!important}html.crm-mobile .crm-client-detail-list>div,html.crm-mobile .client-contact-mini-card strong,html.crm-mobile .client-contact-mini-card span,html.crm-mobile .client-contact-mini-card small{font-size:15px!important;line-height:1.38!important}html.crm-mobile .crm-busy-stage-list li{font-size:16px!important;line-height:1.45!important}html.crm-mobile .crm-busy-safety,html.crm-mobile .crm-busy-footer{font-size:14px!important}.issue-invoice-discount-section{background:#f8fbff;border:1px solid #dbe7f6;border-radius:14px;grid-template-columns:150px minmax(140px,180px) minmax(220px,1fr);align-items:end;gap:10px;padding:10px;display:grid;box-shadow:inset 0 0 0 1px #ffffffa6}.issue-invoice-discount-section label{color:#243b5a;flex-direction:column;gap:4px;font-size:12px;font-weight:700;display:flex}.issue-invoice-discount-section input,.issue-invoice-discount-section select{background:#fff;border:1px solid #cfdced;border-radius:10px;width:100%;min-height:36px;padding:7px 9px;font-size:14px}.issue-invoice-discount-total span,.invoice-discount-line{color:#b45309;font-weight:800}.invoice-discount-reason{color:#5b6475;grid-column:1/-1;font-size:11px;line-height:1.35}@media (max-width:760px){.issue-invoice-discount-section{grid-template-columns:1fr}.issue-invoice-discount-section input,.issue-invoice-discount-section select{font-size:16px}}.quote-items-block{border:1px solid var(--border);background:#fff;border-radius:14px;padding:12px}.quote-items-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.quote-items-grid-wrap{width:100%;overflow:auto}.quote-items-grid{border-collapse:collapse;width:100%;min-width:720px}.quote-items-grid th,.quote-items-grid td{border-bottom:1px solid var(--border);text-align:left;vertical-align:middle;padding:8px}.quote-items-grid input{border:1px solid var(--border);background:#fff;border-radius:10px;width:100%;padding:8px 9px}.quote-items-grid .quote-item-remove{min-width:34px;padding:7px 10px}.wf-hidden-source-select{opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;position:absolute!important;left:-9999px!important}.wf-tag-picker{width:100%;position:relative}.wf-tag-picker-button{border:1px solid var(--border);text-align:left;cursor:pointer;background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:44px;padding:7px 10px;display:flex}.wf-tag-picker-chips{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.wf-tag-placeholder{color:var(--muted);font-size:.9rem}.wf-tag-chip{border:1px solid var(--border);background:#f8fafc;border-radius:999px;align-items:center;gap:6px;max-width:220px;padding:4px 8px;font-size:.84rem;display:inline-flex}.wf-tag-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wf-tag-chip button{cursor:pointer;background:0 0;border:0;font-weight:800;line-height:1}.wf-tag-picker-caret{color:var(--muted);font-size:.8rem}.wf-tag-picker-menu{z-index:80;border:1px solid var(--border);max-height:240px;box-shadow:var(--shadow);background:#fff;border-radius:12px;padding:6px;display:none;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:auto}.wf-tag-picker.open .wf-tag-picker-menu{display:block}.wf-tag-option{text-align:left;cursor:pointer;background:#fff;border:0;border-radius:9px;width:100%;padding:8px 9px;font-size:.9rem}.wf-tag-option:hover{background:#f3f4f6}.wf-tag-add{border-top:1px solid var(--border);margin-top:4px;padding-top:10px;font-weight:800}.crm-reference-shell .assignment-tag-picker{isolation:isolate;inline-size:100%;min-inline-size:0;position:relative}.crm-reference-shell .assignment-tag-picker-control{border:1px solid var(--finance-line,var(--line));background:#fff;border-radius:12px;align-items:center;gap:6px;min-block-size:42px;padding:5px 6px 5px 10px;display:flex;box-shadow:inset 0 1px #ffffffb3}.crm-reference-shell .assignment-tag-picker:focus-within .assignment-tag-picker-control{border-color:var(--finance-accent,#1f5fbf);box-shadow:0 0 0 3px color-mix(in srgb, var(--finance-accent,#1f5fbf) 16%, transparent)}.crm-reference-shell .assignment-tag-picker-tags{flex-wrap:wrap;flex:auto;align-items:center;gap:5px;min-inline-size:0;display:flex}.crm-reference-shell .assignment-tag-placeholder{color:var(--finance-muted,var(--muted));font-size:.84rem}.crm-reference-shell .assignment-tag{border:1px solid color-mix(in srgb, var(--finance-accent,#1f5fbf) 26%, var(--finance-line,var(--line)));background:color-mix(in srgb, var(--finance-accent,#1f5fbf) 8%, #fff);min-block-size:27px;max-inline-size:min(100%,260px);color:var(--finance-heading,#10213f);border-radius:999px;align-items:center;gap:3px;padding:2px 4px 2px 8px;font-size:.77rem;font-weight:700;display:inline-flex}.crm-reference-shell .assignment-tag-label{text-overflow:ellipsis;white-space:nowrap;min-inline-size:0;overflow:hidden}.crm-reference-shell .assignment-tag-remove,.crm-reference-shell .assignment-tag-picker-toggle{cursor:pointer;border:0;flex:none;place-items:center;display:inline-grid}.crm-reference-shell .assignment-tag-remove{block-size:19px;inline-size:19px;color:var(--finance-muted,var(--muted));background:0 0;border-radius:50%;font-size:1rem;line-height:1}.crm-reference-shell .assignment-tag-remove:hover,.crm-reference-shell .assignment-tag-remove:focus-visible{background:color-mix(in srgb, var(--finance-danger,#bf3d3d) 13%, #fff);color:var(--finance-danger,#bf3d3d)}.crm-reference-shell .assignment-tag-picker-toggle{block-size:30px;inline-size:30px;color:var(--finance-accent,#1f5fbf);background:#eef4fc;border-radius:8px;font-size:.9rem}.crm-reference-shell .assignment-tag-picker-toggle:hover,.crm-reference-shell .assignment-tag-picker-toggle:focus-visible{background:color-mix(in srgb, var(--finance-accent,#1f5fbf) 16%, #fff)}.crm-reference-shell .assignment-tag-picker-menu{z-index:140;border:1px solid var(--finance-line,var(--line));background:#fff;border-radius:12px;gap:5px;max-block-size:min(300px,46dvh);padding:7px;display:grid;position:absolute;inset-block-start:calc(100% + 6px);inset-inline:0;overflow:auto;box-shadow:0 14px 30px #0f23412e}.crm-reference-shell .assignment-tag-picker-search{border:1px solid var(--finance-line,var(--line));background:#fbfdff;border-radius:8px;min-block-size:36px;inline-size:100%;padding:7px 9px}.crm-reference-shell .assignment-tag-option{min-block-size:38px;inline-size:100%;color:var(--finance-heading,#10213f);text-align:start;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 9px;display:grid}.crm-reference-shell .assignment-tag-option:hover,.crm-reference-shell .assignment-tag-option:focus-visible{border-color:color-mix(in srgb, var(--finance-accent,#1f5fbf) 35%, var(--finance-line,var(--line)));background:#f4f8fe}.crm-reference-shell .assignment-tag-option span,.crm-reference-shell .assignment-tag-option small{text-overflow:ellipsis;white-space:nowrap;min-inline-size:0;overflow:hidden}.crm-reference-shell .assignment-tag-option small{color:var(--finance-muted,var(--muted));font-size:.75rem}.crm-reference-shell .assignment-tag-add{color:var(--finance-accent,#1f5fbf);font-weight:800}.crm-reference-shell .assignment-tag-empty{color:var(--finance-muted,var(--muted));text-align:center;padding:10px 8px;font-size:.84rem}[dir=rtl] .crm-reference-shell .assignment-tag-picker-control{padding:5px 10px 5px 6px}[dir=rtl] .crm-reference-shell .assignment-tag-option{text-align:right}@media (max-width:760px){.crm-reference-shell .assignment-tag-picker-menu{z-index:125;max-block-size:min(48dvh,360px);margin:0;position:fixed;inset-block-start:auto;inset-block-end:calc(74px + env(safe-area-inset-bottom));inset-inline:12px}.crm-reference-shell .assignment-tag{max-inline-size:100%}}[hidden],.wf-sub-card-hidden,[data-wf-sub-card][hidden],.wf-panel[data-wf-active-sub=create] [data-wf-sub-card]:not([data-wf-sub-card$=\:create]),.wf-panel[data-wf-active-sub=actions] [data-wf-sub-card]:not([data-wf-sub-card$=\:actions]),.wf-panel[data-wf-active-sub=registry] [data-wf-sub-card]:not([data-wf-sub-card$=\:registry]){display:none!important}.workflow-section-tabs .wf-tab.active{color:#fff;background:#2a66f0;border-color:#2a66f0}.strict-runtime-log-cards{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin-top:10px;display:grid}.strict-runtime-log-card{text-align:left;border:1px solid var(--line,#d8e2f3);cursor:pointer;color:inherit;font:inherit;background:#fff;border-radius:12px;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 12px;display:flex;box-shadow:0 8px 18px #0f2d550f}.strict-runtime-log-card:hover{transform:translateY(-1px);box-shadow:0 10px 22px #0f2d551f}.strict-runtime-log-card span{color:var(--muted,#5b6b82);font-size:.88rem}.wf-side-layout{grid-template-columns:minmax(260px,.34fr) minmax(0,.66fr);align-items:start;gap:14px}.wf-side-layout>.wf-context-card{grid-area:1/1/span 6;align-self:start;position:sticky;top:14px}.wf-side-layout>.wf-subtabs,.wf-side-layout>[data-wf-sub-card],.wf-side-layout>.wf-registry-card{grid-column:2;min-width:0}.wf-context-card{background:linear-gradient(#f8fbff 0%,#fff 100%);border-color:#d9e6f6;box-shadow:0 12px 26px #102a5014}.wf-context-card h3{margin-bottom:10px}.wf-context-grid{gap:11px;grid-template-columns:1fr!important}.wf-context-grid .inline-tools{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.wf-context-grid .inline-tools .action-btn{height:42px}.wf-context-card .report-box{min-height:38px;max-height:220px;overflow:auto}html.crm-mobile .wf-side-layout,.crm-mobile .wf-side-layout{grid-template-columns:1fr!important;gap:12px!important;display:grid!important}html.crm-mobile .wf-side-layout>.wf-context-card,.crm-mobile .wf-side-layout>.wf-context-card{grid-area:auto!important;position:relative!important;top:auto!important}html.crm-mobile .wf-side-layout>.wf-subtabs,html.crm-mobile .wf-side-layout>[data-wf-sub-card],html.crm-mobile .wf-side-layout>.wf-registry-card,.crm-mobile .wf-side-layout>.wf-subtabs,.crm-mobile .wf-side-layout>[data-wf-sub-card],.crm-mobile .wf-side-layout>.wf-registry-card{grid-column:auto!important}@media (max-width:1080px){.wf-side-layout{grid-template-columns:1fr}.wf-side-layout>.wf-context-card{grid-area:auto;position:relative;top:auto}.wf-side-layout>.wf-subtabs,.wf-side-layout>[data-wf-sub-card],.wf-side-layout>.wf-registry-card{grid-column:auto}}.crm-reference-shell{--crm-ink:#0f1f3a;--crm-brand:#123968;--crm-brand-deep:#0a1e3a;--crm-accent:#2c74d8;--crm-focus:#2c74d847;background:radial-gradient(800px 460px at 86% -10%,#7aadff33,#0000 68%),linear-gradient(#f8fbff 0%,#edf3fb 100%);grid-template-columns:278px minmax(0,1fr);min-height:100dvh}.crm-reference-shell .crm-sidebar{background:radial-gradient(280px 230px at 15% -5%, #3a7ddc6b, transparent 70%), linear-gradient(180deg, var(--crm-brand-deep) 0%, var(--crm-brand) 100%);z-index:30;gap:14px;height:100dvh;padding:18px 14px 16px;position:sticky;inset-block-start:0;overflow-y:auto;box-shadow:8px 0 28px #0d203d26}.crm-brand{border-bottom:1px solid #ffffff24;justify-content:space-between;align-items:flex-start;gap:12px;margin:0;padding:8px 10px 16px;display:flex}.crm-brand .brand-name{letter-spacing:.01em;font-size:1.45rem;line-height:1.1;display:block}.crm-brand .brand-version,.crm-brand-product{color:#e1efffb8;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:700}.crm-brand-product{text-align:end;max-width:84px}.crm-reference-shell .crm-actor-badge{background:#ffffff13;border:1px solid #ffffff21;border-radius:14px;gap:4px;margin:0 4px;padding:12px;display:grid}.crm-reference-shell .crm-actor-caption{color:#c8ddff;letter-spacing:.06em;text-transform:uppercase;font-size:.7rem;font-weight:800}.crm-reference-shell .crm-actor-name{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:650;overflow:hidden}.crm-reference-shell .crm-actor-badge .badge{color:#dcecff;background:#a1ceff29;width:fit-content;margin-top:3px}.crm-nav-list{gap:5px;min-height:0;display:grid}.crm-reference-shell .crm-nav-btn{width:100%;min-height:43px;box-shadow:none;color:#dbeaff;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:10px;padding:8px 10px;font-size:.88rem;display:flex}.crm-reference-shell .crm-nav-btn:hover{background:#ffffff1a;border-color:#ffffff14}.crm-reference-shell .crm-nav-btn.active{background:linear-gradient(135deg,#3f8bf2 0%,#2b68cf 100%);box-shadow:0 10px 22px #00122f3d}.crm-nav-mark{color:#fff;background:#ffffff1a;border-radius:8px;flex:0 0 24px;place-items:center;block-size:24px;inline-size:24px;font-size:.72rem;font-weight:900;display:inline-grid}.crm-nav-btn.active .crm-nav-mark{background:#fff3}.crm-language-select{color:#c8ddff;letter-spacing:.06em;text-transform:uppercase;border-top:1px solid #ffffff24;gap:5px;margin:auto 4px 2px;padding-top:14px;font-size:.72rem;font-weight:800;display:grid}.crm-language-select select{color:#fff;width:100%;min-height:36px;font:inherit;letter-spacing:normal;text-transform:none;background:#00122f59;border:1px solid #fff3;border-radius:9px;padding:7px 9px}.crm-reference-shell .main-panel{min-width:0;padding:18px clamp(16px,2.8vw,36px) 36px}.crm-topbar{justify-content:space-between;align-items:center;gap:16px;min-height:50px;margin:0 0 18px;padding:0 4px;display:flex}.crm-breadcrumb{color:#60718b;align-items:center;gap:9px;min-width:0;font-size:.86rem;display:flex}.crm-breadcrumb strong{color:#12264a;text-overflow:ellipsis;white-space:nowrap;font-size:.96rem;overflow:hidden}.crm-topbar-status{color:#217248;align-items:center;gap:7px;font-size:.78rem;font-weight:750;display:inline-flex}.crm-online-dot{background:#2ca568;border-radius:999px;block-size:8px;inline-size:8px;box-shadow:0 0 0 4px #2ca5681f}.crm-sidebar-toggle,.crm-sidebar-scrim{display:none}.crm-reference-shell .panel-card{border-color:#c2d3eae0;border-radius:18px;box-shadow:0 18px 42px #132f5814}.crm-reference-shell button:focus-visible,.crm-reference-shell input:focus-visible,.crm-reference-shell select:focus-visible,.crm-reference-shell textarea:focus-visible{outline:3px solid var(--crm-focus);outline-offset:2px}[dir=rtl] .crm-reference-shell .crm-nav-btn{text-align:right}[dir=rtl] .crm-reference-shell .crm-topbar,[dir=rtl] .crm-reference-shell .panel-head,[dir=rtl] .crm-reference-shell .service-card-head,[dir=rtl] .crm-reference-shell .crm-breadcrumb{flex-direction:row-reverse}[dir=rtl] .crm-reference-shell .crm-language-select,[dir=rtl] .crm-reference-shell .crm-brand-product,[dir=rtl] .crm-reference-shell input,[dir=rtl] .crm-reference-shell textarea,[dir=rtl] .crm-reference-shell select,[dir=rtl] .crm-reference-shell .reports-grid-table th,[dir=rtl] .crm-reference-shell .reports-grid-table td{text-align:right}html[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}@media (max-width:960px){.crm-reference-shell{display:block}.crm-reference-shell .crm-sidebar{width:min(292px,86vw);height:100dvh;transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-105%);box-shadow:12px 0 34px #04122857}[dir=rtl] .crm-reference-shell .crm-sidebar{inset:0 0 0 auto;transform:translate(105%)}.crm-reference-shell .crm-sidebar.is-open{transform:translate(0)}.crm-sidebar-scrim{z-index:25;background:#05132a7a;border:0;display:block;position:fixed;inset:0}.crm-sidebar-toggle{color:#173965;cursor:pointer;background:#fff;border:1px solid #cbd9eb;border-radius:10px;place-items:center;block-size:38px;inline-size:38px;padding:0;font-size:1.2rem;display:inline-grid}.crm-reference-shell .main-panel{padding:12px 14px 24px}.crm-topbar{min-height:42px;margin-bottom:12px}}@media (max-width:620px){.crm-topbar-status{display:none}.crm-reference-shell .panel-card{border-radius:14px;padding:14px}.crm-reference-shell .panel-head{align-items:flex-start}.crm-reference-shell .panel-head h2{font-size:clamp(1.9rem,10vw,2.5rem)}.crm-reference-shell .inline-tools{width:100%}.crm-reference-shell .inline-tools>*{flex:auto}.crm-reference-shell .inline-tools .action-btn{min-height:38px}.crm-reference-shell .wf-tabs{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.crm-reference-shell .wf-tab{white-space:nowrap}.crm-reference-shell .reports-grid-wrap{margin-inline:-4px}}.client-scoped-workflow{min-width:0}.workflow-client-context{background:linear-gradient(135deg,#f5f9ff,#fff);border-color:#c9dbf2;margin:0 0 14px}.workflow-client-context .form-grid{grid-template-columns:minmax(220px,430px)}.workflow-client-context p{margin:8px 0 0}.workflow-create-card,.workflow-actions-card{min-width:0}.workflow-service-snapshot{color:#274d78;background:#f7faff;border:1px dashed #b9cce6;border-radius:10px;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:10px 18px;padding:10px 12px;font-size:.9rem;display:flex}.quote-items-editor{background:#fff;border:1px solid #d4e1f2;border-radius:12px;margin:16px 0;overflow:hidden}.quote-items-editor-head{background:#f3f7fc;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.quote-items-editor-head h3{margin:0;font-size:1rem}.quote-items-table-wrap{overflow-x:auto}.quote-items-editor table{border-collapse:collapse;width:100%;min-width:720px}.quote-items-editor th,.quote-items-editor td{text-align:start;vertical-align:middle;border-bottom:1px solid #e1eaf5;padding:7px}.quote-items-editor th{color:#385777;text-transform:uppercase;letter-spacing:.04em;background:#fbfdff;font-size:.76rem}.quote-items-editor input{width:100%;min-width:70px;padding:7px 8px}.quote-items-editor output{color:#183c68;white-space:nowrap;min-width:96px;font-weight:750;display:block}.icon-action{block-size:30px;inline-size:30px;border-radius:8px;place-items:center;min-width:30px;padding:0;display:inline-grid}.quote-total-summary{background:#dce7f4;border-top:1px solid #d4e1f2;grid-template-columns:repeat(5,minmax(125px,1fr));gap:1px;display:grid}.quote-total-summary span{color:#52708f;background:#f8fbff;gap:3px;padding:9px 10px;font-size:.78rem;display:grid}.quote-total-summary strong{color:#173b68;white-space:nowrap;font-size:.95rem}.quote-total-summary .quote-grand-total{background:#e9f2ff}.operator-picker{border:1px solid #d9e4f1;border-radius:10px;margin:14px 0;padding:10px 12px}.operator-picker legend{color:#1d466f;padding:0 5px;font-weight:750}.operator-picker p{margin:0 0 8px;font-size:.84rem}.operator-picker-options{flex-wrap:wrap;gap:7px 12px;display:flex}.operator-picker-options label{background:#fbfdff;border:1px solid #e0e8f2;border-radius:999px;align-items:center;gap:5px;min-height:30px;padding:4px 8px;font-size:.82rem;display:inline-flex}.workflow-action-buttons{align-items:center;margin-top:12px}.client-contact-draft{background:#fbfdff;border:1px dashed #c6d8ec;border-radius:11px;margin:12px 0;padding:12px}.client-search-tools{justify-content:flex-end;margin:0 0 12px}.client-search-tools input{max-width:340px}.client-task-list{gap:8px;margin-top:12px;display:grid}.client-task-list .task-action-row{grid-template-columns:minmax(170px,2fr) repeat(4,minmax(90px,1fr))}[dir=rtl] .quote-total-summary,[dir=rtl] .operator-picker-options{direction:rtl}[dir=rtl] .quote-items-editor th,[dir=rtl] .quote-items-editor td{text-align:right}@media (max-width:820px){.workflow-client-context .form-grid{grid-template-columns:1fr}.quote-total-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-total-summary .quote-grand-total{grid-column:1/-1}.client-task-list .task-action-row{grid-template-columns:1fr 1fr}.client-task-list .task-action-row strong{grid-column:1/-1}}@media (max-width:520px){.workflow-client-context,.workflow-create-card,.workflow-actions-card{padding:12px}.quote-items-editor-head{flex-direction:column;align-items:flex-start}.quote-items-editor-head .action-btn{width:100%}.quote-total-summary{grid-template-columns:1fr}.quote-total-summary .quote-grand-total{grid-column:auto}.operator-picker-options{grid-template-columns:1fr;display:grid}.operator-picker-options label{width:100%}.workflow-action-buttons{grid-template-columns:1fr;display:grid}.workflow-action-buttons>*{width:100%}.client-search-tools{grid-template-columns:minmax(0,1fr) auto;display:grid}.client-search-tools input{max-width:none}}.crm-reference-shell .main-panel>*{min-width:0}.crm-reference-shell .panel-card,.crm-reference-shell .service-card,.crm-reference-shell .report-box{overflow-wrap:anywhere;min-width:0}.crm-reference-shell .panel-card{transition:border-color .16s,box-shadow .16s}.crm-reference-shell .panel-head{min-height:42px;margin-bottom:12px}.crm-reference-shell .inline-tools,.crm-reference-shell .workflow-action-buttons{align-items:center;gap:8px}.crm-reference-shell .inline-tools .action-btn,.crm-reference-shell .workflow-action-buttons .action-btn{white-space:nowrap;min-height:38px;padding:8px 11px}.crm-reference-shell .form-grid{align-items:start;gap:12px}.crm-reference-shell .form-grid input,.crm-reference-shell .form-grid select,.crm-reference-shell .form-grid textarea{inline-size:100%}.crm-reference-shell .wf-tabs,.crm-reference-shell .tasks-tabs,.crm-reference-shell .workflow-section-tabs{align-items:center;min-height:42px;margin-bottom:12px}.crm-reference-shell .wf-tab{min-height:36px;padding:7px 12px}.crm-reference-shell .wf-panel.active,.crm-reference-shell .wf-subtab-panel.active{animation:.14s ease-out crm-panel-enter}@keyframes crm-panel-enter{0%{opacity:.92}to{opacity:1}}.crm-mobile-quick-actions{display:none}@media (max-width:960px){.crm-reference-shell .main-panel{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.crm-reference-shell .grid,.crm-reference-shell .two-col,.crm-reference-shell .services-grid,.crm-reference-shell .clients-grid,.crm-reference-shell .dashboard-entity-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.crm-reference-shell .wf-tabs,.crm-reference-shell .tasks-tabs,.crm-reference-shell .workflow-section-tabs{overscroll-behavior-inline:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;max-width:100%;display:flex;overflow-x:auto}.crm-reference-shell .wf-tab{white-space:nowrap;flex:none}.crm-mobile-quick-actions{z-index:90;min-height:calc(62px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border-top:1px solid #c8d7eb;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;display:grid;position:fixed;inset-block-end:0;inset-inline:0;box-shadow:0 -10px 26px #0e274c24}.crm-mobile-quick-action{color:#426184;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-content:center;place-items:center;gap:3px;min-width:0;min-height:48px;padding:3px 4px;font-size:.69rem;font-weight:750;line-height:1.1;display:grid}.crm-mobile-quick-action:hover,.crm-mobile-quick-action.active{color:#1554a7;background:#edf5ff;border-color:#c5d9f5}.crm-mobile-quick-action:focus-visible{outline-offset:1px;outline:3px solid #2c74d852}.crm-mobile-quick-mark{color:#1b5eae;letter-spacing:.02em;background:#dceafe;border-radius:7px;place-items:center;block-size:21px;inline-size:21px;font-size:.58rem;font-weight:900;display:grid}.crm-mobile-quick-action.active .crm-mobile-quick-mark{color:#fff;background:#2d73d7}}@media (max-width:620px){.crm-reference-shell .panel-head{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.crm-reference-shell .panel-head>.inline-tools,.crm-reference-shell .workflow-action-buttons{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));width:100%;display:grid}.crm-reference-shell .form-grid,.crm-reference-shell .reports-entry-grid{grid-template-columns:minmax(0,1fr)}.crm-reference-shell .form-grid label.full{grid-column:auto}.crm-reference-shell .kv{grid-template-columns:minmax(96px,.8fr) minmax(0,1.2fr)}.crm-reference-shell .wf-history-row,.crm-reference-shell .task-action-row,.crm-reference-shell .task-row-card{grid-template-columns:minmax(0,1fr)}}.public-quote-page{color:#13233e;background:linear-gradient(145deg,#edf4fc,#f8fbff 48%,#e9f2ff);min-block-size:100vh;padding:20px}.public-quote-header,.public-quote-hero,.public-service-list,.public-quote-grid{max-inline-size:1120px;margin-inline:auto}.public-quote-header{justify-content:space-between;align-items:center;gap:16px;padding-block:6px 24px;display:flex}.public-brand{color:#102d57;letter-spacing:.04em;font-size:1.2rem;font-weight:900;text-decoration:none}.public-brand span{color:#2f70e9}.public-locale{color:#50647d;align-items:center;gap:8px;font-size:.84rem;display:flex}.public-locale select{color:#17345d;background:#fff;border:1px solid #c9d9ed;border-radius:9px;min-block-size:36px;padding:5px 8px}.public-quote-hero{color:#fff;background:#102e59;border-radius:22px;padding:30px;box-shadow:0 18px 44px #1230592e}.public-quote-hero p,.public-card-kicker{color:#84b5ff;letter-spacing:.07em;text-transform:uppercase;margin:0;font-size:.76rem;font-weight:800}.public-quote-hero h1{margin:7px 0;font-size:clamp(1.8rem,4vw,2.8rem)}.public-quote-hero span{color:#d8e8fc}.public-service-list{gap:9px;padding:18px 0;display:flex;overflow-x:auto}.public-service-list button{color:#1a365f;text-align:start;cursor:pointer;background:#fff;border:1px solid #d0dfef;border-radius:13px;flex:0 0 210px;gap:5px;padding:13px;display:grid}.public-service-list button.active{background:#edf4ff;border-color:#2f70e9;box-shadow:0 7px 17px #2f70e929}.public-service-list small{color:#607a9a}.public-quote-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);align-items:start;gap:18px;display:grid}.public-quote-card{background:#fffffff0;border:1px solid #cfdeef;border-radius:18px;padding:24px;box-shadow:0 12px 30px #14355e14}.public-quote-card h2{margin:6px 0 12px}.public-quote-card h3{margin:22px 0 6px;font-size:1rem}.public-quote-card p{color:#46617e;line-height:1.65}.pre-line{white-space:pre-line}.public-terms{background:#f4f8fd;border-radius:10px;padding:12px}.public-quote-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:19px 0;display:grid}.public-quote-card dl div{background:#f2f7fd;border-radius:10px;padding:10px}.public-quote-card dt{color:#5f7896;font-size:.75rem}.public-quote-card dd{color:#193a67;margin:4px 0 0;font-weight:800}.public-quote-form{gap:12px;display:grid}.public-quote-form label{gap:5px;font-size:.88rem;font-weight:700;display:grid}.public-quote-form input,.public-quote-form select{color:#13233e;min-block-size:42px;font:inherit;background:#fff;border:1px solid #c7d8ec;border-radius:9px;padding:8px 10px}.public-primary,.public-secondary{color:#fff;cursor:pointer;background:#2f70e9;border:0;border-radius:10px;justify-content:center;align-items:center;min-block-size:44px;padding:10px 16px;font-weight:800;text-decoration:none;display:inline-flex}.public-primary:disabled{opacity:.55;cursor:not-allowed}.public-secondary{color:#244b7b;background:#edf3fb;margin-top:10px}.public-support,.public-message{color:#804b04;background:#fff4e4;border-radius:10px;gap:5px;padding:11px;font-size:.88rem;display:grid}.public-message{color:#1f5599;background:#edf5ff}.public-quote-ready{gap:10px;display:grid}[dir=rtl] .public-service-list button,[dir=rtl] .public-quote-card{text-align:right}.public-service-finder{background:#ffffffdb;border:1px solid #d1dfef;border-radius:16px;grid-template-columns:minmax(220px,.35fr) minmax(0,.65fr);gap:12px;max-inline-size:1120px;margin:18px auto;padding:16px;display:grid}.public-service-finder>label{color:#355575;gap:5px;font-size:.82rem;font-weight:800;display:grid}.public-service-finder select,.public-service-finder input{color:#13233e;min-block-size:42px;font:inherit;background:#fff;border:1px solid #c7d8ec;border-radius:9px;padding:8px 10px}.public-service-results{color:#355575;grid-column:1/-1;gap:9px;font-size:.82rem;display:grid}.public-contact-option{cursor:pointer;background:#f7fbff;border:1px solid #d5e2f2;border-radius:10px;align-items:start;padding:11px;grid-template-columns:auto minmax(0,1fr)!important}.public-contact-option input{margin-block:3px;min-block-size:auto!important}.public-contact-option span{gap:3px;display:grid}.public-contact-option small{color:#627995;font-weight:500}.public-terms-toggle{color:#234a77;border-top:1px solid #d9e5f3;padding-top:12px}.public-terms-toggle summary{cursor:pointer;font-weight:800}.public-terms-toggle[open] .public-terms{margin-block:10px 0}.public-quote-empty{text-align:center;max-inline-size:1120px;margin-inline:auto}.public-quote-page{background:radial-gradient(circle at 8% 0,#dbeafe 0,#0000 28rem),linear-gradient(145deg,#f5f9ff,#eef5ff 48%,#e5f0ff)}.public-quote-hero{background:linear-gradient(128deg,#061b38,#123d73 58%,#1b5fb8);border:1px solid #acd0ff47;position:relative;overflow:hidden}.public-quote-hero:after{content:"";border:1px solid #ffffff1f;border-radius:50%;block-size:22rem;inline-size:22rem;position:absolute;inset:-55% -18% auto auto;box-shadow:0 0 0 34px #ffffff0a,0 0 0 70px #ffffff06}.public-service-finder{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 18px 42px #10345e1a}.public-service-results .public-service-list{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin:0;padding:0;display:grid;overflow:visible}.public-service-results .public-service-list button{border-color:#d4e3f4;justify-content:space-between;min-block-size:104px;transition:transform .16s,box-shadow .16s,border-color .16s;position:relative;box-shadow:0 6px 17px #1843740f}.public-service-results .public-service-list button:hover{border-color:#5792ed;transform:translateY(-2px);box-shadow:0 12px 25px #184e8d24}.public-service-results .commercial-service{background:linear-gradient(145deg,#f5f9ff,#e7f1ff);border-color:#8db7ef}.public-service-results .commercial-service:before{content:"";background:#2668d5;border-radius:0 4px 4px 0;inline-size:4px;position:absolute;inset-block:10px;inset-inline-start:0}.public-quote-grid{align-items:stretch}.public-quote-card{border-color:#cfdef0;box-shadow:0 18px 38px #10345e1a}.public-service-detail{background:linear-gradient(155deg,#fff,#f4f8fe)}.public-quote-form>h2{border-bottom:1px solid #dae6f3;padding-bottom:10px}.public-quote-form dl{background:#0d315f;border-radius:12px;padding:10px}.public-quote-form dl div{background:#ffffff1a}.public-quote-form dl dt{color:#c8dcf7}.public-quote-form dl dd{color:#fff}.public-primary{background:linear-gradient(135deg,#1f62d2,#3688f5);box-shadow:0 9px 19px #1d5fcf3b}@media (max-width:760px){.public-quote-page{padding:13px}.public-quote-header{padding-block:3px 15px}.public-quote-hero{border-radius:16px;padding:22px 18px}.public-quote-grid,.public-service-finder{grid-template-columns:minmax(0,1fr)}.public-quote-card{border-radius:14px;padding:18px}.public-quote-card dl{grid-template-columns:minmax(0,1fr)}.public-service-list{margin-inline:-2px}.public-service-list button{flex-basis:180px}}[dir=rtl] .crm-mobile-quick-actions{direction:rtl}[dir=rtl] .crm-mobile-quick-action{text-align:center}.client-task-workspace{min-width:0;grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;max-inline-size:1040px;margin-inline:auto;display:grid}.client-task-workspace>.panel-head{grid-column:1/-1}.client-task-context{background:linear-gradient(#f6faff 0%,#fff 100%);border:1px solid #d2e1f3;border-radius:14px;gap:10px;min-width:0;padding:13px;display:grid;position:static;box-shadow:0 10px 24px #132f580f}.client-task-tabs{overscroll-behavior-inline:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;grid-column:auto;gap:7px;min-width:0;min-height:40px;margin:0;display:flex;overflow-x:auto}.client-task-tabs>*{white-space:nowrap;flex:none;min-height:36px}.client-task-pane{grid-column:auto;gap:12px;min-width:0;display:grid}.client-task-editor{background:#fff;border:1px solid #d8e4f2;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;min-width:0;padding:14px;display:grid}.client-task-editor>.full,.client-task-editor>:last-child:is(textarea,.client-task-actions){grid-column:1/-1}.client-task-editor input,.client-task-editor select,.client-task-editor textarea{min-block-size:40px;inline-size:100%}.task-service-preview{color:#284b76;background:#f6faff;border:1px dashed #bfd2eb;border-radius:10px;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:6px 14px;padding:9px 10px;font-size:.84rem;display:flex}.client-task-actions,.service-registry-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.client-task-actions .action-btn,.service-registry-actions .action-btn{min-block-size:38px;padding:8px 11px}.client-task-row{background:#fff;border:1px solid #dce6f3;border-radius:12px;grid-template-columns:minmax(150px,1.45fr) minmax(110px,.9fr) minmax(110px,.9fr) minmax(100px,.8fr) auto;align-items:center;gap:9px;min-width:0;padding:10px 12px;font-size:.84rem;display:grid;box-shadow:0 5px 13px #132f580a}.client-task-row>*{overflow-wrap:anywhere;min-width:0}.client-task-row:hover{border-color:#bcd2eb;box-shadow:0 8px 18px #132f5814}.service-registry-layout{grid-template-columns:minmax(300px,.42fr) minmax(0,.58fr);align-items:start;gap:14px;min-width:0;display:grid}.service-registry-list{overscroll-behavior:contain;scrollbar-width:thin;gap:8px;max-block-size:min(68vh,720px);padding-inline-end:3px;display:grid;overflow:auto}.service-registry-row{min-width:0;color:inherit;background:#fff;border:1px solid #dce6f3;border-radius:11px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;display:grid}.service-registry-row:hover,.service-registry-row:focus-within{background:#f8fbff;border-color:#aec8e8}.service-registry-row>:first-child{overflow-wrap:anywhere;min-width:0}.service-registry-editor{min-width:0;background:#fff;border:1px solid #d5e2f1;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;min-block-size:360px;padding:14px;display:grid;box-shadow:0 10px 24px #132f580d}.service-registry-editor>.full,.service-registry-editor>details,.service-registry-editor>.service-registry-actions{grid-column:1/-1}.service-registry-editor input,.service-registry-editor select,.service-registry-editor textarea{min-block-size:40px;inline-size:100%}.service-registry-editor details{background:#f9fbfe;border:1px solid #dce7f4;border-radius:11px}.service-registry-editor summary{color:#234a77;cursor:pointer;min-block-size:40px;padding:10px 12px;font-size:.86rem;font-weight:750}.service-registry-editor details[open] summary{background:#f2f7fe;border-bottom:1px solid #dce7f4}.service-registry-editor details>:not(summary){margin:11px 12px 12px}@media (max-width:980px){.client-task-workspace,.service-registry-layout{grid-template-columns:minmax(0,1fr)}.client-task-context{position:static}.client-task-tabs,.client-task-pane{grid-column:auto}.service-registry-list{max-block-size:min(42vh,460px)}}@media (max-width:620px){.client-task-editor,.service-registry-editor{grid-template-columns:minmax(0,1fr);min-block-size:0;padding:12px}.client-task-editor>.full,.client-task-editor>:last-child:is(textarea,.client-task-actions),.service-registry-editor>.full,.service-registry-editor>details,.service-registry-editor>.service-registry-actions{grid-column:auto}.client-task-actions,.service-registry-actions{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));display:grid}.client-task-actions .action-btn,.service-registry-actions .action-btn{inline-size:100%}.client-task-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.client-task-row>:first-child{grid-column:1/-1}}@media (max-width:400px){.client-task-row{grid-template-columns:minmax(0,1fr)}.client-task-row>:first-child{grid-column:auto}}[dir=rtl] .client-task-context,[dir=rtl] .client-task-editor,[dir=rtl] .client-task-row,[dir=rtl] .service-registry-row,[dir=rtl] .service-registry-editor,[dir=rtl] .service-registry-editor summary{text-align:right}[dir=rtl] .client-task-actions,[dir=rtl] .service-registry-actions,[dir=rtl] .task-service-preview{direction:rtl}.crm-reference-shell{--finance-bg:#f4f7fb;--finance-panel:#fff;--finance-soft:#f7faff;--finance-line:#dce5f0;--finance-line-strong:#bfd0e3;--finance-text:#172b4d;--finance-heading:#102a52;--finance-muted:#60738d;--finance-navy:#102c54;--finance-accent:#1f6fe5;--finance-success:#16885b;--finance-gold:#b77a16;--finance-danger:#c43f4a;--finance-shadow:0 7px 22px #12305914;background:var(--finance-bg);color:var(--finance-text);grid-template-columns:clamp(218px,18vw,260px) minmax(0,1fr);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}.crm-reference-shell .crm-sidebar{background:linear-gradient(180deg,var(--finance-navy),#0c2548);padding:17px 13px 15px;box-shadow:8px 0 25px #081e3d24}.crm-reference-shell .main-panel{padding:0 clamp(14px,2vw,27px) 36px}.crm-reference-shell .main-panel>*{max-inline-size:1540px;margin-inline:auto}.crm-reference-shell .crm-topbar{z-index:20;border-bottom:1px solid color-mix(in srgb,var(--finance-line) 76%,transparent);background:color-mix(in srgb,var(--finance-bg) 88%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);min-height:64px;margin:0 0 16px;padding:10px 4px;position:sticky;inset-block-start:0}.crm-reference-shell .crm-breadcrumb{color:var(--finance-muted)}.crm-reference-shell .crm-breadcrumb strong,.crm-reference-shell .panel-head h2,.crm-reference-shell .panel-head h3,.crm-reference-shell .service-card h2,.crm-reference-shell .service-card h3{color:var(--finance-heading);font-weight:750}.crm-reference-shell .crm-topbar-status{color:var(--finance-success)}.crm-reference-shell .muted,.crm-reference-shell .service-card-id{color:var(--finance-muted)}.crm-reference-shell .panel-card,.crm-reference-shell .service-card,.crm-reference-shell .report-box{border-color:var(--finance-line);background:var(--finance-panel);box-shadow:var(--finance-shadow);border-radius:13px}.crm-reference-shell .panel-card{padding:16px}.crm-reference-shell .panel-card:hover{border-color:var(--finance-line-strong);box-shadow:0 18px 42px #12305921}.crm-reference-shell .action-btn{background:linear-gradient(180deg,#2d7bf0,var(--finance-accent));border:1px solid #0000;border-radius:9px;min-block-size:39px;font-weight:750;transition:transform .14s,box-shadow .14s;box-shadow:0 5px 12px #1f6fe533}.crm-reference-shell .action-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 16px #1f6fe540}.crm-reference-shell .danger-btn{background:var(--finance-danger)}.crm-reference-shell .success-btn{background:var(--finance-success)}.crm-reference-shell .cta-primary{background:linear-gradient(180deg,#2d7bf0,var(--finance-accent))}.crm-reference-shell .cta-success{background:linear-gradient(180deg,#25a66f,var(--finance-success));box-shadow:0 5px 12px #16885b33}.crm-reference-shell .cta-review{background:linear-gradient(180deg,#d59a32,var(--finance-gold));box-shadow:0 5px 12px #b77a1633}.crm-reference-shell .cta-danger{background:linear-gradient(180deg,#d9545e,var(--finance-danger));box-shadow:0 5px 12px #c43f4a33}.crm-reference-shell .action-btn.secondary{border-color:var(--finance-line-strong);box-shadow:none;color:var(--finance-heading);background:#fff}.crm-reference-shell .action-btn.secondary:hover:not(:disabled){background:var(--finance-soft);box-shadow:var(--finance-shadow)}.crm-reference-shell .cta-success:hover:not(:disabled){box-shadow:0 8px 16px #16885b47}.crm-reference-shell .cta-review:hover:not(:disabled){box-shadow:0 8px 16px #b77a1647}.crm-reference-shell .cta-danger:hover:not(:disabled){box-shadow:0 8px 16px #c43f4a47}.crm-reference-shell .action-btn:disabled{box-shadow:none;transform:none}@media (prefers-reduced-motion:reduce){.crm-reference-shell .action-btn{transition:none}}.crm-reference-shell input,.crm-reference-shell select,.crm-reference-shell textarea{border-color:var(--finance-line-strong);min-block-size:42px;color:var(--finance-text);background:#fff;border-radius:9px}.crm-reference-shell textarea{resize:vertical;min-block-size:92px}.crm-reference-shell input:focus,.crm-reference-shell select:focus,.crm-reference-shell textarea:focus{border-color:var(--finance-accent);box-shadow:0 0 0 3px #1f6fe529}.crm-reference-shell .wf-tab,.crm-reference-shell .tasks-tab{border-color:var(--finance-line);background:var(--finance-soft);min-block-size:39px;color:var(--finance-heading);border-radius:9px;font-weight:700}.crm-reference-shell .wf-tab.active,.crm-reference-shell .tasks-tab.active{border-color:var(--finance-accent);background:var(--finance-accent);color:#fff;box-shadow:inset 0 -2px #0830724d,0 5px 12px #1f6fe529}.crm-reference-shell .badge{border-color:color-mix(in srgb,var(--finance-accent) 20%,var(--finance-line));color:#1e5dac;background:#edf5ff;font-weight:750}.crm-reference-shell .reports-grid-wrap,.crm-reference-shell .table-wrap,.crm-reference-shell .quote-items-table-wrap{border:1px solid var(--finance-line);background:#fff;border-radius:11px}.crm-reference-shell .reports-grid-table th,.crm-reference-shell .reports-grid-table td{border-color:#e6edf5}.crm-reference-shell .reports-grid-table th{z-index:1;color:#315275;letter-spacing:.03em;text-transform:uppercase;background:#f2f6fc;font-size:.73rem;position:sticky;inset-block-start:0}.crm-reference-shell .reports-grid-table tbody tr:hover td{background:#f4f8ff}.crm-reference-shell .dashboard-kpi{border-top:3px solid var(--finance-accent)}.crm-reference-shell .dashboard-kpi:nth-child(3n+2){border-top-color:var(--finance-success)}.crm-reference-shell .dashboard-kpi:nth-child(3n){border-top-color:var(--finance-gold)}@media (max-width:1150px){.crm-reference-shell .crm-topbar{flex-wrap:wrap;align-items:flex-start}}@media (max-width:900px){.crm-reference-shell .main-panel{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.crm-reference-shell .crm-sidebar{width:min(84vw,280px)}}@media (max-width:620px){.crm-reference-shell .main-panel{padding-inline:12px}.crm-reference-shell .crm-topbar{min-height:52px;margin-bottom:12px}.crm-reference-shell .panel-card{padding:14px}.crm-reference-shell .reports-grid-table thead{display:none}.crm-reference-shell .reports-grid-table,.crm-reference-shell .reports-grid-table tbody,.crm-reference-shell .reports-grid-table tr,.crm-reference-shell .reports-grid-table td{width:100%;display:block}.crm-reference-shell .reports-grid-table tr{border:1px solid var(--finance-line);border-radius:10px;margin:8px;overflow:hidden;box-shadow:0 3px 10px #1230590f}.crm-reference-shell .reports-grid-table td{text-align:start;overflow-wrap:anywhere;grid-template-columns:minmax(92px,.78fr) minmax(0,1.22fr);gap:10px;padding:9px 11px;display:grid}.crm-reference-shell .reports-grid-table td:before{content:attr(data-label);color:var(--finance-muted);font-size:.73rem;font-weight:750}}.crm-reference-shell .panel-head,.crm-reference-shell .compact-panel-head,.crm-reference-shell .service-card-head{align-items:flex-start;gap:12px}.crm-reference-shell .panel-head>:first-child,.crm-reference-shell .service-card-head>:first-child,.crm-reference-shell .inline-tools,.crm-reference-shell .workflow-action-buttons{min-inline-size:0}.crm-reference-shell .inline-tools,.crm-reference-shell .workflow-action-buttons,.crm-reference-shell .client-detail-actions,.crm-reference-shell .service-card-actions{gap:9px}.crm-reference-shell .action-btn{text-align:center;overflow-wrap:anywhere;justify-content:center;align-items:center;gap:7px;min-inline-size:0;padding:8px 13px;line-height:1.2;display:inline-flex}.crm-reference-shell .action-btn.secondary{font-weight:720}.crm-reference-shell .action-btn:disabled,.crm-reference-shell .action-btn[aria-disabled=true]{opacity:.54;cursor:not-allowed;filter:saturate(.58)}.crm-reference-shell .form-grid>label,.crm-reference-shell .client-task-editor>label,.crm-reference-shell .service-registry-editor>label{min-inline-size:0;color:var(--finance-heading);align-content:start;gap:6px;font-size:.82rem;font-weight:730;line-height:1.25;display:grid}.crm-reference-shell input,.crm-reference-shell select,.crm-reference-shell textarea{box-sizing:border-box;inline-size:100%;font:inherit;margin:0;padding:9px 11px;font-size:.92rem;line-height:1.35;transition:border-color .14s,box-shadow .14s,background-color .14s}.crm-reference-shell select{cursor:pointer;padding-inline-end:32px}.crm-reference-shell textarea{min-block-size:108px;line-height:1.5}.crm-reference-shell input[type=number],.crm-reference-shell input[type=date],.crm-reference-shell .quote-items-editor input,.crm-reference-shell .invoice-line-grid input{font-variant-numeric:tabular-nums}.crm-reference-shell input::placeholder,.crm-reference-shell textarea::placeholder{color:#7185a0;opacity:1}.crm-reference-shell input[readonly],.crm-reference-shell textarea[readonly],.crm-reference-shell [aria-readonly=true]{color:#405977;cursor:default;background:#f4f7fb;border-style:dashed;border-color:#c6d3e3}.crm-reference-shell input:disabled,.crm-reference-shell select:disabled,.crm-reference-shell textarea:disabled{color:#718197;cursor:not-allowed;background:#f1f4f8;border-color:#d8e1ec}.crm-reference-shell input:focus-visible,.crm-reference-shell select:focus-visible,.crm-reference-shell textarea:focus-visible{outline-offset:1px;outline:3px solid #1f6fe538}.crm-reference-shell .workflow-service-snapshot,.crm-reference-shell .service-card-snapshot,.crm-reference-shell .client-detail-grid,.crm-reference-shell .service-detail-grid,.crm-reference-shell .kv{background:linear-gradient(135deg,#f8fbff,#f1f6fc);border-color:#d4dfec}.crm-reference-shell .workflow-service-snapshot,.crm-reference-shell .service-card-snapshot{align-items:stretch}.crm-reference-shell .service-card-snapshot>div,.crm-reference-shell .client-detail-grid>div,.crm-reference-shell .service-detail-grid>div,.crm-reference-shell .kv>*{min-inline-size:0}.crm-reference-shell .service-card-snapshot strong,.crm-reference-shell .client-detail-grid strong,.crm-reference-shell .service-detail-grid strong,.crm-reference-shell .kv strong{overflow-wrap:anywhere;color:var(--finance-heading)}.crm-reference-shell .service-detail-overlay,.crm-reference-shell .crm-busy-modal,.crm-reference-shell .crm-access-denied-modal{overscroll-behavior:contain;padding:clamp(12px,3vw,28px)}.crm-reference-shell .service-detail-panel{scrollbar-gutter:stable;max-block-size:min(840px,100dvh - 24px);overflow:auto}.crm-reference-shell .wf-tabs,.crm-reference-shell .tasks-tabs,.crm-reference-shell .workflow-section-tabs,.crm-reference-shell .client-task-tabs{background:#f5f8fc;border:1px solid #d8e2ee;border-radius:12px;gap:7px;padding:4px}.crm-reference-shell .wf-tab,.crm-reference-shell .tasks-tab,.crm-reference-shell .client-task-tabs>*{min-block-size:38px;padding-inline:13px;line-height:1.15}.crm-reference-shell .table-wrap,.crm-reference-shell .reports-grid-wrap,.crm-reference-shell .quote-items-table-wrap{scrollbar-color:#a7bad2 transparent;max-inline-size:100%;overflow:auto}.crm-reference-shell .reports-grid-table th,.crm-reference-shell .reports-grid-table td{vertical-align:middle}.crm-reference-shell .reports-grid-table td{overflow-wrap:anywhere}[dir=rtl] .crm-reference-shell .form-grid>label,[dir=rtl] .crm-reference-shell .client-task-editor>label,[dir=rtl] .crm-reference-shell .service-registry-editor>label{text-align:start}@media (max-width:840px){.crm-reference-shell .panel-head>.inline-tools,.crm-reference-shell .service-card-actions,.crm-reference-shell .client-detail-actions{inline-size:100%}.crm-reference-shell .inline-tools .action-btn,.crm-reference-shell .workflow-action-buttons .action-btn,.crm-reference-shell .service-card-actions .action-btn,.crm-reference-shell .client-detail-actions .action-btn{flex:150px}.crm-reference-shell .service-detail-panel{max-block-size:calc(100dvh - 18px)}}@media (max-width:620px){.crm-reference-shell .form-grid>label,.crm-reference-shell .client-task-editor>label,.crm-reference-shell .service-registry-editor>label{font-size:.84rem}.crm-reference-shell input,.crm-reference-shell select,.crm-reference-shell textarea{min-block-size:44px;font-size:16px}.crm-reference-shell .action-btn{min-block-size:44px}.crm-reference-shell textarea{min-block-size:124px}.crm-reference-shell .wf-tabs,.crm-reference-shell .tasks-tabs,.crm-reference-shell .workflow-section-tabs,.crm-reference-shell .client-task-tabs{margin-inline:-2px}.crm-reference-shell .service-detail-overlay{padding:8px}.crm-reference-shell .service-detail-panel{border-radius:14px}}@media (prefers-reduced-motion:reduce){.crm-reference-shell input,.crm-reference-shell select,.crm-reference-shell textarea{transition:none}}.crm-reference-shell .client-task-alert{border:1px solid #d5e1ee;background:linear-gradient(135deg,#f8fbff,#eef5fc);border-inline-start:4px solid #2d7bf0;border-radius:11px;gap:8px;padding:10px 11px;display:grid}.crm-reference-shell .client-task-alert.is-upcoming{border-inline-start-color:var(--finance-success)}.crm-reference-shell .client-task-alert.is-due-today{border-inline-start-color:var(--finance-gold);background:#fffaf0}.crm-reference-shell .client-task-alert.is-overdue{border-inline-start-color:var(--finance-danger);background:#fff6f6}.crm-reference-shell .client-task-alert-head,.crm-reference-shell .client-next-task-due,.crm-reference-shell .client-contacts-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.crm-reference-shell .client-task-alert-head strong{color:var(--finance-heading);font-size:.81rem}.crm-reference-shell .client-task-alert-list{gap:5px;display:grid}.crm-reference-shell .client-task-alert-row{color:var(--finance-text);grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:8px;font-size:.78rem;display:grid}.crm-reference-shell .client-task-alert-row strong{overflow-wrap:anywhere}.crm-reference-shell .client-task-alert-row span{color:var(--finance-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.crm-reference-shell .client-next-task-due{color:var(--finance-heading);border-top:1px solid #748fb040;flex-wrap:wrap;padding-top:8px;font-size:.8rem}.crm-reference-shell .client-next-task-due span{color:var(--finance-muted)}.crm-reference-shell .client-next-task-due small{color:inherit;font-weight:760}.crm-reference-shell .clients-module .service-detail-panel{inline-size:min(760px,100vw - 28px)}.crm-reference-shell .client-contacts-heading{border-bottom:1px solid var(--finance-line);padding-bottom:10px}.crm-reference-shell .client-contacts-heading h3{color:var(--finance-heading);margin:0}.crm-reference-shell .client-contacts-disclosure{white-space:nowrap;min-block-size:32px}.crm-reference-shell .client-contacts-disclosure small{background:var(--finance-soft);min-block-size:20px;min-inline-size:20px;color:var(--finance-accent);border-radius:999px;place-items:center;font-weight:800;display:inline-grid}.crm-reference-shell .client-contacts-content{gap:12px;padding-top:12px;display:grid}.crm-reference-shell .client-modal-tabs{scrollbar-width:thin;flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.crm-reference-shell .client-modal-tabs .wf-tab{flex:none}.crm-reference-shell .client-interactions-panel,.crm-reference-shell .client-modal-tasks-panel{gap:14px;display:grid}.crm-reference-shell .client-interaction-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.crm-reference-shell .client-interaction-summary>div,.crm-reference-shell .client-interaction-owner{border:1px solid var(--finance-line);background:var(--finance-soft);border-radius:10px;gap:3px;padding:10px;display:grid}.crm-reference-shell .client-interaction-summary span,.crm-reference-shell .client-interaction-owner span{color:var(--finance-muted);font-size:.74rem;font-weight:720}.crm-reference-shell .client-interaction-summary strong{color:var(--finance-heading);font-size:1.2rem}.crm-reference-shell .client-interaction-owner{grid-template-columns:auto minmax(0,1fr);align-items:center}.crm-reference-shell .client-interaction-owner strong{overflow-wrap:anywhere;color:var(--finance-heading)}.crm-reference-shell .client-interaction-list,.crm-reference-shell .client-modal-task-list{gap:9px;display:grid}.crm-reference-shell .client-interaction-row{border:1px solid var(--finance-line);border-inline-start:4px solid var(--finance-accent);background:#fff;border-radius:12px;grid-template-columns:minmax(180px,1.1fr) minmax(270px,1.6fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.crm-reference-shell .client-interaction-row.is-overdue{border-color:color-mix(in srgb,var(--finance-danger) 45%,var(--finance-line));border-inline-start-color:var(--finance-danger);background:#fff7f7}.crm-reference-shell .client-interaction-main{gap:4px;min-width:0;display:grid}.crm-reference-shell .client-interaction-main strong{color:var(--finance-heading);overflow-wrap:anywhere}.crm-reference-shell .client-interaction-meta{color:var(--finance-muted);flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:.78rem;display:flex}.crm-reference-shell .client-interaction-meta span{overflow-wrap:anywhere}.crm-reference-shell .client-interaction-row .action-btn{min-inline-size:110px}.crm-reference-shell .client-interactions-panel .badge.is-overdue{background:var(--finance-danger);color:#fff;border-color:var(--finance-danger)}.crm-reference-shell .overdue-text{color:var(--finance-danger);font-weight:800}.crm-reference-shell .inline-checkbox{align-items:center;min-block-size:36px}.crm-reference-shell .inline-checkbox input[type=checkbox]{block-size:16px;min-block-size:16px;max-block-size:16px;inline-size:16px;min-inline-size:16px;max-inline-size:16px;accent-color:var(--finance-accent);flex:0 0 16px;margin:0}.crm-reference-shell .client-create-contact-checkbox{margin-block:4px 2px}.crm-reference-shell .clients-module .service-detail-overlay{z-index:110}.crm-reference-shell .tasks-rewired,.crm-reference-shell .tasks-rewired .task-kanban-list,.crm-reference-shell .tasks-rewired .task-row-card{overflow:visible}.crm-reference-shell .tasks-rewired .task-row-card.menu-open,.crm-reference-shell .dashboard-activity-row.menu-open{z-index:40;position:relative}.crm-reference-shell .dash-entity-card:has(.dash-entity-actions.open){z-index:40;position:relative}.crm-reference-shell .tasks-rewired .task-row-actions,.crm-reference-shell .dashboard-row-actions,.crm-reference-shell .dash-entity-actions{isolation:isolate;position:relative}.crm-reference-shell .tasks-rewired .task-row-menu,.crm-reference-shell .dashboard-row-menu,.crm-reference-shell .dash-menu{z-index:2;max-inline-size:calc(100vw - 28px);inset-block-start:calc(100% + 6px);inset-inline:auto 0}.crm-reference-shell .tasks-rewired .task-row-menu .action-btn:focus-visible,.crm-reference-shell .dashboard-row-menu .action-btn:focus-visible,.crm-reference-shell .dash-menu .action-btn:focus-visible{outline-offset:2px;outline:3px solid #2a66f057}@media (max-width:620px){.crm-reference-shell .clients-module .service-detail-overlay{align-items:end;padding:0}.crm-reference-shell .clients-module .service-detail-panel{border-radius:18px 18px 0 0;max-block-size:min(88dvh,780px);inline-size:100%;padding:14px}.crm-reference-shell .clients-module .service-detail-panel>.panel-head{align-items:flex-start}.crm-reference-shell .clients-module .service-detail-panel>.panel-head .action-btn{flex:none;min-inline-size:78px}.crm-reference-shell .client-contacts-heading{flex-direction:column;align-items:flex-start}.crm-reference-shell .client-contacts-disclosure{justify-content:flex-start;inline-size:100%}.crm-reference-shell .client-contacts-content .task-action-row{grid-template-columns:1fr;gap:4px;padding:10px}.crm-reference-shell .client-task-alert-row{grid-template-columns:1fr;gap:2px}.crm-reference-shell .client-next-task-due{flex-direction:column;align-items:flex-start;gap:3px}.crm-reference-shell .client-interaction-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-reference-shell .client-interaction-row{grid-template-columns:1fr;align-items:stretch;gap:8px}.crm-reference-shell .client-interaction-row .action-btn{inline-size:100%}.crm-reference-shell .client-interaction-owner{grid-template-columns:1fr}}@media (max-width:960px){.crm-reference-shell .clients-module .service-detail-panel{max-block-size:calc(100dvh - 20px);padding-block-end:max(20px, env(safe-area-inset-bottom));scroll-padding-block-end:max(20px, env(safe-area-inset-bottom))}}@media (max-width:760px){.crm-reference-shell .tasks-rewired .task-row-card.menu-open .task-row-actions{grid-area:auto/1/auto/-1;justify-items:end;inline-size:100%;display:grid}.crm-reference-shell .tasks-rewired .task-row-menu{inline-size:100%;min-inline-size:0;margin-block-start:8px;position:static;inset:auto}.crm-reference-shell .dashboard-activity-row.menu-open .dashboard-row-actions{grid-area:auto/1/auto/-1;justify-items:end;inline-size:100%;display:grid}.crm-reference-shell .dashboard-row-menu{inline-size:100%;min-inline-size:0;margin-block-start:8px;position:static;inset:auto}}
